/* ImSight Grondscan: de publieke pagina's in ontwerprichting 2 (05-10-2026). Marine met het
   ImSight-blauw en één accent (amber); koppen in Archivo, tekst in IBM Plex. Licht om te laden: één
   stylesheet, lettertypes van de eigen host als WOFF2 (scripts/grondscan_fonts.py), en terugvallettertypes
   met dezelfde maten, zodat de tekst niet verspringt als het lettertype binnenkomt. De achtergrond van de
   opening (#001d3d) is dezelfde als die van de illustratie (scripts/grondscan_beelden.py). */
@font-face { font-family: "Archivo"; src: url("/static/fonts/Archivo-Koppen.woff2") format("woff2"); font-weight: 700 800;
             font-stretch: 100% 112%; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo terugval"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 700 800;
             size-adjust: 115.87%; ascent-override: 75.78%; descent-override: 18.12%; line-gap-override: 0%; }
@font-face { font-family: "Plex terugval"; src: local("Arial"); size-adjust: 101.13%; ascent-override: 101.35%;
             descent-override: 27.19%; line-gap-override: 0%; }

:root {
  --marine: #001d3d; --nacht: #001a3a; --diep: #00122a;              /* opening, donkere banden, voet */
  --blauw: #0576c0; --blauw-donker: #045c96;                         /* de kleuren van het ImSight-logo */
  --amber: #f5a524; --amber-licht: #ffb840; --amber-donker: #a35f00;  /* het ene accent: knoppen, remmen, focus */
  --inkt: #1b2a40; --inkt-2: #3b4c63; --zacht: #5a6b82;
  --op-donker: #b7c7da; --op-donker-2: #93a8c2; --nav: #dce6f2;
  --lijn: #dfe7f0; --vlak: #ffffff; --achter: #f4f7fb; --chip: #e6f1fa; --chip-mono: #eaf0f7;
  --laag-1: #1a4275; --laag-2: #133561; --laag-3: #0d2a50;           /* de toren: hoe dieper, hoe donkerder */
  --schaduw: 0 1px 2px rgba(0, 26, 58, .06), 0 10px 30px rgba(0, 26, 58, .06);
  --rond: 16px; --breed: 1240px; --rand: 32px;
  --kop: "Archivo", "Archivo terugval", "Arial Black", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "IBM Plex Sans", "Plex terugval", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
       font-size: 17px; line-height: 1.6; color: var(--inkt); background: var(--vlak); -webkit-font-smoothing: antialiased; }
a { color: var(--blauw); text-underline-offset: 2px; }
a:hover { color: var(--blauw-donker); }
img, svg { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.naar-inhoud { position: absolute; left: -9999px; top: 8px; z-index: 10; background: #fff; color: var(--nacht); padding: 8px 14px; border-radius: 10px; }
.naar-inhoud:focus { left: 8px; }

/* koppen */
h1, h2, h3 { font-family: var(--kop); color: var(--nacht); font-stretch: 112%; }
h1 { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 18px; max-width: 20ch; }
h2 { font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -.015em; margin: 56px 0 16px; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.25; margin: 24px 0 8px; }
p, li { max-width: 72ch; }

/* kop van de site: marine, ook op elke andere pagina */
/* de schaduw dekt de naad met de band eronder bij een zoom die geen hele pixels geeft */
.kop { background: var(--marine); color: #fff; position: relative; z-index: 1; box-shadow: 0 1px 0 var(--marine); }
.kop-binnen { max-width: var(--breed); margin: 0 auto; padding: 20px var(--rand); display: flex; align-items: center; gap: 12px 36px; flex-wrap: wrap; }
.merk { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.merk:hover { color: #fff; }
.merk img { display: block; height: 30px; width: auto; }
.merk-product { font-family: var(--kop); font-weight: 700; font-stretch: 112%; font-size: 18px; line-height: 1.2;
                padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hoofdnav { flex: 1 1 auto; }
.hoofdnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.hoofdnav a { display: inline-block; color: var(--nav); text-decoration: none; padding: 10px 2px; font-size: 15px; }
.hoofdnav a:hover { color: #fff; }
.hoofdnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--amber); }
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 0; border-radius: 12px;
        padding: 0 22px; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
        color: var(--nacht); background: var(--amber); }
.knop:hover, .knop:focus-visible { color: var(--nacht); background: var(--amber-licht); }
.knop-kop { min-height: 44px; border-radius: 999px; padding: 0 20px; font-size: 15px; }
/* de taalknop (11-10-2026) */
.talen ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.talen a { display: inline-block; color: var(--nav); text-decoration: none; font-size: 13px; padding: 10px 6px; }
.talen a:hover, .talen a[aria-current] { color: #fff; }
.talen a[aria-current] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--amber); }
@media (max-width: 760px) {
  :root { --rand: 16px; }
  .kop-binnen { gap: 4px 12px; padding: 12px var(--rand) 4px; }
  .merk { gap: 9px; }
  .merk img { height: 20px; }
  .merk-product { font-size: 14px; padding-left: 9px; }
  .knop-kop { min-height: 38px; padding: 0 12px; font-size: 13px; }
  .kop-account { margin-left: auto; margin-right: 4px; font-size: 13px; }
  .hoofdnav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  .hoofdnav ul { flex-wrap: nowrap; gap: 4px 18px; }
  .hoofdnav a { white-space: nowrap; }
}

/* de kop van een gewone pagina: kruimels, h1 en inleiding op marine */
.paginakop { background: var(--marine); color: #fff; }
.paginakop-binnen { max-width: var(--breed); margin: 0 auto; padding: 20px var(--rand) 52px; }
.paginakop h1 { color: #fff; }
.paginakop .lead { color: var(--op-donker); margin-bottom: 0; }
.kruimels ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--op-donker-2); }
.kruimels li + li::before { content: "›"; margin: 0 6px 0 2px; }
.kruimels a { color: var(--op-donker); }
.kruimels a:hover { color: #fff; }
.lead { font-size: 19px; line-height: 1.6; color: var(--inkt-2); max-width: 62ch; margin: 0 0 24px; }

/* de inhoud */
.hoofd { max-width: var(--breed); margin: 0 auto; padding: 44px var(--rand) 72px; }
.hoofd > h2:first-child, .hoofd > .antwoord:first-child { margin-top: 0; }
.klein { font-size: 14px; color: var(--zacht); }
.bijgewerkt { margin-top: 44px; font-size: 14px; color: var(--zacht); }
.bron { font-size: 14px; color: var(--zacht); }
.antwoord { font-size: 19px; font-weight: 600; color: var(--nacht); }
.kaartje { background: var(--vlak); border-radius: var(--rond); box-shadow: var(--schaduw); padding: 24px 26px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.raster > li { max-width: none; }
.raster h3 { margin-top: 4px; }
h2.h3 { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: 0; margin: 4px 0 8px; }
.kaartje h2 a, .kaartje h3 a { color: var(--nacht); text-decoration: none; }
.kaartje h2 a:hover, .kaartje h3 a:hover { color: var(--blauw); text-decoration: underline; }
.feiten { width: 100%; max-width: 920px; border-collapse: collapse; margin: 16px 0; background: var(--vlak); border-radius: 14px;
          overflow: hidden; box-shadow: var(--schaduw); font-size: 16px; }
.feiten th, .feiten td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--lijn); }
.feiten th { width: 34%; font-weight: 600; color: var(--inkt-2); }
.feiten tr:last-child th, .feiten tr:last-child td { border-bottom: 0; }
.stand { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 600; }
.stand-ok { background: #ddf3e4; color: #14532d; } .stand-nieuw { background: #fdecc8; color: #7a4500; }
.stand-volgend { background: var(--chip); color: var(--blauw-donker); }
.groep-kop { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blauw-donker); }
.stappen { counter-reset: stap; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.stappen li { counter-increment: stap; background: var(--vlak); border-radius: var(--rond); box-shadow: var(--schaduw); padding: 22px 24px; max-width: none; }
.stappen li::before { content: "0" counter(stap); display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--amber-donker); }
.stappen h3 { margin-top: 6px; }
.gemeenten { columns: 4 200px; column-gap: 24px; padding: 0; list-style: none; }
.gemeenten li { break-inside: avoid; padding: 3px 0; }
.gemeenten .stand { margin-left: 6px; font-size: 11px; }
.buren { columns: 2 260px; column-gap: 24px; padding: 0; list-style: none; }
.buren li { break-inside: avoid; padding: 3px 0; }
.melding-blok { border-left: 4px solid var(--amber); background: #fff6e5; padding: 12px 16px; border-radius: 10px; }
details { background: var(--vlak); border-radius: 14px; box-shadow: var(--schaduw); padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 6px; }
.formulier { display: grid; gap: 14px; max-width: 560px; }
.formulier label { display: flex; gap: 10px; align-items: flex-start; }
.formulier input[type="text"], .formulier input[type="email"], .formulier input[type="password"],
.formulier input[type="number"], .formulier input[type="date"], .formulier select { width: 100%; min-height: 48px; border: 1px solid var(--lijn); border-radius: 12px; padding: 10px 14px; font: inherit; background: #fff; }
/* een account (10-10-2026): Mijn percelen in de kop, en de lijsten van rapporten en berekeningen */
.kop-account { color: #fff; font-weight: 600; margin-left: auto; margin-right: 16px; white-space: nowrap; }
.kop-account:hover, .kop-account:focus-visible { color: var(--amber-licht); }
table.lijst { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
table.lijst th, table.lijst td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
/* een team (10-10-2026): knoppen en het dossierformulier op één regel in een tabel, het verloop van een dossier */
form.inline { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 2px 8px 2px 0; }
form.inline select, form.inline input[type="text"] { min-height: 40px; border: 1px solid var(--lijn); border-radius: 10px; padding: 6px 10px; font: inherit; background: #fff; max-width: 100%; }
form.inline .knop { min-height: 40px; padding: 6px 14px; }
ul.verloop { padding-left: 20px; }
ul.verloop li { margin: 4px 0; }
.formulier input[type="checkbox"] { margin-top: 6px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--blauw); }
.formulier label.vrij { display: block; font-weight: 600; margin-bottom: -8px; }

/* de opening van de beginpagina: tekst en zoekbalk links, de illustratie rechts, op hetzelfde marine */
.held { background: var(--marine); color: #fff; }
.held-binnen { max-width: var(--breed); margin: 0 auto; padding: 32px var(--rand) 72px; display: grid;
               grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.held h1 { color: #fff; font-size: clamp(40px, 5.2vw, 66px); line-height: 1; max-width: 12ch; margin-bottom: 22px; }
.held .lead { color: var(--op-donker); margin-bottom: 30px; }
.held-beeld { margin: 0; }
.held-beeld img { display: block; width: 100%; height: auto; }
.zoek { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; padding: 8px; border-radius: 16px;
        background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.zoek input { flex: 1 1 240px; min-width: 0; min-height: 54px; padding: 0 18px; border: 0; border-radius: 12px; background: #fff;
              color: var(--nacht); font: inherit; font-size: 17px; }
.zoek .knop { min-height: 54px; }
.zoek-noot { margin: 14px 4px 0; font-size: 14px; color: var(--op-donker-2); max-width: 60ch; }
.voorstellen { list-style: none; margin: 8px 0 0; padding: 6px; max-width: 640px; background: #fff; border-radius: 14px; box-shadow: var(--schaduw); }
.voorstellen:empty { display: none; }
.voorstellen li { max-width: none; }
.voorstellen a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--nacht); text-decoration: none; }
.voorstellen a:hover, .voorstellen a:focus { background: var(--chip); }
.held-klein { background: var(--marine); color: #fff; padding: 18px; border-radius: var(--rond); margin-top: 24px; }
@media (max-width: 900px) {
  .held-binnen { grid-template-columns: 1fr; gap: 8px; padding-bottom: 8px; }
  .held-beeld { margin: 0 calc(-1 * var(--rand)); }
}

/* de banden van de beginpagina */
.band { padding: 88px 0; }
.band-licht { background: var(--achter); }
.band-donker { background: var(--nacht); color: #fff; }
.band-binnen { max-width: var(--breed); margin: 0 auto; padding: 0 var(--rand); }
.band h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 44px); }
.band-donker h2, .band-donker h3 { color: #fff; }
.band-donker p { color: var(--op-donker); }
.band-donker a { color: #fff; }
.band-inleiding { font-size: 17px; color: var(--inkt-2); max-width: 40em; margin: 0 0 40px; }
.band-donker .band-inleiding { color: var(--op-donker); }
.twee { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .band { padding: 56px 0; } .twee { grid-template-columns: 1fr; } }

/* drie vragen, één rapport */
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.drie > li { background: var(--vlak); border-radius: var(--rond); padding: 30px; box-shadow: var(--schaduw); max-width: none; }
.drie svg { display: block; width: 40px; height: 40px; }
.drie h3 { margin: 18px 0 12px; font-size: 24px; }
.drie p { margin: 0; font-size: 16px; color: var(--inkt-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--blauw-donker); }
.chips-mono li { font-family: var(--mono); font-size: 13px; font-weight: 400; padding: 5px 10px; background: var(--chip-mono); color: var(--nacht); }
.remmen { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.remmen li { display: flex; align-items: center; gap: 10px; }
.remmen li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (max-width: 900px) { .drie { grid-template-columns: 1fr; gap: 14px; } .drie > li { padding: 24px; } }

/* de toren: dertien secties, de conclusie bovenaan en de bronnen als fundering */
.toren { list-style: none; margin: 0; padding: 0 0 9px; display: grid; gap: 4px; border-bottom: 3px solid var(--nacht); }
.toren > li { display: grid; gap: 4px; max-width: none; }
.rij-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rij-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rij-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tegel { display: block; padding: 12px 14px; border-radius: 8px; color: #fff; font-size: 14px; line-height: 1.35; text-decoration: none; }
a.tegel:hover { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.tegel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: 16px; font-weight: 600; }
.tegel-top small { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.laag-0 .tegel { background: var(--amber); color: var(--nacht); }
.laag-0 a.tegel:hover { color: var(--nacht); }
.laag-0b .tegel { background: var(--blauw); }
.laag-1 .tegel { background: var(--laag-1); }
.laag-2 .tegel { background: var(--laag-2); }
.laag-3 .tegel { background: var(--laag-3); }
.laag-4 .tegel { background: var(--nacht); }
@media (max-width: 560px) { .rij-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rij-3 { grid-template-columns: 1fr; } .tegel-top small { display: none; } }

/* waar de Grondscan werkt */
.fasen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.fasen li { border-top: 3px solid #2a4a75; padding-top: 18px; max-width: none; }
.fasen li.nu { border-top-color: var(--amber); }
.fasen .fase-label { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--op-donker-2); }
.fasen li.nu .fase-label { color: var(--amber); }
.fasen h3 { margin: 0 0 8px; font-size: 22px; }
.fasen p { margin: 0; font-size: 15px; }
.fasen-meer { margin: 40px 0 0; }
@media (max-width: 560px) { .fasen { gap: 18px; } }

/* vragen op de beginpagina */
.vragen-kort { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vragen-kort li { background: var(--vlak); border-radius: 14px; padding: 24px 26px; max-width: none; }
.vragen-kort h3 { margin: 0 0 8px; font-family: inherit; font-stretch: normal; font-size: 18px; font-weight: 600; }
.vragen-kort p { margin: 0; font-size: 16px; color: var(--inkt-2); }
@media (max-width: 760px) { .vragen-kort { grid-template-columns: 1fr; } }

.band-datum { background: var(--achter); margin-top: -40px; padding: 0 0 40px; }
.band-datum .bijgewerkt { margin: 0; }

/* voet */
.voet { background: var(--diep); color: #a9bcd3; }
.voet-binnen { max-width: var(--breed); margin: 0 auto; padding: 48px var(--rand) 56px; display: grid; gap: 32px 40px;
               grid-template-columns: 5fr 3fr 4fr; font-size: 15px; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover { color: #fff; text-decoration: underline; }
.voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.voet-merk { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #fff; }
.voet-merk img { display: block; height: 26px; width: auto; }
.voet-merk .merk-product { font-size: 17px; }
.voet-wie p { margin: 0 0 8px; font-size: 13px; }
.voet .klein { color: #8ea3bd; }
@media (max-width: 820px) { .voet-binnen { grid-template-columns: 1fr; } }

/* de prijzen (10-10-2026): per scan en het pakket naast elkaar, onder elkaar op een telefoon */
ul.prijzen { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
ul.prijzen > li { border: 1px solid var(--lijn); border-radius: 16px; padding: 20px 22px; background: #fff; }
ul.prijzen h2 { margin-top: 0; }
.prijs-groot { font-size: 36px; font-weight: 700; margin: 4px 0 0; }
ul.prijzen ul { padding-left: 18px; }
ul.prijzen .formulier { margin-top: 12px; }
ul.prijzen .formulier .knop { justify-self: start; }

/* de tweede knop van een formulier (Gratis scan met code): wit met een rand in het accent */
.knop.knop-tweede { background: var(--vlak); box-shadow: inset 0 0 0 2px var(--amber); }
.knop.knop-tweede:hover, .knop.knop-tweede:focus-visible { background: var(--amber-licht); }
