/* roodt.nl — huisstijl: zwart, crème en één rood */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 400; font-style: normal; font-display: swap; src: url("/static/fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("/static/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("/static/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("/static/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }

:root {
  --inkt: #1C1B1A;
  --creme: #F7F3EE;
  --wit: #FFFFFF;
  --rood: #E8302A;        /* logo en accenten */
  --rood-knop: #D42A24;   /* knoppen: donkerder, zodat witte tekst leesbaar is */
  --rood-tekst: #B3261E;  /* kleine rode tekst op licht */
  --tekst-zacht: #4A4744;
  --meta: #6A655F;
  --lijn-donker: #5A5652;
  --licht-op-donker: #D9D4CC;
  --voet: #141312;
  --rand: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--inkt);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--inkt); }
a:hover { color: var(--rood-tekst); }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

.rood { color: var(--rood); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--wit); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* ---- kop ---- */
.kop { background: var(--inkt); }
.kop-rij { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-woord { font-weight: 800; font-size: 52px; line-height: 0.9; letter-spacing: -0.045em; color: var(--creme); }
.logo-sub { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: #CFCAC3; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.menu a { color: var(--creme); text-decoration: none; }
.menu a:hover { color: var(--wit); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rood); text-decoration-thickness: 2px; }
.menu a.actief { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--rood); text-decoration-thickness: 2px; }
.menu .menu-knop { border: 1px solid var(--lijn-donker); border-radius: var(--rand); padding: 10px 18px; }
.menu .menu-knop:hover { border-color: var(--creme); text-decoration: none; }
@media (max-width: 600px) { .logo-woord { font-size: 42px; } .menu { gap: 6px 20px; } }

/* ---- held ---- */
.held { background: var(--inkt); color: var(--creme); }
.held-in { padding-top: 72px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 28px; }
.held-klein .held-in { padding-top: 48px; padding-bottom: 72px; gap: 16px; }
.held-kop { font-weight: 800; font-size: clamp(3rem, 7.5vw, 6.2rem); line-height: 1; letter-spacing: -0.035em; max-width: 14ch; }
.held-klein .held-kop { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: none; }
.held-tekst { font-size: 20px; color: var(--licht-op-donker); max-width: 46ch; }
.licht-link { color: var(--creme); }
.licht-link:hover { color: var(--wit); }

.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.knop {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none;
  background: var(--rood-knop); color: var(--wit); border: 0; border-radius: var(--rand);
  padding: 15px 26px; cursor: pointer; white-space: nowrap;
}
.knop:hover { background: #B8221D; color: var(--wit); }
.knop-rand { background: transparent; color: var(--creme); font-weight: 500; border: 1px solid var(--lijn-donker); }
.knop-rand:hover { background: transparent; color: var(--wit); border-color: var(--creme); }

/* ---- secties ---- */
.sectie { padding: 88px 0; }
.sectie-top { padding-top: 48px; }
.wit { background: var(--wit); }
.donker { background: var(--inkt); color: var(--creme); }
.sectie h2, .grip-blok h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; letter-spacing: -0.03em; }
.sectie-kop { display: flex; flex-direction: column; gap: 10px; max-width: 620px; margin-bottom: 40px; }
.rij-kop { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.rij-kop > div { display: flex; flex-direction: column; gap: 10px; }
.smal { max-width: 20ch; margin-bottom: 40px; }
.label { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rood-tekst); }
.label-licht { color: var(--creme); }
.sterk { font-weight: 700; }

.raster { display: grid; gap: 20px; }
.raster-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.raster-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.raster-nieuws { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ruim { gap: 32px; }

.kaart { background: var(--wit); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.kaart h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.kaart p { color: var(--tekst-zacht); }
.kaart-link { text-decoration: none; color: var(--inkt); gap: 10px; }
.kaart-link:hover { color: var(--inkt); outline: 2px solid var(--inkt); outline-offset: -2px; }
.icoon { width: 32px; height: 32px; fill: none; stroke: var(--rood); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.meta { font-size: 14px; color: var(--meta); }
.meta-licht { color: #BDB7AE; font-size: 15px; }

.doelgroep { border-top: 3px solid var(--inkt); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.doelgroep h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.doelgroep p { color: var(--tekst-zacht); }

.stappen { list-style: none; margin: 0; padding: 0; }
.stappen li { display: flex; flex-direction: column; gap: 10px; }
.stappen h3 { font-size: 21px; font-weight: 700; }
.stappen p { color: var(--tekst-zacht); }
.stap-nr { font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: var(--rood); }

/* ---- Grip-blok ---- */
.grip-sectie { padding: 0 32px 88px; }
@media (max-width: 600px) { .grip-sectie { padding: 0 20px 64px; } }
.grip-blok {
  max-width: 1096px; margin: 0 auto; background: var(--inkt); color: var(--creme);
  border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
@media (max-width: 600px) { .grip-blok { padding: 32px 24px; } }
.grip-tekst { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.grip-tekst > p:last-child { color: var(--licht-op-donker); max-width: 48ch; }

/* ---- over / twee kolommen ---- */
.twee-kol { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }
.twee-kol .sectie-kop { margin-bottom: 0; }
.lopend { display: flex; flex-direction: column; gap: 16px; color: var(--tekst-zacht); }

/* ---- contact ---- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.zacht { color: var(--licht-op-donker); max-width: 40ch; }
address { font-style: normal; line-height: 1.8; }
.donker a { color: var(--creme); }
.donker a:hover { color: var(--wit); }
.formulier { display: flex; flex-direction: column; gap: 10px; }
.formulier label { font-size: 15px; color: var(--licht-op-donker); margin-top: 4px; }
.formulier input, .formulier textarea {
  font: inherit; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--lijn-donker);
  background: #26241F; color: var(--creme); width: 100%;
}
.formulier textarea { resize: vertical; }
.formulier input:focus-visible, .formulier textarea:focus-visible { border-color: var(--creme); outline-offset: 1px; }
.formulier .knop { align-self: flex-start; margin-top: 8px; }
.val { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding { padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.melding.goed { background: #2E3A2C; color: #DDEBD8; }
.melding.fout { background: #4A1F1C; color: #FFDAD5; }

/* ---- nieuws ---- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter { font-size: 15px; text-decoration: none; padding: 10px 18px; border-radius: var(--rand); border: 1px solid #CFC8BE; color: var(--inkt); }
.filter:hover { border-color: var(--inkt); color: var(--inkt); }
.filter.actief { background: var(--inkt); border-color: var(--inkt); color: var(--creme); font-weight: 700; }
.uitgelicht { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--inkt); background: var(--wit); border-radius: 24px; padding: 40px; margin-bottom: 20px; }
.uitgelicht:hover { color: var(--inkt); outline: 2px solid var(--inkt); outline-offset: -2px; }
.uitgelicht h2 { max-width: 26ch; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.uitgelicht p { color: var(--tekst-zacht); max-width: 62ch; }
@media (max-width: 600px) { .uitgelicht { padding: 28px 24px; } }
.leeg { color: var(--tekst-zacht); }

.leesbreedte { max-width: 760px; }
.terug { color: var(--licht-op-donker); text-decoration: none; font-size: 15px; }
.terug:hover { color: var(--wit); }
.bericht-kop { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.artikel { color: var(--inkt); font-size: 18px; line-height: 1.65; }
.artikel .intro { font-size: 21px; color: var(--inkt); font-weight: 500; }
.artikel h2 { font-size: 26px; letter-spacing: -0.02em; margin-top: 16px; }
.artikel ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.na-artikel { margin-top: 24px; padding-top: 20px; border-top: 1px solid #DDD6CB; color: var(--tekst-zacht); }

/* ---- voet ---- */
.voet { background: var(--voet); color: #A9A39B; font-size: 14px; }
.voet-rij { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
.voet-links { display: flex; gap: 20px; }
.voet a { color: #A9A39B; }
.voet a:hover { color: var(--creme); }

/* ---- vaste kopbalk (vanaf tabletbreedte) en knop naar boven ---- */
@media (min-width: 800px) {
  .kop { position: sticky; top: 0; z-index: 20; }
  html { scroll-padding-top: 114px; }
}

.naar-boven {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--inkt); border: 2px solid var(--creme);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.naar-boven.zichtbaar { opacity: 1; visibility: visible; transform: none; }
.naar-boven:hover { background: var(--rood-knop); }
.naar-boven svg { width: 22px; height: 22px; fill: none; stroke: var(--creme); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .naar-boven { transition: none; } }
