/* Basis: lettertype, reset, typografie en layout */

/* Plus Jakarta Sans, zelf gehost (besloten 21 september). Geen verzoek naar Google, dus ook
   geen IP-adres van bezoekers bij Google. Twee bestanden: de Latijnse tekens (met ë, é, ï) en de
   uitgebreide set, die de browser alleen ophaalt als een pagina zo'n teken echt gebruikt. */
@font-face {
  font-family: "VS Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "VS Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-basis);
  font-size: var(--fs-tekst);
  line-height: 1.6;
  color: var(--kleur-tekst);
  background: var(--kleur-achtergrond);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, .kop-1, .kop-2, .kop-3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1, .kop-1 { font-size: var(--fs-kop-1); line-height: 1.02; letter-spacing: -0.035em; }
h2, .kop-2 { font-size: var(--fs-kop-2); line-height: 1.08; letter-spacing: -0.028em; }
h3, .kop-3 { font-size: var(--fs-kop-3); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; max-width: var(--breedte-tekst); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }

.intro { font-size: var(--fs-intro); line-height: 1.55; color: var(--kleur-tekst-2); }
.klein { font-size: var(--fs-klein); line-height: 1.5; color: var(--kleur-tekst-2); }

:focus-visible {
  outline: 3px solid var(--kleur-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--breedte-pagina);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.sectie { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sectie--vlak { background: var(--kleur-vlak); }

.stapel > * + * { margin-top: var(--stapel, 1.25rem); }

.sla-over {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-s);
  background: var(--kleur-accent);
  color: var(--kleur-op-accent);
  font-weight: 700;
}
.sla-over:focus { top: 1rem; }

.visueel-verborgen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
