/* Hart voor Ammerstol — rustige huisstijl.
   Warm wit en donkergroen. Goud alleen voor de hoofdknop, rood alleen voor 4.2.
   Dunne lijnen in plaats van kaarten, geen schaduwen of verlopen. */

:root {
  --forest: #0e3b3a;
  --forest-2: #17504d;
  --forest-3: #17504d;
  --ink: #1f2d2b;
  --ink-soft: #55645f;
  --gold: #c4901a;
  --gold-2: #e2bf6e;
  --gold-ink: #7d5a0c;
  --red: #c8321f;
  --danger: #a3361f;
  --cream: #faf8f4;
  --paper: #ffffff;
  --sand: #f3efe6;
  --line: rgba(31, 45, 43, .14);
  --line-strong: rgba(31, 45, 43, .28);
  --leaf: #4f7f35;
  --teal: #0a6670;
  --radius: 8px;
  --shadow: none;
  --shadow-lg: 0 8px 30px rgba(14, 59, 58, .18);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --wrap: 1120px;
  --header-h: 68px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.125rem; font-weight: 400; line-height: 1.7; letter-spacing: .01em; word-spacing: .05em; text-align: left; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-2); text-decoration-thickness: 2px; }
b, strong { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; word-spacing: normal; margin: 0 0 .6em; color: var(--forest); }
h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; letter-spacing: 0; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.note { font-size: 1.0625rem; color: var(--ink-soft); }
.eyebrow { font-size: 1.0625rem; color: var(--ink-soft); margin: 0 0 10px; }
.kicker { font-size: 1.0625rem; color: var(--ink-soft); margin: -6px 0 22px; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 4px; }
.header :focus-visible, .opener :focus-visible, .section--forest :focus-visible, .footer :focus-visible, .page-hero :focus-visible, .wewant :focus-visible { outline-color: var(--gold-2); }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--forest); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.mt { margin-top: 28px; }
.m0 { margin: 0; }

/* ---------- Indeling ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }
.wrap > .narrow { width: min(100%, 720px); }
.wrap > .empty { max-width: 720px; margin-inline: auto; }
.section { padding-block: clamp(52px, 7vw, 96px); }
#stem { padding-bottom: clamp(40px, 5vw, 64px); }
#school { padding-top: 0; }
#school > .wrap { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: #dfe8e5; }
.section--forest h2, .section--forest h3 { color: #fff; }
.section--forest .lead, .section--forest .note { color: #b9cbc6; }
.section--forest a { color: #fff; }
.section--forest .form-card a { color: var(--forest); }
.section--forest .form-card a:hover { color: var(--forest-2); }
.section--forest .form-card :focus-visible { outline-color: var(--forest); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; background: var(--forest); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: #e4ecea; text-decoration: none; font-size: 1.0625rem; font-weight: 400; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .7); border-radius: 0; }
.nav .nav__cta { background: transparent; color: #fff; font-weight: 600; margin-left: 10px; padding: 7px 15px; border: 1px solid rgba(255, 255, 255, .5); box-shadow: none; border-radius: 6px; }
.nav .nav__cta:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav .nav__cta[aria-current="page"] { box-shadow: none; border-radius: 6px; border-color: #fff; background: rgba(255, 255, 255, .1); }
.menu-btn { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; width: 44px; height: 44px; border-radius: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 5px auto; transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--forest); padding: 8px 20px 22px; gap: 0; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; font-weight: 600; }
  .nav .nav__cta { margin: 16px 0 0; padding: 13px 16px; text-align: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; }
}

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1.0625rem/1.2 var(--sans); letter-spacing: .01em; word-spacing: normal; padding: 13px 22px; border-radius: 8px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn--gold { background: var(--gold); color: #1b1300; }
.btn--gold:hover { background: #d3a02d; color: #1b1300; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-2); color: #fff; }
.btn--outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #8a2a16; color: #fff; }
.btn--sm { padding: 9px 14px; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn[data-steun-open][disabled] { opacity: .85; cursor: default; }
.btn__sub { font-weight: 400; font-size: 1rem; opacity: .85; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Paginakop ---------- */
.page-hero { background: var(--forest); color: #fff; padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(32px, 4vw, 52px); }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #c2d1cc; margin: 0; }
.page-hero .eyebrow { color: #b9cbc6; }
.page-hero--short { padding-bottom: clamp(28px, 3.5vw, 44px); }
.page-hero .btn-row.mt { margin-top: 22px; }

/* ---------- Eerste scherm ---------- */
.opener { background: var(--forest); color: #fff; padding: calc(var(--header-h) + clamp(18px, 2vw, 26px)) 0 0; }
.opener__where { color: #b9cbc6; font-size: 1.0625rem; font-weight: 400; margin: 0 0 8px; }
.opener__title { color: #fff; font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 14px; }
.opener__quote { color: #fff; font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 400; margin: 0 0 4px; max-width: none; }
.opener__fact { color: #cfdcd8; font-size: clamp(1.05rem, 1.3vw, 1.15rem); margin: 0; max-width: 72ch; text-wrap: pretty; }
.opener__fact strong { background: var(--red); color: #fff; padding: 0 .3em; border-radius: 3px; font-weight: 600; }

.wewant { background: var(--forest); color: #fff; border-top: 1px solid rgba(255, 255, 255, .14); }
.wewant > .wrap { padding-block: clamp(18px, 1.8vw, 24px); display: grid; gap: 14px; }
.wewant__title { color: #b9cbc6; font-size: 1.0625rem; font-weight: 400; letter-spacing: .01em; margin: 0; }
.wewant__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 28px; }
.wewant__grid li { display: flex; align-items: baseline; gap: 12px; font-weight: 400; font-size: 1.0625rem; line-height: 1.4; color: #fff; }
.wewant__no { color: #b9cbc6; font-weight: 400; font-variant-numeric: tabular-nums; }
.wewant__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.wewant__link { color: #e4ecea; font-weight: 400; }
.wewant__link:hover { color: #fff; }
@media (max-width: 860px) {
  .wewant__grid { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Schuifbeeld ---------- */
.compare { margin: 0; }
.compare__stage { position: relative; width: 100%; aspect-ratio: 1672 / 941; border-radius: 6px; overflow: hidden; background: #0b2c2b; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__img--over { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__img--base { transition: opacity .3s; }
.compare__img--base.is-fading { opacity: 0; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: flex; align-items: center; justify-content: center; cursor: ew-resize; outline: none; z-index: 3; }
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.compare__grip { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; box-shadow: none; border: 1px solid rgba(14, 59, 58, .4); }
.compare__grip svg { width: 22px; height: 22px; }
.compare__handle:focus-visible .compare__grip { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.compare__tag { position: absolute; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 4px; font: 400 1rem/1.25 var(--sans); letter-spacing: .01em; word-spacing: normal; color: #fff; background: rgba(20, 28, 27, .8); pointer-events: none; max-width: 46%; }
.compare__tag--left { left: 12px; background: rgba(30, 84, 46, .92); }
.compare__tag--right { right: 12px; }
.compare__tag--red { background: rgba(200, 50, 31, .95); }
.compare__tag--duo { display: flex; flex-direction: column; text-align: left; }
.compare__tag--duo b { font-weight: 600; }
.compare__tag--duo span { font-weight: 400; font-size: 1em; }
.compare__badge { position: absolute; left: 12px; bottom: 12px; z-index: 4; padding: 2px 7px; border-radius: 4px; font-size: .75rem; line-height: 1.4; color: rgba(255, 255, 255, .92); background: rgba(20, 28, 27, .45); pointer-events: none; max-width: calc(100% - 24px); }
.compare__hint { display: none; }
.compare--hero { max-width: 1600px; margin: clamp(16px, 1.6vw, 22px) auto 0; }
.compare--hero .compare__stage { aspect-ratio: auto; height: clamp(220px, calc(100svh - 470px), 620px); border-radius: 0; }
.compare--hero .compare__img { object-position: 50% 80%; }
.compare--hero .compare__tag { top: 16px; font-size: 1.0625rem; padding: 8px 12px; }
.compare--hero .compare__tag--left { left: 16px; }
.compare--hero .compare__tag--right { right: 16px; }
@media (max-width: 640px) {
  .compare--hero .compare__stage { height: auto; aspect-ratio: 1 / 1; }
  .compare--hero .compare__img { inset: auto 0 0 0; height: 145%; object-position: 50% 100%; }
  .compare__tag, .compare--hero .compare__tag { font-size: 1rem; padding: 5px 8px; top: 10px; }
  .compare--hero .compare__tag--left, .compare__tag--left { left: 10px; }
  .compare--hero .compare__tag--right, .compare__tag--right { right: 10px; }
}
.compare-block + .compare-block { margin-top: clamp(48px, 7vw, 88px); }
.compare-block h2 { margin-bottom: 16px; }
.photo-now { border-radius: 6px; overflow: hidden; }
.photo-now img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 640px) {
  .compare:not(.compare--hero) .compare__stage { aspect-ratio: 4 / 3; }
  .photo-now img { aspect-ratio: 4 / 3; }
  .compare:not(.compare--hero) .compare__tag { font-size: 1rem; }
  .compare--hero .compare__tag--right { max-width: 48%; }
}
.variants { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; margin-bottom: 16px; background: #fff; }
.variants button { font: 400 1rem/1.2 var(--sans); border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 16px; cursor: pointer; }
.variants button:last-child { border-right: 0; }
.variants button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.variants button:not([aria-pressed="true"]):hover { background: var(--sand); }
@media (max-width: 520px) {
  .compare .variants { display: grid; grid-template-columns: 1fr; width: 100%; }
  .compare .variants button { border-right: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 12px 16px; }
  .compare .variants button:last-child { border-bottom: 0; }
}

/* ---------- Stemmen ---------- */
.partic { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.partic__title { margin-bottom: 18px; }
.partic__choices { margin-bottom: 18px; }
.partic__side { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.partic__count { font: 600 clamp(2.6rem, 4.5vw, 3.6rem)/1 var(--sans); letter-spacing: -.02em; color: var(--forest); margin: 0 0 10px; }
.partic__label { font-weight: 400; color: var(--ink); margin: 0 0 4px; line-height: 1.45; }
.partic__live { margin: 16px 0 0; }
.partic__live b { color: var(--forest); }
.partic__steun { margin-top: 20px; }
.partic__thanks { font-size: 1.3rem; font-weight: 600; color: var(--forest); margin: 0 0 12px; }
.partic__done .bars { margin: 14px 0; }
@media (max-width: 860px) {
  .partic { grid-template-columns: 1fr; }
  .partic__side { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
}

/* ---------- Formulieren ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 32px); color: var(--ink); }
.section:not(.section--forest) .form-card { background: transparent; border: 0; border-radius: 0; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-size: 1.15rem; font-weight: 600; color: var(--forest); padding: 0; margin-bottom: 12px; }
legend .note { display: block; font-weight: 400; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 8px; margin-bottom: 8px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.form-card > .choice { margin-bottom: 18px; }
.choice:hover { border-color: var(--forest); }
.choice:has(input:checked) { border-color: var(--forest); background: #f1f6f4; box-shadow: inset 0 0 0 1px var(--forest); }
.choice:has(input:focus-visible) { outline: 3px solid var(--forest); outline-offset: 2px; }
.choice input { appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 5px 0 0; border: 1.5px solid #8a9994; background: #fff; display: grid; place-items: center; cursor: pointer; }
.choice input[type="radio"] { border-radius: 50%; }
.choice input[type="checkbox"] { border-radius: 4px; }
.choice input:checked { background: var(--forest); border-color: var(--forest); }
.choice input::after { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%; transform: scale(0); }
.choice input[type="checkbox"]::after { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; }
.choice input:checked::after { transform: scale(1); }
.choice input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.choice > span { font-size: 1.0625rem; line-height: 1.5; }
.choice b { display: block; font-weight: 400; color: var(--ink); }
.choice b:not(:only-child) { font-weight: 600; }
.choice span span { display: block; font-size: 1rem; color: var(--ink-soft); }
label.field { display: block; font-weight: 400; font-size: 1.0625rem; margin-bottom: 18px; color: var(--ink); }
label.field small { font-weight: 400; font-size: 1rem; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea { display: block; width: 100%; margin-top: 6px; font: 400 1.0625rem/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 14px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--forest); outline-offset: -1px; border-color: var(--forest); box-shadow: none; }
.choice input:focus { outline: none; }
.msg { margin-top: 16px; padding: 12px 16px; border-radius: 6px; display: none; }
.msg.show { display: block; }
.msg--ok { background: #edf4e6; color: #28461a; }
.msg--err { background: #fbe9e5; color: #6f1f0f; }

/* Tijdelijke toegangspoort: zonder pincode is alleen dit scherm zichtbaar. */
.access-page { min-height: 100vh; background: var(--cream); }
.access { width: min(600px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; display: grid; align-content: center; gap: 28px; padding: 40px 0; }
.access > img { width: min(280px, 80%); height: auto; margin: 0 auto; }
.access__intro { text-align: center; }
.access__intro .eyebrow { margin-bottom: 8px; color: var(--forest); }
.access__intro h1 { margin: 0 auto 14px; max-width: 18ch; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.08; }
.access__intro p:not(.eyebrow) { max-width: 55ch; margin: 0 auto 10px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); }
.access__intro p:last-child { margin-bottom: 0; color: var(--forest); font-weight: 600; }
.access__form { border-top: 1px solid var(--line); padding-top: 28px; }
.access__form .btn { width: 100%; }
.counter { font-size: 1rem; color: var(--ink-soft); text-align: right; margin-top: 4px; font-weight: 400; }
.tabs-note { margin: 20px 0 0; }

/* ---------- Uitslag ---------- */
.bars { display: grid; gap: 16px; }
.bar__top { display: flex; justify-content: space-between; gap: 16px; color: var(--ink); margin-bottom: 6px; font-size: 1.0625rem; line-height: 1.4; }
.bar__top span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-soft); }
.bar__track { height: 8px; border-radius: 4px; background: rgba(31, 45, 43, .1); overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: var(--forest); transition: width .6s ease; }
.bar--gold .bar__fill { background: var(--forest); }
.results-meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-bottom: 26px; }
.results-meta div { font-size: 1.0625rem; color: var(--ink-soft); }
.results-meta b { display: block; font-size: 2rem; font-weight: 600; line-height: 1.1; color: var(--forest); }
.empty { color: var(--ink-soft); margin: 18px 0 0; }
#dashboard .empty:not([hidden]) ~ h3,
#dashboard .empty:not([hidden]) ~ .bars,
#dashboard .empty:not([hidden]) ~ [data-r="relation"] { display: none; }
#dashboard .results-meta:has(+ .empty:not([hidden])) { display: none; }
#dashboard .empty { margin: 0 0 1.1em; }

/* ---------- Ideeën ---------- */
.ideas { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.wrap > .ideas { max-width: 720px; margin-inline: auto; }
.ideas--compact { margin-top: 18px; }
.idea { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; }
.idea p { margin: 0 0 8px; white-space: pre-line; overflow-wrap: anywhere; }
.idea footer { font-size: 1rem; color: var(--ink-soft); }
#ideas-list + p { margin-top: 14px; }
.asks { list-style: none; counter-reset: a; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.asks li { counter-increment: a; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.5; }
.asks li::before { content: counter(a); flex: 0 0 1.2em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ---------- Gezegd en op papier ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px clamp(24px, 4vw, 56px); padding: 26px 0; border-top: 1px solid var(--line); }
.pair:first-child { border-top: 0; padding-top: 0; }
.pair p { margin: 0 0 .5em; }
.pair p:last-child { margin-bottom: 0; }
.pair__label { display: block; font-size: 1rem; color: var(--ink-soft); margin-bottom: 6px; }
.pair__said p:first-of-type { font-size: 1.2rem; line-height: 1.5; font-weight: 400; color: var(--forest); }
.pair__paper > p:first-of-type:not(.quote) { font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.pair .note { margin-top: 4px; }
.quote { border-left: 2px solid var(--line-strong); padding: 2px 0 2px 16px; margin: 10px 0 14px; color: var(--ink); max-width: 62ch; }
.quote small { display: block; color: var(--ink-soft); margin-top: 4px; font-size: 1rem; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; gap: 22px; } }

.meter { display: flex; flex-direction: column; margin: 4px 0 30px; }
.meter__track { order: 1; position: relative; height: 8px; margin: 128px 0 0 0; border-radius: 4px; background: linear-gradient(90deg, #8fb97a, #e3c05a 55%, var(--red)); }
.meter__marker { position: absolute; top: 50%; left: 100%; width: 0; transition: left 2.4s cubic-bezier(.3, .7, .2, 1); }
/* De stip schuift van groen naar 4.2 zodra de meter in beeld komt (site.js zet .in). */
.js .meter:not(.in) .meter__marker { left: 18px; }
.js .meter:not(.in) .meter__label { opacity: 0; }
.meter__pin { position: absolute; left: -18px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid var(--sand); }
.meter__label { position: absolute; left: 0; bottom: 18px; transform: translateX(-100%); background: var(--red); color: #fff; font: 600 1.1rem/1 var(--sans); padding: 7px 10px; border-radius: 4px; white-space: nowrap; transition: opacity .5s ease 1.9s; }
.meter__ends { order: 2; display: flex; justify-content: space-between; gap: 16px; margin: 12px 0 0 0; font-size: 1.0625rem; font-weight: 400; }
.meter__good { color: #2f6b1f; }
.meter__bad { color: #a8281a; }
.factory { position: absolute; right: 64px; bottom: 100%; width: clamp(76px, 11%, 108px); height: auto; overflow: visible; }
.factory .smoke circle { fill: #6b7076; opacity: 0; transform-box: fill-box; transform-origin: center; animation: smoke 4.2s ease-out infinite; }
.factory .s2 { animation-delay: 1.4s; } .factory .s3 { animation-delay: 2.8s; }
.factory .s4 { animation-delay: .7s; } .factory .s5 { animation-delay: 2.1s; } .factory .s6 { animation-delay: 3.5s; }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: .6; } 100% { opacity: 0; transform: translate(22px, -80px) scale(2.3); } }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(24px, 4vw, 56px); margin: 0 0 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.facts h3 { margin-bottom: 8px; }
.facts ul { margin: 0; padding-left: 1.1em; }
.facts li { margin-bottom: 4px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- School ---------- */
.school-text p { font-size: 1.2rem; line-height: 1.55; margin: 0 0 .5em; max-width: 62ch; }
.dist { --p285: 71.25%; --p300: 75%; margin: 28px 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.dist__track { position: relative; display: flex; height: 48px; }
.dist__seg { display: flex; align-items: center; font-size: 1rem; font-weight: 400; letter-spacing: 0; word-spacing: 0; white-space: nowrap; overflow: hidden; }
.dist__seg--polder { flex: 0 0 var(--p285); background: #cfe0bf; color: #2c4a1f; padding-left: 14px; border-radius: 4px 0 0 4px; }
.dist__seg--edge { flex: 0 0 calc(var(--p300) - var(--p285)); background: #9aa2aa; }
.dist__seg--red { flex: 1 1 auto; background: var(--red); color: #fff; justify-content: center; text-align: center; white-space: normal; line-height: 1.15; padding: 0 10px; border-radius: 0 4px 4px 0; }
.dist__tick { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; background: var(--forest); }
.dist__tick--0 { left: 0; margin-left: 0; }
.dist__tick--285 { left: var(--p285); }
.dist__tick--300 { left: var(--p300); background: var(--danger); }
.dist__labels { position: relative; height: 2.9em; font-size: 1rem; letter-spacing: 0; word-spacing: 0; }
.dist__labels--top { margin-bottom: 10px; }
.dist__labels:not(.dist__labels--top) { margin-top: 10px; }
.dist__lab { position: absolute; top: 0; line-height: 1.3; color: var(--ink-soft); }
.dist__lab b { display: block; color: var(--forest); font-weight: 600; font-size: 1.0625rem; }
.dist__lab--0 { left: 0; }
.dist__lab--285 { right: calc(100% - var(--p285)); text-align: right; padding-right: 8px; }
.dist__lab--300 { right: calc(100% - var(--p300)); text-align: right; padding-right: 8px; }
.dist__lab--300 b { color: var(--danger); }
@media (max-width: 560px) {
  .dist__long { display: none; }
  .dist__track { height: 72px; }
  .dist__seg { font-size: 1rem; }
  .dist__seg--red { padding: 0 8px; line-height: 1.25; }
  .dist__labels { height: 3em; }
}

/* ---------- De stukken ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.timeline li { padding: 14px 0; border-top: 1px solid var(--line); }
.timeline time { display: block; font-size: 1rem; color: var(--ink-soft); }
.timeline h3 { margin: 2px 0 6px; }
.timeline p { margin: 0; }
.docs { display: grid; border-top: 1px solid var(--line); }
.doc { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc__type { grid-column: 1 / -1; font-size: 1rem; color: var(--ink-soft); }
.doc h3 { font-size: 1.0625rem; font-weight: 400; line-height: 1.45; margin: 0; color: var(--ink); }
.doc p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.doc a { white-space: nowrap; }
.doc .soon { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 640px) { .doc { grid-template-columns: 1fr; } }
.open-list { margin: 0; border-top: 1px solid var(--line); }
.open-list div { display: grid; grid-template-columns: 170px 1fr; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.open-list dt { font-weight: 600; color: var(--forest); }
.open-list dd { margin: 0; }
@media (max-width: 560px) { .open-list div { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-strong); padding-top: 12px; }
.steps li::before { content: counter(s); display: block; color: var(--ink-soft); margin-bottom: 2px; }
.steps h3 { margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; max-width: 62ch; }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }
ul.prose { padding-left: 1.2em; margin: 0; }

/* ---------- Steun ---------- */
html:not(.js) [data-steun-open] { display: none; }
html.steun-open { overflow: hidden; }
.steun__points, .steun-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 6px; }
.steun__points li, .steun-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.steun__points li::before, .steun-list li::before { content: ""; position: absolute; left: 3px; top: .52em; width: 12px; height: 7px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.steun-sec { background: var(--sand); padding-block: clamp(44px, 6vw, 80px); }
.steun-sec + .section--sand { border-top: 1px solid var(--line); }
.steun-list { font-size: 1.15rem; }
.steun-sec__count { margin: 16px 0 0; }
.steun { width: min(100% - 32px, 520px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 8px; background: var(--paper); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.steun:not([open]) { display: none; }
.steun::backdrop { background: rgba(14, 59, 58, .6); }
.steun.is-fallback { position: fixed; top: 50%; left: 50%; z-index: 200; transform: translate(-50%, -50%); }
.steun__form, .steun__done { position: relative; padding: clamp(22px, 4vw, 34px); }
.steun h2 { font-size: 1.5rem; margin: 0 52px 14px 0; }
.steun__done h2 { margin-right: 0; }
.steun__done h2:focus { outline: none; }
.steun__done .btn { margin: 8px 10px 0 0; }
.steun__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--ink-soft); font: 400 1.9rem/1 var(--sans); cursor: pointer; }
.steun__close:hover { background: var(--sand); color: var(--forest); }
.steun .choice { margin-bottom: 18px; }
.steun__form > .btn--gold { width: 100%; }
.steun .note { margin: 14px 0 0; }
@media (max-width: 640px) {
  .steun { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .steun.is-fallback { top: 0; left: 0; transform: none; }
  .steun__done .btn { width: 100%; margin-right: 0; }
}

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: #b9cbc6; padding: 56px 0 30px; font-size: 1.0625rem; }
.footer a { color: #e4ecea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer p { margin: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer img { height: 64px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 1rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Beheer (gedeelde onderdelen) ---------- */
.admin-item { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; display: grid; gap: 10px; }
.admin-item p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .meter__label { transition-delay: 0s; }
  .factory .smoke circle { animation: none; opacity: .45; }
  .factory .s2, .factory .s3, .factory .s5, .factory .s6 { display: none; }
}
.wewant__no::after { content: "."; }

/* =================== Ons plan =================== */
.opener__fact { margin-top: 2px; }
.opener__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 18px 0 0; }
.wewant > .wrap { padding-block: clamp(26px, 3vw, 40px); gap: 18px; }
.plan6 { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px clamp(24px, 3vw, 44px); }
.plan6 li { counter-increment: p; display: grid; grid-template-columns: 1.4em minmax(0, 1fr); align-content: start; line-height: 1.45; }
.plan6 li::before { content: counter(p) "."; color: #b9cbc6; font-variant-numeric: tabular-nums; }
.plan6 b { font-weight: 600; color: #fff; }
.plan6 span { grid-column: 2; color: #cfdcd8; font-size: 1.0625rem; }
.plan6__foot { margin: 4px 0 0; color: #cfdcd8; }
.plan6__foot a { color: #fff; margin-left: 10px; white-space: nowrap; }
@media (max-width: 900px) { .plan6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan6 { grid-template-columns: 1fr; gap: 16px; } .plan6__foot a { display: block; margin: 6px 0 0; } }

.pair--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pair__plan { border-left: 2px solid var(--forest); padding-left: clamp(14px, 1.6vw, 22px); }
.pair__plan .pair__label { color: var(--forest); font-weight: 600; }
.pair__plan > p:first-of-type { font-size: 1.2rem; line-height: 1.5; color: var(--forest); }
@media (max-width: 900px) { .pair--three { grid-template-columns: 1fr; gap: 22px; } }

.compare__cap { margin: 10px 0 0; }
ol.steun__points, ol.steun-list { counter-reset: s; }
ol.steun__points li, ol.steun-list li { counter-increment: s; }
ol.steun__points li::before, ol.steun-list li::before { content: counter(s) "."; border: 0; transform: none; width: auto; height: auto; left: 0; top: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.planlist { list-style: none; counter-reset: pl; margin: 0; padding: 0; }
.planlist > li { counter-increment: pl; padding: 30px 0; border-top: 1px solid var(--line); }
.planlist > li:first-child { border-top: 0; padding-top: 0; }
.planlist h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0 0 8px; }
.planlist h2::before { content: counter(pl) ". "; color: var(--ink-soft); font-weight: 400; }
.planlist__ask { font-size: 1.25rem; line-height: 1.5; color: var(--forest); margin: 0 0 16px; }
.planlist .quote { margin: 8px 0; }
.planlist .note { margin: 10px 0 0; }
.planpage__line { font-size: 1.3rem; font-weight: 600; color: var(--forest); margin: 18px 0 10px; }
.planpage__version { margin-top: 22px; }

@media print {
  @page { size: A4; margin: 14mm 16mm; }
  html, body { background: #fff !important; color: #000; font-size: 10.5pt; line-height: 1.4; letter-spacing: 0; word-spacing: 0; }
  .header, .footer, .skip, .btn-row, dialog, .menu-btn { display: none !important; }
  .page-hero { background: #fff !important; color: #000; padding: 0 0 8pt; border-bottom: 1pt solid #000; }
  .page-hero h1 { color: #000; font-size: 20pt; margin: 0 0 4pt; }
  .page-hero h1 br { display: none; }
  .page-hero .lead, .page-hero .eyebrow { color: #000; font-size: 10.5pt; margin: 0 0 2pt; }
  .section, .section--sand { background: #fff !important; padding: 8pt 0 0; }
  .narrow, .wrap { width: 100%; max-width: none; }
  .planlist > li { padding: 7pt 0; break-inside: avoid; border-top: .5pt solid #999; }
  .planlist h2 { font-size: 12.5pt; margin: 0 0 2pt; }
  .planlist__ask { font-size: 11pt; color: #000; font-weight: 600; margin: 0 0 3pt; }
  .planlist .quote { margin: 2pt 0; padding: 0 0 0 8pt; border-left: 1pt solid #999; font-size: 9.5pt; max-width: none; }
  .planlist .quote small { display: inline; font-size: 9pt; margin: 0 0 0 4pt; }
  .planlist .quote small::before { content: "("; } .planlist .quote small::after { content: ")"; }
  .planlist .note, .planpage__version { font-size: 9pt; margin: 2pt 0 0; color: #000; }
  .planpage__lock h2 { font-size: 12.5pt; margin: 0 0 2pt; }
  .planpage__lock .lead, .planpage__lock p { font-size: 10.5pt; color: #000; margin: 0 0 2pt; max-width: none; }
  .planpage__line { font-size: 11pt; margin: 4pt 0; color: #000; }
  a { color: #000; text-decoration: none; }
}

/* =================== Na controle =================== */
@media (min-width: 641px) and (max-height: 800px) { .compare--hero .compare__img { object-position: 50% 45%; } }
@media (max-width: 429px) { .opener__title, .planpage .page-hero h1 { font-size: clamp(1.6rem, 7.2vw, 2rem); } }
@media (min-width: 641px) {
  .steun { width: min(100% - 32px, 620px); }
  .steun__points { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .steun label.field { margin-bottom: 12px; }
  .steun__form { padding-block: 24px; }
}
@media print {
  html, body { font-size: 12pt; }
  .planlist__ask, .planlist .note, .page-hero .lead, .planpage__lock p, .planpage__lock .lead { max-width: none; }
  .planlist h2, .planpage__lock h2 { font-size: 14pt; }
  .planlist__ask { font-size: 12.5pt; line-height: 1.35; }
  .planlist .quote { font-size: 11pt; }
  .planlist .quote small, .planlist .note, .planpage__version { font-size: 10.5pt; }
  .planpage__lock .lead, .planpage__lock p { font-size: 12pt; }
  .planpage__line { font-size: 12.5pt; }
}
@media (max-width: 560px) {
  .opener__actions { gap: 10px; margin-top: 14px; }
  .opener__actions .btn { flex: 1 1 0; padding-inline: 10px; white-space: nowrap; text-align: center; justify-content: center; }
  .opener__actions .wewant__link { flex: 1 1 100%; }
}

/* =================== Hoor de wethouder =================== */
.hear { margin: 16px 0 0; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .45); max-width: 68ch; }
.hear__text { color: #fff; margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.55; }
.hear__meta { color: #b9cbc6; margin: 0; font-size: 1rem; }
.hear__stop { margin-left: 12px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; background: transparent; color: #fff; font: 400 1rem/1.2 var(--sans); cursor: pointer; }
.hear__stop:hover { background: rgba(255, 255, 255, .1); }
.hear.is-done .hear__stop { display: none; }

/* =================== Homepage: verhaal in vijf stappen =================== */
.hero { position: relative; margin-top: var(--header-h); height: clamp(600px, calc(100svh - var(--header-h)), 820px); display: flex; align-items: flex-end; overflow: hidden; background: var(--forest); }
.hero__visual, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__visual { background: var(--forest); }
.hero__img { object-fit: cover; object-position: 50% 62%; opacity: 0; transform: scale(1.015); transition: opacity .9s ease, transform 6s ease; }
.hero[data-state="statement"] .hero__img--polder, .hero[data-state="decision"] .hero__img--industry, .hero[data-state="plan"] .hero__img--green, .hero[data-state="possible"] .hero__img--industry { opacity: 1; transform: scale(1); }
.hero__school { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity .9s ease, transform 6s ease; }
.hero__school img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__school-industry { clip-path: inset(0 0 0 50%); }
.hero__school-line { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255, 255, 255, .9); }
.hero[data-state="school"] .hero__school { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 30, 29, .9) 0%, rgba(7, 30, 29, .68) 38%, rgba(7, 30, 29, .12) 72%), linear-gradient(0deg, rgba(7, 30, 29, .55) 0%, transparent 34%); pointer-events: none; }
.hero__body { position: relative; z-index: 2; color: #fff; padding-bottom: clamp(100px, 14vh, 136px); }
.hero__panel { max-width: 880px; }
.hero__title { color: #fff; font-size: clamp(2.3rem, 4.8vw, 4.35rem); font-weight: 600; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; max-width: 790px; }
.hero__text { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.5; margin: 0 0 24px; max-width: 39em; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero :focus-visible { outline-color: var(--gold-2); }
.hero__story { position: absolute; z-index: 3; left: 50%; bottom: 18px; width: min(100% - 40px, var(--wrap)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 12px; }
.hero__story button { position: relative; display: block; min-height: 48px; padding: 14px 0 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font: 400 1rem/1.3 var(--sans); text-align: left; cursor: pointer; transition: color .2s ease; }
.hero__story button::before, .hero__story button::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, .35); }
.hero__story button::after { background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hero__story button:hover { color: #fff; }
.hero__story button:hover::before { background: rgba(255, 255, 255, .6); }
.hero__story button:has(~ button[aria-pressed="true"])::after, .hero__story button[aria-pressed="true"]::after { transform: scaleX(1); }
.hero__story button[aria-pressed="true"] { color: #fff; font-weight: 600; }
.hero.is-playing .hero__story button[aria-pressed="true"]::after { animation: step-fill var(--step-dur, 2s) linear both; }
.hero__story .hero__story-danger[aria-pressed="true"]::after { background: #e5675e; }
.hero__story-no { margin-right: 8px; font-weight: 400; font-variant-numeric: tabular-nums; opacity: .75; }
@keyframes step-fill { from { transform: scaleX(0); } }
.hero__note { display: none; position: absolute; z-index: 3; right: 24px; top: 18px; margin: 0; padding: 2px 7px; border-radius: 4px; color: rgba(255, 255, 255, .92); background: rgba(20, 28, 27, .45); font-size: .75rem; line-height: 1.4; }
.hero[data-state="decision"] .hero__note, .hero[data-state="possible"] .hero__note, .hero[data-state="plan"] .hero__note, .hero[data-state="school"] .hero__note { display: block; }
.compare--school .compare__stage { aspect-ratio: 16 / 9; }
.compare__cap { margin: 9px 0 0; }
#plan { scroll-margin-top: var(--header-h); }

.plan__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.plan__head h2 { margin: 0; }
.plan__head p { margin: 0; color: var(--ink-soft); }
.plan__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.plan__grid li { padding: 22px 0 34px; border-top: 1px solid var(--line-strong); }
.plan__no { display: block; margin: 0 0 16px; font-size: 2.75rem; line-height: 1; font-weight: 400; color: var(--leaf); font-variant-numeric: tabular-nums; }
.plan__grid h3 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 6px; }
.plan__grid p { margin: 0; color: var(--ink); max-width: none; }
.plan__grid p b { font-weight: 600; color: var(--forest); }
.plan__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
@media (max-width: 980px) { .plan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero { height: clamp(650px, calc(100svh - var(--header-h)), 780px); }
  .hero__body { padding-bottom: 100px; }
  .hero__title { font-size: clamp(2rem, 10vw, 3.2rem); }
  .hero__note { top: 48px; right: 10px; font-size: .7rem; }
  .compare--school .compare__stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(0deg, rgba(7, 30, 29, .9) 0%, rgba(7, 30, 29, .58) 58%, rgba(7, 30, 29, .08) 100%); }
  .hero__img { object-position: 55% 50%; }
  .hero__body { padding-bottom: 88px; }
  /* Op de telefoon: de naam van elke stap onder de lijn, zonder cijfer. */
  .hero__story { display: flex; width: calc(100% - 40px); gap: 0 8px; }
  .hero__story button { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero__story-no { display: none; }
  .hero__panel { max-width: none; }
  .hero__text { margin-bottom: 18px; }
  .hero__actions .btn { flex: 1 1 0; padding-inline: 10px; white-space: nowrap; justify-content: center; text-align: center; }
  .plan__grid { grid-template-columns: 1fr; }
  .plan__grid li { padding: 18px 0 24px; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 8px; }
  .plan__no { grid-row: span 2; font-size: 2.1rem; margin: 0; }
  .plan__grid p { max-width: none; }
  .plan__foot .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
}

.hear-row { margin: 22px 0 0; }
.section .hear { border-left-color: var(--line-strong); }
.section .hear__text { color: var(--ink); }
.section .hear__meta { color: var(--ink-soft); }
.section .hear__stop { border-color: var(--line-strong); color: var(--forest); }
.section .hear__stop:hover { background: rgba(14, 59, 58, .06); }
@media (max-width: 429px) { .hero__title { font-size: clamp(1.6rem, 7.2vw, 2rem); } }

/* =================== Homepage: groot logo dat uit de balk hangt, klein na scrollen =================== */
.header--home .wrap { height: var(--header-h); }
.header--home .brand { align-self: flex-start; }
.header--home .brand img { height: 136px; margin-top: 10px; transition: height .25s ease, margin-top .25s ease; }
.header--home.is-scrolled .brand img, .menu-open .header--home .brand img { height: 46px; margin-top: 11px; }
@media (max-width: 640px) { .header--home .brand img { height: 100px; margin-top: 8px; } }

/* =================== Beweging: zacht en licht =================== */
/* De kop van het eerste blok steekt al in beeld, maar het witte vlak blijft
   volledig onder de foto en schuift er niet overheen. */
:root { --peek: clamp(88px, 17vh, 140px); }
.hero { position: relative; top: auto; z-index: 0; height: clamp(500px, calc(100svh - var(--header-h) - var(--peek)), 860px); }
.hero__body { padding-bottom: 142px; }
.hero__story { bottom: 40px; }
.sheet { position: relative; z-index: 1; margin-top: 0; background: var(--cream); }
.sheet > .section:first-of-type { padding-top: 78px; }

/* Knopje 'Lees verder' staat volledig in het witte vlak, met een dunne lijn eromheen. Verdwijnt zodra je scrolt. */
.cue { position: absolute; z-index: 2; top: 16px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px 0 20px; border: 1px solid var(--line-strong); border-radius: 22px; background: transparent; color: var(--forest); font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap; transition: opacity .3s ease, visibility .3s ease; }
.cue:hover { color: var(--forest); background: rgba(14, 59, 58, .06); border-color: var(--forest); }
.cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
.scrolled .cue { opacity: 0; visibility: hidden; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (min-width: 901px) and (max-height: 720px) { .hero__title { font-size: clamp(2.2rem, 3.8vw, 3.2rem); } }
@media (max-width: 900px) { .hero { height: clamp(440px, calc(100svh - var(--header-h) - var(--peek)), 780px); } .hero__body { padding-bottom: 134px; } }
@media (max-width: 640px) { .hero__body { padding-bottom: 114px; } .hero__story { bottom: 24px; } .cue { top: 14px; height: 40px; padding: 0 14px 0 18px; } .sheet > .section:first-of-type { padding-top: 70px; } }

/* Wisselen van stap: het beeld vloeit over en komt langzaam dichterbij.
   De oude tekst vervaagt eerst, daarna komt de nieuwe zacht op. Alle teksten staan op dezelfde plek. */
.hero__img, .hero__school { transform: scale(1.06); transition: opacity 1.5s cubic-bezier(.45, 0, .25, 1), transform 9s cubic-bezier(.2, .6, .3, 1); }
.js .hero__body { display: grid; align-items: end; }
.js .hero__panel { grid-area: 1 / 1; justify-self: start; }
.js .hero__panel[hidden] { display: block !important; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .4s ease, transform .4s ease, visibility 0s .4s; }
.js .hero__panel:not([hidden]) > * { animation: rise .8s cubic-bezier(.22, .61, .36, 1) .35s both; }
.js .hero__panel:not([hidden]) > :nth-child(2) { animation-delay: .43s; }
.js .hero__panel:not([hidden]) > :nth-child(3) { animation-delay: .51s; }
.js .hero__panel:not([hidden]) > :nth-child(4) { animation-delay: .59s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Blokken komen zacht in beeld bij scrollen (site.js zet .rv en daarna .is-in). */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.22, .61, .36, 1) var(--rv-d, 0s), transform .75s cubic-bezier(.22, .61, .36, 1) var(--rv-d, 0s); }
.rv.is-in { opacity: 1; transform: none; }

/* De afstandsbalk bij de school groeit van de school naar het terrein. */
.dist__track { transition: clip-path 1.5s cubic-bezier(.22, .61, .36, 1) .25s; }
.dist.rv:not(.is-in) .dist__track { clip-path: inset(0 100% 0 0); }
.dist.rv.is-in .dist__track { clip-path: inset(0); }

/* Pijltjes in knoppen en links schuiven een stukje mee. */
.arrow { display: inline-block; transition: transform .2s ease; }
a:hover > .arrow, button:hover > .arrow { transform: translateX(3px); }
a[href^="#"]:hover > .arrow { transform: translateY(3px); }

/* Alleen in browsers die dit kunnen: de foto komt rustig dichterbij en een dunne lijn toont hoe ver je bent. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero__visual { animation: hero-drift linear both; animation-timeline: scroll(root block); animation-range: 0px 100vh; }
    .header::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255, 255, 255, .6); transform-origin: 0 50%; animation: progress linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes hero-drift { to { transform: scale(1.07); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media print { .rv { opacity: 1 !important; transform: none !important; transition: none !important; } .cue { display: none; } }
@media (max-width: 339px) { .hero__story-no { display: inline; margin: 0; opacity: 1; } .hero__story-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* =================== Video van de wethouder, in een venster op onze eigen site =================== */
.btn__play { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.film { width: min(100% - 32px, 960px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: 8px; background: #0b2c2b; color: #fff; overflow: hidden; }
.film::backdrop { background: rgba(7, 30, 29, .84); }
.film__video { display: block; width: 100%; height: auto; max-height: calc(100dvh - 150px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.film__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 28px; padding: 14px 20px 16px; font-size: 1rem; line-height: 1.5; }
.film__meta p { margin: 0; }
.film__meta a { color: #fff; }
.film__meta a:hover { color: #e4ecea; }
.film__close { position: absolute; z-index: 1; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 28, 27, .7); color: #fff; font: 400 1.7rem/1 var(--sans); cursor: pointer; }
.film__close:hover { background: rgba(20, 28, 27, .95); }
.film :focus-visible { outline-color: var(--gold-2); }
