/* ============================================
   Examen Fixer — stylesheet
   Brand color: #2b74fb
   ============================================ */

:root {
    --primary: #2b74fb;
    --primary-dark: #0557ee;
    --primary-light: #5d95fc;
    --primary-soft: #e5eefe;
    --primary-tint: #f4f8ff;

    --dark: #0c056d;
    --text: #1e1b4b;
    --muted: #6b7280;
    --light: #f8f9fc;
    --border: #e5e7eb;
    --white: #ffffff;

    --shadow-sm: 0 2px 8px rgba(12, 5, 109, 0.05);
    --shadow-md: 0 8px 24px rgba(12, 5, 109, 0.08);
    --shadow-lg: 0 20px 60px rgba(43, 116, 251, 0.18);
    --shadow-xl: 0 30px 80px rgba(12, 5, 109, 0.12);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --max-width: 1200px;
    --transition: 0.25s ease;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
/* Prevent 300ms tap delay on mobile */
button, a, input, select, textarea { touch-action: manipulation; }
/* Remove iOS default input styling */
input[type="email"], input[type="text"], input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}
a:hover { color: var(--primary-dark); }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.accent { color: var(--primary); }
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

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

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section-sub {
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
    text-align: center;
    line-height: 1.1;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(43, 116, 251, 0.30);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43, 116, 251, 0.40);
}
.btn-ghost {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--dark);
    color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }

.main-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}
.main-nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}
.main-nav a:hover { color: var(--primary); }

.nav-cta { white-space: nowrap; }

/* Compact header CTA for subpages (no hamburger) */
.nav-cta-compact {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a {
    color: var(--dark);
    font-weight: 500;
    padding: 10px 0;
    display: block;
}
.mobile-nav .btn { text-align: center; width: 100%; }

/* ====== HERO ====== */
.hero {
    position: relative;
    padding: 80px 0 120px;
    background:
        radial-gradient(ellipse at top right, rgba(43, 116, 251, 0.08), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(43, 116, 251, 0.06), transparent 60%),
        var(--primary-tint);
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text { max-width: 580px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--muted);
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-trust span::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

/* Hero floating icons */
.hero-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.road-icon {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
    font-size: 2rem;
}
.road-icon.r1 { top: 10%; left: 4%; animation-delay: 0s; }
.road-icon.r2 { top: 28%; left: 40%; font-size: 1.4rem; animation-delay: 1s; }
.road-icon.r3 { top: 68%; left: 7%; font-size: 1.8rem; animation-delay: 2s; }
.road-icon.r4 { top: 15%; right: 8%; font-size: 2.4rem; animation-delay: 0.5s; opacity: 0.09; }
.road-icon.r5 { top: 58%; right: 3%; font-size: 1.6rem; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

/* Hero exam mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.exam-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 28px;
    width: 340px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
}
.exam-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.exam-mockup-header .q-counter {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}
.exam-mockup-header .timer {
    background: var(--primary-tint);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}
.exam-mockup-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-soft), var(--primary-tint));
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    overflow: hidden;
}
.exam-mockup-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}
.exam-mockup-q {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.45;
}
.exam-mockup-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.exam-mockup-opt {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text);
    cursor: default;
}
.exam-mockup-opt.active {
    border-color: var(--primary);
    background: var(--primary-tint);
    color: var(--primary);
    font-weight: 600;
}
.floating-stat {
    position: absolute;
    background: var(--white);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 3;
    animation: bounce-soft 3s ease-in-out infinite;
}
.floating-stat strong {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
}
.floating-stat span { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.stat-1 { top: 8%; left: -14%; animation-delay: 0s; }
.stat-2 { bottom: 10%; right: -12%; animation-delay: 1.5s; }
@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ====== SECTIONS ====== */
section { padding: 100px 0; }

/* ====== PROBLEMS ====== */
.problems { background: var(--white); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.problem-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}
.problem-icon { font-size: 2.4rem; margin-bottom: 18px; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.problem-tag {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ====== COURSES / PRODUCTS ====== */
.courses {
    background: var(--primary-tint);
    position: relative;
    overflow: hidden;
}
.courses::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(43,116,251,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.courses::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(43,116,251,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 0;
    max-width: 800px;
    margin: 0 auto;
}
.course-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    align-items: center;
}

/* Tab selector */
.pakket-tabs {
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto 44px;
    gap: 2px;
    backdrop-filter: blur(6px);
}
.pakket-tab {
    padding: 9px 26px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    cursor: default;
    transition: background var(--transition), color var(--transition);
}
.pakket-tab-active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(43,116,251,0.3);
}
.pakket-tab:disabled { opacity: 0.45; cursor: not-allowed; }

/* Card base */
.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 28px 28px;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Coloured accent stripe at top of regular cards */
.course-card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    margin: 0 -28px 24px;
    border-radius: 0;
}

/* Featured wrapper — holds the floating badge + the card */
.course-featured-wrap {
    position: relative;
    padding-top: 22px;
    display: flex;
    flex-direction: column;
}
.course-most-chosen-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #FFD200;
    color: #1a1a1a;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(0,0,0,0.14);
    letter-spacing: 0.02em;
}

/* Featured card — strong gradient, stands out from section bg */
.course-card-featured {
    background: linear-gradient(150deg, #2b74fb 0%, #0557ee 100%);
    border: none;
    box-shadow: 0 24px 64px rgba(43,116,251,0.38);
    flex: 1;
}
.course-card-featured:hover { transform: translateY(-6px); }

.course-badge-korting {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.35);
    align-self: flex-start;
}

/* Card titles */
.course-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}
.course-name-featured { color: var(--white); }

/* Price block */
.course-price-wrap {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 4px;
}
.course-price-euro {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--muted);
    margin-top: 8px;
}
.course-price-euro-featured { color: rgba(255,255,255,0.75); }
.course-price-main {
    font-family: 'Poppins', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--dark);
}
.course-price-main-featured { color: var(--white); }
.course-price-dec {
    font-size: 1.7rem;
    font-weight: 800;
    vertical-align: top;
    margin-top: 7px;
    display: inline-block;
}
.course-price-was {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 4px;
}
.course-price-was span { text-decoration: line-through; }
.course-price-sub {
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 20px;
}
.course-price-sub-featured { color: rgba(255,255,255,0.72); }

/* Buttons inside cards */
.course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 22px;
}
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-yellow {
    background: #FFD200;
    color: #1a1a1a;
    font-weight: 800;
    border: none;
    letter-spacing: 0.01em;
}
.btn-yellow:hover { background: #ffe033; color: #1a1a1a; }

/* Features list */
.course-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 18px;
    flex-grow: 1;
}
.course-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.92rem;
    color: var(--text);
}
.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 800;
}
.course-features li strong { color: var(--dark); font-weight: 700; }
.course-card-featured .course-features li { color: rgba(255,255,255,0.9); }
.course-card-featured .course-features li::before { color: #FFD200; }
.course-card-featured .course-features li strong { color: var(--white); }

/* "Toon alle voordelen" link */
.toon-voordelen {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    align-self: flex-start;
}
.toon-voordelen:hover { text-decoration: underline; }
.toon-voordelen-featured { color: rgba(255,255,255,0.75); }
.toon-voordelen-featured:hover { color: var(--white); }

/* Tab panels */
.pakket-content { display: none; }
.pakket-content-active {
    display: block;
    animation: pakket-fade 0.32s ease;
}
@keyframes pakket-fade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Accordion */
.course-features-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.course-features-extra.open { max-height: 600px; }
.course-features-extra .course-features { margin-top: 10px; margin-bottom: 0; }

/* Badge pulse animation */
@keyframes badge-pulse {
    0%,100% { box-shadow: 0 3px 12px rgba(0,0,0,0.14), 0 0 0 0 rgba(255,210,0,0.45); }
    55%      { box-shadow: 0 3px 12px rgba(0,0,0,0.14), 0 0 0 9px rgba(255,210,0,0); }
}
.course-most-chosen-badge { animation: badge-pulse 2.8s ease-in-out infinite; }

/* Trust strip below cards */
.courses-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 6px;
    margin-top: 36px;
    font-size: 0.88rem;
    color: var(--muted);
}
.courses-trust-sep { opacity: 0.4; }

/* ====== HOW IT WORKS ====== */
.how-it-works { background: var(--light); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform var(--transition);
}
.step:hover { transform: translateY(-4px); }
.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(43, 116, 251, 0.30);
}
.step h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ====== FAQ ====== */
.faq { background: var(--light); }
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    list-style: none;
    padding: 22px 28px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 1.02rem;
    transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 400;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-item p { padding: 0 28px 24px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ====== FINAL CTA ====== */
.final-cta {
    background: var(--white);
    padding: 80px 0 120px;
}
.cta-card {
    background:
        radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.15), transparent 50%),
        linear-gradient(135deg, var(--primary), var(--dark));
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-card::before,
.cta-card::after {
    content: '★';
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 200px;
    line-height: 1;
}
.cta-card::before { top: -30px; left: -20px; }
.cta-card::after { bottom: -60px; right: -20px; font-size: 240px; }
.cta-card h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.cta-card h2 .accent { color: var(--white); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.cta-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.cta-btn-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
}
.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

/* ====== COOKIE BANNER ====== */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark);
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 24px;
    font-size: 0.88rem;
    line-height: 1.5;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
    animation: slideUpIn 0.35s ease;
}
#cookieBanner p { margin: 0; }
#cookieBanner a { color: var(--primary-light); text-decoration: underline; }
#cookieBanner button {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 100px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition);
}
#cookieBanner button:hover { background: var(--primary-dark); }
#cookieBanner.cookie-hidden { animation: slideDownOut 0.35s ease forwards; }
@keyframes slideUpIn {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
@keyframes slideDownOut {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
}
@media (max-width: 600px) {
    #cookieBanner { flex-direction: column; gap: 12px; text-align: center; }
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, 0.65); margin: 0; max-width: 280px; }
.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.88rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.5); }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: rgba(255, 255, 255, 0.5); font-size: 0.88rem; }
.legal-links a:hover { color: var(--white); }

/* ====== ARTICLE / CHECKOUT PAGES ====== */
.article-hero {
    background: linear-gradient(180deg, var(--primary-tint) 0%, var(--white) 100%);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}
.article-hero .container { max-width: 820px; }
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    margin-bottom: 24px;
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--muted); opacity: 0.5; }
.breadcrumb .current { color: var(--dark); font-weight: 500; }
.article-lead { font-size: 1.18rem; line-height: 1.6; color: var(--text); }
.article-layout { padding: 56px 0 80px; background: var(--white); }
.article-layout .container { max-width: 820px; }

/* Article body typography — restores prose styles stripped by global reset */
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 40px 0 14px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p { color: var(--text); margin-bottom: 1rem; line-height: 1.75; }
.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin: 0 0 1.2rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; line-height: 1.65; color: var(--text); }
.article-body strong { color: var(--dark); }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-dark); }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.article-body .cta-inline {
    background: var(--primary-tint);
    border: 1px solid var(--primary-soft);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin: 32px 0;
    text-align: center;
}

/* Price card (checkout) */
.course-price-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
}
.course-price-card .price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.course-price-card .price strong {
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}
.course-price-card .price-suffix { color: var(--muted); font-size: 0.95rem; }
.course-price-card .price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.course-price-card .buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(43, 116, 251, 0.30);
    transition: transform var(--transition), background var(--transition);
    margin-bottom: 12px;
}
.course-price-card .buy-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.course-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.guarantee {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 40px;
}
.guarantee-icon {
    background: var(--primary-soft);
    color: var(--primary);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.guarantee h3 { margin: 0 0 6px; font-size: 1.15rem; }
.guarantee p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ====== BEDANKT PAGE ====== */
.bedankt-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: var(--primary-tint);
    padding: 80px 0;
}
.bedankt-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}
.bedankt-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 24px;
}
.bedankt-card h1 { font-size: 2rem; margin-bottom: 14px; }
.bedankt-card p { color: var(--muted); margin-bottom: 0; }
.bedankt-card .access-info {
    background: var(--primary-tint);
    border: 1px solid var(--primary-soft);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ====== EXAM PAGE ====== */
.exam-page {
    min-height: 100vh;
    background: var(--light);
}
.exam-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}
.exam-header-left { display: flex; align-items: center; gap: 20px; }
.exam-header-logo { height: 30px; width: auto; }
.exam-header-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}
.exam-timer-display {
    background: var(--primary-tint);
    border: 1.5px solid var(--primary-soft);
    color: var(--primary);
    padding: 7px 18px;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    min-width: 80px;
    text-align: center;
}
.exam-timer-display.urgent {
    background: #fff1f1;
    border-color: #fca5a5;
    color: #dc2626;
}
.exam-progress-bar {
    height: 4px;
    background: var(--border);
    position: sticky;
    top: 64px;
    z-index: 49;
}
.exam-progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
}
.exam-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.exam-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.exam-q-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.exam-question-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.exam-q-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 22px;
    background: var(--light);
}
.exam-q-text {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 24px;
}
.exam-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.exam-option {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.97rem;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}
.exam-option:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-tint);
    transform: translateX(4px);
}
.exam-option .opt-letter {
    background: var(--light);
    color: var(--muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition: background var(--transition), color var(--transition);
}
.exam-option.selected {
    border-color: var(--primary);
    background: var(--primary-tint);
}
.exam-option.selected .opt-letter {
    background: var(--primary);
    color: var(--white);
}
.exam-option.correct {
    border-color: #16a34a;
    background: #f0fdf4;
}
.exam-option.correct .opt-letter { background: #16a34a; color: var(--white); }
.exam-option.incorrect {
    border-color: #dc2626;
    background: #fef2f2;
}
.exam-option.incorrect .opt-letter { background: #dc2626; color: var(--white); }
.exam-option:disabled { cursor: default; }

.exam-feedback {
    display: none;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}
.exam-feedback.correct-fb {
    display: block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}
.exam-feedback.incorrect-fb {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.exam-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.exam-btn-next {
    background: var(--primary);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    display: none;
}
.exam-btn-next.visible { display: block; }
.exam-btn-next:hover { background: var(--primary-dark); transform: translateY(-2px); }
.exam-btn-finish {
    background: var(--dark);
    color: var(--white);
    padding: 13px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
    display: none;
}
.exam-btn-finish.visible { display: block; }

/* Button group inside nav row */
.exam-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

/* Navigation dot grid */
.exam-dot-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.exam-dot-nav h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 14px;
}
.dot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dot-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dot-btn.current { border-color: var(--primary); background: var(--primary); color: var(--white); }
.dot-btn.answered-ok { border-color: #16a34a; background: #dcfce7; color: #15803d; }
.dot-btn.answered-wrong { border-color: #dc2626; background: #fee2e2; color: #b91c1c; }

/* Result screen */
.exam-result-screen {
    display: none;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    text-align: center;
    animation: fadeSlideIn 0.4s ease;
}
.exam-result-screen.show { display: block; }
.result-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}
.result-score-circle .score-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.result-score-circle .score-total {
    font-size: 0.82rem;
    color: var(--muted);
}
.result-pass { border-color: #16a34a; background: #dcfce7; }
.result-pass .score-num { color: #15803d; }
.result-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 28px 0;
}
.result-stat {
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px 12px;
}
.result-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.result-stat span { font-size: 0.82rem; color: var(--muted); }
.exam-access-check {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-tint);
}
.access-check-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

/* ====== RESPONSIVE ====== */

/* ── iPad landscape / small desktop (≤1024px) ── */
@media (max-width: 1024px) {
    .hero-inner { gap: 48px; }
    .exam-mockup { width: 300px; padding: 22px; }
    .stat-1 { left: -4%; }
    .stat-2 { right: -4%; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 28px; }
}

/* ── Tablet (≤980px) — hamburger nav, hero stacks ── */
@media (max-width: 980px) {
    section { padding: 72px 0; }

    /* Header */
    .main-nav, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .nav-cta-compact { display: flex; }

    /* Hero */
    .hero { padding: 60px 0 80px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { min-height: 360px; }
    .stat-1 { left: 2%; }
    .stat-2 { right: 2%; }

    /* Content grids */
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .course-grid { grid-template-columns: 1fr; max-width: 480px; }
    .course-grid-3 { grid-template-columns: 1fr; max-width: 480px; align-items: start; }
    .course-featured-wrap { padding-top: 26px; }
    .course-grid-3 > article.course-card:last-child  { order: 1; }
    .course-grid-3 > .course-featured-wrap           { order: 2; }
    .course-grid-3 > article.course-card:first-child { order: 3; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }

    /* CTA section */
    .cta-card { padding: 56px 32px; }
    .final-cta { padding: 64px 0 88px; }

    /* Guarantee block */
    .guarantee { flex-direction: column; text-align: center; }
    .guarantee-icon { margin: 0 auto; }

    /* Exam */
    .exam-body { padding: 24px 16px 60px; }
    .exam-nav-row { flex-direction: column; align-items: stretch; gap: 16px; }
    .exam-btn-group { flex-direction: row; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
    .exam-btn-next.visible,
    .exam-btn-finish.visible { flex: 1; min-width: 140px; text-align: center; }
    .result-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ── iPad portrait (≤768px) ── */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section-head { margin-bottom: 40px; }

    /* Hide hero visual — text+CTA is enough on smaller screen */
    .hero-visual { display: none; }

    /* Hero centers without right column */
    .hero-inner { gap: 0; }

    /* Collapse problem grid to single column */
    .problem-grid { grid-template-columns: 1fr; }

    /* Article pages */
    .article-hero { padding: 40px 0 28px; }
    .article-layout { padding: 36px 0 48px; }
    .guarantee { padding: 24px 20px; }

    /* ── Logische volgorde op mobiel / tablet / iPad ──
       Homepage: hero → gratis exam → cursussen → reviews → faq
       Cursuspagina's: problemen vóór pricing.               */
    main { display: flex; flex-direction: column; }
    main > * { width: 100%; min-width: 0; }
    .hero               { order: 1; }
    /* Homepage: expliciete volgorde */
    .trust-strip          { order: 2; }
    .featured-courses     { order: 3; }
    .browse-categories    { order: 4; }
    .home-exam-section    { order: 5; }
    .category-section     { order: 6; }
    .testimonials-section { order: 7; }
    /* Homepage: verberg zware tussenblokken op mobile */
    .features-section   { display: none; }
    .inline-cta-strip   { display: none; }
    .stats-strip        { display: none; }
    .home-how-it-works  { display: none; }
    /* Hero course grid: cursussen staan al in sectie eronder */
    .hero-course-grid   { display: none !important; }
    /* Cursuspagina's — pricing vóór problems */
    .courses            { order: 2; }
    .problems           { order: 3; }
    /* Gedeelde secties */
    .how-it-works       { order: 8; }
    .faq                { order: 9; }
    .video-section      { order: 10; }
    .final-cta          { order: 11; }
    .seo-links          { order: 12; }
    /* Compactere padding homepage-secties op mobile */
    .home-exam-section  { padding: 32px 0 40px; }
    .category-section   { padding: 48px 0 36px; }
    .testimonials-section { padding: 40px 0 36px; }

    /* Video section responsive for tablet / iPad */
    .video-section { padding: 56px 0; }
    .video-featured { max-width: 100%; }
    .vc-card { flex: 0 0 300px; }
}

/* ── Mobile phones (≤560px) ── */
@media (max-width: 560px) {
    .container { padding: 0 16px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    .section-sub { font-size: 1rem; }

    /* Hero */
    .hero { padding: 40px 0 52px; }
    .hero .lead { font-size: 1.05rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .hero-trust { flex-direction: column; align-items: center; gap: 10px; }

    /* Cards */
    .problem-card { padding: 28px 20px; }
    .course-card { padding: 0 20px 24px; }
    .course-card-accent { margin: 0 -20px 20px; }
    .step { padding: 24px 20px; }

    /* Pricing tabs — scrollable on small screens */
    .pakket-tabs { overflow-x: auto; white-space: nowrap; justify-content: flex-start; width: auto; max-width: 100%; padding: 5px 8px; }
    .pakket-tab { padding: 8px 18px; font-size: 0.88rem; }

    /* Trust strip — stack on phone */
    .courses-trust { flex-direction: column; gap: 6px; text-align: center; }
    .courses-trust-sep { display: none; }

    /* Steps — single column on phone */
    .steps-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
    .legal-links { justify-content: center; flex-wrap: wrap; gap: 16px; }

    /* CTA */
    .cta-card { padding: 40px 20px; }
    .final-cta { padding: 48px 0 64px; }
    .cta-btn-group { flex-direction: column; align-items: stretch; gap: 10px; }
    .cta-btn-group .btn { width: 100%; }

    /* FAQ */
    .faq-item summary { padding: 18px 20px; font-size: 0.95rem; }
    .faq-item p { padding: 0 20px 20px; }

    /* Exam */
    .exam-question-card { padding: 20px 16px; }
    .exam-q-text { font-size: 1rem; }
    .exam-option { padding: 12px 14px; font-size: 0.93rem; }
    .exam-btn-group { flex-direction: column; align-items: stretch; }
    .exam-btn-next, .exam-btn-finish { width: 100%; }
    .exam-btn-next.visible, .exam-btn-finish.visible { flex: none; min-width: unset; }
    .result-stats { grid-template-columns: 1fr; }
    .result-score-circle { width: 100px; height: 100px; }
    .result-score-circle .score-num { font-size: 1.7rem; }

    /* Question dots */
    .dot-grid { gap: 4px; }
    .dot-btn { width: 26px; height: 26px; font-size: 0.65rem; }

    /* Bedankt */
    .bedankt-card { padding: 36px 20px; }
    .bedankt-card h1 { font-size: 1.6rem; }

    /* Cookie */
    #cookieBanner { flex-direction: column; gap: 12px; text-align: center; }

    /* Checkout */
    .course-price-card { padding: 24px 20px; }
    .course-price-card .price strong { font-size: 2.6rem; }

    /* Article pages */
    .article-hero { padding: 32px 0 20px; }
    .article-layout { padding: 28px 0 40px; }
    .article-body h2 { margin: 28px 0 10px; }
    .article-body h3 { margin: 20px 0 8px; }
}

/* ── Small phones (≤390px) ── */
@media (max-width: 390px) {
    .container { padding: 0 12px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.4rem; }

    /* Exam header — drop title text, keep timer */
    .exam-header { padding: 0 12px; }
    .exam-header-title { display: none; }
    .exam-timer-display { font-size: 0.9rem; padding: 5px 12px; min-width: 64px; }

    /* Dots even tighter */
    .dot-btn { width: 22px; height: 22px; font-size: 0.58rem; border-radius: 4px; gap: 3px; }
    .dot-grid { gap: 3px; }

    /* Cards */
    .bedankt-card { padding: 28px 16px; }
    .access-check-card { padding: 36px 20px; }
    .faq-item summary { padding: 16px; font-size: 0.9rem; }
    .problem-card { padding: 24px 16px; }
    .step { padding: 20px 16px; }
}

/* ── Safe-area insets (notch / home indicator) ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .site-footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .exam-header { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
    .mobile-nav { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .floating-stat, .road-icon { animation: none; }
}

/* ============================================================
   SEO interne-link sectie (Populair gezocht)
   ============================================================ */
.seo-links {
    background: var(--white);
    padding: 80px 0 60px;
    border-top: 1px solid var(--border);
}
.seo-links .section-head { margin-bottom: 50px; }
.seo-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}
.seo-links-col h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-tint);
    letter-spacing: -0.01em;
}
.seo-links-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.seo-links-col li { margin: 0; }
.seo-links-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.2s ease;
    display: inline-block;
}
.seo-links-col a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .seo-links-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 560px) {
    .seo-links { padding: 56px 0 40px; }
    .seo-links-grid { grid-template-columns: 1fr; gap: 28px; }
    .seo-links .section-head { margin-bottom: 36px; }
}
