
/* Layout: één kolom tot 1160px. Home: belofte, herkenning, drie stappen, voordelen per rol,
   referentie, het moment (2027), prijs met vertrouwen, vragen, afsluiter.
   De pagina voor gemeenten gebruikt dezelfde onderdelen. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #16191d;
  --ink-2: #3a4047;
  --ink-3: #697078;
  --line: #e4e6eb;
  --grid: rgba(22, 25, 29, 0.055);
  --accent: #f97316;
  --accent-ink: #c2540a;
  --accent-soft: rgba(249, 115, 22, 0.10);
  --on-accent: #ffffff;
  --card: #ffffff;
  --shot-bg: #f6f7f9;
  --shadow: 0 1px 2px rgba(22,25,29,.06), 0 14px 36px -14px rgba(22,25,29,.22);
  --font-display: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111316; --bg-soft: #181b1f; --ink: #f1f2f4; --ink-2: #c9ccd2; --ink-3: #9aa0a8;
    --line: #2a2e34; --grid: rgba(241,242,244,0.05); --accent: #fb8a3c; --accent-ink: #fdac72;
    --accent-soft: rgba(251,138,60,0.14); --on-accent: #1a0d03; --card: #1b1e23; --shot-bg: #22262c;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111316; --bg-soft: #181b1f; --ink: #f1f2f4; --ink-2: #c9ccd2; --ink-3: #9aa0a8;
  --line: #2a2e34; --grid: rgba(241,242,244,0.05); --accent: #fb8a3c; --accent-ink: #fdac72;
  --accent-soft: rgba(251,138,60,0.14); --on-accent: #1a0d03; --card: #1b1e23; --shot-bg: #22262c;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.lead { color: var(--ink-2); font-size: 1.08rem; max-width: 58ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; gap: .5rem; height: 48px; padding: 0 1.25rem; border-radius: 14px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.klein { margin-top: .9rem; font-size: .85rem; color: var(--ink-3); }

header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 66px; }
.merk { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.merk svg { width: 34px; height: 34px; color: var(--accent); }
.woord { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; }
.woord b { color: var(--accent); font-weight: 900; }
nav.menu { display: flex; align-items: center; gap: 1.5rem; font-size: .93rem; color: var(--ink-2); }
nav.menu a { text-decoration: none; }
nav.menu a:hover { color: var(--ink); }
.top .btn { height: 40px; padding: 0 1rem; font-size: .9rem; }
@media (max-width: 860px) { nav.menu .opt { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background-color: var(--bg-soft); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; padding-block: 4.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 1.25rem; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem 3.5rem; } }

.etalage { position: relative; padding-bottom: 2.5rem; padding-right: 7.5rem; }
.paneel { background: var(--shot-bg); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 12px; }
.paneel-kop { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.paneel-kop i { width: 9px; height: 9px; border-radius: 99px; background: var(--line); }
.paneel-kop span { margin-left: 8px; font-size: .75rem; color: var(--ink-3); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis img, .paneel .breed { border-radius: 12px; }
.paneel .breed { margin-top: 8px; }
.telefoon { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 220px; border-radius: 30px; padding: 7px; background: #16191d; box-shadow: 0 24px 50px -18px rgba(0,0,0,.45); }
.telefoon img { border-radius: 24px; }
.label-vb { position: absolute; top: -12px; left: 18px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 3px 9px; border-radius: 99px; z-index: 2; }
@media (max-width: 560px) { .etalage { padding-right: 0; padding-bottom: 0; } .telefoon { display: none; } .kpis { grid-template-columns: 1fr 1fr; } .kpis img:nth-child(3) { display: none; } }

section.blok { padding-block: 5rem; }
section.blok.zacht { background: var(--bg-soft); border-block: 1px solid var(--line); }
.kop { display: grid; gap: .8rem; margin-bottom: 3rem; max-width: 760px; }

/* Drie voordelen als afwisselende rijen */
.voordelen { display: grid; gap: 5rem; }
.voordeel { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.voordeel.om .tekst { order: 2; }
.voordeel .tekst { display: grid; gap: 1rem; align-content: center; }
.voordeel h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.voordeel p { color: var(--ink-2); max-width: 46ch; }
.punten { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .5rem; }
.punten li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.punten svg { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }
.beeld { position: relative; }
.beeld .schot { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.tel-los { width: min(280px, 70%); margin-inline: auto; border-radius: 34px; padding: 8px; background: #16191d; box-shadow: var(--shadow); }
.tel-los img { border-radius: 27px; }
.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; align-items: start; }
.duo img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.duo img + img { margin-top: 40px; }
@media (max-width: 860px) {
  .voordelen { gap: 3.5rem; }
  .voordeel { grid-template-columns: 1fr; gap: 2rem; }
  .voordeel.om .tekst { order: 0; }
}

/* Rapportage: het A4-voorbeeld met daarover de twee manieren van delen */
.rapport { position: relative; padding: 0 0 2rem 2.5rem; }
.rapport .a4 { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; max-height: 520px; object-fit: cover; object-position: top; width: 100%; }
.deel { position: absolute; left: 0; bottom: 0; width: min(300px, 78%); background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 8px; }
.deel-kop { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; }
.deel-kop span { font-size: .72rem; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 99px; }
.deel-link { font-size: .8rem; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deel-code { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }
.deel-code b { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .18em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pdf { position: absolute; top: -14px; right: -6px; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--bg); font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; box-shadow: var(--shadow); }
.pdf svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .rapport { padding: 0; } .deel { position: relative; width: 100%; margin-top: -40px; } .pdf { right: 8px; } }

/* Strook met dashboardonderdelen */
.strook { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.strook figure { margin: 0; display: grid; gap: .55rem; }
.strook img { border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.strook figcaption { font-size: .88rem; color: var(--ink-3); }
.strook figcaption b { color: var(--ink); font-weight: 600; }
.waarom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
.waarom .kop { margin-bottom: 0; }
.verhaal { display: grid; gap: 1.1rem; }
.verhaal p { color: var(--ink-2); font-size: 1.12rem; line-height: 1.7; max-width: 60ch; margin: 0; }
.verhaal .wie { font-size: .95rem; color: var(--ink-3); }
.verhaal .wie b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .waarom { grid-template-columns: 1fr; gap: 1.5rem; } }
.verder { margin-top: 2rem; color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
@media (max-width: 900px) { .strook { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Prijs met veiligheid */
.prijs { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.prijs-links { padding: 2.25rem; display: grid; gap: 1rem; align-content: start; }
.bedrag { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1; }
.bedrag small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-3); margin-left: .35rem; }
@media (max-width: 480px) { .bedrag small { display: block; margin: .5rem 0 0; } }
.staffel { width: 100%; border-collapse: collapse; font-size: .95rem; }
.staffel caption { text-align: left; font-size: .85rem; color: var(--ink-3); padding-bottom: .35rem; }
.staffel th { text-align: left; font-weight: 500; color: var(--ink-2); padding: .45rem 0; white-space: nowrap; border-top: 1px solid var(--line); }
@media (max-width: 480px) { .staffel { font-size: .88rem; } }
.staffel td { text-align: right; font-weight: 700; padding: .45rem 0 .45rem .75rem; border-top: 1px solid var(--line); white-space: nowrap; }
.prijs-links ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; color: var(--ink-2); }
.prijs-rechts { background: var(--bg-soft); border-left: 1px solid var(--line); padding: 2.25rem; display: grid; gap: 1.1rem; align-content: start; }
.veilig { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.veilig li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: .93rem; color: var(--ink-2); }
.veilig b { color: var(--ink); display: block; }
.veilig svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
@media (max-width: 820px) { .prijs { grid-template-columns: 1fr; } .prijs-rechts { border-left: 0; border-top: 1px solid var(--line); } }

/* Vragen */
.vragen { display: grid; gap: .6rem; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; }
details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); line-height: 1; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); padding-bottom: 1rem; max-width: 68ch; }

.slot { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; background: var(--ink); color: var(--bg); border-radius: 24px; padding: 2.5rem; }
.slot p { color: color-mix(in srgb, var(--bg) 75%, var(--ink)); margin-top: .6rem; }
.slot .btn-ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.slot .mail { color: var(--bg); }
@media (max-width: 760px) { .slot { grid-template-columns: 1fr; padding: 2rem 1.5rem; } }

footer { border-top: 1px solid var(--line); padding-block: 2.5rem 3rem; color: var(--ink-3); font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
footer h4 { margin: 0 0 .6rem; color: var(--ink); font-size: .9rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.mail { user-select: all; color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

.teken .c { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lijn .9s ease-out forwards; }
.teken .s { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lijn .3s ease-out .9s forwards; }
.teken .g { opacity: 0; animation: verschijn .4s ease-out 1.15s forwards; }
@keyframes lijn { to { stroke-dashoffset: 0; } }
@keyframes verschijn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .teken .c, .teken .s { stroke-dashoffset: 0; animation: none; }
  .teken .g { opacity: 1; animation: none; }
  .btn { transition: none; }
}

/* Bewijsregel onder de knoppen */
.bewijs { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem; font-size: .9rem; color: var(--ink-2); }
.bewijs svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.bewijs b { color: var(--ink); font-weight: 600; }

/* Herkenning */
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.kaartje { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; gap: .5rem; align-content: start; }
.kaartje p { color: var(--ink-2); font-size: .95rem; }
.kaartje .nr { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--accent); line-height: 1; }
.daarom { margin-top: 2rem; font-size: 1.15rem; color: var(--ink); max-width: 60ch; }
.daarom b { color: var(--accent-ink); }
@media (max-width: 820px) { .drie { grid-template-columns: 1fr; } }

/* Voor teamleiders en MT */
.vier { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.vier .kaartje { padding: 1.5rem; gap: .55rem; }
.vier h3 { font-size: 1.12rem; }
.kaartje .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: .2rem; }
.kaartje .ico svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .vier { grid-template-columns: 1fr; } }
.cijfers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.cijfer-kaart { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.4rem 1.4rem; display: grid; gap: .6rem; align-content: start; }
.cijfer-kop { display: flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.cijfer-kop i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); flex: none; }
.cijfer-kop svg { width: 17px; height: 17px; }
.meter { display: block; width: 100%; max-width: 280px; height: auto; margin: .2rem auto 0; overflow: visible; }
.meter .streep { stroke: #f97316; stroke-opacity: .35; stroke-width: .8; stroke-linecap: round; }
.meter .streep.groot { stroke-opacity: .7; stroke-width: 1.4; }
.meter .lab { fill: #9aa0a8; }
.meter .naald { transform-box: view-box; transform-origin: 50px 52px; transition: transform 1.6s cubic-bezier(.25,1.25,.45,1); }
.meter .naald line { stroke: #f97316; stroke-width: 2; stroke-linecap: round; }
.meter-getal { font-family: var(--font-display); font-size: 14px; font-weight: 800; fill: var(--ink); }
.cijfer-getal { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--ink); margin-top: .2rem; }
.poppetjes { display: flex; flex-wrap: wrap; align-content: flex-start; gap: calc(var(--maat, 16px) * .28); height: 118px; overflow: hidden; margin-top: .3rem; }
.poppetjes svg { width: var(--maat, 16px); height: var(--maat, 16px); fill: var(--accent); opacity: 0; transform: translateY(6px) scale(.6); }
.cijfers.aan .poppetjes svg { animation: poppetje .45s cubic-bezier(.3,1.5,.5,1) forwards; animation-delay: calc(var(--i) * var(--duur, 1000ms) / var(--aantal, 100)); }
.poppetjes svg:nth-child(3n+2) { fill: #fb8c3c; }
.poppetjes svg:nth-child(5n+4) { fill: #fdba8c; }
@keyframes poppetje { to { opacity: 1; transform: none; } }
.cijfer-voet { font-size: .8rem; color: var(--ink-3); }
.live-label { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #15803d; background: #dcfce7; border-radius: 99px; padding: .2rem .55rem .2rem .5rem; }
.live { width: 8px; height: 8px; border-radius: 99px; background: #16a34a; box-shadow: 0 0 0 0 rgb(22 163 74 / .5); animation: live 2s ease-out infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgb(22 163 74 / .45); } 100% { box-shadow: 0 0 0 8px rgb(22 163 74 / 0); } }
@media (max-width: 760px) { .cijfers { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .meter .naald { transition: none; }
  .poppetjes svg { opacity: 1; transform: none; }
  .cijfers.aan .poppetjes svg, .live { animation: none; }
}
.voorbeeld { margin: 0; color: var(--ink); font-weight: 600; }

/* Per rol */
.rol { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; display: grid; gap: 1rem; align-content: start; }
.rol .wie { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.rol.uit { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.rol a.verder-link { font-weight: 600; color: var(--accent-ink); text-decoration: none; font-size: .93rem; }
.rol a.verder-link:hover { text-decoration: underline; }

/* Referentie */
.referentie { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 2rem; background: var(--card); }
.referentie .stempel { width: 64px; height: 64px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.referentie .stempel svg { width: 34px; height: 34px; }
.referentie p { color: var(--ink-2); max-width: 70ch; }
.referentie h3 { margin-bottom: .4rem; }
@media (max-width: 560px) { .referentie { grid-template-columns: 1fr; padding: 1.5rem; } }

/* Het moment */
.moment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.75rem; align-items: center; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); border-radius: 20px; padding: 2rem; }
.moment .jaar { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--accent-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.moment p { color: var(--ink-2); max-width: 62ch; margin-top: .4rem; }
@media (max-width: 820px) { .moment { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; } }

/* Kleinere kop voor vervolgpagina's */
.hero.klein-hero .wrap { padding-block: 3.5rem; }
.hero.klein-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.lijst-groot { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.lijst-groot li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
.lijst-groot svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.lijst-groot b { display: block; color: var(--ink); }
.lijst-groot span { color: var(--ink-2); }
nav.menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Praatplaat in de pagina */
.plaat-kader { position: relative; height: min(80vh, 760px); min-height: 520px; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.plaat-kader iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.klein a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.klein a:hover { text-decoration: underline; }
@media (max-width: 760px) { .plaat-kader { height: 86vh; min-height: 560px; border-radius: 16px; } }

/* Referentie en het moment naast elkaar */
.duo-strook { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.duo-strook .referentie { align-items: start; }
.duo-strook .moment { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .duo-strook { grid-template-columns: 1fr; } }

/* Rapportvel in de kop */
.vel { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.4); }
.vel img { border-radius: 8px; }
.vel .pdf { top: -12px; right: -8px; }
@media (max-width: 560px) { .vel { display: none; } }

/* Kop van de homepagina: uitleg en een voorbeeld om zelf te proberen.
   Eén ding beweegt: het aantal dat je opslaat reist van de telefoon via het
   totaal naar de rapportage. */
.kop1 { border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.kop1 .wrap { padding-block: 2.75rem 2.25rem; }
.kop1-tekst { max-width: 760px; }
.kop1 h1 { font-size: clamp(2rem, 3.9vw, 2.9rem); font-weight: 800; }
.kop1 .lead { margin-top: .9rem; font-size: 1.06rem; }
.kop1 .knoppen { margin-top: 1.4rem; }

.demo { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.25rem; align-items: start; }
.demo-lijn { position: absolute; left: 8%; right: 8%; top: 13px; height: 2px; background: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.demo-lijn i { position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 99px; background: var(--accent); opacity: 0; }
.stap { position: relative; display: grid; gap: .9rem; }
.stap-kop { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .98rem; }
.stap-kop span { position: relative; z-index: 1; background: var(--bg-soft); padding-right: .6rem; }
.stap-kop b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: .9rem; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--bg-soft); }

/* 1. telefoonkaart */
.tel { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 1rem 1.1rem .9rem; box-shadow: var(--shadow); display: grid; gap: .25rem; }
.tel-wanneer { font-size: .8rem; color: var(--ink-3); }
.tel-titel { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.tel-plek { font-size: .9rem; color: var(--ink-2); margin-bottom: .35rem; }
.veld { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.teller { display: flex; align-items: center; gap: .35rem; }
.teller button { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.teller button:hover { border-color: var(--accent); }
.teller output { min-width: 2.6ch; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips button { border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); border-radius: 99px; padding: .3rem .7rem; font: inherit; font-size: .85rem; cursor: pointer; }
.chips button[aria-checked="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.opslaan { margin-top: .5rem; height: 44px; border: 0; border-radius: 14px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700; cursor: pointer; transition: transform .12s ease, background .2s ease; }
.opslaan:active, .opslaan.druk { transform: scale(.97); }
.opslaan.klaar { background: #16a34a; color: #fff; }
.tel-tip { font-size: .8rem; color: var(--ink-3); text-align: center; margin-top: .35rem; min-height: 1.3em; }

/* 2. totaal van de organisatie */
.dash { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow); }
.dash-jaar { font-size: .85rem; color: var(--ink-3); }
.tal { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: .5rem; margin-top: .4rem; }
.tal strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.1; letter-spacing: -0.01em; }
.tal span { display: block; font-size: .8rem; line-height: 1.3; color: var(--ink-2); }
.tal .op strong { color: var(--accent); }
.tal > div { position: relative; }
.bij { display: inline-block; margin-top: .3rem; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: .05rem .4rem; opacity: 0; pointer-events: none; }
.bij.zie { animation: erbij 2.6s ease forwards; }
@keyframes erbij { 0% { opacity: 0; transform: translateY(4px); } 12%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.knoppen-klein { margin-top: 1rem; }
.balken { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; align-items: end; height: 84px; margin-top: 1rem; }
.balken i { display: block; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--accent) 28%, var(--line)); transition: height .5s ease; }
.balken i:last-child { background: var(--accent); }
.maanden { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; font-size: .62rem; line-height: 1; color: var(--ink-3); margin-top: .35rem; text-align: center; }
.maanden span:last-child { color: var(--accent-ink); font-weight: 700; }
.dash-sub { font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-top: 1rem; }
.dash-sub + .balken { margin-top: .45rem; }
.kaart { display: block; width: 100%; height: auto; margin-top: .45rem; overflow: visible; }
.kaart #wijken path { fill: #eef0f3; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transition: fill .6s ease; }
.kaart #wijken path.grens { fill: none; stroke: #9aa3ad; stroke-width: 1; }
.kaart-vak { position: relative; }
.kaart #wijken path[data-w] { cursor: pointer; }
.kaart #wijken path.actief { stroke: #16191d; stroke-width: 1.6; }
.kaart-tip { position: absolute; z-index: 3; width: max-content; max-width: 190px; padding: .45rem .6rem; border-radius: 10px; background: #16191d; color: #fff; font-size: .72rem; line-height: 1.35; box-shadow: 0 8px 24px rgb(0 0 0 / .18); pointer-events: none; }
.kaart-tip b { display: block; font-size: .78rem; margin-bottom: .1rem; }
.kaart-tip span { display: block; color: #d6d9de; }
.kaart-tip span strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.kaart-tip::after { content: ""; position: absolute; left: var(--pijl, 50%); width: 10px; height: 10px; background: #16191d; transform: translateX(-50%) rotate(45deg); }
.kaart-tip.boven::after { bottom: -4px; }
.kaart-tip.onder::after { top: -4px; }
.kaart .pin { fill: #16191d; stroke: #fff; stroke-width: 1.6; opacity: 0; transition: opacity .3s ease; }
.kaart .pin.zie { opacity: 1; }
.kaart .pin-golf { fill: none; stroke: var(--accent); stroke-width: 2; opacity: 0; }
.kaart .pin-golf.zie { animation: golf 1.6s ease-out; }
@keyframes golf { 0% { opacity: .9; r: 4px; } 100% { opacity: 0; r: 22px; } }
.kaart-leg { display: flex; align-items: center; gap: 3px; font-size: .62rem; color: var(--ink-3); margin-top: .35rem; }
.kaart-leg span:first-child { margin-right: 3px; }
.kaart-leg span:last-child { margin-left: 3px; }
.kaart-leg i { width: 14px; height: 7px; border-radius: 2px; }
.kaart-leg i:nth-of-type(1) { background: #fee0cc; }
.kaart-leg i:nth-of-type(2) { background: #fdc7a2; }
.kaart-leg i:nth-of-type(3) { background: #fcae78; }
.kaart-leg i:nth-of-type(4) { background: #fa9249; }
.kaart-leg i:nth-of-type(5) { background: #f97316; }


/* 3. rapportage: zoals een pagina uit de app */
.rap-balk { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: -1rem -1rem .1rem; padding: .5rem .6rem .5rem 1rem; background: #f5f6f8; border-bottom: 1px solid #e4e6eb; border-radius: 10px 10px 0 0; }
.rap-balk > span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9aa0a8; }
.rap .rap-knop { background: #fff; color: #16191d; border-color: #e4e6eb; }
.rap .rap-knop.klaar { background: #16a34a; border-color: #16a34a; color: #fff; }
.rap-noot { display: flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--accent-ink); }
.rap-noot svg { width: 16px; height: 16px; flex: none; }
.rap-acties { display: flex; gap: .35rem; flex: none; }
.rap-knop { display: inline-flex; align-items: center; gap: .35rem; height: 32px; padding: 0 .65rem; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s ease, background .2s ease; }
.rap-knop:hover { border-color: var(--accent); }
.rap-knop svg { width: 15px; height: 15px; flex: none; }
.rap-knop-ico { width: 32px; padding: 0; justify-content: center; }
.rap-knop.klaar { background: #16a34a; border-color: #16a34a; color: #fff; }
.rap-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; width: min(280px, 100%); background: #fff; border: 1px solid #e4e6eb; border-radius: 14px; padding: .8rem .9rem; box-shadow: var(--shadow); font-size: .8rem; line-height: 1.45; color: #16191d; }

.rap { background: #fff; color: #16191d; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; box-shadow: var(--shadow); display: grid; gap: .6rem; }
.rap-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding-bottom: .7rem; border-bottom: 1px solid #e4e6eb; }
.rap-titel { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.rap-org { font-size: .8rem; font-weight: 600; color: #ea6a0c; margin-top: .1rem; }
.rap-periode { display: inline-block; margin-top: .35rem; font-size: .68rem; font-weight: 600; color: #fff; background: #f97316; border-radius: 99px; padding: .12rem .55rem; }
.rap-logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #f97316; color: #fff; font-weight: 700; font-size: .85rem; }
.rap-rij { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rap-kaart { border: 1px solid #e4e6eb; border-radius: 12px; padding: .65rem .7rem; min-width: 0; }
.rap-kaart-kop { display: flex; align-items: center; gap: .4rem; font-size: .74rem; color: #3a4047; }
.rap-kaart-kop i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: #fff1e6; color: #f97316; flex: none; }
.rap-kaart-kop svg { width: 13px; height: 13px; }
.rap-getal { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; margin-top: .35rem; }
.rap-klein { font-size: .68rem; color: #697078; margin-top: .25rem; }
.rap-klein b { color: #ea6a0c; }
.analoog { display: block; width: 100%; max-width: 150px; height: auto; margin: .25rem auto 0; }
.analoog .naald { transform-box: view-box; transform-origin: 50px 52px; transition: transform .7s cubic-bezier(.3,1.4,.5,1); }
.analoog .naald line { stroke: #f97316; stroke-width: 2; stroke-linecap: round; }
.analoog-getal { font-family: var(--font-display); font-size: 14px; font-weight: 800; fill: #16191d; font-variant-numeric: tabular-nums; }
.analoog-van { font-size: 6.5px; fill: #9aa0a8; }
.analoog .lab { font-size: 5.5px; fill: #9aa0a8; }
.rap-balken { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; }
.rap-balken li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .4rem; row-gap: .15rem; font-size: .66rem; line-height: 1.2; color: #3a4047; }
.rap-balken li span { min-width: 0; overflow-wrap: anywhere; }
.rap-balken li b { color: #16191d; font-variant-numeric: tabular-nums; }
.rap-balken li u { grid-column: 1 / -1; display: block; height: 6px; border-radius: 99px; background: #fde6d3; overflow: hidden; }
.rap-balken li u i { display: block; height: 100%; border-radius: 99px; transition: width .6s ease; }
.rap-meter { height: 5px; border-radius: 99px; background: #fde6d3; margin-top: .45rem; overflow: hidden; }
.rap-meter u { display: block; height: 100%; border-radius: 99px; background: #f97316; transition: width .6s ease; }
.rap-lijn { display: block; width: 100%; height: 22px; margin-top: .3rem; }
.rap-lijn .lijn { fill: none; stroke: #f97316; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.rap-lijn .vlak { fill: #fde6d3; opacity: .7; }
.rap-res-in { display: flex; align-items: center; gap: .9rem; margin-top: .45rem; }
.donut { position: relative; flex: none; width: 92px; height: 92px; }
.donut svg { width: 100%; height: 100%; }
.donut circle { fill: none; stroke-width: 6.5; transition: stroke-dasharray .6s ease, stroke-dashoffset .6s ease; }
.donut p { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.donut b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.donut span { font-size: .62rem; color: #9aa0a8; }
.legenda { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; flex: 1; min-width: 0; }
.legenda li { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: .4rem; font-size: .72rem; color: #3a4047; }
.legenda i { width: 8px; height: 8px; border-radius: 99px; }
.legenda b { color: #16191d; font-variant-numeric: tabular-nums; }

.flits { animation: flits .9s ease; }
@keyframes flits { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent), var(--shadow); } 100% { box-shadow: 0 0 0 14px transparent, var(--shadow); } }

@media (max-width: 980px) {
  .kop1 .wrap { padding-block: 2.5rem 2.25rem; }
  .demo { grid-template-columns: 1fr; gap: 1.75rem; margin-top: 2.25rem; max-width: 460px; }
  .demo-lijn { left: 13px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
  .demo-lijn i { left: -5px; top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .balken i, .opslaan, .rap-meter u, .donut circle, .analoog .naald, .kaart #wijken path, .rap-balken li u i { transition: none; }
  .flits, .bij.zie, .kaart .pin-golf.zie { animation: none; }
  .bij.zie { opacity: 1; }
}

/* Tussen tablet en breed scherm zijn de drie kolommen van het voorbeeld smal:
   dan staan de onderdelen van de rapportage onder elkaar. */
@media (min-width: 981px) and (max-width: 1180px) {
  .rap-rij { grid-template-columns: 1fr; }
  .veld span { font-size: .86rem; }
  .teller { gap: .2rem; }
  .teller button { width: 30px; height: 30px; border-radius: 10px; font-size: 1.05rem; }
  .teller output { font-size: 1.2rem; }
  .donut { width: 76px; height: 76px; }
  .rap-res-in { gap: .6rem; }
  .legenda li { font-size: .68rem; }
}

/* Voorbeeldrapportage op de pagina voor gemeenten */
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; color: var(--ink); background: var(--accent-soft); border-radius: 6px; padding: .05rem .4rem; white-space: nowrap; }
.code-kopie { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; vertical-align: middle; }
.kopieer { display: inline-flex; align-items: center; gap: .3rem; height: 26px; padding: 0 .5rem; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .2s ease, color .2s ease; }
.kopieer:hover { border-color: var(--accent); color: var(--accent-ink); }
.kopieer svg { width: 13px; height: 13px; flex: none; }
.kopieer.klaar { background: #16a34a; border-color: #16a34a; color: #fff; }
a.deel-link { display: block; color: var(--accent-ink); text-decoration: none; }
a.deel-link:hover { text-decoration: underline; }
.kopie-melding { position: fixed; left: 16px; right: 16px; bottom: 24px; margin: 0 auto; width: fit-content; z-index: 50; max-width: 520px; text-align: center; background: #16191d; color: #fff; font-size: .88rem; padding: .7rem 1rem; border-radius: 12px; box-shadow: 0 10px 30px rgb(0 0 0 / .2); }
.deel-code { flex-wrap: wrap; gap: .35rem .6rem; }
.deel .code-kopie b { font-size: 1rem; letter-spacing: .1em; }

/* Rekenhulp bij de prijs */
.rekenhulp { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 1.1rem; display: grid; gap: .7rem; min-width: 0; }
.rekenhulp[hidden] { display: none; }
.rekenhulp h3 { margin: 0; font-size: 1.05rem; }
.rekenhulp label[for], .rh-label { margin: 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.rh-zoek { position: relative; }
.rh-zoek input { width: 100%; box-sizing: border-box; height: 44px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.rh-zoek input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
#rh-lijst { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .3rem; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 320px; overflow-y: auto; }
#rh-lijst li { display: grid; padding: .45rem .6rem; border-radius: 8px; cursor: pointer; }
#rh-lijst li small { color: var(--ink-3); font-size: .8rem; }
#rh-lijst li[aria-selected="true"], #rh-lijst li[role=option]:hover { background: var(--accent-soft); }
#rh-lijst .rh-leeg { color: var(--ink-3); cursor: default; }
.rekenhulp .rh-gekozen { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rh-gekozen:empty { display: none; }
.rh-gekozen li { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .6rem; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .4rem .4rem .4rem .75rem; min-width: 0; }
.rh-gekozen span { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.rh-gekozen small { grid-column: 1; grid-row: 2; color: var(--ink-3); font-size: .8rem; }
.rh-gekozen button { grid-column: 2; grid-row: 1 / span 2; }
.rh-gekozen button { border: 0; background: transparent; color: var(--ink-3); font-size: 1.25rem; line-height: 1; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; flex: none; }
.rh-gekozen button:hover { background: var(--bg-soft); color: var(--ink); }
.rh-proef { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.rh-proef input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.rh-hint { margin: 0; font-size: .9rem; color: var(--ink-3); }
.rh-tabel { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rh-tabel th { text-align: left; font-size: .8rem; font-weight: 600; color: var(--ink-3); padding: .7rem 0 .3rem; }
.rh-tabel tr.rh-kop:first-child th { padding-top: 0; }
.rh-tabel td { padding: .35rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.rh-tabel td small { display: block; font-size: .78rem; color: var(--ink-3); }
.rh-tabel td:last-child { text-align: right; white-space: nowrap; padding-left: .75rem; font-variant-numeric: tabular-nums; }
.rh-tabel tr.rh-sub td { border-top: 1px solid var(--ink-3); color: var(--ink-2); }
.rh-tabel tr.rh-btw td { color: var(--ink-2); }
.rh-totaal { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 2px solid var(--ink); padding-top: .6rem; }
.rh-totaal span { font-size: .95rem; }
.rh-totaal strong { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; white-space: nowrap; }
@media (max-width: 480px) { .prijs-links { padding: 1.5rem 1.25rem; } .rekenhulp { padding: .9rem; } }
