/* ==== CSS RESET & NORMALIZE ==== */
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: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    height: 100%;
    font-size: 16px;
}
body {
    background: #fff;
    color: #151515;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
ul, ol {
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #111;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, li, address, dd {
    font-size: 1rem;
    color: #232323;
    margin-bottom: 1.25em;
}
strong { color: #111; font-weight: 600; }

@media (max-width: 550px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
}

input, button, textarea, select {
    font-family: inherit;
    font-size: 1rem;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: transparent;
}
@media (max-width: 768px) {
    .section {
        padding: 30px 8px;
        margin-bottom: 38px;
    }
    .content-wrapper {
        gap: 24px;
    }
}

/* ==== HEADER / NAVIGATION ==== */
header {
    background: #fff;
    border-bottom: 1px solid #ededed;
    width: 100%;
    position: relative;
    z-index: 100;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}
.logo img {
    height: 42px;
    width: auto;
    display: block;
}
@media (max-width: 500px) {
    .logo img { height: 34px; }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    color: #101010;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    transition: color 0.13s;
    position: relative;
    padding: 4px 0;
}
.main-nav a:not(.cta):hover,
.main-nav a:focus {
    color: #154063;
}
.main-nav .cta.primary {
    background: #111;
    color: #fff!important;
    border-radius: 38px;
    padding: 11px 26px;
    margin-left: 8px;
    font-size: 1.07rem;
    font-weight: 700;
    box-shadow: 0 2px 16px rgba(21, 64, 99, 0.12);
    border: none;
    outline: none;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
    background: #154063;
    box-shadow: 0 8px 40px rgba(21, 64, 99, 0.20);
    color: #F4B400!important;
}

/* --- Mobile Menu Button --- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #101010;
    cursor: pointer;
    margin-left: 16px;
    z-index: 101;
    transition: color 0.2s;
}
.mobile-menu-toggle:focus { outline: 2px solid #154063; outline-offset: 4px; }

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    background: rgba(11,15,20,0.92);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.6,.12,.21,1);
    pointer-events: none;
}
.mobile-menu.open {
    transform: translateX(0);
    pointer-events: all;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    margin: 26px 32px 12px 0;
    cursor: pointer;
    transition: color 0.18s;
}
.mobile-menu-close:focus { outline: 2px solid #F4B400; outline-offset: 3px; }
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    padding-right: 40px;
    gap: 12px;
}
.mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.12s;
    border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #F4B400;
    background: rgba(24,24,24,0.10);
}
.mobile-nav .cta.primary {
    background: #fff;
    color: #111!important;
    padding: 13px 30px;
    border-radius: 46px;
    margin-top: 18px;
    font-weight: 700;
    box-shadow: 0 2px 16px rgba(21, 64, 99, 0.13);
    transition: background 0.19s, color 0.19s;
}
.mobile-nav .cta.primary:hover,.mobile-nav .cta.primary:focus {
    background: #F4B400;
    color: #111!important;
}
@media (max-width: 600px) {
    .mobile-nav {
        padding-right: 16px;
    }
}

/* ==== HERO SECTION ==== */
.hero {
    background: #f7f7f7;
    padding-top: 40px;
    padding-bottom: 56px;
    margin-bottom: 0;
    border-bottom: 1px solid #ededed;
}
.hero .container {
    align-items: center;
    justify-content: center;
    min-height: 320px;
}
.hero .content-wrapper {
    align-items: flex-start;
    max-width: 620px;
    gap: 22px;
}
.hero h1 {
    color: #111;
    text-shadow: 0 2px 4px rgba(30, 35, 40, 0.05);
}
.hero p {
    font-size: 1.15rem;
    color: #232323;
    margin-bottom: 18px;
}
.hero .cta.primary { margin-top: 6px; }

@media (max-width: 800px) {
    .hero .container { min-height: 190px; }
    .hero .content-wrapper { max-width: 100%; }
}

/* ==== FLEX LAYOUT PATTERNS ==== */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 20px;
    justify-content: flex-start;
}
.features-grid > div {
    background: #fff;
    border-radius: 16px;
    flex: 1 1 200px;
    min-width: 260px;
    max-width: 338px;
    padding: 32px 26px 24px 26px;
    box-shadow: 0 2px 14px rgba(21,64,99,0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #e6e6e6;
    margin-bottom: 20px;
    transition: box-shadow 0.18s, border 0.15s;
}
.features-grid > div:hover, .features-grid > div:focus-within {
    box-shadow: 0 8px 28px rgba(21, 64, 99, 0.13);
    border: 1.5px solid #154063;
}
.features-grid img {
    width: 38px; height: 38px; margin-bottom: 10px;
    filter: grayscale(100%) contrast(2.2);
}

/* Pattern for cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0.7px 10px rgba(21,64,99,0.06);
    margin-bottom: 20px;
    position: relative;
    padding: 28px 20px 24px 20px;
    transition: box-shadow 0.15s, border 0.13s;
    border: 1px solid #e6e6e6;
}
.card:hover {
    box-shadow: 0 4px 28px rgba(21,64,99,0.13);
    border: 1.5px solid #154063;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 18px rgba(21,64,99,0.10);
    padding: 20px 26px;
    margin-bottom: 20px;
    border-left: 4px solid #111;
    min-width: 250px;
    max-width: 400px;
    transition: box-shadow 0.15s, border 0.12s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 8px 30px rgba(21,64,99,0.18);
    border-left: 4px solid #154063;
}
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.testimonial-card p {
    font-size: 1.09rem;
    color: #151515;
    font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card span {
    color: #444;
    font-size: 0.98rem;
    font-family: 'Montserrat', Arial, sans-serif;
    opacity: 0.84;
}
.testimonial-card img[alt="Bewertung"] {
    width: 19px; height: 19px;
    display: inline-block;
    margin-right: 2px;
    margin-bottom: -3px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .features-grid {
        gap: 18px;
    }
}
@media (max-width: 600px) {
    .features-grid, .testimonial-slider, .card-container, .content-grid {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .features-grid > div, .testimonial-card {
        max-width: 100%;
        min-width: unset;
    }
    .testimonial-slider { gap: 18px; }
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ==== CTA BUTTONS ==== */
.cta.primary {
    display: inline-block;
    background: #154063;
    color: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.09rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 32px;
    padding: 13px 36px;
    box-shadow: 0 3px 18px rgba(21, 64, 99, 0.13);
    cursor: pointer;
    transition: background 0.17s, color 0.17s, box-shadow 0.22s, transform 0.12s;
    margin-top: 8px;
    position: relative;
    z-index: 0;
}
.cta.primary:hover, .cta.primary:focus {
    background: #111;
    color: #F4B400 !important;
    box-shadow: 0 8px 36px rgba(21, 64, 99, 0.19);
    transform: translateY(-2px) scale(1.03);
}

/* ==== SECTIONS ==== */
.cta-banner {
    background: #f7f7f7;
    border-radius: 18px;
    padding: 40px 5vw 32px 5vw;
    box-shadow: 0 1px 11px rgba(21,64,99,.07);
    text-align: left;
    margin-bottom: 20px;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cta-banner h2 { margin-bottom: 12px; color: #111; font-weight: 700; }
.cta-banner p { margin-bottom: 10px; }

@media (max-width: 550px) {
    .cta-banner {
        padding: 22px 4vw 18px 4vw;
    }
}

/* == LISTS/KEY POINTS == */
.service-list, .key-benefits, .price-comparison ul {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
}
.service-list li:before {
    content: '–';
    font-weight: 600;
    margin-right: 9px;
    color: #154063;
}
.key-benefits ul li:before {
    content: '\2713';
    color: #154063;
    margin-right: 9px;
    font-weight: 600;
}
.pricing-table {
    margin-bottom: 35px;
}
.pricing-table table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(21,64,99,0.04);
}
.pricing-table th, .pricing-table td {
    padding: 16px 18px;
    text-align: left;
    font-size: 1.04rem;
}
.pricing-table thead th {
    background: #f0f0f0;
    color: #111;
}
.pricing-table tr:not(:last-child) td {
    border-bottom: 1px solid #ededed;
}

/* ==== FAQ & ACCORDIONS ==== */
.faq-accordion > div {
    background: #f7f7f7;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0.7px 6px rgba(21,64,99,0.06);
    padding: 16px 20px;
    transition: box-shadow 0.15s, border 0.12s;
    border-left: 3px solid #154063;
}
.faq-accordion > div:hover, .faq-accordion > div:focus-within {
    box-shadow: 0 4px 24px rgba(21,64,99,0.10);
    border-left: 3px solid #F4B400;
}
.faq-highlight {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 1px 4px rgba(21,64,99,0.06);
    margin-bottom: 22px;
}
.faq-highlight dt {
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}
.faq-highlight dd {
    margin-bottom: 12px;
}

/* ==== ADDRESS & CONTACT ==== */
.contact-details p, .footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #232323;
    font-size: 1rem;
}
.contact-details a { color: #154063; text-decoration: underline; }
.contact-hint {
    background: #f7f7f7;
    border-radius: 9px;
    padding: 16px 18px 8px 18px;
    margin-bottom: 18px;
    border-left: 3px solid #154063;
}
.google-map-placeholder {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 9px;
    padding: 13px 15px;
    margin-top: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #232323;
}
.google-map-placeholder img {
    width: 22px;
    filter: grayscale(2) contrast(1.3);
}

/* ==== SUPPORT INFO CTA ==== */
.support-info {
    background: #f7f7f7;
    border-radius: 13px;
    padding: 20px 22px;
    margin-bottom: 17px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.support-info a {
    color: #154063;
    font-weight: 600;
    text-decoration: underline;
}

/* ==== FOOTER ==== */
footer {
    background: #111;
    color: #e7e7e7;
    padding: 50px 0 0 0;
    font-size: 1rem;
}
footer p {
    color: white;
}
footer .container {
    flex-direction: column;
    gap: 32px;
}
footer .logo img {
    height: 32px;
    width: auto;
    margin-bottom: 22px;
    filter: grayscale(1) contrast(1.34);
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 16px;
}
.footer-columns nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-columns nav a {
    color: #e7e7e7;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    transition: color 0.16s;
}
.footer-columns nav a:hover, .footer-columns nav a:focus {
    color: #F4B400;
}
.footer-contact {
    margin-bottom: 10px;
}
.footer-contact p {
    color: #e7e7e7;
    font-size: 0.99rem;
    margin-bottom: 8px;
}
.footer-contact img {
    width: 19px;
    filter: brightness(1.7) grayscale(.8);
}
.footer-bottom {
    width: 100%;
    padding: 21px 0 12px 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid #292929;
    font-size: 0.97rem;
    color: #999;
    background: #101010;
}
@media (max-width: 775px) {
    .footer-columns { flex-direction: column; gap:18px; }
}

/* ==== TABLES ==== */
table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    padding: 12px 14px;
    text-align: left;
}
tr:not(:last-child) td {
    border-bottom: 1px solid #ededed;
}

/* ==== MODALS / OVERLAYS ==== */
.modal-overlay {
    position: fixed;
    z-index: 12000;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.75);
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.modal-overlay.active {
    display: flex;
    pointer-events: auto;
}
.modal {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 24px 28px;
    min-width: 270px;
    max-width: 95vw;
    box-shadow: 0 12px 50px rgba(21,64,99,0.21);
    position: relative;
    color: #111;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: modal-fade-in .33s cubic-bezier(.57,.06,.39,.97);
}
@keyframes modal-fade-in { from { opacity: 0; transform: translateY(-16px) scale(.96);} to { opacity: 1; transform: none;} }
.modal-close {
    position: absolute;
    top: 15px; right: 18px;
    background: none;
    border: none;
    color: #111;
    font-size: 1.8rem;
    cursor: pointer;
}
.modal h2 { margin-bottom: 10px; }

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 9px 14px 7px 14px;
    font-size: 1rem;
}
.cookie-category label strong { color: #111; }
.cookie-toggle {
    appearance: none;
    width: 40px;
    height: 22px;
    background: #ccc;
    border-radius: 12px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.16s;
}
.cookie-toggle:checked {
    background: #154063;
}
.cookie-toggle:after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.16s;
    box-shadow: 0 1px 6px rgba(0,0,0,0.11);
}
.cookie-toggle:checked:after {
    left: 21px;
}
.cookie-category .category-desc {
    font-size: 0.97rem; color: #444;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    color: #111;
    border-top: 1.5px solid #e0e0e0;
    box-shadow: 0 -2px 22px rgba(21, 64, 99, 0.09);
    z-index: 11100;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    gap: 18px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.23s, transform 0.23s;
    font-size: 1rem;
    flex-wrap: wrap;
}
.cookie-banner.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(80px);
}
.cookie-banner-message {
    flex: 1 1 240px;
    color: #232323;
}
.cookie-banner .cookie-banner-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-btn {
    background: #154063;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 10px 22px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    cursor: pointer;
    transition: background 0.18s, color 0.16s, box-shadow 0.2s;
    box-shadow: 0 1px 8px rgba(21,64,99,0.07);
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #F4B400;
    color: #111;
}
.cookie-btn.secondary {
    background: #fff;
    color: #154063;
    border: 1.5px solid #154063;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
    background: #e9e9e9;
    color: #111;
    border: 1.5px solid #111;
}
@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 8px 18px 8px;
    }
    .cookie-banner .cookie-banner-buttons {
        gap: 10px;
    }
}

/* ==== ACCESSIBILITY FOCUS STATES ==== */
a:focus, button:focus, input:focus {
    outline: 2px solid #F4B400;
    outline-offset: 3px;
}

/* ==== MICRO-INTERACTIONS ==== */
.cta.primary:active,
.card:active,
.testimonial-card:active {
    transform: scale(0.98);
}
.mobile-menu .mobile-nav a:active, .cookie-btn:active {
    transform: scale(0.96);
}

/* ==== MISC ==== */
.text-section { margin-bottom: 12px; }
.trust-signals {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 11px;
    color: #232323;
    font-size: 1rem;
}
.trust-signals img {
    width: 23px;
    margin-right: 6px;
    filter: grayscale(1) brightness(1.2); opacity: 0.9;
}

/* ==== PRINT ==== */
@media print {
    header, footer, .cookie-banner, .mobile-menu { display: none!important; }
    main, .container { padding: 0; }
    body { color: #111; background: #fff; }
}

/* ==== HI-DPI/RETINA OVERRIDES ==== */
@media (min-resolution: 130dpi) {
    .logo img, .footer-contact img, .trust-signals img, .hero img, .features-grid img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==== BRAND-SPECIFIC HOVER STATES ==== */
.features-grid > div:hover h3, .card:hover h3, .testimonial-card:hover span {
    color: #154063;
}

/* ==== END ==== */