/* Meldpunt Autootjepesten Nijmegen
   Letter Overpass (familie van de Amerikaanse wegwijzerletter) voor koppen en tekst. Kleuren van de Nederlandse straat: bordblauw, wegmarkering-geel, asfalt. */
:root {
  --papier: #fbfaf6;
  --papier-2: #f3f1ea;
  --wit: #ffffff;
  --inkt: #17202e;
  --inkt-2: #4a5361;
  --inkt-3: #6b7380;
  --lijn: #e2ded3;
  --lijn-2: #cfcabd;
  --blauw: #1d4f91;
  --blauw-donker: #143b6e;
  --blauw-zacht: #e7eef7;
  --geel: #f2bf1a;
  --geel-zacht: #fdf4d3;
  --rood: #c8102e;
  --groen: #2f6b3a;
  --kop: 'Overpass', 'Helvetica Neue', Arial, sans-serif;
  --tekst: 'Overpass', 'Helvetica Neue', Arial, sans-serif;
  --breed: 1240px;
  --rond: 14px;
  --kophoogte: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kophoogte) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font: 17px/1.6 var(--tekst);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--kop); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-weight: 700; font-size: 20px; }
p { margin: 0; }
a { color: var(--blauw); text-underline-offset: 3px; }
a:hover { color: var(--blauw-donker); }
img, svg, canvas { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.breed { width: min(100% - 32px, var(--breed)); margin-inline: auto; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  background: var(--blauw); color: var(--wit);
  border: 0; border-radius: 12px;
  font-family: var(--kop); font-weight: 700; font-size: 17px; text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 #0b2a52, 0 8px 22px -12px #1d4f9199;
  transition: background .2s, transform .2s;
}
.knop:hover { background: var(--blauw-donker); color: var(--wit); }
.knop:hover svg { transform: translateX(3px); }
.knop svg { transition: transform .2s; }
.knop:disabled { opacity: .6; cursor: wait; }
.knop-klein { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.knop-licht { background: var(--wit); color: var(--inkt); border: 1px solid var(--lijn-2); box-shadow: none; }
.knop-licht:hover { background: var(--papier-2); color: var(--inkt); border-color: var(--inkt-3); }
.knop-vol { width: 100%; }
.tekstlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--kop); font-weight: 700; color: var(--inkt);
  text-decoration: underline; text-decoration-color: var(--lijn-2); text-decoration-thickness: 2px;
}
.tekstlink:hover { color: var(--blauw); text-decoration-color: currentColor; }
.tekstlink:hover svg { transform: translateX(3px); }
.tekstlink svg { transition: transform .2s; }
.tekstknop { background: none; border: 0; padding: 4px 2px; color: var(--blauw); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tekstknop:disabled { color: var(--inkt-3); text-decoration: none; cursor: default; }

/* ---------- Kop ---------- */
.kop {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papier) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}
.kop-binnen { display: flex; align-items: center; gap: 28px; height: var(--kophoogte); }
.merk { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--inkt); }
.merk-icoon { width: 40px; height: 40px; flex: none; }
.merk-tekst { display: grid; line-height: 1.05; }
.merk-tekst b { font-family: var(--kop); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.merk-tekst span { font-size: 14px; color: var(--inkt-2); margin-top: 3px; }
.menu { display: flex; gap: 26px; margin: 0 auto 0 28px; padding-top: 2px; }
.menu a { color: var(--inkt); text-decoration: none; font-weight: 700; font-size: 16px; }
.menu a:hover { color: var(--blauw); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - var(--kophoogte));
  padding-block: clamp(28px, 4vh, 56px);
}
.hero h1 { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -0.025em; }
.tanden { position: relative; white-space: nowrap; }
/* Haaientanden: wie hier rijdt, verleent voorrang. */
.tanden::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.01em; height: 0.18em;
  background: linear-gradient(135deg, var(--geel) 50%, transparent 50%) 0 0 / 0.42em 100% repeat-x,
              linear-gradient(225deg, var(--geel) 50%, transparent 50%) 0 0 / 0.42em 100% repeat-x;
  clip-path: inset(0 100% 0 0);
  animation: tanden 0.9s 0.35s cubic-bezier(.3, .7, .2, 1) forwards;
}
@keyframes tanden { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .tanden::after { animation: none; clip-path: none; } }
.lead { margin-top: 22px; font-size: clamp(17px, 1.35vw, 19px); color: var(--inkt-2); max-width: 34em; }
.hero-acties { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-noot { margin-top: 22px; font-size: 15px; color: var(--inkt-3); }
.hero-noot a { color: var(--inkt-2); font-weight: 700; }

/* ---------- Diorama ---------- */
.diorama {
  --sc-inkt: #1f3348;
  --sc-zacht: #586b7d;
  --sc-vlak: #fffdf8;
  --sc-lijn: #d3dde3;
  position: relative; min-width: 0;
  padding: 22px 24px 16px;
  color: var(--sc-inkt);
  background: radial-gradient(ellipse at 50% 34%, #f7f9f7 0%, #e9f0f1 62%, #dee8ea 100%);
  border: 1px solid #d6e0e3;
  border-radius: 28px;
  box-shadow: 0 30px 80px -48px #1f3a5266, inset 0 1px #fff;
  isolation: isolate;
  transition: background .5s, border-color .5s;
}
.diorama.is-avond {
  --sc-inkt: #f3ead6;
  --sc-zacht: #b9c6d6;
  --sc-vlak: #24344b;
  --sc-lijn: #42536b;
  background: radial-gradient(ellipse at 50% 36%, #33486a 0%, #1c2a42 72%, #172338 100%);
  border-color: #33445d;
}
.diorama-knoppen { position: absolute; top: 16px; right: 18px; z-index: 5; display: flex; gap: 6px; }
.rond-knop {
  display: inline-grid; place-items: center; flex: 0 0 44px;
  width: 44px; height: 44px; padding: 0;
  color: var(--sc-inkt); background: var(--sc-vlak);
  border: 1px solid var(--sc-lijn); border-radius: 50%;
  cursor: pointer; transition: border-color .2s, background .5s, color .5s;
}
.rond-knop:hover { border-color: var(--sc-inkt); }
.rond-knop.vlak { background: transparent; }
.rond-knop:focus-visible, .scene-keuze button:focus-visible, .scene-pin:focus-visible, .scene-detail a:focus-visible { outline-color: var(--sc-inkt); }
.i-speel, .is-gepauzeerd .i-pauze, .i-zon, .is-avond .i-maan { display: none; }
.is-gepauzeerd .i-speel, .is-avond .i-zon { display: block; }

.diorama-podium {
  position: relative; aspect-ratio: 640 / 410;
  margin: 18px -24px 4px;
  touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.diorama-podium.is-slepen { cursor: grabbing; }
.podium-schaduw {
  position: absolute; left: 14%; right: 14%; top: 60%; height: 34%;
  border-radius: 50%; background: #6a85932b; filter: blur(2px);
}
.is-avond .podium-schaduw { background: #05101f55; }
.diorama-podium canvas { position: relative; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.diorama-stil { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: opacity .5s; }
.is-klaar canvas { opacity: 1; }
.is-klaar .diorama-stil { opacity: 0; }
.scene-pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s .2s; }
.is-klaar .scene-pins { opacity: 1; }
.scene-pin {
  position: absolute; width: 44px; height: 44px; padding: 0;
  transform: translate(-50%, -100%);
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%;
  pointer-events: auto; cursor: pointer;
}
.scene-pin span {
  display: grid; place-items: center;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--sc-inkt); color: var(--sc-vlak);
  border: 2px solid var(--sc-vlak);
  font: 800 13px/1 var(--kop);
  box-shadow: 0 4px 10px #0f233a40;
  transition: width .2s, height .2s, background .2s;
}
.scene-pin::after { content: ''; position: absolute; top: 37px; left: calc(50% - 1px); height: 9px; width: 2px; background: repeating-linear-gradient(var(--sc-inkt) 0 2px, transparent 2px 4px); }
.scene-pin.is-gekozen span { width: 33px; height: 33px; background: var(--geel); color: #17202e; border-color: #fff; font-size: 15px; }
.scene-pin:hover span { outline: 2px solid var(--sc-inkt); outline-offset: 2px; }

.diorama-draai { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; }
.diorama-draai > span { font-size: 14px; color: var(--sc-zacht); }
.draai-terug { position: absolute; right: 0; }
.scene-keuze { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.scene-keuze button {
  flex: 1 1 auto; min-height: 44px; padding: 8px 10px;
  font: 700 15px/1 var(--kop); color: var(--sc-inkt);
  background: transparent; border: 1px solid var(--sc-lijn); border-radius: 24px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.scene-keuze button:hover { border-color: var(--sc-inkt); }
.scene-keuze button[aria-pressed='true'] { background: var(--sc-inkt); color: var(--sc-vlak); border-color: var(--sc-inkt); }
.scene-detail {
  display: flex; align-items: center; gap: 14px;
  margin-top: 12px; padding: 14px 14px 14px 18px;
  background: var(--sc-vlak); border: 1px solid var(--sc-lijn); border-radius: 16px;
  transition: background .5s, border-color .5s;
}
.scene-detail > div { flex: 1; min-width: 0; }
.scene-detail strong { font: 700 16px/1.2 var(--kop); }
.scene-detail p { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--sc-zacht); }
.scene-detail a {
  display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--blauw); color: #fff;
}
.scene-detail a:hover { background: var(--blauw-donker); color: #fff; }
.scene-noot { display: none; }

/* ---------- Secties ---------- */
.sectie-kop { max-width: 760px; margin-bottom: 34px; }
.sectie-kop p { margin-top: 12px; font-size: 18px; color: var(--inkt-2); }

.balken { display: grid; gap: 14px; margin-top: 22px; }
.balk-rij { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'naam waarde' 'spoor spoor'; gap: 6px 12px; align-items: end; }
.balk-naam { grid-area: naam; font-size: 15px; color: var(--inkt-2); }
.balk-waarde { grid-area: waarde; font: 800 22px/1 var(--kop); letter-spacing: -0.01em; }
.balk-spoor { grid-area: spoor; position: relative; display: flex; height: 26px; }
.balk {
  position: relative; display: block; height: 100%; width: var(--w);
  border-radius: 4px; transform-origin: left; outline-offset: 2px;
}
.balk-geel { background: var(--geel); }
.balk-blauw { background: var(--blauw); }
.balk-blauw-licht { background: #7e9fc7; }
.balk-tekort {
  display: block; width: var(--w); height: 100%; margin-left: 2px; border-radius: 4px;
  background: repeating-linear-gradient(135deg, #c8102e22 0 6px, transparent 6px 11px);
  border: 1px dashed #c8102e88;
}
.kolommen { display: flex; align-items: flex-end; gap: 10px; height: 188px; margin-top: 22px; }
.kolom { flex: 1; display: grid; grid-template-rows: auto 1fr auto; align-items: end; height: 100%; text-align: center; gap: 6px; }
.kolom-waarde { font: 800 15px/1 var(--kop); color: var(--inkt-2); }
.kolom.is-nu .kolom-waarde { color: var(--inkt); font-size: 17px; }
.kolom-staaf { position: relative; display: block; height: var(--h); background: #b9c9de; border-radius: 4px 4px 0 0; transform-origin: bottom; outline-offset: 2px; }
.kolom.is-nu .kolom-staaf { background: var(--blauw); }
.kolom.is-plan .kolom-staaf { background: repeating-linear-gradient(135deg, #c8102e33 0 6px, transparent 6px 11px); border: 1.5px dashed var(--rood); border-bottom: 0; }
.kolom.is-plan .kolom-waarde { color: var(--rood); font-size: 17px; }
.stip-plan { background: repeating-linear-gradient(135deg, #c8102e55 0 3px, transparent 3px 6px); border: 1px dashed var(--rood); }
.tarieven { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14.5px; }
.tarieven caption { text-align: left; font-size: 14px; font-weight: 700; color: var(--inkt-3); padding-bottom: 6px; }
.tarieven th, .tarieven td { padding: 7px 0; border-top: 1px solid var(--lijn); text-align: right; white-space: nowrap; }
.tarieven th[scope="row"] { text-align: left; font-weight: 400; color: var(--inkt-2); white-space: normal; padding-right: 10px; }
.tarieven thead th { font-size: 13px; color: var(--inkt-3); border-top: 0; padding-left: 14px; }
.tarieven td { padding-left: 14px; color: var(--inkt-2); }
.tarieven td:last-child { font-weight: 800; color: var(--rood); }
.kolom-jaar { font-size: 13.5px; color: var(--inkt-3); border-top: 1px solid var(--lijn-2); padding-top: 6px; }

/* Groei bij in beeld komen */
.grafiek .balk, .grafiek .kolom-staaf { transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.grafiek:not(.in-beeld) .balk { transform: scaleX(0.02); }
.grafiek:not(.in-beeld) .kolom-staaf { transform: scaleY(0.02); }
@media (prefers-reduced-motion: reduce) { .grafiek .balk, .grafiek .kolom-staaf { transition: none; transform: none !important; } }

/* Tooltip bij aanwijzen of focus */
[data-tip]:hover::after, [data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 240px; padding: 8px 11px;
  background: var(--inkt); color: #fff; border-radius: 8px;
  font: 400 13.5px/1.4 var(--tekst); text-align: left; pointer-events: none;
}
.balk[data-tip]:hover::after, .balk[data-tip]:focus-visible::after { left: min(50%, 120px); }

/* ---------- Melden ---------- */
.melden { padding-block: clamp(64px, 9vw, 112px); }
.bord-knop {
  display: flex; align-items: center; gap: 13px; text-align: left;
  padding: 13px; min-height: 84px;
  background: var(--papier); border: 1.5px solid var(--lijn); border-radius: 12px;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.bord-knop svg { flex: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.bord-knop span { font-size: 14px; line-height: 1.35; color: var(--inkt-2); }
.bord-knop strong { display: block; font: 700 16px/1.2 var(--kop); color: var(--inkt); margin-bottom: 2px; }
.bord-knop:hover { border-color: var(--inkt-3); }
.bord-knop:hover svg { transform: rotate(-6deg); }
.bord-knop[aria-pressed='true'] { border-color: var(--blauw); background: var(--blauw-zacht); box-shadow: inset 0 0 0 1px var(--blauw); }

.zoekrij { display: flex; gap: 8px; }
.zoekrij input { flex: 1; min-width: 0; }
.zoekresultaten { list-style: none; margin: 8px 0 0; padding: 4px; border: 1px solid var(--lijn-2); border-radius: 10px; background: var(--wit); }
.zoekresultaten button { width: 100%; text-align: left; padding: 9px 10px; background: none; border: 0; border-radius: 6px; cursor: pointer; font-size: 15px; }
.zoekresultaten button:hover, .zoekresultaten button:focus-visible { background: var(--blauw-zacht); }
.kaartvak { height: 300px; margin-top: 12px; border-radius: 12px; border: 1px solid var(--lijn-2); z-index: 0; }
.hint { display: block; margin-top: 8px; font-size: 14px; color: var(--inkt-3); }
.kaartstatus { margin-top: 8px; padding: 9px 12px; font-size: 14.5px; background: var(--geel-zacht); border: 1px solid #ecd889; border-radius: 8px; }
.kaartonder { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.kaartcoord { font-size: 14px; color: var(--inkt-2); }
.kaartknoppen { display: flex; align-items: center; gap: 12px; }
.speld { background: none; border: 0; }

.veldgroep { margin-bottom: 16px; }
.veld { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15.5px; }
.optioneel { font-weight: 400; color: var(--inkt-3); }
input:not([type=radio]):not([type=checkbox]):not([type=file]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  background: var(--wit); border: 1.5px solid var(--lijn-2); border-radius: 10px;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blauw); box-shadow: 0 0 0 3px #1d4f9126; }
[aria-invalid='true'] { border-color: var(--rood) !important; }
.veldrij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.veldfout { margin-top: 6px; font-size: 14px; color: var(--rood); font-weight: 700; }
.adressuggestie { margin-top: 8px; font-size: 14.5px; padding: 8px 12px; background: var(--blauw-zacht); border-radius: 8px; }
.fotoknop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 10px; cursor: pointer;
  border: 1.5px dashed var(--lijn-2); border-radius: 10px; background: var(--papier);
  font-weight: 700; color: var(--inkt-2);
}
.fotoknop:hover { border-color: var(--blauw); color: var(--blauw); }
.fotoknop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fotoknop:focus-within { outline: 3px solid var(--blauw); outline-offset: 2px; }
.bijlagen { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bijlagen li { display: grid; gap: 4px; justify-items: center; }
.bijlagen img, .bijlagen video { width: 92px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--lijn); }
.rolkeuze { display: flex; flex-wrap: wrap; gap: 8px; }
.rolkeuze label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--lijn-2); border-radius: 999px; background: var(--papier);
  font-weight: 700; font-size: 15.5px; cursor: pointer;
}
.rolkeuze label:hover { border-color: var(--blauw); }
.rolkeuze label:has(input:checked) { border-color: var(--blauw); background: var(--blauw-zacht); }
.keuzerij { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 4px 0 16px; font-size: 15.5px; }
.keuzerij span { flex-basis: 100%; font-weight: 700; }
.keuzerij label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--blauw); margin: 0; }
.akkoord { padding: 14px 16px; margin-bottom: 18px; background: var(--papier); border: 1px solid var(--lijn); border-radius: 10px; }
.vinkje { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.vinkje input { margin-top: 3px; flex: none; }
.akkoord ul { margin: 8px 0 0; padding-left: 50px; font-size: 14.5px; color: var(--inkt-2); }
.lokveld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fout { margin-bottom: 12px; padding: 10px 12px; color: var(--rood); background: #fdecee; border: 1px solid #f3c2c9; border-radius: 8px; font-weight: 700; }
.bedankt { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; }
.bedankt h3 { font-size: 22px; }
.bedankt p { color: var(--inkt-2); }
.bedankt:focus { outline: none; }

/* ---------- Vragen ---------- */
.vragen { padding-block: clamp(72px, 10vw, 128px); }
.vragen h2 { text-align: center; margin-bottom: 28px; }
.vragenlijst { border-top: 1px solid var(--lijn-2); }
.vragenlijst details { border-bottom: 1px solid var(--lijn-2); overflow: hidden; }
.vragenlijst summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font: 700 18px/1.3 var(--kop);
}
.vragenlijst summary::-webkit-details-marker { display: none; }
.vragenlijst summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--inkt); border-bottom: 2px solid var(--inkt);
  transform: translateY(-3px) rotate(45deg); transition: transform .25s;
}
.vragenlijst details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.vragenlijst details p { padding: 0 2px 20px; color: var(--inkt-2); max-width: 46em; }
mark.invullen { background: var(--geel-zacht); padding: 0 4px; border-radius: 4px; }

/* ---------- Voet ---------- */
.voet { background: #17202e; color: #d6dbe3; padding-block: 36px; }
.voet-binnen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.voet strong { font-family: var(--kop); color: #fff; font-size: 17px; }
.voet p { font-size: 14.5px; margin-top: 3px; }
.voet nav { display: flex; gap: 22px; }
.voet a { color: #fff; font-weight: 700; }
.demolabel { flex-basis: 100%; font-size: 14px; color: #f2d77a; }

/* ---------- Kleiner ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 34px; }
  .hero-tekst { max-width: 680px; }
}
@media (max-width: 760px) {
  :root { --kophoogte: 62px; }
  body { font-size: 16.5px; }
  .menu { display: none; }
  .kop-binnen { gap: 12px; }
  .merk-icoon { width: 36px; height: 36px; }
  .merk-tekst b { font-size: 18px; }
  .merk-tekst span { font-size: 13px; }
  .kop .knop-klein { padding: 8px 13px; font-size: 14.5px; }
  .kop .knop-klein svg { display: none; }
  .hero h1 { font-size: clamp(32px, 9vw, 40px); }
  .diorama { padding: 18px 16px 14px; border-radius: 22px; }
  .diorama-podium { margin: 30px -16px 2px; }
  .diorama-knoppen { top: 12px; right: 12px; }
  .draai-terug { position: static; }
  .diorama-draai > span { font-size: 13px; }
  .scene-keuze button { flex: 1 1 auto; padding: 8px 10px; font-size: 14px; }
  .borden { grid-template-columns: 1fr; }
  .bord-knop { min-height: 72px; }
  .stap { padding: 20px 16px; }
  .veldrij { grid-template-columns: 1fr; }
  .vragenlijst summary { font-size: 17px; }
  .kaartvak { height: 260px; }
}
@media (max-width: 380px) {
  .merk-tekst span { display: none; }
}
@media print {
  .diorama, .kop .knop, .melden { display: none; }
}

/* Gegroepeerde balken en legenda */
.legenda { display: flex; gap: 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--inkt-2); }
.legenda li { display: inline-flex; align-items: center; gap: 7px; }
.stip { width: 12px; height: 12px; border-radius: 3px; }
.stip-licht { background: repeating-linear-gradient(90deg, #f7dc85 0 50%, #a9bfdc 50% 100%); }
.stip-vol { background: repeating-linear-gradient(90deg, var(--geel) 0 50%, var(--blauw) 50% 100%); }
.groepen { display: grid; gap: 18px; margin-top: 18px; }
.groep { display: grid; gap: 6px; }
.groep-naam { font-size: 15px; font-weight: 700; color: var(--inkt); }
.groep .balk-rij { grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: 'spoor waarde'; align-items: center; gap: 12px; }
.groep .balk-spoor { height: 22px; }
.groep .balk-waarde { text-align: right; font-size: 20px; }
.groep .balk-waarde.klein { font-size: 15px; font-weight: 700; color: var(--inkt-3); }
.balk-geel-licht { background: #f7dc85; }
.balk-blauw-licht { background: #a9bfdc; }

@media (max-width: 760px) {
  .diorama-podium { aspect-ratio: 1 / 0.86; }
  .scene-keuze { display: grid; grid-template-columns: 1fr 1fr; }
  .scene-keuze button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Tekstpagina's ---------- */
.tekstpagina { max-width: 760px; padding-block: 40px 80px; }
.tekstpagina h1 { font-size: clamp(32px, 4vw, 44px); margin: 18px 0 14px; }
.tekstpagina h2 { font-size: 22px; margin: 32px 0 8px; }
.tekstpagina p, .tekstpagina li { color: var(--inkt-2); }
.tekstpagina p + p { margin-top: 10px; }
.tekstpagina ul { padding-left: 22px; display: grid; gap: 6px; margin: 8px 0 10px; }
.terug { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.concept { padding: 12px 14px; background: var(--geel-zacht); border: 1px solid #ecd889; border-radius: 10px; font-size: 15px; }
.leeg-pagina { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; }
.leeg-pagina h1 { margin: 6px 0 0; }

/* ---------- Beheer ---------- */
.conceptbalk { margin: 0; padding: 8px 16px; background: var(--geel); text-align: center; font-size: 14px; }
.beheer { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.beheer h1 { font-size: 34px; margin: 0 0 16px; }
.beheer form { display: grid; gap: 14px; max-width: 420px; }
.teller { margin: 0 0 16px; color: var(--inkt-3); font-size: 15px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button { min-height: 44px; padding: 8px 15px; border: 1px solid var(--lijn-2); border-radius: 24px; background: var(--wit); font: 700 15px var(--kop); cursor: pointer; }
.tabs button[aria-pressed=true] { background: var(--inkt); border-color: var(--inkt); color: var(--wit); }
.beheerkaart { padding: 18px; margin-bottom: 14px; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); overflow-wrap: anywhere; }
.beheerkaart h2 { font-size: 19px; margin-bottom: 4px; }
.beheerkaart img, .beheerkaart video { display: block; max-width: 100%; max-height: 320px; margin: 10px 0; border-radius: 8px; }
.beheerkaart .contact { padding: 8px 12px; background: var(--papier); border-radius: 8px; font-size: 15px; }
.acties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acties .knop { font-size: 15px; min-height: 42px; padding: 8px 16px; }
.acties .gevaar { margin-left: auto; background: transparent; color: var(--inkt-2); box-shadow: inset 0 0 0 1px var(--lijn-2); }
.leeg { color: var(--inkt-3); }

/* ---------- Verhaal: één kolom die ademt ---------- */
.smal { width: min(100% - 32px, 760px); margin-inline: auto; }
.sectie-kop.midden { text-align: center; margin-inline: auto; margin-bottom: 40px; }
.sectie-kop.midden p { max-width: 34em; margin-inline: auto; }
.knop-groot { min-height: 58px; padding: 14px 28px; font-size: 18px; }
.knop-donker { background: var(--inkt); box-shadow: 0 10px 26px -14px #000a; }
.knop-donker:hover { background: #000; }

/* Melden */
.melden { padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 96px); background: var(--wit); border-top: 1px solid var(--lijn); }
.melden .stap { padding: clamp(22px, 3.5vw, 36px); margin-top: 22px; border-radius: 20px; background: var(--papier); border: 1px solid var(--lijn); }
.melden .stap h3 { font-size: 23px; margin-bottom: 22px; }
.melden .bord-knop { background: var(--wit); min-height: 92px; }
.verborgen-select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.plekveld { margin: 22px 0 0; }
.kaartvak { height: 340px; }
.voortgang {
  position: sticky; top: calc(var(--kophoogte) + 10px); z-index: 20;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin: 0; padding: 6px; list-style: none;
  background: color-mix(in srgb, var(--wit) 90%, transparent); backdrop-filter: blur(8px);
  border: 1px solid var(--lijn); border-radius: 999px; box-shadow: 0 10px 30px -22px #17202e55;
}
.voortgang a { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 10px; border-radius: 999px; text-decoration: none; color: var(--inkt-2); font-weight: 700; font-size: 15px; transition: background .3s, color .3s; }
.voortgang a:hover { background: var(--papier-2); color: var(--inkt); }
.voortgang-nr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--lijn-2); font: 800 13px/1 var(--kop); transition: background .3s, border-color .3s, color .3s; }
.voortgang .is-klaar a { color: var(--inkt); }
.voortgang .is-klaar .voortgang-nr { background: var(--geel); border-color: var(--geel); color: transparent; position: relative; }
.voortgang .is-klaar .voortgang-nr::after { content: ''; position: absolute; left: 9px; top: 5px; width: 6px; height: 11px; border: solid var(--inkt); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.is-verstuurd .voortgang, .is-verstuurd #onderwerp, .is-verstuurd #locatie { display: none; }
.bedankt { padding: 40px 10px; }
.daarna { margin-top: 56px; text-align: center; }
.daarna h3 { font-size: 20px; margin-bottom: 22px; }
.daarna-stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.daarna-stappen li { display: grid; justify-items: center; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--inkt-2); }
.daarna-nr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blauw-zacht); color: var(--blauw); font: 800 15px/1 var(--kop); }
.daarna-noot { max-width: 36em; margin: 30px auto 0; font-size: 14.5px; color: var(--inkt-3); }
.daarna-noot a { color: var(--inkt-2); font-weight: 700; }

/* Waarom: stapel kaarten zoals op profinto.com */
.waarom { padding-block: clamp(72px, 10vw, 128px); }
.stapel { position: relative; }
.st-kaart {
  --st-top: calc(var(--kophoogte) + 16px);
  --st-bg: #17202e; --st-tekst: #fff; --st-zacht: #c9d1dc;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center;
  gap: 32px clamp(32px, 4vw, 64px); margin-bottom: 18px; padding: clamp(24px, 4vw, 56px);
  border-radius: 28px; background: var(--st-bg); color: var(--st-tekst);
}
.st-k2 { --st-bg: #143b6e; --st-top: calc(var(--kophoogte) + 28px); }
.st-k3 { --st-bg: #1d4f91; --st-top: calc(var(--kophoogte) + 40px); }
.st-k4 { --st-bg: var(--geel); --st-tekst: var(--inkt); --st-zacht: #4d4320; --st-top: calc(var(--kophoogte) + 52px); margin-bottom: 0; }
@media (min-width: 960px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  .st-kaart {
    position: sticky; top: var(--st-top);
    min-height: min(calc(100svh - var(--kophoogte) - 120px), 600px);
    margin-bottom: 16svh; overflow: hidden;
    transform-origin: 50% 0; transform: scale(calc(1 - 0.05 * var(--p, 0))); will-change: transform;
  }
  .st-kaart.st-k4 { margin-bottom: 0; }
  .st-kaart::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--papier); opacity: calc(0.55 * var(--p, 0)); pointer-events: none; }
}
.st-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 15px; color: var(--st-zacht); }
.st-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; font: 800 13px/1 var(--kop); }
.st-kaart h3 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.08; letter-spacing: -0.02em; }
.st-tekst > p:not(.st-label):not(.st-bron) { margin-top: 16px; font-size: 17.5px; color: var(--st-zacht); max-width: 32em; }
.st-lijst { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--st-zacht); font-size: 16px; }
.st-lijst li::marker { color: var(--geel); }
.st-tekst .knop { margin-top: 26px; }
.st-bron { margin-top: 22px; font-size: 13px; line-height: 1.5; color: var(--st-zacht); opacity: .8; }
.paneel { padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; background: var(--wit); color: var(--inkt); box-shadow: 0 24px 50px -30px #0008; }
.paneel-kop { font-size: 14px; color: var(--inkt-3); font-weight: 700; }
.paneel .legenda { margin-top: 10px; }
.paneel .kolommen { height: 190px; }
.paneel-noot { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--inkt-2); }
.stip-tekort { background: repeating-linear-gradient(135deg, #c8102e55 0 3px, transparent 3px 6px); border: 1px dashed #c8102e88; }
.bronnen { margin-top: 36px; text-align: center; }
.bronnen ul { text-align: left; margin-inline: auto; }

@media (max-width: 959px) {
  .st-kaart { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .voortgang a { flex-direction: column; gap: 4px; padding: 6px 4px; font-size: 13px; }
  .voortgang { border-radius: 18px; }
  .daarna-stappen { grid-template-columns: 1fr; gap: 16px; }
  .kaartvak { height: 280px; }
  .st-kaart { border-radius: 22px; padding: 24px 20px; }
  .st-kaart h3 { font-size: 27px; }
  .paneel .kolommen { height: 180px; }
}
.stap h3 { display: flex; align-items: center; gap: 12px; }
.stapnr { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--geel); color: var(--inkt); font: 800 16px/1 var(--kop); }
.borden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bronnen summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 700 16px var(--kop); color: var(--blauw); list-style: none; }
.bronnen summary::-webkit-details-marker { display: none; }
.bronnen[open] summary svg { transform: rotate(180deg); }
.bronnen ul { margin: 16px auto 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; color: var(--inkt-2); max-width: 900px; }
@media (max-width: 760px) { .borden { grid-template-columns: 1fr; } }
.melden .stap { scroll-margin-top: calc(var(--kophoogte) + 84px); }
@media (max-width: 760px) {
  .borden { grid-template-columns: 1fr 1fr; gap: 10px; }
  .melden .bord-knop { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 118px; padding: 14px 8px; }
  .bord-knop span { font-size: 0; }
  .bord-knop strong { font-size: 15.5px; margin: 0; }
  .melden .stap { scroll-margin-top: calc(var(--kophoogte) + 96px); }
}

/* Hero precies één scherm op desktop; de diorama krijgt de ruimte die overblijft. */
@media (min-width: 1081px) and (min-height: 640px) {
  .hero { height: calc(100svh - var(--kophoogte)); min-height: 0; grid-template-rows: minmax(0, 1fr); padding-block: clamp(20px, 3.5vh, 40px); }
  .diorama { height: 100%; max-height: 880px; display: flex; flex-direction: column; align-self: center; }
  .diorama-podium { aspect-ratio: auto; flex: 1 1 auto; min-height: 240px; margin-top: 8px; }
}
@media (max-width: 760px) {
  .kop .knop-klein { margin-left: auto; }
}

/* Telefoon: de stad direct onder de kop, als blikvanger; tekst en knop daarna. */
@media (max-width: 760px) {
  .hero { display: flex; flex-direction: column; gap: 0; padding-top: 22px; }
  .hero-tekst { display: contents; }
  .hero h1 { order: 1; }
  .diorama { order: 2; margin-top: 18px; }
  .lead { order: 3; margin-top: 22px; }
  .hero-acties { order: 4; margin-top: 22px; }
  .hero-acties .knop { width: 100%; }
  .hero-noot { order: 5; }
  .diorama-podium { aspect-ratio: 1 / 0.74; margin-top: 30px; margin-bottom: 0; }
  .diorama-draai { display: none; }
  .scene-keuze { margin-top: 6px; }
}
@media (min-width: 1600px) { :root { --breed: 1400px; } }
@media (min-width: 1081px) and (min-height: 640px) { .diorama { max-height: 800px; } }
.bord-knop, #mijn-locatie, #verstuur { scroll-margin-top: calc(var(--kophoogte) + 96px); scroll-margin-bottom: 24px; }
@media (max-width: 760px) {
  .tekstlink { min-height: 44px; }
  #locatie-wissen { min-height: 44px; padding-inline: 4px; }
  .voet nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .merk { min-height: 44px; }
}
.waarom { padding-bottom: clamp(32px, 4vw, 48px); }
.vragen { padding-top: clamp(48px, 6vw, 72px); }

/* Profinto-vermelding: op elke site van Profinto gelijk (markup, lettertype, maat, plek).
   Standaard: mockupmaker/livegang/profinto-credit.md. Per site alleen de drie kleuren. */
.profinto-credit { flex-basis: 100%; margin: 6px 0 0; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: .82rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; color: var(--credit-tekst, #7f8386); }
.profinto-credit a { color: var(--credit-link, #a7abae); font-weight: 600; text-decoration: none; }
.profinto-credit a:hover { color: var(--credit-hover, currentColor); }
:root { --credit-hover: var(--geel); }
.waarom { padding-top: clamp(32px, 4vw, 56px); padding-bottom: 16px; }
.bronnen { margin-top: 24px; }
.vragen { padding-top: 40px; }
.vragen h2 { margin-bottom: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1180px) {
  .scene-keuze { gap: 5px; }
  .scene-keuze button { padding: 8px 8px; font-size: 14px; }
}

/* Cookiemelding (alleen als Google Analytics is ingesteld, zie meten.js) */
.cookiebalk { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 22px; background: var(--inkt); color: var(--wit); border-radius: var(--rond); box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.cookiebalk[hidden] { display: none; }
.cookiebalk p { flex: 1 1 320px; margin: 0; font-size: .95rem; line-height: 1.5; }
.cookiebalk a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookiebalk__knoppen { display: flex; gap: 10px; flex: 0 0 auto; }
.cookiebalk__knop { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #ffffff80; background: none; color: var(--wit); font: inherit; font-weight: 700; cursor: pointer; }
.cookiebalk__knop--ja { background: var(--geel); border-color: var(--geel); color: var(--inkt); }
