/* VLEUGEL website. Kleuren, typografie en vormen volgen design/huisstijl.md.
   Ontwerpidee: de pagina is zelf een leerroute. Een stippellijn loopt langs alle
   secties; elke sectie is een halte (zeshoek) die kleurt terwijl je scrolt. */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --vleugelblauw: #2563EB;
    --hemelblauw: #3B82F6;
    --diepblauw: #1D4ED8;
    --nachtblauw: #0B1A4A;
    --ijsblauw: #93C5FD;
    --lichtblauw: #DBEAFE;
    --wit: #FFFFFF;
    --wolkwit: #F5F7FB;
    --lijngrijs: #E4E7EE;
    --leisteen: #6B7280;
    --inkt: #111827;
    --tekst: #374151;
    --zonnegeel: #F59E0B;
    --groeigroen: #16A34A;
    --groeigroen-tekst: #15803D;

    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --breedte: 1180px;
    --goot: 24px;
    --spoor: 96px;          /* ruimte links voor de route */
    --halte: 34px;          /* breedte van een halte-zeshoek */
    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);

    /* iconen voor de haltes */
    --ico-vink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --ico-vleugel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 12 44 40'%3E%3Cpath fill='%230B1A4A' d='M12.56 46.58C19.04 32.54 32 20.66 51.44 14.18Q47.12 22.82 39.56 27.14L48.2 29.84Q42.8 35.24 35.24 35.24L42.8 39.56Q36.32 44.42 29.3 42.26L33.08 48.74Q23.36 51.44 12.56 46.58Z'/%3E%3C/svg%3E");
    --ico-punt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.5' fill='%232563EB'/%3E%3C/svg%3E");
    --ico-vlag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M7 21V4l11 4-11 4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.6;
    color: var(--tekst);
    background: var(--wit);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv11", "ss01", "ss03";
}
img, svg { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: var(--vleugelblauw); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--diepblauw); }
:focus-visible { outline: 3px solid var(--zonnegeel); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 { color: var(--nachtblauw); margin: 0; font-weight: 750; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 780; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.02rem; line-height: 1.3; font-weight: 680; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--wit); color: var(--nachtblauw); padding: 8px 16px; }
.skip:focus { left: 8px; }

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

/* ---------- Knoppen ---------- */
.knop {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .85rem 1.4rem; border-radius: 8px;
    font: 650 1rem/1.2 var(--font); text-decoration: none;
    background: var(--vleugelblauw); color: var(--wit);
}
.knop:hover { background: var(--diepblauw); color: var(--wit); }
.knop.licht { background: var(--wit); color: var(--nachtblauw); }
.knop.licht:hover { background: var(--lichtblauw); color: var(--nachtblauw); }
.tekstlink { font-weight: 650; color: var(--nachtblauw); text-decoration: underline; text-decoration-color: var(--ijsblauw); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tekstlink:hover { color: var(--vleugelblauw); text-decoration-color: currentColor; }

/* ---------- Kopbalk ---------- */
.kop { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kop.gescrold { border-bottom-color: var(--lijngrijs); }
.kop .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.kop .logo img { height: 32px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--nachtblauw); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 6px; }
.menu a:hover { background: var(--wolkwit); }
.menu .knop { color: var(--wit); margin-left: 10px; padding: .6rem 1.05rem; }
.menu .knop:hover { background: var(--diepblauw); }
.menu-knop { display: none; }

@media (max-width: 900px) {
    .menu-knop { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--nachtblauw); cursor: pointer; }
    .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--wit); padding: 8px var(--goot) 20px; border-bottom: 1px solid var(--lijngrijs); }
    .menu.open { display: flex; }
    .menu a { padding: 12px 8px; }
    .menu .knop { margin: 8px 0 0; }
}

/* ---------- Opening ---------- */
.opening { padding: 56px 0 24px; }
.opening .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.opening h1 { max-width: 12ch; }
.opening .intro { font-size: 1.25rem; line-height: 1.55; max-width: 34em; margin: 28px 0 36px; color: var(--tekst); }
.acties { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.kaartje { margin: 0; }
.kaartje img { width: 100%; height: auto; }
.kaartje figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--leisteen); padding-left: 12%; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip::before { content: ""; width: 11px; height: 13px; clip-path: var(--hex); background: var(--c, var(--ijsblauw)); }
@media (max-width: 900px) {
    .opening { padding: 32px 0 8px; }
    .opening .container { grid-template-columns: 1fr; gap: 8px; }
    .kaartje { max-width: 440px; }
    .kaartje figcaption { padding-left: 0; }
}

/* ---------- De route langs alle secties ---------- */
.etappe { position: relative; padding: 104px 0; --spoorkleur: rgb(11 26 74 / .22); }
.etappe::before { /* stippellijn */
    content: ""; position: absolute; top: 0; bottom: 0;
    left: calc(max(0px, (100% - var(--breedte)) / 2) + var(--goot) + var(--halte) / 2 - 1px);
    border-left: 2px dashed var(--spoorkleur);
    transition: border-color .4s;
}
.etappe.eerste::before { top: 112px; }
.etappe[data-staat="klaar"] { --spoorkleur: rgb(22 163 74 / .55); }
.etappe > .container { padding-left: calc(var(--goot) + var(--spoor)); position: relative; }

.halte-kop { position: relative; }
.halte {
    position: absolute; top: .08em; left: calc(-1 * var(--spoor));
    width: var(--halte); height: calc(var(--halte) * 1.13);
    clip-path: var(--hex); background: var(--ijsblauw);
    transition: background-color .3s;
}
.halte::after {
    content: ""; position: absolute; inset: 2.5px; clip-path: var(--hex);
    background: var(--wit) var(--ico-punt) center / 22px no-repeat;
    transition: background-color .3s;
}
[data-staat="klaar"] .halte, [data-staat="klaar"] .halte::after { background-color: var(--groeigroen); }
[data-staat="klaar"] .halte::after { background-image: var(--ico-vink); background-size: 18px; }
[data-staat="hier"] .halte, [data-staat="hier"] .halte::after { background-color: var(--zonnegeel); }
[data-staat="hier"] .halte::after { background-image: var(--ico-vleugel); background-size: 19px; }
.etappe.doel .halte, .etappe.doel .halte::after { background-color: var(--vleugelblauw); }
.etappe.doel .halte::after { background-image: var(--ico-vlag); background-size: 18px; }
@media (prefers-reduced-motion: reduce) { .halte, .halte::after, .etappe::before { transition: none; } }

@media (max-width: 700px) {
    :root { --spoor: 48px; --halte: 26px; }
    .etappe { padding: 72px 0; }
    .etappe.eerste::before { top: 80px; }
    .halte::after { background-size: 16px; }
    [data-staat="klaar"] .halte::after, [data-staat="hier"] .halte::after, .etappe.doel .halte::after { background-size: 14px; }
}

.wolk { background: var(--wolkwit); }
.kopblok { max-width: 760px; margin-bottom: 56px; }
.kopblok p { font-size: 1.15rem; margin: 20px 0 0; max-width: 40em; }

/* Voor wie */
.voorwie { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.feit { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.35; font-weight: 600; color: var(--nachtblauw); letter-spacing: -.015em; margin: 0 0 12px; max-width: 24ch; }
.feit strong { font-weight: 800; color: var(--vleugelblauw); }
.bron { font-size: .82rem; color: var(--leisteen); }
.hexlijst { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.hexlijst li { position: relative; padding-left: 30px; }
.hexlijst li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 15px; clip-path: var(--hex); background: var(--vleugelblauw); }
.hexlijst strong { color: var(--nachtblauw); }
@media (max-width: 900px) { .voorwie { grid-template-columns: 1fr; gap: 40px; } }

/* Wat het oplevert: drie behoeften */
.behoeften { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.behoefte .groot {
    width: 64px; height: 72px; clip-path: var(--hex); display: grid; place-items: center;
    background: var(--c); color: var(--ic, var(--wit)); margin-bottom: 24px;
}
.behoefte .groot svg { width: 28px; height: 28px; }
.behoefte h3 { font-size: 1.5rem; margin-bottom: 6px; }
.behoefte .kern { font-weight: 600; color: var(--nachtblauw); margin-bottom: 14px; }
.behoefte ul { margin: 0; padding: 0; list-style: none; }
.behoefte li { padding: 10px 0; border-top: 1px solid var(--lijngrijs); font-size: 1rem; }
.verder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; padding-top: 40px; border-top: 2px solid var(--nachtblauw); }
.verder h3 { margin-bottom: 10px; }
.verder p { font-size: 1rem; margin: 0; }
@media (max-width: 960px) { .behoeften, .verder { grid-template-columns: 1fr; gap: 40px; } .verder { margin-top: 56px; } }

/* Functies, gegroepeerd */
.statusrij { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.groepen { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 56px; }
.groep > h3 { font-size: .95rem; color: var(--leisteen); font-weight: 600; letter-spacing: 0; padding-bottom: 14px; border-bottom: 1px solid var(--lijngrijs); margin-bottom: 8px; }
.functie { display: grid; grid-template-columns: 38px 1fr; gap: 2px 16px; padding: 18px 0; }
.functie .klein { grid-row: span 2; width: 38px; height: 43px; clip-path: var(--hex); display: grid; place-items: center; background: var(--lichtblauw); color: var(--diepblauw); }
.functie .klein svg { width: 19px; height: 19px; }
.functie p { margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .groepen { grid-template-columns: 1fr; gap: 32px; } }

/* Docenten */
.docent { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; }
.docent .kopblok { margin-bottom: 0; }
.vinklijst { list-style: none; padding: 0; margin: 0; }
.vinklijst li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--lijngrijs); }
.vinklijst li:first-child { border-top: 0; padding-top: 0; }
.vinklijst svg { width: 22px; height: 22px; color: var(--groeigroen-tekst); margin-top: 3px; }
.vinklijst h4 { margin-bottom: 4px; }
.vinklijst p { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .docent { grid-template-columns: 1fr; gap: 40px; } }

/* Stappen: echte volgorde, verbonden zeshoeken */
.stappen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: stap; }
.stappen li { counter-increment: stap; position: relative; }
.stappen li::before {
    content: counter(stap); display: grid; place-items: center; position: relative; z-index: 1;
    width: 54px; height: 61px; margin-bottom: 22px; clip-path: var(--hex);
    background: var(--nachtblauw); color: var(--wit); font-weight: 750; font-size: 1.3rem;
}
.stappen li:last-child::before { background: var(--groeigroen); }
.stappen li:not(:last-child)::after {
    content: ""; position: absolute; top: 30px; left: 66px; right: -20px;
    border-top: 2px dashed rgb(11 26 74 / .25);
}
.stappen h3 { margin-bottom: 8px; font-size: 1.12rem; }
.stappen p { margin: 0; font-size: 1rem; }
@media (max-width: 960px) {
    .stappen { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .stappen li::after { display: none; }
}
@media (max-width: 560px) { .stappen { grid-template-columns: 1fr; } }

/* AI en privacy */
.twee { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.twee h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.twee h3 .klein { width: 34px; height: 38px; clip-path: var(--hex); display: grid; place-items: center; background: var(--nachtblauw); color: var(--wit); flex: 0 0 auto; }
.twee h3 .klein svg { width: 17px; height: 17px; }
.twee .hexlijst { gap: 14px; }
.twee .hexlijst li { font-size: 1rem; }
@media (max-width: 900px) { .twee { grid-template-columns: 1fr; gap: 48px; } }

/* De naam */
.naam { background: var(--vleugelblauw); color: #E6EEFF; --spoorkleur: rgb(255 255 255 / .4); }
.naam[data-staat="klaar"] { --spoorkleur: rgb(255 255 255 / .75); }
.naam h2 { color: var(--wit); }
.naam .halte { background: var(--wit); }
.naam .inhoud { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.naam p { max-width: 34em; margin-top: 24px; }
.acroniem { list-style: none; padding: 0; margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.32; letter-spacing: -.01em; color: var(--lichtblauw); }
.acroniem b { color: var(--wit); font-weight: 800; }
@media (max-width: 900px) { .naam .inhoud { grid-template-columns: 1fr; gap: 32px; } }

/* Kennismaken (doel van de route) */
.slot { background: var(--nachtblauw); color: #CBD8F5; --spoorkleur: rgb(255 255 255 / .3); }
.slot.etappe::before { bottom: auto; height: 112px; }
.slot h2 { color: var(--wit); max-width: 16ch; }
.slot p { max-width: 34em; margin: 24px 0 36px; font-size: 1.15rem; }

/* Voettekst */
.voet { background: var(--nachtblauw); color: #9AA9CF; font-size: .92rem; border-top: 1px solid rgb(255 255 255 / .1); }
.voet .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; padding-top: 32px; padding-bottom: 32px; }
.voet img { height: 26px; width: auto; }
.voet p { margin: 0; }
.voet a { color: #CBD8F5; }
