:root {
  --bar: #0c9a88;
  --bar-warm: #eb6834;
  --bg: #f5f8f7;
  --surface: #ffffff;
  --ink: #0e1d1b;
  --muted: #5b6c68;
  --line: #e2eae7;
  --accent: #0c9a88;
  --accent-ink: #067064;
  --accent-soft: #e0f4f0;
  --warm: #f26b3a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14, 40, 36, .05), 0 10px 30px rgba(14, 40, 36, .06);
  --maxw: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1413; --surface: #131e1c; --ink: #e7f0ee; --muted: #9db0ab; --line: #22322f;
    --accent: #2cc4ae; --accent-ink: #6fdcca; --bar: #1fa893; --bar-warm: #d95926; --accent-soft: #15302b; --warm: #ff8a5c;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink);
       font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
em, i { font-style: italic; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }

/* ---------- navigatie ---------- */
.topnav { position: sticky; top: 0; z-index: 20;
          background: color-mix(in srgb, var(--surface) 82%, transparent);
          backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
          border-bottom: 1px solid var(--line); }
.topnav .inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 16px;
                 display: flex; align-items: center; gap: 12px; }
.merk { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.merk img { width: 30px; height: 30px; border-radius: 8px; }
.topnav ul { list-style: none; display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.topnav ul a { display: block; padding: 6px 12px; border-radius: 999px; color: var(--muted);
               text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav ul a:hover { color: var(--ink); background: var(--accent-soft); }
.topnav ul a[aria-current], .topnav ul a.actief { color: #fff; background: var(--accent); font-weight: 600; }
.topnav ul a[aria-current]:hover, .topnav ul a.actief:hover { color: #fff; background: var(--accent-ink); }
@media (max-width: 640px) {
  .merk span { display: none; }
  .merk { display: none; }
  .topnav .inner { gap: 6px; align-items: center; padding: 8px 12px; }
  .topnav ul { gap: 4px 2px; justify-content: flex-start; margin: 0; flex: 1; }
  .topnav ul a { padding: 4px 7px; font-size: 13.5px; white-space: nowrap; }
  .zoekknop { width: 34px; height: 34px; margin-left: 2px; }
}


/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: #0b2420; overflow: hidden; }
.hero video { display: block; width: 100%; height: min(78vh, 56.25vw); min-height: 340px; object-fit: cover;
              background: #0b2420 url(video/aquarium-poster.jpg) center / cover; }
.hero .laag { position: absolute; inset: 0; display: flex; align-items: flex-end;
              background: linear-gradient(180deg, rgba(5,20,18,0) 35%, rgba(5,20,18,.82) 100%); }
.hero .tekst { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px clamp(24px, 5vw, 56px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow { color: #7ee8d6; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); font-weight: 800; margin: 6px 0 10px; }
.hero p { max-width: 640px; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.88); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none;
         font-size: 15px; font-weight: 600; color: rgba(255,255,255,.92); }
.chips li + li::before { content: "·"; margin: 0 10px; color: rgba(255,255,255,.55); }

/* ---------- secties ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 16px 64px; }
.sectie { padding-top: clamp(40px, 7vw, 72px); }
.kop { margin-bottom: 20px; }
.kop h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 750; margin-top: 4px; }
.kop p { color: var(--muted); margin: 8px 0 0; max-width: 680px; }
.kaart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.voetnoot { font-size: 14px; color: var(--muted); margin: 12px 2px 0; }

/* overzicht */
.foto img { width: 100%; height: auto; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 14px; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.spec dt { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.spec dd { margin: 4px 0 0; font-weight: 600; }

/* waterwaarden */
.waarden { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.waarde { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.waarde dt { font-size: 14px; font-weight: 700; color: var(--accent-ink); }
.waarde dd { margin: 6px 0 0; font-size: 30px; font-weight: 750; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.waarde dd small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 4px; letter-spacing: 0; }

/* energie */
.tabel-scroll { overflow-x: auto; }
.energie { width: 100%; border-collapse: collapse; font-size: 16px; }
.energie th, .energie td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.energie th { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.energie td.n, .energie th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.energie tfoot td { font-weight: 750; border-bottom: 0; color: var(--accent-ink); }
@media (max-width: 560px) { .energie th, .energie td { padding: 10px 10px; font-size: 14px; } }

/* grafiek */
.grafiek-kaart { margin-top: 16px; padding: 18px 18px 6px; }
.grafiek-titel { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.grafiek-titel span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.grafiek { display: grid; grid-template-columns: 30px 1fr; gap: 8px; height: 240px; margin: 18px 0 30px; }
.as { display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: var(--muted);
      text-align: right; font-variant-numeric: tabular-nums; transform: translateY(-7px); height: calc(100% + 14px); }
.vlak { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 2px;
        border-bottom: 1px solid var(--line);
        background: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px 25%); }
.kolom { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.stapel { position: relative; width: min(24px, 70%); display: flex; flex-direction: column; gap: 2px; }
.seg { min-height: 2px; outline: none; cursor: default; position: relative; }
.seg.vast { background: var(--bar); }
.seg.verw { background: var(--bar-warm); border-radius: 4px 4px 0 0; }
.seg:hover, .seg:focus-visible { filter: brightness(1.12); }
.seg::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
              background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; white-space: nowrap;
              padding: 5px 9px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 3; }
.seg:hover::after, .seg:focus-visible::after { opacity: 1; }
.kolom:first-child .seg::after, .kolom:nth-child(2) .seg::after { left: 0; transform: none; }
.kolom:last-child .seg::after, .kolom:nth-last-child(2) .seg::after { left: auto; right: 0; transform: none; }
.legenda-grafiek { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.legenda-grafiek li { display: flex; align-items: center; gap: 7px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.swatch.vast { background: var(--bar); } .swatch.verw { background: var(--bar-warm); }
.kolom:hover .waarde-label, .kolom:focus-within .waarde-label { opacity: 0; }
.deelnemer dl { grid-template-columns: 150px 1fr; }
.waarde-label { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.maand { position: absolute; bottom: -22px; font-size: 12px; color: var(--muted); }
.tabelweergave { margin: 0 0 12px; }
.tabelweergave summary { cursor: pointer; font-size: 14px; color: var(--accent-ink); font-weight: 600; padding: 4px 0; }
.tabelweergave table { margin-top: 8px; }
@media (max-width: 560px) { .maand { font-size: 10px; } .grafiek { height: 200px; } }

/* bewoners */
.bewoners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.vis { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px;
       background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px; }
.vis img, .vis .leeg { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.vis .leeg { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 20px; }
.vis h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.vis .wet { font-size: 14px; color: var(--muted); font-style: italic; }
.vis .notitie { font-size: 13px; color: var(--muted); }
.vis .aantal { font-size: 24px; font-weight: 750; color: var(--accent-ink); font-variant-numeric: tabular-nums; text-align: right; line-height: 1; white-space: nowrap; }
.vis .aantal .ca { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 3px; }
.vis .aantal small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }

/* planten als kaartjes */
.bewoners.planten { margin-top: 14px; }
.vis.plant { grid-template-columns: 48px minmax(0, 1fr); padding: 12px 16px 12px 14px; }
.nummer { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 16px;
          box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }

/* plattegrond (NBAT-stijl) */
.plattegrond-kaart { background: #f7f1dc; color: #3b3a2c; }
.plattegrond-kaart svg { display: block; }
.plattegrond-titel { text-align: center; color: #38761d; font-weight: 650; font-size: 17px; padding: 16px 16px 4px; }
.plantenlijst { columns: 3 210px; column-gap: 28px; margin: 0; padding: 6px 20px 18px 44px; font-size: 15px; }
.plantenlijst li { padding: 2px 0; break-inside: avoid; }

/* plannen */
.plannen-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .plannen-grid { grid-template-columns: 1fr; } }
.legenda { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
           gap: 6px 14px; margin: 0; padding: 14px 16px 16px; font-size: 14px; border-top: 1px solid var(--line); }
.legenda b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
             background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; margin-right: 8px; }
.toelichting { font-size: 14px; color: var(--muted); padding: 0 16px 16px; margin: 0; }
.checklist { list-style: none; margin: 0; padding: 6px 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
                        background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* footer */
.site-footer { background: #0b1f1c; color: rgba(255,255,255,.78); margin-top: 24px; }
.site-footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 32px 16px; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; font-size: 15px; }
.site-footer a { color: #7ee8d6; }
.site-footer strong { color: #fff; }

/* ---------- keuringspagina ---------- */
.pill { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em;
        text-transform: uppercase; padding: 8px 18px; border-radius: 999px; }
.keuring-kop { padding: clamp(32px, 6vw, 56px) 0 20px; }
.keuring-kop h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; margin: 14px 0 8px; }
.keuring-kop h1 span { color: var(--accent-ink); font-weight: 700; }
.keuring-kop p { color: var(--muted); max-width: 720px; margin: 0; }
.nr { position: absolute; left: 10px; bottom: 10px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px;
      background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.hoofdfoto { position: relative; }
.gegevens { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 800px) { .gegevens { grid-template-columns: 1fr; } }
.blok { padding: 18px 20px; }
.blok + .blok { border-top: 1px solid var(--line); }
.blok h2 { font-size: 15px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.blok p { margin: 0; }
.deelnemer { position: relative; background: var(--accent-soft); }
.deelnemer dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 18px; margin: 0; }
.deelnemer dl + dl { margin-top: 12px; }
.deelnemer dt { font-weight: 600; color: var(--muted); }
.deelnemer dd { margin: 0; font-weight: 600; }
.rang { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent);
        color: #fff; font-size: 24px; font-weight: 700; display: grid; place-items: center; }
.soorten { list-style: none; margin: 0; padding: 0; }
.soorten li { padding: 2px 0; }
.open { color: var(--warm); font-style: italic; font-size: 15px; }
.noot { font-size: 14px; color: var(--muted); margin-top: 8px !important; }
.fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 760px) { .fotos { grid-template-columns: 1fr; } }
.fotos figure { position: relative; margin: 0; }
.fotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.onderschriften { list-style: none; padding: 10px 2px 0; margin: 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.onderschriften b { color: var(--accent-ink); }
.links { list-style: none; margin: 0; padding: 0; }
.links li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.links li:last-child { border-bottom: 0; }
.links a { font-weight: 650; }
.links span { color: var(--muted); }

.grafiek-kaart .toelichting { padding: 0 0 14px; }

/* ---------- zoeken ---------- */
.zoekknop { margin-left: 6px; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line);
            background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.zoekknop:hover, .zoekknop[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.zoekpaneel { border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - 70px); overflow-y: auto; }
.zoek-inner { max-width: 760px; margin: 0 auto; padding: 16px; }
.zoekveld { display: flex; gap: 8px; }
.zoekveld input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 11px 16px; border-radius: 999px;
                  border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.zoekveld input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.zoekveld button { font: inherit; font-weight: 600; padding: 0 20px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
.zoekveld button:hover { background: var(--accent-ink); }
.suggesties { margin: 10px 2px 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.suggesties button { font: inherit; font-size: 14px; color: var(--accent-ink); background: var(--accent-soft); border: 0; border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.zoekresultaten { margin-top: 12px; display: grid; gap: 10px; }
.antwoord { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--bg); }
.antwoord h3 { font-size: 16px; color: var(--accent-ink); margin-bottom: 4px; }
.antwoord p { margin: 0; }
.antwoord-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 15px; font-weight: 600; }
.geen { color: var(--muted); margin: 4px 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .zoekveld input { font-size: 16px; } .zoekveld button { padding: 0 14px; } }


/* ---------- speelse elementen: waterlijn en stickers ---------- */
.golf { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 4vw, 56px); display: block; pointer-events: none; }
.golf-achter { fill: var(--accent); opacity: .35; }
.golf-voor { fill: var(--surface); }
.kop.met-sticker { position: relative; }
.sticker { position: absolute; right: 2%; top: -14px; width: 88px; height: 88px; transform: rotate(var(--r, 0deg));
           filter: drop-shadow(0 3px 4px rgba(14, 40, 36, .22)); animation: dobber 5s ease-in-out infinite; pointer-events: none; }
#water .sticker { animation-delay: -1s; } #energie .sticker { animation-delay: -2s; } #bewoners .sticker { animation-delay: -3s; }
#planten .sticker { animation-delay: -1.5s; } #plannen .sticker { animation-delay: -2.5s; }
@keyframes dobber { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-5px) rotate(calc(var(--r, 0deg) + 2deg)); } }
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }
@media (max-width: 640px) {
  .sticker { width: 56px; height: 56px; top: -6px; right: 0; }
  .kop.met-sticker h2, .kop.met-sticker .eyebrow { padding-right: 60px; }
}
@media print { .sticker, .golf { display: none; } }

.ritme { display: grid; grid-template-columns: auto auto auto auto auto 1fr; gap: 2px 5px; font-weight: 600; }
.ritme .r-l { padding-right: 7px; }
.ritme .r-t { text-align: right; font-variant-numeric: tabular-nums; }
.ritme .r-l { color: var(--muted); font-weight: 600; }
.sticker-breed { width: 110px; height: 64px; top: 0; }
@media (max-width: 640px) { .sticker-breed { width: 72px; height: 42px; top: 2px; } }

/* filter */
.filter-grid { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .filter-grid { grid-template-columns: 1fr; } }
.filter-schema-kaart { padding: 16px 16px 0; }
.filterschema { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto 8px; }
.filter-schema-kaart .toelichting { padding: 0 0 14px; }
.filter-tekst { padding: 6px 20px 16px; }
.filter-tekst h3 { font-size: 16px; color: var(--accent-ink); margin: 14px 0 4px; }
.filter-tekst p { margin: 0; }
.lagen { margin: 0; padding-left: 20px; }
.lagen li { padding: 2px 0; }

.spec-breed { grid-column: span 2; }
@media (max-width: 440px) { .spec-breed { grid-column: auto; }
  .ritme { grid-template-columns: auto auto auto auto 1fr; }
  .ritme .r-l { grid-column: 1 / -1; padding-right: 0; margin-top: 4px; font-size: 14px; } }

/* verlichting */
.licht-schema-kaart { padding: 14px; }
.lichtschema { display: block; width: 100%; height: auto; color: var(--muted); }
.ls-lijn { stroke: var(--muted); }
.ls-blok rect { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
.ls-blok rect.ls-dag { fill: #fff3e0; stroke: #ffb74d; }
.ls-blok rect.ls-nacht { fill: #e8eaf6; stroke: #9fa8da; }
.ls-t { font-size: 13px; font-weight: 700; fill: var(--ink); }
.ls-s { font-size: 11px; fill: var(--muted); }
.ls-blok rect.ls-dag ~ text, .ls-blok rect.ls-nacht ~ text { }
.ls-buis { font-size: 11px; font-weight: 700; fill: #263238; }
.ls-s2 { font-size: 11px; fill: var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ls-blok rect.ls-dag { fill: #3e2d14; stroke: #a0672a; } :root:not([data-theme="light"]) .ls-blok rect.ls-nacht { fill: #23284a; stroke: #5c6bc0; } }
.licht-tekst { margin-top: 16px; }
.dagbalk-as span:nth-child(3) { transform: translateX(-30%); }
.dagbalk { position: relative; height: 34px; border-radius: 8px; overflow: hidden; background: var(--bg); margin-top: 10px; }
.dagbalk span { position: absolute; top: 0; bottom: 0; }
.db-dag, .db-dag-s { background: #ffb74d; }
.db-nacht, .db-nacht-s { background: #5c6bc0; }
.dagbalk .db-dag { border-left: 2px solid var(--surface); border-right: 2px solid var(--surface); }
.dagbalk-as { position: relative; height: 20px; font-size: 12px; color: var(--muted); margin: 4px 6px 10px; }
.dagbalk-as span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.dagbalk-as span:first-child { transform: none; } .dagbalk-as span:last-child { transform: translateX(-100%); }
@media (max-width: 640px) {
  .licht-schema-kaart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lichtschema { min-width: 620px; }
  .licht-schema-kaart::after { content: "← veeg om het hele schema te zien →"; display: block; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; min-width: 300px; }
}

/* schema: zelfde kleuren als de 24-uursbalk */
.lichtschema .ls-blok rect.ls-dag { fill: #ffb74d !important; stroke: #ef6c00 !important; }
.lichtschema .ls-blok rect.ls-nacht { fill: #5c6bc0 !important; stroke: #3949ab !important; }
.lichtschema text.op-dag { fill: #3b2408 !important; }
.lichtschema text.op-nacht { fill: #ffffff !important; }

.techniek-lijst { list-style: none; margin: 0; padding: 10px 16px 4px; font-size: 14px; color: #4a4a3a; border-bottom: 1px solid #e6dfc4; }
.techniek-lijst li { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.techniek-lijst .tl { width: 20px; height: 20px; border-radius: 50%; background: #78909c; color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }

/* veelgestelde vragen */
.faq { display: grid; gap: 8px; }
.faq-groep { font-size: 15px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-ink); margin: 14px 0 2px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq-item summary { cursor: pointer; padding: 12px 44px 12px 16px; font-weight: 650; list-style: none; display: block; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 16px; top: 12px; content: "+"; color: var(--accent-ink); font-weight: 700; font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 16px 14px; color: var(--muted); }

/* jaarkeuze energiegrafiek */
.jaarkeuze { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--accent-soft); margin-bottom: 4px; }
.jaarkeuze button { font: inherit; font-size: 14px; font-weight: 650; border: 0; border-radius: 999px; padding: 5px 16px; background: transparent; color: var(--accent-ink); cursor: pointer; }
.jaarkeuze button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.jaarkeuze button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.jaarpaneel .grafiek-titel { margin-top: 12px; }
.kolom.leeg .maand { opacity: .45; }

/* overzicht: korte kerngegevens als compacte tegels, techniek in kolommen met natuurlijke hoogte */
.specs-kort { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.specs-kort .spec { padding: 11px 14px; }
.specs-kort .spec dd { font-size: 15px; }
.specs-techniek { display: block; columns: 3 300px; column-gap: 12px; margin-top: 12px; }
.specs-techniek .spec { break-inside: avoid; margin-bottom: 12px; display: block; }
.specs-techniek .spec { container-type: inline-size; }
@container (max-width: 400px) { .ritme { font-size: 14.5px; gap: 2px 4px; } .ritme .r-l { padding-right: 4px; } }
.specs-techniek.verdeeld { columns: auto; display: grid; grid-template-columns: repeat(var(--kol), 1fr); gap: 12px; align-items: start; }
.specs-techniek.verdeeld .kol { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.specs-techniek.verdeeld .spec { margin-bottom: 0; }

/* CO2: druppelteller-filmpjes naast de uitleg */
.co2-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .co2-grid { grid-template-columns: 1fr; } }
.co2-video { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 12px 0; }
.co2-video figure { margin: 0; }
.co2-video video { display: block; width: 100%; height: auto; aspect-ratio: 424 / 800; border-radius: 10px; background: #0b2420; }
.co2-video figcaption { font-size: 13px; font-weight: 650; color: var(--muted); text-align: center; margin-top: 6px; }

/* Fragmenten bij Bewoners */
.clips-kop { margin: 28px 0 12px; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.clips figure { margin: 0; }
.clips video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--accent-soft); }
.clips figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.clips-noot { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .clips { grid-template-columns: 1fr; } }
