/* Het leerplatform, in de stijl van de homepage van outdeliver.ai: alleen Inter,
   een zacht verloop als achtergrond, witte kaarten en Delfts blauw als enige
   accent. Op een desktop gemaakt, op een telefoon bruikbaar. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: block; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-aanvulling.woff2") format("woff2"); font-weight: 400 600; font-display: block; unicode-range: U+2011, U+2192; }

:root {
  --ink: #16161a;
  --ink-soft: #55555f;
  --ink-faint: #6b6b75;
  --paper: #ffffff;
  --paper-warm: #f6f5f3;
  --line: #e4e2de;
  --accent: #24478f;
  --accent-hover: #1b3770;
  --accent-soft: #e9eef7;
  --accent-op-donker: #a9bfea;
  --kaart-rand: rgba(22, 22, 26, 0.1);
  --kaart-schaduw: 0 30px 60px -40px rgba(22, 22, 26, 0.5);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --g: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
button { font-family: inherit; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { flex: 1; background: linear-gradient(180deg, #e8ecf3 0, #f2f4f8 240px, #fff 640px); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(32px, 3.6vw, 46px); }
h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.02em; }
.nadruk { display: block; color: var(--accent); }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.zacht { color: var(--ink-soft); }
.wrap { width: min(100% - 2 * var(--g), 1240px); margin-inline: auto; }

.kaart { border: 1px solid var(--kaart-rand); border-radius: 20px; background: var(--paper); box-shadow: var(--kaart-schaduw); }

/* Knoppen, gelijk aan de homepage */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 1px solid rgba(36, 71, 143, 0.65); border-radius: 999px; background: var(--accent); box-shadow: 0 8px 24px -14px rgba(36, 71, 143, 0.7); color: #fff; font: 550 15.5px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.knop:hover { background: var(--accent-hover); border-color: var(--accent); }
.knop-rand { background: none; border-color: rgba(22, 22, 26, 0.2); box-shadow: none; color: var(--ink); }
.knop-rand:hover { background: none; border-color: var(--accent); }
.knop svg { width: 18px; height: 18px; flex: none; }
.knop[disabled] { opacity: 0.55; cursor: default; }

/* Kop */
.kop { background: var(--paper); border-bottom: 1px solid var(--line); }
.kop-binnen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.kop-logo { display: block; padding: 10px 0; }
.kop-logo img { width: auto; height: 24px; }
.kop-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.kop-nav a { display: inline-block; padding: 12px 0; text-decoration: none; color: var(--ink-soft); }
.kop-nav a:hover { color: var(--accent); }
.kop-nav a.kop-knop { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(22, 22, 26, 0.2); border-radius: 999px; color: var(--ink); font-size: 14.5px; font-weight: 550; transition: border-color 0.2s; }
.kop-nav a.kop-knop:hover { border-color: var(--accent); color: var(--ink); }
@media (max-width: 560px) {
  .kop-naam { display: none; }
  .kop-nav { gap: 14px; }
  .kop-logo img { height: 20px; }
  .kop-nav a.kop-knop { padding: 0 12px; font-size: 14px; }
}

/* De leerbalk: op elke leerpagina op dezelfde plek. Drie cursussen naast elkaar,
   elk blokje is een stap. Hetzelfde beeld als de tijdbalk op de homepage. */
.leerbalk { background: var(--paper); border-bottom: 1px solid var(--line); }
.lb { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); margin: 0; padding: 14px 0 18px; list-style: none; }
.lb-kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
.lb-naam { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-faint); }
.lb-status { font-size: 14px; color: var(--ink-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-item--nu .lb-naam, .lb-item--klaar .lb-naam { color: var(--ink); }
.lb-item--nu .lb-status, .lb-item--klaar .lb-status { color: var(--accent); font-weight: 550; }
.delen { display: flex; gap: 4px; margin-top: 8px; }
.deel { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.deel i { display: block; width: 0; height: 100%; background: var(--accent); }
@media (max-width: 720px) { .lb-status { display: none; } .lb-naam { font-size: 14px; } }

/* Laden en meldingen */
.laden { display: grid; place-items: center; min-height: 60vh; color: var(--ink-faint); font-size: 15px; }
.melding { max-width: 34em; margin: 12vh auto; padding-inline: var(--g); text-align: center; }
.melding h1 { font-size: 30px; margin-bottom: 12px; }
.melding .knop { margin-top: 24px; }

/* Inloggen */
.inlog { display: grid; place-items: center; min-height: 100vh; padding: 24px 16px; background: linear-gradient(rgba(246, 245, 243, 0.84), rgba(246, 245, 243, 0.84)), url("/assets/img/inlog.jpg") center / cover no-repeat fixed; }
.inlog-kaart { width: 100%; max-width: 460px; padding: 44px 40px 36px; border: 1px solid var(--kaart-rand); border-radius: 20px; background: var(--paper); box-shadow: var(--kaart-schaduw); text-align: center; }
.inlog-merk { display: block; width: auto; height: 30px; margin: 0 auto 26px; }
.inlog-kaart h1 { font-size: 30px; margin: 8px 0 12px; }
.inlog-uitleg { margin-bottom: 28px; color: var(--ink-soft); font-size: 16px; }
.inlog-knop { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: #fff; font: 550 15.5px/1 var(--font); text-decoration: none; transition: background 0.2s; }
.inlog-knop:hover { background: var(--accent-hover); }
@media (max-width: 480px) { .inlog-kaart { padding: 36px 22px 28px; } }

/* De welkomstpagina: tekst links, de video rechts, net als de homepage. */
.welkom { padding-block: clamp(32px, 4.4vw, 60px) 72px; }
.welkom-held { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 4.4vw, 64px); align-items: center; }
.welkom-held h1 { margin-top: 12px; font-size: clamp(36px, 4.2vw, 56px); }
.welkom-lede { margin-top: 20px; max-width: 32em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-soft); }
.welkom-actie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.welkom-duur { font-size: 15px; color: var(--ink-soft); }
.film { margin: 0; overflow: hidden; }
.film-voet { display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 15px; line-height: 1.3; }
.film-voet img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.film-voet b { display: block; font-weight: 600; }

.welkom-lijn { margin-top: clamp(44px, 5vw, 72px); }
.welkom-lijn > h2 { margin-bottom: 20px; }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.drie-kaart { padding: 22px 24px 24px; }
.drie-kaart .delen { margin: 0 0 18px; }
.drie-kaart p { margin-top: 6px; font-size: 16px; color: var(--ink-soft); line-height: 1.5; }
.drie-kaart .meta { margin-top: 12px; font-size: 14px; font-weight: 550; color: var(--accent); }
.weten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; margin-top: 36px; }
.weten h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.weten p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) {
  .welkom-held, .drie, .weten { grid-template-columns: 1fr; }
}

/* De startpagina */
.start { padding-block: clamp(24px, 3.4vw, 44px) 64px; }
.start-kop h1 { margin-top: 10px; }
.start-kaart { margin-top: 26px; overflow: hidden; }

.volgende { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(16px, 1.6vw, 22px); text-decoration: none; }
.volgende-beeld { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--accent); color: #fff; overflow: hidden; }
.volgende-voortgang { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, 0.3); }
.volgende-voortgang i { display: block; width: 0; height: 100%; background: #fff; }
.volgende-rond { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--accent); transition: transform 0.2s ease; }
.volgende-rond svg { width: 30px; height: 30px; margin-left: 4px; }
.volgende-rond.vink svg { margin-left: 0; }
.volgende:hover .volgende-rond { transform: scale(1.06); }
.volgende-duur { position: absolute; right: 14px; bottom: 12px; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.volgende-tekst { display: flex; flex-direction: column; align-items: flex-start; padding-right: clamp(0px, 2vw, 28px); }
.volgende-tekst h2 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 36px); }
.volgende-tekst p:not(.eyebrow) { margin-top: 10px; color: var(--ink-soft); }
.volgende-tekst .knop { margin-top: 18px; }
@media (max-width: 760px) {
  .volgende { grid-template-columns: 1fr; }
  .volgende-tekst .knop { width: 100%; }
}

.lijst-deel { padding: 6px clamp(16px, 1.6vw, 22px) 10px; border-top: 1px solid var(--line); }
.lijst-kop { margin: 14px 8px 6px; font-size: 18px; letter-spacing: -0.02em; }
.klaar-deel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(22px, 2.6vw, 34px); }
.klaar-deel h2 { margin-top: 8px; }
.klaar-deel p:not(.eyebrow) { margin-top: 8px; color: var(--ink-soft); }

.voetregel { margin-top: 18px; font-size: 14.5px; color: var(--ink-soft); }

.videos { list-style: none; margin: 0; padding: 0; }
.videos li + li { border-top: 1px solid var(--line); }
.video-rij { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 8px; border-radius: 8px; text-decoration: none; }
a.video-rij:hover { background: var(--accent-soft); }
.video-rij[aria-current="true"] { background: var(--accent-soft); font-weight: 550; }
.video-icoon { display: grid; place-items: center; width: 24px; height: 24px; flex: none; color: var(--ink-faint); }
.video-icoon svg { width: 18px; height: 18px; }
.video-rij--klaar .video-icoon, .video-rij--open .video-icoon { color: var(--accent); }
.video-titel { flex: 1; min-width: 0; font-size: 16px; line-height: 1.35; }
.video-rij--dicht .video-titel { color: var(--ink-faint); }
.video-duur { font-size: 14px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* De speler */
.speelveld { padding-block: clamp(18px, 2.4vw, 30px) 56px; }
/* Het menu staat links. In de html staat het achteraan, zodat je op een telefoon en
   met het toetsenbord eerst bij de video bent. */
.speel-rij { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.speel-rij > .rail { grid-column: 1; grid-row: 1; position: sticky; top: 16px; }
.speel-rij > :not(.rail) { grid-column: 2; grid-row: 1; }
@media (max-width: 1000px) {
  .speel-rij { grid-template-columns: minmax(0, 1fr); }
  .speel-rij > .rail, .speel-rij > :not(.rail) { grid-column: 1; grid-row: auto; position: static; }
}
.speel-hoofd h1 { margin: 10px 0 12px; }
.speel-kaart { overflow: hidden; }

.speler { position: relative; display: flex; flex-direction: column; background: var(--ink); }
.speler-beeld { position: relative; aspect-ratio: 16 / 9; background: #000; }
.speler video { display: block; width: 100%; height: 100%; object-fit: contain; }
.speler video::cue { font-family: var(--font); font-size: 0.95em; background: rgba(22, 22, 26, 0.82); color: #fff; }

.scherm { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(22, 22, 26, 0.62); color: #fff; text-align: center; }
.scherm[data-soort="begin"], .scherm[data-soort="pauze"] { cursor: pointer; }
.scherm-inhoud { max-width: 30em; }
.scherm h2 { font-size: clamp(20px, 2.6vw, 30px); margin-bottom: 8px; color: #fff; }
.scherm p { color: #e8e8ee; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.5; }
.scherm .knop { margin-top: 18px; background: #fff; border-color: #fff; box-shadow: none; color: var(--ink); }
.scherm .knop:hover { background: var(--accent-soft); }
.scherm-rond { display: inline-grid; place-items: center; width: clamp(64px, 9vw, 84px); height: clamp(64px, 9vw, 84px); padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--accent); cursor: pointer; transition: transform 0.18s ease; }
.scherm-rond:hover { transform: scale(1.06); }
/* Voor het begin: het startbeeld blijft helemaal zichtbaar en de knop staat onder de titel. */
.scherm--licht { background: transparent; place-items: end center; padding-bottom: 4%; }
.scherm--licht .scherm-rond { width: clamp(44px, 7vw, 76px); height: clamp(44px, 7vw, 76px); background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(22, 22, 26, 0.55); }
.scherm-rond svg { width: 40%; height: 40%; margin-left: 4%; }
.scherm-rond + h2 { margin-top: 14px; }
.scherm-acties { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.scherm .scherm-rand { background: transparent; border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.scherm .scherm-rand:hover { background: rgba(255, 255, 255, 0.1); }
@media (max-width: 480px) { .scherm p { display: none; } .scherm .knop { margin-top: 10px; } }

.bediening { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; padding: 6px 10px; background: var(--ink); color: #fff; }
.bk { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 550; cursor: pointer; }
.bk:hover { background: rgba(255, 255, 255, 0.12); }
.bk svg { width: 22px; height: 22px; }
.bk[aria-pressed="true"] { color: var(--accent-op-donker); }
.bk:focus-visible { outline-color: #fff; outline-offset: -2px; }
.tijd { padding: 0 8px; font-size: 14px; white-space: nowrap; color: #d9d9e0; font-variant-numeric: tabular-nums; }
.balk { position: relative; flex: 1 1 120px; height: 44px; min-width: 80px; margin-inline: 6px; }
.balk::before, .balk-gezien, .balk-nu { content: ""; position: absolute; top: 20px; left: 0; height: 4px; border-radius: 2px; }
.balk::before { right: 0; background: rgba(255, 255, 255, 0.22); }
.balk-gezien { width: 0; background: rgba(255, 255, 255, 0.45); }
.balk-nu { width: 0; background: #fff; }
.balk--terug { cursor: pointer; }
@media (max-width: 640px) {
  .balk { order: 10; flex-basis: 100%; height: 28px; margin-inline: 8px; }
  .balk::before, .balk-gezien, .balk-nu { top: 12px; }
  .bk-geluid { display: none; }
  .bediening { padding-inline: 6px; gap: 2px; }
  .bk { min-width: 40px; padding: 0 4px; }
  .tijd { padding: 0 4px; font-size: 13px; }
  .bediening-uit { margin-left: auto; }
}

.speler:fullscreen { height: 100vh; }
.speler:fullscreen .speler-beeld { flex: 1; aspect-ratio: auto; min-height: 0; }

.onder-speler { padding: clamp(18px, 2vw, 26px) clamp(18px, 2.2vw, 30px) clamp(20px, 2.2vw, 28px); }
.onder-speler h1 { font-size: clamp(26px, 2.8vw, 36px); margin: 8px 0 8px; }
.regel-noot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }

.rail { padding: 8px 14px 8px; }
.rail .video-titel { font-size: 15px; }
.rail-deel { border-top: 1px solid var(--line); }
.rail-deel summary, .rail-deel--dicht { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px; }
.rail-deel summary { border-radius: 8px; cursor: pointer; list-style: none; }
.rail-deel summary::-webkit-details-marker { display: none; }
.rail-deel summary:hover { color: var(--accent); }
.rail-naam { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.rail-stand { font-size: 13.5px; color: var(--ink-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rail-pijl { display: grid; place-items: center; width: 18px; height: 18px; flex: none; color: var(--ink-faint); transition: transform 0.15s ease; }
.rail-pijl svg { width: 16px; height: 16px; }
.rail-deel[open] .rail-pijl { transform: rotate(180deg); }
.rail-deel--dicht .rail-naam { color: var(--ink-faint); }
.rail-deel--dicht a.rail-stand { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); }
.rail-deel--dicht a.rail-stand:hover { color: var(--accent-hover); }
.rail-deel .videos { padding-bottom: 6px; }
.rail-terug { display: block; padding: 12px 8px 8px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); text-decoration: none; }
.rail-terug:hover { color: var(--accent); }

/* Het volledige leerprogramma, om te reviewen */
.pg-status { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.pg-deel { margin-top: clamp(36px, 4vw, 52px); scroll-margin-top: 16px; }
.pg-deel h2 { margin-top: 8px; }
.pg-doel { margin-top: 8px; max-width: 46em; color: var(--ink-soft); }
.pg-videos { display: grid; gap: 14px; margin-top: 18px; }
.pg-erbij { margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 15.5px; }
.pv { padding: clamp(18px, 2vw, 26px); }
.pv-kop { display: flex; align-items: flex-start; gap: 14px; }
.pv-nummer { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-kop h3 { font-size: 21px; }
.pv-doel { margin-top: 3px; color: var(--ink-soft); font-size: 16px; }
.pv-punten { margin: 14px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.5; }
.pv-punten li + li { margin-top: 6px; }
.pv-punten ul { margin: 6px 0 2px; padding-left: 20px; }
.pv-punten b { font-weight: 600; }
.pv-extra { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-soft); }
.pv-extra b { color: var(--accent); font-weight: 600; }
.pv-script { margin-top: 12px; border-top: 1px solid var(--line); }
.pv-script summary { display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--accent); cursor: pointer; list-style: none; }
.pv-script summary::-webkit-details-marker { display: none; }
.sc-naam { flex: 1; font-size: 16px; font-weight: 600; }
.pv-script[open] .rail-pijl { transform: rotate(180deg); }
.sc-acties { margin: 4px 0 18px; }
.sc-tekst { max-width: 38em; font-size: 18px; line-height: 1.7; }
.sc-tekst p + p { margin-top: 12px; }
.sc-tekst section + section { margin-top: 26px; }
.sc-notities { margin: 20px 0 8px; padding-top: 4px; border-top: 1px solid var(--line); font-size: 15px; }
.sc-notities summary { display: flex; align-items: center; min-height: 44px; color: var(--ink-soft); cursor: pointer; }
.sc-notities dl { margin: 4px 0 8px; line-height: 1.5; }
.sc-notities dt { margin-top: 10px; font-weight: 600; }
.sc-notities dd { margin: 2px 0 0; color: var(--ink-soft); }

/* Voorlezen: alleen de tekst, groot op het hele scherm. */
.lees { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; }
.lees::backdrop { background: var(--paper); }
.lees-balk { position: sticky; top: 0; display: flex; align-items: center; gap: 8px; padding: 10px var(--g); border-bottom: 1px solid var(--line); background: var(--paper); }
.lees-titel { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; }
.lees-balk .knop { min-height: 42px; padding: 0 16px; }
.lees-rij { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); width: min(100% - 2 * var(--g), 1300px); margin-inline: auto; }
.lees-menu { position: sticky; top: 84px; align-self: start; display: grid; padding-top: 36px; }
.lees-menu button { min-height: 40px; padding: 6px 12px; border: 0; border-left: 2px solid var(--line); background: none; color: var(--ink-faint); font: inherit; font-size: 15px; line-height: 1.3; text-align: left; cursor: pointer; }
.lees-menu button:hover { color: var(--accent); }
.lees-menu button[aria-current="true"] { border-left-color: var(--accent); color: var(--accent); font-weight: 600; }
.lees-tekst { --maat: 30px; max-width: 1000px; padding-block: 40px 40vh; font-size: var(--maat); line-height: 1.55; }
.lees-tekst p + p { margin-top: 0.9em; }
.lees-tekst section + section { margin-top: 2em; }
.lees-tekst section { scroll-margin-top: 96px; }
@media (max-width: 900px) { .lees-rij { grid-template-columns: minmax(0, 1fr); } .lees-menu { display: none; } }

code { font-family: var(--font); font-weight: 550; font-size: 0.95em; padding: 1px 5px; border-radius: 4px; background: var(--paper-warm); }
.pg-tabel { margin-top: 16px; }
.pg-tabel td:first-child { font-weight: 550; min-width: 14em; }
.pg-rooster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pg-punt { padding: 18px 20px; }
.pg-punt h3 { font-size: 17px; letter-spacing: -0.01em; }
.pg-punt p { margin-top: 5px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.pg-bronnen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 16px; padding: clamp(18px, 2vw, 26px); }
.pg-bronnen h3 { font-size: 15.5px; letter-spacing: -0.01em; }
.pg-bronnen ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 14.5px; }
.pg-bronnen a { display: inline-block; padding: 3px 0; color: var(--accent); }
@media (max-width: 760px) {
  .pg-rooster, .pg-bronnen { grid-template-columns: 1fr; }
  .pg-bronnen a { display: inline-flex; align-items: center; min-height: 40px; padding: 0; }
}
.pg-menu { padding: 10px; }
.pg-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 6px 10px; border-radius: 8px; font-size: 15px; font-weight: 550; text-decoration: none; }
.pg-menu a:hover { background: var(--accent-soft); color: var(--accent); }
.pg-menu hr { margin: 8px 0; border: 0; border-top: 1px solid var(--line); }

/* Afspraken en klaar */
.smal { width: min(100% - 2 * var(--g), 760px); margin-inline: auto; padding-block: clamp(24px, 3.4vw, 44px) 72px; }
.smal h1 { margin: 10px 0 12px; }
.tekstvlak { margin-top: 26px; padding: clamp(24px, 3.4vw, 40px); }
.tekstvlak p + p, .tekstvlak ul + p { margin-top: 18px; }
.tekstvlak p.tussenkop { margin-top: 26px; font-weight: 600; }
.tekstvlak p.tussenkop:first-child { margin-top: 0; }
.tekstvlak ul { margin: 8px 0 0; padding-left: 20px; }
.tekstvlak li + li { margin-top: 6px; }
.bevestig { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; }
.bevestig p { flex: 1 1 280px; font-size: 15px; color: var(--ink-soft); }
.klaar-kaart { padding: clamp(28px, 4vw, 48px); }
.klaar-vink { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--accent); color: #fff; }
.klaar-vink svg { width: 30px; height: 30px; }
.acties { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.morgen { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.morgen h2 { font-size: 20px; margin-bottom: 6px; letter-spacing: -0.02em; }

/* Beheer */
.beheer { padding-block: clamp(24px, 3vw, 40px) 72px; }
.beheer h1 { margin-top: 10px; }
.tegels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tegel { padding: 16px 22px; }
.tegel b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tegel span { font-size: 15px; color: var(--ink-soft); }
.stapel { display: flex; height: 8px; margin-top: 14px; border-radius: 4px; background: var(--line); overflow: hidden; }
.stapel span { display: block; }
.stapel .s-klaar { background: var(--accent); }
.stapel .s-bezig { background: var(--accent-op-donker); }
.gereedschap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 26px 0 12px; }
.filters { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); padding: 3px; }
.filters button { min-height: 40px; padding: 4px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: inherit; font-size: 14.5px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.knoppen { display: flex; flex-wrap: wrap; gap: 8px; }
.knoppen .knop { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.tabel-vlak { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { padding: 12px 18px; font-size: 13px; font-weight: 600; color: var(--ink-faint); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
td { padding: 10px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.adres { color: var(--ink-soft); }
.label { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; background: var(--paper-warm); color: var(--ink-soft); }
.label-klaar { background: var(--accent); color: #fff; }
.label-bezig { background: var(--accent-soft); color: var(--accent); }
.leeg { padding: 28px; text-align: center; color: var(--ink-soft); }
.bericht { min-height: 22px; font-size: 14.5px; color: var(--accent); }

/* Het deelnamebewijs, op A4 */
.bewijs-rand { padding: 24px 16px 72px; }
.bewijs-acties { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.vel { display: flex; flex-direction: column; width: 100%; max-width: 794px; min-height: 1040px; margin-inline: auto; padding: 72px 72px 56px; border: 1px solid var(--line); background: #fff; }
.vel-merk { align-self: flex-start; width: auto; height: 30px; }
.vel .eyebrow { margin-top: 110px; }
.vel h1 { margin-top: 12px; font-size: 44px; }
.vel-tekst { margin-top: 26px; font-size: 19px; }
.vel-tekst + .vel-tekst { margin-top: 14px; }
.vel ol { margin: 26px 0 0; padding-left: 20px; }
.vel-voet { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
@media (max-width: 640px) { .vel { padding: 36px 24px; min-height: 0; } .vel .eyebrow { margin-top: 44px; } .vel h1 { font-size: 32px; } .vel-voet { margin-top: 44px; } }

@page { size: A4; margin: 0; }
@media print {
  body { background: #fff; }
  main { background: none; }
  .kop, .leerbalk, .bewijs-acties { display: none !important; }
  .bewijs-rand { padding: 0; }
  .vel { max-width: none; width: 210mm; height: 297mm; min-height: 0; padding: 25mm 22mm 18mm; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
