/* RESET & BASE TYPOGRAPHY ------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #f7faff;
    color: #182A47;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    width: 100vw;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #368572;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
    color: #F6C744;
}
ul, ol {
    margin-left: 24px;
    margin-bottom: 16px;
}
li {
    margin-bottom: 8px;
}
h1, h2, h3, h4 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #182A47;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #192a47;
}
strong { font-weight: 700; }
/* LAYOUT CONTAINER --------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.text-section {
    max-width: 780px;
    margin: 0 auto;
}

/* SECTIONS, CARDS & FLEX PATTERNS ------------------------------------------ */
section {
    width: 100%;
    margin-bottom: 60px;
    padding: 40px 0 40px 0;
    background: transparent;
}
@media (max-width: 640px) {
    section { padding: 28px 0 28px 0; margin-bottom: 38px; }
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 3px 16px rgba(24,42,71,0.09);
    padding: 32px 28px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 230px;
    max-width: 370px;
    flex: 1 1 260px;
}
.card h3 { margin-bottom: 8px; }

.card:hover {
    box-shadow: 0 6px 28px rgba(24,42,71,0.14);
    transform: translateY(-2px) scale(1.02);
    transition: all 0.18s;
    border-color: #368572;
}

.content-grid, .feature_grid, .benefit_grid, .service_cards, .team-list, .kompetenzen-grid, .testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.feature_grid > div, .benefit_grid > div, .service_cards > div, .team-list > div, .kompetenzen-grid > div {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(24,42,71,0.06);
    padding: 32px 20px 28px 20px;
    flex: 1 1 260px;
    min-width: 220px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: box-shadow 0.21s;
}
.feature_grid > div:hover, .benefit_grid > div:hover, .service_cards > div:hover {
    box-shadow: 0 8px 26px rgba(54,133,114,0.09);
    border-left: 7px solid #F6C744;
    background: #f3f8fd;
    z-index: 1;
}
.benefit_grid img, .feature_grid img, .team-list img, .analytics_tools img {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
}
.kompetenzen-grid {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
}
.kompetenzen-grid > div {
    background: #F6C744;
    color: #182A47;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 33px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1rem;
    box-shadow: 0 1px 5px rgba(54,133,114,0.10);
}

/* BUTTONS -------------------------------------------------------------- */
.btn-primary, .btn-secondary {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 28px;
    border: 0;
    display: inline-block;
    background: #368572;
    color: #fff !important;
    letter-spacing: 1px;
    box-shadow: 0 5px 18px rgba(54,133,114,0.08);
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 0;
    transition: background 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.18s, transform 0.13s;
    text-align: center;
    outline: none;
}
.btn-primary:hover, .btn-primary:focus {
    background: #F6C744;
    color: #182A47 !important;
    box-shadow: 0 10px 32px rgba(246,199,68,0.08);
    transform: translateY(-2px) scale(1.045);
}
.btn-secondary {
    background: #F6C744;
    color: #182A47 !important;
    border: none;
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #182A47;
    color: #fff !important;
}

/* HEADER -------------------------------------------------------------- */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 12px rgba(24,42,71,0.06);
    z-index: 30;
    padding: 0;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 82px;
    gap: 0;
}
.logo img {
    height: 48px;
    width: auto;
}
header nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #192a47;
    letter-spacing: .2px;
    padding: 4px 4px;
    border-radius: 6px;
    transition: background 0.14s, color 0.16s;
}
header nav a:hover, header nav a:focus {
    background: #F6C744;
    color: #182A47;
}
header .btn-primary {
    margin-left: 20px;
    margin-right: 0;
}
.mobile-menu-toggle {
    display: none;
    background: #F6C744;
    color: #182A47;
    border: none;
    font-size: 2.2rem;
    border-radius: 10px;
    padding: 6px 10px 6px 10px;
    cursor: pointer;
    margin-left: 18px;
    transition: background 0.18s, color 0.18s;
    z-index: 41;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #368572;
    color: #fff;
}
@media (max-width: 980px) {
    header nav { display: none; }
    header .btn-primary { display: none; }
    .mobile-menu-toggle { display: block; }
    header .container { height: 68px; }
    .logo img { height: 38px; }
}

/* MOBILE NAV ----------------------------------------------------------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    z-index: 90;
    background: rgba(24,42,71,0.97);
    flex-direction: column;
    align-items: flex-end;
    transition: background 0.18s;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    animation: slideInMobileMenu 380ms cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes slideInMobileMenu {
    from { opacity: 0; transform: translateX(80%); }
    to   { opacity: 1; transform: translateX(0); }
}
.mobile-menu-close {
    background: #F6C744;
    color: #182A47;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    border: none;
    font-size: 2.25rem;
    margin: 22px 32px 0 0;
    border-radius: 12px;
    cursor: pointer;
    width: 56px; height: 56px;
    transition: background 0.15s, color 0.15s;
    z-index: 95;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #368572;
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
    margin: 54px 0 0 42px;
    width: calc(100vw - 70px);
}
.mobile-nav a {
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.17s, color 0.17s;
    display: block;
    min-width: 185px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #F6C744;
    color: #182A47;
}
@media (max-width: 480px) {
    .mobile-nav { margin-left: 10vw; width: 80vw; }
}

/* MAIN ------------------------------------------------------------ */
main { width: 100%; padding-bottom: 60px; }

/* FAQ ACCORDION -------------------------------------------------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-accordion > div {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 12px rgba(24,42,71,0.06);
    padding: 18px 24px;
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
    transition: box-shadow .19s, border .14s;
}
.faq-accordion h3 {
    font-size: 1.1rem;
    color: #368572;
    font-weight: 700;
    margin-bottom: 6px;
}
.faq-accordion div > div { /* The answer part */
    color: #182A47;
    font-size: 1rem;
    padding-top: 6px;
}
.faq-accordion > div:hover {
    box-shadow: 0 8px 32px rgba(54,133,114,0.09);
    border-left: 6px solid #F6C744;
}

/* TESTIMONIALS ---------------------------------------------------- */
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8f8f8;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(24,42,71,0.06);
    padding: 26px 32px;
    min-width: 280px;
    max-width: 370px;
    margin-bottom: 20px;
    color: #182A47;
    align-items: flex-start;
    transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card blockquote {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    color: #182A47;
    margin-bottom: 8px;
    line-height: 1.35;
    quotes: \201C\201D\2018\2019;
}
.testimonial-card cite {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: .98rem;
    color: #368572;
    font-weight: 500;
}
.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(54,133,114,0.11);
    background: #fff;
    transform: translateY(-2px) scale(1.035);
}

/* FOOTER ------------------------------------------------------------ */
footer {
    background: #182A47;
    color: #fff;
    padding: 42px 0 24px 0;
    font-size: 1rem;
}
footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    justify-content: space-between;
}
footer .logo img {
    height: 40px;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: underline;
    transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
    color: #F6C744;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    color: #fff !important;
    font-size: .98rem;
}
.footer-contact img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 7px;
}

/* SPECIAL LAYOUTS --------------------------------------------------- */
.location-map {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    font-weight: 700;
    font-size: 1.05rem;
}
.location-map img {
    width: 28px;
    height: 28px;
}
.certifications-icons {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 14px 0 8px 0;
}
.certifications-icons img {
    width: 40px; height: 40px;
}
.success_message {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #e8fae4;
    border-left: 5px solid #368572;
    color: #182A47;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 22px 0 0 0;
    font-size: 1.08rem;
}

.analytics_tools {
    display: flex;
    gap: 20px;
    margin: 18px 0 0 0;
    align-items: center;
}
.analytics_tools img {
    width: 38px;
    height: 38px;
}

/* FLEXBOX RESPONSIVE ALIGNMENTS --------------------------------------- */
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .feature_grid, .benefit_grid, .service_cards, .card-container, .testimonial-slider, .team-list, .kompetenzen-grid {
        flex-direction: column;
        gap: 20px;
    }
    footer .container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.04rem; }
    .btn-primary, .btn-secondary { font-size: 1rem; padding: 12px 20px; }
    .card, .feature_grid > div, .benefit_grid > div, .service_cards > div, .testimonial-card {
        padding: 16px 10px;
    }
    .footer-contact { font-size: 0.93rem; }
}
/* COOKIE BANNER ----------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #182A47;
    color: #fff;
    z-index: 120;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 18px 16px 18px;
    box-shadow: 0 -2px 16px rgba(24,42,71,0.16);
    gap: 32px;
    transition: transform .21s, opacity .16s;
    opacity: 1;
}
.cookie-banner .cookie-text {
    flex: 3 1 50%;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.01rem;
    margin-right: 15px;
}
.cookie-banner .banner-actions {
    flex: 1 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
}
.cookie-banner button {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.01rem;
    border-radius: 26px;
    padding: 9px 28px;
    border: 0;
    margin: 0 2px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(246,199,68,0.07);
    transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept { background: #368572; color: #fff; }
.cookie-banner .accept:hover { background: #F6C744; color: #182A47; }
.cookie-banner .reject { background: #fff; color: #182A47; border: 2px solid #F6C744; }
.cookie-banner .reject:hover { background: #F6C744; color: #182A47; }
.cookie-banner .settings { background: #F6C744; color: #182A47; }
.cookie-banner .settings:hover { background: #368572; color: #fff; }

@media (max-width: 640px) {
    .cookie-banner { flex-direction: column; gap: 14px; padding: 11px 5px 8px 5px; }
    .cookie-banner .cookie-text { margin-right: 0; text-align: left; }
}
.cookie-banner.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(25px);
    transition: transform .19s, opacity .16s;
}

/* COOKIE CONSENT MODAL ----------------------------------------------- */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,42,71,0.89);
    z-index: 150;
    align-items: center;
    justify-content: center;
    transition: opacity .17s;
}
.cookie-modal-overlay.open {
    display: flex;
    opacity: 1;
    animation: fadeInModal 0.32s cubic-bezier(.33,.8,.67,1) forwards;
}
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    color: #182A47;
    border-radius: 20px;
    padding: 34px 34px 21px 34px;
    min-width: 320px;
    max-width: 410px;
    min-height: 260px;
    box-shadow: 0 14px 48px rgba(24,42,71,0.19);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
    font-size: 1.6rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    color: #182A47;
    margin-bottom: 6px;
}
.cookie-modal .close-modal {
    position: absolute;
    top: 18px; right: 18px;
    background: #F6C744;
    color: #182A47;
    border: none;
    border-radius: 7px;
    width: 32px; height: 32px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    display: flex; align-items: center; justify-content: center;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
    background: #368572;
    color: #fff;
}
.cookie-modal .cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 13px 0 18px 0;
}
.cookie-modal .category-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #f3f3f3;
}
.cookie-modal .category-label {
    flex: 1;
    font-weight: 700;
    color: #368572;
    font-size: 1.01rem;
}
.cookie-modal .category-toggle {
    accent-color: #368572;
    width: 30px; height: 18px;
}
.cookie-modal .always-on {
    color: #182A47;
    font-size: .97rem;
    font-weight: 500;
    background: #eef6e2;
    padding: 2px 13px;
    border-radius: 10px;
    margin-left: 12px;
}
.cookie-modal .modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}
.cookie-modal .modal-actions button {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 24px;
    border: none;
    font-size: .98rem;
    cursor: pointer;
    margin-left: 5px;
}
.cookie-modal .accept { background: #368572; color: #fff; }
.cookie-modal .accept:hover { background: #F6C744; color: #182A47; }
.cookie-modal .save { background: #F6C744; color: #182A47; }
.cookie-modal .save:hover { background: #368572; color: #fff; }
.cookie-modal .reject { background: #fff; color: #182A47; border: 2px solid #F6C744; }
.cookie-modal .reject:hover { background: #F6C744; color: #182A47; }

/* UTILITIES ------------------------------------------------------------ */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.no-select { user-select: none; }

/* FOCUS ------------------------------------------------------------ */
:focus {
    outline: 2px solid #F6C744;
    outline-offset: 1px;
}

/* PRINT ------------------------------------------------------------ */
@media print {
    .mobile-menu, .cookie-banner, .cookie-modal-overlay, .mobile-menu-toggle, header, footer {
        display: none !important;
    }
    main { padding: 0 !important; }
}
