/* GewoonSlim website: één stylesheet.
   Opbouw: 1. lettertypes (huisstijl fonts.css), 2. tokens (tokens.css plus
   enkele site-tokens), 3. basis en componenten, 4. MERKSPECIFIEK,
   5. opmaak van de site.
   Regel: kleuren, lettertypes, hoeken, schaduwen en ruimte alleen via de
   custom properties uit deel 2. Nergens anders hexwaarden of fontnamen.
   Bron van 1 en 2: map brand2/ van de huisstijl (fonts.css, tokens.css). Pas daar eerst aan. */

/* ===== 1. Lettertypes ===== */
/* GewoonSlim lettertypes, zelf gehost (SIL OFL 1.1, licenties in assets/fonts/).
   Gabarito 500 en 700 voor naam, titels en prijzen.
   Figtree 400, 600 en 700 voor tekst, knoppen en formulieren.
   Alleen de Latin-subset (bevat é, ë, ï, ç, à, € en alle Nederlandse en Franse tekens). */
@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gabarito"; src: url("../fonts/gabarito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ===== 2. Tokens ===== */
/* GewoonSlim huisstijl, versie 2 (november 2026). Enige bron voor kleur, letter, ruimte en vorm. */
:root {
  /* palet */
  --gs-zee: #007682;
  --gs-zee-donker: #005A64;
  --gs-zee-licht: #6FD3D6;
  --gs-zeemist: #DDF1F1;
  --gs-koraal: #EC6F5E;
  --gs-koraal-donker: #A8392A;
  --gs-koraal-tint: #FCE4DE;
  --gs-zon: #F6B53F;
  --gs-zon-donker: #7A5500;
  --gs-zon-tint: #FDEFCF;
  --gs-inkt: #12303A;
  --gs-inkt-zacht: #3F5560;
  --gs-schelp: #FBF8F2;
  --gs-wit: #FFFFFF;
  --gs-lijn: #D3DCDC;
  --gs-veldrand: #667C84;
  --gs-fout: #A8261C;

  /* semantisch */
  --kleur-grond: var(--gs-schelp);
  --kleur-vlak: var(--gs-wit);
  --kleur-vlak-zacht: var(--gs-zeemist);
  --kleur-tekst: var(--gs-inkt);
  --kleur-tekst-zacht: var(--gs-inkt-zacht);
  --kleur-accent: var(--gs-zee);
  --kleur-accent-hover: var(--gs-zee-donker);
  --kleur-op-accent: var(--gs-wit);
  --kleur-link: var(--gs-zee);
  --kleur-lijn: var(--gs-lijn);
  --kleur-veldrand: var(--gs-veldrand);
  --kleur-fout: var(--gs-fout);
  --kleur-donker: var(--gs-inkt);
  --kleur-op-donker: var(--gs-schelp);
  --kleur-focus: var(--gs-zon);

  /* pijlers: vlak, tint en tekstkleur op lichte grond */
  --pijler-herstel: var(--gs-zee);     --pijler-herstel-tint: var(--gs-zeemist);     --pijler-herstel-tekst: var(--gs-zee-donker);
  --pijler-media: var(--gs-koraal);    --pijler-media-tint: var(--gs-koraal-tint);   --pijler-media-tekst: var(--gs-koraal-donker);
  --pijler-wonen: var(--gs-zon);       --pijler-wonen-tint: var(--gs-zon-tint);      --pijler-wonen-tekst: var(--gs-zon-donker);

  /* het verloop van het teken */
  --verloop-teken: linear-gradient(180deg, var(--gs-zee) 0%, var(--gs-koraal) 100%);
  --verloop-teken-donker: linear-gradient(180deg, var(--gs-zee-licht) 0%, var(--gs-zon) 100%);

  /* typografie */
  --font-titel: "Gabarito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-tekst: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gewicht-titel: 700;
  --tekst-basis: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);   /* 18 tot 20 px */
  --tekst-klein: 1.0625rem;                                     /* 17 px, nooit kleiner */
  --tekst-groot: clamp(1.25rem, 1.15rem + 0.5vw, 1.4375rem);
  --titel-1: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --titel-2: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --titel-3: clamp(1.375rem, 1.25rem + 0.6vw, 1.625rem);
  --regel-tekst: 1.6;
  --regel-titel: 1.1;
  --maat-regel: 66ch;

  /* ruimte, vorm, diepte */
  --ruimte-1: 0.25rem; --ruimte-2: 0.5rem; --ruimte-3: 0.75rem; --ruimte-4: 1rem; --ruimte-5: 1.5rem;
  --ruimte-6: 2rem; --ruimte-7: 3rem; --ruimte-8: 4.5rem; --ruimte-9: 7rem;
  --hoek-klein: 10px; --hoek: 18px; --hoek-groot: 28px; --hoek-pil: 999px;
  /* de Oostendse strandcabine: recht huisje, plat dak dat oversteekt, verticale planken */
  --cabine-hoek: 4px 4px var(--hoek-klein) var(--hoek-klein);
  --cabine-dak-hoogte: 14px;
  --cabine-overstek: 4%;
  --cabine-dak: var(--gs-inkt);
  --cabine-planken: repeating-linear-gradient(90deg, transparent 0 31px, rgb(18 48 58 / 0.08) 31px 32px);
  --lijn-dikte: 2px;
  --schaduw: 0 1px 2px rgb(18 48 58 / 0.06), 0 8px 24px rgb(18 48 58 / 0.08);
  --klikdoel: 56px;
  --focus-ring: 0 0 0 3px var(--gs-inkt), 0 0 0 6px var(--gs-zon);

  /* ---- site-tokens: aanvullingen voor de website, afgeleid van het palet ---- */
  --kleur-accent-op-donker: var(--gs-zon);    /* hoofdknop op Inkt, Inkt erop 7,7 op 1 */
  --kleur-op-donker-zacht: #B9C9CC;           /* tweede tekstniveau op Inkt, 8,1 op 1 */
  --kleur-fout-tint: #FBE6E3;                 /* achtergrond foutoverzicht, fout erop 5,9 op 1 */
  --lijn-op-donker: rgb(251 248 242 / 0.18);
  --vlak-op-donker-hover: rgb(251 248 242 / 0.12);

  --gewicht-normaal: 400;
  --gewicht-half: 600;
  --gewicht-vet: 700;
  --gewicht-titel-zacht: 500;
  --titel-4: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);   /* 20 tot 23 px */
  --titel-prijs: clamp(2.5rem, 2.1rem + 1.4vw, 3.25rem);   /* 40 tot 52 px */
  --regel-groot: 1.5;
  --ls-titel: -0.01em;
  --maat-pagina: 72rem;
  --ruimte-sectie: clamp(3.5rem, 2rem + 5vw, 7rem);
  --lijn-dun: 1px;

  --duur-kort: 120ms;
  --duur-midden: 200ms;
  --duur-teken: 1600ms;
  --curve: cubic-bezier(0.2, 0.7, 0.2, 1);

  --icoon-klein: 1.5rem;
  --icoon-midden: 2rem;
  --icoon-groot: 2.25rem;
}

@media (prefers-reduced-motion: reduce) {
  :root { --duur-kort: 0ms; --duur-midden: 0ms; }
}

/* ===== 3. Componenten ===== */
/* GewoonSlim basiscomponenten.
   Vereist: deel 1 en 2 (lettertypes en tokens) vóór dit deel.
   Bewust weinig klassen en lage specificiteit: één klasse per component,
   varianten via een tweede klasse (bv. .knop.knop--rustig). */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--kleur-grond);
  color: var(--kleur-tekst);
  font-family: var(--font-tekst);
  font-size: var(--tekst-basis);
  line-height: var(--regel-tekst);
  font-weight: var(--gewicht-normaal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-titel);
  font-weight: var(--gewicht-titel);
  line-height: var(--regel-titel);
  letter-spacing: var(--ls-titel);
  color: var(--kleur-tekst);
  margin: 0 0 var(--ruimte-4);
  text-wrap: balance;
}
h1 { font-size: var(--titel-1); line-height: var(--regel-titel); }
h2 { font-size: var(--titel-2); }
h3 { font-size: var(--titel-3); font-weight: var(--gewicht-titel); }
h4 { font-size: var(--titel-4); font-weight: var(--gewicht-titel); }

p, ul, ol { margin: 0 0 var(--ruimte-4); max-width: var(--maat-regel); }
p { text-wrap: pretty; }

.inleiding { font-size: var(--tekst-groot); line-height: var(--regel-groot); }
.klein { font-size: var(--tekst-klein); }

a {
  color: var(--kleur-link);
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--kleur-accent-hover); text-decoration-thickness: 3px; }

/* Focus: dubbele ring, Inkt met daarrond Zon, zichtbaar op elke achtergrond.
   De transparante outline blijft zichtbaar in de modus met hoog contrast van Windows. */
:focus-visible {
  outline: 3px solid transparent;
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}
a:focus-visible { border-radius: var(--hoek-klein); }

.icoon {
  width: var(--icoon-klein);
  height: var(--icoon-klein);
  flex: none;
  vertical-align: -0.3em;
}

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ruimte-3);
  min-height: var(--klikdoel);
  padding: var(--ruimte-3) var(--ruimte-6);
  border: var(--lijn-dikte) solid var(--kleur-accent);
  border-radius: var(--hoek-pil);
  background: var(--kleur-accent);
  color: var(--kleur-op-accent);
  font-family: var(--font-tekst);
  font-size: var(--tekst-basis);
  font-weight: var(--gewicht-half);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duur-kort) var(--curve), border-color var(--duur-kort) var(--curve);
}
.knop:hover { background: var(--kleur-accent-hover); border-color: var(--kleur-accent-hover); color: var(--kleur-op-accent); }
.knop:active { transform: translateY(1px); }

/* Tweede knop: rand in Inkt */
.knop--rustig { background: transparent; border-color: var(--kleur-tekst); color: var(--kleur-tekst); }
.knop--rustig:hover { background: var(--kleur-vlak-zacht); border-color: var(--kleur-tekst); color: var(--kleur-tekst); }

/* Hoofdknop op een donker vlak: Zon met tekst in Inkt */
.knop--op-donker { background: var(--kleur-accent-op-donker); border-color: var(--kleur-accent-op-donker); color: var(--kleur-donker); }
.knop--op-donker:hover { background: var(--kleur-op-donker); border-color: var(--kleur-op-donker); color: var(--kleur-donker); }

.knop .icoon { width: var(--icoon-klein); height: var(--icoon-klein); vertical-align: 0; }

/* ---------- Formulier ---------- */
.veld { display: grid; align-content: start; gap: var(--ruimte-2); max-width: 32rem; }
.veld label { font-weight: var(--gewicht-half); }
.veld .hulp { color: var(--kleur-tekst-zacht); margin: 0; }
.veld input, .veld select, .veld textarea {
  font: inherit;
  color: var(--kleur-tekst);
  min-height: var(--klikdoel);
  padding: var(--ruimte-3) var(--ruimte-4);
  background: var(--kleur-vlak);
  border: var(--lijn-dikte) solid var(--kleur-veldrand);
  border-radius: var(--hoek-klein);
  width: 100%;
}
.veld input:hover, .veld select:hover, .veld textarea:hover { border-color: var(--kleur-tekst); }
.veld input:focus-visible, .veld select:focus-visible, .veld textarea:focus-visible { border-color: var(--kleur-tekst); }
.veld--fout input, .veld--fout select, .veld--fout textarea { border-color: var(--kleur-fout); border-width: 3px; }
.veld .foutmelding, .keuzes .foutmelding {
  display: flex; gap: var(--ruimte-2); align-items: flex-start;
  color: var(--kleur-fout); font-weight: var(--gewicht-vet); margin: 0;
}
.veld .foutmelding .icoon, .keuzes .foutmelding .icoon { margin-top: 0.15em; vertical-align: 0; }

.keuzes { border: 0; padding: 0; margin: 0; display: grid; gap: var(--ruimte-2); }
.keuzes legend { font-weight: var(--gewicht-half); padding: 0; margin-bottom: var(--ruimte-2); }
.keuze {
  display: flex; align-items: center; gap: var(--ruimte-3);
  min-height: var(--klikdoel);
  cursor: pointer;
}
.keuze input { width: 1.5rem; height: 1.5rem; accent-color: var(--kleur-accent); margin: 0; }


/* =====================================================================
   MERKSPECIFIEK
   Alles wat typisch is voor deze huisstijl en verandert bij een nieuwe
   huisstijl: de pijlerkleuren, de Oostendse strandcabine (dienstkaarten
   en pijlertekens), de prijsweergave, het getekende beeldmerk op de
   startpagina en de lijntekeningen in de fotoplekken.
   Kleuren komen uitsluitend uit de tokens; tekeningen gebruiken currentColor.
   ===================================================================== */

/* ---------- Pijlers: vlak, tint, tekstkleur op licht, kleur op het vlak ---------- */
.pijler-herstel { --pijler-kleur: var(--pijler-herstel); --pijler-tint: var(--pijler-herstel-tint); --pijler-tekst: var(--pijler-herstel-tekst); --op-pijler: var(--kleur-op-accent); }
.pijler-media   { --pijler-kleur: var(--pijler-media);   --pijler-tint: var(--pijler-media-tint);   --pijler-tekst: var(--pijler-media-tekst);   --op-pijler: var(--kleur-tekst); }
.pijler-wonen   { --pijler-kleur: var(--pijler-wonen);   --pijler-tint: var(--pijler-wonen-tint);   --pijler-tekst: var(--pijler-wonen-tekst);   --op-pijler: var(--kleur-tekst); }

/* ---------- De Oostendse strandcabine ----------
   Recht huisje van verticale planken, kleine hoeken, een plat dak in Inkt
   dat aan beide kanten oversteekt (::before). Alleen voor de drie pijlers. */
.pijlerteken,
.dienstkaart { position: relative; border-radius: var(--cabine-hoek); }
.pijlerteken::before,
.dienstkaart::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--cabine-overstek));
  right: calc(-1 * var(--cabine-overstek));
  top: calc(-1 * var(--cabine-dak-hoogte) + 2px);
  height: var(--cabine-dak-hoogte);
  border-radius: var(--hoek-klein);
  background: var(--cabine-dak);
}

/* Pijlerteken: een kleine cabine in de pijlertint met het icoon */
.pijlerteken {
  --cabine-dak-hoogte: 6px;
  --cabine-overstek: 10%;
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-top: var(--cabine-dak-hoogte);
  background: var(--cabine-planken), var(--pijler-tint, var(--kleur-vlak-zacht));
  color: var(--pijler-tekst, var(--kleur-accent-hover));
}
.pijlerteken::before { border-radius: 3px; }
.pijlerteken .icoon { width: var(--icoon-midden); height: var(--icoon-midden); vertical-align: 0; }

/* Dienstkaart als strandcabine (startpagina): wit huisje van planken,
   bovenaan een band in de volle pijlerkleur met het teken in een ronde
   uitsparing in Schelp, daaronder tekst en prijs op wit. */
.raster.cabines {
  padding: var(--cabine-dak-hoogte) var(--cabine-overstek) 0;
  column-gap: calc(var(--ruimte-4) + 3%);
  row-gap: calc(var(--ruimte-6) + var(--cabine-dak-hoogte));
}
.dienstkaart {
  --dak: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--ruimte-4);
  padding: calc(var(--dak) + var(--ruimte-5)) var(--ruimte-5) var(--ruimte-5);
  background:
    var(--cabine-planken),
    linear-gradient(to bottom, var(--pijler-kleur, var(--kleur-accent)) 0 var(--dak), var(--kleur-vlak) var(--dak));
  box-shadow: var(--schaduw);
}
.dienstkaart .pijlerteken {
  position: absolute;
  top: calc((var(--dak) - 4.5rem) / 2);
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 0 0 -2.25rem;
  border-radius: 50%;
  background: var(--kleur-grond);
  color: var(--kleur-tekst);
}
.dienstkaart .pijlerteken::before { content: none; }
.dienstkaart h3 { margin: 0; font-size: var(--titel-3); }
.dienstkaart p { margin: 0; }
.dienstkaart .pijlernaam { font-weight: var(--gewicht-vet); color: var(--pijler-tekst, var(--kleur-accent)); margin: 0; }
.dienstkaart .knop { align-self: stretch; margin-top: auto; }
/* Kaarten naast elkaar even hoog, met naam, titel, tekst, prijs en knop telkens
   op dezelfde hoogte: elke kaart neemt vijf rijen van het raster over (subgrid). */
@supports (grid-template-rows: subgrid) {
  .dienstkaart { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: var(--ruimte-4); }
  .dienstkaart .knop { align-self: end; margin-top: 0; }
}

/* ---------- Prijzen: groot in Gabarito Bold, met wat ze dekken ---------- */
.prijskaart {
  display: flex;
  flex-direction: column;
  gap: var(--ruimte-3);
  padding: var(--ruimte-6);
  background: var(--kleur-vlak);
  border-radius: var(--hoek);
  box-shadow: var(--schaduw);
  color: var(--kleur-tekst);
}
.prijskaart h3 { margin: 0; font-size: var(--titel-4); }
.prijskaart .bedrag,
.dienstkaart .vanaf {
  font-family: var(--font-titel);
  font-weight: var(--gewicht-titel);
  line-height: 1;
  letter-spacing: var(--ls-titel);
  color: var(--pijler-tekst, var(--kleur-tekst));
}
.prijskaart .bedrag {
  font-size: var(--titel-prijs);
  margin: 0 0 var(--ruimte-2);
  padding-bottom: var(--ruimte-4);
  border-bottom: var(--lijn-dun) solid var(--kleur-lijn);
}
.prijskaart .bedrag small,
.dienstkaart .vanaf small {
  display: block;
  margin-top: var(--ruimte-2);
  font-family: var(--font-tekst);
  font-size: var(--tekst-klein);
  font-weight: var(--gewicht-half);
  letter-spacing: 0;
  line-height: var(--regel-groot);
  color: var(--kleur-tekst-zacht);
}
.prijskaart ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--ruimte-2); }
.prijskaart li { display: flex; gap: var(--ruimte-3); align-items: flex-start; }
.prijskaart li .icoon { color: var(--pijler-tekst, var(--kleur-accent)); margin-top: 0.15em; vertical-align: 0; }
.prijskaart .voorwaarde { color: var(--kleur-tekst-zacht); font-size: var(--tekst-klein); margin: auto 0 0; padding-top: var(--ruimte-2); }
.dienstkaart .vanaf { font-size: calc(var(--titel-3) * 1.15); margin-top: var(--ruimte-2); }

/* ---------- Het teken op de startpagina ----------
   Inline SVG van het beeldmerk. Bij het laden tekent de lijn zich één keer,
   van de G naar de S (alleen zonder prefers-reduced-motion). */
.teken { justify-self: center; width: min(100%, 14rem); margin: 0; }
.teken svg { display: block; width: 100%; height: auto; overflow: visible; }
.teken path { fill: none; stroke-width: 9.5; stroke-linecap: round; stroke-linejoin: round; }
.teken .teken__g { stroke: var(--kleur-accent); }
.stop-zee { stop-color: var(--kleur-accent); }
.stop-koraal { stop-color: var(--pijler-media); }
@media (prefers-reduced-motion: no-preference) {
  .teken path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: teken-lijn var(--duur-teken) var(--curve) 300ms forwards; }
  .teken .teken__g { animation-duration: 500ms; animation-delay: calc(var(--duur-teken) + 100ms); }
  @keyframes teken-lijn { to { stroke-dashoffset: 0; } }
}
@media (max-width: 55.99rem) { .teken { width: min(40%, 9rem); justify-self: start; order: -1; } }
@media (max-width: 35.99rem) { .teken { display: none; } .held .fotoplek { aspect-ratio: 5 / 3; } }

/* ---------- Fotoplek: tekening nu, eigen foto later ---------- */
.fotoplek {
  margin: 0;
  border-radius: var(--hoek-groot);
  overflow: hidden;
  background: var(--pijler-tint, var(--kleur-vlak-zacht));
  color: var(--pijler-tekst, var(--kleur-accent-hover));
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
}
.fotoplek img { width: 100%; height: 100%; object-fit: cover; }
.fotoplek--zacht { background: var(--kleur-vlak); box-shadow: var(--schaduw); }
/* Portret van Colijn (assets/img/colijn.jpg, zie tools/build.py): staand 4:5, bijgesneden */
.fotoplek--portret {
  display: block; aspect-ratio: 4 / 5; width: 100%; max-width: 24rem; justify-self: center;
  background: var(--kleur-vlak); box-shadow: var(--schaduw);
}
.held .fotoplek--portret { aspect-ratio: 4 / 5; }
@media (max-width: 35.99rem) { .fotoplek--portret { max-width: 18rem; justify-self: start; } }

/* Lijntekeningen (eigen SVG): ronde lijn, kleur via currentColor en de pijlertokens */
.illustratie { width: 80%; height: auto; overflow: visible; }
.illustratie .vlak { fill: var(--kleur-vlak); }
.fotoplek--zacht .illustratie .vlak { fill: var(--kleur-grond); }
.illustratie .accent { fill: var(--pijler-kleur, var(--kleur-accent)); stroke: none; }
.illustratie .op-accent { stroke: var(--op-pijler, var(--kleur-op-accent)); }
.illustratie .merk { stroke-width: 9.5; }
.illustratie .merk-g { stroke: var(--kleur-accent); }
.illustratie .cabine-dak { fill: var(--cabine-dak); stroke: none; }
.illustratie .cabine-plank { stroke: var(--cabine-dak); stroke-width: 1; stroke-opacity: 0.18; }
.illustratie .cabine-herstel { fill: var(--pijler-herstel); stroke: none; }
.illustratie .cabine-media { fill: var(--pijler-media); stroke: none; }
.illustratie .cabine-wonen { fill: var(--pijler-wonen); stroke: none; }

/* ===== Einde merkspecifiek ===== */

/* ===== 5. Opmaak van de site (structuur, blijft bij een nieuwe huisstijl) ===== */
/* ==========================================================================
   GewoonSlim website: eigen opmaak bovenop de huisstijl.
   Volgorde in dit bestand: lettertypes, tokens, componenten, merkspecifiek, dan dit.
   ========================================================================== */

html { scroll-padding-top: var(--ruimte-5); }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
strong, b { font-weight: var(--gewicht-vet); }

.container {
  width: 100%;
  max-width: calc(var(--maat-pagina) + 2 * var(--rand));
  margin-inline: auto;
  padding-inline: var(--rand);
  --rand: clamp(1rem, 0.5rem + 2.5vw, 2rem);
}

/* Visueel verborgen, wel voorleesbaar */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* ---------- Skip-link ---------- */
.skiplink {
  position: absolute; left: var(--ruimte-4); top: -10rem; z-index: 100;
  background: var(--kleur-donker); color: var(--kleur-op-donker);
  padding: var(--ruimte-3) var(--ruimte-5); border-radius: var(--hoek-klein);
  font-weight: var(--gewicht-vet); text-decoration: none;
  min-height: var(--klikdoel); display: inline-flex; align-items: center;
}
.skiplink:focus { top: var(--ruimte-4); color: var(--kleur-op-donker); }

/* ---------- Kop en menu ---------- */
.kop { border-bottom: var(--lijn-dun) solid var(--kleur-lijn); background: var(--kleur-grond); }
.kop__binnen {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--ruimte-3) var(--ruimte-5);
  padding-block: var(--ruimte-4);
}
.kop__logo { display: inline-flex; align-items: center; min-height: var(--klikdoel); border-radius: var(--hoek-klein); }
.kop__logo img { height: 3rem; width: auto; }
@media (min-width: 64rem) { .kop__logo img { height: 3.5rem; } }
@media (max-width: 22.5rem) { .kop__logo img { height: 2.5rem; } }

.menu-knop { display: none; }

.hoofdmenu ul {
  list-style: none; margin: 0; padding: 0; max-width: none;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--ruimte-5);
}
.hoofdmenu a {
  display: inline-flex; align-items: center; min-height: var(--klikdoel);
  color: var(--kleur-tekst); font-weight: var(--gewicht-vet);
  text-decoration-line: none;
}
.hoofdmenu a:hover { color: var(--kleur-accent); text-decoration-line: underline; }
.hoofdmenu a[aria-current="page"] {
  color: var(--kleur-accent);
  text-decoration-line: underline; text-decoration-thickness: 3px; text-underline-offset: 0.35em;
}
.hoofdmenu .menu-bel { display: none; }
.hoofdmenu .menu-bel a { gap: var(--ruimte-2); color: var(--kleur-accent); }
@media (min-width: 82rem) { .hoofdmenu .menu-bel { display: list-item; } }

/* Met JavaScript: op kleinere schermen klapt het menu in achter een knop "Menu".
   Zonder JavaScript blijft het menu gewoon zichtbaar als rij links. */
@media (max-width: 67.99rem) {
  .js .menu-knop {
    display: inline-flex; align-items: center; gap: var(--ruimte-2);
    min-height: var(--klikdoel); padding: 0 var(--ruimte-4);
    background: var(--kleur-vlak); color: var(--kleur-tekst);
    border: var(--lijn-dikte) solid var(--kleur-tekst); border-radius: var(--hoek-pil);
    font: inherit; font-weight: var(--gewicht-half); cursor: pointer;
  }
  .js .menu-knop .icoon { vertical-align: 0; }
  .js .menu-knop .icoon-sluiten { display: none; }
  .js .menu-knop[aria-expanded="true"] .icoon-sluiten { display: block; }
  .js .menu-knop[aria-expanded="true"] .icoon-menu { display: none; }
  .js .hoofdmenu { display: none; flex-basis: 100%; }
  .js .hoofdmenu.is-open { display: block; }
  .js .hoofdmenu ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: var(--ruimte-3); }
  .js .hoofdmenu li { border-top: var(--lijn-dun) solid var(--kleur-lijn); }
  .js .hoofdmenu a { width: 100%; font-size: var(--titel-4); font-family: var(--font-titel); font-weight: var(--gewicht-titel); }
  .js .hoofdmenu .menu-bel { display: list-item; }
  .js .hoofdmenu .menu-bel a { font-family: var(--font-tekst); font-size: var(--tekst-basis); font-weight: var(--gewicht-vet); }
}
@media (max-width: 67.99rem) {
  .hoofdmenu { flex-basis: 100%; }
  .hoofdmenu .menu-bel { display: list-item; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hoofdmenu.is-open { animation: menu-in var(--duur-midden) var(--curve); }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: none; } }
}

/* ---------- Secties ---------- */
main { display: block; }
.sectie { padding-block: var(--ruimte-sectie); }
/* Twee gewone secties na elkaar: geen dubbele witruimte */
.sectie:not(.sectie--zacht):not(.sectie--tint) + .sectie:not(.sectie--zacht):not(.sectie--tint),
.held + .sectie:not(.sectie--zacht):not(.sectie--tint) { padding-top: 0; }
/* Rustig wit vlak tussen secties op Schelp; kaarten erin krijgen de grondkleur */
.sectie--zacht { background: var(--kleur-vlak); }
.sectie--zacht .kader { background: var(--kleur-grond); box-shadow: none; }
.sectie--zacht .stappen > li::before { background: var(--kleur-grond); }
.sectie--tint { background: var(--pijler-tint, var(--kleur-vlak-zacht)); }
.sectie__kop { max-width: 46rem; margin-bottom: var(--ruimte-6); }
.sectie__kop p { color: var(--kleur-tekst-zacht); margin-bottom: 0; }
.sectie__kop h2 { margin-bottom: var(--ruimte-3); }

.tekst > * + h3 { margin-top: var(--ruimte-6); }
.tekst h3 { font-size: var(--titel-4); }
.tekst ul { padding-left: 1.25em; }
.tekst li + li { margin-top: var(--ruimte-2); }

/* Twee kolommen: tekst en een vlak ernaast */
.duo { display: grid; gap: var(--ruimte-7); align-items: start; }
@media (min-width: 56rem) {
  .duo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--ruimte-8); }
  .duo--midden { align-items: center; }
  .duo--omgekeerd > :first-child { order: 2; }
}

.raster { display: grid; gap: var(--ruimte-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }

/* ---------- Held (bovenaan elke pagina) ---------- */
.held { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--ruimte-sectie); }
.held__raster { display: grid; gap: var(--ruimte-7); align-items: center; }
@media (min-width: 56rem) { .held__raster { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: var(--ruimte-8); } }
.held h1 { margin-bottom: var(--ruimte-5); }
.held h1 .regel { display: block; }
.held .inleiding { margin-bottom: var(--ruimte-6); }
.held__pijler { display: flex; align-items: center; gap: var(--ruimte-4); margin-bottom: var(--ruimte-5); }
.held__pijler p { margin: 0; font-family: var(--font-titel); font-weight: var(--gewicht-titel); color: var(--pijler-tekst); font-size: var(--titel-4); }
.held__noot { margin: var(--ruimte-5) 0 0; color: var(--kleur-tekst-zacht); }

.knoppen { display: flex; flex-wrap: wrap; gap: var(--ruimte-4); align-items: center; }
@media (max-width: 30rem) { .knoppen .knop { width: 100%; } }

/* ---------- Dienstkaarten (startpagina) ---------- */
.dienstkaart h3 a { color: inherit; text-decoration: none; }
.dienstkaart h3 a:hover { text-decoration: underline; }
.dienstkaart .knop { width: auto; justify-content: space-between; gap: var(--ruimte-2); text-align: left; margin-inline: calc(-1 * var(--ruimte-2)); padding-inline: var(--ruimte-4) var(--ruimte-3); font-size: var(--tekst-klein); }

/* ---------- Prijskaarten in een rij ---------- */
.prijskaarten { display: grid; gap: var(--ruimte-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); align-items: stretch; }
.prijskaarten--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); max-width: 52rem; }
.prijskaart .bedrag--woord { font-size: var(--titel-prijs); }
.prijsnoot { margin: var(--ruimte-6) 0 0; color: var(--kleur-tekst-zacht); }

/* ---------- Stappen (echte volgorde, dus genummerd) ---------- */
.stappen { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: var(--ruimte-6); counter-reset: stap; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.stappen > li { counter-increment: stap; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--ruimte-4); align-items: start; }
.stappen > li::before {
  content: counter(stap);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 3px solid var(--kleur-accent); color: var(--kleur-accent);
  font-family: var(--font-titel); font-weight: var(--gewicht-titel); font-size: var(--titel-4); line-height: 1;
  background: var(--kleur-vlak);
}
.stappen h3 { font-size: var(--titel-4); margin: 0.6rem 0 var(--ruimte-2); }
.stappen p { margin: 0; }

/* ---------- Vinkjeslijst ---------- */
.vinkjes { list-style: none; padding: 0; display: grid; gap: var(--ruimte-3); }
.vinkjes li { display: flex; gap: var(--ruimte-3); align-items: flex-start; }
.vinkjes .icoon { color: var(--pijler-tekst, var(--kleur-accent)); margin-top: 0.15em; vertical-align: 0; }
.vinkjes--niet .icoon { color: var(--kleur-tekst-zacht); }

/* ---------- Kaders ---------- */
.kader {
  background: var(--kleur-vlak); border-radius: var(--hoek);
  padding: var(--ruimte-6); box-shadow: var(--schaduw);
}
.kader > :last-child { margin-bottom: 0; }
.kader h3 { font-size: var(--titel-4); }
.kader--lijn { border-top: 6px solid var(--pijler-kleur, var(--kleur-accent)); }

/* Eerlijke melding, bv. eID op ChromeOS */
.melding {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--ruimte-4);
  background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--kleur-tekst);
  border-radius: var(--hoek); padding: var(--ruimte-5) var(--ruimte-6);
  max-width: 52rem;
}
.melding > .icoon { width: var(--icoon-midden); height: var(--icoon-midden); color: var(--kleur-tekst); vertical-align: 0; }
.melding h3 { font-size: var(--titel-4); margin-bottom: var(--ruimte-2); }
.melding > div > :last-child { margin-bottom: 0; }
@media (max-width: 30rem) { .melding { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Getuigenis ---------- */
.getuigenis {
  position: relative; margin: 0;
  background: var(--kleur-vlak); border-radius: var(--hoek);
  padding: var(--ruimte-6);
  box-shadow: var(--schaduw); border-top: 6px solid var(--kleur-accent);
  max-width: 46rem;
}
.getuigenis h3 { font-size: var(--titel-4); margin-bottom: var(--ruimte-3); }
.getuigenis p { font-size: var(--tekst-groot); line-height: var(--regel-groot); margin-bottom: var(--ruimte-3); }
.getuigenis .bron { font-size: var(--tekst-basis); color: var(--kleur-tekst-zacht); margin: 0; }

/* ---------- Veelgestelde vragen (werkt zonder JavaScript) ---------- */
.vragen { display: grid; gap: var(--ruimte-3); max-width: 52rem; }
.vraag { background: var(--kleur-vlak); border-radius: var(--hoek); box-shadow: var(--schaduw); }
.vraag summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-4);
  min-height: var(--klikdoel); padding: var(--ruimte-3) var(--ruimte-5);
  font-weight: var(--gewicht-vet); cursor: pointer; list-style: none;
  border-radius: var(--hoek);
}
.vraag summary::-webkit-details-marker { display: none; }
.vraag summary::after {
  content: ""; flex: none; width: 0.75rem; height: 0.75rem;
  border-right: 3px solid var(--kleur-accent); border-bottom: 3px solid var(--kleur-accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--duur-midden) var(--curve);
}
.vraag[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.vraag summary:hover { color: var(--kleur-accent); }
.vraag__antwoord { padding: 0 var(--ruimte-5) var(--ruimte-5); }
.vraag__antwoord > :last-child { margin-bottom: 0; }

/* ---------- Kleine lettertjes die geen kleine lettertjes zijn ---------- */
.disclaimer { border-top: var(--lijn-dun) solid var(--kleur-lijn); padding-top: var(--ruimte-5); color: var(--kleur-tekst-zacht); max-width: 52rem; }
.disclaimer h2 { font-size: var(--titel-4); }

/* ---------- Contactband onderaan elke pagina ---------- */
.contactband { background: var(--kleur-donker); color: var(--kleur-op-donker); padding-block: var(--ruimte-sectie); }
.contactband h2 { color: var(--kleur-op-donker); }
.contactband p { color: var(--kleur-op-donker-zacht); }
.contactband a:not(.knop) { color: var(--kleur-op-donker); }
.contactband .knop--rustig { color: var(--kleur-op-donker); border-color: var(--kleur-op-donker); }
.contactband .knop--rustig:hover { background: var(--vlak-op-donker-hover); color: var(--kleur-vlak); border-color: var(--kleur-vlak); }
.contactband__raster { display: grid; gap: var(--ruimte-6); align-items: center; }
@media (min-width: 56rem) { .contactband__raster { grid-template-columns: minmax(0, 1fr) auto; gap: var(--ruimte-8); } }
.contactband .knoppen { flex-direction: column; align-items: stretch; }
@media (min-width: 40rem) and (max-width: 55.99rem) { .contactband .knoppen { flex-direction: row; } }
.contactband__uren { display: flex; gap: var(--ruimte-3); align-items: flex-start; margin: 0; }
.contactband__uren .icoon { margin-top: 0.15em; vertical-align: 0; }

/* ---------- Voettekst ---------- */
.voet { background: var(--kleur-donker); color: var(--kleur-op-donker); border-top: var(--lijn-dun) solid var(--lijn-op-donker); padding-block: var(--ruimte-7) var(--ruimte-6); }
.voet a { color: var(--kleur-op-donker); }
.voet a:hover { color: var(--kleur-vlak); }
.voet__raster { display: grid; gap: var(--ruimte-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.voet__logo { display: inline-flex; align-items: center; min-height: var(--klikdoel); margin-bottom: var(--ruimte-3); }
.voet__logo img { height: 4.5rem; width: auto; }
.voet h2 { color: var(--kleur-op-donker); font-size: var(--titel-4); margin-bottom: var(--ruimte-3); }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li a { display: inline-flex; align-items: center; gap: var(--ruimte-2); min-height: var(--klikdoel); }
.voet p { color: var(--kleur-op-donker-zacht); }
.voet__wettelijk { margin-top: var(--ruimte-6); padding-top: var(--ruimte-5); border-top: var(--lijn-dun) solid var(--lijn-op-donker); }
.voet__wettelijk p { font-size: var(--tekst-klein); max-width: none; margin-bottom: var(--ruimte-2); }

/* ---------- Contactpagina ---------- */
.contact-raster { display: grid; gap: var(--ruimte-7); align-items: start; }
@media (min-width: 60rem) { .contact-raster { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: var(--ruimte-8); } }
.formulier { background: var(--kleur-vlak); border-radius: var(--hoek); box-shadow: var(--schaduw); padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem); display: grid; gap: var(--ruimte-6); }
.formulier h2 { margin: 0; }
.formulier .veld { max-width: none; }
.formulier .verplicht { font-weight: var(--gewicht-normaal); color: var(--kleur-tekst-zacht); }
.formulier textarea { min-height: 9rem; resize: vertical; }
.formulier .knop { justify-self: start; }
@media (max-width: 30rem) { .formulier .knop { justify-self: stretch; } }
.formulier .foutmelding[hidden] { display: none; }
.formulier .klein { margin: 0; color: var(--kleur-tekst-zacht); }
.foutoverzicht { border: 3px solid var(--kleur-fout); background: var(--kleur-fout-tint); border-radius: var(--hoek-klein); padding: var(--ruimte-4) var(--ruimte-5); color: var(--kleur-fout); font-weight: var(--gewicht-vet); }
.foutoverzicht[hidden] { display: none; }
.foutoverzicht p { margin: 0; }
.honing { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contactlijst { list-style: none; padding: 0; margin: 0 0 var(--ruimte-6); display: grid; gap: var(--ruimte-3); }
.contactlijst .knop { width: 100%; justify-content: flex-start; }
.gegevens { display: grid; gap: var(--ruimte-5); }
.gegeven { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--ruimte-3); align-items: start; }
.gegeven > .icoon { color: var(--kleur-accent); margin-top: 0.2em; vertical-align: 0; }
.gegeven h3 { font-family: var(--font-tekst); font-size: var(--tekst-basis); font-weight: var(--gewicht-vet); letter-spacing: 0; margin: 0; }
.gegeven p { margin: 0; }
.gegeven a { overflow-wrap: anywhere; }

/* ---------- Juridische pagina's ---------- */
.juridisch h2 { font-size: var(--titel-3); margin-top: var(--ruimte-7); }
.juridisch h2:first-of-type { margin-top: 0; }
.juridisch .bijgewerkt { color: var(--kleur-tekst-zacht); }

/* ---------- Kleine hulpmiddelen ---------- */
.zacht { color: var(--kleur-tekst-zacht); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--ruimte-6); }
.mt-7 { margin-top: var(--ruimte-7); }
.breed { max-width: none; }
.nowrap { white-space: nowrap; }
.telnr { white-space: nowrap; }

/* ---------- Aanvullingen ---------- */
main:focus { outline: none; }
.getuigenis blockquote { margin: 0; }
.getuigenis__titel { font-size: var(--titel-4); margin-bottom: var(--ruimte-3); }
.getuigenis--pijler { border-top-color: var(--pijler-kleur, var(--kleur-accent)); }
.voet__wettelijk a { display: inline-flex; align-items: center; min-height: var(--klikdoel); }
.keuze { min-height: var(--klikdoel); }
.rekenvoorbeeld { margin-top: var(--ruimte-6); max-width: 52rem; }
.tabel { width: 100%; border-collapse: collapse; background: var(--kleur-vlak); border-radius: var(--hoek); overflow: hidden; box-shadow: var(--schaduw); }
.tabel caption { text-align: left; font-weight: var(--gewicht-vet); padding-bottom: var(--ruimte-3); }
.tabel th, .tabel td { text-align: left; padding: var(--ruimte-3) var(--ruimte-4); border-bottom: var(--lijn-dun) solid var(--kleur-lijn); vertical-align: top; }
.tabel thead th { background: var(--pijler-tint, var(--kleur-vlak-zacht)); }
.tabel td.bedrag-cel, .tabel th.bedrag-cel { text-align: right; white-space: nowrap; font-weight: var(--gewicht-vet); }
.tabel tr:last-child td { border-bottom: 0; }
.formaten { display: flex; flex-wrap: wrap; gap: var(--ruimte-3); list-style: none; padding: 0; max-width: none; }
.formaten li { background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--pijler-kleur, var(--kleur-accent)); border-radius: var(--hoek-pil); padding: var(--ruimte-2) var(--ruimte-4); font-weight: var(--gewicht-vet); min-height: var(--klikdoel); display: inline-flex; align-items: center; }
.paginanav { display: flex; flex-wrap: wrap; gap: var(--ruimte-2) var(--ruimte-5); list-style: none; padding: 0; margin: var(--ruimte-6) 0 0; max-width: none; }
.tekst .paginanav { padding-left: 0; }
.tekst .paginanav li + li { margin-top: 0; }
.paginanav a { display: inline-flex; align-items: center; min-height: var(--klikdoel); font-weight: var(--gewicht-vet); }
.twee-kaders { display: grid; gap: var(--ruimte-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.kader .pijlerteken { margin-bottom: var(--ruimte-4); }
.adres { font-style: normal; }
.fout-pagina { text-align: left; }
.held--kort { padding-bottom: var(--ruimte-6); }
.held--kort .inleiding { margin-bottom: 0; }
.h-klein { font-size: var(--titel-3); font-weight: var(--gewicht-titel); margin-bottom: var(--ruimte-3); }
.vinkjes + .vinkjes { margin-top: var(--ruimte-3); }
.bedrag-regel { font-family: var(--font-titel); font-size: var(--titel-3); color: var(--pijler-tekst, var(--kleur-tekst)); }
.bedrag-regel strong { font-weight: var(--gewicht-titel); }

/* ---------- Vaste contactbalk op de gsm (werkt zonder JavaScript) ----------
   De voettekst krijgt onderaan evenveel extra ruimte, zodat de balk nooit inhoud
   bedekt. Verborgen bij het open menu en terwijl een invulveld de focus heeft. */
.belbalk { display: none; }
@media screen and (max-width: 43.75rem) {
  :root { --belbalk-hoogte: calc(var(--klikdoel) + 2 * var(--ruimte-3) + var(--lijn-dun)); }
  html { scroll-padding-bottom: calc(var(--belbalk-hoogte) + env(safe-area-inset-bottom)); }
  .belbalk {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ruimte-3);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: var(--ruimte-3) var(--ruimte-4) calc(var(--ruimte-3) + env(safe-area-inset-bottom));
    background: var(--kleur-vlak); border-top: var(--lijn-dun) solid var(--kleur-lijn);
  }
  .belbalk .knop { width: 100%; padding-inline: var(--ruimte-4); }
  .belbalk .knop--rustig { background: var(--kleur-vlak); }
  .belbalk .knop--rustig:hover { background: var(--kleur-vlak-zacht); }
  .voet { padding-bottom: calc(var(--ruimte-6) + var(--belbalk-hoogte) + env(safe-area-inset-bottom)); }
  body:has(.menu-knop[aria-expanded="true"]) .belbalk,
  body:has(:is(input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]), textarea, select):focus) .belbalk { display: none; }
}

@media print {
  .kop nav, .menu-knop, .contactband, .skiplink, .belbalk { display: none !important; }
  body { background: var(--kleur-vlak); }
}

/* Mozaiek van apps en merken (Slimmer Wonen): klikbare tegels met logo en naam (beslissing 18 november 2026).
   Elke tegel is een echt aanvinkvakje. Het vakje zelf is de tegel (verborgen uiterlijk,
   volle grootte), zodat de focusring van de huisstijl rond de hele tegel staat. */
.mozaiek__instructie { font-family: var(--font-titel); font-weight: 700; font-size: var(--titel-3); line-height: var(--regel-titel); margin: 0 0 var(--ruimte-2); }
.mozaiek__privacy { font-size: var(--tekst-klein); color: var(--kleur-tekst-zacht); margin: 0 0 var(--ruimte-6); max-width: var(--maat-regel); }
.mozaiek { display: grid; gap: var(--ruimte-6) var(--ruimte-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.mozaiek__groep h3 { font-size: var(--tekst-basis); color: var(--pijler-tekst, var(--kleur-tekst)); margin-bottom: var(--ruimte-3); }
.mozaiek__groep ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ruimte-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mozaiek__groep li { display: flex; }
.app { position: relative; display: flex; align-items: center; gap: var(--ruimte-2); width: 100%; min-height: var(--klikdoel); padding: var(--ruimte-2) var(--ruimte-3); font-family: var(--font-titel); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; cursor: pointer; }
.app input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--kleur-veldrand); border-radius: var(--hoek-klein); cursor: pointer; }
.app:hover input { border-color: var(--kleur-tekst); }
.app input:checked { background: var(--pijler-tint, var(--kleur-vlak-zacht)); border-color: var(--kleur-tekst); }
.app input:focus-visible { z-index: 1; }
.app__vink, .app__naam { position: relative; pointer-events: none; }
.app__vink { flex: none; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: var(--lijn-dikte) solid var(--kleur-veldrand); border-radius: 6px; background: var(--kleur-vlak); color: var(--kleur-op-accent); }
.app__vink .icoon { width: 1.25rem; height: 1.25rem; stroke-width: 3; visibility: hidden; }
.app input:checked ~ .app__vink { background: var(--kleur-accent); border-color: var(--kleur-accent); }
.app input:checked ~ .app__vink .icoon { visibility: visible; }
.mozaiek__noot { margin-top: var(--ruimte-6); max-width: var(--maat-regel); }
.mozaiek__noot--klein { margin-top: var(--ruimte-3); font-size: var(--tekst-klein); color: var(--kleur-tekst-zacht); }

/* Uitslag onder de mozaiek: aantal, rustige meter en een korte boodschap */
.mozaiek__uitslag { display: grid; gap: var(--ruimte-3); max-width: 44rem; margin-top: var(--ruimte-6); padding: var(--ruimte-4) var(--ruimte-5); background: var(--kleur-vlak); border-radius: var(--hoek); border-left: 6px solid var(--kleur-lijn); box-shadow: var(--schaduw); }
.mozaiek__uitslag p { margin: 0; }
.mozaiek__aantal { font-family: var(--font-titel); font-weight: 700; font-size: var(--tekst-groot); }
.mozaiek__getal { font-size: var(--titel-3); }
.mozaiek__tekst strong { display: block; font-family: var(--font-titel); font-size: var(--tekst-groot); line-height: var(--regel-titel); margin-bottom: var(--ruimte-1); }
.mozaiek__uitslag[data-trap="1"] { border-left-color: var(--kleur-accent); }
.mozaiek__uitslag[data-trap="2"] { background: var(--pijler-tint, var(--kleur-vlak-zacht)); border-left-color: var(--pijler-kleur, var(--kleur-accent)); }
.mozaiek__uitslag[data-trap="3"] { background: var(--pijler-tint, var(--kleur-vlak-zacht)); border-left-color: var(--kleur-tekst); }
.meter { display: block; height: 0.875rem; border: var(--lijn-dikte) solid var(--kleur-veldrand); border-radius: var(--hoek-pil); background: var(--kleur-vlak); overflow: hidden; }
.meter__vul { display: block; height: 100%; width: calc(var(--vul, 0) * 1%); background: var(--kleur-accent); border-radius: var(--hoek-pil); transition: width var(--duur-midden) var(--curve); }
.mozaiek__wa-nojs { display: none; }
html:not(.js) .mozaiek__wa-js { display: none; }
html:not(.js) .mozaiek__wa-nojs { display: inline; }
html:not(.js) .mozaiek__uitslag, html:not(.js) .mozaiek__teller { display: none; }
.mozaiek__teller { display: none; }
@media (prefers-reduced-motion: reduce) { .meter__vul { transition: none; } }
@media (forced-colors: active) {
  .app input:checked { border-width: 4px; }
  .app__vink { forced-color-adjust: none; background: Canvas; border-color: CanvasText; color: CanvasText; }
  .app input:checked ~ .app__vink { background: Highlight; border-color: Highlight; color: HighlightText; }
}
/* Op de gsm blijft een kleine teller in beeld boven de vaste contactbalk, zodat u de uitslag niet hoeft te zoeken */
@media screen and (max-width: 43.75rem) {
  html.js .mozaiek__teller { display: flex; align-items: center; gap: var(--ruimte-3); position: sticky; z-index: 5; bottom: calc(var(--belbalk-hoogte) + env(safe-area-inset-bottom) + var(--ruimte-3)); margin-top: var(--ruimte-5); padding: var(--ruimte-2) var(--ruimte-4); background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--kleur-tekst); border-radius: var(--hoek-pil); box-shadow: var(--schaduw); font-family: var(--font-titel); font-weight: 700; }
  html.js .mozaiek__teller[hidden] { display: none; }
  .mozaiek__teller-tekst { white-space: nowrap; }
  .mozaiek__teller .meter { flex: 1; min-width: 2rem; }
  .app { scroll-margin-bottom: calc(var(--belbalk-hoogte) + 5rem); }
}

/* Tegels met logo: logo boven, naam eronder, vinkje rechtsboven */
.mozaiek--logos { grid-template-columns: minmax(0, 1fr); gap: var(--ruimte-7); }
.mozaiek--logos .mozaiek__groep ul { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: var(--ruimte-3); }
.app--logo { flex-direction: column; justify-content: flex-start; gap: var(--ruimte-2); min-height: 9rem; padding: var(--ruimte-3) var(--ruimte-3) var(--ruimte-3); text-align: center; }
.app--logo input { border-radius: var(--hoek); box-shadow: 0 1px 2px rgb(18 48 58 / .06); transition: background-color var(--duur-midden) var(--curve), border-color var(--duur-midden) var(--curve), box-shadow var(--duur-midden) var(--curve); }
.app--logo:hover input { box-shadow: var(--schaduw); }
.app--logo .app__vink { position: absolute; top: var(--ruimte-2); right: var(--ruimte-2); width: 1.6rem; height: 1.6rem; }
.app__beeld { position: relative; pointer-events: none; display: grid; place-items: center; height: 3rem; width: 100%; margin-top: 1.4rem; }
.app__logo { max-height: 2.75rem; max-width: 86%; width: auto; height: auto; object-fit: contain; }
.app__icoon { width: 2.5rem; height: 2.5rem; color: var(--kleur-accent); }
.app--logo .app__naam { font-size: var(--tekst-klein); line-height: 1.25; }
.app__vb { position: relative; pointer-events: none; font-family: var(--font-tekst); font-weight: 400; font-size: 0.9375rem; color: var(--kleur-tekst-zacht); }
.app--logo input:checked { border-width: 3px; }

/* Zoekveld boven de tegels */
.mozaiek__zoek { display: grid; gap: var(--ruimte-2); max-width: 28rem; margin: 0 0 var(--ruimte-6); }
.mozaiek__zoek label { font-family: var(--font-titel); font-weight: 700; }
.mozaiek__zoek input { width: 100%; min-height: var(--klikdoel); padding: var(--ruimte-2) var(--ruimte-4); font: inherit; color: var(--kleur-tekst); background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--kleur-veldrand); border-radius: var(--hoek-pil); }
.mozaiek__zoek input:hover, .mozaiek__zoek input:focus-visible { border-color: var(--kleur-tekst); }
.mozaiek__zoekuitslag { margin: 0; font-size: var(--tekst-klein); color: var(--kleur-tekst-zacht); min-height: 1.5em; }
[data-groep][hidden], .mozaiek__groep li[hidden] { display: none; }

/* Uitslag met het huis dat oplicht per domein */
.mozaiek__uitslag { max-width: 60rem; gap: var(--ruimte-5); align-items: center; scroll-margin-top: var(--ruimte-6); }
.mozaiek__uitslag:focus { outline: none; }
@media (min-width: 48rem) { .mozaiek__uitslag { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); padding: var(--ruimte-5) var(--ruimte-6); } }
.mozaiek__verslag { display: grid; gap: var(--ruimte-3); }
.huis { display: block; width: 100%; max-width: 26rem; height: auto; margin: 0 auto; }
.huis__romp { stroke: var(--kleur-tekst-zacht); stroke-width: 3; }
.huis__deel { stroke: var(--kleur-lijn); stroke-width: 3; transition: stroke var(--duur-midden) var(--curve); }
.huis__deel .vul { fill: var(--kleur-vlak); transition: fill var(--duur-midden) var(--curve); }
.huis__deel.is-aan { stroke: var(--kleur-tekst); }
.huis__deel.is-aan .vul { fill: var(--gs-zon); }
@media (prefers-reduced-motion: no-preference) {
  .huis__deel.is-nieuw { animation: huis-op var(--duur-midden, .3s) var(--curve, ease) 2; }
  @keyframes huis-op { 50% { opacity: .55; } }
}
.mozaiek__domeinen { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ruimte-2); }
.mozaiek__domeinen li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--ruimte-2); align-items: start; }
.mozaiek__domeinen li[hidden] { display: none; }
.mozaiek__domeinen .icoon { width: 1.4rem; height: 1.4rem; margin-top: .2rem; color: var(--kleur-accent); }
.mozaiek__domeinen strong { font-family: var(--font-titel); }
.mozaiek__vb, .mozaiek__p1 { padding: var(--ruimte-3) var(--ruimte-4); border-radius: var(--hoek-klein); background: var(--kleur-vlak); border: var(--lijn-dikte) solid var(--kleur-lijn); }
.mozaiek__vb { font-size: var(--tekst-klein); }
.mozaiek__p1 strong { display: block; font-family: var(--font-titel); }
.mozaiek__teller-link { display: none; }
@media screen and (max-width: 43.75rem) {
  html.js .mozaiek__teller-link { display: inline; white-space: nowrap; font-family: var(--font-tekst); font-weight: 700; }
  .mozaiek--logos .mozaiek__groep ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (forced-colors: active) {
  .huis__deel.is-aan .vul { fill: Highlight; }
  .huis__deel.is-aan { stroke: CanvasText; }
}

/* Snelle pc-check (Slimmer Wonen) */
.pccheck { display: grid; gap: var(--ruimte-5); align-content: start; }
.pccheck .keuzes legend { font-family: var(--font-titel); font-weight: 700; }
.pccheck__uitslag { border-radius: var(--hoek-klein); padding: var(--ruimte-4) var(--ruimte-5); background: var(--kleur-vlak-zacht); border-left: 6px solid var(--kleur-accent); }
.pccheck__uitslag p { margin: 0; }
.pccheck__uitslag strong { display: block; font-family: var(--font-titel); font-size: var(--tekst-groot); margin-bottom: var(--ruimte-1); }
.pccheck__uitslag[data-uitslag="matig"] { background: var(--gs-zon-tint); border-left-color: var(--gs-zon); }
.pccheck__uitslag[data-uitslag="slecht"] { background: var(--gs-koraal-tint); border-left-color: var(--gs-koraal); }
.pccheck__wacht { color: var(--kleur-tekst-zacht); }
.pccheck__foto { display: grid; gap: var(--ruimte-3); border-top: var(--lijn-dikte) solid var(--kleur-lijn); padding-top: var(--ruimte-5); }
.pccheck__foto p { margin: 0; }
.pccheck__klein { font-size: var(--tekst-klein); color: var(--kleur-tekst-zacht); }
html:not(.js) .pccheck__uitslag { display: none; }

/* Titellink in de dienstkaart: voldoende hoog klikdoel op gsm */
.dienstkaart h3 a { display: inline-block; padding-block: 0.7rem; }
