/*
Theme Name: Loeff
Description: Thema voor loeff.nl, naar het prototype-ontwerp: sinopel, zilver, goud en sabel uit het familiewapen.
Version: 0.1.0
Author: Familie Loeff
*/

/* ==========================================================================
   loeff.nl · prototype herontwerp
   Palet afgeleid van het wapen: sinopel, zilver, goud, sabel
   ========================================================================== */

:root {
  --sinopel: #175c36;
  --sinopel-diep: #0c3a21;
  --sinopel-nacht: #082917;
  --sinopel-licht: #eaf2ec;
  --goud: #c9a338;
  --goud-licht: #e8d18a;
  --goud-diep: #9a7a1f;
  --zilver: #f7f5ef;
  --perkament: #f3efe4;
  --perkament-diep: #e9e3d2;
  --sabel: #171a18;
  --inkt: #26302a;
  --inkt-zacht: #55605a;
  --lijn: #d8d3c4;
  --wit: #ffffff;

  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", "Arial", sans-serif;

  --maat: 1120px;
  --maat-smal: 760px;
  --schaduw: 0 18px 50px rgba(12, 58, 33, 0.14);
  --overgang: 0.35s cubic-bezier(0.25, 0.6, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--inkt);
  background: var(--zilver);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sinopel); text-decoration: none; transition: color var(--overgang); }
a:hover { color: var(--goud-diep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--inkt); line-height: 1.15; }

.kader { max-width: var(--maat); margin: 0 auto; padding: 0 28px; }
.kader-smal { max-width: var(--maat-smal); margin: 0 auto; padding: 0 28px; }

/* --------------------------------------------------------------------------
   Navigatie
   -------------------------------------------------------------------------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background var(--overgang), box-shadow var(--overgang);
}
.nav.vast {
  background: rgba(8, 41, 23, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.nav-binnen {
  max-width: var(--maat); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-merk {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); color: var(--zilver);
}
.nav-merk .naam { font-size: 26px; font-weight: 700; letter-spacing: 0.04em; }
.nav-merk .sinds { font-size: 13px; font-family: var(--sans); color: var(--goud-licht); letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: rgba(247, 245, 239, 0.85); font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.actief { color: var(--goud-licht); border-bottom-color: var(--goud); }

/* Lichte variant voor binnenpagina's zonder donkere hero */
.nav.licht:not(.vast) { background: transparent; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201, 163, 56, 0.16), transparent 60%),
    linear-gradient(168deg, var(--sinopel-nacht) 0%, var(--sinopel-diep) 45%, var(--sinopel) 100%);
  color: var(--zilver);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 100 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='2'%3E%3Cpath d='M50 12 C58 26 61 38 60 49 C59 58 55 66 50 71 C45 66 41 58 40 49 C39 38 42 26 50 12 Z'/%3E%3Cpath d='M43 69 C31 67 21 59 19 46 C17 34 24 23 35 20 C31 30 33 41 38 49 C41 54 43 61 43 69 Z'/%3E%3Cpath d='M57 69 C69 67 79 59 81 46 C83 34 76 23 65 20 C69 30 67 41 62 49 C59 54 57 61 57 69 Z'/%3E%3Crect x='33' y='72' width='34' height='9' rx='4'/%3E%3Cpath d='M50 84 C55 92 55 101 50 110 C45 101 45 92 50 84 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.hero-binnen {
  position: relative; max-width: var(--maat); margin: 0 auto;
  padding: 170px 28px 110px;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
}
.hero .wapen-figuur { width: 220px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4)); }
.hero h1 {
  color: var(--zilver); font-size: clamp(44px, 7vw, 78px); font-weight: 600;
  letter-spacing: 0.02em;
}
.hero .ondertitel {
  font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.6vw, 25px);
  color: var(--goud-licht); max-width: 640px;
}
.hero .motto {
  font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(247, 245, 239, 0.72);
  display: flex; align-items: center; gap: 18px;
}
.hero .motto::before, .hero .motto::after {
  content: ""; width: 54px; height: 1px; background: rgba(201, 163, 56, 0.6);
}
.hero-acties { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Compacte hero voor binnenpagina's */
.hero.hero-pagina .hero-binnen { padding: 150px 28px 70px; }
.hero.hero-pagina h1 { font-size: clamp(36px, 5vw, 56px); }

/* Overloop van hero naar inhoud */
.hero-overloop {
  height: 110px; margin-top: -1px;
  background: linear-gradient(180deg, var(--sinopel) 0%, var(--zilver) 100%);
}

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */

.knop {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--overgang);
}
.knop-goud { background: var(--goud); color: var(--sinopel-nacht); }
.knop-goud:hover { background: var(--goud-licht); color: var(--sinopel-nacht); transform: translateY(-2px); }
.knop-omlijnd { border-color: rgba(247, 245, 239, 0.5); color: var(--zilver); background: transparent; }
.knop-omlijnd:hover { border-color: var(--goud-licht); color: var(--goud-licht); transform: translateY(-2px); }
.knop-groen { background: var(--sinopel); color: var(--zilver); }
.knop-groen:hover { background: var(--sinopel-diep); color: var(--zilver); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */

.sectie { padding: 96px 0; }
.sectie-perkament { background: linear-gradient(180deg, var(--zilver) 0%, var(--perkament) 18%, var(--perkament) 82%, var(--zilver) 100%); }
.sectie-donker {
  background: linear-gradient(170deg, var(--sinopel-diep), var(--sinopel-nacht));
  color: rgba(247, 245, 239, 0.88);
}
.sectie-donker h2, .sectie-donker h3 { color: var(--zilver); }

.sectie-kop { text-align: center; max-width: 700px; margin: 0 auto 58px; }
.sectie-kop .boventitel {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--goud-diep); font-weight: 600; display: block; margin-bottom: 14px;
}
.sectie-donker .sectie-kop .boventitel { color: var(--goud-licht); }
.sectie-kop h2 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 18px; }
.sectie-kop p { color: var(--inkt-zacht); font-size: 18px; }
.sectie-donker .sectie-kop p { color: rgba(247, 245, 239, 0.75); }

.proza { font-size: 18px; }
.proza p + p { margin-top: 1.4em; }
.proza .initiaal::first-letter {
  font-family: var(--serif); font-size: 74px; line-height: 0.8;
  float: left; padding: 8px 12px 0 0; color: var(--sinopel); font-weight: 700;
}

/* --------------------------------------------------------------------------
   Tijdlijn
   -------------------------------------------------------------------------- */

.tijdlijn { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; }
.tijdlijn::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px;
  background: linear-gradient(180deg, transparent, var(--goud) 8%, var(--goud) 92%, transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative; width: 50%; padding: 0 48px 64px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::before {
  content: ""; position: absolute; top: 10px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--perkament); border: 2.5px solid var(--goud);
}
.tl-item:nth-child(odd)::before { right: -7px; }
.tl-item:nth-child(even)::before { left: -7px; }
.tl-jaar {
  font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--sinopel);
  display: block; margin-bottom: 6px;
}
.tl-item h3 { font-size: 21px; margin-bottom: 8px; }
.tl-item p { color: var(--inkt-zacht); font-size: 16px; }

/* --------------------------------------------------------------------------
   Kaarten
   -------------------------------------------------------------------------- */

.kaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.kaart {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 18px;
  padding: 40px 34px; display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.kaart:hover { transform: translateY(-6px); box-shadow: var(--schaduw); }
.kaart .embleem {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--sinopel-licht); color: var(--sinopel);
  display: flex; align-items: center; justify-content: center;
}
.kaart h3 { font-size: 25px; }
.kaart p { color: var(--inkt-zacht); font-size: 16px; flex: 1; }
.kaart .verder { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Wapenpagina: ontleding
   -------------------------------------------------------------------------- */

.ontleding { display: grid; grid-template-columns: minmax(320px, 460px) 1fr; gap: 64px; align-items: start; }
.ontleding-figuur { position: sticky; top: 110px; }
.ontleding-figuur .paneel {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 20px;
  padding: 36px 28px; box-shadow: var(--schaduw);
}
.element-lijst { display: flex; flex-direction: column; gap: 18px; }
.element {
  background: var(--wit); border: 1px solid var(--lijn); border-left: 4px solid var(--sinopel);
  border-radius: 14px; padding: 26px 30px;
  transition: transform var(--overgang), box-shadow var(--overgang), border-color var(--overgang);
}
.element:hover, .element.actief { transform: translateX(6px); box-shadow: var(--schaduw); border-left-color: var(--goud); }
.element h3 { font-size: 22px; margin-bottom: 6px; display: flex; align-items: baseline; gap: 12px; }
.element .vaktermen { font-size: 13px; color: var(--inkt-zacht); font-style: italic; font-family: var(--serif); }
.element p { color: var(--inkt-zacht); font-size: 16px; margin-bottom: 10px; }
.element .lemma-link { font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* Blazoenblok */
.blazoen {
  background: var(--perkament); border: 1px solid var(--perkament-diep); border-radius: 20px;
  padding: 46px 52px; position: relative;
  font-family: var(--serif); font-size: 22px; line-height: 1.8; color: var(--inkt);
}
.blazoen::before {
  content: "\201C"; position: absolute; top: -6px; left: 26px;
  font-family: var(--serif); font-size: 110px; color: var(--goud); opacity: 0.55;
}
.blazoen .bronregel { font-family: var(--sans); font-size: 13.5px; color: var(--inkt-zacht); margin-top: 18px; font-style: normal; }

/* --------------------------------------------------------------------------
   Encyclopedie
   -------------------------------------------------------------------------- */

.zoekbalk {
  display: flex; align-items: center; gap: 14px;
  background: var(--wit); border: 1.5px solid var(--lijn); border-radius: 999px;
  padding: 8px 10px 8px 28px; max-width: 640px; margin: 0 auto;
  box-shadow: 0 10px 34px rgba(12, 58, 33, 0.1);
}
.zoekbalk input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--sans); font-size: 17px; color: var(--inkt);
}
.zoekbalk .knop { padding: 12px 26px; }

.filterrij { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.filter {
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--lijn);
  background: var(--wit); color: var(--inkt-zacht); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all var(--overgang);
}
.filter:hover, .filter.actief { background: var(--sinopel); border-color: var(--sinopel); color: var(--zilver); }

.lemma-rooster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.lemma-kaart {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 16px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.lemma-kaart:hover { transform: translateY(-5px); box-shadow: var(--schaduw); }
.lemma-kaart .typelabel {
  align-self: flex-start; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--sinopel); background: var(--sinopel-licht);
  padding: 4px 12px; border-radius: 999px;
}
.lemma-kaart h3 { font-size: 23px; }
.lemma-kaart .termen { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--inkt-zacht); }
.lemma-kaart p { font-size: 15px; color: var(--inkt-zacht); }

.dossier-rooster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dossier {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 14px;
  padding: 24px 22px; transition: transform var(--overgang), box-shadow var(--overgang);
}
.dossier:hover { transform: translateY(-4px); box-shadow: var(--schaduw); }
.dossier .nummer { font-family: var(--serif); font-size: 15px; color: var(--goud-diep); font-weight: 700; letter-spacing: 0.1em; }
.dossier h3 { font-size: 18px; margin-top: 6px; line-height: 1.35; }

/* --------------------------------------------------------------------------
   Lemma-pagina
   -------------------------------------------------------------------------- */

.kruimelpad { font-size: 13.5px; color: var(--inkt-zacht); letter-spacing: 0.04em; margin-bottom: 26px; }
.kruimelpad a { color: var(--inkt-zacht); }
.kruimelpad a:hover { color: var(--sinopel); }
.kruimelpad .scheider { margin: 0 8px; color: var(--goud); }

.lemma-kop { border-bottom: 1px solid var(--lijn); padding-bottom: 34px; margin-bottom: 44px; }
.lemma-kop h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 10px; }
.lemma-kop .termen { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--inkt-zacht); margin-bottom: 20px; }
.lemma-kop .definitie { font-size: 21px; line-height: 1.7; max-width: 760px; }

.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 13px; border-radius: 999px;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-vastgelegd { background: var(--sinopel-licht); color: var(--sinopel); }
.status-folklore { background: #f7ecd4; color: #8a6a14; }
.status-onzeker { background: #f2e5e0; color: #93502f; }

.laag { padding: 40px 0; border-bottom: 1px solid var(--lijn); }
.laag:last-of-type { border-bottom: none; }
.laag .laagkop { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.laag .laagnummer {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--goud-diep);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.laag h2 { font-size: 28px; }
.laag p + p { margin-top: 1.2em; }
.noot-verwijzing { color: var(--sinopel); font-size: 0.82em; vertical-align: super; font-weight: 600; }

.loeff-blok {
  background: linear-gradient(135deg, var(--sinopel-diep), var(--sinopel));
  color: rgba(247, 245, 239, 0.92); border-radius: 18px; padding: 36px 40px;
  display: flex; gap: 28px; align-items: center; margin: 46px 0;
}
.loeff-blok h3 { color: var(--goud-licht); font-size: 24px; margin-bottom: 8px; }
.loeff-blok p { font-size: 16px; }
.loeff-blok .mini-wapen { width: 90px; flex-shrink: 0; }

.notenblok { background: var(--perkament); border-radius: 16px; padding: 34px 38px; margin-top: 48px; }
.notenblok h3 { font-size: 20px; margin-bottom: 16px; }
.notenblok ol { padding-left: 22px; font-size: 15px; color: var(--inkt-zacht); }
.notenblok li + li { margin-top: 8px; }

.verwant-rij { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.verwant {
  font-size: 14.5px; font-weight: 500; padding: 8px 20px; border-radius: 999px;
  background: var(--wit); border: 1px solid var(--lijn); color: var(--inkt);
  transition: all var(--overgang);
}
.verwant:hover { border-color: var(--sinopel); color: var(--sinopel); }

/* --------------------------------------------------------------------------
   Archivaris (AI-assistent)
   -------------------------------------------------------------------------- */

.archivaris-knop {
  position: fixed; right: 28px; bottom: 28px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  background: var(--sinopel-diep); color: var(--zilver);
  border: 1px solid rgba(201, 163, 56, 0.5); border-radius: 999px;
  padding: 14px 24px; font-family: var(--sans); font-size: 14.5px; font-weight: 600;
  cursor: pointer; box-shadow: 0 14px 40px rgba(8, 41, 23, 0.45);
  transition: transform var(--overgang), background var(--overgang);
}
.archivaris-knop:hover { transform: translateY(-3px); background: var(--sinopel); }
.archivaris-knop .punt { width: 9px; height: 9px; border-radius: 50%; background: var(--goud); }

.archivaris-paneel {
  position: fixed; right: 28px; bottom: 100px; z-index: 71;
  width: min(430px, calc(100vw - 40px)); max-height: min(640px, calc(100vh - 140px));
  background: var(--wit); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(8, 41, 23, 0.4);
  display: none; flex-direction: column;
  border: 1px solid var(--lijn);
}
.archivaris-paneel.open { display: flex; }
.arch-kop {
  background: linear-gradient(135deg, var(--sinopel-nacht), var(--sinopel-diep));
  color: var(--zilver); padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
}
.arch-kop .titel { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.arch-kop .sub { font-size: 12px; color: var(--goud-licht); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }
.arch-kop button { background: none; border: none; color: rgba(247, 245, 239, 0.7); font-size: 22px; cursor: pointer; line-height: 1; }
.arch-berichten { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--zilver); }
.bericht { max-width: 88%; padding: 14px 18px; border-radius: 16px; font-size: 14.5px; line-height: 1.65; }
.bericht.vraag { align-self: flex-end; background: var(--sinopel); color: var(--zilver); border-bottom-right-radius: 4px; }
.bericht.antwoord { align-self: flex-start; background: var(--wit); border: 1px solid var(--lijn); border-bottom-left-radius: 4px; }
.bericht.antwoord .nootjes { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--lijn); font-size: 12.5px; color: var(--inkt-zacht); }
.bericht.antwoord .statusregel { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: #8a6a14; background: #f7ecd4; border-radius: 999px; padding: 3px 10px; }
.arch-suggesties { padding: 14px 20px; display: flex; gap: 8px; flex-wrap: wrap; background: var(--zilver); border-top: 1px solid var(--lijn); }
.suggestie {
  font-size: 13px; padding: 7px 15px; border-radius: 999px; cursor: pointer;
  background: var(--wit); border: 1px solid var(--lijn); color: var(--sinopel); font-weight: 500;
  transition: all var(--overgang);
}
.suggestie:hover { background: var(--sinopel); color: var(--zilver); border-color: var(--sinopel); }
.arch-voet { padding: 12px 20px 16px; background: var(--zilver); font-size: 11.5px; color: var(--inkt-zacht); text-align: center; }

/* --------------------------------------------------------------------------
   Voettekst
   -------------------------------------------------------------------------- */

.voet {
  background: var(--sinopel-nacht); color: rgba(247, 245, 239, 0.66);
  padding: 72px 0 40px; font-size: 14.5px;
}
.voet-rooster { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.voet h4 { color: var(--zilver); font-size: 19px; margin-bottom: 14px; }
.voet .merk { font-family: var(--serif); font-size: 28px; color: var(--zilver); font-weight: 700; margin-bottom: 10px; }
.voet .mottoregel { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--goud-licht); margin-bottom: 16px; }
.voet ul { list-style: none; }
.voet li + li { margin-top: 9px; }
.voet a { color: rgba(247, 245, 239, 0.66); }
.voet a:hover { color: var(--goud-licht); }
.voet-onder {
  border-top: 1px solid rgba(247, 245, 239, 0.14); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}

/* --------------------------------------------------------------------------
   Tweekoloms-blokken
   -------------------------------------------------------------------------- */

.twee-kolom { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.concept-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 52px 0; }
.cijfer-rij { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) {
  .twee-kolom { grid-template-columns: 1fr; gap: 40px; }
  .concept-rij { grid-template-columns: 1fr; }
  .cijfer-rij { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Onthulling bij scrollen
   -------------------------------------------------------------------------- */

.onthul { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.onthul.zichtbaar { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsief
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .kaarten, .lemma-rooster { grid-template-columns: 1fr 1fr; }
  .dossier-rooster { grid-template-columns: 1fr 1fr; }
  .ontleding { grid-template-columns: 1fr; }
  .ontleding-figuur { position: static; max-width: 380px; margin: 0 auto; }
  .voet-rooster { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .kaarten, .lemma-rooster, .dossier-rooster, .voet-rooster { grid-template-columns: 1fr; }
  .tijdlijn::before { left: 10px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding: 0 0 48px 42px; }
  .tl-item:nth-child(odd)::before, .tl-item:nth-child(even)::before { left: 4px; right: auto; }
  .blazoen { padding: 36px 28px; font-size: 19px; }
}
