:root {
  --asfalt: #2c2f34;
  --asfalt-2: #363a40;
  --lijn: #f4f4ee;
  --blauw: #0b5fb0;
  --blauw-2: #0a4f93;
  --groen: #1f8a3b;
  --rood: #d62f2f;
  --geel: #ffc400;
  --oranje: #ff8f00;
  --inkt: #1d1f22;
  --papier: #ffffff;
  --licht: #f4f1e8;
  --schaduw: rgba(29,31,34,.22);
  --radius: 14px;
  --font: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--inkt);
  background:
    radial-gradient(circle, rgba(0,0,0,.035) 1px, transparent 1.6px) 0 0 / 14px 14px,
    var(--licht);
  line-height: 1.4;
}

/* Wegmarkering langs beide kanten van het scherm */
body::before, body::after {
  content: "";
  position: fixed;
  top: 0; bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(to bottom, var(--geel) 0 40px, transparent 40px 70px);
  opacity: .7;
  pointer-events: none;
  z-index: 0;
}
body::before { left: 10px; }
body::after { right: 10px; }

a { color: inherit; }

.pagina {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 22px 40px;
}

/* ── Kop als blauw wegwijzerbord ────────────────────────────── */
.kop {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px 0 22px;
  padding: 14px 18px;
  background: var(--blauw);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px var(--blauw), inset 0 0 0 7px var(--lijn), 0 10px 0 rgba(0,0,0,.35);
  text-decoration: none;
}
.kop .logo {
  font-size: clamp(22px, 5.4vw, 34px);
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--papier);
}
.kop .logo b { color: var(--geel); }
.kop .logo .gratis {
  display: inline-block;
  margin-right: 4px;
  padding: 0 8px;
  color: var(--inkt);
  background: var(--geel);
  border-radius: 6px;
  transform: rotate(-3deg);
}
.kop .kruimel { font-weight: 700; opacity: .9; font-size: 16px; }
.kop .kruimel a { text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4); }
.kop .kruimel a:hover { border-color: var(--geel); }

h1, h2, h3 { line-height: 1.15; margin: 0; }
h2.sectie {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 14px;
  padding: 6px 16px 6px 12px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--inkt);
  background: var(--geel);
  border-radius: 8px;
  box-shadow: 0 5px 0 rgba(0,0,0,.35);
}

.intro { font-size: 18px; max-width: 680px; }

/* ── Hoofdpagina ────────────────────────────────────────────── */
.held h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 7vw, 52px);
  font-weight: 900;
  line-height: 1.05;
}
.held h1 span {
  display: inline-block;
  padding: 0 10px;
  background: var(--geel);
  border-radius: 8px;
  box-shadow: 0 5px 0 var(--inkt);
  transform: rotate(-1.5deg);
}
.voordelen { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.voordelen li {
  padding: 6px 12px 6px 32px;
  font-weight: 800;
  background: var(--papier) no-repeat 10px 50% / 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l3 3 7-7' stroke='%231f8a3b' stroke-width='3' fill='none'/%3E%3C/svg%3E");
  border: 3px solid var(--inkt);
  border-radius: 999px;
}

.blokken { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.blok {
  padding: 18px 20px;
  background: var(--papier);
  border: 3px solid var(--inkt);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--schaduw);
}
.blok h3 { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.blok.goed { border-color: var(--groen); box-shadow: 0 8px 0 var(--groen); }
.blok.tekst p { margin: 0 0 10px; font-size: 17px; max-width: 760px; }
.blok.tekst p:last-child { margin: 0; }
.tegen, .voor { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 17px; font-weight: 700; }
.tegen li, .voor li { position: relative; padding-left: 30px; }
.tegen li::before, .voor li::before {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 22px; height: 22px;
  font-size: 14px; font-weight: 900;
  color: #fff;
  border-radius: 50%;
}
.tegen li { color: #6b7078; }
.tegen li::before { content: "✕"; background: var(--rood); }
.voor li::before { content: "✓"; background: var(--groen); }

.faq { display: grid; gap: 10px; }
.faq details {
  padding: 12px 16px;
  background: var(--papier);
  border: 3px solid var(--inkt);
  border-radius: 12px;
}
.faq summary { font-size: 18px; font-weight: 900; cursor: pointer; }
.faq p { margin: 8px 0 0; font-size: 17px; }

/* ── Rijbewijskeuze (hoofdpagina) ───────────────────────────── */
.rijbewijzen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.rb {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  min-height: 210px;
  color: var(--papier);
  text-decoration: none;
  background: var(--blauw);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px var(--blauw), inset 0 0 0 7px var(--lijn), 0 10px 0 rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rb:hover { transform: translateY(-4px) rotate(-.6deg); }
.rb .letter {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  font-size: 40px;
  font-weight: 900;
  color: var(--inkt);
  background: var(--geel);
  border: 4px solid var(--inkt);
  border-radius: 12px;
}
.rb h3 { font-size: 26px; font-weight: 900; }
.rb p { margin: 0; opacity: .9; }
.rb .badge { margin-top: auto; align-self: flex-start; }
.rb.dicht {
  background: #e2e4e7;
  box-shadow: inset 0 0 0 4px #e2e4e7, inset 0 0 0 7px #9aa0a6, 0 10px 0 var(--schaduw);
  color: #5f6670;
}
.rb.dicht .letter { background: #c3c7cc; color: #5f6670; border-color: #9aa0a6; }
.rb.focus { outline: 4px solid var(--geel); outline-offset: 5px; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--inkt);
  background: var(--geel);
  border-radius: 6px;
}
.badge.grijs { background: #6b7078; color: #fff; }

/* ── Categoriekaarten ───────────────────────────────────────── */
.categorieen {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.cat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  color: var(--papier);
  text-decoration: none;
  background: var(--blauw);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 4px var(--blauw), inset 0 0 0 7px var(--lijn), 0 10px 0 rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.cat:hover { transform: translateY(-4px) rotate(.5deg); }
.cat .boven { display: flex; align-items: center; gap: 14px; }
.cat .icoon {
  flex: none;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  background: var(--papier);
  border-radius: 12px;
  border: 3px solid var(--inkt);
}
.cat .icoon svg, .cat .icoon img { width: 46px; height: 46px; }
.cat h3 { font-size: 23px; font-weight: 900; }
.cat .stand { font-size: 15px; opacity: .92; }
.cat .stand b { color: var(--geel); }
.subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.subs li {
  padding: 3px 9px;
  font-size: 13.5px;
  font-weight: 700;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
}
.subs li span { opacity: .7; font-weight: 600; }
.subs li.klaar { background: var(--geel); color: var(--inkt); border-color: var(--geel); }
.cat .beste { font-size: 14px; font-weight: 800; color: var(--geel); }

/* ── Examenkaart met waarschuwingsstrepen ───────────────────── */
.examenkaart {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  color: var(--inkt);
  text-decoration: none;
  background: var(--papier);
  border-radius: var(--radius);
  border: 12px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--geel) 0 16px, var(--inkt) 16px 32px) 12;
  box-shadow: 0 10px 0 rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.examenkaart:hover { transform: translateY(-4px); }
.examenkaart h3 { font-size: 28px; font-weight: 900; }
.examenkaart ul { margin: 8px 0 0; padding-left: 18px; font-size: 16px; }

/* ── Matrixbord (timer) ─────────────────────────────────────── */
.matrix {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffb300;
  text-shadow: 0 0 8px rgba(255,179,0,.9);
  background:
    radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1.6px) 0 0 / 6px 6px,
    #0d0d0d;
  border: 5px solid #444;
  border-radius: 10px;
  box-shadow: inset 0 0 18px rgba(0,0,0,.9);
  white-space: nowrap;
}
.matrix.klein { font-size: 24px; padding: 6px 12px; }
.matrix.krap { color: #ff3b30; text-shadow: 0 0 10px rgba(255,59,48,.9); animation: knipper 1s steps(2) infinite; }
@keyframes knipper { 50% { opacity: .45; } }

/* ── Quiz ───────────────────────────────────────────────────── */
.quizkop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.quizkop h1 { font-size: clamp(24px, 5vw, 34px); font-weight: 900; }
.teller {
  font-size: 22px;
  font-weight: 900;
  padding: 6px 14px;
  color: var(--inkt);
  background: var(--geel);
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0,0,0,.35);
  white-space: nowrap;
}

/* Voortgang als weg met rijdende vrachtauto */
.weg {
  position: relative;
  height: 34px;
  margin: 6px 0 20px;
  background: var(--asfalt-2);
  border-top: 3px solid var(--lijn);
  border-bottom: 3px solid var(--lijn);
  border-radius: 4px;
  overflow: hidden;
}
.weg::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, var(--lijn) 0 18px, transparent 18px 32px);
  opacity: .8;
}
.weg .gereden {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(255,196,0,.15), rgba(255,196,0,.45));
  transition: width .4s ease;
}
.weg .wagen {
  position: absolute; top: 3px;
  width: 48px; height: 22px;
  transform: translateX(-100%);
  transition: left .4s ease;
}

.kaart {
  padding: clamp(14px, 3.5vw, 26px);
  color: var(--inkt);
  background: var(--papier);
  border-radius: var(--radius);
  box-shadow: 0 10px 0 rgba(0,0,0,.35);
}

.beeld {
  display: grid;
  place-items: center;
  margin: -4px 0 18px;
  overflow: hidden;
  border-radius: 10px;
  border: 4px solid var(--inkt);
  background: #6cc4ff;
}
.beeld svg { display: block; width: 100%; height: auto; }
.beeld .situatie { display: block; width: 100%; height: auto; }

/* Officiële borden op een paal tegen lucht */
.borden {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(16px, 6vw, 60px);
  width: 100%;
  padding: 22px 12px 0;
  background:
    linear-gradient(to top, #3d4148 0 26px, #6fae3e 26px 40px, transparent 40px),
    linear-gradient(#6cc4ff, #dff3ff);
}
.bord { display: flex; flex-direction: column; align-items: center; }
.bord img {
  display: block;
  width: auto;
  max-width: min(180px, 36vw);
  max-height: 170px;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.25));
}
.bord img + img { margin-top: 6px; max-height: 110px; }
.bord .paal { width: 12px; height: 56px; background: linear-gradient(90deg, #9aa0a6, #d5d9dd, #9aa0a6); border: 2px solid var(--inkt); border-bottom: 0; }
.bord .code {
  position: relative; top: -2px;
  padding: 2px 8px;
  font-size: 12px; font-weight: 800;
  color: #fff; background: var(--inkt);
  border-radius: 4px;
}

.vraag { font-size: clamp(20px, 4.4vw, 26px); font-weight: 800; margin: 0 0 16px; }

.opties { display: grid; gap: 10px; }
.optie {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: var(--inkt);
  background: #f2f4f6;
  border: 3px solid var(--inkt);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--inkt);
  transition: transform .08s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.optie:hover:not(:disabled) { background: #fff6d1; }
.optie:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--inkt); }
.optie .letter {
  flex: none;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  font-weight: 900;
  color: var(--inkt);
  background: var(--geel);
  border: 3px solid var(--inkt);
  border-radius: 50%;
}
.optie.gekozen { background: #fff1b3; outline: 3px solid var(--oranje); outline-offset: 2px; }
.optie.goed { background: #c8f2d0; }
.optie.goed .letter { background: var(--groen); color: #fff; }
.optie.fout { background: #ffd0cc; }
.optie.fout .letter { background: var(--rood); color: #fff; }
.optie:disabled { cursor: default; }

.uitleg {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 17px;
  border-left: 8px solid var(--groen);
  background: #eef9f0;
  border-radius: 8px;
}
.uitleg.fout { border-color: var(--rood); background: #fff0ee; }
.uitleg h3 { font-size: 20px; margin-bottom: 4px; }
.uitleg p { margin: 0; }
.uitleg .wet { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: #555; }

/* ?list=all: alle vragen onder elkaar */
.lijstvraag { margin-bottom: 22px; }
.lijstkop { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 18px; }
.lijstkop code { margin-left: auto; font-size: 13px; color: #666; }
.beeldnodig { margin: 0 0 12px; padding: 8px 12px; font-size: 14px; font-weight: 700; background: #fff3cd; border: 2px dashed #b38600; border-radius: 8px; }

/* Toon foto: echte foto van het onderdeel, opent onder de knop */
.foto { margin: -6px 0 18px; }
.uitleg .foto { margin: 14px 0 0; }
.foto summary { min-height: 44px; padding: 6px 16px; font-size: 16px; list-style: none; }
.foto summary::-webkit-details-marker { display: none; }
.foto summary svg { width: 22px; height: 22px; }
.foto .verberg, .foto[open] .toon { display: none; }
.foto[open] .verberg { display: inline; }
.foto figure { margin: 12px 0 0; }
.foto img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #1d1f22; border: 4px solid var(--inkt); border-radius: 10px; }
.foto figcaption { margin-top: 6px; font-size: 15px; font-weight: 700; }
.foto figcaption small { font-size: 12px; font-weight: 600; color: #666; }
.foto figcaption a { color: inherit; }

.knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  padding: 10px 20px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  color: var(--inkt);
  background: var(--geel);
  border: 3px solid var(--inkt);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--inkt);
  cursor: pointer;
}
.knop:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--inkt); }
.knop:disabled { opacity: .45; cursor: default; }
.knop.blauw { background: var(--blauw); color: #fff; }
.knop.licht { background: #e9ecef; }
.knop.stop { background: var(--rood); color: #fff; }
.knop.breed { flex: 1; }

/* Examen-navigator */
.navigator { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.navigator button {
  width: 44px; height: 44px;
  font: inherit; font-size: 18px; font-weight: 900;
  color: var(--lijn);
  background: var(--asfalt-2);
  border: 3px solid #6b7078;
  border-radius: 8px;
  cursor: pointer;
}
.navigator button.beantwoord { background: #5f6670; border-color: var(--lijn); }
.navigator button.huidig { background: var(--geel); color: var(--inkt); border-color: var(--inkt); }

/* Uitslag */
.uitslag { text-align: center; }
.uitslag .score {
  display: inline-grid; place-items: center;
  width: 150px; height: 150px;
  margin: 6px auto 12px;
  font-size: 46px; font-weight: 900;
  border-radius: 50%;
  border: 10px solid var(--groen);
}
.uitslag.gezakt .score { border-color: var(--rood); }
.uitslag h2 { font-size: 32px; font-weight: 900; }
.terugblik { display: grid; gap: 14px; margin-top: 22px; text-align: left; }
.terugblik .item { padding: 14px; border: 3px solid var(--inkt); border-radius: 12px; }
.terugblik .item.goed { border-left: 12px solid var(--groen); }
.terugblik .item.fout { border-left: 12px solid var(--rood); }
.terugblik .item h4 { margin: 0 0 6px; font-size: 18px; }
.terugblik .item p { margin: 4px 0; }

/* Lege pagina (A/B) */
.binnenkort {
  display: grid; place-items: center; gap: 14px;
  padding: 50px 20px;
  text-align: center;
  color: var(--inkt);
  background: var(--papier);
  border: 12px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--geel) 0 16px, var(--inkt) 16px 32px) 12;
  border-radius: var(--radius);
}
.binnenkort h1 { font-size: 34px; font-weight: 900; }

.tekstpagina {
  max-width: 760px;
  padding: 24px 28px;
  font-size: 17px;
  line-height: 1.5;
  background: var(--papier);
  border: 3px solid var(--inkt);
  border-radius: var(--radius);
}
.tekstpagina h1 { margin-top: 0; font-size: 32px; font-weight: 900; }
.tekstpagina h2 { margin: 24px 0 6px; font-size: 21px; font-weight: 900; }
.tekstpagina .knop { margin-top: 18px; }

/* Disclaimer */
.disclaimer {
  margin-top: 40px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: #3d4148;
  background: rgba(255,255,255,.7);
  border: 2px dashed #9aa0a6;
  border-radius: 10px;
}
.disclaimer strong { color: var(--inkt); }
.disclaimer p { margin: 0 0 6px; }
.disclaimer p:last-child { margin: 0; }
.disclaimer .voetlinks { margin-top: 10px; font-weight: 700; }

/* Cookiebanner: weigeren moet even makkelijk zijn als accepteren, dus beide knoppen gelijk. */
.cookiebanner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 1000;
  width: min(720px, calc(100% - 24px));
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--inkt);
  background: var(--papier);
  border: 3px solid var(--inkt);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--schaduw);
}
.cookiebanner p { margin: 0; }
.cookieknoppen { display: flex; gap: 10px; flex-shrink: 0; }
.cookieknoppen .knop { min-width: 110px; justify-content: center; }

/* ── Mobiel ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  body::before, body::after { display: none; }
  .pagina { padding: 10px 12px 32px; }
  .kop { padding: 12px 14px; margin-bottom: 16px; }
  h2.sectie { font-size: 20px; margin-top: 22px; }
  .examenkaart { grid-template-columns: 1fr; }
  .cookiebanner { flex-direction: column; align-items: stretch; bottom: 8px; font-size: 14px; }
  .cookieknoppen .knop { flex: 1; }
  .examenkaart .matrix { justify-self: start; }
  .matrix { font-size: 26px; }
  .optie { font-size: 16.5px; }
  .knoppen .knop { flex: 1 1 100%; }
  .navigator button { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.paginatitel { margin: 4px 0 6px; font-size: clamp(28px, 6vw, 40px); font-weight: 900; }

/* ── Inklapbare secties (overzicht C) ───────────────────────── */
.uitklap { margin-top: 18px; }
.uitklap > summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 16px 56px 16px 20px;
  position: relative;
  list-style: none;
  cursor: pointer;
  color: var(--inkt);
  background: var(--geel);
  border: 4px solid var(--inkt);
  border-radius: var(--radius);
  box-shadow: 0 7px 0 var(--inkt);
  -webkit-tap-highlight-color: transparent;
}
.uitklap > summary::-webkit-details-marker { display: none; }
.uitklap > summary::after {
  content: "";
  position: absolute; right: 18px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -10px;
  border-right: 5px solid var(--inkt);
  border-bottom: 5px solid var(--inkt);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.uitklap[open] > summary::after { transform: rotate(-135deg); margin-top: -3px; }
.uitklap > summary h2 { font-size: clamp(26px, 6vw, 34px); font-weight: 900; text-transform: uppercase; }
.uitklap > summary .samenvatting { font-size: 17px; font-weight: 700; }
.uitklap[open] > summary { margin-bottom: 18px; }
.uitklap > summary:active { transform: translateY(3px); box-shadow: 0 4px 0 var(--inkt); }

/* Categoriekaart: kop en subcategorieën zijn losse links */
.cat:hover { transform: none; }
.cat .boven { color: inherit; text-decoration: none; }
.cat .boven:hover h3 { text-decoration: underline; text-decoration-color: var(--geel); text-decoration-thickness: 3px; }
.subs li { color: rgba(255,255,255,.75); }
.subs li.klaar { padding: 0; }
.subs li.klaar a {
  display: inline-block;
  padding: 3px 9px;
  color: var(--inkt);
  text-decoration: none;
  border-radius: 999px;
}
.subs li.klaar a::after { content: " →"; font-weight: 900; }
.subs li.klaar:hover { background: #fff; border-color: #fff; }
.cat .knop { align-self: flex-start; margin-top: auto; min-height: 44px; font-size: 16px; }

.rb-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rb .voertuig { width: 120px; height: auto; flex: none; }
.rb.dicht .voertuig { filter: grayscale(1) opacity(.55); }
