/* ============================================================
   design-system — thuisenergie-kennissite
   Redactionele energie-kennissite. Rustig ritme, één accent (zon-amber),
   marineblauw anker, Fraunces-serif koppen + Inter body. WCAG AA.
   ============================================================ */

/* ---- Fonts (self-hosted, latin) ---- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
  --inkt: #0d2340;
  --inkt-zacht: #3c4b5e;
  --marine-diep: #0a1b33;
  --wit: #ffffff;
  --paper-warm: #f7f4ee;
  --paper-koel: #eef3f8;
  --lijn: #e3e0d8;
  --accent: #f4a91f;
  --accent-donker: #d8920a;
  --steun: #0e9598;
  --steun-donker: #0b7679;
  --positief: #1a8f57;
  --negatief: #d1493f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-klein: 9px;
  --container: 1180px;
  --container-smal: 760px;

  --schaduw-zacht: 0 1px 2px rgba(13, 35, 64, 0.05), 0 4px 16px rgba(13, 35, 64, 0.06);
  --schaduw-kaart: 0 1px 2px rgba(13, 35, 64, 0.06), 0 10px 30px rgba(13, 35, 64, 0.08);

  --sp: 8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* overflow-x:clip op de root klemt de scrollbreedte op de viewport: de off-canvas
   mobiele nav-drawer (position:fixed, translateX(100%)) telt zo niet meer mee in
   documentElement.scrollWidth. Fallback voor oudere browsers = body overflow-x:hidden
   (dat voorkomt de horizontale scroll al; clip haalt óók de geometrische restbreedte weg). */
html { overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--inkt);
  background: var(--wit);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* harde garantie: geen horizontale overflow (fallback vóór clip) */
}
img, picture, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--steun) 45%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--steun); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--inkt); overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--steun); outline-offset: 2px; border-radius: 4px; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container-smal { max-width: var(--container-smal); }
.section { padding-block: clamp(44px, 6vw, 84px); }
.section-tight { padding-block: clamp(32px, 4vw, 56px); }
.bg-warm { background: var(--paper-warm); }
.bg-koel { background: var(--paper-koel); }
.bg-marine { background: var(--marine-diep); color: #dfe8f2; }
.bg-marine h1, .bg-marine h2, .bg-marine h3 { color: #fff; }
.stack > * + * { margin-top: 1.05em; }
.eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--steun-donker);
  display: inline-flex; align-items: center; gap: 8px;
}
.bg-marine .eyebrow { color: var(--accent); }
.section-kop { max-width: 640px; }
.section-kop h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 10px; }
.section-kop p { color: var(--inkt-zacht); margin-top: 12px; font-size: 1.08rem; }

/* ---- Typografie-helpers ---- */
.lead { font-size: 1.2rem; color: var(--inkt-zacht); }
.muted { color: var(--inkt-zacht); }
.h-xxl { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }

/* ---- Knoppen (één schaal) ---- */
.btn {
  --btn-bg: var(--accent); --btn-fg: #21160a;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.btn:hover { transform: translateY(-1px); background: var(--accent-donker); }
.btn:active { transform: translateY(0); }
.btn-lijn { --btn-bg: transparent; --btn-fg: var(--inkt); border-color: var(--lijn); box-shadow: none; }
.btn-lijn:hover { background: var(--wit); border-color: var(--inkt); }
.bg-marine .btn-lijn { --btn-fg: #eaf1f9; border-color: rgba(255,255,255,0.28); }
.bg-marine .btn-lijn:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-steun { --btn-bg: var(--steun); --btn-fg: #04211f; }
.btn-steun:hover { background: var(--steun-donker); }
.btn-sm { padding: 9px 15px; font-size: 0.92rem; }

/* ---- Header ---- */
.topbalk { background: var(--marine-diep); color: #cdd9e7; font-size: 0.83rem; }
.topbalk .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-block: 6px; }
.topbalk .tb-usps { display: flex; gap: 20px; flex-wrap: wrap; }
.topbalk .tb-usps span { display: inline-flex; align-items: center; gap: 7px; }
.topbalk .tb-usps svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.topbalk .tb-right { display: none; }
@media (max-width: 720px) { .topbalk .tb-usps span:nth-child(n+2) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--lijn); }
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.34rem; color: var(--inkt); letter-spacing: -0.02em; flex: none; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--accent-donker); font-weight: 600; }
.hoofdnav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.hoofdnav a { text-decoration: none; color: var(--inkt); font-weight: 500; font-size: 0.92rem; padding: 8px 8px; border-radius: 9px; white-space: nowrap; }
.hoofdnav a:hover { background: var(--paper-koel); }
.hoofdnav a[aria-current="page"] { color: var(--steun-donker); }
.nav-cta { margin-left: 6px; }
.nav-toggle { margin-left: auto; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--lijn); background: var(--wit); border-radius: 11px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Horizontale desktop-nav past pas vanaf ~1220px binnen de 1180-container;
   daaronder de off-canvas hamburger (voorkomt horizontale overflow). */
@media (max-width: 1220px) {
  .hoofdnav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--wit); padding: 84px 18px 24px; box-shadow: -8px 0 40px rgba(10,27,51,0.16); transform: translateX(100%); transition: transform .22s ease; overflow-y: auto; }
  .hoofdnav.open { transform: translateX(0); }
  .hoofdnav a { padding: 13px 14px; font-size: 1.05rem; border-radius: 10px; }
  .nav-cta { margin: 10px 0 0; }
  .nav-toggle { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(10,27,51,0.4); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background:
   radial-gradient(1200px 500px at 85% -10%, rgba(244,169,31,0.16), transparent 60%),
   linear-gradient(180deg, #fbfaf6 0%, #ffffff 70%); border-bottom: 1px solid var(--lijn); }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 60px); align-items: center; padding-block: clamp(40px, 6vw, 76px); }
.hero-copy h1 { font-size: clamp(2.15rem, 5vw, 3.5rem); }
.hero-copy .accent-word { color: var(--accent-donker); }
.hero-copy .lead { margin-top: 18px; max-width: 34ch; }
.hero-acties { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 26px; font-size: 0.9rem; color: var(--inkt-zacht); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--positief); flex: none; }
.hero-visual { position: relative; }
.hero-visual .kaart-2027 { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: var(--schaduw-kaart); padding: 22px; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; max-width: 460px; }
}

/* Aftel-widget naar 2027 */
.aftel { text-align: center; }
.aftel .aftel-label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--inkt-zacht); font-weight: 700; }
.aftel .aftel-cijfers { display: flex; justify-content: center; gap: 10px; margin: 14px 0 4px; }
.aftel .blok { background: var(--marine-diep); color: #fff; border-radius: 10px; padding: 12px 6px; min-width: 66px; }
.aftel .blok b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; display: block; line-height: 1; }
.aftel .blok small { font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.75; }
.aftel .aftel-sub { font-size: 0.9rem; color: var(--inkt-zacht); margin-top: 12px; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.kaart { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 22px; box-shadow: var(--schaduw-zacht); transition: transform .14s ease, box-shadow .14s ease; height: 100%; display: flex; flex-direction: column; }
a.kaart, .kaart-link { text-decoration: none; }
a.kaart:hover, .kaart-link:hover { transform: translateY(-3px); box-shadow: var(--schaduw-kaart); }
.kaart .kaart-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, #fff); color: var(--accent-donker); margin-bottom: 14px; flex: none; }
.kaart .kaart-ico.teal { background: color-mix(in srgb, var(--steun) 16%, #fff); color: var(--steun-donker); }
.kaart .kaart-ico svg { width: 24px; height: 24px; }
.kaart h3 { font-size: 1.24rem; }
.kaart p { color: var(--inkt-zacht); margin-top: 8px; font-size: 0.98rem; }
.kaart .kaart-meer { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--steun-donker); display: inline-flex; align-items: center; gap: 7px; font-size: 0.95rem; }
.kaart .kaart-meer svg { width: 16px; height: 16px; transition: transform .14s; }
a.kaart:hover .kaart-meer svg { transform: translateX(3px); }

/* Artikel-kaart (nieuws/kennis) */
.art-kaart { display: flex; flex-direction: column; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw-zacht); text-decoration: none; transition: transform .14s ease, box-shadow .14s ease; height: 100%; }
.art-kaart:hover { transform: translateY(-3px); box-shadow: var(--schaduw-kaart); }
.art-kaart .art-beeld { aspect-ratio: 16/9; background: var(--paper-koel); position: relative; overflow: hidden; }
.art-kaart .art-beeld svg { width: 100%; height: 100%; }
.art-kaart .art-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.art-kaart:hover .art-beeld img { transform: scale(1.04); }
.art-kaart .art-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.art-kaart .art-cat { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--steun-donker); }
.art-kaart h3 { font-size: 1.18rem; margin-top: 8px; }
.art-kaart p { color: var(--inkt-zacht); font-size: 0.95rem; margin-top: 8px; }
.art-kaart .art-meta { margin-top: auto; padding-top: 14px; font-size: 0.83rem; color: var(--inkt-zacht); }

/* ---- Badges & callouts ---- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, #fff); color: var(--accent-donker); letter-spacing: 0.02em; }
.badge.teal { background: color-mix(in srgb, var(--steun) 16%, #fff); color: var(--steun-donker); }
.callout { border: 1px solid var(--lijn); border-left: 4px solid var(--steun); background: var(--paper-koel); border-radius: var(--radius-klein); padding: 16px 18px; }
.callout.let-op { border-left-color: var(--accent-donker); background: color-mix(in srgb, var(--accent) 9%, #fff); }
.callout .callout-kop { font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.callout svg { width: 18px; height: 18px; flex: none; }

/* ---- Prose (artikelen) ---- */
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; padding-top: 0.2em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.5em; }
.prose p, .prose li { color: #223247; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--steun-donker); font-weight: 500; }
.prose strong { color: var(--inkt); }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--paper-warm); padding: 12px 18px; border-radius: 0 8px 8px 0; font-style: italic; color: #2b3a4d; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.prose table th, .prose table td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--lijn); }
.prose table th { background: var(--paper-koel); font-weight: 700; }
.prose .tabel-wrap { overflow-x: auto; border: 1px solid var(--lijn); border-radius: var(--radius-klein); }
.prose .tabel-wrap table th, .prose .tabel-wrap table td { border-bottom: 1px solid var(--lijn); }
.prose figure figcaption { font-size: 0.85rem; color: var(--inkt-zacht); margin-top: 8px; text-align: center; }

/* Artikel-layout met zijkolom */
.artikel-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 44px; align-items: start; }
.artikel-zij { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .artikel-grid { grid-template-columns: minmax(0, 1fr); } .artikel-zij { position: static; } }

.inhoud-box { border: 1px solid var(--lijn); border-radius: var(--radius); padding: 18px 20px; background: var(--wit); }
.inhoud-box .ib-kop { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--inkt-zacht); margin-bottom: 10px; }
.inhoud-box ol { list-style: none; padding: 0; margin: 0; counter-reset: ib; }
.inhoud-box li { margin: 0; }
.inhoud-box a { display: block; padding: 6px 0; font-size: 0.95rem; text-decoration: none; color: var(--inkt-zacht); border-bottom: 1px solid transparent; }
.inhoud-box a:hover { color: var(--steun-donker); }

/* ---- Breadcrumb ---- */
.kruimel { font-size: 0.85rem; color: var(--inkt-zacht); padding-block: 14px; }
.kruimel a { text-decoration: none; color: var(--inkt-zacht); }
.kruimel a:hover { color: var(--steun-donker); }
.kruimel span { color: var(--inkt); }

/* ---- FAQ / accordion ---- */
.faq { border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; background: var(--wit); }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--steun-donker); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 20px 18px; color: #223247; }

/* ---- Tools ---- */
.tool-kaart { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: var(--schaduw-kaart); overflow: hidden; }
.tool-kop { background: linear-gradient(135deg, var(--marine-diep), #14385f); color: #fff; padding: 20px 24px; display: flex; align-items: center; gap: 14px; }
.tool-kop .tool-ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(244,169,31,0.2); color: var(--accent); display: grid; place-items: center; flex: none; }
.tool-kop .tool-ico svg { width: 24px; height: 24px; }
.tool-kop h1, .tool-kop h2 { color: #fff; font-size: 1.4rem; }
.tool-body { padding: 24px; }
.tool-velden { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 560px) { .tool-velden { grid-template-columns: 1fr; } }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld label { font-weight: 600; font-size: 0.92rem; }
.veld .veld-hint { font-size: 0.8rem; color: var(--inkt-zacht); font-weight: 400; }
.veld .veld-in { position: relative; display: flex; align-items: center; }
.veld input[type="number"], .veld input[type="text"], .veld select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--lijn); border-radius: var(--radius-klein);
  background: var(--wit); font-size: 1rem; transition: border-color .12s, box-shadow .12s; }
.veld input:focus, .veld select:focus { outline: none; border-color: var(--steun); box-shadow: 0 0 0 3px color-mix(in srgb, var(--steun) 20%, transparent); }
.veld .suffix { position: absolute; right: 13px; color: var(--inkt-zacht); font-size: 0.9rem; pointer-events: none; }
.veld input.met-suffix { padding-right: 46px; }
.veld-range { display: flex; align-items: center; gap: 12px; }
.veld-range input[type="range"] { flex: 1; accent-color: var(--steun); }
.veld-range output { font-weight: 700; min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }

.tool-resultaat { margin-top: 22px; border-top: 1px dashed var(--lijn); padding-top: 22px; }
.resultaat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 620px) { .resultaat-grid { grid-template-columns: 1fr; } }
.res-tegel { background: var(--paper-koel); border: 1px solid var(--lijn); border-radius: var(--radius-klein); padding: 16px 18px; }
.res-tegel .res-label { font-size: 0.82rem; color: var(--inkt-zacht); font-weight: 600; }
.res-tegel .res-waarde { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.res-tegel.uitgelicht { background: var(--marine-diep); border-color: var(--marine-diep); }
.res-tegel.uitgelicht .res-label { color: #b9c8da; }
.res-tegel.uitgelicht .res-waarde { color: var(--accent); }
.res-tegel .res-sub { font-size: 0.82rem; color: var(--inkt-zacht); margin-top: 4px; }
.res-uitleg { margin-top: 16px; font-size: 0.95rem; color: var(--inkt-zacht); }
.tool-disclaimer { margin-top: 16px; font-size: 0.83rem; color: var(--inkt-zacht); background: var(--paper-warm); border-radius: var(--radius-klein); padding: 12px 14px; }

/* Staafjes-visualisatie in tools */
.balk-vis { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.balk-rij { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 12px; font-size: 0.9rem; }
.balk-track { background: var(--paper-koel); border-radius: 999px; height: 16px; overflow: hidden; }
.balk-fill { height: 100%; border-radius: 999px; background: var(--steun); transition: width .5s ease; }
.balk-fill.accent { background: var(--accent); }
.balk-waarde { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .balk-rij { grid-template-columns: 96px 1fr auto; gap: 8px; font-size: 0.82rem; } }

/* ---- Advertentie-slots (CLS-veilig: vaste hoogte, subtiel-professioneel) ---- */
.adslot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #fbfaf6, #f4f1ea); border: 1px solid var(--lijn); border-radius: var(--radius-klein);
  color: #b3ab9c; text-align: center; }
.adslot .adslot-merk { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: #c3bcae; }
.adslot .adslot-merk svg { width: 15px; height: 15px; color: #cdb489; }
.adslot .adslot-tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #bcb4a5; }
.adslot-leaderboard { min-height: 100px; }
.adslot-rechthoek { min-height: 250px; }
.adslot-in-artikel { min-height: 250px; margin-block: 28px; }
/* Lege (nog niet geactiveerde) advertentie-slot: uit het zicht, wél in de DOM (eis 13). */
.adslot-leeg { display: none !important; }

/* ---- Affiliate-slot (nette partner-CTA) ---- */
.aff-blok { border: 1px solid var(--lijn); border-radius: var(--radius); padding: 20px; background: linear-gradient(180deg, #fff, var(--paper-warm)); box-shadow: var(--schaduw-kaart); }
.aff-blok .aff-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steun-donker); font-weight: 700; }
.aff-blok .aff-label svg { width: 13px; height: 13px; }
.aff-blok h4 { font-family: var(--font-display); font-size: 1.15rem; margin: 8px 0 4px; }
.aff-disclosure { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--inkt-zacht); background: var(--paper-koel); border-radius: var(--radius-klein); padding: 10px 14px; border: 1px solid var(--lijn); }
.aff-disclosure svg { flex: none; margin-top: 2px; color: var(--steun-donker); }
.aff-inline { color: var(--steun-donker); font-weight: 600; text-decoration: underline; }
.aff-inline .aff-inline-tag { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--inkt-zacht); vertical-align: super; margin-left: 2px; font-weight: 700; }

/* ---- E-E-A-T byline ---- */
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 12px 16px; background: var(--paper-warm); border: 1px solid var(--lijn); border-radius: var(--radius-klein); font-size: 0.9rem; }
.byline .byline-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marine-diep); color: var(--accent); flex: none; }
.byline .byline-mark svg { width: 17px; height: 17px; }
.byline .byline-tekst { color: var(--inkt-zacht); }
.byline .byline-tekst b { color: var(--inkt); }
.byline .byline-link { margin-left: auto; color: var(--steun-donker); text-decoration: none; font-weight: 600; }
.byline .byline-link:hover { text-decoration: underline; }
.ai-disclosure { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font-size: 0.82rem; color: var(--inkt-zacht); }
.ai-disclosure svg { margin-top: 2px; }
.ai-disclosure svg { flex: none; color: var(--steun-donker); }
.ai-disclosure a { color: var(--steun-donker); font-weight: 600; text-decoration: none; }
.ai-disclosure a:hover { text-decoration: underline; }

/* ---- CTA-band ---- */
.cta-band { background: linear-gradient(135deg, var(--marine-diep), #16406b); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); color: #eaf1f9; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; background: radial-gradient(circle, rgba(244,169,31,0.22), transparent 70%); top: -120px; right: -60px; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); position: relative; }
.cta-band p { color: #c4d2e2; max-width: 52ch; margin: 12px auto 0; position: relative; }
.cta-band .hero-acties { justify-content: center; position: relative; }

/* ---- Nieuwsbrief / e-mailcapture ---- */
.nieuwsbrief .nb-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.nieuwsbrief .nb-tekst h2 { margin-top: 8px; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.nieuwsbrief .nb-tekst p { margin-top: 12px; }
.nieuwsbrief .nb-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.nieuwsbrief input[type="email"] { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.32); background: rgba(255,255,255,0.12); color: #fff; font-size: 1rem; }
.nieuwsbrief input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 2px; background: rgba(255,255,255,0.18); }
.nieuwsbrief input::placeholder { color: #b9c8da; }
.nieuwsbrief .nb-form .btn { flex: none; }
.nieuwsbrief .nb-klein { flex-basis: 100%; font-size: 0.82rem; color: #b9c8da; margin-top: 4px; }
.nieuwsbrief .nb-bedankt { background: rgba(244,169,31,0.14); border: 1px solid rgba(244,169,31,0.4); border-radius: var(--radius-klein); padding: 16px 18px; color: #f4f8fc; font-size: 0.98rem; line-height: 1.5; }
.nieuwsbrief .nb-bedankt strong { color: #ffd98a; }
@media (max-width: 760px) { .nieuwsbrief .nb-wrap { grid-template-columns: 1fr; gap: 22px; } }

/* ---- Artikel-hero-illustratie ---- */
.art-hero { margin: 20px 0 0; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, #f4f8fc, #fdfcf8); box-shadow: var(--schaduw-kaart); }
.art-hero svg { display: block; width: 100%; height: auto; aspect-ratio: 400 / 225; }
.art-hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art-hero figcaption { font-size: 0.8rem; color: var(--inkt-zacht); padding: 8px 14px; background: var(--paper-warm); border-top: 1px solid var(--lijn); }

/* ---- Cijfer-band (eigen data-viz op de home) ---- */
.cijfer-band { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.cijfer-viz { margin: 0; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); padding: 20px; box-shadow: var(--schaduw-kaart); }
.cijfer-viz svg { display: block; width: 100%; height: auto; }
.cijfer-viz figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--inkt-zacht); text-align: center; }
.cijfer-uitleg h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 8px; }
.cijfer-uitleg p { margin-top: 12px; color: var(--inkt-zacht); max-width: 48ch; }
.cijfer-uitleg .btn { margin-top: 18px; }
@media (max-width: 760px) { .cijfer-band { grid-template-columns: 1fr; gap: 22px; } }

/* ---- Hero-scène (eigen SVG-illustratie achter de afteller) ---- */
.hero-visual { display: grid; gap: 18px; }
.hero-scene { width: 100%; aspect-ratio: 520 / 420; background: linear-gradient(180deg, #f4f8fc, #fdfcf8); border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw-kaart); }
.hero-scene .hero-scene-svg { display: block; width: 100%; height: 100%; }
.link-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--lijn); }
.link-band .link-band-kop { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--inkt); font-size: 0.92rem; }
.link-band .link-band-kop svg { color: var(--steun-donker); }

.hero-foto { margin: 0; width: 100%; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--lijn); box-shadow: var(--schaduw-kaart); background: var(--paper-koel); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scene .hs-zon { transform-origin: 420px 88px; animation: hs-zon-puls 6s ease-in-out infinite; }
@keyframes hs-zon-puls { 0%,100% { opacity: 0.9; } 50% { opacity: 1; transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hero-scene .hs-zon { animation: none; } }
.hero-visual .kaart-2027 { margin-top: 0; }
@media (max-width: 860px) { .hero-scene { max-height: 300px; aspect-ratio: 16 / 10; } }

/* ---- Bronnen ---- */
.bronnen { border-top: 1px solid var(--lijn); margin-top: 40px; padding-top: 24px; font-size: 0.92rem; }
.bronnen h2 { font-size: 1.2rem; }
.bronnen ol { color: var(--inkt-zacht); padding-left: 1.3em; margin-top: 10px; }
.bronnen li { margin-top: 6px; }
.bronnen a { color: var(--steun-donker); word-break: break-word; }

/* ---- Footer ---- */
.site-footer { background: var(--marine-diep); color: #b9c8da; padding-block: 54px 30px; }
.site-footer a { color: #cdd9e7; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-merk .brand { color: #fff; }
.footer-merk p { margin-top: 14px; font-size: 0.92rem; max-width: 34ch; }
.footer-kolom h4 { color: #fff; font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.footer-kolom ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.93rem; }
.footer-onder { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.83rem; color: #8ea3bd; }
.footer-onder .fo-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.fo-cookie { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #cdd9e7; cursor: pointer; text-decoration: none; }
.fo-cookie:hover { color: #fff; }
/* Bescheiden netwerk-verwijzing (SEO), rustig in de footer. */
.footer-netwerk { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 0.84rem; color: #8ea3bd; }
.footer-netwerk .fn-kop { color: #a9bccf; font-weight: 600; margin-right: 4px; }
.footer-netwerk a { color: #b9c8da; }
.footer-netwerk a:hover { color: #fff; }
.footer-netwerk .fn-sep { color: #5f7088; opacity: 0.7; }

/* ---- Cookiebanner ---- */
.cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-inline: auto; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius); box-shadow: 0 12px 44px rgba(10,27,51,0.22); padding: 20px 22px; display: none; }
.cookiebar.show { display: block; }
.cookiebar h4 { font-size: 1.1rem; margin-bottom: 6px; }
.cookiebar p { font-size: 0.9rem; color: var(--inkt-zacht); }
.cookiebar .cb-acties { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookiebar a { color: var(--steun-donker); }

/* ---- Utilities ---- */
.tekst-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: 32px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider { height: 1px; background: var(--lijn); border: 0; margin-block: 8px; }
.pill-rij { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lijn); background: var(--wit); font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--inkt); }
.pill:hover { border-color: var(--steun); color: var(--steun-donker); }
.pill svg { width: 15px; height: 15px; color: var(--steun-donker); }

/* ---- Live-stroomprijs: samenvattingstegels + uurgrafiek ---- */
.prijs-tegels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 6px 0 8px; }
.prijs-tegels .res-tegel { border: 1px solid var(--lijn); border-radius: var(--radius); background: var(--wit); padding: 16px 18px; }
.prijs-tegels .res-label { font-size: 0.82rem; color: var(--inkt-zacht); font-weight: 600; }
.prijs-tegels .res-waarde { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.15; margin-top: 4px; color: var(--inkt); }
.prijs-tegels .res-sub { font-size: 0.82rem; color: var(--inkt-zacht); margin-top: 2px; }
.prijsgrafiek { margin: 24px 0 0; border: 1px solid var(--lijn); border-radius: var(--radius); background: var(--wit); padding: 20px 18px 14px; }
.pg-cap { font-size: 0.86rem; color: var(--inkt-zacht); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.pg-legenda { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.pg-key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pg-key.pg-laag, .pg-bar.pg-laag .pg-col { background: var(--positief); }
.pg-key.pg-hoog, .pg-bar.pg-hoog .pg-col { background: var(--negatief); }
.pg-bars { display: flex; align-items: flex-end; gap: 3px; height: 220px; }
.pg-bar { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.pg-col { width: 100%; max-width: 26px; height: calc(var(--h) * 1%); min-height: 4px; border-radius: 4px 4px 0 0; background: var(--steun); transition: background 0.15s; }
.pg-bar.pg-nu .pg-col { outline: 2px solid var(--accent); outline-offset: 1px; }
.pg-uur { font-size: 0.62rem; color: var(--inkt-zacht); margin-top: 5px; font-variant-numeric: tabular-nums; }
.pg-tag { position: absolute; bottom: calc(var(--h) * 1% + 6px); font-size: 0.66rem; font-weight: 700; white-space: nowrap; background: var(--inkt); color: #fff; padding: 2px 6px; border-radius: 6px; }
.pg-bar.pg-laag .pg-tag { background: var(--positief); }
.pg-bar.pg-hoog .pg-tag { background: var(--negatief); }
.prijsblok { margin-top: 4px; }
@media (max-width: 620px) {
  .prijs-tegels { grid-template-columns: 1fr; }
  .pg-bars { gap: 2px; height: 180px; }
  .pg-uur { font-size: 0.55rem; }
  .pg-bar:nth-child(even) .pg-uur { display: none; }
  .pg-tag { font-size: 0.6rem; padding: 1px 4px; }
}
