/*
 * marifoonoefenen.nl
 * Rustig, maritiem, goed leesbaar. Basis 18px, hoog contrast, mobiel eerst.
 */

:root {
  --zee: #0b2a4a;
  --zee-diep: #071d35;
  --zee-licht: #1b4470;
  --wit: #ffffff;
  --signaal: #f5a00f;
  --signaal-hover: #ffb52e;
  --inkt: #10243a;
  --grijs: #4a5d70;
  --vlak: #eef3f7;
  --lijn: #c9d5e0;
  --goed: #1d7a46;
  --goed-vlak: #e6f4ec;
  --fout: #b42318;
  --fout-vlak: #fbeceb;
  --focus: #f5a00f;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maat: 1.125rem;
  --tekstbreedte: 40rem;
  --paginabreedte: 72rem;
  --rand: 1rem;
  --radius: 8px;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--wit);
  color: var(--inkt);
  font-family: var(--font);
  font-size: var(--maat);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--zee);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.3rem; }
p, ul, ol, dl { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }

a { color: var(--zee-licht); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--zee); text-decoration-thickness: 2px; }

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

strong { font-weight: 800; }
code, .code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.skiplink {
  position: absolute; left: -999px; top: 0;
  background: var(--signaal); color: var(--zee); padding: .7rem 1rem; font-weight: 800; z-index: 100;
}
.skiplink:focus { left: 1rem; top: 1rem; }

.lead { font-size: 1.25rem; line-height: 1.55; color: var(--grijs); max-width: 36rem; }
.klein { font-size: 1rem; color: var(--grijs); }
.lijst-ruim li + li { margin-top: .6em; }

/* Containers */

.smal, .breed {
  width: 100%;
  margin: 0 auto;
  padding: 3rem var(--rand) 4rem;
}
.smal { max-width: calc(var(--tekstbreedte) + 2 * var(--rand)); }
.breed { max-width: calc(var(--paginabreedte) + 2 * var(--rand)); }
.binnen { max-width: var(--paginabreedte); margin: 0 auto; padding: 0 var(--rand); }

/* Header */

.kop { background: var(--zee); color: var(--wit); position: relative; z-index: 10; }
.kop-binnen {
  max-width: var(--paginabreedte); margin: 0 auto; padding: .8rem var(--rand);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem;
}
.merk {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--wit); text-decoration: none; font-weight: 800; font-size: 1.2rem;
}
.merk:hover { color: var(--wit); }
.merk-icoon { width: 2rem; height: 2rem; flex: none; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.1rem; }
.nav li + li { margin-top: 0; }
.nav a, .nav-knop {
  color: var(--wit); text-decoration: none; font-size: 1rem; font-weight: 600;
  padding: .45rem 0; display: inline-block; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav-knop:hover { text-decoration: underline; text-underline-offset: .25em; color: var(--wit); }
.nav a.nav-cta {
  background: var(--signaal); color: var(--zee); padding: .45rem .9rem; border-radius: 6px;
}
.nav a.nav-cta:hover { background: var(--signaal-hover); text-decoration: none; color: var(--zee); }
.nav-form { margin: 0; }

/* Knoppen */

.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .75rem 1.4rem;
  font: inherit; font-weight: 800; font-size: 1.1rem; line-height: 1.2;
  border-radius: 6px; border: 2px solid transparent; cursor: pointer; text-decoration: none;
  text-align: center;
}
.knop-signaal { background: var(--signaal); color: var(--zee); }
.knop-signaal:hover { background: var(--signaal-hover); color: var(--zee); }
.knop-zee { background: var(--zee); color: var(--wit); }
.knop-zee:hover { background: var(--zee-licht); color: var(--wit); }
.knop-licht { background: transparent; color: var(--zee); border-color: var(--zee); }
.knop-licht:hover { background: var(--vlak); color: var(--zee); }
.op-donker .knop-licht { color: var(--wit); border-color: rgba(255,255,255,.75); }
.op-donker .knop-licht:hover { background: rgba(255,255,255,.1); color: var(--wit); }
.knop[disabled], .knop[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.knop-klein { min-height: 2.6rem; padding: .45rem 1rem; font-size: 1rem; }
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.link-knop { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Hero (homepage) */

.hero { background: var(--zee); color: var(--wit); position: relative; }
.hero-binnen {
  max-width: var(--paginabreedte); margin: 0 auto; padding: 2.5rem var(--rand) 4.5rem;
  display: grid; gap: 2.5rem;
}
.hero h1 { color: var(--wit); margin-bottom: .45em; }
.hero .lead { color: #d5e1ec; }
.hero-feiten { color: #d5e1ec; font-size: 1.05rem; margin-top: 1.25rem; }
.hero-golf { display: block; width: 100%; height: 36px; position: absolute; left: 0; bottom: -1px; }

@media (min-width: 60rem) {
  .hero-binnen { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 4rem; padding-bottom: 6rem; gap: 4rem; }
}

/* Demo-vraag in de hero: het ene opvallende element */

.demo {
  background: var(--wit); color: var(--inkt); border-radius: 12px;
  padding: 1.5rem 1.25rem 1.25rem; box-shadow: 0 18px 40px rgba(3, 14, 28, .35);
  position: relative;
}
.demo-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.demo-kop h2 { font-size: 1.1rem; margin: 0; color: var(--grijs); font-weight: 600; letter-spacing: 0; }
.demo-kanaal {
  font-weight: 800; color: var(--zee); background: var(--vlak); border-radius: 4px; padding: .1rem .5rem; font-size: .95rem; white-space: nowrap;
}
.demo-vraag { font-size: 1.2rem; font-weight: 600; line-height: 1.45; margin-bottom: 1rem; color: var(--zee); }
.demo .opties { margin-bottom: 0; }
.demo-noscript { margin: 1rem 0 0; }

/* Secties homepage */

.sectie { padding: 4rem 0; }
.sectie-vlak { background: var(--vlak); }
.sectie h2 { max-width: 36rem; }
.sectie-intro { max-width: var(--tekstbreedte); }

.examenregel {
  display: flex; flex-wrap: wrap; gap: .25rem 2.5rem; margin: 2rem 0 1.5rem; padding: 0; list-style: none;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; color: var(--zee); line-height: 1.25;
}
.examenregel li + li { margin-top: 0; }
.examenregel span { display: block; font-size: 1rem; font-weight: 600; color: var(--grijs); letter-spacing: 0; }

.voordelen { display: grid; gap: 2rem 3rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.voordelen li { margin: 0; padding-left: 1.1rem; border-left: 4px solid var(--signaal); }
.voordelen h3 { margin-bottom: .3em; }
.voordelen p { margin: 0; color: var(--grijs); }
@media (min-width: 48rem) { .voordelen { grid-template-columns: 1fr 1fr; } }

.stappen { counter-reset: stap; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.stappen li { counter-increment: stap; position: relative; padding-left: 3.4rem; margin: 0; min-height: 2.5rem; }
.stappen li::before {
  content: counter(stap); position: absolute; left: 0; top: -.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--zee); color: var(--wit);
  display: grid; place-items: center; font-weight: 800;
}
.stappen strong { display: block; color: var(--zee); }
@media (min-width: 60rem) { .stappen { grid-template-columns: repeat(4, 1fr); } }

.prijs {
  background: var(--zee); color: var(--wit); border-radius: 12px; padding: 2rem 1.5rem;
  display: grid; gap: 1.5rem; max-width: 52rem;
}
.prijs h2 { color: var(--wit); }
.prijs-bedrag { font-size: clamp(2.6rem, 2rem + 3vw, 3.6rem); font-weight: 800; line-height: 1; margin: 0 0 .4rem; color: var(--wit); }
.prijs-sub { color: #d5e1ec; margin: 0; }
.prijs ul { list-style: none; padding: 0; margin: 0; }
.prijs li { padding-left: 1.8rem; position: relative; }
.prijs li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .55rem;
  border-left: 3px solid var(--signaal); border-bottom: 3px solid var(--signaal); transform: rotate(-45deg);
}
@media (min-width: 48rem) { .prijs { grid-template-columns: 1fr 1fr; padding: 2.5rem; align-items: center; } }

.onderwerpen-raster { display: grid; gap: 2rem 3rem; margin-top: 2rem; }
.onderwerpen-raster h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.onderwerpen-raster ul { list-style: none; padding: 0; margin: 0; }
.onderwerpen-raster li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--lijn); margin: 0; }
.onderwerpen-raster li span:last-child { color: var(--grijs); white-space: nowrap; }
@media (min-width: 48rem) { .onderwerpen-raster { grid-template-columns: 1fr 1fr; } }

/* FAQ */

.faq { max-width: var(--tekstbreedte); margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq details:first-child { border-top: 1px solid var(--lijn); }
.faq summary {
  cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 800; color: var(--zee); position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 1.45rem; width: .65rem; height: .65rem;
  border-right: 3px solid var(--zee); border-bottom: 3px solid var(--zee); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details > div { padding: 0 0 1.1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* CTA-blok */

.cta-blok {
  background: var(--vlak); border-left: 6px solid var(--signaal); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; margin: 3rem 0 0;
}
.cta-blok h2 { font-size: 1.5rem; }
.cta-blok p { margin-bottom: 0; max-width: 36rem; }

/* Formulieren */

.formulier { max-width: 32rem; }
.veld { margin-bottom: 1.4rem; }
.veld label, .veld .label { display: block; font-weight: 800; margin-bottom: .35rem; color: var(--zee); }
.veld .hulp { display: block; font-size: 1rem; color: var(--grijs); margin-top: .3rem; }
input[type="email"], input[type="text"] {
  width: 100%; font: inherit; font-size: 1.15rem; padding: .75rem .9rem; min-height: 3.25rem;
  border: 2px solid #7d8fa1; border-radius: 6px; background: var(--wit); color: var(--inkt);
}
input[type="email"]:focus, input[type="text"]:focus { border-color: var(--zee); outline: 3px solid var(--focus); outline-offset: 1px; }
input.code-invoer { text-transform: uppercase; letter-spacing: .12em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.vinkje { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.vinkje input { width: 1.5rem; height: 1.5rem; margin: .15rem 0 0; flex: none; accent-color: var(--zee); }
.vinkje label { font-weight: 400; color: var(--inkt); margin: 0; }

.melding { border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.5rem; border-left: 6px solid; }
.melding p:last-child { margin-bottom: 0; }
.melding-fout { background: var(--fout-vlak); border-color: var(--fout); }
.melding-goed { background: var(--goed-vlak); border-color: var(--goed); }
.melding-info { background: var(--vlak); border-color: var(--zee); }

/* Koopblok */

.koop-raster { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .koop-raster { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.koop-samenvatting { background: var(--vlak); border-radius: var(--radius); padding: 1.5rem; }
.koop-samenvatting .prijs-bedrag { color: var(--zee); font-size: 2.6rem; }
.koop-samenvatting ul { padding-left: 1.2rem; margin: 1rem 0 0; }

/* Pakketkaarten (/kopen en homepage) */

.pakket-keuze { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
.pakketten { display: grid; gap: 1rem; align-items: stretch; margin: 1.5rem 0 0; }
@media (min-width: 52rem) { .pakketten { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.pakket-kaart { position: relative; display: flex; }
.pakket-binnen {
  flex: 1; display: flex; flex-direction: column; position: relative;
  background: var(--wit); border: 2px solid var(--lijn); border-radius: 12px;
  padding: 1.5rem 1.25rem 1.4rem;
}
.pakket-kaart.is-aanbevolen .pakket-binnen { border-color: var(--zee); }
.pakket-badge {
  position: absolute; top: -.85rem; left: 1.1rem;
  background: var(--signaal); color: var(--zee); font-weight: 800; font-size: .95rem; line-height: 1.2;
  padding: .3rem .7rem; border-radius: 999px;
}
.pakket-kop { display: block; margin: 0 0 1rem; font-weight: 400; color: var(--inkt); font-size: 1rem; letter-spacing: 0; }
.pakket-naam { display: block; font-size: 1.35rem; font-weight: 800; color: var(--zee); line-height: 1.2; }
.pakket-prijs { display: block; font-size: 2.3rem; font-weight: 800; color: var(--zee); line-height: 1.1; margin: .35rem 0 .2rem; }
.pakket-looptijd { display: block; color: var(--grijs); font-size: 1rem; }
.pakket-onderdelen { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.45; }
.pakket-onderdelen li { position: relative; padding-left: 1.75rem; margin: 0; }
.pakket-onderdelen li + li { margin-top: .55rem; }
.pakket-onderdelen li::before { content: ""; position: absolute; left: .1rem; }
.pakket-onderdelen .is-in::before {
  top: .3em; width: .95rem; height: .5rem;
  border-left: 3px solid var(--goed); border-bottom: 3px solid var(--goed); transform: rotate(-45deg);
}
.pakket-onderdelen .is-niet { color: #6b7c8d; }
.pakket-onderdelen .is-niet::before { top: .7em; width: .85rem; height: 2px; background: #9aa9b8; border-radius: 1px; }
.pakket-knop { margin-top: auto; width: 100%; }

/* Keuzekaart op /kopen: de hele kaart is klikbaar via het label, de radio blijft zichtbaar en bedienbaar. */
.pakket-kaart.is-kiesbaar .pakket-binnen { padding-right: 3.5rem; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.pakket-kaart.is-kiesbaar .pakket-kop { cursor: pointer; }
.pakket-kaart.is-kiesbaar .pakket-kop::after { content: ""; position: absolute; inset: 0; border-radius: 12px; z-index: 1; }
.pakket-radio {
  position: absolute; top: 1.4rem; right: 1.25rem; z-index: 2;
  width: 1.6rem; height: 1.6rem; margin: 0; accent-color: var(--zee); cursor: pointer;
}
.pakket-kaart.is-kiesbaar:hover .pakket-binnen { border-color: var(--zee); }
.pakket-radio:checked + .pakket-binnen {
  border-color: var(--zee); background: #f4f8fb; box-shadow: inset 0 0 0 2px var(--zee);
}
.pakket-radio:focus-visible + .pakket-binnen { outline: 3px solid var(--focus); outline-offset: 3px; }
.pakket-radio:focus-visible { outline: none; }

.koop-stap { font-size: 1.3rem; }
.koop-pakket { font-weight: 800; color: var(--zee); margin: 0 0 .25rem; font-size: 1.15rem; }

/* Pakket en upgrade op het dashboard */

.pakket-info { display: grid; gap: 1rem; margin: 0 0 3rem; }
@media (min-width: 48rem) { .pakket-info { grid-template-columns: 1.3fr 1fr; } }
.pakket-info .pakket-onderdelen { margin-bottom: 0; }
.upgrade-blok {
  background: var(--vlak); border-left: 6px solid var(--signaal); border-radius: var(--radius);
  padding: 1.5rem; margin: 0 0 1.5rem;
}
.upgrade-blok h2 { font-size: 1.35rem; }
.upgrade-blok p { max-width: 36rem; }
.upgrade-blok p:last-child { margin-bottom: 0; }

/* Toegangscode tonen */

.code-groot {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(2rem, 1.4rem + 4vw, 3rem); font-weight: 800; letter-spacing: .12em;
  color: var(--zee); background: var(--vlak); border: 2px dashed var(--zee); border-radius: var(--radius);
  padding: 1rem 1.25rem; display: inline-block; margin: .25rem 0 1rem; user-select: all;
}

/* Quiz */

.quiz { max-width: 44rem; }
.quiz-balk { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--grijs); font-size: 1rem; }
.voortgangsbalk { height: 8px; background: var(--vlak); border-radius: 4px; overflow: hidden; margin-bottom: 1.75rem; }
.voortgangsbalk span { display: block; height: 100%; background: var(--zee); width: 0; transition: width .25s ease; }
.quiz-onderwerp { font-size: 1rem; color: var(--grijs); margin-bottom: .4rem; }
.quiz-vraag { font-size: 1.35rem; line-height: 1.45; font-weight: 600; color: var(--zee); margin-bottom: 1.25rem; }
.quiz-vraag:focus { outline: none; }
.quiz-vraag:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }

.opties { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.opties li { margin: 0; }
/* Antwoordblokken: groot en aantikbaar, gelijk in demo, oefentest, oefenen en proefexamen. */
.optie {
  width: 100%; display: flex; gap: 1rem; align-items: center; text-align: left;
  font: inherit; font-size: 1.1rem; line-height: 1.45; color: var(--inkt);
  background: var(--wit); border: 2px solid var(--lijn); border-radius: 10px;
  padding: .9rem 1.1rem .9rem .9rem; min-height: 4.25rem; cursor: pointer;
  box-shadow: 0 1px 2px rgba(11, 42, 74, .06);
  -webkit-tap-highlight-color: transparent;
}
.optie-tekst { flex: 1; min-width: 0; }
@media (hover: hover) {
  .optie:hover:not([disabled]) { border-color: var(--zee); background: #f7fafc; }
  .optie:hover:not([disabled]) .optie-letter { border-color: var(--zee); }
}
.optie:active:not([disabled]) { background: #edf3f8; }
.optie:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.optie-letter {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 8px; display: grid; place-items: center;
  background: var(--vlak); color: var(--zee); font-weight: 800; font-size: 1.15rem;
  border: 2px solid var(--lijn);
}
.optie[disabled] { cursor: default; }
.optie.is-gekozen { border-color: var(--zee); background: #eef4fa; box-shadow: inset 0 0 0 2px var(--zee); }
.optie.is-gekozen .optie-letter { background: var(--zee); border-color: var(--zee); color: var(--wit); }
.optie.is-goed { border-color: var(--goed); background: var(--goed-vlak); box-shadow: inset 0 0 0 1px var(--goed); }
.optie.is-goed .optie-letter { background: var(--goed); border-color: var(--goed); color: var(--wit); }
.optie.is-fout { border-color: var(--fout); background: var(--fout-vlak); box-shadow: inset 0 0 0 1px var(--fout); }
.optie.is-fout .optie-letter { background: var(--fout); border-color: var(--fout); color: var(--wit); }
.optie-status { font-weight: 800; margin-left: auto; padding-left: .5rem; white-space: nowrap; font-size: 1rem; }
.optie.is-goed .optie-status { color: var(--goed); }
.optie.is-fout .optie-status { color: var(--fout); }
@media (max-width: 30rem) {
  .optie { font-size: 1.05rem; gap: .8rem; padding-left: .75rem; }
  .optie-status { white-space: normal; text-align: right; max-width: 6.5rem; }
}

.feedback { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem; border-left: 6px solid; }
.feedback-goed { background: var(--goed-vlak); border-color: var(--goed); }
.feedback-fout { background: var(--fout-vlak); border-color: var(--fout); }
.feedback-titel { font-weight: 800; margin: 0 0 .3rem; }
.feedback-goed .feedback-titel { color: var(--goed); }
.feedback-fout .feedback-titel { color: var(--fout); }
.feedback p:last-child { margin-bottom: 0; }

.quiz-acties { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; }
.quiz-laden { color: var(--grijs); }

.uitslag-score { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.2rem); font-weight: 800; color: var(--zee); margin: 0 0 .3rem; line-height: 1.1; }

/* Proefexamen: rustige examenweergave zoals het digitale CBR-examen */

body.is-examen-bezig .kop, body.is-examen-bezig .voet { display: none; }
body.is-examen-bezig { background: #f3f6f9; }

.icoon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.icoon rect { stroke-width: 2; }
.icoon-vlag-doek { stroke-linejoin: round; }

/* Bovenbalk: vraagnummer, tijd, Markeren en Overzicht */
.examen-kop {
  position: sticky; top: 0; z-index: 20; background: var(--zee); color: var(--wit);
  box-shadow: 0 2px 12px rgba(3, 14, 28, .25);
}
.examen-kop-binnen {
  max-width: 60rem; margin: 0 auto; padding: .55rem var(--rand) .6rem;
  display: grid; grid-template-columns: 1fr auto;
  grid-template-areas: "teller tijd" "stop iconen";
  align-items: center; gap: .45rem .75rem;
}
.examen-teller { grid-area: teller; margin: 0; font-weight: 800; font-size: 1.1rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.examen-tijd { grid-area: tijd; justify-self: end; margin: 0; display: flex; align-items: center; gap: .55rem; }
.examen-tijd-label { font-size: .9rem; color: #c9d8e6; font-weight: 600; }
.timer {
  font-weight: 800; font-size: 1.4rem; line-height: 1.2; color: var(--zee); background: var(--wit);
  border-radius: 6px; padding: .2rem .65rem; font-variant-numeric: tabular-nums; min-width: 4.9ch; text-align: center;
}
.timer.is-krap { background: #ffe3df; color: var(--fout); }
.timer.is-zeer-krap { background: var(--fout); color: var(--wit); }
.examen-stop {
  grid-area: stop; justify-self: start; display: inline-flex; align-items: center; gap: .35rem;
  min-height: 2.75rem; padding: .3rem .75rem .3rem .55rem; border-radius: 6px; cursor: pointer;
  background: transparent; border: 2px solid rgba(255, 255, 255, .3); color: #dbe6f0;
  font: inherit; font-size: .95rem; font-weight: 600;
}
.examen-stop:hover { border-color: rgba(255, 255, 255, .7); color: var(--wit); }
.examen-stop .icoon { width: 1.05rem; height: 1.05rem; }
.examen-iconen { grid-area: iconen; justify-self: end; display: flex; gap: .5rem; }
.icoonknop {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .3rem .8rem .3rem .65rem;
  border-radius: 6px; border: 2px solid rgba(255, 255, 255, .6); background: transparent; color: var(--wit);
  font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.icoonknop, .examen-stop, .vraagrooster button, .knop { -webkit-tap-highlight-color: transparent; }
.icoonknop:hover:not([disabled]):not([aria-pressed="true"]):not([aria-current]) { background: rgba(255, 255, 255, .12); }
.icoonknop[aria-pressed="true"] { background: var(--signaal); border-color: var(--signaal); color: var(--zee); }
.icoonknop[aria-pressed="true"] .icoon-vlag-doek { fill: currentColor; }
.icoonknop[aria-current="page"] { background: var(--wit); border-color: var(--wit); color: var(--zee); }
.icoonknop[disabled] { opacity: .4; cursor: not-allowed; }

@media (min-width: 48rem) {
  .examen-kop-binnen { grid-template-columns: auto 1fr auto auto; grid-template-areas: "stop teller tijd iconen"; gap: .75rem 1.25rem; padding-top: .65rem; padding-bottom: .65rem; }
  .examen-teller { font-size: 1.15rem; }
  .timer { font-size: 1.5rem; }
}
/* Op smalle schermen: knoppen als werkbalk, icoon boven het woord. */
@media (max-width: 47.99rem) {
  .icoonknop, .examen-stop {
    flex-direction: column; justify-content: center; gap: .15rem; min-width: 4.6rem; min-height: 3.2rem;
    padding: .3rem .45rem; font-size: .8rem; line-height: 1.1;
  }
  .examen-tijd-label { font-size: .85rem; }
}
@media (max-width: 23rem) { .examen-tijd-label { display: none; } }

/* Tijdwaarschuwing (aria-live), zichtbaar als korte melding onder de balk */
.examen-melding {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0;
}
.examen-melding.is-zichtbaar {
  position: fixed !important; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
  top: 7.25rem; left: 50%; transform: translateX(-50%); z-index: 30; width: max-content; max-width: calc(100vw - 2rem);
  background: var(--fout); color: var(--wit); font-weight: 800; padding: .7rem 1.1rem; border-radius: 8px;
  box-shadow: 0 10px 30px rgba(3, 14, 28, .3); text-align: center;
}
@media (min-width: 48rem) { .examen-melding.is-zichtbaar { top: 5.25rem; } }

.examen-raster { max-width: 60rem; margin: 0 auto; padding: 2rem var(--rand) 4rem; }
body.is-examen-bezig .examen-raster { max-width: 48rem; padding-top: 1.5rem; }

/* Startscherm */
.examenregel-klein { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); margin: 1.5rem 0 2.25rem; }
.examen-intro-raster { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 56rem) { .examen-intro-raster { grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; } }
.intro-kop { font-size: 1.35rem; }
.bediening { list-style: none; padding: 0; margin: 0 0 1rem; counter-reset: bediening; }
.bediening li { counter-increment: bediening; position: relative; margin: 0; padding: .8rem 0 .8rem 3rem; border-bottom: 1px solid var(--lijn); }
.bediening li:first-child { border-top: 1px solid var(--lijn); }
.bediening li::before {
  content: counter(bediening); position: absolute; left: 0; top: .85rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--vlak); color: var(--zee); font-weight: 800; font-size: .95rem; display: grid; place-items: center;
}
.bediening strong { color: var(--zee); }
.bediening-icoon {
  display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.75rem; margin-right: .45rem;
  border-radius: 5px; background: var(--zee); color: var(--wit); vertical-align: -.4rem;
}
.bediening-icoon .icoon { width: 1.05rem; height: 1.05rem; }
@media (hover: none), (max-width: 47.99rem) { .toetsen-tip, .examen-toetsen { display: none; } }

.voorbeeld { background: var(--vlak); border-radius: 12px; padding: 1.25rem; }
.voorbeeld p:last-child { margin-bottom: 0; }
.voorbeeld-scherm {
  background: #f3f6f9; border: 1px solid var(--lijn); border-radius: 10px; overflow: hidden; margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(11, 42, 74, .12);
}
.voorbeeld-balk {
  background: var(--zee); color: var(--wit); display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .5rem .7rem; font-size: .85rem; font-weight: 800;
}
.voorbeeld-timer { background: var(--wit); color: var(--zee); border-radius: 4px; padding: .05rem .45rem; font-variant-numeric: tabular-nums; }
.voorbeeld-iconen { display: flex; gap: .35rem; }
.voorbeeld-icoon { display: inline-grid; place-items: center; width: 1.9rem; height: 1.6rem; border: 2px solid rgba(255, 255, 255, .6); border-radius: 4px; }
.voorbeeld-icoon .icoon { width: .95rem; height: .95rem; }
.voorbeeld-icoon.is-aan { background: var(--signaal); border-color: var(--signaal); color: var(--zee); }
.voorbeeld-icoon.is-aan .icoon-vlag-doek { fill: currentColor; }
.voorbeeld-vraag { height: .6rem; width: 78%; background: #b9c9d8; border-radius: 3px; margin: 1rem .9rem 1.2rem; box-shadow: 0 1rem 0 #b9c9d8; }
.voorbeeld-vraag::after { content: none; }
.voorbeeld-optie {
  display: flex; align-items: center; gap: .55rem; margin: 0 .9rem .45rem; background: var(--wit);
  border: 2px solid var(--lijn); border-radius: 6px; padding: .35rem .45rem;
}
.voorbeeld-optie b { width: 1.45rem; height: 1.45rem; border-radius: 4px; background: var(--vlak); color: var(--zee); display: grid; place-items: center; font-size: .8rem; }
.voorbeeld-optie i { height: .45rem; flex: 1; max-width: 62%; background: #d4dee8; border-radius: 3px; }
.voorbeeld-optie.is-gekozen { border-color: var(--zee); box-shadow: inset 0 0 0 1px var(--zee); }
.voorbeeld-optie.is-gekozen b { background: var(--zee); color: var(--wit); }
.voorbeeld-nav { display: flex; justify-content: space-between; padding: .45rem .9rem .9rem; font-size: .8rem; font-weight: 800; }
.voorbeeld-nav span { border: 2px solid var(--zee); color: var(--zee); border-radius: 4px; padding: .15rem .6rem; }
.voorbeeld-nav .is-zee { background: var(--zee); color: var(--wit); }

/* Vraagscherm */
.examen-vraagkaart {
  background: var(--wit); border: 2px solid #dbe4ec; border-radius: 12px; padding: 1.25rem 1.1rem .1rem;
  box-shadow: 0 1px 3px rgba(11, 42, 74, .06), 0 10px 28px rgba(11, 42, 74, .06);
}
.examen-vraagkaart.is-gemarkeerd { border-color: var(--signaal); }
.examen-vraagkop { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2rem; margin-bottom: .5rem; }
.examen-vraagnr { font-size: .9rem; font-weight: 800; color: var(--grijs); text-transform: uppercase; letter-spacing: .07em; }
.examen-vlag-label {
  display: none; align-items: center; gap: .3rem; background: #fff1d6; color: #6b4600; font-weight: 800; font-size: .9rem;
  padding: .2rem .65rem .2rem .5rem; border-radius: 999px;
}
.examen-vlag-label .icoon { width: 1rem; height: 1rem; }
.examen-vlag-label .icoon-vlag-doek { fill: currentColor; }
.examen-vraagkaart.is-gemarkeerd .examen-vlag-label { display: inline-flex; }
.examen-vraagkaart .quiz-vraag:focus-visible { outline: none; }
.examen-vraagkaart .quiz-vraag { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.45rem); }
@media (min-width: 48rem) { .examen-vraagkaart { padding: 1.75rem 1.75rem .35rem; } }

.examen-navigatie { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.examen-navigatie .knop { min-width: 9.5rem; }
.examen-navigatie .icoon { width: 1.2rem; height: 1.2rem; }
@media (max-width: 30rem) { .examen-navigatie .knop { flex: 1; min-width: 0; padding-left: .75rem; padding-right: .75rem; } }
.examen-toetsen { margin: 1.1rem 0 0; text-align: center; }

/* Overzicht */
.overzicht-kop { margin-bottom: .5rem; }
.overzicht-kop:focus { outline: none; }
.overzicht-tellers { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.overzicht-tellers li { margin: 0; background: var(--wit); border: 2px solid var(--lijn); border-radius: 999px; padding: .25rem .9rem; font-size: 1rem; }
.overzicht-tellers li.is-open { border-color: #7d8fa1; border-style: dashed; }
.overzicht-tellers li.is-gemarkeerd { background: #fff1d6; border-color: var(--signaal); }

.vraagrooster {
  list-style: none; padding: 0; margin: 1rem 0 1rem;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .4rem;
}
@media (min-width: 40rem) { .vraagrooster { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .55rem; } }
.vraagrooster li { margin: 0; }
.vraagrooster button {
  width: 100%; min-height: 3rem; padding: 0; font: inherit; font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  border-radius: 6px; cursor: pointer; border: 2px solid var(--lijn); background: var(--wit); color: var(--grijs); position: relative;
}
.vraagrooster button:hover { border-color: var(--zee); }
.vraagrooster button.is-open { border-style: dashed; border-color: #7d8fa1; color: var(--inkt); }
.vraagrooster button.is-beantwoord { background: var(--zee); border-color: var(--zee); color: var(--wit); }
.vraagrooster button.is-gemarkeerd { border: 2px solid var(--signaal); box-shadow: inset 0 0 0 1px var(--signaal); }
.vraagrooster button .icoon { position: absolute; top: 2px; right: 2px; width: .85rem; height: .85rem; color: var(--signaal); stroke-width: 2.4; }
.vraagrooster button .icoon-vlag-doek { fill: currentColor; }
.vraagrooster button.is-huidig { outline: 2px solid var(--inkt); outline-offset: 2px; }
.vraagrooster button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.vraagrooster button.is-goed { background: var(--goed-vlak); border-color: var(--goed); color: var(--goed); }
.vraagrooster button.is-fout { background: var(--fout-vlak); border-color: var(--fout); color: var(--fout); }

.legenda { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 1rem; color: var(--grijs); padding: 0; margin: 0 0 1.5rem; list-style: none; }
.legenda li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.legenda i { display: inline-block; position: relative; width: 1.15rem; height: 1.15rem; border-radius: 3px; border: 2px solid var(--lijn); background: var(--wit); }
.legenda .l-beantwoord { background: var(--zee); border-color: var(--zee); }
.legenda .l-open { border-style: dashed; border-color: #7d8fa1; }
.legenda .l-gemarkeerd { border-color: var(--signaal); }
.legenda .l-gemarkeerd .icoon { position: absolute; inset: 0; margin: auto; width: .8rem; height: .8rem; color: var(--signaal); stroke-width: 2.4; }
.legenda .l-gemarkeerd .icoon-vlag-doek { fill: currentColor; }
.legenda .l-goed { background: var(--goed-vlak); border-color: var(--goed); }
.legenda .l-fout { background: var(--fout-vlak); border-color: var(--fout); }

.overzicht-snel { margin-top: 0; }
.overzicht-acties { justify-content: space-between; border-top: 1px solid var(--lijn); padding-top: 1.5rem; margin-top: 1.75rem; }
@media (max-width: 30rem) { .overzicht-acties .knop { width: 100%; } .overzicht-acties { flex-direction: column-reverse; } }

/* Dialoog in de pagina (geen confirm) */
.dialoog {
  border: 0; border-radius: 14px; padding: 1.6rem 1.5rem 1.5rem; width: min(32rem, calc(100vw - 2rem)); max-width: none;
  color: var(--inkt); background: var(--wit); box-shadow: 0 24px 60px rgba(3, 14, 28, .45);
}
.dialoog::backdrop { background: rgba(7, 29, 53, .62); }
.dialoog h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.dialoog p { margin-bottom: .8rem; }
.dialoog .knoppen { margin-top: 1.25rem; }
.dialoog-waarschuwing { margin-bottom: 1rem; }
@media (max-width: 30rem) { .dialoog .knoppen .knop { width: 100%; } }

/* Uitslag en terugkijken */
.uitslag-kaart { border-radius: 12px; padding: 1.5rem 1.4rem; margin: 0 0 2.25rem; border-left: 8px solid; }
.uitslag-kaart.is-geslaagd { background: var(--goed-vlak); border-color: var(--goed); }
.uitslag-kaart.is-gezakt { background: var(--fout-vlak); border-color: var(--fout); }
.uitslag-label { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--grijs); margin: 0 0 .2rem; }
.uitslag-kop { font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem); margin-bottom: .1em; }
.uitslag-kop:focus { outline: none; }
.is-geslaagd .uitslag-kop { color: var(--goed); }
.is-gezakt .uitslag-kop { color: var(--fout); }
.uitslag-kaart .uitslag-score { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.1rem); }
.uitslag-uitleg { margin: .6rem 0 0; max-width: 38rem; }

.eindterm-scores { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; gap: .9rem; max-width: 36rem; }
.eindterm-scores li { margin: 0; }
.eindterm-scores .rij { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; margin-bottom: .25rem; }
.eindterm-scores .rij span:last-child { white-space: nowrap; }
.meter.meter-laag span { background: var(--fout); }

.terugkijk-kop { margin-top: 3rem; }
.terugkijk-cbr { max-width: 40rem; }
.terugkijk { border-top: 1px solid var(--lijn); padding-top: 1.5rem; margin-top: 1.5rem; scroll-margin-top: 1rem; }
.terugkijk:focus { outline: none; }
.terugkijk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: 1rem; color: var(--grijs); margin-bottom: .4rem; }
.terugkijk-label { font-weight: 800; font-size: .85rem; padding: .1rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.terugkijk.is-goed .terugkijk-label { background: var(--goed-vlak); color: var(--goed); }
.terugkijk.is-fout .terugkijk-label { background: var(--fout-vlak); color: var(--fout); }
.terugkijk.is-open .terugkijk-label { background: var(--vlak); color: var(--grijs); }
.terugkijk-vraag { font-weight: 600; color: var(--zee); font-size: 1.15rem; }
.terugkijk .optie { cursor: default; min-height: 3.6rem; }

/* Actualiteitsbadge */
.actueel {
  display: flex; gap: .6rem; align-items: flex-start; max-width: 40rem; margin: 1.5rem 0 0;
  font-size: 1rem; line-height: 1.45; color: #1f4d33; background: #f0f8f3; border: 1px solid #b8dcc6; border-radius: 8px;
  padding: .65rem .9rem;
}
.actueel-icoon { width: 1.3rem; height: 1.3rem; flex: none; color: var(--goed); margin-top: .05rem; }
.actueel-artikel { margin-top: 2.25rem; }
.lead + .actueel { margin: -.25rem 0 2rem; }

/* "Marifoon uitgelegd" alleen in de hoofdnavigatie als er ruimte is; altijd in de footer. */
.nav .nav-breed { display: none; }
@media (min-width: 62rem) { .nav .nav-breed { display: block; } }

/* Dashboard */

.dash-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2rem; }
.dash-kop p { margin: 0; }
.dash-acties { display: grid; gap: 1rem; margin: 0 0 3rem; }
@media (min-width: 48rem) { .dash-acties { grid-template-columns: 1.3fr 1fr; } }
.dash-blok { border: 2px solid var(--lijn); border-radius: var(--radius); padding: 1.5rem; }
.dash-blok h2 { font-size: 1.35rem; }
.dash-blok-zee { background: var(--zee); color: var(--wit); border-color: var(--zee); }
.dash-blok-zee h2 { color: var(--wit); }
.dash-blok-zee p { color: #d5e1ec; }

.voortgang-groep { margin-bottom: 2.5rem; }
.voortgang-groep h3 { font-size: 1.2rem; border-bottom: 2px solid var(--zee); padding-bottom: .4rem; margin-bottom: 0; }
.voortgang-lijst { list-style: none; margin: 0; padding: 0; }
.voortgang-lijst li {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--lijn); margin: 0;
}
.voortgang-naam { font-weight: 800; color: var(--zee); }
.voortgang-cijfers { font-size: 1rem; color: var(--grijs); grid-column: 1; }
.voortgang-lijst .knop { grid-column: 2; grid-row: 1 / span 3; }
.meter { grid-column: 1; height: 8px; background: var(--vlak); border-radius: 4px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--goed); }
.meter-zee span { background: var(--zee); }

.tabel { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tabel th, .tabel td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--lijn); }
.tabel th { color: var(--grijs); font-weight: 600; }
.label-geslaagd { color: var(--goed); font-weight: 800; }
.label-gezakt { color: var(--fout); font-weight: 800; }

/* Lopende tekst (juridisch, kennisbank) */

.tekst h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.tekst h3 { margin-top: 1.6rem; }
.tekst table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 1rem; display: block; overflow-x: auto; }
.tekst th, .tekst td { border-bottom: 1px solid var(--lijn); padding: .5rem; text-align: left; vertical-align: top; }
.tekst blockquote { margin: 0 0 1.2em; padding: .5rem 1rem; border-left: 4px solid var(--lijn); color: var(--grijs); }
.tekst img { max-width: 100%; height: auto; }
.bijgewerkt { color: var(--grijs); font-size: 1rem; }
.kruimel { font-size: 1rem; margin-bottom: 1rem; color: var(--grijs); }
.kruimel a { color: var(--grijs); }

.kennis-lijst { list-style: none; padding: 0; margin: 2rem 0 0; }
.kennis-lijst li { border-top: 1px solid var(--lijn); padding: 1.25rem 0; margin: 0; }
.kennis-lijst li:last-child { border-bottom: 1px solid var(--lijn); }
.kennis-lijst a { font-weight: 800; font-size: 1.2rem; }
.kennis-lijst p { margin: .3rem 0 0; color: var(--grijs); }

.gegevens { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.5rem; }
.gegevens dt { font-weight: 800; color: var(--zee); }
.gegevens dd { margin: 0; }
@media (max-width: 30rem) { .gegevens { grid-template-columns: 1fr; } .gegevens dd { margin-bottom: .6rem; } }

/* Footer */

.voet { background: var(--zee-diep); color: #d5e1ec; margin-top: auto; font-size: 1rem; }
.voet-binnen {
  max-width: var(--paginabreedte); margin: 0 auto; padding: 3rem var(--rand) 2rem;
  display: grid; gap: 2rem;
}
@media (min-width: 48rem) { .voet-binnen { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.voet a, .voet .link-knop { color: #ffffff; }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li + li { margin-top: .45rem; }
.voet-merk { color: var(--wit); font-weight: 800; font-size: 1.15rem; margin-bottom: .5rem; }
.voet-kop { color: var(--wit); font-weight: 800; margin-bottom: .6rem; }
.disclaimer { color: #ffffff; }
.voet-onder { border-top: 1px solid rgba(255,255,255,.15); }
.voet-onder p { max-width: var(--paginabreedte); margin: 0 auto; padding: 1.1rem var(--rand) 1.5rem; font-size: .95rem; color: #b6c6d6; }

/* Cookiebanner */

.cookiebanner {
  position: fixed; left: var(--rand); right: var(--rand); bottom: var(--rand); z-index: 50;
  max-width: 40rem; margin: 0 auto; background: var(--wit); color: var(--inkt);
  border: 2px solid var(--zee); border-radius: 10px; padding: 1.1rem 1.25rem; box-shadow: 0 10px 30px rgba(3, 14, 28, .3);
}
.cookiebanner p { margin: 0 0 .9rem; font-size: 1rem; }
.cookiebanner-knoppen { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookiebanner .knop { min-height: 2.8rem; font-size: 1rem; }

.verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ===== Conversie: balk, hero met foto, vertrouwen, demo, foto's, pop-up, plakkende knop ===== */

/* Aankondigingsbalk bovenaan */
.balk { background: var(--signaal); color: var(--zee); }
.balk-binnen {
  max-width: var(--paginabreedte); margin: 0 auto; padding: .5rem var(--rand);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .15rem .75rem;
  font-size: 1rem; line-height: 1.35; text-align: center;
}
.balk a {
  color: var(--zee); font-weight: 800; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .3rem; text-underline-offset: .2em;
}
.balk a svg { width: 1rem; height: 1rem; transition: transform .15s; }
.balk a:hover svg { transform: translateX(3px); }
.balk-kort { display: none; }
@media (max-width: 40rem) {
  .balk-lang { display: none; }
  .balk-kort { display: inline; font-weight: 600; }
}

/* Header op kleine schermen compacter */
@media (max-width: 40rem) {
  .nav .nav-klein-weg { display: none; }
  .kop-binnen { flex-wrap: nowrap; padding-top: .6rem; padding-bottom: .6rem; }
  .merk { font-size: 1.05rem; white-space: nowrap; }
  .merk-icoon { width: 1.75rem; height: 1.75rem; }
  .nav ul { flex-wrap: nowrap; gap: .9rem; }
  .nav a.nav-cta { padding: .4rem .7rem; white-space: nowrap; }
}
.nav-kort { display: none; }
@media (max-width: 40rem) { .nav-lang { display: none; } .nav-kort { display: inline; } }
@media (max-width: 22rem) { .merk span { display: none; } }
.mf-podium { overflow-x: clip; }

/* Grote knop met subregel */
.knop-groot { min-height: 3.6rem; padding: .8rem 1.6rem; font-size: 1.15rem; box-shadow: 0 6px 18px rgba(245, 160, 15, .35); }
.knop-sub { display: block; font-size: .85rem; font-weight: 600; opacity: .85; }
.knop:has(.knop-sub) { flex-direction: column; gap: .1rem; }
.knop-signaal { transition: background-color .15s, transform .15s; }
.knop-signaal:active { transform: translateY(1px); }

/* Hero met foto */
.hero-foto { overflow: hidden; isolation: isolate; }
.hero-achter, .hero-achter img {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-achter { z-index: -2; }
.hero-achter img { object-fit: cover; object-position: 70% 30%; }
.hero-foto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 29, 53, .55) 0%, rgba(7, 29, 53, .82) 45%, rgba(7, 29, 53, .95) 100%);
}
.hero-foto .hero-binnen { display: block; position: relative; padding-top: 3rem; padding-bottom: 4.5rem; }
.hero-tekst { max-width: 38rem; }
.hero-bovenkop {
  display: inline-block; font-size: .95rem; font-weight: 800; letter-spacing: .02em;
  color: var(--zee); background: var(--signaal); border-radius: 999px; padding: .2rem .8rem; margin-bottom: 1rem;
}
.hero-foto h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-foto .lead { color: #e6eef5; }
.usp-lijst { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.usp-lijst li { margin: 0; position: relative; padding-left: 2rem; color: #e6eef5; line-height: 1.45; }
.usp-lijst li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--signaal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%230b2a4a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.usp-lijst strong { color: var(--wit); }
.hero-chip { display: none; }
@media (min-width: 60rem) {
  .hero-foto::before { background: linear-gradient(90deg, rgba(7, 29, 53, .97) 0%, rgba(7, 29, 53, .9) 38%, rgba(7, 29, 53, .45) 62%, rgba(7, 29, 53, .1) 100%); }
  .hero-achter img { object-position: center 35%; }
  .hero-foto .hero-binnen { padding-top: 4.5rem; padding-bottom: 6.5rem; min-height: 36rem; }
  .hero-chip {
    display: block; position: absolute; right: var(--rand); bottom: 5.5rem;
    background: var(--wit); color: var(--grijs); border-radius: 12px; padding: .8rem 1.1rem; font-size: .95rem; line-height: 1.35;
    box-shadow: 0 14px 34px rgba(3, 14, 28, .35);
  }
  .hero-chip strong { display: block; color: var(--zee); font-size: 1.15rem; }
}
@media (max-width: 40rem) {
  .hero-foto .hero-binnen { padding-top: 1.5rem; }
  .hero-foto .lead { display: none; }
  .hero-bovenkop { font-size: .85rem; }
  .hero-foto h1 { margin-bottom: .2em; }
  .hero-foto .knoppen { flex-direction: column; align-items: stretch; }
  .hero-foto .knoppen .knop { width: 100%; }
  .usp-lijst { font-size: 1.02rem; }
}

/* Vertrouwensstrip onder de hero */
.vertrouwen { border-bottom: 1px solid var(--lijn); }
.vertrouwen ul {
  list-style: none; margin: 0 auto; padding-top: 1.25rem; padding-bottom: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem;
}
.vertrouwen li { margin: 0; display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; line-height: 1.35; color: var(--grijs); }
.vertrouwen svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--zee-licht); margin-top: .1rem; }
.vertrouwen strong { display: block; color: var(--zee); font-size: 1rem; }
@media (min-width: 60rem) { .vertrouwen ul { grid-template-columns: repeat(4, 1fr); } }

/* Demo-vraag als eigen sectie */
.sectie-demo { padding-top: 3.5rem; }
.demo-raster { display: grid; gap: 2rem; }
.demo-raster .demo { box-shadow: 0 16px 40px rgba(11, 42, 74, .16); border: 1px solid var(--lijn); }
.demo-kop h3 { font-size: 1.05rem; margin: 0; color: var(--grijs); font-weight: 600; letter-spacing: 0; }
@media (min-width: 60rem) { .demo-raster { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; } }

.vinklijst { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.vinklijst li { position: relative; padding-left: 1.9rem; }
.vinklijst li::before {
  content: ""; position: absolute; left: .1rem; top: .35em; width: .65rem; height: 1.05rem;
  border: solid var(--goed); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Foto's van mensen op het water */
.foto-raster { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.foto-raster li { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--lijn); aspect-ratio: 4 / 3; }
.foto-raster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-raster span {
  position: absolute; left: .75rem; bottom: .75rem; background: rgba(7, 29, 53, .82); color: var(--wit);
  font-weight: 800; font-size: .95rem; padding: .3rem .7rem; border-radius: 6px;
}
@media (min-width: 40rem) { .foto-raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 39.99rem) {
  .foto-raster { grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .foto-raster li { scroll-snap-align: start; }
}

/* Zekerheden onder de pakketten */
.zekerheden { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 1rem; color: var(--grijs); }
.zekerheden li { margin: 0; position: relative; padding-left: 1.5rem; }
.zekerheden li::before {
  content: ""; position: absolute; left: .2rem; top: .3em; width: .5rem; height: .9rem;
  border: solid var(--goed); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Aanbevolen pakket bovenaan op mobiel */
@media (max-width: 51.99rem) {
  .pakketten .pakket-kaart.is-aanbevolen { order: -1; }
  .pakketten .pakket-kaart.is-aanbevolen .pakket-binnen { box-shadow: 0 10px 28px rgba(11, 42, 74, .14); }
}

/* Plakkende knoppen onderin (mobiel, homepage) */
.plak-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: .6rem; padding: .65rem var(--rand) calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--lijn); box-shadow: 0 -8px 24px rgba(11, 42, 74, .12);
  transform: translateY(110%); transition: transform .25s ease; visibility: hidden;
}
.plak-cta.is-zichtbaar { transform: none; visibility: visible; }
.plak-cta .knop { min-height: 3rem; padding: .55rem .9rem; font-size: 1.02rem; }
.plak-cta .knop-signaal { flex: 1.6; }
.plak-cta .knop-licht { flex: 1; }
@media (min-width: 48rem) { .plak-cta { display: none; } }

/* Pop-up met de gratis test */
.popup {
  border: 0; padding: 0; border-radius: 20px; width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  overflow: auto; background: var(--wit); color: var(--inkt); box-shadow: 0 30px 80px rgba(3, 14, 28, .5);
}
.popup::backdrop { background: rgba(7, 29, 53, .72); backdrop-filter: blur(3px); }
.popup[open] { animation: popup-in .28s ease-out; }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.popup-kop {
  position: relative; color: var(--wit); padding: 1.75rem 1.75rem 1.5rem;
  background: radial-gradient(120% 140% at 100% 0%, #2a5b8f 0%, #1b4470 40%, var(--zee) 100%);
}
.popup-sluit {
  position: absolute; top: .9rem; right: .9rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: var(--wit); cursor: pointer; display: grid; place-items: center;
}
.popup-sluit:hover { background: rgba(255, 255, 255, .22); }
.popup-sluit svg { width: 1.3rem; height: 1.3rem; }
.popup-merk { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #cfdeeb; margin: 0 0 1.1rem; }
.popup-icoon { width: 2.6rem; height: 2.6rem; border-radius: 10px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.popup-icoon svg { width: 1.7rem; height: 1.7rem; }
.popup-kop h2 { color: var(--wit); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2rem); margin: 0 0 .5rem; padding-right: 2.5rem; }
.popup-kop p:last-child { color: #dce7f0; margin: 0; }
.popup-inhoud { padding: 1.5rem 1.75rem 1.4rem; }
.popup-kaart { border: 1px solid #cfe0ee; background: #f3f8fc; border-radius: 14px; padding: 1.1rem; }
.popup-kaart-kop { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.popup-kaart-icoon { width: 3rem; height: 3rem; border-radius: 10px; background: #dceaf5; color: var(--zee-licht); display: grid; place-items: center; flex: none; }
.popup-kaart-icoon svg { width: 1.6rem; height: 1.6rem; }
.popup-kaart-titel { font-weight: 800; color: var(--zee); margin: 0; font-size: 1.15rem; line-height: 1.25; }
.popup-kaart-sub { margin: 0; color: var(--grijs); font-size: .95rem; }
.popup-feiten { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.popup-feiten li { margin: 0; background: var(--wit); border: 1px solid #dbe7f1; border-radius: 10px; padding: .6rem .3rem; text-align: center; font-size: .9rem; color: var(--grijs); line-height: 1.3; }
.popup-feiten strong { display: block; color: var(--zee-licht); font-size: 1.25rem; }
.popup-knop { width: 100%; margin-top: 1.25rem; border-radius: 12px; }
.popup-knop svg { width: 1.2rem; height: 1.2rem; }
.popup-voet { text-align: center; color: var(--grijs); font-size: .9rem; margin: .9rem 0 0; }
@media (max-width: 30rem) {
  .popup { width: calc(100% - 1.25rem); border-radius: 16px; }
  .popup-kop { padding: 1.4rem 1.25rem 1.25rem; }
  .popup-inhoud { padding: 1.25rem; }
}

/* Gratis test: intro */
.bovenkop { font-size: .95rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--goed); margin: 0 0 .4rem; }
.feitjes { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.feitjes li { margin: 0; background: var(--vlak); border-radius: 999px; padding: .3rem .9rem; font-size: 1rem; color: var(--grijs); }
.feitjes strong { color: var(--zee); }

/* Gratis test: uitslag */
.uitslag-kaart.is-gratis { background: var(--zee); color: #e6eef5; border: 0; padding: 1.6rem 1.5rem 1.4rem; }
.uitslag-kaart.is-gratis .uitslag-label { color: #b9cbdc; }
.uitslag-kaart.is-gratis .uitslag-score { color: var(--wit); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); margin-bottom: 1rem; }
.uitslag-kaart.is-gratis .uitslag-score strong { font-size: 1.6em; color: var(--signaal); }
.uitslag-oordeel { color: var(--wit); font-size: 1.45rem; margin: 1.25rem 0 .4rem; }
.uitslag-oordeel:focus { outline: none; }
.uitslag-kaart.is-gratis p:last-child { margin-bottom: 0; }
.uitslag-vergelijk { font-size: 1rem; color: #b9cbdc; }
.norm { position: relative; padding-top: 1.6rem; }
.norm-balk { display: block; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.norm-vulling { display: block; height: 100%; border-radius: 7px; background: #e8a33d; transition: width .6s ease; }
.norm-vulling.is-goed { background: #43c07a; }
.norm-streep { position: absolute; top: 0; bottom: -4px; width: 2px; background: var(--wit); }
.norm-streep span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .85rem; font-weight: 800; color: var(--wit); }

.uitslag-lijst { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.uitslag-lijst li { margin: 0; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-radius: 8px; font-size: 1rem; }
.uitslag-lijst li::before {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 75%;
}
.uitslag-lijst .is-goed { background: var(--goed-vlak); }
.uitslag-lijst .is-goed::before { background-color: var(--goed); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.uitslag-lijst .is-fout { background: var(--fout-vlak); }
.uitslag-lijst .is-fout::before { background-color: var(--fout); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.uitslag-onderwerp { font-weight: 800; color: var(--zee); }
.uitslag-zwak { margin-bottom: 2rem; }

.advies-vraag { margin: 2rem 0 1rem; }
.advies-vraag h2 { font-size: 1.35rem; margin-bottom: .2rem; }
.keuze-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.chip {
  font: inherit; font-size: 1rem; font-weight: 600; min-height: 2.9rem; padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--lijn); background: var(--wit); color: var(--zee);
}
.chip:hover { border-color: var(--zee); }
.chip[aria-pressed="true"] { background: var(--zee); border-color: var(--zee); color: var(--wit); }
@media (max-width: 30rem) { .keuze-chips { flex-direction: column; } .chip { width: 100%; text-align: left; } }

.advies-kaart { border: 3px solid var(--signaal); border-radius: 14px; padding: 1.5rem 1.4rem 1.25rem; margin: 1rem 0 2.5rem; background: #fffaf0; position: relative; }
.advies-label { display: inline-block; background: var(--signaal); color: var(--zee); font-weight: 800; font-size: .9rem; border-radius: 999px; padding: .15rem .75rem; margin: 0 0 .7rem; }
.advies-kaart h2 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; font-size: 1.6rem; margin-bottom: .15rem; }
.advies-prijs { font-size: 1.9rem; }
.advies-looptijd { color: var(--grijs); font-size: 1rem; }
.advies-lijst { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 1rem; }
.advies-lijst li { position: relative; padding-left: 1.75rem; }
.advies-lijst li::before {
  content: ""; position: absolute; left: .25rem; top: .25em; width: .5rem; height: .95rem;
  border: solid var(--goed); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.advies-kaart .knop { width: 100%; }
.advies-zekerheid { text-align: center; font-size: .9rem; color: var(--grijs); margin: .8rem 0 .3rem; }
.advies-alle { text-align: center; margin: 0; font-size: 1rem; }

.cadeau { background: var(--vlak); border-radius: 12px; padding: 1.4rem 1.4rem .4rem; margin-bottom: 1rem; }
.cadeau h2 { font-size: 1.25rem; }
.cadeau ul { padding-left: 1.2rem; }

/* Toestelvraag in de gratis test: de marifoon als examenafbeelding met een nummer bij het onderdeel. */
.quiz-toestel { border-radius: 12px; overflow: hidden; margin: 0 0 1.25rem; padding: .5rem 0 .75rem; }
.quiz-toestel .mf-nr.is-gevraagd {
  width: 2.3em; height: 2.3em; font-size: 1.05em;
  box-shadow: 0 0 0 .2em var(--zee-diep), 0 0 0 .45em rgba(245, 160, 15, .45);
  animation: mf-nr-puls 1.8s ease-in-out infinite;
}
@keyframes mf-nr-puls {
  0%, 100% { box-shadow: 0 0 0 .2em var(--zee-diep), 0 0 0 .45em rgba(245, 160, 15, .45); }
  50% { box-shadow: 0 0 0 .2em var(--zee-diep), 0 0 0 .8em rgba(245, 160, 15, .12); }
}
@media (max-width: 47.99rem) {
  .quiz-toestel .mf-toestel { max-width: 17rem; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .quiz-toestel .mf-nr.is-gevraagd { animation: none; } }

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

/* Dashboard: certificaat en opfriscursus */

.dash-extra { margin-top: -2rem; }
.dash-extra .meter { margin-top: .25rem; }
.badge-nieuw {
  display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .15rem .6rem; border-radius: 999px;
  background: var(--signaal); color: var(--zee); font-size: .85rem; font-weight: 800; letter-spacing: .02em;
}

/* Opfriscursus */

.opfris-lijst { list-style: none; padding: 0; margin: 2rem 0 0; }
.opfris-lijst li { border-top: 1px solid var(--lijn); padding: 1.25rem 0; margin: 0; }
.opfris-lijst li:last-child { border-bottom: 1px solid var(--lijn); }
.opfris-lijst a { font-weight: 800; font-size: 1.25rem; }
.opfris-lijst p { margin: .3rem 0 0; color: var(--grijs); }
.opfris-lijst .opfris-meta { font-size: 1rem; }
.opfris-lijst.is-teaser li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; padding: .9rem 0; }
.opfris-lijst.is-teaser strong { color: var(--zee); }
.opfris-teaser-kop { font-size: 1.3rem; margin-top: 2.5rem; }
.opfris-datum {
  display: inline-block; font-size: .9rem; font-weight: 800; color: var(--zee-licht); text-transform: uppercase;
  letter-spacing: .06em; margin: 0 0 .35rem;
}
.opfris-lijst li > .opfris-datum { display: block; }
.opfris-artikel h1 { margin-top: .2rem; }
.opfris-artikel .lead { margin-bottom: 1.5rem; }
.opfris-oefen { margin-top: 2.5rem; border-color: var(--signaal); background: #fffaf0; }
.kennis-opfris { margin-top: 2rem; color: var(--grijs); border-left: 4px solid var(--signaal); padding-left: 1rem; }

/* Certificaat */

.smal-blok { max-width: var(--tekstbreedte); }
.cert-voortgang { background: var(--vlak); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 .5rem; }
.cert-voortgang p { margin-bottom: .6rem; }
.cert-voortgang .meter { display: block; }
.certificaat-melding { margin-top: -1rem; }
.certificaat-melding .knop { margin-top: .25rem; }
.cert-scherm { max-width: var(--tekstbreedte); }
.cert-acties { margin-top: 1.75rem; padding-bottom: 3rem; }
.cert-acties .knoppen { margin-top: 0; margin-bottom: 1rem; }
.cert-gegevens-scherm { margin: 1.5rem 0; }
.cert-gegevens-scherm dd { overflow-wrap: anywhere; }

/* Het certificaat zelf: A4 liggend (297 x 210). Alle maten in cqw, zodat het op elk scherm en op papier gelijk schaalt. */
.cert-houder { container-type: inline-size; max-width: 66rem; margin: 1rem 0 0; }
.certificaat {
  --c-zee: #0b2a4a; --c-goud: #c8901a; --c-oranje: #f5a00f; --c-papier: #fffdf7; --c-inkt: #1d2f42;
  position: relative; width: 100%; aspect-ratio: 297 / 210; background: var(--c-zee); padding: 1.6cqw;
  border-radius: .6cqw; box-shadow: 0 1.2cqw 3cqw rgba(7, 29, 53, .22);
  font-family: var(--font); color: var(--c-inkt); overflow: hidden;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cert-rand {
  position: relative; height: 100%; background: var(--c-papier); border-radius: .25cqw; overflow: hidden;
  display: flex; flex-direction: column; padding: 3.2cqw 5cqw 2.4cqw;
  box-shadow: inset 0 0 0 .55cqw var(--c-papier), inset 0 0 0 .7cqw var(--c-goud);
}
.cert-rand::before, .cert-rand::after {
  content: ""; position: absolute; width: 7cqw; height: 7cqw; border: .35cqw solid var(--c-oranje); z-index: 1;
}
.cert-rand::before { top: 1.6cqw; left: 1.6cqw; border-right: 0; border-bottom: 0; }
.cert-rand::after { bottom: 1.6cqw; right: 1.6cqw; border-left: 0; border-top: 0; }
.cert-rand > * { position: relative; z-index: 2; }
.cert-rand > .cert-golven { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 13cqw; z-index: 0; }
.cert-kop { display: flex; justify-content: space-between; align-items: center; }
.cert-merk { display: inline-flex; align-items: center; gap: .9cqw; font-weight: 800; font-size: 1.9cqw; color: var(--c-zee); letter-spacing: -.01em; }
.cert-merk svg { width: 3.6cqw; height: 3.6cqw; }
.cert-site { font-size: 1.35cqw; color: #4a5d70; font-weight: 600; letter-spacing: .04em; }
.cert-midden { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 3cqw; }
.cert-boven { margin: 0 0 .6cqw; font-size: 1.3cqw; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: var(--c-goud); }
.cert-titel {
  margin: 0 0 2.2cqw; font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600;
  font-size: 3.7cqw; line-height: 1.1; color: var(--c-zee); letter-spacing: -.005em; max-width: none;
}
.cert-intro { margin: 0 0 .8cqw; font-size: 1.6cqw; color: #4a5d70; }
.cert-naam {
  margin: 0; font-family: "Fraunces", Georgia, "Times New Roman", serif; font-weight: 600; font-size: 5cqw; line-height: 1.12;
  color: var(--c-zee); overflow-wrap: anywhere; max-width: 100%;
}
.cert-streep { display: block; width: 26cqw; height: .3cqw; margin: 1.5cqw auto 1.6cqw; background: linear-gradient(90deg, transparent, var(--c-goud) 18%, var(--c-oranje) 50%, var(--c-goud) 82%, transparent); }
.cert-tekst { margin: 0; font-size: 1.75cqw; line-height: 1.45; max-width: 64cqw; }
.cert-tekst strong { color: var(--c-zee); white-space: nowrap; }
.cert-voet { display: flex; justify-content: space-between; align-items: flex-end; gap: 3cqw; margin-top: 1.4cqw; }
.cert-gegevens { display: flex; gap: 3.2cqw; margin: 0; }
.cert-gegevens div { min-width: 0; }
.cert-gegevens dt { font-size: 1cqw; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--c-goud); margin: 0 0 .35cqw; }
.cert-gegevens dd { margin: 0; font-size: 1.35cqw; font-weight: 600; color: var(--c-zee); }
.cert-nummer { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; }
.cert-gegevens-url dd { font-size: 1.1cqw; font-weight: 400; color: var(--c-inkt); }
.cert-uitgever { display: flex; flex-direction: column; align-items: center; min-width: 20cqw; }
.cert-lijn { display: block; width: 100%; height: .15cqw; background: var(--c-zee); margin-bottom: .6cqw; }
.cert-uitgever-naam { font-size: 1.5cqw; font-weight: 800; color: var(--c-zee); }
.cert-uitgever-label { font-size: 1cqw; letter-spacing: .14em; text-transform: uppercase; color: #4a5d70; }
.cert-disclaimer { margin: 1.6cqw 0 0; padding-top: 1.1cqw; border-top: .1cqw solid #d9cfb8; font-size: 1.02cqw; line-height: 1.45; color: #3b4f63; text-align: center; }

/* Controlepagina */

.controle-kaart { border-radius: 12px; padding: 1.5rem 1.4rem; margin: 0 0 1.5rem; border-left: 8px solid; }
.controle-kaart.is-geldig { background: var(--goed-vlak); border-color: var(--goed); }
.controle-kaart.is-ongeldig { background: var(--fout-vlak); border-color: var(--fout); }
.controle-kaart p:last-child, .controle-kaart dl:last-child { margin-bottom: 0; }
.controle-status { display: flex; align-items: center; gap: .7rem; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); font-weight: 800; margin: 0 0 1rem; line-height: 1.2; }
.controle-status svg { width: 2rem; height: 2rem; flex: none; }
.is-geldig .controle-status { color: var(--goed); }
.is-ongeldig .controle-status { color: var(--fout); }
.controle-form { margin-top: 1.5rem; }

@media print {
  .kop, .voet, .cookiebanner, .knoppen, .examen-kop { display: none !important; }
  body { font-size: 12pt; }

  /* Certificaat: alleen het certificaat, precies een A4 liggend (de @page-regel staat op de pagina zelf). */
  body.certificaat-pagina { background: #fff; min-height: 0; display: block; }
  body.certificaat-pagina .skiplink, body.certificaat-pagina main > :not(.cert-houder) { display: none !important; }
  body.certificaat-pagina main { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  body.certificaat-pagina .cert-houder { width: 297mm; height: 210mm; max-width: none; margin: 0; overflow: hidden; break-inside: avoid; }
  body.certificaat-pagina .certificaat { width: 297mm; height: 210mm; border-radius: 0; box-shadow: none; }
}
