/* Hallmark · genre: editorial · theme: eigen nichepalet (hardsteenblauw, koel grijs, zandsteen, baksteen) · posture: restrained · surface: absolute · nav: bronbalk + kopbalk met vijf links · footer: hardsteenblauwe band met de verplichte zin · hero: titelblok links, beeld op ware grootte in een grijze lichtbak · signature: plan + brontabel met straatzoeker · v3.0.0 */
/* Hallmark · critique: de vorige versie was een split-hero met serif-tekst; v3 is een bronnenregister: grote linkse kop, beeld als document in de lichtbak, tabellen breder dan de tekst */
/* Hallmark · waive 7b · de opdrachtgever wil wit met koel grijs, geen getinte basis */
/* Hallmark · dismissed 3 · de baksteenstreep markeert een tegenspraak tussen bronnen, dezelfde kleur als het punt op het plan */
/* De eerste muur — caldenberga.be — site.css v4 (ontwerp v3) — 2026-11-17 */
@font-face { font-family: "Sans"; src: url("/assets/fonts/koppen.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Citaat"; src: url("/assets/fonts/tekst.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Citaat"; src: url("/assets/fonts/tekst-cursief.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --wit: #ffffff;
  --vlak: #eef1f4;
  --vlak-diep: #e3e8ed;
  --lijn: #d5dbe2;
  --inkt: #16202a;
  --grijs: #56606b;
  --steen: #1b2f42;
  --steen-tekst: #c9d3dd;
  --link: #1d5a85;
  --zand: #b08a4a;
  --zand-tekst: #7a5c26;
  --baksteen: #9a3b26;
  --groen: #2f5d50;
  --rij-aan: #f6f1e6;
  --rand: 1180px;
  --tekstbreedte: 42rem;
  --gutter: clamp(16px, 4vw, 40px);
  --sans: "Sans", "Helvetica Neue", Arial, sans-serif;
  --citaat: "Citaat", Georgia, serif;
  --duur: 160ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wit); color: var(--inkt); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:active { color: var(--inkt); }
:focus-visible { outline: 3px solid var(--zand); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; color: var(--inkt); }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.025em; max-width: 20ch; }
h2 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); font-weight: 750; margin-top: 1.8em; scroll-margin-top: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.rand { max-width: var(--rand); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--inkt); color: var(--wit); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.klein { font-size: 0.9rem; color: var(--grijs); }
.smal { max-width: var(--tekstbreedte); }

/* bronbalk, kop, kruimelpad */
.bronbalk { margin: 0; background: var(--steen); color: var(--steen-tekst); font-size: 0.85rem; line-height: 1.45; }
.bronbalk .rand { display: block; padding-block: 9px; }
.bronbalk a { color: var(--wit); margin-left: 6px; white-space: nowrap; }
.kop { border-bottom: 1px solid var(--lijn); background: var(--wit); }
.kop .rand { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.merk { display: flex; align-items: center; gap: 12px; color: var(--inkt); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.1; }
.merk small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--grijs); letter-spacing: 0; margin-top: 2px; }
.kop nav { display: flex; gap: 4px 22px; flex-wrap: wrap; font-size: 0.98rem; font-weight: 600; }
.kop nav a { color: var(--inkt); text-decoration: none; padding: 6px 0; }
.kop nav a:hover { color: var(--link); }
.kop nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--zand); }
.kruimel { padding-top: var(--s3); font-size: 0.88rem; color: var(--grijs); }
.kruimel ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.kruimel li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--lijn); }
.kruimel a { color: var(--grijs); }

/* titelblok en lichtbak */
.art-kop { padding-top: clamp(20px, 4vw, 48px); }
.art-kop-tekst { max-width: 58rem; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--inkt); max-width: 46rem; }
.art-kop .klein { margin-top: var(--s2); }
figure { margin: 0; }
figcaption { font-size: 0.85rem; line-height: 1.5; color: var(--grijs); margin-top: 12px; max-width: 60rem; }
.art-beeld { margin-top: clamp(24px, 4vw, 48px); margin-inline: calc(var(--gutter) * -1); padding: clamp(20px, 4vw, 48px) var(--gutter) var(--s3); background: var(--vlak); }
.art-beeld img { margin-inline: auto; max-height: min(560px, 70vh); width: auto; }
.art-figuur { margin: var(--s4) auto; max-width: 440px; }
.art-figuur img { margin-inline: auto; }

/* home */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: clamp(24px, 4vw, 56px); }
.intro h1 { max-width: 16ch; }
.intro-tekst p { max-width: 40rem; }
.kerncijfers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: var(--s4) 0 var(--s3); padding: 0; border-top: 2px solid var(--inkt); }
.kerncijfers div { padding: 14px 16px 0 0; }
.kerncijfers dt { font-size: 0.85rem; color: var(--grijs); line-height: 1.35; }
.kerncijfers dd { margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; order: -1; }
.kerncijfers div { display: flex; flex-direction: column; gap: 6px; }
.kerncijfers .tegen dd { color: var(--baksteen); }
.intro-beeld { background: var(--vlak); padding: var(--s3); }
.intro-beeld img { margin-inline: auto; max-height: 560px; width: auto; }

/* plan */
.kaart-sectie { background: var(--vlak); margin-top: clamp(48px, 7vw, 96px); padding: clamp(32px, 5vw, 64px) 0; }
.kaart-sectie h2 { margin-top: 0; }
.plan-wrap { margin-top: var(--s3); background: var(--wit); overflow-x: auto; overscroll-behavior-x: contain; }
.schuif { display: none; margin: 8px 0 0; }
.plan { width: 100%; height: auto; display: block; }
.stip circle { fill: var(--steen); stroke: var(--wit); stroke-width: 3; transition: r var(--duur) var(--ease), fill var(--duur) var(--ease); }
.stip.tegen circle { fill: var(--baksteen); }
.stip text { fill: var(--wit); font-family: var(--sans); font-size: 15px; font-weight: 700; text-anchor: middle; pointer-events: none; }
.stip:hover circle, .stip:focus-visible circle, .stip.aan circle { fill: var(--zand); r: 22; }
.stip:focus-visible { outline: none; }
.stip.dim { opacity: 0.2; }
.legenda { list-style: none; padding: 0; margin: var(--s2) 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.95rem; }
.legenda li { display: flex; align-items: center; gap: 8px; }
.bol { width: 14px; height: 14px; border-radius: 50%; background: var(--steen); display: inline-block; }
.bol.tegen { background: var(--baksteen); }

/* brontabel met zoeker en filters */
.tabel-sectie { padding-top: clamp(40px, 6vw, 72px); }
.tabel-sectie h2 { margin-top: 0; }
.zoeker { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 16px; margin: var(--s3) 0 var(--s2); }
.zoeker label { display: block; font-weight: 700; font-size: 0.95rem; width: 100%; }
.zoeker input { font: inherit; font-size: 1.05rem; width: min(100%, 26rem); padding: 10px 12px; border: 0; border-bottom: 2px solid var(--inkt); background: var(--vlak); color: var(--inkt); border-radius: 0; }
.zoeker input:focus-visible { outline: 3px solid var(--zand); outline-offset: 0; }
.zoeker .klein { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.filters button { font: inherit; font-size: 0.92rem; font-weight: 600; background: var(--wit); color: var(--inkt); border: 1px solid var(--lijn); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background-color var(--duur) var(--ease), color var(--duur) var(--ease), border-color var(--duur) var(--ease); }
.filters button span { color: var(--grijs); margin-left: 4px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--steen); color: var(--wit); border-color: var(--steen); }
.filters button[aria-pressed="true"] span { color: var(--steen-tekst); }
.filters button:active { background: var(--vlak); }
.teller { font-size: 0.9rem; color: var(--grijs); min-height: 1.4em; }
.restanten { width: 100%; border-collapse: collapse; font-size: 0.98rem; line-height: 1.5; }
.restanten thead th { font-size: 0.85rem; text-align: left; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--inkt); position: sticky; top: 0; background: var(--wit); }
.restanten tbody { border-bottom: 1px solid var(--lijn); scroll-margin-top: 24px; transition: background-color var(--duur) var(--ease); }
.restanten tbody.aan { background: var(--rij-aan); }
.restanten tbody[hidden] { display: none; }
.restanten th[scope="row"], .restanten td { vertical-align: top; text-align: left; padding: 16px 14px 6px 0; }
.restanten th[scope="row"] { width: 22%; font-weight: 400; }
.restanten tr.hoofd td { width: 26%; }
.nr { display: block; font-size: 0.82rem; color: var(--zand-tekst); font-weight: 700; }
.naam { display: block; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.adres { display: block; color: var(--grijs); font-size: 0.92rem; margin-top: 2px; }
.bron { display: none; }
.groep { display: block; margin-top: 6px; font-size: 0.88rem; }
.groep.toegankelijk { color: var(--groen); }
.groep.ontoegankelijk { color: var(--baksteen); }
tr.onder td { padding: 0 0 16px; }
.verschil { margin: 4px 0 6px; padding-left: 12px; border-left: 3px solid var(--baksteen); font-size: 0.95rem; }
.fiche { margin: 0; font-size: 0.88rem; color: var(--grijs); max-width: 110ch; }

/* tekstkolom, index, tabellen */
.kolom { max-width: calc(var(--tekstbreedte) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.kolom > p:first-child { margin-top: var(--s4); }
.uitleg { padding-top: var(--s3); }
.index { margin: var(--s4) 0 var(--s4); padding: var(--s2) 0; border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.index p { margin: 0 0 6px; font-weight: 700; font-size: 0.9rem; }
.index ol { margin: 0; padding-left: 1.3em; columns: 2 16rem; column-gap: var(--s4); font-size: 0.95rem; }
.index li { break-inside: avoid; margin-bottom: 4px; }
.index li::marker { color: var(--zand-tekst); font-weight: 700; }
.tweeluik { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s4) 0; padding-top: var(--s2); border-top: 2px solid var(--inkt); }
.tweeluik blockquote, .tweeluik-deel { margin: 0; }
.tweeluik blockquote p:not(.wie) { font-family: var(--citaat); font-size: 1.15rem; line-height: 1.5; }
blockquote.gedicht, blockquote.prompt { margin: var(--s3) 0; padding: var(--s2) var(--s3); border-left: 3px solid var(--zand); background: var(--vlak); }
blockquote.gedicht p { margin: 0; font-family: var(--citaat); font-size: 1.15rem; line-height: 1.7; }
blockquote.prompt p { margin: 0; font-size: 0.97rem; }
.tweeluik .wie { font-size: 0.85rem; font-weight: 700; margin: 0 0 8px; color: var(--zand-tekst); }
.tijdlijn, .fichetabel { width: 100%; border-collapse: collapse; margin: var(--s4) 0; font-size: 0.97rem; line-height: 1.5; }
.tijdlijn caption, .fichetabel caption { text-align: left; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.tijdlijn th, .tijdlijn td, .fichetabel th, .fichetabel td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.tijdlijn thead th, .fichetabel thead th { font-size: 0.85rem; border-bottom: 2px solid var(--inkt); }
.tijdlijn td:first-child { font-weight: 700; white-space: nowrap; color: var(--zand-tekst); }
.tijdlijn.maat td:first-child { white-space: normal; width: 30%; }
.tijdlijn.telling td:first-child { width: auto; }
.tijdlijn.telling td:last-child, .tijdlijn.telling th:last-child { width: 6rem; }
.fichetabel td:nth-child(2) { font-size: 0.88rem; color: var(--zand-tekst); }
.bronlijst dt { font-weight: 700; margin-top: 20px; }
.bronlijst dd { margin: 4px 0 0; }
.fout { padding-top: 64px; min-height: 40vh; }
.bronplek { margin-top: var(--s3); }
.bronplek + .verschil { margin-top: -16px; margin-bottom: 32px; }
.checklist { padding-left: 1.3em; }
.checklist li { margin-bottom: 8px; }
.checklist li::marker { color: var(--zand-tekst); font-weight: 700; }

/* datumtool (kalenderartikel) */
.datumtool { margin: var(--s4) 0; padding: var(--s3) 0; border-top: 2px solid var(--inkt); border-bottom: 1px solid var(--lijn); }
.datumtool h2 { margin-top: 0; }
.datumtool .kiezers { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; }
.datumtool label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.datumtool select { font: inherit; font-size: 1.05rem; padding: 8px 10px; border: 0; border-bottom: 2px solid var(--inkt); background: var(--vlak); color: var(--inkt); border-radius: 0; min-width: 7rem; }
.datumtool output { display: block; margin-top: var(--s3); min-height: 5.5em; }
.datumtool .treffer { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.01em; }
.datumtool .treffer span { color: var(--zand-tekst); }
.datumtool .uitleg-treffer { margin: 0; color: var(--grijs); font-size: 0.95rem; }

/* route en blog */
.route { width: 100%; border-collapse: collapse; margin: var(--s4) 0 var(--s2); }
.route caption { text-align: left; font-weight: 700; margin-bottom: 12px; max-width: 70ch; line-height: 1.4; }
.route th[scope="row"] { width: 110px; text-align: left; vertical-align: top; padding: 18px 16px 18px 0; font-size: 0.88rem; color: var(--zand-tekst); white-space: nowrap; }
.route td { padding: 16px 0; vertical-align: top; }
.route tr { border-top: 1px solid var(--lijn); }
.route tr:last-child { border-bottom: 1px solid var(--lijn); }
.traject { display: block; font-weight: 750; font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.haltes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; }
.haltes li { line-height: 1.4; }
.haltes .nr { display: inline; margin-right: 6px; }
.haltes .klein { display: block; }
.bloglijst { list-style: none; padding: 0; margin: var(--s4) 0 0; }
.bloglijst li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--lijn); }
.bloglijst li:last-child { border-bottom: 1px solid var(--lijn); }
.bloglijst h2 { margin: 0 0 8px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.bloglijst h2 a { color: var(--inkt); text-decoration: none; }
.bloglijst h2 a:hover { color: var(--link); text-decoration: underline; }
.bloglijst p { margin: 0; max-width: 62ch; }
.blog-beeld img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* verder langs de muur */
.verder { margin-top: var(--s6); padding-top: var(--s3); border-top: 2px solid var(--inkt); }
.verder h2 { margin-top: 0; font-size: 1.3rem; }
.verder ul { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.verder a { display: block; color: var(--inkt); text-decoration: none; font-weight: 700; line-height: 1.3; }
.verder a:hover span { color: var(--link); text-decoration: underline; }
.verder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 10px; }

/* voet */
.voet { margin-top: var(--s6); background: var(--steen); color: var(--steen-tekst); padding: var(--s5) 0; font-size: 0.95rem; }
.voet .rand { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s4); }
.voet a { color: var(--wit); }
.voet p { max-width: 40rem; }
.voet-merk { font-weight: 800; font-size: 1.25rem; color: var(--wit); }
.voet nav { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.voet nav a { text-decoration: none; padding: 4px 0; }
.voet nav a:hover { text-decoration: underline; }

@media (min-width: 1000px) {
  .kolom > .tijdlijn, .kolom > .fichetabel, .kolom > .tweeluik, .kolom > .datumtool { width: calc(100% + 160px); margin-left: -80px; }
}
@media (max-width: 820px) {
  .tweeluik { grid-template-columns: 1fr; gap: 20px; }
  .tijdlijn td:first-child { white-space: normal; }
  .tijdlijn th, .tijdlijn td { padding-right: 8px; overflow-wrap: break-word; }
  .intro { grid-template-columns: 1fr; }
  .plan { min-width: 760px; }
  .schuif { display: block; }
  .fichetabel thead, .tijdlijn.stapel thead { display: none; }
  .fichetabel caption, .tijdlijn.stapel caption { display: block; width: 100%; }
  .fichetabel, .fichetabel tbody, .fichetabel tr, .fichetabel td,
  .tijdlijn.stapel, .tijdlijn.stapel tbody, .tijdlijn.stapel tr, .tijdlijn.stapel td { display: block; width: 100%; }
  .fichetabel tr, .tijdlijn.stapel tr { padding: 10px 0; border-bottom: 1px solid var(--lijn); }
  .fichetabel td, .tijdlijn.stapel td { padding: 2px 0; border: 0; }
  .fichetabel td[data-label]::before, .tijdlijn.stapel td[data-label]::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; color: var(--grijs); margin-top: 6px; }
  .art-beeld img { max-height: 440px; }
  .restanten thead { display: none; }
  .restanten, .restanten tbody, .restanten tr, .restanten th[scope="row"], .restanten td { display: block; width: 100% !important; }
  .restanten tbody { padding: 12px 0; }
  .restanten th[scope="row"], .restanten td { padding: 6px 0; }
  .bron { display: block; font-size: 0.8rem; font-weight: 700; color: var(--grijs); }
  tr.onder td { padding-top: 4px; }
  .haltes { grid-template-columns: 1fr; }
  .route th[scope="row"] { width: 64px; padding-right: 10px; }
  .bloglijst li { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .bloglijst p { font-size: 0.98rem; }
  .verder ul { grid-template-columns: 1fr; gap: var(--s2); }
  .verder a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
  .verder img { margin: 0; }
  .voet .rand { grid-template-columns: 1fr; }
  .kerncijfers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .kop nav { gap: 4px 14px; font-size: 0.92rem; }
  .merk small { display: none; }
  .bronbalk { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}
