:root {
  --navy: #103C4D; --navy-diep: #0B2B38; --teal: #277779; --vlak: #F3F7F7; --vlak2: #EAF4F3;
  --rand: #D8E3E4; --rand2: #B4CCCC; --tekst: #143E4C; --zacht: #4C666E; --licht: #CFE4E3; --invoer: #6C8A90;
  --alarm: #A03535; --alarm-vlak: #F8E9E9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.55; color: var(--tekst); background: var(--vlak); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }
p { margin: 0; }
em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--teal); }
a { color: var(--navy); }
a:hover { color: var(--navy-diep); }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.klein { font-size: .875rem; color: var(--zacht); }
.visueel-verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sla-over { position: absolute; left: 12px; top: -60px; background: #fff; padding: 12px 16px; border-radius: 8px; z-index: 10; }
.sla-over:focus { top: 12px; }

.merk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tekst); }
.merk img { object-fit: contain; }
.merk span { font-weight: 600; font-size: 1.06rem; line-height: 1.12; letter-spacing: -.5px; }
.merk strong { color: var(--teal); font-size: 1.19rem; }

.knop { display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 4px 8px; flex-wrap: wrap; min-height: 48px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; }
.knop:hover { background: var(--navy-diep); color: #fff; }
.knop.licht { background: #fff; color: var(--navy); border-color: var(--invoer); }
.knop.licht:hover { background: var(--vlak2); color: var(--navy-diep); }
.knop.gevaar { background: #fff; color: var(--alarm); border-color: var(--alarm); }
.knop.gevaar:hover { background: var(--alarm-vlak); }
.nood { text-align: center; font-size: .8125rem; }
.nood a { display: inline-block; padding: 12px; color: var(--zacht); text-decoration: none; }
.nood a:hover { text-decoration: underline; }

.smal-pagina { display: grid; min-height: 100vh; place-items: center; padding: 16px; }
.kaartpagina { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--rand); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.kaartpagina h1 { font-size: 1.6rem; overflow-wrap: anywhere; }

.veld { display: flex; flex-direction: column; gap: 6px; }
.veld label, .veld .label { font-weight: 600; }
.veld .hint { font-size: .875rem; color: var(--zacht); }
.veld input:not([type=radio]):not([type=checkbox]), .veld select, .veld textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--invoer); border-radius: 10px; background: #fff; }
.veld textarea { min-height: 96px; }
.veld [aria-invalid=true] { border: 2px solid var(--alarm) !important; }
.veld .fout, .melding.fout { color: var(--alarm); font-weight: 600; }
.keuze { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-weight: 400 !important; min-height: 44px; }
.keuze input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
form.stapel, .stapel { display: flex; flex-direction: column; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; }
.melding { border-radius: 12px; padding: 12px 16px; background: var(--vlak2); border: 1px solid var(--rand2); }
.melding.fout { background: var(--alarm-vlak); border-color: var(--alarm); }
.code-invoer { font-size: 1.6rem !important; letter-spacing: .35em; text-align: center; }
.demo-strook { background: #FFF6DA; color: #5A4300; text-align: center; padding: 8px 16px; font-size: .875rem; border-bottom: 1px solid #E5D08C; }
.demo-strook a { color: #5A4300; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.lok { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
