/*
 * Bestand  : basis.css
 * Project  : Verkeersschool Dijkhuizen
 * Datum    : 2026-04-14
 * Doel     : CSS-reset en typografie-basis — bouwt voort op design-tokens uit variabelen.css
 */

@import url('variabelen.css');


/* ─── Reset ────────────────────────────────────────────────────────────────── */

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


/* ─── Scroll-gedrag ────────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}


/* ─── Body-basis ───────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-tekst);
  color: var(--kleur-tekst);
  background: var(--kleur-wit);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ─── Kopregels h1–h6 ──────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-kop);
  color: var(--kleur-accent);
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding-bottom: 0.35em;
  overflow: visible;
}

h1 { font-size: var(--tekst-4xl); font-weight: 800; }
h2 { font-size: var(--tekst-3xl); font-weight: 700; }
h3 { font-size: var(--tekst-2xl); font-weight: 700; }
h4 { font-size: var(--tekst-xl);  font-weight: 600; }


/* ─── Links ────────────────────────────────────────────────────────────────── */

a {
  color: var(--kleur-accent);
  text-decoration: none;
  transition: var(--overgang);
}

a:hover {
  text-decoration: underline;
}


/* ─── Paragrafen ───────────────────────────────────────────────────────────── */

p {
  margin-bottom: var(--ruimte-2);
}


/* ─── Afbeeldingen ─────────────────────────────────────────────────────────── */

img {
  max-width: 100%;
  display: block;
}
