/* =========================================================================
   Nieuwenhuijse Academie - stijl gebaseerd op werkenbijnieuwenhuijse.nl
   Merkkleuren: #395448 (accent, groen), #879e94 (licht groen), #edf1ee (mist)
   Type: Inter (Google Fonts)
   ========================================================================= */

:root {
    --brand: #395448;
    --brand-dark: #263c32;
    --brand-light: #879e94;
    --brand-mist: #edf1ee;
    --brand-cream: #f5f5f5;
    --text: #111111;
    --text-muted: #68756e;
    --border: #e5ebe6;
    --white: #ffffff;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(38, 60, 50, 0.08);
    --shadow-md: 0 6px 20px rgba(38, 60, 50, 0.10);
    --shadow-lg: 0 22px 42px rgba(38, 60, 50, 0.18);
    --container: 1200px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
img.rounded { border-radius: var(--radius); }

h1, h2, h3, h4 {
    font-family: var(--font);
    color: var(--brand);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 18px;
    font-weight: 700;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 16px; color: var(--text); }
a  { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ===================== TOP BAR ===================== */
.top-bar {
    background: var(--brand);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.top-bar p { margin: 0; color: var(--white); }

/* ===================== HEADER ===================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 32px;
    max-width: 100vw;
    width: 100%;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 64px; width: auto; }
.brand-text { font-size: 1.15rem; font-weight: 800; color:#fff; letter-spacing: -0.01em; }
.brand-text em { color: var(--brand-light); font-style: normal; }
.header-nav { margin-left: auto; }
.header-nav ul { list-style: none; display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin: 0; padding: 0; }
.header-nav a { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.header-nav a:hover { color: var(--brand); text-decoration: none; }

/* Hamburger-knop (alleen zichtbaar op mobiel) */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-actions .btn-accent {
    background: var(--brand);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 18px rgba(57, 84, 72, 0.18), 0 0 0 4px rgba(120, 196, 161, 0.10);
}
.header-actions .btn-accent:hover { background: var(--brand-dark); color: var(--white); text-decoration: none; box-shadow: 0 12px 20px rgba(57, 84, 72, 0.22), 0 0 0 6px rgba(120, 196, 161, 0.10); }

/* ===================== SUB-NAV (secundair) ===================== */
.sub-nav {
    background: var(--brand-cream);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 80;
}
.sub-nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.sub-nav-menu::-webkit-scrollbar { display: none; }
.sub-nav-link {
    display: block;
    padding: 16px 20px;
    color: #555;
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}
.sub-nav-link:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.sub-nav-link.active { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.sub-nav-link.sub-nav-link-btn {
    background: var(--brand);
    color: var(--white) !important;
    padding: 8px 22px;
    border-radius: 6px;
    margin-left: 8px;
    box-shadow: 0 10px 18px rgba(57, 84, 72, 0.18), 0 0 0 4px rgba(120, 196, 161, 0.10);
}
.sub-nav-link.sub-nav-link-btn:hover { background: var(--brand-dark); text-decoration: none; box-shadow: 0 12px 20px rgba(57, 84, 72, 0.22), 0 0 0 6px rgba(120, 196, 161, 0.10); }

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    letter-spacing: 0;
    line-height: 1.2;
}
.btn-primary { background: var(--brand); color: var(--white); border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--brand); border-color: var(--border); }
.btn-secondary:hover { background: var(--brand-mist); color: var(--brand-dark); text-decoration: none; }
.btn-small { padding: 10px 20px; font-size: 14px; }

.hero-video-overlay .btn-primary,
.header-actions .btn-accent,
.sub-nav-link.sub-nav-link-btn {
    position: relative;
    box-shadow: 0 12px 22px rgba(57, 84, 72, 0.24), 0 0 0 6px rgba(120, 196, 161, 0.10);
    animation: calloutGlow 2.8s ease-out 0.4s 1;
}

.hero-video-overlay .btn-primary {
    padding: 16px 30px;
}

.hero-video-overlay .btn-primary:hover,
.header-actions .btn-accent:hover,
.sub-nav-link.sub-nav-link-btn:hover {
    box-shadow: 0 14px 24px rgba(57, 84, 72, 0.28), 0 0 0 8px rgba(120, 196, 161, 0.10);
    transform: none;
}

@keyframes calloutGlow {
    0% {
        box-shadow: 0 0 0 rgba(120, 196, 161, 0), 0 8px 18px rgba(57, 84, 72, 0.18), 0 0 0 0 rgba(120, 196, 161, 0.12);
        transform: scale(0.98);
    }
    20% {
        box-shadow: 0 0 0 8px rgba(120, 196, 161, 0.08), 0 0 20px rgba(120, 196, 161, 0.18), 0 12px 22px rgba(57, 84, 72, 0.24);
        transform: scale(1.01);
    }
    100% {
        box-shadow: 0 12px 22px rgba(57, 84, 72, 0.24), 0 0 0 6px rgba(120, 196, 161, 0.10);
        transform: scale(1);
    }
}

@keyframes heroButtonPulse {
    0% {
        box-shadow: 0 0 0 rgba(120, 196, 161, 0), 0 8px 18px rgba(57, 84, 72, 0.22);
        transform: scale(0.98);
    }
    18% {
        box-shadow: 0 0 0 10px rgba(120, 196, 161, 0.08), 0 0 20px rgba(120, 196, 161, 0.34), 0 12px 22px rgba(57, 84, 72, 0.28);
        transform: scale(1.02);
    }
    40% {
        box-shadow: 0 0 0 0 rgba(120, 196, 161, 0), 0 0 18px rgba(120, 196, 161, 0.2), 0 12px 20px rgba(57, 84, 72, 0.24);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 12px 22px rgba(57, 84, 72, 0.26), 0 0 0 rgba(120, 196, 161, 0);
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video-overlay .btn-primary {
        animation: none;
    }
    .btn, .btn-primary, .btn-primary:hover {
        transition: none;
    }
}

/* ===================== SECTIONS ===================== */
.section { padding: 72px 0; }
.section-alt { background: var(--brand-cream); }
.section-hero { padding: 72px 0 56px; }

/* Hero video-blok (full-width, boven de tekst-hero) */
.hero-video-block {
    position: relative;
    width: 100%;
    background: #000;
}
.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 400px;
    min-height: 400px;
    overflow: hidden;
}
.hero-video-frame iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Cover: iframe altijd minstens zo groot als het kader, 16:9 behouden en centreren */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    border: 0;
    display: block;
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.18) 100%);
}
.hero-video-overlay-inner {
    width: 100%;
    padding-bottom: 42px;
}
.hero-video-overlay h1 {
    color: var(--white);
    margin-bottom: 10px;
}
.hero-video-lead {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--white);
    font-weight: 600;
    margin-bottom: 18px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.grid-2.align-center { align-items: center; }

.location-gallery {
    display: grid;
    gap: 16px;
    width: 100%;
}
.location-gallery-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.location-gallery-item,
.location-gallery-featured {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--brand-mist);
    box-shadow: var(--shadow-sm);
}
.location-gallery-item img,
.location-gallery-featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.location-gallery-item {
    aspect-ratio: 4 / 3;
}
.location-gallery-featured {
    aspect-ratio: 16 / 8;
}

.hero-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 20px;
}

/* ===================== BRANDS ===================== */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.brand-card {
    background: var(--brand-light);
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
    transition: opacity .3s ease;
}
.brand-grid:hover .brand-card { opacity: 0.4; }
.brand-grid .brand-card:hover { opacity: 1; }
.brand-card a { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 100%; height: 100%; min-width: 0; }
.brand-card img { width: auto; max-height: 80%; max-width: 100%; object-fit: contain; }

/* ===================== VAKKEN / CURRICULUM ===================== */
.opleiding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.opleiding-content { max-width: 480px; }
.slider-header { display: flex; justify-content: space-between; margin: 24px 0 10px; }
.slider-title { color: var(--brand); font-size: 16px; font-weight: 700; }
.slider {
    display: flex;
    height: 46px;
    background: var(--brand-mist);
    border-radius: 999px;
    overflow: hidden;
}
.slider .praktijk, .slider .theorie {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    white-space: nowrap;
}
.slider .praktijk {
    background: var(--brand);
    color: var(--white);
    width: 80%;
    animation: nhPraktijkGrow 1.4s ease forwards;
    transform-origin: left;
}
.slider .theorie {
    background: #dfe6e1;
    color: var(--brand);
    width: 20%;
    animation: nhTheorieGrow 1.4s ease forwards;
    transform-origin: right;
}
@keyframes nhPraktijkGrow { from { width: 0%; } to { width: 80%; } }
@keyframes nhTheorieGrow  { from { width: 0%; } to { width: 20%; } }

/* Accordion (gedeeld door Vakken en FAQ) */
.opleiding-accordions,
.faq-accordions { display: grid; gap: 14px; }
.accordion {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    background: var(--white);
    color: var(--brand);
    padding: 18px 22px;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    transition: background .2s ease;
}
.accordion-header:hover { background: #f7f9f7; }
.accordion-header:focus { outline: none; }
.accordion-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #f5f7f5;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.accordion.is-open .accordion-icon {
    transform: rotate(45deg);
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
.accordion-content { display: none; padding: 0 22px 22px; }
.accordion.is-open .accordion-content { display: block; }

/* Vak-items binnen accordion */
.vak-list { display: grid; }
.vak { border-top: 1px solid var(--brand-mist); }
.vak:first-child { border-top: 0; }
.vak-button {
    width: 100%;
    background: transparent;
    color: var(--brand);
    padding: 14px 0;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    border: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.vak-button:hover { color: var(--brand-dark); }
.vak-button:focus { outline: none; }
.vak-plus {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f5f7f5;
    border: 1px solid var(--border);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.vak.is-open .vak-plus {
    transform: rotate(45deg);
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
}
.vak-text {
    display: none;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    padding: 0 34px 14px 0;
}
.vak.is-open .vak-text { display: block; }

/* ===================== VOORDELEN ===================== */
.voordelen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.voordelen li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text);
}
.voordelen .emoji { font-size: 22px; flex-shrink: 0; }

/* ===================== LOCATIEKAART ===================== */
.locatiekaart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.locatiekaart-content { max-width: 480px; }

.map {
    position: relative;
    background: var(--brand-mist);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    padding: 12px;
}
.map-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 106%;
    overflow: hidden;
    border-radius: 20px;
}
.map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.map-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 0 0 7px rgba(255,255,255,.35), 0 8px 18px rgba(38,60,50,.22);
    transition: transform .2s, box-shadow .2s;
}
.map-dot:hover,
.map-dot:focus {
    transform: translate(-50%, -50%) scale(1.15);
    outline: none;
    box-shadow: 0 0 0 9px rgba(255,255,255,.5), 0 12px 24px rgba(38,60,50,.28);
}
.map-hint {
    text-align: center;
    padding: 10px 0 4px;
    color: var(--text-muted);
    font-size: 13px;
}

.map-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 36, 24, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s, visibility .22s;
    z-index: 90;
}
.map-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.map-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.94);
    width: min(320px, 88%);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px 22px 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s, transform .22s, visibility .22s;
    z-index: 100;
}
.map-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.map-modal h3 { color: var(--brand); font-size: 18px; margin: 0 0 8px; }
.map-modal p { color: var(--text-muted); font-size: 14px; margin: 0 0 12px; }
.map-brands { color: var(--brand); font-size: 13px; font-weight: 700; }
.map-modal-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 32px; height: 32px;
    border: 0;
    background: transparent;
    color: var(--brand);
    font-size: 24px;
    cursor: pointer;
}
.map-modal-close:hover { color: var(--brand-dark); }

/* ===================== CARDS (Meer over Nieuwenhuijse) ===================== */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card img { width: 100%; height: 220px; object-fit: cover; }
.info-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.info-card-body p { color: var(--text); flex: 1; }
.info-card-body a { align-self: flex-start; margin-top: 8px; }

/* ===================== QUIZ ===================== */
.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.quiz-content { max-width: 480px; }
.quiz-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    min-height: 330px;
    display: flex;
    flex-direction: column;
}
#nhQuiz, #nhResult {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
#nhQuiz[hidden], #nhResult[hidden] { display: none; }
.quiz-step {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px;
}
.quiz-progress {
    height: 8px;
    background: var(--brand-mist);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}
.quiz-progress-bar {
    height: 100%;
    background: var(--brand);
    transition: width .3s ease;
}
.quiz-question {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.3;
    margin-bottom: 24px;
}
.quiz-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz-btn {
    background: var(--white);
    color: var(--brand);
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.quiz-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.quiz-yes { background: var(--brand); color: var(--white); border-color: var(--brand); }
.quiz-yes:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.result-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--brand-mist);
    color: var(--brand);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
#nhResult h3 { font-size: 24px; margin: 0 0 12px; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }

/* ===================== FAQ ===================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 60px;
    align-items: start;
}
.faq-content { align-self: start; }
.faq-text p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.faq-text p:last-child { margin-bottom: 0; }

/* ===================== CONTACT BLOCK (groen) ===================== */
.contact-block-section {
    background: var(--brand-light);
    color: var(--white);
}
.contact-block-section h2 { color: var(--white); }
.contact-block-section p { color: rgba(255,255,255,0.95); }
.contact-block-section a { color: var(--white); font-weight: 700; text-decoration: underline; }
.contact-block-section a:hover { color: var(--brand-mist); }
.contact-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: center;
}
.contact-image img { border-radius: var(--radius-lg); }

/* ===================== FOOTER ===================== */
.site-footer {
    background: #fafafa;
    color: var(--text);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}
.footer-column h3 {
    color: var(--brand);
    font-size: 18px;
    margin-bottom: 16px;
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 8px; }
.footer-column a { color: var(--text); }
.footer-column a:hover { color: var(--brand); }
.subfooter {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.socials { display: flex; gap: 10px; }
.socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
}
.socials a:hover { background: var(--brand-dark); text-decoration: none; }
.legal { color: var(--text-muted); font-size: 13px; margin: 0; }

/* ===================== RESPONSIVE ===================== */
/*
 * Header krijgt een eigen (bredere) breakpoint dan de layout-grids omdat de
 * desktop-navigatie met lange NL-labels pas ruim boven 1200 px voldoende
 * plek heeft. Op alles daaronder tonen we het hamburger-menu, zodat de
 * knop altijd bereikbaar is en niet buiten de viewport valt.
 */
@media (max-width: 1199px) {
    /* Header wordt hamburger-menu */
    .header-inner { padding: 12px 20px; }
    .brand-logo { height: 44px; }
    .nav-toggle { display: inline-flex; }
    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .header-nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; }
    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 16px 16px;
    }
    .header-nav li { width: 100%; }
    .header-nav a.sub-nav-link {
        display: block;
        padding: 14px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 16px;
    }
    .header-nav a.sub-nav-link:last-child { border-bottom: 0; }
    .header-nav a.sub-nav-link.sub-nav-link-btn {
        margin: 12px 0 4px;
        border-bottom: 0;
        text-align: center;
    }
}
@media (max-width: 900px) {
    .section { padding: 56px 0; }
    .grid-2,
    .opleiding-grid,
    .locatiekaart-grid,
    .quiz-grid,
    .faq-grid,
    .contact-block { grid-template-columns: 1fr; gap: 36px; }
    .reverse-on-mobile > *:first-child { order: 2; }
    .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Hero video kleiner */
    .hero-video-frame { max-height: 240px; }
    .section-hero { padding: 40px 0 32px; }
}
@media (max-width: 600px) {
    .section { padding: 40px 0; }
    .brand-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .quiz-buttons, .result-actions { grid-template-columns: 1fr; }
    .subfooter { flex-direction: column; align-items: flex-start; }
    .top-bar { text-align: center; }
    .top-bar p { text-align: center; }

    .container { padding: 0 16px; }
    .header-inner { padding: 10px 16px; }
    .brand-logo { height: 38px; }
    .hero-video-frame { max-height: 200px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero-lead { font-size: 16px; }
    .btn { padding: 12px 20px; font-size: 14px; }

    /* Kleinere locatiekaart-modal en kaart-hint op mobiel */
    .map { padding: 8px; }
    .map-modal { width: min(280px, 92%); padding: 16px 18px 14px; }
    .map-hint { font-size: 12px; }
}
