/* Lettertypen staan op de eigen server: geen externe verzoeken. */
@font-face{font-family:"Josefin Sans";font-style:normal;font-weight:300;font-display:swap;src:url(fonts/josefin-sans-300.woff2) format("woff2")}
@font-face{font-family:"Josefin Sans";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/josefin-sans-400.woff2) format("woff2")}
@font-face{font-family:"Josefin Sans";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/josefin-sans-600.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/source-sans-3-400.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/source-sans-3-600.woff2) format("woff2")}
:root {
  --surface: #f4f6f9; --surface-raised: #ffffff; --line: #d8dee7;
  --ink: #15213a; --ink-muted: #56647c;
  --deep: #111a30; --night: #1b2a47; --navy: #2c4468; --dusk: #5b7193;
  --gold: #f2b33d; --gold-hover: #f6c463; --gold-ink: #8a5f0a; --starlight: #ffd98a;
  --on-navy: #ffffff; --on-navy-muted: #c3cde0; --on-gold: #15213a; --focus: #2c4468;
  --goed: #1f7a4d; --fout: #a8432b;
  --display: "Josefin Sans", "Century Gothic", "Avenir Next", sans-serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 14px; --rand: clamp(18px, 5vw, 56px); --breed: 74rem;
  --veer: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --surface: #0e1628; --surface-raised: #18253f; --line: #2e4061; --ink: #eef2f7; --ink-muted: #a9b5c7; --gold-ink: #ffd98a; --focus: #ffd98a; --goed: #7fd6a8; --fout: #f0a08c; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.donker :focus-visible { outline-color: var(--starlight); }
.binnen { max-width: var(--breed); margin: 0 auto; padding-inline: var(--rand); }
.sectie { padding-block: clamp(64px, 9vw, 120px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--display); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.kicker svg { width: 12px; height: 12px; fill: var(--gold); flex: none; }
.donker .kicker { color: var(--gold); }
.kop2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.14; max-width: 20ch; }
.intro { margin-top: 18px; max-width: 38em; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-muted); }
.donker .intro { color: var(--on-navy-muted); }
.klein { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.donker .klein { color: var(--on-navy-muted); }

.knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px 12px 20px; border: 0; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 20px; text-decoration: none; cursor: pointer; transition: background-color .2s ease, transform .2s var(--veer), box-shadow .2s ease; }
.knop svg { width: 15px; height: 15px; fill: currentColor; flex: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1.3); }
.knop:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 8px 28px -8px rgba(242, 179, 61, .7); }
.knop:hover svg { transform: rotate(90deg) scale(1.15); }
.knop-rand { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(255,255,255,.38); padding-inline: 22px; }
.knop-rand:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.knop-klein { min-height: 40px; padding: 8px 18px 8px 15px; font-size: 15px; }
.knop-licht { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.knop-licht:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-muted); }

.voortgang { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--scroll, 0)); pointer-events: none; }
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-navy); transition: background-color .3s ease, box-shadow .3s ease; }
.nav.vast { background: rgba(21, 32, 58, .82); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-binnen { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.logo svg { width: 36px; height: 36px; flex: none; }
.logo-naam { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 20px; letter-spacing: .08em; text-transform: uppercase; }
.logo-sub { display: block; font-family: var(--display); font-weight: 600; font-size: 9.5px; line-height: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; font-size: 15px; font-weight: 600; text-decoration: none; opacity: .86; transition: opacity .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--starlight); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--veer); }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }

/* ---------- Kop ---------- */
.hemel { position: relative; isolation: isolate; overflow: hidden; color: var(--on-navy); background: linear-gradient(to top, var(--deep) 0%, var(--night) 40%, #3a4f77 82%, var(--dusk) 100%); }
.hemel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background-image: radial-gradient(1px 1px at 12% 28%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 40%, var(--starlight) 50%, transparent 51%), radial-gradient(1px 1px at 91% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 6% 78%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 63% 86%, var(--starlight) 50%, transparent 51%), radial-gradient(1px 1px at 30% 92%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 57% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 56%, #fff 50%, transparent 51%); }
.hemel-binnen { padding-top: clamp(120px, 18vh, 170px); padding-bottom: clamp(48px, 7vh, 80px); }
.hemel h1 { font-weight: 300; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.06; max-width: 16ch; }
.hemel h1 b { display: block; font-weight: 600; color: var(--starlight); }
.hemel-sub { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #e4e9f3; }
.hemel-acties { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

.js [data-onthul] { opacity: 0; transform: translateY(20px); }
.js [data-onthul].zichtbaar { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s var(--veer); transition-delay: calc(var(--i, 0) * 100ms); }

/* ---------- 3D-simulatie ---------- */
.nacht { position: relative; isolation: isolate; overflow: hidden; color: var(--on-navy); background: linear-gradient(to bottom, var(--deep), #0c1325 55%, var(--deep)); }
.sim { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.toneel { position: relative; min-height: clamp(380px, 44vw, 580px); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: radial-gradient(ellipse at 50% 62%, #233558 0%, #131d36 55%, #0b1122 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.toneel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.toneel canvas:active { cursor: grabbing; }
.etiketten { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.etiket { position: absolute; left: 0; top: 0; padding: 3px 9px; border: 0; border-radius: 999px; background: rgba(13, 21, 38, .62); color: #dfe6f2; font-family: var(--display); font-weight: 600; font-size: 10.5px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; pointer-events: auto; cursor: pointer; transform: translate(-50%, -50%); will-change: transform; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.etiket.in { color: var(--starlight); }
.etiket.actief { background: var(--gold); color: var(--on-gold); }
.etiket.kern { background: none; color: var(--gold); font-size: 13px; letter-spacing: .3em; pointer-events: none; }
.toneel-tip { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--on-navy-muted); pointer-events: none; }
.toneel-legenda { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 16px; font-size: 13px; color: var(--on-navy-muted); pointer-events: none; }
.toneel-legenda i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--gold); }
.toneel-legenda span + span i { background: #cfd9ea; }
.geen-3d .toneel-tip, .geen-3d canvas { display: none; }
.toneel-terugval { display: none; position: absolute; inset: 0; place-items: center; padding: 24px; text-align: center; color: var(--on-navy-muted); }
.geen-3d .toneel-terugval { display: grid; }

.paneel { display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 32px); border-radius: calc(var(--radius) + 6px); background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.stap-kop { margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-navy-muted); }
.taken { display: flex; flex-wrap: wrap; gap: 8px; }
.taak { min-height: 38px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent; font-weight: 600; font-size: 14.5px; line-height: 1.3; text-align: left; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.taak::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #cfd9ea; transition: background-color .3s ease; }
.taak.in::before { background: var(--gold); box-shadow: 0 0 8px rgba(255,217,138,.8); }
.taak:hover { border-color: rgba(255,255,255,.55); }
.taak[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
@media (prefers-color-scheme: dark) { .taak[aria-pressed="true"] { color: #15213a; } }
.duiding { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); min-height: 12.5em; }
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; background: rgba(207,217,234,.16); color: #dfe6f2; }
.status.in { background: var(--gold); color: var(--on-gold); }
.duiding h3 { margin: 12px 0 8px; font-weight: 600; font-size: 23px; line-height: 1.2; }
.duiding p { color: #e4e9f3; font-size: 16.5px; }
.duiding p.verschoven { margin-top: 10px; color: var(--starlight); font-size: 15px; }
.tijd { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.tijd label { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; color: #e4e9f3; }
.tijd output { font-weight: 600; color: var(--starlight); white-space: nowrap; }
.tijd-eind { display: flex; justify-content: space-between; margin-top: 2px; font-size: 13px; color: var(--on-navy-muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --vul: 50%; --spoor: rgba(255,255,255,.22); --knoprand: var(--night); }
.licht input[type="range"] { --spoor: var(--line); --knoprand: var(--surface-raised); }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--gold) var(--vul), var(--spoor) var(--vul)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--spoor); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--gold); border: 3px solid var(--knoprand); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--knoprand); box-shadow: 0 0 0 1px var(--gold); }
.sim-voet { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.sim-voet p { max-width: 36em; color: var(--on-navy-muted); font-size: 16px; }
.sim-voet p b { color: #fff; font-weight: 600; }

/* ---------- Lessen ---------- */
.les { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.les:first-of-type { margin-top: 48px; }
.les-kop { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.les-nr { font-family: var(--display); font-weight: 300; font-size: 44px; line-height: 1; color: var(--gold-ink); }
.les h3 { font-weight: 600; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.2; }
.les-meta { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.film { position: relative; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: #5b7193; box-shadow: 0 30px 60px -40px rgba(21,33,58,.6); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.les-tekst { margin-top: 18px; color: var(--ink-muted); max-width: 38em; }
.opdracht { padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface-raised); }
.opdracht-label { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.opdracht h4 { margin: 8px 0 16px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; }
.vraag { padding: 14px 0; border-top: 1px solid var(--line); }
.vraag p { font-size: 16px; }
.keuzes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.keuze { min-height: 34px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.keuze:hover:not(:disabled) { border-color: var(--ink-muted); }
.keuze:disabled { cursor: default; opacity: .55; }
.keuze.goed { opacity: 1; border-color: var(--goed); color: var(--goed); background: color-mix(in srgb, var(--goed) 10%, transparent); }
.keuze.fout { opacity: 1; border-color: var(--fout); color: var(--fout); text-decoration: line-through; }
.uitslag { margin-top: 14px; min-height: 1.6em; font-weight: 600; }
.schat { padding: 14px 0; border-top: 1px solid var(--line); }
.schat label { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.schat output { font-weight: 600; color: var(--gold-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.onthulling { display: none; margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--surface); font-size: 15.5px; }
.onthulling.toon { display: block; animation: schuifin .4s ease both; }
.onthulling b { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--gold-ink); margin-right: 6px; }
.onthulling small { display: block; margin-top: 4px; color: var(--ink-muted); font-size: 13px; }
@keyframes schuifin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.venn { display: block; width: 100%; max-width: 250px; margin: 6px auto 4px; }
.venn circle { fill: var(--gold); fill-opacity: .55; stroke: var(--gold-ink); stroke-width: 1; transition: r .35s var(--veer); }
.venn text { font-family: var(--display); font-weight: 600; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink); text-anchor: middle; }
.advies { margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: 16px; min-height: 4.8em; }
.opdracht .knop { margin-top: 16px; }

/* ---------- Slot ---------- */
.ochtend { position: relative; isolation: isolate; overflow: hidden; color: var(--on-navy); background: linear-gradient(to bottom, var(--deep) 0%, var(--night) 42%, #40527a 78%, #8d7f86 94%, #e0a860 100%); }
.ochtend::after { content: ""; position: absolute; left: 50%; bottom: -340px; z-index: -1; width: 1100px; height: 620px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,217,138,.6), rgba(242,179,61,.18) 55%, transparent); }
.slot { text-align: center; padding-block: clamp(80px, 11vw, 140px) clamp(110px, 15vw, 180px); }
.slot h2 { margin-inline: auto; font-weight: 300; font-size: clamp(32px, 4.8vw, 60px); line-height: 1.1; max-width: 18ch; }
.slot h2 b { font-weight: 600; color: var(--starlight); }
.slot p { margin: 22px auto 0; max-width: 33em; font-size: 19px; color: #e4e9f3; }
.slot-acties { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.no-js .mail-js { display: none; }
.voet { background: var(--surface); }
.voet-binnen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-block: 26px; font-size: 14px; color: var(--ink-muted); }
.voet svg { width: 24px; height: 24px; flex: none; }
.voet-merk { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.voet a { text-decoration-color: var(--line); text-underline-offset: 4px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .sim, .les { grid-template-columns: 1fr; }
  .toneel { min-height: clamp(340px, 86vw, 520px); }
  .duiding { min-height: 0; }
  .toneel-legenda { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .logo-sub { display: none; }
  .etiket { font-size: 9.5px; letter-spacing: .1em; padding: 2px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-onthul] { opacity: 1 !important; transform: none !important; }
}

/* Hulpklassen in plaats van style-attributen, zodat de CSP geen inline stijlen hoeft toe te staan. */
.sprite{position:absolute}
.kaal{padding:0!important;margin-bottom:0!important}
.geen-top{padding-top:0!important}
.ruim-boven{margin-top:clamp(64px,9vw,110px)!important}
.geen-marge{margin:0!important}
.n-0{--n:0}.n-1{--n:1}.n-2{--n:2}.n-3{--n:3}.n-4{--n:4}.n-5{--n:5}.i-0{--i:0}.i-1{--i:1}.i-2{--i:2}.i-3{--i:3}.i-4{--i:4}.i-5{--i:5}
