/* redwijs.nl, de verkoopsite. Huisstijl van Redwijs: veiligheidsgroen, nachtblauw, mint.
   Letters (Henri, 21-10): koppen in Newsreader (zoals de ProQA-blog), lopende tekst in Hanken Grotesk. Het logo heeft
   zijn eigen letter (Lexend, als beeld), zodat logo en tekst elkaar afwisselen zoals bij Rakoo.
   Herkenbaar element: de route (donkere band) met groene borden met witte rand, zoals vluchtwegaanduiding.
   De tinten van de tegels komen uit de veiligheidsborden: groen (EHBO, vluchtweg), blauw (gebod), geel (let op). */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/newsreader-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/newsreader-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/hanken-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2'); }

:root {
  --nacht: #15233B;
  --tekst: #2B3649;
  --grijs: #4A5568;
  --lijn: #E4E7EC;
  --lijn2: #CDD3DC;
  --vlak: #F4F6F8;
  --groen: #1F7F51;
  --groen-donker: #145335;
  --mint: #E4F2EA;
  --mint-rand: #B5DCC6;
  --lichtgroen: #3DB57A;
  --op-nacht: #C9D2DE;
  --blauw: #2457C5;
  --blauw-tint: #E7EEF9;
  --geel: #8A5D00;
  --geel-tint: #FBF1D2;
  --fout: #A8321F;
  --fout-rand: #D23F28;
  --schaduw: 0 2px 6px rgba(21, 35, 59, .06), 0 30px 60px -30px rgba(21, 35, 59, .38);
  --kop-hoogte: 84px;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kop-hoogte) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #fff; color: var(--tekst); font: 400 17.5px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-underline-offset: 3px; }
a:hover { color: var(--groen-donker); }
:focus-visible { outline: 3px solid var(--nacht); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { color: var(--nacht); font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h3 { font-weight: 600; }
p { margin: 0 0 16px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--grijs); margin-top: 14px; }

.breed { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.smal { max-width: 780px; }
.intro { max-width: 40em; font-size: 19px; color: var(--grijs); }

.overslaan { position: absolute; left: 16px; top: -60px; z-index: 20; background: var(--nacht); color: #fff; padding: 10px 14px; border-radius: 8px; }
.overslaan:focus { top: 12px; color: #fff; }

/* ---------- knoppen ---------- */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px;
  border-radius: 12px; border: 1.5px solid var(--groen); background: var(--groen); color: #fff; font: inherit; font-weight: 600;
  font-size: 16.5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.knop:hover { background: var(--groen-donker); border-color: var(--groen-donker); color: #fff; }
.knop:disabled { opacity: .6; cursor: progress; }
.knop-licht { background: #fff; color: var(--nacht); border-color: var(--lijn2); }
.knop-licht:hover { background: var(--vlak); border-color: var(--nacht); color: var(--nacht); }
.knop-klein { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.knop-vol { width: 100%; }
.tekstlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--groen); }
.tekstlink::after { content: ''; width: 26px; height: 26px; border-radius: 50%; background: var(--groen) center / 14px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5'/%3E%3C/svg%3E"); }
.tekstlink:hover { color: var(--groen-donker); text-decoration: underline; }

/* ---------- kop ---------- */
.kop { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--lijn);
  backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.kop-in { height: var(--kop-hoogte); display: flex; align-items: center; gap: 32px; }
.kop-logo img { height: 46px; width: auto; } /* Henri, 21-10: logo groter */
.kop-nav { display: flex; gap: 28px; margin-left: 8px; }
.kop-nav a, .kop-inloggen { color: var(--nacht); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.kop-nav a:hover, .kop-inloggen:hover { color: var(--groen); }
.kop-nav a[aria-current='page'] { color: var(--groen); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.kop-nav .kop-nav-extra { display: none; }
.kop-acties { margin-left: auto; display: flex; align-items: center; gap: 22px; }
/* de menuknop verschijnt alleen op kleine schermen, en alleen als JavaScript het menu kan openen */
.kop-menu { display: none; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1.5px solid var(--lijn2); border-radius: 10px;
  background: #fff; color: var(--nacht); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.kop-menu-streep, .kop-menu-streep::before, .kop-menu-streep::after { display: block; width: 16px; height: 2px; border-radius: 1px; background: currentColor; position: relative; }
.kop-menu-streep::before, .kop-menu-streep::after { content: ''; position: absolute; left: 0; }
.kop-menu-streep::before { top: -5px; }
.kop-menu-streep::after { top: 5px; }
.kop.open .kop-menu-streep { background: transparent; }
.kop.open .kop-menu-streep::before { top: 0; transform: rotate(45deg); }
.kop.open .kop-menu-streep::after { top: 0; transform: rotate(-45deg); }

/* ---------- held: de bannerfilm over de hele breedte, tekst links erop ----------
   De film (scripts/site-video.sh) is één stille clip als lus, met rechtsonder een knop om te pauzeren.
   Zonder JavaScript, bij "minder beweging" of bij databesparing blijft het het stilstaande beeld. */
.held { position: relative; isolation: isolate; background: var(--nacht); color: #fff; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--kop-hoogte)), 780px); display: flex; }
.held-film { position: absolute; inset: 0; z-index: -1; }
.held-film img, .held-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.held-film video { opacity: 0; transition: opacity .8s ease; }
.held.speelt .held-film video { opacity: 1; }
/* donker aan de kant van de tekst, onderaan wat donker voor de pauzeknop */
.held-film::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21, 35, 59, .9) 0%, rgba(21, 35, 59, .78) 34%, rgba(21, 35, 59, .2) 66%, rgba(21, 35, 59, 0) 100%),
              linear-gradient(0deg, rgba(21, 35, 59, .6) 0%, rgba(21, 35, 59, 0) 30%); }
.held-in { width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; padding-bottom: 28px; }
.held-tekst { max-width: 600px; margin: auto 0; }
.held h1 { color: #fff; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.held-lead { font-size: 19px; color: #DCE3EC; margin: 24px 0 32px; max-width: 32em; }
.held-acties { display: flex; flex-wrap: wrap; gap: 12px; }
.held .knop-licht { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .55); }
.held .knop-licht:hover { background: #fff; color: var(--nacht); border-color: #fff; }
.held-klein { margin: 16px 0 0; font-size: 15px; color: var(--op-nacht); }
.held :focus-visible { outline-color: #fff; }
/* de knop om de film te pauzeren, rechtsonder */
.held-bediening { display: none; margin-top: 40px; justify-content: flex-end; }
.held.met-film .held-bediening { display: flex; }
.held-pauze { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(21, 35, 59, .35);
  color: #fff; display: grid; place-items: center; cursor: pointer; }
.held-pauze:hover { background: #fff; color: var(--nacht); }
.held-pauze svg { width: 16px; height: 16px; fill: currentColor; }
.held-pauze .speel, .held.gepauzeerd .held-pauze .pauze { display: none; }
.held.gepauzeerd .held-pauze .speel { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .held-tekst > * { animation: omhoog .8s cubic-bezier(.2, .7, .2, 1) both; }
  .held-tekst > :nth-child(2) { animation-delay: .1s; }
  .held-tekst > :nth-child(3) { animation-delay: .2s; }
  .held-tekst > :nth-child(4) { animation-delay: .3s; }
  @keyframes omhoog { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
}

.scherm { border-radius: 14px; border: 1px solid #D3D9E1; background: #fff; overflow: hidden; box-shadow: var(--schaduw); }
.telefoon { border: 7px solid var(--nacht); border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(21, 35, 59, .55); }

/* ---------- eigen contentstudio (Henri, 21-10): een donkere band, zoals de held ---------- */
.studio { background: var(--nacht); color: #fff; padding: 96px 0; }
.studio-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.studio h2 { color: #fff; font-size: clamp(36px, 4vw, 52px); line-height: 1.05; letter-spacing: -.015em; max-width: 13ch; }
.studio-kop p { color: var(--op-nacht); font-size: 19px; margin: 22px 0 28px; max-width: 30em; }
.studio .tekstlink { color: #fff; }
.studio .tekstlink:hover { color: #fff; }
.studio-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 44px; }
.studio-lijst li { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 22px; }
.studio-lijst svg { width: 34px; height: 34px; fill: none; stroke: var(--lichtgroen); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-lijst h3 { color: #fff; font-size: 24px; margin: 14px 0 8px; }
.studio-lijst p { margin: 0; color: var(--op-nacht); font-size: 16.5px; }
.studio :focus-visible { outline-color: #fff; }

/* ---------- feiten in het kort ---------- */
.feiten { border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.feiten-lijst { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.feiten-lijst li { display: flex; align-items: center; gap: 12px; color: var(--nacht); font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.feiten-lijst svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--groen); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- kop van een pagina ---------- */
.pagina-kop { padding: 104px 0 72px; }
.pagina-kop h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.02em; max-width: 16ch; }
.pagina-intro { margin: 26px 0 0; max-width: 38em; font-size: 20px; color: var(--grijs); }
.pagina-kop .tekstlink { margin-top: 26px; }
.pagina-kop-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.pagina-foto img { width: 100%; border-radius: 28px; aspect-ratio: 4 / 3.3; object-fit: cover; }
.pagina-sprong { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pagina-sprong a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--lijn2); color: var(--nacht); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.pagina-sprong a:hover { border-color: var(--nacht); }
.sectie-kop { margin-bottom: 44px; }
.sectie-kop h2 { max-width: 20ch; }

/* ---------- blokken ---------- */
.blok { padding: 96px 0; }
/* twee witte blokken achter elkaar: één keer ruimte, niet twee keer */
.blok:not(.blok-vlak) + .blok:not(.blok-vlak) { padding-top: 0; }
.blok-vlak { background: var(--vlak); }
.blok h2, .verhaal h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 18px; }
.blok-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.blok-tekst p { max-width: 36em; }
.punten { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.punten li { position: relative; padding-left: 30px; }
.punten li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 5px; background: var(--groen) center / 12px no-repeat
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5 9.5 17.5 19.5 7'/%3E%3C/svg%3E"); }

/* ---------- voordelen: tekst met een voorbeeldscherm, daaronder vier voordelen ---------- */
.dashboard-fig { min-width: 0; }
.dashboard { position: relative; background: #fff; border: 1px solid var(--lijn); border-radius: 18px; box-shadow: var(--schaduw); padding: 20px 22px 12px; font-size: 14px; }
.dashboard-label { display: flex; justify-content: space-between; margin: 0 0 4px; color: var(--grijs); font-size: 13px; font-weight: 500; }
.dashboard-voorbeeld { padding: 1px 8px; border-radius: 6px; background: var(--vlak); font-size: 12px; }
.dashboard-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.dashboard-titel { margin: 0; color: var(--nacht); font-weight: 600; font-size: 17px; }
.dashboard-knop { background: var(--groen); color: #fff; border-radius: 9px; padding: 7px 12px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.dashboard table { width: 100%; border-collapse: collapse; }
.dashboard th { text-align: left; font-weight: 500; color: var(--grijs); font-size: 12.5px; padding: 0 10px 8px 0; border-bottom: 1px solid var(--lijn); }
.dashboard td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--lijn); color: var(--nacht); white-space: nowrap; }
.dashboard tr:last-child td { border-bottom: 0; }
.dashboard td i { display: block; width: 88px; height: 6px; border-radius: 3px; background: var(--lijn); position: relative; overflow: hidden; }
.dashboard td i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: #E39B16; }
.dashboard td i.v100::after { width: 100%; background: var(--groen); }
.dashboard td i.v63::after { width: 63%; }
.dashboard td i.v38::after { width: 38%; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.status.klaar { background: var(--mint); color: var(--groen-donker); }
.status.bezig { background: var(--geel-tint); color: var(--geel); }
.status.niet { background: var(--vlak); color: var(--grijs); }
.status.verzonden { background: var(--blauw-tint); color: var(--blauw); }
.voordelen h2 { font-size: clamp(28px, 2.8vw, 38px); }
.voordelen-lijst { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.voordelen-lijst li { border-top: 3px solid var(--groen); padding-top: 20px; }
.voordelen-lijst h3 { font-size: 22px; line-height: 1.22; margin-bottom: 10px; }
.voordelen-lijst p { margin: 0; color: var(--grijs); font-size: 16.5px; }
.blok-regel { margin-top: 26px; font-family: var(--serif); font-size: 23px; line-height: 1.3; color: var(--nacht); }
.route-knop { margin-top: 56px; }

/* ---------- voor wie (home): drie grote kleurvlakken met een scherm erin ---------- */
.rollen-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rol a { height: 100%; display: flex; flex-direction: column; padding: 36px 34px 0; border-radius: 32px; background: var(--tint); color: var(--tekst);
  text-decoration: none; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.rol a:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(21, 35, 59, .5); color: var(--tekst); }
.rol h3 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; font-weight: 500; }
.rol p { margin: 0 0 22px; }
.rol-verder { display: inline-flex; align-items: center; gap: 10px; color: var(--nacht); font-weight: 600; font-size: 15.5px; }
.rol-verder svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--nacht); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rol-beeld { display: block; margin: 34px -34px 0 34px; padding-top: 0; flex: 1; display: flex; align-items: flex-end; }
.rol-beeld img { width: 100%; border-radius: 14px 0 0 0; box-shadow: 0 -2px 30px -10px rgba(21, 35, 59, .25); }
.rol-beeld-telefoon { margin: 34px 0 0; justify-content: center; }
.rol-beeld-telefoon .telefoon { width: 190px; margin-bottom: -60px; border-bottom: 0; }
.rol-beeld-telefoon img { border-radius: 0; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .rol a { transition: none; } .rol a:hover { transform: none; } }

/* ---------- oefenen: tekst en een strook van drie foto's ---------- */
.oefenen-kop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; margin-bottom: 48px; }
.oefenen-kop p { max-width: 36em; }
.fotostrook { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fotostrook img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 26px; }
.fotostrook img.links { object-position: 12% 50%; }
.fotostrook img.rechts { object-position: 72% 50%; }
.fotostrook figcaption { margin-top: 14px; color: var(--nacht); font-family: var(--serif); font-size: 21px; }

/* ---------- kennismaken: onderaan elke pagina ---------- */
.kennismaking { padding: 24px 0 96px; }
.kennismaking-vlak { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; background: var(--nacht);
  color: var(--op-nacht); border-radius: 36px; padding: 64px; }
.kennismaking h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; margin-bottom: 20px; }
.kennismaking-tekst p { max-width: 34em; }
.kennismaking .knop { margin-top: 12px; }
.kennismaking :focus-visible { outline-color: #fff; }
.kennismaking-klein { margin: 14px 0 0; font-size: 15px; }
.kennismaking-foto img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 62% 50%; }
.blok-vlak + .kennismaking { padding-top: 96px; }

/* ---------- voor wie (pagina): per rol een groot kleurvlak ---------- */
.rol-blok { padding: 12px 0; scroll-margin-top: calc(var(--kop-hoogte) + 16px); }
.rol-blok:last-of-type { padding-bottom: 40px; }
.rol-vlak { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; background: var(--tint); border-radius: 36px; padding: 64px; }
.rol-om .rol-plaat { order: -1; }
.rol-om .rol-vlak { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rol-naam { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--kleur); font-weight: 600; font-size: 14.5px; }
.rol-tekst h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.rol-tekst p { max-width: 34em; }
.rol-apparaten { position: relative; padding: 0 64px 48px 0; }
.rol-apparaten .telefoon { position: absolute; right: 0; bottom: 0; width: 172px; }

/* ---------- veelgestelde vragen: uitklappen zonder JavaScript ---------- */
.vragen-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.vragen-in h1 { position: sticky; top: calc(var(--kop-hoogte) + 32px); font-size: clamp(40px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.vragen-lijst { border-top: 1px solid var(--lijn2); }
.vragen-lijst details { border-bottom: 1px solid var(--lijn2); }
.vragen-lijst summary { list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0; color: var(--nacht); font-weight: 600; font-size: 18px; line-height: 1.4; }
.vragen-lijst summary::-webkit-details-marker { display: none; }
.vragen-lijst summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--groen) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.vragen-lijst details[open] summary::after { transform: rotate(45deg); }
.vragen-lijst summary:hover { color: var(--groen); }
.vragen-lijst details p { margin: -4px 0 22px; color: var(--grijs); max-width: 42em; }
@media (prefers-reduced-motion: no-preference) { .vragen-lijst summary::after { transition: transform .2s ease; } }

/* ---------- herken je dit: gekleurde tegels ---------- */
.tegels { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tegel a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 22px; border-radius: 22px; text-decoration: none;
  background: var(--tint); transition: transform .2s ease, box-shadow .2s ease; }
.tegel a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(21, 35, 59, .45); }
.tint-groen { --tint: var(--mint); --kleur: var(--groen); }
.tint-blauw { --tint: var(--blauw-tint); --kleur: var(--blauw); }
.tint-geel { --tint: var(--geel-tint); --kleur: var(--geel); }
.tegel-icoon { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: grid; place-items: center; margin-bottom: 6px; }
.tegel-icoon svg { width: 26px; height: 26px; fill: none; stroke: var(--kleur); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tegel-probleem { color: var(--nacht); font-family: var(--serif); font-size: 22px; line-height: 1.25; font-weight: 600; }
.tegel-antwoord { color: var(--tekst); }
.tegel-verder { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; color: var(--nacht); font-weight: 600; font-size: 15px; }
.tegel-verder svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--nacht); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .tegel a { transition: none; } .tegel a:hover { transform: none; } }

/* ---------- de route ---------- */
.route { background: var(--nacht); color: var(--op-nacht); padding: 104px 0; }
.route h1, .route h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; max-width: 20ch; }
.route-kop { padding: 104px 0 120px; }
.route-kop h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -.02em; max-width: 14ch; }
.route-kop .route-intro { font-size: 20px; }
.route :focus-visible { outline-color: #fff; }
.route-intro { margin: 20px 0 0; max-width: 40em; font-size: 18px; }
.route-lijst { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; position: relative; }
/* de groene weg langs de borden, met een pijlpunt aan het eind */
.route-lijst::before { content: ''; position: absolute; left: 32px; right: 14px; top: 29px; height: 6px; background: var(--groen); border-radius: 3px; }
.route-lijst::after { content: ''; position: absolute; right: 0; top: 20px; border: 12px solid transparent; border-left: 16px solid var(--groen); border-right: 0; }
.stap { position: relative; }
.bord { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--groen);
  border: 3px solid #fff; box-shadow: 0 0 0 5px var(--nacht); margin-bottom: 22px; }
.bord svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.route .stap h2, .stap h3 { color: #fff; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; max-width: none; margin-bottom: 8px; }
.stap-nr { color: var(--lichtgroen); margin-right: 8px; }
.stap p { font-size: 15.5px; line-height: 1.6; margin: 0; }

/* ---------- verhalen met een foto ---------- */
.verhaal { padding: 56px 0; }
.verhaal + .verhaal { padding-top: 24px; }
.blok:not(.blok-vlak) + .verhaal { padding-top: 0; }

.verhaal-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.verhaal-om .verhaal-foto { order: 2; }
.verhaal-om .verhaal-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.verhaal-foto img { width: 100%; border-radius: 26px; aspect-ratio: 16 / 10; object-fit: cover; }
.verhaal-tekst p { max-width: 34em; }

/* ---------- een mail zoals de cursist hem krijgt (zelfde opbouw als supabase/functions/_shared/sjablonen.ts) ---------- */
.mail-fig { max-width: 560px; justify-self: center; width: 100%; }
.mail { background: #fff; border: 1px solid var(--lijn); border-radius: 22px; padding: 18px; font-family: Arial, Helvetica, sans-serif; box-shadow: var(--schaduw); }
.mail-onderwerp { margin: 2px 4px 14px; font-size: 14.5px; color: var(--nacht); font-weight: 700; }
.mail-onderwerp span { font-weight: 400; color: var(--grijs); margin-right: 6px; }
.mail-in { background: #fff; border: 1px solid #E3E7EB; border-radius: 14px; padding: 22px 24px; color: #0E1726; font-size: 15px; line-height: 1.55; }
.mail-in p { margin: 0 0 12px; }
.mail-chip { display: inline-block; padding: 8px 13px; border-radius: 9px; background: var(--blauw); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 18px; }
.mail-knop { display: inline-block; margin: 4px 0 16px; padding: 13px 22px; border-radius: 11px; background: var(--blauw); color: #fff; font-weight: 700; font-size: 15.5px; }
.mail-in .mail-klein { margin: 0; color: #4B5563; font-size: 13.5px; }

/* ---------- veilig ---------- */
.veilig { padding-top: 40px; }
.veilig-lijst { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.veilig-lijst div { border-top: 3px solid var(--groen); padding-top: 18px; }
.veilig-lijst dt { color: var(--nacht); font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.veilig-lijst dd { margin: 8px 0 0; color: var(--grijs); }

/* ---------- demo-aanvraag ---------- */
.demo { background: var(--mint); padding: 96px 0 120px; }
.demo-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.demo h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 24px; }
.demo-tekst p { max-width: 32em; }
.demo-stappen { list-style: none; counter-reset: stap; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.demo-stappen li { counter-increment: stap; display: flex; align-items: center; gap: 14px; color: var(--nacht); font-weight: 500; }
.demo-stappen li::before { content: counter(stap); flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--groen); color: #fff; font-weight: 600; font-size: 15px; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--groen); }
.demo-al { margin-top: 28px; color: var(--grijs); }
.formulier, .bedankt { background: #fff; border: 1px solid var(--mint-rand); border-radius: 22px; padding: 32px; box-shadow: 0 30px 60px -40px rgba(21, 35, 59, .35); }
.formulier { display: grid; gap: 18px; }
.veld { display: grid; gap: 7px; }
.veld-rij { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.veld label { color: var(--nacht); font-weight: 500; font-size: 15.5px; }
.optie { color: var(--grijs); font-weight: 400; }
.veld input, .veld select, .veld textarea { width: 100%; font: inherit; font-size: 16px; color: var(--nacht); background: #fff;
  border: 1.5px solid var(--lijn2); border-radius: 10px; padding: 12px 14px; }
.veld textarea { resize: vertical; min-height: 110px; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--groen); box-shadow: 0 0 0 3px rgba(31, 127, 81, .22); }
.veld [aria-invalid='true'] { border-color: var(--fout-rand); }
.veld-fout { color: var(--fout); font-size: 14.5px; margin: 0; }
.veld-hulp { margin: 0; font-size: 14px; color: var(--grijs); }
.veld input::placeholder, .veld textarea::placeholder { color: #7A8496; }
.formulier-kop h2 { font-size: 28px; margin-bottom: 8px; }
.formulier-kop p { margin: 0; color: var(--grijs); font-size: 16px; }
.veld-weg { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulier-melding { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FCEDEA; color: var(--fout); font-size: 15px; }
.formulier-klein { margin: 0; font-size: 14px; color: var(--grijs); }
.bedankt h2 { font-size: 28px; margin-bottom: 12px; }
.bedankt p { margin: 0; }
.bedankt:focus { outline: none; }

/* ---------- voet ---------- */
.voet { background: var(--nacht); color: var(--op-nacht); padding: 64px 0 40px; font-size: 15px; }
.voet-in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.voet-merk img { height: 30px; width: auto; margin-bottom: 16px; }
.voet-merk p { margin: 0; max-width: 26em; }
.voet-kolom { display: grid; gap: 10px; }
.voet-kolom h2 { color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.voet-kolom a { color: var(--op-nacht); text-decoration: none; }
.voet-kolom a:hover { color: #fff; text-decoration: underline; }
.voet-klein { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }

/* ---------- tekstpagina (privacy, 404) ---------- */
.tekstpagina { padding: 72px 0 96px; }
.tekstpagina h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 18px; }
.tekstpagina h2 { font-size: 22px; margin: 40px 0 12px; }
.tekstpagina ul { padding-left: 22px; margin: 0 0 16px; }
.tekstpagina li { margin-bottom: 6px; }
.tekstpagina .bijgewerkt { color: var(--grijs); font-size: 15px; }

/* ---------- smallere schermen ---------- */
@media (max-width: 1040px) {
  .kop-nav { display: none; }
  .met-js .kop-menu { display: inline-flex; }
  .met-js .kop-inloggen { display: none; }
  .kop.open .kop-nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; margin: 0; gap: 0; padding: 8px 24px 20px;
    background: #fff; border-bottom: 1px solid var(--lijn); box-shadow: 0 24px 40px -24px rgba(21, 35, 59, .35); }
  .kop.open .kop-nav a { padding: 14px 0; border-bottom: 1px solid var(--lijn); font-size: 18px; }
  .kop.open .kop-nav a:last-child { border-bottom: 0; }
  .kop.open .kop-nav .kop-nav-extra { display: block; }
  .kop-nav a[aria-current='page'] { text-underline-offset: 6px; }
  .blok-in, .demo-in, .verhaal-in, .verhaal-om .verhaal-in, .pagina-kop-in, .oefenen-kop, .kennismaking-vlak, .rol-vlak, .rol-om .rol-vlak { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rol-om .rol-plaat { order: 0; }
  .rollen-lijst { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .fotostrook { gap: 14px; }
  .fotostrook figcaption { font-size: 18px; }
  .veilig-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pagina-kop { padding: 72px 0 56px; }
  .kennismaking-vlak, .rol-vlak { padding: 48px; }
  .verhaal-om .verhaal-foto { order: 0; }
  .held-film::after { background: linear-gradient(90deg, rgba(21, 35, 59, .9) 0%, rgba(21, 35, 59, .72) 52%, rgba(21, 35, 59, .25) 100%),
    linear-gradient(0deg, rgba(21, 35, 59, .6) 0%, rgba(21, 35, 59, 0) 30%); }
  .tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-in { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .route-lijst { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .route-lijst::before, .route-lijst::after { display: none; }
  .stap { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; }
  .stap:not(:last-child)::before { content: ''; position: absolute; left: 29px; top: 60px; bottom: -32px; width: 6px; background: var(--groen); }
  .bord { grid-row: span 2; margin: 0; }
  .route .stap h2, .stap h3 { align-self: center; margin: 0 0 6px; }
  .feiten-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voordelen-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .vragen-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vragen-in h1 { position: static; }
  .demo-tekst p { max-width: none; }
  .voet-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .voet-merk { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --kop-hoogte: 68px; }
  body { font-size: 16.5px; }
  .breed { padding: 0 16px; }
  .kop-in { gap: 10px; }
  .kop-logo { flex: none; }
  .kop-logo img { height: 31px; }
  .kop-acties { gap: 14px; }
  .kop-acties .knop-klein { padding: 0 12px; font-size: 14.5px; }
  /* telefoon: de film als band bovenaan, de scènes er net onder, dan de tekst op nachtblauw */
  .held { display: block; min-height: 0; }
  .held-film { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .held-film img, .held-film video { object-position: 50% 50%; }
  .held-film::after { background: linear-gradient(0deg, rgba(21, 35, 59, 1) 0%, rgba(21, 35, 59, .55) 22%, rgba(21, 35, 59, 0) 48%); }
  .held-in { padding-top: 0; padding-bottom: 52px; }
  .held-tekst { margin: 0; }
  .held h1 { font-size: 40px; line-height: 1.05; }
  .held-lead { font-size: 17px; margin: 18px 0 26px; }
  .held-acties .knop { flex: 1 1 auto; }
  .held-bediening { order: -1; position: relative; margin: -50px 0 14px; }
  .held-pauze { width: 34px; height: 34px; }
  .held-pauze svg { width: 13px; height: 13px; }
  .blok, .demo, .route, .studio { padding: 72px 0; }
  .studio-lijst { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .route-kop { padding: 56px 0 72px; }
  .pagina-kop { padding: 52px 0 40px; }
  .pagina-kop h1, .route-kop h1 { font-size: 40px; }
  .pagina-intro, .route-kop .route-intro { font-size: 17.5px; }
  .kop.open .kop-nav { padding: 4px 16px 16px; }
  .sectie-kop { margin-bottom: 36px; }
  .rol a { padding: 28px 24px 0; border-radius: 26px; }
  .rol h3 { font-size: 26px; }
  .rol-beeld { margin: 28px -24px 0 24px; }
  .rol-beeld-telefoon { margin: 28px 0 0; }
  .rol-beeld-telefoon .telefoon { width: 160px; }
  .fotostrook { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fotostrook img { aspect-ratio: 16 / 10; }
  .kennismaking { padding: 24px 0 72px; }
  .blok-vlak + .kennismaking { padding-top: 72px; }
  .kennismaking-vlak, .rol-vlak { padding: 32px 22px; border-radius: 26px; gap: 28px; }
  .rol-blok { padding: 8px 0; }
  .tegels { grid-template-columns: minmax(0, 1fr); }
  .dashboard { padding: 16px 14px 8px; font-size: 13.5px; }
  .dashboard th:nth-child(2), .dashboard td:nth-child(2) { display: none; }
  .voordelen-lijst { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .vragen-lijst summary { font-size: 17px; }
  .tegel-probleem { font-size: 20px; }
  .feiten-lijst { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 20px; padding-bottom: 20px; }
  .rol-apparaten { padding: 0 36px 36px 0; }
  .rol-apparaten .telefoon { width: 104px; border-width: 4px; border-radius: 18px; }
  .telefoon { border-width: 5px; border-radius: 24px; }
  .verhaal { padding: 40px 0; }
  .veilig-lijst { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .veld-rij { grid-template-columns: minmax(0, 1fr); }
  .formulier, .bedankt { padding: 22px 18px; }
  .voet-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .kop-inloggen { display: none; }
  .kop-acties .knop-klein { display: none; }
}
