/* Woongezond — publieke site. Concept: een goed gezet meetrapport. Linkerkolom met rubriek,
   rechts de tekst; hairlines in plaats van kaarten; één accent (het merkgroen) als stempel;
   condensed grotesk voor koppen en getallen, serif voor lopende tekst. Alleen licht thema. */
:root {
  color-scheme: light;
  --paper: #FAFAF7;
  --paper-2: #F3F3EE;
  --ink: #17201C;
  --ink-2: #3E4A45;
  --muted: #5E6B66;
  --rule: rgba(23,32,28,.16);
  --rule-soft: rgba(23,32,28,.08);
  --green: #0B7A5C;
  --green-deep: #08402F;
  --green-tint: #E6F3EE;
  --rh: #0E6E8A;       /* meetkleur: vocht op de koudste plek */
  --outdoor: #9AA39E;  /* buitenlucht */
  --risk: #B45309;     /* risicoband */
  --risk-tint: rgba(180,83,9,.09);
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.125rem; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .14em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; font-family: var(--head); z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ── Typografie ─────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--head); font-variation-settings: "wdth" 92; letter-spacing: -.012em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; font-variation-settings: "wdth" 96; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
strong { font-weight: 600; }
em { font-style: italic; }
.eyebrow { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 .9rem; font-variation-settings: "wdth" 100; }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--ink-2); max-width: 60ch; font-variation-settings: "opsz" 18; }
.aside { font-size: .98rem; color: var(--muted); }
.role { font-family: var(--head); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: -.3rem 0 .8rem; }
.meta { font-family: var(--head); font-size: .9rem; color: var(--muted); }
.num-sm { font-size: 1.45rem !important; }
.num { font-family: var(--head); font-variation-settings: "wdth" 84; font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Kop ────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.wordmark { font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin: 0; font-variation-settings: "wdth" 100; }
.wordmark:hover { color: var(--ink); }
.mark { color: var(--green); flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.site-nav a { font-family: var(--head); font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--green); }
.site-nav .login a { color: var(--muted); border: 1px solid var(--rule); padding: 6px 12px; }
.site-nav .login a:hover { color: var(--ink); border-color: var(--ink); }
.nav-label { display: none; }
@media (max-width: 860px) {
  .nav-label { display: inline-block; cursor: pointer; font-family: var(--head); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); user-select: none; }
  .nav-toggle:checked ~ .nav-label { background: var(--green-deep); border-color: var(--green-deep); }
  .nav-toggle:focus-visible ~ .nav-label { outline: 2px solid var(--green); outline-offset: 3px; }
  .site-nav ul { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav-toggle:checked ~ ul { display: flex; }
  .site-nav li { border-top: 1px solid var(--rule-soft); }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--green); }
  .site-nav .login a { border: 0; padding: 12px 0; }
}

/* ── Secties: rapportgrid ───────────────────────────── */
main { padding-block: 0 4rem; }
.section.band { background: var(--paper-2); box-shadow: 0 0 0 100vmax var(--paper-2); clip-path: inset(0 -100vmax); }
.section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 3rem; padding-block: clamp(2.2rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.section-no { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .6rem; }
.section-head h2 { max-width: 20ch; }
.section-body > :last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .section { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .section-head { position: sticky; top: 88px; align-self: start; }
}

/* ── Hero / paginakop ───────────────────────────────── */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; } }
.hero h1 { max-width: 20ch; margin-bottom: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 1.6rem; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem); }
.page-head h1 { max-width: 22ch; margin-bottom: 1.2rem; }

/* ── Knoppen en links ───────────────────────────────── */
.btn { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .98rem; color: var(--paper); background: var(--ink); padding: 12px 20px; text-decoration: none; border: 1px solid var(--ink); border-radius: 2px; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--paper); }
.link-arrow { font-family: var(--head); font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; color: var(--green); }
.link-arrow:hover { color: var(--green-deep); border-bottom-color: var(--green); }

/* ── Grafiek (inline SVG) ───────────────────────────── */
.hero-figure { margin: 0; }
.chart { width: 100%; height: auto; display: block; font-family: var(--head); }
.chart .grid line { stroke: var(--rule-soft); stroke-width: 1; }
.chart .axis text { font-size: 11px; fill: var(--muted); text-anchor: end; font-variant-numeric: tabular-nums; }
.chart .axis text:nth-child(n+5) { text-anchor: start; }
.chart .band-risk { fill: var(--risk-tint); }
.chart .band-label { font-size: 11px; fill: var(--risk); font-weight: 600; }
.chart .line-cold { fill: none; stroke: var(--rh); stroke-width: 2; stroke-linecap: round; }
.chart .line-outdoor { fill: none; stroke: var(--outdoor); stroke-width: 1.5; stroke-dasharray: 3 4; }
.chart .marker circle { fill: var(--rh); }
.chart .marker text { font-size: 11px; fill: var(--ink); font-weight: 600; }
.chart .legend text { font-size: 11px; fill: var(--muted); }
figcaption { font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: .8rem; max-width: 60ch; }

/* ── Cijfertabel: als in een jaarverslag ────────────── */
table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.figures caption { text-align: left; font-family: var(--head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: .6rem; }
.figures th, .figures td { border-top: 1px solid var(--rule); padding: 1rem .8rem 1rem 0; vertical-align: top; text-align: left; }
.figures tr:last-child th, .figures tr:last-child td { border-bottom: 1px solid var(--rule); }
.figures th { width: 8.5rem; padding-right: 1.2rem; }
.figures td { font-size: 1.02rem; line-height: 1.45; }
.figures .src { width: 9rem; font-family: var(--head); font-size: .8rem; line-height: 1.3; color: var(--muted); padding-top: 1.2rem; }
.figures .src a { color: var(--muted); }
@media (max-width: 640px) {
  .figures, .figures tbody { display: block; }
  .figures caption { display: block; }
  .num { font-size: 1.6rem; white-space: normal; }
  .figures tr { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); }
  .figures th { grid-row: span 2; border-bottom: 0; }
  .figures td { border-top: 1px solid var(--rule); }
  .figures .src { border-top: 0; padding-top: 0; width: auto; }
  .figures tr:last-child td.src { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
  .figures tr:last-child th { border-bottom: 1px solid var(--rule); }
}
.spec th, .spec td { border-top: 1px solid var(--rule); padding: .8rem .8rem .8rem 0; vertical-align: top; text-align: left; font-size: 1rem; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec th { font-family: var(--head); font-weight: 600; font-size: .92rem; width: 9rem; }
.spec td:nth-child(2) { font-family: var(--head); font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; width: 13rem; }
@media (max-width: 640px) { .spec, .spec tbody { display: block; } .spec tr { display: grid; } .spec th, .spec td { border-top: 0; width: auto; padding-block: .25rem; } .spec tr { border-top: 1px solid var(--rule); padding-block: .6rem; } .spec tr:last-child { border-bottom: 1px solid var(--rule); } .spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; } }

/* ── Kolommen met verticale lijnen ──────────────────── */
.cols-3, .cols-2 { display: grid; gap: 1.5rem; }
.cols-3 > div, .cols-2 > div { min-width: 0; }
.rules > div { padding-top: 1rem; border-top: 1px solid var(--rule); }
.rules h3 { margin-bottom: .5rem; }
.rules p:last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

/* ── Stappen en begrippen ───────────────────────────── */
.steps { list-style: none; margin: 0 0 1.4rem; padding: 0; counter-reset: stap; }
.steps li { counter-increment: stap; position: relative; padding: .9rem 0 .9rem 3.2rem; border-top: 1px solid var(--rule); font-size: 1.02rem; line-height: 1.45; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(stap, decimal-leading-zero); position: absolute; left: 0; top: .85rem; font-family: var(--head); font-weight: 700; font-variation-settings: "wdth" 84; font-size: 1.3rem; color: var(--green); line-height: 1.3; font-variant-numeric: tabular-nums; }
.steps strong { font-family: var(--head); font-weight: 600; font-size: 1.02rem; }
.terms, .whom { margin: 0; }
.terms > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .2rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.terms > div:last-child { border-bottom: 1px solid var(--rule); }
.terms dt { font-family: var(--head); font-weight: 650; font-size: 1.05rem; font-variation-settings: "wdth" 96; }
.terms dd { margin: 0; font-size: 1.02rem; line-height: 1.45; }
@media (min-width: 720px) { .terms > div { grid-template-columns: 11rem minmax(0, 1fr); } }
/* Taakgrid, zoals de ingang van een gemeentesite: vette kop met onderstreping, korte uitleg eronder. */
.whom { display: grid; gap: 1.6rem 2.5rem; margin: 0; }
@media (min-width: 720px) { .whom { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.whom > div { min-width: 0; }
.whom dt { font-family: var(--head); font-weight: 700; font-size: 1.25rem; font-variation-settings: "wdth" 96; line-height: 1.2; margin-bottom: .5rem; }
.whom dt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.whom dt a:hover { color: var(--green-deep); }
.whom dd { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.plain { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.plain li { padding: .55rem 0 .55rem 1.5rem; border-top: 1px solid var(--rule-soft); position: relative; font-size: 1.02rem; line-height: 1.45; }
.plain li:last-child { border-bottom: 1px solid var(--rule-soft); }
.plain li::before { content: "\2014"; position: absolute; left: 0; color: var(--muted); }
.plain.ticks li::before { content: "\2713"; color: var(--green); font-family: var(--head); font-weight: 700; }
.plain.crosses li::before { content: "\00D7"; color: var(--risk); font-family: var(--head); font-weight: 700; }

/* ── Personen, contact, lagen ───────────────────────── */
.person { padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.person:last-of-type { border-bottom: 1px solid var(--rule); }
.person h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.contact > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem 1.5rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
.contact > div:last-child { border-bottom: 1px solid var(--rule); }
.contact dt { font-family: var(--head); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.contact dd { margin: 0; font-size: 1.08rem; }
.contact dd span { display: block; font-size: .95rem; color: var(--muted); }
@media (min-width: 720px) { .contact > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.layers { margin: 0 0 1rem; }
.layer-list { list-style: none; margin: 0; padding: 0; }
.layer-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.layer-list li:last-child { border-bottom: 1px solid var(--rule); }
.layer-list .layer-no { font-family: var(--head); font-weight: 700; font-size: 1.6rem; font-variation-settings: "wdth" 84; color: var(--paper); background: var(--ink); width: 3rem; height: 3rem; display: grid; place-items: center; }
.layer-list li:nth-child(1) .layer-no { background: var(--ink); }
.layer-list li:nth-child(2) .layer-no { background: var(--ink-2); }
.layer-list li:nth-child(3) .layer-no { background: var(--green); }
.layer-list li:nth-child(4) .layer-no { background: var(--green-tint); color: var(--green-deep); }
.layer-list div > strong { font-family: var(--head); font-weight: 650; font-size: 1.05rem; display: block; }
.layer-list div > span { display: block; font-size: 1rem; line-height: 1.45; }
.layer-list div > em { display: block; font-family: var(--head); font-style: normal; font-size: .85rem; color: var(--green-deep); margin-top: .3rem; }

/* ── Bronnen (kennis) ───────────────────────────────── */
.sources { list-style: none; margin: 0; padding: 0; counter-reset: bron; }
.sources li { counter-increment: bron; position: relative; padding: .7rem 0 .7rem 2.4rem; border-top: 1px solid var(--rule-soft); font-size: .98rem; line-height: 1.45; }
.sources li::before { content: counter(bron); position: absolute; left: 0; top: .7rem; font-family: var(--head); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.sources li:last-child { border-bottom: 1px solid var(--rule-soft); }
.sources .q { font-family: var(--head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: .4rem; }
.sources a { overflow-wrap: anywhere; }
.sup { font-family: var(--head); font-size: .7em; vertical-align: super; line-height: 0; color: var(--green); text-decoration: none; margin-left: 1px; }
blockquote { margin: 1.5rem 0; padding: 0 0 0 1.2rem; border-left: 3px solid var(--green); font-size: 1.25rem; line-height: 1.4; font-style: italic; color: var(--ink-2); max-width: 55ch; }
blockquote footer { font-family: var(--head); font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.notice { border: 1px solid var(--rule); padding: 1rem 1.2rem; font-size: 1rem; background: var(--paper-2); max-width: 68ch; }
.notice p:last-child { margin-bottom: 0; }

/* ── Voet ───────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--ink); padding-block: 2.5rem 1.5rem; font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 3rem; } }
.foot-about p { max-width: 36ch; color: var(--ink-2); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.foot-nav li { padding: .25rem 0; break-inside: avoid; }
.foot-nav a, .foot-contact a { color: var(--ink); font-family: var(--head); font-size: .95rem; }
.colophon { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.colophon p { font-family: var(--head); font-size: .82rem; color: var(--muted); max-width: none; margin: 0; }

/* ── Formulier ──────────────────────────────────────── */
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.form label { font-family: var(--head); font-size: .9rem; font-weight: 600; display: block; margin-bottom: .35rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1.02rem; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 2px; padding: .6rem .7rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; cursor: pointer; }
.form .fine { font-size: .9rem; color: var(--muted); margin: 0; }
.status { border-left: 3px solid var(--risk); padding: .6rem 1rem; background: var(--risk-tint); font-size: 1rem; max-width: 40rem; display: none; }
.status:target, .status.show { display: block; }

/* ── De uitkomst in vijf woorden: strook onder de fotokop ── */
.outcomes { margin: 0 0 .5rem; border: 1px solid var(--rule); background: #fff; }
.outcomes-lead { font-family: var(--head); font-size: .9rem; color: var(--muted); margin: 0; padding: .8rem 1.2rem .6rem; border-bottom: 1px solid var(--rule-soft); max-width: none; }
.outcomes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .outcomes ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .outcomes ul { grid-template-columns: repeat(5, 1fr); } }
.outcomes li { padding: .9rem 1.2rem 1rem; border-top: 1px solid var(--rule-soft); display: grid; gap: .2rem; }
@media (min-width: 900px) { .outcomes li { border-top: 0; border-left: 1px solid var(--rule-soft); } .outcomes li:first-child { border-left: 0; } }
.outcomes strong { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--green-deep); }
.outcomes span { font-size: .95rem; line-height: 1.35; color: var(--ink-2); }

/* ── Actueel ── */
.news { list-style: none; margin: 0; padding: 0; }
.news li { padding: 1rem 0; border-top: 1px solid var(--rule); display: grid; gap: .2rem; }
.news li:last-child { border-bottom: 1px solid var(--rule); }
.news time { font-family: var(--head); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.news a { font-family: var(--head); font-weight: 650; font-size: 1.15rem; font-variation-settings: "wdth" 96; color: var(--ink); text-decoration: none; line-height: 1.25; }
.news a:hover { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.news p { margin: .1rem 0 0; font-size: 1rem; color: var(--ink-2); }

/* ── Fotokop (nog niet in gebruik). Gebruik: <section class="hero photo" style="--photo:url(/assets/hero.jpg)">
   met daarin alleen .hero-text. Foto in een kader binnen de marges (zoals devvegroep.nl), titel in wit
   over een donkergemaakte linkerhelft (zoals afwc.nl en haarlem.nl). Minimaal 1800 px breed, eigen opname. ── */
.hero.photo { position: relative; color: #fff; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 3rem); min-height: clamp(280px, 32vw, 420px); display: flex; align-items: flex-end; border-radius: 4px; overflow: hidden; isolation: isolate; margin-block: 1.5rem 1rem; }
.hero.photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,32,28,.78) 0%, rgba(23,32,28,.35) 60%, rgba(23,32,28,.1) 100%), var(--photo) center/cover no-repeat; z-index: -1; }
.hero.photo h1, .hero.photo .lead, .hero.photo .eyebrow { color: #fff; }
.hero.photo .lead { color: rgba(255,255,255,.88); }
.hero.photo .link-arrow { color: #fff; border-bottom-color: rgba(255,255,255,.5); }
.hero.photo .link-arrow::after { color: #fff; }
.hero.photo .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero.photo .btn:hover { background: var(--paper-2); color: var(--green-deep); border-color: var(--paper-2); }

/* ── Portretten ── */
/* Portretten: rond, met een losse groene ring eromheen. Speelser dan een vierkant. */
.portrait { display: block; width: 100%; max-width: 220px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 28%; margin: .3rem 0 1.2rem; border-radius: 50%; filter: saturate(.9); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--green); }
.team .portrait { max-width: 150px; margin-bottom: 1.1rem; }
.person:nth-of-type(2) .portrait { box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--green-deep); object-position: center 35%; }
.person { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
.person > div { min-width: 0; }
@media (min-width: 720px) { .person { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } .person .portrait { max-width: 200px; margin: .6rem 0 0 .5rem; } }

.week-figure { margin: 0 0 1.6rem; max-width: 640px; }
.hero.photo .hero-text { max-width: 44rem; }
.hero.photo h1 { max-width: 18ch; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.hero.photo .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 52ch; }
.hero.photo .hero-actions { margin-top: 1.1rem; }

/* ── Tekening van het kastje ── */
.device { margin: 0 0 1.4rem; max-width: 560px; }
.device img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 1rem; }
.device-sm { max-width: 420px; margin-top: .6rem; }

/* ── Banner ── */
.banner { margin: 1.5rem 0 0; }
.banner img { display: block; width: 100%; height: clamp(150px, 22vw, 300px); object-fit: cover; object-position: center 40%; border-radius: 6px; filter: saturate(.85) contrast(.97); }
.banner figcaption { font-family: var(--head); font-size: .72rem; color: var(--muted); margin-top: .35rem; text-align: right; max-width: none; }
.banner figcaption a { color: var(--muted); }
.hero:has(+ .week) { padding-bottom: 1.5rem; }
.hero .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero h1 { max-width: 22ch; }

/* ── Weekgrafiek: rustig, in de stijl van de site ── */
.week { margin: 0 0 2.5rem; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); overflow-x: auto; }
.week .chart { min-width: 620px; }
.week figcaption { max-width: 70ch; }
.chart-week .band { fill: var(--risk-tint); }
.chart-week .band-label { font-family: var(--body); font-style: italic; font-size: 17px; fill: var(--risk); }
.chart-week .base { stroke: var(--rule); stroke-width: 1; }
.chart-week .line { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.chart-week .line-hot { fill: none; stroke: var(--risk); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.chart-week .day { font-family: var(--head); font-size: 14px; fill: var(--muted); text-anchor: middle; }
.chart-week .note circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.chart-week .note path { stroke: var(--ink-2); stroke-width: 1; fill: none; }
.chart-week .note text { font-family: var(--body); font-style: italic; font-size: 16px; fill: var(--ink-2); }

/* ── App-schermen in een telefoonrand ── */
.phone { position: relative; margin: 0; width: 200px; padding: 7px; border-radius: 32px; background: #17201C; box-shadow: 0 24px 44px -26px rgba(23,32,28,.45); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 58px; height: 15px; transform: translateX(-50%); background: #0D1412; border-radius: 10px; z-index: 2; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 1000; object-fit: cover; object-position: top; border-radius: 27px; background: #FBFAF7; padding-top: 24px; } /* ruimte boven de screenshot, zodat de notch nergens over de titel valt */
.hero-app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; margin-top: 1rem; }
.phone-pair { position: relative; width: 350px; height: 480px; }
.phone-pair .phone { position: absolute; width: 200px; }
.phone-pair .phone-back { right: 0; top: 50px; transform: rotate(5deg); }
.phone-pair .phone-front { left: 0; top: 6px; z-index: 1; transform: rotate(-4deg); }
.app-can-head { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 .6rem; }
.app-can { list-style: none; margin: 0; padding: 0; }
.app-can li { position: relative; padding: .6rem 0 .6rem 1.3rem; border-top: 1px solid var(--rule-soft); font-family: var(--head); font-size: .92rem; line-height: 1.35; color: var(--ink); }
.app-can li:last-child { border-bottom: 1px solid var(--rule-soft); }
.app-can li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (min-width: 960px) {
  .hero .hero-grid.has-app { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 3rem; }
  .hero-app { margin-top: 0; gap: 1.8rem; }
}
@media (max-width: 380px) { .phone-pair { width: 300px; } .phone-pair .phone { width: 165px; } }
@media (max-width: 600px) {
  .hero-app { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.6rem; }
  .phone-pair { width: 310px; height: 430px; }
  .phone-pair .phone { width: 176px; }
  .phone-pair .phone-back { top: 48px; }
  .app-can-wrap { width: 100%; }
}
.app-shots { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.6rem 0 2rem; }
.aside-shot { width: 200px; margin: 0 auto 1.6rem; }
@media (min-width: 760px) { .aside-shot { float: right; margin: .3rem 0 1.2rem 2.2rem; } .section-body::after { content: ""; display: block; clear: both; } .aside-shot ~ .steps { display: flow-root; } }

/* Straattekening boven de kop */
.banner.street img { height: auto; object-fit: contain; border-radius: 0; filter: none; max-height: 120px; opacity: .8; }
.banner.street + .hero { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 640px) { .banner.street img { height: 70px; max-height: none; object-fit: cover; object-position: 40% center; } }

/* ── Wie ziet wat: tabs, telefoonrij en nagebouwde overzichten ── */
.tabs { display: none; gap: .4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); }
#wie-ziet-wat.js .tabs { display: flex; }
.tabs button { font: 600 .95rem var(--head); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: .6rem .9rem; margin-bottom: -1px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.tabpanel + .tabpanel { margin-top: 2.5rem; }
#wie-ziet-wat.js .tabpanel + .tabpanel { margin-top: 0; }
.tab-intro { font-size: 1.05rem; margin-bottom: 1.2rem; }
.mock-note { font-family: var(--head); font-size: .75rem; color: var(--muted); margin: .5rem 0 0; }
.phone-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem .2rem 1.6rem; margin-inline: -.2rem; }
.phone-row .phone { flex: 0 0 200px; scroll-snap-align: start; }
@media (min-width: 900px) { .phone-row { overflow: visible; } }
.seen { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem 2rem; margin-top: 1.4rem; }
@media (min-width: 640px) { .seen { grid-template-columns: 1fr 1fr; } }
.seen-h { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .3rem; }

.browser { border: 1px solid var(--rule); border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 24px 50px -32px rgba(23,32,28,.45); font-family: var(--head); color: var(--ink); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: .55rem .8rem; background: var(--paper-2); border-bottom: 1px solid var(--rule-soft); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DAD7; }
.browser-bar span { margin-left: .8rem; font-size: .72rem; color: var(--muted); background: #fff; border-radius: 6px; padding: .2rem .7rem; }
.browser-body { padding: 1.1rem 1.2rem 1rem; font-size: .8rem; }
.cp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.cp-head b { font-size: 1rem; }
.cp-head span, .cp-foot, .browser small { color: var(--muted); }
.cp-sub { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1.1rem 0 .5rem; }
.cp-foot { font-size: .72rem; margin: 1rem 0 0; padding-top: .7rem; border-top: 1px solid var(--rule-soft); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.kpis div { border: 1px solid var(--rule-soft); border-radius: 8px; padding: .5rem .6rem; display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; }
.kpis b { font-size: 1.3rem; }
.pill { display: inline-block; font-size: .68rem; font-weight: 600; padding: .12rem .5rem; border-radius: 999px; white-space: nowrap; }
.pill.r-h { background: #FBE6D4; color: #9A4508; } .pill.r-v { background: #FCF0D6; color: #8A5A07; }
.pill.r-l { background: var(--green-tint); color: var(--green-deep); } .pill.r-o { background: #EEF0EF; color: var(--muted); }
.alarm { margin-left: .35rem; font-size: .64rem; font-weight: 600; color: #9A4508; text-transform: uppercase; letter-spacing: .06em; }
.cp-table { width: 100%; border-collapse: collapse; }
.cp-table th, .cp-table td { text-align: left; padding: .5rem .4rem; border-top: 1px solid var(--rule-soft); vertical-align: middle; font-weight: 400; }
.cp-table thead th { font-size: .68rem; color: var(--muted); border-top: 0; padding-top: 0; }
.cp-table th[scope=row] b { display: block; font-weight: 600; }
.cp-table small { display: block; font-size: .68rem; }
.hist { display: inline-flex; gap: 2px; }
.hist i { width: 10px; height: 10px; border-radius: 2px; }
.hist .r-h, .wijkkaart .s4, .legend .s4 { background: #C2620C; fill: #C2620C; }
.hist .r-v, .wijkkaart .s3, .legend .s3 { background: #E8A33D; fill: #E8A33D; }
.hist .r-l { background: #9ED3BC; }
.wijkkaart .s2, .legend .s2 { background: #F3D9A4; fill: #F3D9A4; }
.wijkkaart .s1, .legend .s1 { background: #CFE8DC; fill: #CFE8DC; }
.wijkkaart .s0, .legend .s0 { background: #ECEEED; fill: #ECEEED; }
.bars > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.6rem; gap: .7rem; align-items: center; padding: .35rem 0; }
.bars b { display: block; font-weight: 600; }
.meter { display: block; height: 8px; background: #EEF0EF; border-radius: 4px; overflow: hidden; }
.meter i { display: block; height: 100%; background: #E8A33D; border-radius: 4px; }
.pct { font-weight: 600; text-align: right; white-space: nowrap; }
.gm-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 1.6rem; }
@media (min-width: 720px) { .gm-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.wijkkaart { width: 100%; height: auto; display: block; }
.wijkkaart polygon { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.wijkkaart text { font-family: var(--head); fill: var(--ink); }
.wijkkaart .wn { font-size: 10px; } .wijkkaart .wp { font-size: 12px; font-weight: 700; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .68rem; color: var(--muted); margin: .5rem 0 0; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.gm-table th[scope=row] { width: 38%; }
.gm-table td:nth-child(2) { width: 40%; }
.gm-table .pct small { display: inline; font-weight: 400; }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; height: 110px; align-items: end; }
.months div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: .3rem; }
.months i { display: block; width: 70%; background: #E8A33D; border-radius: 3px 3px 0 0; }
.months span { font-size: .66rem; color: var(--muted); }
@media (max-width: 640px) {
  .browser-body { padding: .9rem .8rem; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-table .c-maat, .cp-table .c-hist { display: none; }
  .bars > div { grid-template-columns: 7rem minmax(0, 1fr) 2.4rem; }
}

/* ── Wie ziet wat: brede sectie en nagebouwde app-schermen voor corporatie en gemeente ── */
.section.wide { grid-template-columns: minmax(0, 1fr) !important; }
.section.wide .section-head { max-width: 40rem; }
.section.wide .tab-intro, .section.wide .seen { max-width: 62rem; }
@media (min-width: 900px) { .section.wide .phone-row { justify-content: flex-start; } }
.am-scroll { overflow-x: auto; margin-inline: -4px; padding: 4px 4px 1.4rem; }
.am-wrap { min-width: 860px; container-type: inline-size; }
.am { font-size: 1.2037cqw; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1A211E; background: #FBFAF7; border: 1px solid rgba(26,33,30,.12); border-radius: 1em; overflow: hidden; box-shadow: 0 2em 4em -2.4em rgba(26,33,30,.45), 0 .3em .8em rgba(26,33,30,.06); line-height: 1.35; }
.am-bar { display: flex; align-items: center; gap: .45em; padding: .65em 1em; background: #F1EFE8; border-bottom: 1px solid rgba(26,33,30,.08); }
.am-bar i { width: .8em; height: .8em; border-radius: 50%; background: #D8D5CC; }
.am-bar span { margin-left: 1em; font-size: .85em; color: #5C6B64; background: #fff; border-radius: .5em; padding: .25em 1em; min-width: 22em; }
.am-app { display: grid; grid-template-columns: 13.5em minmax(0, 1fr); min-height: 40em; }
.am-side { background: #fff; border-right: 1px solid rgba(26,33,30,.08); padding: 1.2em .9em; display: flex; flex-direction: column; }
.am-logo { display: flex; align-items: center; gap: .5em; font-weight: 700; font-size: 1.05em; color: #1A211E; }
.am-logo svg { width: 1.5em; height: 1.5em; color: #12B886; }
.am-org { font-size: .85em; color: #5C6B64; margin: .3em 0 1.2em 2.4em; }
.am-side ul { list-style: none; margin: 0; padding: 0; }
.am-side li { display: flex; align-items: center; gap: .6em; padding: .55em .6em; border-radius: .6em; font-size: .95em; color: #4A5A53; }
.am-side li.on { background: #ECFDF6; color: #0B7A5C; font-weight: 600; }
.am-ico { width: .9em; height: .9em; border-radius: .25em; border: 1.5px solid currentColor; opacity: .7; }
.am-privacy { margin-top: auto; font-size: .78em; color: #5C6B64; background: #F4F2EC; border-radius: .6em; padding: .7em; }
.am-main { padding: 1.3em 1.5em 1.5em; min-width: 0; }
.am-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1em; margin-bottom: 1.1em; }
.am-top h4 { font-size: 1.6em; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.am-top p { margin: .2em 0 0; color: #5C6B64; font-size: .92em; }
.am-filters { display: flex; gap: .5em; }
.am-filters span { font-size: .85em; border: 1px solid rgba(26,33,30,.12); background: #fff; border-radius: 99em; padding: .35em .9em; color: #4A5A53; white-space: nowrap; }
.am-filters .am-btn { background: #0B7A5C; color: #fff; border-color: #0B7A5C; font-weight: 600; }
.am-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7em; margin-bottom: .9em; }
.am-kpi { background: #fff; border: 1px solid rgba(26,33,30,.08); border-radius: .9em; padding: .75em .85em; box-shadow: 0 1px 3px rgba(26,33,30,.05); display: flex; flex-direction: column; gap: .15em; }
.am-kpi span { font-size: .8em; color: #5C6B64; }
.am-kpi b { font-size: 1.75em; font-weight: 700; letter-spacing: -.02em; }
.am-kpi small { font-size: .75em; color: #5C6B64; }
.am-kpi.crit b { color: #B91C1C; } .am-kpi.warn b { color: #B45309; } .am-kpi.ok b { color: #15803D; }
.am-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.am-span2 { grid-column: span 2; }
.am-span3 { grid-column: 1 / -1; }
.am-rows3 { grid-row: span 3; }
.am-card { background: #fff; border: 1px solid rgba(26,33,30,.08); border-radius: .9em; padding: .9em 1em; box-shadow: 0 1px 3px rgba(26,33,30,.05); min-width: 0; }
.am-card header { display: flex; justify-content: space-between; align-items: baseline; gap: .8em; margin-bottom: .6em; }
.am-card h5 { font-size: 1em; font-weight: 650; margin: 0; }
.am-card header > span { font-size: .78em; color: #5C6B64; display: inline-flex; align-items: center; gap: .35em; }
.am-card p { font-size: .9em; margin: 0 0 .5em; max-width: none; }
.am-muted { color: #5C6B64; }
.am-link { color: #0B7A5C; font-weight: 600; }
.am-big { font-size: 2.4em !important; font-weight: 700; letter-spacing: -.02em; margin: .1em 0 .2em !important; }
.am-big small { font-size: .4em; font-weight: 500; color: #5C6B64; }
.am-signal { background: #FFFBF2; border-color: rgba(180,83,9,.18); }
.am-table { width: 100%; border-collapse: collapse; font-size: .86em; }
.am-table th { text-align: left; font-weight: 500; color: #5C6B64; font-size: .88em; padding: 0 .5em .45em; border-bottom: 1px solid rgba(26,33,30,.08); }
.am-table td { padding: .55em .5em; border-bottom: 1px solid rgba(26,33,30,.05); vertical-align: middle; }
.am-table tr:last-child td { border-bottom: 0; }
.am-table td b { display: block; font-weight: 650; }
.am-table td small { display: block; color: #5C6B64; font-size: .88em; }
.am-pill { display: inline-flex; align-items: center; gap: .35em; font-size: .85em; font-weight: 600; padding: .18em .6em; border-radius: 99em; white-space: nowrap; }
.am-pill i { width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.am-pill.am-crit { background: rgba(185,28,28,.08); color: #B91C1C; } .am-pill.am-warn { background: rgba(180,83,9,.09); color: #B45309; }
.am-pill.am-ok { background: rgba(21,128,61,.09); color: #15803D; } .am-pill.am-none { background: #F1EFE8; color: #5C6B64; }
.am-hist { display: inline-flex; gap: .18em; }
.am-hist i { width: .8em; height: .8em; border-radius: .2em; }
.am-hist .am-crit { background: #EF4444; } .am-hist .am-warn { background: #F59E0B; } .am-hist .am-ok { background: #22C55E; } .am-hist .am-none { background: #E2E0D9; }
.am-status { font-size: .92em; color: #4A5A53; background: #F4F2EC; border-radius: .4em; padding: .15em .45em; white-space: nowrap; }
.am-stack { display: flex; height: .9em; border-radius: .45em; overflow: hidden; margin: .4em 0 .7em; }
.am-s1 { background: #0B7A5C; } .am-s2 { background: #5FDCB4; } .am-s3 { background: #A7EDD3; }
.am-leg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3em 1em; font-size: .84em; color: #4A5A53; }
.am-leg li { display: inline-flex; align-items: center; gap: .35em; }
.am-leg i { width: .7em; height: .7em; border-radius: .2em; display: inline-block; }
.am-meter { display: block; height: .55em; background: #F1EFE8; border-radius: .3em; overflow: hidden; }
.am-meter i { display: block; height: 100%; background: #F59E0B; border-radius: .3em; }
.am-num { font-weight: 650; text-align: right; white-space: nowrap; }
.am-num small { font-weight: 400; color: #5C6B64; display: inline; }
.am-cx td:nth-child(5) { width: 30%; }
.am-label { display: inline-block; min-width: 1.6em; text-align: center; font-weight: 700; font-size: .85em; color: #fff; border-radius: .3em; padding: .05em .3em; }
.am-lA { background: #15803D; } .am-lC { background: #CA8A04; } .am-lE { background: #DC6B19; }
.am-trend { font-weight: 650; } .am-trend.am-up { color: #B91C1C; } .am-trend.am-down { color: #15803D; } .am-trend.am-eq { color: #5C6B64; }
.am-mapgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.2em; align-items: start; }
.am-map { width: 100%; height: auto; display: block; }
.am-map polygon { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.am-map .m1, .am-mapleg .m1 { fill: #D3F7E8; background: #D3F7E8; } .am-map .m2, .am-mapleg .m2 { fill: #FDE7B0; background: #FDE7B0; }
.am-map .m3, .am-mapleg .m3 { fill: #F59E0B; background: #F59E0B; } .am-map .m4, .am-mapleg .m4 { fill: #C2410C; background: #C2410C; }
.am-map .m0, .am-mapleg .m0 { fill: #ECEAE3; background: #ECEAE3; }
.am-map text { font-family: Inter, -apple-system, "Segoe UI", sans-serif; fill: #1A211E; }
.am-map .m4 + text { fill: #fff; }
.am-map .wn { font-size: 10px; } .am-map .wp { font-size: 13px; font-weight: 700; }
.am-mapleg { margin-top: .5em; }
.am-search { display: inline-flex; align-items: center; gap: .4em; min-width: 17em; color: #8A958F !important; border-radius: .5em !important; }
.am-search-side { display: flex; margin: 0 0 1em; padding: .45em .7em; font-size: .82em; border: 1px solid rgba(26,33,30,.12); background: #F7F6F2; min-width: 0; white-space: nowrap; overflow: hidden; }
.am-side li.am-group-h { font-size: .7em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A958F; padding: .9em .6em .2em; }
.am-search::before { content: ""; width: .8em; height: .8em; border: 1.5px solid currentColor; border-radius: 50%; box-shadow: .45em .45em 0 -.3em currentColor; }
.am-week { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: .7em; margin-bottom: .9em; }
.am-week-text { padding: .8em 1em; display: flex; flex-direction: column; gap: .35em; }
.am-week-text h5 { font-size: .95em; font-weight: 650; margin: 0; }
.am-week-text p { font-size: .95em; margin: 0; max-width: none; }
.am-small { font-size: .82em !important; } .am-week-text .am-small { margin-top: auto; }
.am-act b { font-size: 1.9em; } .am-act span { font-weight: 600; color: #1A211E; font-size: .88em; } .am-act small { margin-top: .25em; }
.am-riskcell { display: inline-flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.am-alarm { font-size: .72em; font-weight: 700; color: #B91C1C; text-transform: uppercase; letter-spacing: .05em; }
.am-cluster { margin-left: .4em; font-size: .78em; vertical-align: 1px; }
.am-lead { font-size: 1.08em; line-height: 1.45; margin: 0 0 .9em !important; max-width: 60em !important; }
.am-lead b { font-weight: 700; } .am-lead-sub { display: block; font-size: .8em; color: #5C6B64; margin-top: .25em; }
.am-kpis.am-kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.am-rows2 { grid-row: span 2; }
.am-s0 { background: #ECEAE3; }
.am-baseline { display: flex; align-items: center; gap: .5em; font-size: .82em; color: #5C6B64; margin-top: .5em; }
.am-baseline i { flex: 1; height: .5em; background: #F1EFE8; border-radius: .25em; position: relative; overflow: hidden; }
.am-baseline i::after { content: ""; position: absolute; inset: 0; width: 45%; background: #B8B4A8; }
.am-bullets { margin: 0; padding-left: 1.1em; font-size: .9em; display: grid; gap: .4em; }
.am-sub { font-size: .75em !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5C6B64; margin: .2em 0 .4em !important; }
.am-sub ~ .am-sub { margin-top: .9em !important; }
.am-brow { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4.2em; gap: .6em; align-items: center; font-size: .86em; padding: .28em 0; }
.am-brow small { display: block; color: #5C6B64; font-size: .85em; }
.am-line { width: 100%; height: auto; display: block; }
.am-line .g { stroke: rgba(26,33,30,.08); }
.am-line .ax { font-family: Inter, -apple-system, sans-serif; font-size: 10px; fill: #5C6B64; }
.am-line .prev { fill: none; stroke: #C9C5BA; stroke-width: 2; stroke-dasharray: 4 4; }
.am-line .cur { fill: none; stroke: #0B7A5C; stroke-width: 2.5; }
.am-line .cur-dot { fill: #0B7A5C; }
.am-key { display: inline-block; width: 1.2em; height: 0; border-top: 2px solid #0B7A5C; margin: 0 .2em 0 .5em; vertical-align: middle; }
.am-key.prev { border-top: 2px dashed #C9C5BA; }

.am-span3 { grid-column: 1 / -1; }
.am-rows3 { grid-row: span 3; }
.am-map .am-land { fill: #F4F2EC; }
.am-map .am-cell { fill: #F4F2EC; stroke: #fff; stroke-width: 2; }
.am-map .am-edge { fill: none; stroke: rgba(26,33,30,.18); stroke-width: 1.2; }
.am-map .am-river { fill: none; stroke: #CFE3EA; stroke-width: 9; stroke-linecap: round; }
.am-map polygon.m0, .am-map polygon.m1, .am-map polygon.m2, .am-map polygon.m3, .am-map polygon.m4 { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.am-map text.on-dark { fill: #fff; }
.am-map .faint { fill: #8A958F; font-size: 9px; }
.am-map .am-cx-dot { stroke: #fff; stroke-width: 2.5; }
.am-map .am-cx-dot.warn { fill: #F59E0B; } .am-map .am-cx-dot.lite { fill: #FDE7B0; } .am-map .am-cx-dot.ok { fill: #86EFAC; }
.am-map .cx-pct { font-size: 11px; font-weight: 700; fill: #1A211E; }
.am-map .am-hot { fill: #EF4444; stroke: #fff; stroke-width: 1.5; }
.am-map .am-halo { fill: rgba(245,158,11,.10); stroke: #B45309; stroke-width: 1.4; stroke-dasharray: 4 4; }
.am-map .am-callout path { fill: none; stroke: #B45309; stroke-width: 1.2; }
.am-map .am-callout text { font-size: 10.5px; font-weight: 600; fill: #B45309; }
.am-leg .am-k-ok { background: #86EFAC; border-radius: 50%; } .am-leg .am-k-lite { background: #FDE7B0; border-radius: 50%; }
.am-leg .am-k-warn { background: #F59E0B; border-radius: 50%; } .am-leg .am-k-hot { background: #EF4444; border-radius: 50%; }
.am-leg .am-k-halo { border: 1.4px dashed #B45309; border-radius: 50%; background: rgba(245,158,11,.10); }
.am-map .cx-name { font-size: 10px; font-weight: 600; fill: #4A5A53; }
.section.wide .section-head { position: static; }
/* Weekgrafiek op de startpagina: compacter, uitleg ernaast */
@media (min-width: 960px) {
  .week { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem; align-items: center; padding-block: 1.6rem 0; }
  .week .chart { min-width: 0; }
  .week figcaption { margin: 0; font-size: .95rem; }
}
.week-inline { margin: 1.6rem 0 1.8rem; display: block !important; }
.week-inline figcaption { font-size: .92rem; margin-top: .6rem; }
.banner.street { margin-top: 1rem; }
.banner.street img { max-height: none !important; width: 100%; height: auto; }
.banner.street + .hero { padding-top: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 640px) { .banner.street img { height: 34px !important; object-fit: cover; object-position: 30% bottom; } }
.banner.street + .page-head { padding-top: clamp(1rem, 2.5vw, 2rem); }
