/* =========================================================================
   AgriPurify. Eén stylesheet voor alle pagina's.

   Ontwerpkeuzes
   - Eén lichte thema: weide-wit, diepgroen en limoen. Eén accent (limoen). Oranje is alleen datakleur voor ammoniak.
   - Eén vormtaal: pil voor knoppen en labels, 16px voor kaarten, 12px voor invoervelden.
   - Lettertypen: Geist en Geist Mono, zelf gehost (SIL OFL).
   - De ontvangst (hero3) draait als zoomfilm zolang hero.js dat toestaat; anders staat alles netjes onder elkaar.
   ========================================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6f9ef;
  --bg-rgb: 246, 249, 239;
  --ink-rgb: 18, 48, 33;
  --stage-1: #fbfcf8;
  --stage-2: #dfe7d6;
  --card: #ffffff;
  --mint: #e6f2da;
  --deep: #10321f;              /* diepgroen paneel (molecuul, lucht) */
  --line: rgba(var(--ink-rgb), .12);
  --line-2: rgba(var(--ink-rgb), .24);
  --ui-border: #6f8978;
  --t1: #123021;
  --t2: #3b5645;
  --t3: #587162;
  --leaf: #b9e35e;              /* limoen: het ene accent (knoppen, markeringen) */
  --leaf-hover: #a9d84a;
  --leaf-ink: #123021;
  --green: #1f7a3f;             /* groen voor tekstlinks en focus */
  --alert: #e8590c;             /* alleen datakleur: ammoniak */
  --bad: #b3261e;
  --r-card: 16px;
  --r-in: 12px;
  --r-pill: 999px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --fs-h1: clamp(2.25rem, 1rem + 3.3vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1rem + 2.4vw, 3rem);
  --fs-lead: clamp(1.0625rem, .95rem + .4vw, 1.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--t2); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: var(--t1); text-underline-offset: .22em; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(185, 227, 94, .6); color: var(--t1); }
sub { font-size: .7em; line-height: 0; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 84px; }

.skip { position: absolute; left: 12px; top: -120px; z-index: 100; background: var(--t1); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.skip--2:focus { top: 58px; }

/* ---------- Typografie ---------- */
.h1 { margin: 0; font: 400 var(--fs-h1)/1.05 var(--font); letter-spacing: -.035em; color: var(--t1); text-wrap: balance; }
.h2 { margin: 0 0 .5em; font: 400 var(--fs-h2)/1.1 var(--font); letter-spacing: -.03em; color: var(--t1); text-wrap: balance; }
.h2--xl { font-size: clamp(2.25rem, 1rem + 4vw, 4.25rem); line-height: 1.04; }
.h3 { margin: 2.2em 0 .5em; font: 500 1.125rem/1.3 var(--font); letter-spacing: -.01em; color: var(--t1); }
.lead, .lede { margin: 0; max-width: 34em; font-size: var(--fs-lead); line-height: 1.5; color: var(--t2); }
.src { margin: .9em 0 0; font: 400 .8125rem/1.5 var(--font); color: var(--t3); }
.badge { display: inline-block; margin: 0 0 16px; padding: 7px 13px; border-radius: var(--r-pill); background: var(--leaf); color: var(--leaf-ink); font: 500 .75rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Balk ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); }
.bar .brand { flex: none; display: block; }
.bar .brand img { height: 24px; width: auto; max-width: none; }
.bar__right { display: flex; align-items: center; gap: 4px; }
.bar--fixed { position: fixed; z-index: 40; top: 12px; left: var(--gutter); right: var(--gutter); max-width: 1240px; margin-inline: auto; padding: 8px 8px 8px 20px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: var(--r-pill); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 6px 24px -12px rgba(var(--ink-rgb), .25); }
.linkbtn { background: none; border: 0; padding: 9px 12px; border-radius: var(--r-pill); color: var(--t2); font: 500 .875rem/1 var(--font); cursor: pointer; text-decoration: none; }
.linkbtn:hover { color: var(--t1); background: rgba(var(--ink-rgb), .06); }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; border: 0; border-radius: var(--r-pill); background: var(--leaf); color: var(--leaf-ink); font: 500 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .5s var(--ease), background .3s var(--ease); }
.btn:hover { background: var(--leaf-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--sm { padding: 4px 4px 4px 16px; gap: 10px; font-size: .875rem; }
.btn--ghost { padding: 13px 20px; background: rgba(255, 255, 255, .7); color: var(--t1); border: 1px solid var(--ui-border); }
.btn--ghost:hover { background: #fff; border-color: var(--t1); }
.arrow { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--ink-rgb), .12); transition: transform .5s var(--ease); }
.btn--sm .arrow { width: 30px; height: 30px; }
.arrow::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: currentColor; transform: translateY(-50%); }
.arrow::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.btn:hover .arrow { transform: translateX(3px); }
.arrow--link { display: inline-block; width: 1em; height: 1em; margin-left: .35em; vertical-align: -.12em; background: none; }
.arrow--link::before { left: 1px; right: 1px; }
.arrow--link::after { right: 1px; width: 6px; height: 6px; }

/* ---------- Formulier ---------- */
.signup { margin-top: 28px; max-width: 44rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1 / -1; }
.field span { font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t2); }
.field input, .field textarea { padding: 15px 16px; border: 1px solid var(--ui-border); border-radius: var(--r-in); outline: 0; background: #fff; color: var(--t1); font: 400 1rem/1.4 var(--font); }
.field textarea { resize: vertical; line-height: 1.5; }
.field input::placeholder { color: var(--t3); }
.field input:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 122, 63, .18); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: .875rem; line-height: 1.5; color: var(--t2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); }
.check--small { font-size: .875rem; margin-top: 14px; }
.form__actions { margin: 20px 0 0; }
.msg { min-height: 1.5em; margin: 12px 0 0; font-size: .9375rem; color: var(--t2); }
.msg.ok { color: var(--green); }
.msg.bad, .err { color: var(--bad); }
.signup__done .done__title { margin: 0 0 6px; font: 500 1.375rem/1.3 var(--font); color: var(--t1); }
.signup__done .done__text { margin: 0; max-width: 32em; }
.done__role { margin: 22px 0 0; padding: 0; border: 0; }
.done__role legend { padding: 0; margin-bottom: 10px; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--ui-border); border-radius: var(--r-pill); background: #fff; font-size: .875rem; color: var(--t1); transition: background .3s var(--ease); }
.chip input:checked + span { background: var(--leaf); border-color: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.done__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; }

/* ---------- Ontvangst: luchtfilm met zoom ---------- */
.hero3 { position: relative; }
.hero3__stage { position: relative; }
.hero3__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mint); }
.h3media { position: absolute; inset: 0; }
.h3media img, .h3media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h3media .h3start, .h3media .clip { display: none; }
.hero3__veil { display: none; }
.hero3__play { margin: 16px 0 0; }
.hero3--play .h3media .h3start { display: block; }
.hero3--play .h3media .clip { display: block; z-index: 3; }
.hero3__intro { position: relative; max-width: 1240px; margin: 0 auto; padding: 36px var(--gutter) 8px; }
.hero3__intro .h1 { max-width: 16em; }
.hero3__intro .lede { margin-top: 18px; }
.hero3__panels { max-width: 1240px; margin: 0 auto; padding: 24px var(--gutter) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.panel .h2 { font-size: clamp(1.375rem, 1rem + 1vw, 1.75rem); line-height: 1.15; margin-bottom: .4em; }
.panel p { margin: 0 0 .8em; font-size: 1rem; color: var(--t2); }
.panel .btn { margin-top: 6px; }
.marks { position: absolute; inset: 0; pointer-events: none; }
.hero3 .marks { z-index: 3; }
.mark { position: absolute; left: var(--ax); top: var(--ay); width: 0; height: 0; }
.mark::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: rgba(var(--ink-rgb), .45); }
.mark::after { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 1.5px; background: #fff; transform-origin: 0 50%; transform: rotate(var(--ang, -35deg)) translateX(8px); }
.mark__label { position: absolute; white-space: nowrap; padding: 8px 12px; border-radius: var(--r-pill); background: #fff; color: var(--t1); font: 500 .75rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 4px 16px -6px rgba(var(--ink-rgb), .4); }
.mark[data-dir="ne"] { --ang: -35deg; } .mark[data-dir="ne"] .mark__label { left: 42px; top: -43px; }
.mark[data-dir="nw"] { --ang: -145deg; } .mark[data-dir="nw"] .mark__label { right: 42px; top: -43px; }
.mark[data-dir="se"] { --ang: 35deg; } .mark[data-dir="se"] .mark__label { left: 42px; top: 10px; }
.mark[data-dir="sw"] { --ang: 145deg; } .mark[data-dir="sw"] .mark__label { right: 42px; top: 10px; }
.mark[data-id="vergister"] { --ax: 71%; --ay: 56%; }
.mark[data-id="container"] { --ax: 55%; --ay: 67%; }
/* in de statische stand zijn de labels de hele tijd te zien */
.hero3--live .mark { left: calc(var(--ox) + (var(--ax) - var(--ox)) * var(--s, 1) + var(--tx, 0%)); top: calc(var(--oy) + (var(--ay) - var(--oy)) * var(--s, 1) + var(--ty, 0%)); opacity: var(--mo, 0); }

/* live: sticky podium met zoom op de vergister en container */
.hero3--live { height: 440svh; }
.hero3--live .hero3__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--mint); }
.hero3--live .hero3__frame {
  --ar: 1.7778; --fx: .62; --fy: .5; --ox: 63%; --oy: 62%;
  --bw: max(100vw, calc(100svh * var(--ar))); --bh: max(100svh, calc(100vw / var(--ar)));
  position: absolute; width: var(--bw); height: var(--bh); aspect-ratio: auto; overflow: visible;
  left: min(0px, max(calc(100vw - var(--bw)), calc(50vw - var(--fx) * var(--bw))));
  top: min(0px, max(calc(100svh - var(--bh)), calc(50svh - var(--fy) * var(--bh))));
}
.hero3--live .h3media { transform: translate3d(var(--tx, 0%), var(--ty, 0%), 0) scale(var(--s, 1)); transform-origin: var(--ox) var(--oy); will-change: transform; }
.hero3--live .h3media .h3start { display: block; }
.hero3--live .h3media .h3end { display: block; z-index: 2; opacity: 0; transition: opacity .6s var(--ease); }
.hero3--live.use-end .h3media .h3end, .hero3--live.no-clip .h3media .h3end { opacity: 1; }
.hero3--live .h3media .clip { display: block; opacity: 0; transition: opacity .6s var(--ease); }
.hero3--live .h3media .clip.is-playing { opacity: 1; }
.hero3--live.no-clip .h3start, .hero3--live.no-clip .clip { display: none; }
.hero3--live .hero3__veil { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .6) 24%, rgba(var(--bg-rgb), 0) 52%); opacity: var(--io, 1); }
.hero3--live .hero3__intro { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 5vh, 56px); max-width: none; padding: 0; opacity: var(--io, 1); transform: translate3d(0, calc((1 - var(--io, 1)) * 22px), 0); }
.hero3--live .hero3__intro.is-off, .hero3--live .panel.is-off { visibility: hidden; }
.hero3--live .hero3__panels { display: block; position: absolute; inset: 0; z-index: 4; max-width: none; padding: 0; pointer-events: none; }
.hero3--live .panel { position: absolute; left: var(--gutter); top: 50%; width: min(30rem, calc(100% - 2 * var(--gutter))); padding: 28px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 50px -24px rgba(var(--ink-rgb), .5); opacity: var(--po, 0); transform: translate3d(0, calc(-50% + (1 - var(--po, 0)) * 24px), 0); pointer-events: auto; }
.hero3--live .progress { display: block; }
.progress { display: none; position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 3px; }
.progress i { display: block; height: 100%; background: var(--green); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- 3D-installatie ---------- */
.viewer { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.viewer__head { margin-bottom: 28px; }
.viewer__head .h2 { margin-bottom: .3em; }
.bezel { margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: calc(var(--r-card) + 8px); background: rgba(255, 255, 255, .6); }
.bezel__in { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-card); }
.bezel img { width: 100%; height: auto; }
.bezel figcaption { padding: 12px 8px 6px; font-size: .8125rem; color: var(--t3); }
.viewer__stage { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(70% 70% at 50% 40%, var(--stage-1), var(--stage-2)); }
.viewer__poster, .viewer__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; touch-action: none; }
.viewer__stage .viewer__poster { touch-action: auto; }
.viewer__start { position: absolute; inset: auto 0 18px 0; display: grid; justify-items: center; gap: 8px; }
.viewer__start .src { margin: 0; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .85); }
.views { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip-btn { padding: 10px 16px; border: 1px solid var(--ui-border); border-radius: var(--r-pill); background: #fff; color: var(--t1); font: 500 .875rem/1 var(--font); cursor: pointer; transition: background .3s var(--ease); }
.chip-btn:hover { border-color: var(--t1); }
.chip-btn[aria-pressed="true"] { background: var(--leaf); border-color: var(--green); }
.viewer__status { margin: 14px 0 0; }

/* ---------- Uitleg biogas ---------- */
.explain { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter) 0; }
.explain .lead { margin-bottom: 36px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps4 li { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.steps4 b { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink); font: 500 .8125rem/1 var(--mono); }
.steps4 h3, .outputs h3 { margin: 0 0 6px; font: 500 1.0625rem/1.3 var(--font); color: var(--t1); }
.steps4 p, .outputs p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.outputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.outputs > div { padding: 22px; border-radius: var(--r-card); background: var(--mint); }
.explain__bridge { margin: 36px 0 0; color: var(--t1); }
.sect-head { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter) 0; }
.sect-head .h2 { margin: 0; }

/* ---------- Uitleg stikstof (kaarten onder elkaar) ---------- */
.journey { position: relative; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter); }
.scene .frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--mint); }
.scene--erf { grid-template-columns: minmax(0, 1fr); }
.scene--mol .copy, .scene--lucht .copy, .scene--natuur .copy { grid-column: 2; }
.scene--mol .frame, .scene--lucht .frame, .scene--natuur .frame { grid-column: 1; grid-row: 1 / span 2; }
.scene--stal .frame, .scene--vloer .frame { aspect-ratio: 4 / 3; }
.scene--mol .frame { aspect-ratio: 1 / 1; }
.copy p { max-width: 30em; margin: .6em 0 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--t1); }
.copy .src { font-size: .8125rem; color: var(--t3); }
.media { position: absolute; inset: 0; }
.photo, .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster--dim { filter: saturate(.7) brightness(.6); }
.cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .frame--canvas { background: var(--deep); }
.scene--erf .marks .mark[data-id="stal"] { --ax: 40.5%; --ay: 71%; }
.scene .marks .mark[data-id="opslag"] { --ax: 16%; --ay: 75%; }
.scene .marks .mark[data-id="weiland"] { --ax: 75%; --ay: 26%; }
.scene .marks .mark[data-id="vloer"] { --ax: 58%; --ay: 71%; }
.scene .marks .mark[data-id="kelder"] { --ax: 38%; --ay: 77%; }
.scene .marks .mark[data-id="spleet"] { --ax: 17%; --ay: 56%; }
.scene .marks .mark[data-id="mest"] { --ax: 55%; --ay: 62%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t2); }
.legend__i::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--c); vertical-align: -1px; box-shadow: 0 0 0 1px var(--line-2); }
.legend__i--n { --c: #6aa7ff; } .legend__i--h { --c: #eaf1ee; } .legend__i--o { --c: #ff6b5e; } .legend__i--c { --c: #8a948f; }
.steps { display: grid; gap: .5em; }
.step { color: var(--t1); }
.meter { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.scene--lucht .meter { grid-column: 2; }
.meter__cap { margin: 0 0 18px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t2); }
.meter__bar { position: relative; height: 1px; background: var(--line-2); margin: 0 0 14px; }
.meter__fill { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--alert); transform-origin: 0 50%; transform: scaleX(var(--m, 1)); }
.meter__ticks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.meter__ticks b { display: block; font: 400 2rem/1 var(--font); letter-spacing: -.03em; color: var(--t1); }
.meter__ticks span { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.35; color: var(--t2); }
.meter .src { margin-top: 16px; }
.chartwrap { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 28px; padding: clamp(20px, 4vw, 48px); background: var(--card); }
.unit { margin: 0; }
.unit__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; width: min(100%, 24rem); }
.unit__grid i { aspect-ratio: 1; border-radius: 3px; background: rgba(var(--ink-rgb), .1); transition: background .7s var(--ease); }
.unit__grid i.ok { background: #3cb45a; }
.unit__grid i.bad { background: var(--alert); }
.unit__cap { display: grid; gap: 6px; margin-top: 14px; font-size: .875rem; color: var(--t2); }
.unit__cap small { font-size: .8125rem; color: var(--t3); line-height: 1.45; max-width: 26rem; }
.key { font: 500 .8125rem/1.2 var(--mono); letter-spacing: .04em; color: var(--t1); }
.key::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 2px; vertical-align: -1px; }
.key--ok::before { background: #3cb45a; } .key--bad::before { background: var(--alert); }
.shares { margin: 0; width: min(100%, 24rem); }
.shares__cap { margin: 0 0 10px; font: 500 .75rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--t2); }
.shares__bar { display: flex; gap: 3px; height: 34px; }
.shares__bar .s { position: relative; display: block; flex: var(--w, 0) 1 0; min-width: 0; border-radius: 4px; transition: flex-grow 1s var(--ease); }
.shares__bar b { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font: 500 .8125rem/1 var(--mono); color: var(--t1); }
.shares__bar .s--ag b { color: #fff; }
.s--ag { background: var(--alert); } .s--mo { background: #9fb8a7; } .s--ab { background: #c6d6cb; } .s--ov { background: #e1eae3; }
.shares__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--t2); }
.k { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 2px; vertical-align: -1px; }
.k--ag { background: var(--alert); } .k--mo { background: #9fb8a7; } .k--ab { background: #c6d6cb; } .k--ov { background: #e1eae3; }
.scene--natuur .frame { aspect-ratio: auto; min-height: 30rem; }

/* ---------- Erkenning ---------- */
.award { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 88px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gutter); }
.award .lead { color: var(--t1); }
.textlink { display: inline-flex; align-items: center; color: var(--t1); font-weight: 500; }

/* ---------- Contact ---------- */
.join { background: var(--mint); }
.join__in { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 150px) var(--gutter); }
.join .h2 { max-width: 14ch; }
.promise { display: grid; gap: 8px; max-width: 44rem; margin: 36px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line-2); font-size: .9375rem; color: var(--t2); }

/* ---------- Vragen en bronnen ---------- */
.faq { max-width: 52rem; margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--gutter) clamp(24px, 4vw, 56px); }
.faq__list details + details { border-top: 1px solid var(--line); }
.faq summary, .sources summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; list-style: none; cursor: pointer; color: var(--t1); font-weight: 500; }
.faq summary::-webkit-details-marker, .sources summary::-webkit-details-marker { display: none; }
.faq summary::after, .sources summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--t2); border-bottom: 1.5px solid var(--t2); transform: rotate(45deg); transition: transform .5s var(--ease); }
.faq details[open] summary::after, .sources details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 22px; max-width: 40em; }
.sources { max-width: 52rem; margin: 0 auto; padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
.sources details { border-top: 1px solid var(--line); }
.sources summary { font-size: .9375rem; color: var(--t2); }
.sources ul { display: grid; gap: 10px; margin: 0 0 8px; padding-left: 1.1em; font-size: .9375rem; }

/* ---------- Voet ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 40px var(--gutter) 56px; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.7; color: var(--t2); }
.foot p { margin: 0; }
.foot a { color: var(--t2); }
.foot a:hover { color: var(--t1); }
.foot__logo { height: 22px; width: auto; margin-bottom: 14px; }
.foot__links { text-align: right; }

/* ---------- Losse pagina's ---------- */
body.page { min-height: 100vh; display: flex; flex-direction: column; }
body.page .bar { max-width: 1240px; width: 100%; margin: 0 auto; }
.card-page, .prose { width: 100%; margin: clamp(40px, 8vw, 96px) auto; padding: 0 var(--gutter); }
.card-page { max-width: 30rem; flex: 1; }
.card-page h1, .prose h1 { margin: 0 0 .5em; font: 400 clamp(2rem, 1.2rem + 2.4vw, 3rem)/1.1 var(--font); letter-spacing: -.03em; color: var(--t1); }
.card-page p { margin: 0 0 1.2em; }
.stack { display: grid; gap: 18px; margin-top: 24px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 10px; }
.prose { max-width: 44rem; flex: 1; }
.prose h2 { margin: 2em 0 .5em; font: 500 1.25rem/1.3 var(--font); letter-spacing: -.01em; color: var(--t1); }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--mint); font-family: var(--mono); font-size: .875em; }
.prose .lead { margin-bottom: 1.5em; }
body.page .foot { width: 100%; }

/* ---------- Biogas: vergelijking WKK en opwaardering ---------- */
.explain__next { margin-top: 2.6em; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compare > div { padding: 24px; border-radius: var(--r-card); }
.compare__a { border: 1px solid var(--line); background: var(--card); }
.compare__b { background: var(--leaf); color: var(--leaf-ink); }
.compare h3 { margin: 0 0 6px; font: 500 1.125rem/1.3 var(--font); color: var(--t1); }
.compare p { margin: 0 0 .6em; font-size: 1rem; color: var(--t2); }
.compare__b p { color: var(--leaf-ink); }
.compare .tag { display: inline-block; margin: 8px 0 0; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(var(--ink-rgb), .12); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Stikstof-zoomreis: statisch (kaarten onder elkaar) ---------- */
.zoomreis { position: relative; }
.zr__title { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--gutter) 0; font: 400 var(--fs-h2)/1.1 var(--font); letter-spacing: -.03em; color: var(--t1); }
.zr__layer { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(32px, 5vw, 70px) var(--gutter); }
.zr__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--mint); }
.zr__layer--portrait .zr__frame { aspect-ratio: 4 / 3; }
.zr__layer--portrait .zr__frame .zr__media { inset: 0; }
.zr__media { position: absolute; inset: 0; }
.zr__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zr__copy p { max-width: 30em; margin: .6em 0 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--t1); }
.zr__copy .src { font-size: .8125rem; color: var(--t3); }
.zr__layer--mol { background: transparent; }
.zr__molcv { position: relative; inset: auto; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-card); background: var(--deep); }
.zr__layer--mol .legend { grid-column: 2; }
.zr__layer--mol .zr__copy { grid-column: 2; grid-row: 1; }
.zr__layer--mol .zr__molcv { grid-column: 1; grid-row: 1 / span 2; }
.progress { display: none; }
.hot { display: none; position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #ff3b30; border-radius: 50%; background: rgba(255, 59, 48, .22); box-shadow: 0 0 0 4px rgba(255, 255, 255, .55); }
.hot[data-ready] { display: block; }
@keyframes pulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.14); } }

/* live: sticky podium */
.zoomreis--live { height: calc((var(--dist, 9.4) + 1) * 100svh); }
.zoomreis--live .zr__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg); }
.zoomreis--live .zr__title { position: absolute; z-index: 6; left: 0; right: 0; top: 18%; margin: 0 auto; max-width: 1240px; padding: 0 var(--gutter); font-size: clamp(2.25rem, 1rem + 4vw, 4.5rem); opacity: var(--o, 1); }
.zoomreis--live .zr__title.is-off, .zoomreis--live .zr__layer.is-off, .zoomreis--live .zr__copy.is-off, .zoomreis--live .step.is-off { visibility: hidden; }
.zoomreis--live .zr__layer { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; opacity: var(--o, 0); }
.zoomreis--live .zr__frame {
  --ar: 1.7778; --fx: .5; --fy: .5; --ox: 50%; --oy: 50%;
  --bw: max(100vw, calc(100svh * var(--ar))); --bh: max(100svh, calc(100vw / var(--ar)));
  position: absolute; width: var(--bw); height: var(--bh); aspect-ratio: auto; overflow: visible; border: 0; border-radius: 0; background: transparent;
  left: min(0px, max(calc(100vw - var(--bw)), calc(50vw - var(--fx) * var(--bw))));
  top: min(0px, max(calc(100svh - var(--bh)), calc(50svh - var(--fy) * var(--bh))));
}
.zoomreis--live .zr__layer--portrait .zr__frame { --ar: .75; --fy: .5; }
.zoomreis--live .zr__layer[data-layer="erf"] .zr__frame { --fx: .42; }
.zoomreis--live .zr__layer[data-layer="voer"] .zr__frame { --fy: .3; }
.zoomreis--live .zr__layer[data-layer="vloer"] .zr__frame { --fy: .62; }
.zoomreis--live .zr__media { transform: scale(var(--s, 1)); transform-origin: var(--ox) var(--oy); will-change: transform; }
.zoomreis--live .zr__layer.is-off .zr__media { will-change: auto; }
.zoomreis--live .zr__layer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .55) 26%, rgba(var(--bg-rgb), 0) 56%); }
.zoomreis--live .zr__layer--mol::after { display: none; }
.zoomreis--live .zr__copy { position: absolute; z-index: 5; left: var(--gutter); bottom: max(var(--gutter), 56px); width: min(36rem, calc(100% - 2 * var(--gutter))); opacity: var(--o, 0); transform: translate3d(0, calc((1 - var(--o, 0)) * 22px), 0); }
.zoomreis--live .zr__layer--mol { background: radial-gradient(70% 80% at 30% 45%, #1d5a36, var(--deep)); }
.zoomreis--live .zr__molcv { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: transparent; }
.zoomreis--live .zr__layer--mol .zr__copy { left: auto; right: var(--gutter); }
.zoomreis--live .zr__layer--mol .zr__copy, .zoomreis--live .zr__layer--mol .legend { color: #fff; }
.zoomreis--live .zr__layer--mol .zr__copy .h2, .zoomreis--live .zr__layer--mol .zr__copy p, .zoomreis--live .zr__layer--mol .step { color: #f2f8ea; }
.zoomreis--live .zr__layer--mol .legend { position: absolute; z-index: 5; left: var(--gutter); top: 96px; margin: 0; color: #cfe3d2; }
.zoomreis--live .steps { position: relative; display: block; min-height: 5.6em; }
.zoomreis--live .step { position: absolute; left: 0; top: 0; width: 100%; opacity: var(--o, 0); }
.zoomreis--live .hot { opacity: var(--hot, 0); animation: pulse 2.4s ease-in-out infinite; }
.zoomreis--live .progress { display: block; position: absolute; z-index: 7; left: 0; right: 0; top: 0; height: 3px; }

/* ---------- Stikstof: reactie, voortgang en samenvatting ---------- */
.zr__eq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.zr__eq i { font-style: normal; color: var(--t3); }
.eq { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; color: var(--t1); font: 500 .875rem/1 var(--mono); letter-spacing: .02em; }
.eq--out { background: var(--alert); border-color: var(--alert); color: #fff; }
.eq__arrow { padding: 0 4px; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.eq__arrow::before { content: "→ "; }
.zr__rail { display: none; }
.summary { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gutter) 0; }
.sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sum li { display: grid; gap: 14px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.sum b { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mint); color: var(--t1); font: 500 .875rem/1 var(--mono); }
.sum h3 { margin: 0 0 6px; font: 500 1.125rem/1.3 var(--font); color: var(--t1); }
.sum p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.sum__us { background: var(--leaf); border-color: transparent; }
.sum__us b { background: rgba(var(--ink-rgb), .14); }
.sum__us p { color: var(--leaf-ink); }
.zoomreis--live .zr__eq { position: absolute; z-index: 5; right: var(--gutter); bottom: calc(max(var(--gutter), 56px) + 190px); max-width: min(36rem, calc(100% - 2 * var(--gutter))); opacity: var(--o, 0); }
.zoomreis--live .zr__eq.is-off { visibility: hidden; }
.zoomreis--live .eq { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.zoomreis--live .eq--out { background: var(--alert); border-color: var(--alert); }
.zoomreis--live .zr__eq i { color: #cfe3d2; }
.zoomreis--live .zr__rail { display: flex; gap: 6px; position: absolute; z-index: 8; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: var(--r-pill); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.zr__rail li { padding: 8px 14px; border-radius: var(--r-pill); color: var(--t2); font: 500 .75rem/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.zr__rail li[aria-current="true"] { background: var(--leaf); color: var(--leaf-ink); }

/* ---------- Black box: zwarte zeecontainer ---------- */
.blackbox { margin-top: clamp(56px, 8vw, 110px); background: var(--deep); color: #dcebd9; }
.blackbox__in { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 130px) var(--gutter); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.blackbox .h2, .blackbox .lead { color: #f2f8ea; }
.blackbox .src { color: #a9c3ae; }
.blackbox__viz { display: grid; gap: 18px; justify-items: center; }
.flow { display: flex; align-items: center; gap: 12px; align-self: stretch; font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #cfe3d2; }
.flow--out { justify-content: flex-end; }
.flow i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 10px, transparent 10px 18px); max-width: 160px; }
.flow--in i { margin-left: 8px; } .flow--out i { margin-right: 8px; }
.sea { position: relative; width: min(100%, 34rem); aspect-ratio: 2.45 / 1; border-radius: 6px; background: #0b0f0d; box-shadow: inset 0 0 0 3px #1b2420, 0 30px 60px -30px rgba(0, 0, 0, .7); overflow: hidden; transition: transform .6s var(--ease); }
.sea:hover { transform: translateY(-4px); }
.sea__ribs { position: absolute; inset: 9% 3%; background: repeating-linear-gradient(90deg, #121915 0 7px, #070a08 7px 10px); border-radius: 3px; }
.sea::before, .sea::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5%; background: #1b2420; }
.sea::before { left: 0; } .sea::after { right: 0; }
.sea__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: var(--r-pill); background: var(--leaf); color: var(--leaf-ink); font: 500 1rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.sea__q { position: absolute; right: 9%; bottom: 10%; font: 300 3rem/1 var(--font); color: rgba(185, 227, 94, .55); }
.flow--out span { order: 2; }
@media (max-width: 860px) { .blackbox__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Schermen ---------- */
@media (max-width: 960px) { .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compare { grid-template-columns: minmax(0, 1fr); } .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero3__panels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .zr__layer { grid-template-columns: minmax(0, 1fr); }
  .zr__layer--mol .legend, .zr__layer--mol .zr__copy, .zr__layer--mol .zr__molcv { grid-column: 1; grid-row: auto; }
  .zoomreis--live .zr__layer--mol .zr__copy { left: var(--gutter); right: auto; }
  .zoomreis--live .zr__title { top: 22%; }
  .scene, .award { grid-template-columns: minmax(0, 1fr); }
  .scene--mol .copy, .scene--lucht .copy, .scene--natuur .copy, .scene--lucht .meter { grid-column: 1; }
  .scene--mol .frame, .scene--lucht .frame, .scene--natuur .frame { grid-column: 1; grid-row: auto; }
  .foot__links { text-align: left; }
  .linkbtn--hide-sm { display: none; }
}
@media (max-width: 560px) {
  .bar .brand img { height: 20px; }
  .bar--fixed { padding: 7px 7px 7px 16px; }
  .bar--fixed .btn--sm { padding: 12px 16px; }
  .bar--fixed .btn--sm .arrow { display: none; }
  .steps4, .outputs, .fields, .sum { grid-template-columns: minmax(0, 1fr); }
  .zr__rail li { padding: 7px 9px; font-size: .625rem; }
  .zoomreis--live .zr__eq { right: var(--gutter); left: var(--gutter); bottom: calc(max(var(--gutter), 56px) + 170px); }
  .viewer__stage { aspect-ratio: 4 / 3; }
  .hero3--live .panel { top: auto; bottom: 16px; padding: 20px; transform: translate3d(0, calc((1 - var(--po, 0)) * 24px), 0); }
  .hero3--live .hero3__intro { bottom: 20px; }
  .mark__label { font-size: .6875rem; padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Stikstof: compacte uitlegkaart ---------- */
.stp { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter) 0; }
.stp__head { margin-bottom: 24px; }
.stp__head .h2 { margin-bottom: .3em; }
.stp__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); background: var(--card); }
.stp__media { position: relative; aspect-ratio: 4 / 3; background: var(--deep); overflow: hidden; }
.stp__slide { position: absolute; inset: 0; }
.stp__slide[hidden] { display: none; }
.stp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.stp__img--floor { object-position: 50% 90%; }
.stp__slide--mol { background: radial-gradient(70% 80% at 35% 45%, #1d5a36, var(--deep)); }
.stp__slide--mol .zr__eq { position: absolute; left: 16px; right: 16px; bottom: 54px; margin: 0; }
.stp__slide--mol .legend { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; color: #cfe3d2; }
.stp__slide--mol .eq { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; }
.stp__slide--mol .eq--out { background: var(--alert); border-color: var(--alert); }
.stp__slide--mol .zr__eq i { color: #cfe3d2; }
.stp__slide .hot { display: none; }
.stp__slide .hot[data-ready] { display: block; animation: pulse 2.4s ease-in-out infinite; }
.stp__text { display: grid; align-content: start; gap: 18px; padding: clamp(20px, 3vw, 36px); }
.stp__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.stp__tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--ui-border); border-radius: var(--r-pill); background: #fff; color: var(--t1); font: 500 .875rem/1 var(--font); cursor: pointer; }
.stp__tab b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); font: 500 .75rem/1 var(--mono); }
.stp__tab[aria-selected="true"] { background: var(--leaf); border-color: var(--green); }
.stp__tab[aria-selected="true"] b { background: rgba(var(--ink-rgb), .14); }
.stp__copy .h2 { font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); line-height: 1.15; }
.stp__copy[hidden] { display: none; }
.stp__copy p { margin: 0 0 .7em; font-size: 1.0625rem; color: var(--t1); }
.stp__copy .src { font-size: .8125rem; color: var(--t3); }
.prof { padding: 14px 16px; border-left: 4px solid var(--leaf); border-radius: 0 var(--r-in) var(--r-in) 0; background: var(--mint); }
.stp__nav { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .stp__in { grid-template-columns: minmax(0, 1fr); } }
.stp .stp__media .stp__img { height: 100%; max-width: none; }
.stp__slide--mol .cv { inset: 0 0 118px 0; height: calc(100% - 118px); }
@media (max-width: 860px) { .stp__slide--mol .cv { inset: 0 0 150px 0; height: calc(100% - 150px); } .stp__slide--mol .zr__eq { bottom: 66px; } }

.stp__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.stp__tab { justify-content: center; min-height: 44px; padding: 8px 6px; }
@media (max-width: 520px) { .stp__tab { flex-direction: column; gap: 4px; padding: 8px 2px; font-size: .75rem; } }
.stp__slide--mol .eq { cursor: pointer; }
.stp__slide--mol .eq[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--leaf-ink); box-shadow: 0 0 0 3px rgba(185, 227, 94, .35); }
.stp__slide--mol .zr__eq { pointer-events: auto; }
.stp__slide--mol .zr__eq { gap: 5px; flex-wrap: nowrap; justify-content: center; left: 8px; right: 8px; }
.stp__slide--mol .eq { padding: 8px 10px; font-size: .75rem; white-space: nowrap; }
.stp__slide--mol .eq__arrow { padding: 0; font-size: .625rem; }
.stp__slide--mol .zr__eq i { flex: none; }
@media (max-width: 520px) { .stp__slide--mol .eq { padding: 8px 7px; font-size: .6875rem; } .stp__slide--mol .eq__arrow::before { content: ""; } }

/* Titel staat over de film; de ondertekst verschijnt na 3 seconden film */
.hero3--live .lede, .hero3--play .lede { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero3--live:not(.lede-on) .lede, .hero3--play:not(.lede-on) .lede { opacity: 0; transform: translate3d(0, 10px, 0); }
.hero3--play .hero3__stage { display: grid; }
.hero3--play .hero3__frame, .hero3--play .hero3__veil, .hero3--play .hero3__intro { grid-area: 1 / 1; }
.hero3--play .hero3__veil { display: block; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .6) 40%, rgba(var(--bg-rgb), 0) 75%); }
.hero3--play .hero3__intro { z-index: 4; align-self: end; width: 100%; padding: 0 var(--gutter) clamp(14px, 3vw, 32px); }
.hero3--play .hero3__intro .h1 { font-size: clamp(1.5rem, 1rem + 2.4vw, 3rem); }
.hero3--play .marks { display: none; }
.hero3--play .hero3__veil { background: linear-gradient(0deg, rgba(var(--bg-rgb), .96) 0%, rgba(var(--bg-rgb), .8) 35%, rgba(var(--bg-rgb), 0) 78%); }
.hero3--play .hero3__veil { z-index: 4; }
.hero3--play .hero3__intro { z-index: 5; }
@media (max-width: 800px) {
  .hero3--play .hero3__stage { display: block; }
  .hero3--play .hero3__veil { display: none; }
  .hero3--play .hero3__intro { position: relative; padding: 24px var(--gutter) 8px; }
  .hero3--play .hero3__intro .h1 { font-size: var(--fs-h1, 2rem); }
  .hero3--play .marks { display: block; }
}
@media (min-width: 801px) { .hero3--play .hero3__veil { background: linear-gradient(0deg, rgba(var(--bg-rgb), .92) 0%, rgba(var(--bg-rgb), .6) 26%, rgba(var(--bg-rgb), 0) 52%); } }

.stp__text { align-content: start; grid-template-rows: auto auto auto; }
.stp__tab, .stp__nav .btn { flex: none; }
.stp__nav { min-height: 48px; }
.stp__nav [data-next][hidden] { display: none; }
.stp__slide .hot { display: none !important; }
.stp__copies { display: flow-root; }

/* ---------- Divider ---------- */
.divider { display: flex; align-items: center; gap: 16px; max-width: 1240px; margin: clamp(48px, 7vw, 88px) auto 0; }
.divider span { flex: 1; height: 1px; background: var(--line-2, #cfdccd); }
.divider i { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--leaf); box-shadow: 0 0 0 5px var(--mint); }

/* ---------- Stikstof: overzicht ---------- */
.nz { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) 0; }
.nz__head { margin-bottom: 28px; }
.nz__head .h2 { margin-bottom: .3em; }
.nz__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.nz__feed .bezel__in { background: var(--card); overflow: hidden; }
.nz__photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--deep); }
.nz__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.nz__num, .nzs__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink, var(--deep)); font: 500 .9375rem/1 var(--mono); }
.nz__num { position: absolute; left: 14px; top: 14px; box-shadow: 0 4px 14px -4px rgba(var(--ink-rgb), .5); }
.nz__body { padding: 22px 24px 26px; }
.nz__body .h3 { margin: 0 0 .35em; }
.nz__body p { margin: 0; font-size: 1.0625rem; }
.nz__steps { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.nz__steps::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--leaf), var(--mint)); }
.nzs { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.nzs__num { position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--card); }
.nzs__body .h3 { margin: 0 0 .3em; }
.nzs__body p { margin: 0 0 .7em; font-size: 1.0625rem; color: var(--t1); }
.nzs__body .src { margin: .6em 0 0; font-size: .8125rem; color: var(--t3); }
.nzp { display: flex; gap: 4px; margin-top: 14px; }
.nzp i { flex: var(--w) 1 0; min-width: 0; padding: 10px 12px; border-radius: 10px; font-style: normal; display: grid; gap: 2px; align-content: center; transform-origin: left; }
.nzp b { font: 500 .8125rem/1.2 var(--font); color: var(--t1); }
.nzp em { font: 400 .75rem/1.2 var(--font); color: var(--t2); font-style: normal; }
.nzp__a { background: #fff; border: 1px solid var(--line-2, #cfdccd); }
.nzp__b { background: var(--leaf); }
.nzp__c { background: var(--mint); }
.nzeq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nzeq span { padding: 8px 12px; border: 1px solid var(--line-2, #cfdccd); border-radius: var(--r-pill); background: #fff; font: 500 .8125rem/1 var(--mono); }
.nzeq i { font-style: normal; color: var(--t3); }
.nzeq .nzeq__out { background: var(--alert); border-color: var(--alert); color: #fff; }
.prof { padding: 14px 16px; border-left: 4px solid var(--leaf); border-radius: 0 var(--r-in) var(--r-in) 0; background: var(--mint); }
.nz--js .nz__feed, .nz--js .nzs { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.nz--js .nzs:nth-child(2) { transition-delay: .12s; } .nz--js .nzs:nth-child(3) { transition-delay: .24s; }
.nz--js .in { opacity: 1; transform: none; }
.nz--js .nzp i { transform: scaleX(0); transition: transform .9s var(--ease) .5s; }
.nz--js .in .nzp i { transform: none; }
@media (max-width: 900px) { .nz__grid { grid-template-columns: minmax(0, 1fr); } .nz__steps::before { left: 33px; } .nzs { padding: 18px 16px; gap: 14px; } }
@media (max-width: 520px) { .nzp { flex-direction: column; } .nzp i { flex: none; } }
.nzp__a { flex: 20 1 0; } .nzp__b { flex: 50 1 0; } .nzp__c { flex: 30 1 0; }

/* ---------- Thema: blauw met groene accenten (?thema=blauw) ---------- */
:root[data-theme="blauw"] {
  --bg: #e7f0fa; --bg-rgb: 231, 240, 250;
  --card: #ffffff;
  --mint: #d3e4f6;
  --deep: #0e2c4f;
  --ink-rgb: 12, 35, 64;
  --line: rgba(12, 35, 64, .12); --line-2: rgba(12, 35, 64, .24);
  --ui-border: #6f86a3;
  --t1: #0c2340; --t2: #2f4a69; --t3: #526b88;
  --leaf: #7fd3ba; --leaf-hover: #69c5aa; --leaf-ink: #0c2340;
  --green: #0d7a63;
  --stage-1: #f4f8fd; --stage-2: #c9dcef;
}
:root[data-theme="blauw"] .blackbox { color: #d6e4f5; }
:root[data-theme="blauw"] .blackbox .h2, :root[data-theme="blauw"] .blackbox .lead { color: #f1f7ff; }
:root[data-theme="blauw"] .blackbox .src { color: #9fb8d4; }
:root[data-theme="blauw"] .join { background: linear-gradient(180deg, #cfe2f6, #b9d3ee); }

/* ---------- Ontvangst: bovenkant van de film afgesneden zodat de titel direct in beeld staat ---------- */
.hero3:not(.hero3--live) .hero3__frame { max-height: 100svh; }
.hero3:not(.hero3--live) .h3media, .hero3:not(.hero3--live) .marks { inset: auto 0 0 0; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ---------- Twee producten ---------- */
.kicker { margin: 0 0 8px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.duo { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.duo li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r-in); background: var(--mint); }
.duo b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink); font: 500 .875rem/1 var(--mono); }
.duo strong { display: block; font-weight: 600; color: var(--t1); }
.duo span { display: block; font-size: .9375rem; color: var(--t2); }
.hero3--live .panel--duo { width: min(32rem, calc(100% - 2 * var(--gutter))); }

/* ---------- Wie zit erachter ---------- */
.who { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.who .h3 { margin: 0 0 .4em; }
.who p { margin: 0 0 .9em; }
.who__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; padding: 0; list-style: none; }
.who__list li { padding: 10px 14px; border-radius: var(--r-in); background: var(--mint); display: grid; gap: 2px; }
.who__list b { font-weight: 600; color: var(--t1); font-size: .9375rem; }
.who__list span { font-size: .8125rem; color: var(--t2); }

/* ---------- Stikstof: uitlijning ---------- */
.nz__grid { align-items: stretch; }
.nz__feed { display: flex; }
.nz__feed .bezel__in { display: flex; flex-direction: column; width: 100%; }
.nz__photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 280px; }
.nz__body { flex: none; }
@media (max-width: 900px) { .nz__photo { flex: none; aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- Overgangen ---------- */
.rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.blackbox, .join { border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; }
.join { margin-top: calc(-1 * clamp(24px, 4vw, 56px)); position: relative; }
.faq, .sources { position: relative; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Film: volle breedte, alleen de bovenkant eraf ---------- */
.hero3:not(.hero3--live) .hero3__frame { width: 100%; }
.hero3--live .lede, .hero3--play .lede { transition: opacity 1.8s var(--ease), transform 1.8s var(--ease), filter 1.8s var(--ease); }
.hero3--live:not(.lede-on) .lede, .hero3--play:not(.lede-on) .lede { opacity: 0; transform: translate3d(0, 36px, 0); filter: blur(8px); }

/* ---------- Producten (nieuw) ---------- */
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 7px 13px; border-radius: var(--r-pill); background: var(--mint); color: var(--t2); font: 500 .6875rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.prod { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--gutter) 0; }
.prod__head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 60px); }
.prod__head .h2 { margin: 0 0 .3em; }
.prod__head .lead { margin: 0; }
.prod__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.pc { display: flex; }
.pc--a { grid-column: span 7; } .pc--b { grid-column: span 5; }
.pc .bezel__in { display: flex; flex-direction: column; width: 100%; background: var(--card); }
.pc__art { display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(80% 90% at 50% 40%, var(--stage-1), var(--stage-2)); }
.pc__art svg { width: min(72%, 400px); height: auto; transition: transform .9s var(--ease); }
.pc:hover .pc__art svg { transform: translateY(-6px) scale(1.03); }
.pc__body { display: grid; gap: 14px; padding: 26px 28px 30px; flex: 1; align-content: start; }
.pc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc__no { font: 500 .8125rem/1 var(--mono); color: var(--t3); letter-spacing: .1em; }
.pc__status { padding: 7px 13px; border-radius: var(--r-pill); background: var(--leaf); color: var(--leaf-ink); font: 500 .75rem/1 var(--mono); }
.pc__status--soft { background: var(--mint); color: var(--t1); }
.pc .h3 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.1; }
.pc__tag { margin: 0; color: var(--t1); font-size: 1.125rem; }
.pc__facts { display: grid; gap: 9px; margin: 4px 0 6px; padding: 0; list-style: none; }
.pc__facts li { display: flex; gap: 12px; align-items: baseline; color: var(--t2); }
.pc__facts li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); transform: translateY(-1px); }
@media (max-width: 900px) { .pc--a, .pc--b { grid-column: 1 / -1; } .pc__body { padding: 22px 20px 26px; } }
.hero3:not(.hero3--live) .hero3__panels { display: none; }

/* ---------- Wie zit erachter ---------- */
.about { max-width: 1240px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.about__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__img--empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--mint), var(--stage-2)); font: 500 clamp(3rem, 9vw, 6.5rem)/1 var(--font); color: var(--t2); letter-spacing: -.02em; }
.about__text .h2 { margin: 0 0 .3em; }
.about__text .lead { color: var(--t1); }
@media (max-width: 800px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photo { max-width: 360px; } }

/* ---------- Zwarte kaart als eigen blok ---------- */
.blackbox { border-radius: clamp(24px, 4vw, 56px); margin-inline: clamp(8px, 2vw, 24px); margin-bottom: 0; }

/* ---------- Stikstof: staand plaatje dat blijft staan ---------- */
.nz .nz__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 24px; }
.nz__scene { position: sticky; top: 88px; }
.nz__stage { position: relative; aspect-ratio: 3 / 4; max-height: calc(100svh - 120px); background: var(--stage-2); }
.nz__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 80%; }
.nzs__go { margin: .2em 0 0; }
@media (max-width: 900px) {
  .nz .nz__grid { grid-template-columns: minmax(0, 1fr); }
  .nz__scene { position: static; max-width: 420px; }
  .nz__stage { aspect-ratio: 4 / 5; max-height: none; }
}
.about { padding-bottom: clamp(88px, 10vw, 140px); }

/* ---------- Aparte kaders: prijs en wie ik ben ---------- */
.award, .about { width: calc(100% - 2 * var(--gutter)); max-width: 1240px; margin: clamp(40px, 6vw, 72px) auto 0; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 12px); background: var(--card); box-shadow: 0 24px 60px -40px rgba(var(--ink-rgb), .35); }
.about { margin-bottom: clamp(88px, 10vw, 140px); background: linear-gradient(160deg, var(--card), var(--mint)); }
.about__img { object-position: 50% 22%; }
.pilot { margin: 22px 0; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-in); background: rgba(255, 255, 255, .08); color: #f1f7ff; font-size: 1.0625rem; }
.pilot b { color: var(--leaf); }
@media (max-width: 800px) { .award, .about { padding: 20px 16px; } }

/* ---------- RENURE vlak, en secties die over elkaar heen schuiven ---------- */
.blackbox { margin-inline: 0; border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; }
.pilot { display: grid; gap: 4px; }
.pilot b { font-size: 1.125rem; }
.pilot span { color: #d6e4f5; }
.cover { position: relative; background: var(--bg); border-radius: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0 0; box-shadow: 0 -30px 60px -34px rgba(var(--ink-rgb), .45); padding-bottom: clamp(32px, 5vw, 64px); }
.sheet { padding-bottom: 0; padding-top: clamp(0px, 1vw, 12px); }
.pinned { position: sticky; top: var(--pin, 0px); }
.blackbox.pinned { z-index: 0; }

/* Alleen het Gilian-blok schuift over de prijs heen */
.biogas { padding-bottom: clamp(32px, 5vw, 64px); }
.prize { position: relative; background: var(--bg); padding-bottom: clamp(24px, 4vw, 48px); }
.prize .award { margin-bottom: 0; }
.sheet { margin-top: 0; }

/* Prijs als onderdeel van het RENURE-blok */
.blackbox__in { padding-bottom: clamp(32px, 4vw, 56px); }
.blackbox__prize { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 10vw, 130px); }
.bp { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(16px, 2.4vw, 26px); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-card); background: rgba(255, 255, 255, .06); }
.bp__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-in); }
.bp__title { margin: 0 0 .4em; font: 500 clamp(1.25rem, 1rem + .9vw, 1.625rem)/1.2 var(--font); color: #f2f8ea; }
.bp__text p { margin: 0 0 .9em; color: #d6e4f5; }
.bp__text .textlink { color: var(--leaf); }
@media (max-width: 700px) { .bp { grid-template-columns: minmax(0, 1fr); } }

/* Foto 1 met bijschrift */
.nz__stage { max-height: calc(100svh - 200px); }
.nz__cap { margin: 0; padding: 14px 18px 18px; font-size: .9375rem; line-height: 1.45; color: var(--t2); background: var(--card); }
.bezel .nz__cap { padding: 14px 18px 18px; }
@media (max-width: 900px) { .nz__stage { max-height: none; } }

/* Verdienmodel en koolstof */
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.tip { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.tip .h3 { margin: 0 0 .4em; }
.tip p:last-child { margin: 0; color: var(--t2); }
.tip--care { border-left: 4px solid var(--leaf); }
@media (max-width: 700px) { .tips { grid-template-columns: minmax(0, 1fr); } }
.bezel .nz__photo { width: 100%; height: 100%; }
.nz__stage { width: 100%; }

:root[data-theme="blauw"] .field input:focus, :root[data-theme="blauw"] .field textarea:focus { box-shadow: 0 0 0 3px rgba(13, 122, 99, .2); }
