/* 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-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    background: #fff;
}
body {
    line-height: 1.5;
    background: #fff;
    color: #181818;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
img, video {
    display: block;
    max-width: 100%;
    height: auto;
}
strong, b {
    font-weight: 700;
}
a {
    color: #014271;
    text-decoration: underline;
    transition: color .2s;
}
a:hover, a:focus {
    color: #222;
    text-decoration: none;
}
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* MONOCHROME SOPHISTICATED BRAND COLOR VARIABLES */
:root {
    --primary: #014271;
    --secondary: #68A4D4;
    --accent: #F5FBFF;
    --white: #fff;
    --grey-100: #f7f7f9;
    --grey-200: #e7eaed;
    --grey-300: #c7ccd1;
    --grey-700: #45484d;
    --grey-800: #222325;
    --black: #181818;
}

/* BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--black);
    letter-spacing: .01em;
    font-weight: 700;
    line-height: 1.15;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75em;
}
h2 {
    font-size: 2rem;
    margin-bottom: 0.6em;
}
h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4em;
    font-weight: 600;
}
h4, h5, h6 {
    font-size: 1.1rem;
    margin-bottom: 0.25em;
}
p, li, dt, dd {
    font-size: 1rem;
    color: var(--grey-800);
    line-height: 1.7;
    margin-bottom: 1.1em;
}
p.lead {
    font-size: 1.25rem;
    color: var(--black);
    margin-bottom: 1.6em;
}
ul li, ol li {
    margin-bottom: .5em;
}

/* SECTION SPACING PATTERNS */
.section, section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* CARD, CARD-GRID, FEATURE-GRID */
.card-container, .card-grid, .feature-grid, .testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
    justify-content: flex-start;
}
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 3px 16px 0 rgba(0,0,0,0.07);
    border: 1px solid var(--grey-200);
    padding: 32px 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .18s;
}
.card:hover {
    box-shadow: 0 7px 24px 0 rgba(0,0,0,0.11);
    z-index: 2;
}
.feature-grid > div {
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 270px;
    background: var(--grey-100);
    border-radius: 12px;
    border: 1px solid var(--grey-200);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    transition: box-shadow .2s, border-color .2s;
}
.feature-grid > div:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 18px 0 rgba(20,20,20,0.08);
}
.feature-grid img {
    height: 40px;
    width: 40px;
    margin-bottom: .8em;
}

/* TESTIMONIALS */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--accent);
    border-radius: 10px;
    border: 1px solid var(--grey-200);
    padding: 20px 22px;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,0.06);
    min-width: 250px;
    flex: 1 1 280px;
    transition: box-shadow .15s;
}
.testimonial-card:hover {
    box-shadow: 0 5px 16px 0 rgba(0,0,0,0.13);
}
.testimonial-card .star-rating {
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    font-family: inherit;
    margin-bottom: 0.3em;
}
.testimonial-person {
    font-size: 0.97rem;
    color: var(--grey-800);
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-top: .7em;
    letter-spacing: .01em;
}

/* CTA BUTTONS */
.cta-primary {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 0.7em 2.1em;
    border-radius: 30px;
    border: none;
    outline: none;
    box-shadow: 0 2px 10px 0 rgba(20,20,20,0.09);
    text-decoration: none;
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 12px;
    transition: background .2s, color .2s, box-shadow .18s;
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 18px 0 rgba(1,66,113,0.18);
}

/* NAVIGATION BAR */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 40;
}
header img {
    height: 54px;
    width: auto;
    margin-right: 28px;
}
header nav {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}
header nav a {
    color: var(--black);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.01rem;
    font-weight: 500;
    transition: color .15s;
    text-decoration: none;
    padding: 7px 2px;
    border-bottom: 2px solid transparent;
}
header nav a:hover, header nav a:focus, header nav a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}
header .cta-primary {
    margin-left: 28px;
}
/* Hide .mobile-menu-toggle on desktop by default */
.mobile-menu-toggle {
    display: none;
    font-size: 2.25rem;
    border: none;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    margin-left: 18px;
    transition: color .2s;
}
.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30,30,30,0.97);
    z-index: 100;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateX(100vw);
    transition: transform .38s cubic-bezier(.77,0,.18,1);
    overflow-y: auto;
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.4rem;
    color: var(--white);
    cursor: pointer;
    margin: 28px 24px 8px 0;
    z-index: 101;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100vw;
    padding-left: 32px;
    gap: 20px;
    margin-top: 34px;
}
.mobile-nav a {
    font-size: 1.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--white);
    padding: 9px 0;
    font-weight: 500;
    text-decoration: none;
    transition: color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: var(--secondary);
}

/* FOOTER */
footer {
    background: var(--black);
    color: var(--white);
    padding: 42px 22px 32px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 60px;
}
.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 26px;
    margin-bottom: 10px;
}
.footer-nav a {
    color: var(--white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    text-decoration: underline;
    opacity: 0.93;
    transition: color .2s, opacity .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: var(--secondary);
    opacity: 1;
}
.footer-contact, .footer-hours {
    font-size: .97rem;
    opacity: 0.80;
    color: var(--white);
}
.footer-contact a {
    color: var(--secondary);
    text-decoration: underline;
    opacity: 0.93;
    margin: 0 3px;
}
.footer-contact a:hover {
    opacity: 1;
    color: var(--accent);
}
.footer-hours {
    font-size: .94rem;
    margin-top: 6px;
    color: var(--grey-300);
}

/* LAYOUT FLEXBOX UTILITY CLASSES */
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* TABLE STYLES */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
    background: var(--grey-100);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.03);
}
thead {
    background: var(--grey-200);
}
th, td {
    padding: 18px 16px;
    text-align: left;
    border-bottom: 1px solid var(--grey-200);
}
th {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: var(--primary);
}
tr:last-child td {
    border-bottom: none;
}

/* DETAILS FAQ & SUMMARY */
details {
    margin-bottom: 18px;
    background: var(--grey-100);
    border-radius: 8px;
    border: 1px solid var(--grey-200);
    padding: 14px 16px;
    transition: box-shadow .15s;
}
details[open] {
    box-shadow: 0 2px 9px 0 rgba(0,0,0,0.07);
    border-color: var(--primary);
}
details summary {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    font-weight: 550;
    color: var(--black);
    outline: none;
    cursor: pointer;
    margin-bottom: 7px;
}
details div {
    margin-top: 6px;
    color: var(--grey-700);
    font-size: 0.99rem;
    font-weight: 400;
}

/* DL, DT, DD in Kontakt */
dl {
    margin-bottom: 18px;
}
dt {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: var(--black);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}
dd {
    margin-left: 24px;
    color: var(--grey-800);
    margin-bottom: 10px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
    background: var(--grey-100);
    border: 1px dashed var(--grey-200);
    border-radius: 9px;
    padding: 16px 18px;
    margin: 12px 0 0 0;
}

/* TEXT SECTION */
.text-section {
    margin-bottom: 22px;
}
.text-section ul,
.text-section ol {
    margin-top: 8px;
    margin-bottom: 18px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: rgba(245,245,245,0.98);
    color: var(--black);
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 34px;
    box-shadow: 0 -4px 20px 0 rgba(20,20,20,0.11);
    z-index: 420;
    padding: 22px 34px 22px 20px;
    font-size: 0.97rem;
    flex-wrap: wrap;
    animation: cookie-fadein .9s cubic-bezier(.24,0,.78,1);
}
@keyframes cookie-fadein {
    from { transform: translateY(60px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
    flex: 3;
    margin-bottom: 0;
}
.cookie-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}
.cookie-btn {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', Arial, sans-serif;
    border: none;
    border-radius: 32px;
    padding: 0.55em 1.45em;
    margin: 0 2px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .19s, color .19s, box-shadow .18s;
    box-shadow: 0 2px 10px 0 rgba(20,20,20,0.05);
    outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: var(--primary);
    color: var(--white);
}
.cookie-btn.settings {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--grey-300);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* COOKIE MODAL POPUP */
.cookie-modal {
    position: fixed;
    bottom: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(34, 34, 34, 0.56);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 430;
    animation: modal-fade-in .21s cubic-bezier(.5,0,.5,1);
}
@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal-content {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 44px 0 rgba(20,20,20,.28);
    padding: 34px 38px;
    min-width: 290px;
    max-width: 97vw;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
}
.cookie-modal-close {
    position: absolute;
    top: 16px;
    right: 26px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--black);
    cursor: pointer;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    font-size: 1.09rem;
    margin-bottom: 12px;
}
.cookie-category strong {
    font-size: 1.12rem;
}
.cookie-switch {
    margin-left: auto;
}
.cookie-switch input[type="checkbox"] {
    appearance: none;
    width: 44px;
    height: 24px;
    background: var(--grey-200);
    outline: none;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background .19s;
}
.cookie-switch input[type="checkbox"]:checked {
    background: var(--primary);
}
.cookie-switch input[type="checkbox"]:before {
    content: '';
    display: block;
    position: absolute;
    top: 2px; left: 2px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s, background .2s;
    box-shadow: 0 1.5px 4px rgba(50,50,50,0.15);
}
.cookie-switch input[type="checkbox"]:checked:before {
    transform: translateX(20px);
    background: var(--secondary);
}
.cookie-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* MICRO-INTERACTIONS */
.card, .feature-grid > div, .cta-primary, .cookie-btn {
    transition: box-shadow .19s, border-color .17s, background .19s, color .17s, transform .13s;
}
.card:hover, .feature-grid > div:hover, .cta-primary:hover, .cta-primary:focus {
    transform: translateY(-2px) scale(1.014);
}

/* MEDIA QUERIES: MOBILE-FIRST RESPONSIVE DESIGN */
@media (max-width: 1080px) {
    .container {
        padding: 0 16px;
    }
}
@media (max-width: 900px) {
    .feature-grid, .testimonial-grid, .card-grid, .card-container {
        gap: 14px;
    }
    .feature-grid > div, .testimonial-card, .card {
        min-width: 200px;
        max-width: 340px;
        flex: 1 1 180px;
    }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.34rem; }
}
@media (max-width: 768px) {
    header nav, header .cta-primary {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .section, section {
        padding: 30px 10px;
    }
    h1 {
        font-size: 1.65rem;
    }
    h2 {
        font-size: 1.23rem;
    }
    .feature-grid, .testimonial-grid, .card-grid, .card-container {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .footer-nav {
        flex-direction: column;
        gap: 14px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
@media (max-width: 500px) {
    .container {
        padding: 0 2vw;
    }
    header {
        padding: 12px 7px;
    }
    .footer-contact, .footer-hours {
        font-size: .91rem;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 14px 7px;
        font-size: .95rem;
    }
    .cookie-actions {
        flex-direction: column;
        gap: 7px;
        align-items: flex-start;
    }
    .cookie-modal-content {
        padding: 16px 8px;
    }
    .mobile-menu-close {
        margin: 22px 4vw 2px 0;
        font-size: 2.2rem;
    }
    .mobile-nav {
        padding-left: 6vw;
        margin-top: 18px;
    }
}

/* MINIMUM SPACING BETWEEN CARDS/SECTIONS */
section + section, .section + .section {
    margin-top: 20px;
}
.card + .card, .testimonial-card + .testimonial-card {
    margin-left: 0;
    margin-top: 20px;
}

/* Hide visually but keep accessible (for cookie modal close, etc.) */
.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
