/* VKK — kunsthalle / warm brutalism / glas-in-lood (ontwerp 3)
   Systeem: ~/Documents/kunsthalle-layout-plan.md. Palet naar de kleurensleutel van Thought-Forms (Besant & Leadbeater, 1901). Alleen licht. JS alleen voor het jaartal in de voet.
   Mobiel eerst: basisregels zijn de telefoon (~375px). Uitbreidingen staan per component bij 40em (header) en 50em (breed).
   Hover alleen op apparaten die kunnen hoveren; tikdoelen minimaal 44px. */

/* ---------- 1. Lettertypen (OFL, zie ../fonts/LICENSES.txt) ---------- */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* ---------- 2. Tokens ---------- */
:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --ink: #1d1640;      /* diep helder blauw: aanbidding */
  --violet: #6130c8;   /* genegenheid + devotie */
  --blauw: #1f3fbf;
  --roos: #f3b9c9;     /* bleek roze: onbaatzuchtige liefde */
  --primrose: #f2e36b; /* primulageel: hoogste intellect */
  --muted: #595070;
  --paper-82: rgba(247, 242, 234, 0.84);

  --lijn: 3px solid var(--ink);
  --schaduw: 4px 4px 0 var(--ink);
  --schaduw-knop: 3px 3px 0 var(--ink);
  --schaduw-featured: 5px 5px 0 var(--violet);
  --schaduw-poster: 5px 5px 0 var(--ink);

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --pagina: 74rem;
  --measure: 38rem;
  --goot: clamp(1rem, 4vw, 1.5rem);
  --tik: 2.75rem; /* 44px */
  /* verticaal ritme: krimpt op telefoon, gelijk aan het oude breed-ritme vanaf ~1100px */
  --ruimte-1: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --ruimte-2: clamp(1.75rem, 1rem + 3vw, 2.5rem);
  --ruimte-3: clamp(2rem, 1.2rem + 3.5vw, 3rem);
}
@media (min-width: 50em) {
  :root {
    --schaduw: 5px 5px 0 var(--ink);
    --schaduw-knop: 4px 4px 0 var(--ink);
    --schaduw-featured: 7px 7px 0 var(--violet);
    --schaduw-poster: 7px 7px 0 var(--ink);
  }
}

/* ---------- 3. Reset + grond ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; touch-action: manipulation; }
a:active { background: var(--primrose); color: var(--ink); }
@media (hover: hover) {
  a:hover { background: var(--primrose); color: var(--ink); }
}

:focus-visible {
  outline: 3px solid var(--primrose);
  outline-offset: 3px;
  /* ink-ring in de offsetspleet: primrose op paper is te licht */
  box-shadow: 0 0 0 3px var(--ink);
}

.wrap { width: 100%; max-width: var(--pagina); margin-inline: auto; padding-inline: var(--goot); }

/* stemmen */
.mono, .meta, .stempel, .knop, .nav, .voet, .bijschrift, .toc {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.meta { font-size: 0.72rem; font-weight: 600; line-height: 1.4; color: var(--muted); }

/* ---------- 6.1 Skip ---------- */
.skip {
  position: absolute; left: 1rem; top: 0; z-index: 10;
  transform: translateY(-120%);
  background: var(--primrose); color: var(--ink);
  border: var(--lijn); padding: 0.6rem 1rem;
  font-family: var(--mono); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.12em; text-decoration: none;
}
.skip:focus { transform: translateY(1rem); }

/* ---------- 6.2 Header (kader) ---------- */
.kop { padding-block: 0.75rem 0; }
.kop-kader {
  display: grid;
  border: var(--lijn);
  box-shadow: var(--schaduw);
  background: var(--paper);
}
.merk {
  display: block;
  padding: 0.7rem 1rem 0.75rem;
  border-bottom: var(--lijn);
  text-decoration: none;
}
.merk-naam {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: 1.6rem; line-height: 0.9; letter-spacing: 0.005em;
  text-transform: uppercase;
}
.merk-sub {
  display: block; margin-top: 0.3rem;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 400;
  letter-spacing: 0.08em; color: var(--muted);
}
.nav { font-size: 0.72rem; font-weight: 600; }
/* telefoon: gelood rooster; cellen groeien zodat elke rij tot de kaderrand vult */
.nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 3px;
  background: var(--ink);
}
/* bases forceren 3 + 2: Home | Over | Onze gemeenten, dan Doneren | Organisatie */
.nav li { display: flex; flex: 1 1 20%; }
.nav li:nth-child(n+3) { flex-basis: 40%; }
.nav a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: var(--tik);
  padding: 0.35rem 0.6rem;
  background: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:active { background: var(--primrose); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.nav a:focus-visible { outline-offset: -6px; box-shadow: none; }

@media (hover: hover) {
  .merk:hover { background: var(--primrose); }
  .nav a:hover { background: var(--primrose); border-color: var(--ink); }
  .nav a[aria-current="page"]:hover { background: var(--ink); color: var(--paper); }
}

@media (min-width: 40em) {
  .kop-kader { grid-template-columns: auto 1fr; }
  .merk { border-bottom: 0; border-right: var(--lijn); display: flex; flex-direction: column; justify-content: center; padding: 0.85rem 1.1rem; }
  .merk-naam { font-size: 1.9rem; }
  .merk-sub { margin-top: 0.35rem; }
  .nav ul {
    align-items: stretch; justify-content: flex-end; align-content: center;
    gap: 0.25rem;
    padding: 0.6rem;
    height: 100%;
    background: transparent;
  }
  .nav li, .nav li:nth-child(n+3) { flex: 0 0 auto; }
  .nav a { padding: 0.35rem 0.7rem; border: 3px solid transparent; min-height: 2.5rem; }
  .nav a[aria-current="page"] { border-color: var(--ink); }
  .nav a:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); }
}
@media (min-width: 50em) {
  .kop { padding-block: 1rem 0; }
}

/* ---------- 6.3 Poster + 6.4 Stempel ---------- */
.poster {
  margin-block: 0.75rem 1.25rem;
  display: grid; gap: 1.25rem;
  padding: 1rem;
  background: var(--violet); color: var(--primrose);
  border: var(--lijn);
  box-shadow: var(--schaduw-poster);
  container-type: inline-size;
}
.stempel {
  justify-self: start; align-self: start;
  display: inline-block;
  background: var(--primrose); color: var(--ink);
  border: var(--lijn);
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem; font-weight: 600; line-height: 1.3;
}
/* affiche en sub schalen met de posterbreedte (cqi): op telefoon elk woord een regel, op breed één blok van gelijke regels */
.affiche {
  font-family: var(--display); font-weight: 800;
  font-size: 28cqi;
  line-height: 0.8; letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.affiche-sub {
  font-family: var(--display); font-weight: 800;
  font-size: 13cqi;
  line-height: 0.9; letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-top: 0.15em;
}
.poster-zin {
  margin-top: 0.85rem;
  max-width: var(--measure);
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.45;
}
.lede {
  margin-top: 1.25rem;
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}
@media (min-width: 40em) {
  .poster { margin-block: 2rem 3rem; padding: 1.25rem; }
  .affiche { font-size: 18cqi; }
  .affiche-sub { font-size: 12.6cqi; }
  .poster-zin { margin-top: 1rem; }
}
@media (min-width: 50em) {
  .poster {
    grid-template-columns: 1fr;
    min-height: 22rem;
    padding: 2rem;
    align-items: end;
  }
}

/* ---------- 6.6 Knop ---------- */
/* telefoon: blokbreed voor de duim; vanaf 40em weer inline */
.knop {
  display: block;
  align-self: stretch;
  margin-top: 1.25rem;
  min-height: var(--tik);
  background: var(--primrose); color: var(--ink);
  border: var(--lijn);
  box-shadow: var(--schaduw-knop);
  padding: 0.85rem 1.1rem;
  font-size: 0.78rem; font-weight: 600; line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.knop:active { background: var(--primrose); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.knop:focus-visible { box-shadow: 0 0 0 3px var(--ink); }
@media (hover: hover) {
  .knop:hover { background: var(--primrose); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
}
@media (min-width: 40em) {
  .knop { display: inline-block; align-self: flex-start; min-height: 0; padding: 0.7rem 1.1rem; margin-top: 1.4rem; text-align: left; }
}

/* ---------- 6.5 Featured-band ---------- */
.band {
  border-block: var(--lijn);
  padding-block: var(--ruimte-2) var(--ruimte-3);
}
.band-roos { background: var(--roos); }
.band-primrose { background: var(--primrose); }
.featured {
  display: grid;
  background: var(--paper);
  border: var(--lijn);
  box-shadow: var(--schaduw-featured);
  padding: 1.1rem;
}
.naam {
  margin-top: 0.6rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 1.2rem + 7vw, 6.2rem);
  line-height: 0.84; letter-spacing: -0.005em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.stem {
  margin-top: 0.85rem;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1.45;
}
.stuk {
  margin-top: 1rem; padding-top: 0.85rem;
  border-top: var(--lijn);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 0.95; text-transform: uppercase;
}
.note { margin-top: 0.8rem; color: var(--muted); max-width: var(--measure); }
@media (min-width: 40em) {
  .featured { padding: 1.25rem; }
  .featured .knop { justify-self: start; }
  .stem { margin-top: 1rem; font-size: 0.85rem; }
  .stuk { margin-top: 1.25rem; padding-top: 1rem; }
}
@media (min-width: 50em) {
  .featured { padding: 2rem 2.25rem 2.25rem; }
  .featured .stuk { max-width: 48rem; }
}

/* ---------- 6.7 Split / kaart ---------- */
.split { display: grid; gap: 1.75rem; margin-block: var(--ruimte-3); }
.kaart {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper);
  border: var(--lijn);
  box-shadow: var(--schaduw);
  padding: 1.1rem;
}
.kaart .stuk { border-top: 0; padding-top: 0; margin-top: 0.6rem; }
.kaart .knop { margin-top: auto; }
.kaart .note { margin-bottom: 1.4rem; }
@media (min-width: 50em) {
  .split { grid-template-columns: 1fr 1fr; }
  .kaart { padding: 1.5rem 1.6rem 1.75rem; }
}

/* ---------- 6.8 Glas-in-lood ---------- */
/* telefoon: compacte ruiten zonder leeg bovenvlak; breed: hoge ramen naast elkaar */
.glas {
  display: grid;
  border-block: var(--lijn);
}
.ruit {
  display: flex; flex-direction: column;
  padding: 1.5rem var(--goot) 1.75rem;
  color: var(--paper);
  text-decoration: none;
  transition: filter 0.15s ease;
}
.ruit + .ruit { border-top: var(--lijn); }
.ruit-blauw, .ruit-blauw:active { background: var(--blauw); }
.ruit-violet, .ruit-violet:active { background: var(--violet); }
.ruit-ink, .ruit-ink:active { background: var(--ink); }
.ruit:active { color: var(--paper); filter: brightness(1.14); }
.ruit-ink:active { filter: none; color: var(--primrose); }
.band + .glas { border-top: 0; }
.ruit:focus-visible { outline-offset: -12px; box-shadow: none; }
.ruit-titel {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem);
  line-height: 0.88; text-transform: uppercase;
}
.ruit-zin { margin-top: 0.6rem; color: var(--paper-82); max-width: 30rem; line-height: 1.5; }
@media (hover: hover) {
  .ruit:hover { color: var(--paper); filter: brightness(1.14); }
  .ruit-blauw:hover { background: var(--blauw); }
  .ruit-violet:hover { background: var(--violet); }
  .ruit-ink:hover { background: var(--ink); filter: none; color: var(--primrose); }
}
@media (min-width: 50em) {
  .glas { grid-template-columns: repeat(3, 1fr); }
  .ruit { min-height: 20rem; padding: 1.75rem 1.75rem 2rem; }
  .ruit + .ruit { border-top: 0; border-left: var(--lijn); }
  .ruit-titel { margin-top: auto; padding-top: 2.5rem; }
  .ruit-zin { margin-top: 0.75rem; }
}

/* ---------- 6.9 Slab + 6.10 Oefenblok ---------- */
.slab { border-block: var(--lijn); padding-block: var(--ruimte-3); }
.slab-gold { background: var(--primrose); }
.glas + .slab { border-top: 0; }
.oefen { display: grid; gap: 2rem; }
.beeld { margin: 0; }
.arcering {
  aspect-ratio: 4 / 3;
  width: calc(100% - 5px);
  border: var(--lijn);
  box-shadow: var(--schaduw);
  background-color: var(--violet);
  background-image: repeating-linear-gradient(-45deg,
    transparent 0 14px, rgba(247, 242, 234, 0.2) 14px 17px);
}
.bijschrift { margin-top: 0.9rem; font-size: 0.7rem; font-weight: 600; }
.sectie {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 0.88; text-transform: uppercase;
}
.gemeenten > p { margin-top: 0.75rem; max-width: var(--measure); }
.steden {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 1.25rem;
  background: var(--ink);
  border: var(--lijn);
  box-shadow: var(--schaduw);
}
.steden li { display: flex; background: var(--primrose); }
.steden a {
  flex: 1;
  display: flex; align-items: flex-end;
  min-height: 4rem;
  padding: 0.7rem 0.8rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 0.9rem + 2.2vw, 2.7rem);
  line-height: 0.9; text-transform: uppercase;
  text-decoration: none;
}
.steden a:active { background: var(--violet); color: var(--paper); }
.steden a:focus-visible { background: var(--violet); color: var(--paper); outline: 3px solid var(--primrose); outline-offset: -9px; box-shadow: none; }
.gemeenten .knop { margin-top: 1.5rem; background: var(--paper); }
.oefen-tekst p { margin-top: 1rem; max-width: var(--measure); }
.stappen { margin-top: 1.5rem; border-top: var(--lijn); max-width: var(--measure); }
.stappen div { display: grid; gap: 0.1rem 1rem; padding-block: 0.6rem; border-bottom: var(--lijn); }
.stappen dt { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; padding-top: 0.2rem; }
.stappen dd { font-weight: 600; overflow-wrap: anywhere; }
.slab .knop { background: var(--paper); }
@media (hover: hover) {
  .steden a:hover { background: var(--violet); color: var(--paper); }
  .gemeenten .knop:hover, .slab .knop:hover { background: var(--paper); }
  .slab a:not(.knop):hover { background: var(--paper); }
}
@media (min-width: 40em) {
  .gemeenten > p { margin-top: 1rem; }
  .steden { margin-top: 1.75rem; }
  .steden a { min-height: 6.5rem; padding: 0.8rem 0.9rem; }
  .gemeenten .knop { margin-top: 2rem; }
}
@media (min-width: 50em) {
  .steden { grid-template-columns: repeat(4, 1fr); }
  .steden a { min-height: 9rem; padding: 1rem 1.2rem; }
  .oefen { grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
  .stappen div { grid-template-columns: 14rem 1fr; }
}

/* ---------- 6.11 Archief ---------- */
.archief { margin-block: var(--ruimte-3); }
.archief-lijst { list-style: none; display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.archief-kaart {
  display: block; height: calc(100% - 5px);
  background: var(--paper);
  border: var(--lijn);
  box-shadow: var(--schaduw);
  padding: 1.1rem 1.25rem 1.3rem;
  text-decoration: none;
}
.archief-titel {
  display: block; margin-top: 0.5rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 0.95; text-transform: uppercase;
}
@media (hover: hover) {
  .archief-kaart:hover { background: var(--primrose); }
  .archief-kaart:hover .meta { color: var(--ink); }
}

/* ---------- 6.15 Voet ---------- */
/* telefoon: gestapeld, links als tikrijen */
.voet-kader {
  margin-block: var(--ruimte-3) 1.5rem;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.5rem;
  border: var(--lijn);
  box-shadow: var(--schaduw);
  padding: 1rem 1.1rem 0.5rem;
  font-size: 0.72rem; font-weight: 600;
}
.voet-kader ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.voet-kader a { display: inline-flex; align-items: center; min-height: var(--tik); }
.voet-kader a[aria-current="page"] { background: var(--ink); color: var(--paper); text-decoration: none; padding: 0.15rem 0.35rem; }
/* Cookievoorkeuren is een <button>; UA-stijl weg zodat hij leest als de voetlinks */
.voet-knop {
  display: inline-flex; align-items: center; min-height: var(--tik);
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; color: inherit;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em;
  cursor: pointer; touch-action: manipulation;
}
.voet-knop:active { background: var(--primrose); color: var(--ink); }
@media (hover: hover) {
  .voet-knop:hover { background: var(--primrose); color: var(--ink); }
}
@media (min-width: 40em) {
  .voet-kader {
    margin-block: 3rem 2rem;
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 0.75rem 2rem;
    padding: 1rem 1.25rem;
  }
  .voet-kader ul { gap: 0.5rem 1.5rem; }
  .voet-kader a { display: inline; min-height: 0; }
  .voet-knop { display: inline; min-height: 0; }
}

/* ---------- Cookiebanner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--primrose);
}
.cookie-banner-inner {
  max-width: var(--pagina); margin-inline: auto;
  padding: 1rem var(--goot) 1.1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
}
.cookie-banner-content { flex: 1 1 20rem; min-width: 0; }
.cookie-banner-title {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.cookie-banner-text { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.5; max-width: var(--measure); }
.cookie-banner-text a:active { background: var(--primrose); color: var(--ink); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex: 1 1 100%; }
.cookie-btn {
  flex: 1 1 0;
  min-height: var(--tik);
  padding: 0.6rem 1.1rem;
  border: 3px solid var(--paper); border-radius: 0;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.12em;
  cursor: pointer; touch-action: manipulation;
}
/* Weigeren en Accepteren even zwaar (AVG) */
.cookie-btn-reject { background: var(--ink); color: var(--paper); }
.cookie-btn-accept { background: var(--primrose); color: var(--ink); border-color: var(--primrose); }
.cookie-btn:focus-visible { outline: 3px solid var(--primrose); outline-offset: 3px; box-shadow: none; }
.cookie-btn-reject:active { background: var(--paper); color: var(--ink); }
.cookie-btn-accept:active { background: var(--paper); border-color: var(--paper); }
@media (hover: hover) {
  .cookie-banner-text a:hover { background: var(--primrose); color: var(--ink); }
  .cookie-btn-reject:hover { background: var(--paper); color: var(--ink); }
  .cookie-btn-accept:hover { background: var(--paper); border-color: var(--paper); }
}
@media (min-width: 40em) {
  .cookie-banner-actions { flex: 0 0 auto; }
  .cookie-btn { flex: 0 0 auto; }
}

/* ---------- 6.12 Mast ---------- */
.mast {
  background: var(--violet); color: var(--paper);
  border-block: var(--lijn);
  margin-top: 1.5rem;
  padding-block: 1.5rem 2rem;
}
.mast-naam {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 1.2rem + 7vw, 6.2rem);
  line-height: 0.84; text-transform: uppercase;
  overflow-wrap: anywhere;
}
.mast-stem { margin-top: 1rem; font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper-82); }
@media (min-width: 40em) {
  .mast { margin-top: 2rem; padding-block: 2rem 2.75rem; }
}
@media (min-width: 50em) {
  .mast { padding-block: 2.5rem 3.5rem; }
}

/* ---------- Binnenpagina: inhoud ---------- */
.inhoud { margin-block: var(--ruimte-3); }
.inhoud > * + * { margin-top: 1.25rem; }
.inhoud > * + h2 { margin-top: 2.25rem; }
.raster { display: grid; gap: 1.25rem; }
@media (min-width: 50em) {
  .inhoud > * + *, .inhoud > * + h2 { margin-top: 2.5rem; }
  .raster { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}

/* gemeentekaart (geen link: geen hover-fill) */
.gemeente {
  background: var(--paper);
  border: var(--lijn);
  box-shadow: var(--schaduw);
  padding: 1rem 1.1rem 1.1rem;
  scroll-margin-top: 1rem;
}
.gemeente:target { box-shadow: var(--schaduw-featured); }
.gemeente-stad {
  margin-top: 0.45rem;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  line-height: 0.9; text-transform: uppercase;
}
.adres { margin-top: 0.8rem; }
.contact { list-style: none; margin-top: 1rem; border-top: var(--lijn); }
.contact li { padding-top: 0.75rem; }
.contact li + li { margin-top: 0.1rem; }
.contact-naam { font-weight: 600; }
.contact-functie { color: var(--muted); }
.contact a { font-family: var(--mono); font-size: 0.9rem; overflow-wrap: anywhere; }
@media (min-width: 50em) {
  .gemeente { padding: 1.4rem 1.6rem 1.6rem; scroll-margin-top: 1.5rem; }
}

/* definitielijst */
.feiten { border-top: var(--lijn); max-width: 48rem; }
.feiten > div { display: grid; gap: 0.15rem 1.5rem; padding-block: 0.7rem; border-bottom: var(--lijn); }
.feiten dt { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); padding-top: 0.25rem; overflow-wrap: normal; }
.feiten dd + dd { margin-top: 0.15rem; }
@media (min-width: 50em) {
  .feiten > div { grid-template-columns: 14rem 1fr; }
  .feiten dd { grid-column: 2; }
}

/* losse e-mailadressen: ruimer tikvlak op aanraakschermen, zonder de tekst te verplaatsen */
@media (pointer: coarse) {
  .contact a, .feiten a, .prose a, .inhoud > p a { display: inline-block; padding-block: 0.45rem; margin-block: -0.45rem; }
}

/* lijst */
.lijst { list-style: none; max-width: var(--measure); }
.lijst li { position: relative; padding-left: 1.4rem; }
.lijst li + li { margin-top: 0.4rem; }
.lijst li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.55rem; height: 0.55rem; background: var(--ink); }
/* tijden in het programma: scanbaar in één kolomritme */
.tijd {
  font-family: var(--mono); font-weight: 600; font-size: 0.92em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* downloads: de hele kaart is het tikvlak */
.downloads { list-style: none; display: grid; gap: 0.85rem; max-width: 48rem; }
.downloads li {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
  border: var(--lijn); box-shadow: var(--schaduw);
  padding: 0.8rem 1rem;
}
.downloads a { font-weight: 600; }
.downloads a::after { content: ""; position: absolute; inset: 0; }
.downloads li:has(a:active) { background: var(--primrose); }
.bestand { font-family: var(--mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
@media (hover: hover) {
  .downloads li:has(a:hover) { background: var(--primrose); }
  .downloads li:has(a:hover) .bestand { color: var(--ink); }
}
@media (min-width: 50em) {
  .downloads { gap: 1rem; }
}

/* sectiekop op binnenpagina's */
.sectie-kop, .inhoud > h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 0.9; text-transform: uppercase;
  scroll-margin-top: 1rem;
}
.inhoud > h2 + * { margin-top: 1rem; }
@media (min-width: 50em) {
  .inhoud > h2 + * { margin-top: 1.25rem; }
}

/* ---------- 6.13 Prose ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--display); text-transform: uppercase; line-height: 0.95;
  scroll-margin-top: 1rem;
}
.prose h2 { font-weight: 800; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-top: 2.25rem; }
.prose h3 { font-weight: 700; font-size: 1.5rem; margin-top: 1.75rem; }
.prose h4 { font-weight: 700; font-size: 1.25rem; margin-top: 1.5rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.3rem; }
.prose blockquote {
  margin-inline: 0;
  background: var(--primrose); border: var(--lijn); box-shadow: var(--schaduw);
  padding: 1rem 1.1rem;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1; text-transform: uppercase;
}
.prose hr { border: 0; border-top: var(--lijn); margin-block: 2rem; }
.prose :target { background: var(--primrose); box-shadow: 0 0 0 4px var(--primrose); }
@media (hover: hover) {
  .prose blockquote a:hover { background: var(--paper); }
}
@media (min-width: 50em) {
  .prose h2 { margin-top: 2.5rem; }
  .prose h3 { font-size: 1.6rem; margin-top: 2rem; }
  .prose h4 { font-size: 1.3rem; }
  .prose blockquote { padding: 1rem 1.25rem; font-size: 1.6rem; }
}

.tabel { overflow-x: auto; max-width: 100%; }
.tabel table { border-collapse: collapse; border: var(--lijn); }
.tabel th, .tabel td { border: var(--lijn); padding: 0.45rem 0.7rem; text-align: left; vertical-align: top; }
.tabel th { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- Inhoudsopgave ---------- */
/* telefoon: tikrijen tussen inktlijnen; breed: kader met wrappende links */
.toc { border-top: var(--lijn); font-size: 0.72rem; font-weight: 600; }
.toc ul { list-style: none; }
.toc li { border-bottom: var(--lijn); }
.toc a { display: flex; align-items: center; min-height: var(--tik); padding-block: 0.45rem; }
@media (min-width: 50em) {
  .toc { border: var(--lijn); box-shadow: var(--schaduw); padding: 0.9rem 1rem; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
  .toc li { border-bottom: 0; }
  .toc a { display: inline-block; min-height: 0; padding-block: 0.3rem; }
}

/* ---------- 9. Beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .knop:hover, .knop:active { transform: none; box-shadow: var(--schaduw-knop); }
}
