/* Test mijn bedrijf. Stijl uit het wereldsjabloon (kleuren, fonts, kaarten), plus DigiOnline-blauw.
   Alles lokaal: geen externe fonts of scripts. */

@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
    --olive: #405239;
    --ink: #29382c;
    --sage: #bcc5b2;
    --clay-light: #e6beaa;
    --terracotta: #b86947;
    --clay: #ba704f;
    --paper: #f7f5ef;
    --muted: #596452;
    --line: #d9ded2;
    --blue: #2f6aa0;
    --blue-dark: #1f4f80;
    --blue-light: #e3edf6;
    --ok: #2f8a4a;
    --warn: #a86b00;
    --bad: #b8402c;
    --info: #2f6aa0;
    --code: #1f2a24;
    --serif: "Instrument Serif", Georgia, serif;
    --sans: "DM Sans", system-ui, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; box-shadow: 0 0 0 7px #fff; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 14px; }
.wrap { width: min(1240px, 100% - 44px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Typografie */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin: 0; color: var(--olive); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 27px); }
h1 em, h2 em { font-style: italic; color: var(--terracotta); }
.eyebrow { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; max-width: 36em; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
code, pre { font-family: var(--mono); font-size: 14px; }

/* Knoppen */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--olive); color: #fff; font: 500 16px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn::after { content: "\2192"; transition: transform .2s; }
.btn:hover { background: var(--ink); }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--olive); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: rgb(64 82 57 / .07); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--clay-light); }
.btn--blue { background: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn--small::after { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.link-arrow { font-weight: 600; color: var(--olive); }
.link-arrow::after { content: " \2192"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--olive); font-family: var(--serif); font-size: 25px; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 34px; height: 34px; fill: var(--olive); }
.brand__mark .led { fill: var(--clay-light); }
.brand__mark .led--ok { fill: #7fd39a; }
.nav-desk ul { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.nav-desk a { display: block; padding: 12px 0; text-decoration: none; }
.nav-desk a:hover { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--terracotta); }
.nav-mob { display: none; position: relative; }
.nav-mob summary { min-height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--olive); color: var(--olive); cursor: pointer; list-style: none; }
.nav-mob summary::-webkit-details-marker { display: none; }
.nav-mob ul { position: absolute; right: 0; top: 54px; min-width: 220px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 40px -20px rgb(41 56 44 / .35); }
.nav-mob a { display: block; padding: 10px 14px; text-decoration: none; }
@media (max-width: 900px) { .nav-desk { display: none; } .nav-mob { display: block; } }

/* ---------- De 3D-wereld ---------- */
.page-world { background: var(--paper); }
.world-canvas { position: fixed; inset: 0; z-index: 0; display: none; width: 100%; height: 100%; }
.has-world .world-canvas { display: block; }
.world-badge { position: fixed; left: 0; top: 0; z-index: 1; display: none; place-items: center; width: 150px; aspect-ratio: 1; border-radius: 50%; background: #fff; pointer-events: none; opacity: 0;
    box-shadow: 0 0 0 12px rgb(255 255 255 / .35), 0 0 0 26px rgb(255 255 255 / .14), 0 0 90px 30px rgb(255 214 170 / calc(.2 + var(--night, 0) * .45)); }
.has-world .world-badge { display: grid; }
.world-badge img { width: 64%; }
.world-header { background: rgb(255 255 255 / calc(.66 + var(--night, 0) * .28)); border-bottom-color: rgb(217 222 210 / .6); }
.w-progress { position: fixed; right: 18px; top: 50%; z-index: 20; display: none; gap: 8px; translate: 0 -50%; padding: 10px 7px; border-radius: 999px; background: rgb(255 255 255 / .55); backdrop-filter: blur(8px); }
.has-world .w-progress { display: grid; }
.w-progress button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgb(64 82 57 / .25); cursor: pointer; transition: background .3s, scale .3s; }
.w-progress button:hover { background: var(--olive); }
.w-progress button[aria-current="step"] { background: var(--terracotta); scale: 1.35; }
.w-scene { position: relative; z-index: 2; display: grid; align-items: center; min-height: 100svh; padding: 100px 0 70px; }
.w-card { width: min(520px, 100%); padding: clamp(26px, 3.2vw, 42px); background: #fff; border-radius: 70px 96px 80px 60px / 60px 70px 86px 64px; box-shadow: 0 34px 70px -40px rgb(41 56 44 / .55); }
.w-card--right { margin-left: auto; border-radius: 96px 64px 70px 90px / 70px 60px 70px 84px; }
.w-card--wide { width: min(640px, 100%); }
.w-card--blue { background: linear-gradient(160deg, #fff 55%, var(--blue-light)); }
.w-card h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 16px; }
.w-card > p { color: var(--muted); }
.w-card__logo { width: 170px; margin-bottom: 18px; }
.w-hero { padding-top: 90px; }
.w-hero__text { width: min(600px, 100%); padding: clamp(24px, 3vw, 40px); border-radius: 44px; background: rgb(255 255 255 / .72); backdrop-filter: blur(8px); }
.w-hero__text h1 { font-size: clamp(40px, 5vw, 72px); }
.w-hero__text .lead { margin-top: 20px; }
.w-hint { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 17px; color: var(--muted); }
.w-hint svg { width: 26px; fill: none; stroke: var(--terracotta); stroke-width: 2.4; stroke-linecap: round; }
.w-footer { min-height: 100svh; align-items: end; padding-bottom: 60px; color: #e9ece4; }
.w-footer .wrap { display: grid; justify-items: start; gap: 24px; }
.w-footer__card { width: min(680px, 100%); padding: clamp(26px, 3.4vw, 44px); border-radius: 44px; background: rgb(32 42 62 / .74); backdrop-filter: blur(10px); }
.w-footer__card .eyebrow { color: var(--sage); }
.w-footer__card h2 { color: #fff; font-size: clamp(30px, 3.2vw, 44px); }
.w-footer__card h2 em { color: var(--clay-light); }
.w-footer__card > p { margin: 14px 0 22px; color: #d7ddd0; }
.w-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-start; padding-left: 12px !important; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.w-footer__nav a { color: #fff; }
.w-footer__nav .dot { color: var(--clay-light); }
:root:not(.has-world) .w-footer { background: var(--ink); }
.motion-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 40; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(41 56 44 / .88); color: #fff; font: 500 14px var(--sans); cursor: pointer; box-shadow: 0 0 0 1px rgb(255 255 255 / calc(var(--night, 0) * .5)); }
.motion-toggle:hover { background: var(--ink); }
:root:not(.has-world) .motion-toggle { display: none; }
.reveal { opacity: 0; translate: 0 26px; transition: opacity .9s, translate .9s; }
.reveal.is-in { opacity: 1; translate: 0 0; }
:root:not(.has-world) .reveal { opacity: 1; translate: none; }

/* Scan */
.scan { display: flex; gap: 8px; margin-top: 26px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -28px rgb(41 56 44 / .6); }
.scan input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: 500 18px var(--sans); color: var(--ink); }
.scan input:focus { outline: none; }
.scan:focus-within { box-shadow: 0 0 0 3px var(--olive), 0 18px 40px -28px rgb(41 56 44 / .6); }
.scan .btn { flex: none; }
.scan__note { margin: 12px 0 0 18px; font-size: 14px; color: var(--muted); }
.scan__summary { margin-top: 20px; }
.scan__summary h2 { font-size: 26px; margin-bottom: 10px; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.zone-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; text-decoration: none; }
.zone-chips a::before, .dot-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.zone-chips [data-status="ok"]::before, .dot-status[data-status="ok"]::before { background: #4fbf68; }
.zone-chips [data-status="warn"]::before, .dot-status[data-status="warn"]::before { background: #f0ac35; }
.zone-chips [data-status="bad"]::before, .dot-status[data-status="bad"]::before { background: #e0503a; }
.zone-chips [data-status="busy"]::before { background: var(--sage); animation: pulse 1s infinite alternate; }
@keyframes pulse { to { opacity: .3; } }

/* Resultaten per zone in de kaarten */
.zone-result { display: grid; gap: 10px; margin: 18px 0 6px; }
.zone-result h3 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mini { padding: 12px 14px; border-radius: 16px; background: var(--paper); border-left: 4px solid var(--sage); }
.mini[data-status="ok"] { border-left-color: #4fbf68; }
.mini[data-status="warn"] { border-left-color: #f0ac35; }
.mini[data-status="bad"] { border-left-color: #e0503a; }
.mini[data-status="info"] { border-left-color: #5aa2e8; }
.mini strong { display: block; font-size: 15.5px; }
.mini p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.mini a { font-size: 14px; font-weight: 600; color: var(--olive); }
.mini details { margin: 6px 0 4px; }
.mini summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--terracotta); }
.mini .advice li { background: #fff; font-size: 14.5px; }

/* Toollijst */
.toollist { display: grid; gap: 2px; margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.toollist a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-weight: 500; text-decoration: none; }
.toollist a::after { content: "\2192"; color: var(--terracotta); transition: translate .2s; }
.toollist a:hover span { text-decoration: underline; text-decoration-color: var(--terracotta); }
.toollist a:hover::after { translate: 4px 0; }
.toollist small { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.allzones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; max-height: min(62svh, 620px); overflow: auto; padding-right: 6px; }
.allzones h3 { margin-top: 14px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.allzones .toollist { margin-top: 6px; }
.allzones .toollist a { padding: 6px 2px; font-size: 15px; }
.allzones .toollist small { display: none; }
.ticks { margin: 0 0 6px; padding: 0; list-style: none; }
.ticks li { position: relative; padding: 4px 0 4px 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 11px; height: 6px; border-left: 2.5px solid var(--terracotta); border-bottom: 2.5px solid var(--terracotta); rotate: -45deg; }

/* Resultaatkaart (API) */
.result { margin-top: 22px; }
.result:empty { display: none; }
.result-card { padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.result-card + .result-card { margin-top: 14px; }
.result-card--error { background: #fbeae6; box-shadow: none; color: var(--bad); }
.result-card--error p { margin: 0; font-weight: 600; }
.result-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.result-card__head h3 { font-size: 25px; }
.result-card__summary { margin: 10px 0 0; color: var(--muted); }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.pill--ok { background: #dff3e4; color: var(--ok); }
.pill--warn { background: #fbefd5; color: var(--warn); }
.pill--bad { background: #fbe1db; color: var(--bad); }
.pill--info { background: var(--blue-light); color: var(--info); }
.result-items { display: grid; gap: 0; margin: 16px 0 0; }
.result-item { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 14px; padding: 9px 0 9px 14px; border-top: 1px solid var(--line); position: relative; }
.result-item::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.result-item[data-status="ok"]::before { background: #4fbf68; }
.result-item[data-status="warn"]::before { background: #f0ac35; }
.result-item[data-status="bad"]::before { background: #e0503a; }
.result-item[data-status="info"]::before { background: #5aa2e8; }
.result-item dt { font-weight: 600; font-size: 15px; }
.result-item dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; color: var(--muted); }
.advice { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.advice li { padding: 14px 16px; border-radius: 16px; background: var(--paper); border-left: 4px solid #5aa2e8; }
.advice li[data-status="warn"] { border-left-color: #f0ac35; }
.advice li[data-status="bad"] { border-left-color: #e0503a; }
.advice li[data-status="ok"] { border-left-color: #4fbf68; }
.advice p { margin: 0; }
.fix { position: relative; margin-top: 10px; }
.fix pre, .out-code { margin: 0; padding: 14px 16px; padding-right: 92px; border-radius: 12px; background: var(--code); color: #e9ece4; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.copy { position: absolute; top: 8px; right: 8px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; font: 600 13px var(--sans); cursor: pointer; }
.copy:hover { background: rgb(255 255 255 / .26); }
.out { position: relative; margin: 0 0 12px; }

/* Formulieren */
.field { display: grid; gap: 6px; margin: 0 0 14px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: 400 16px var(--sans); color: var(--ink); }
.field textarea { font-family: var(--mono); font-size: 14.5px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgb(64 82 57 / .18); }
.field input[type="range"] { padding: 0; border: 0; box-shadow: none; accent-color: var(--olive); }
.field input[type="file"] { padding: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14.5px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--olive); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; padding: 0; border: 0; font-size: 15px; }
.checks legend { margin-bottom: 8px; font-size: 14.5px; font-weight: 600; }
.checks input { accent-color: var(--olive); }
.contact-form .field label, .contact-form .check { color: #e9ece4; }
.contact-form .field label span { color: var(--sage); }
.contact-form .field input, .contact-form .field textarea, .contact-form .field select { border-color: transparent; background: rgb(255 255 255 / .94); }
.contact-form .field textarea { font-family: var(--sans); font-size: 16px; }
.contact-form .check a { color: #fff; }
.contact-form .actions { margin-top: 10px; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status[data-status="ok"] { color: #9fe0b1; }
.form-status[data-status="bad"] { color: #ffc2b5; }
.page-plain .contact-form .field label, .page-plain .contact-form .check { color: var(--ink); }

/* ---------- Pagina's zonder 3D ---------- */
.page-plain { background: var(--paper) linear-gradient(rgb(41 56 44 / .045) 1px, transparent 1px) 0 0 / 100% 38px; }
.plain { padding: clamp(34px, 6vw, 70px) 0 90px; }
.tool-page { display: grid; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.tool-head h1 { margin-bottom: 16px; }
.tool-head h1 small { font-size: .5em; }
.tool-box { padding: clamp(22px, 3vw, 36px); border-radius: 34px; background: #fff; box-shadow: 0 34px 70px -48px rgb(41 56 44 / .55); }
.tool-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 14px; }
.tool-form .field { flex: 1 1 260px; }
.tool-form .field--wide { flex-basis: 100%; }
.tool-form__go { margin: 0 0 14px; }
.tool-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.tool-about { padding: 6px 4px; }
.tool-about h2 { margin-bottom: 16px; font-size: 34px; }
.tool-about p { color: var(--muted); }
.tool-about__privacy { padding: 12px 16px; border-radius: 14px; background: #fff; font-size: 15px; }
.tool-side { display: grid; gap: 18px; }
.help-block { display: grid; gap: 14px; justify-items: start; padding: 24px; border-radius: 26px; background: var(--blue-light); }
.help-block p { margin: 0; }
.related { padding: 22px 24px; border-radius: 26px; background: #fff; }
.related h2 { font-size: 26px; }
.related .toollist small { display: none; }
.related p { margin: 16px 0 0; }
.zone-index { display: grid; gap: 40px; }
.zone-index__zone h2 small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 16px; color: var(--muted); }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.tool-cards a { display: grid; gap: 6px; height: 100%; padding: 20px 22px; border-radius: 22px; background: #fff; text-decoration: none; box-shadow: 0 20px 40px -34px rgb(41 56 44 / .6); transition: translate .2s, box-shadow .2s; }
.tool-cards a:hover { translate: 0 -3px; box-shadow: 0 26px 46px -30px rgb(41 56 44 / .6); }
.tool-cards strong { font-size: 17px; color: var(--olive); }
.tool-cards span { font-size: 15px; color: var(--muted); }
.tool-cards small { justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 30px; }
.prose p { color: var(--muted); }
.site-footer { padding: 54px 0 70px; background: var(--ink); color: #e9ece4; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 30px; }
.site-footer__by { margin: 0 0 10px; font-size: 14px; color: var(--sage); }
.site-footer__logo { display: inline-block; padding: 12px 16px; border-radius: 16px; background: #fff; }
.site-footer__logo img { width: 170px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }

/* ---------- Browsertools ---------- */
.seg { display: inline-flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 999px; background: var(--paper); }
.seg label { padding: 8px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { background: var(--olive); color: #fff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--olive); outline-offset: 2px; }
.pins { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: pin; }
.pins li { display: grid; grid-template-columns: 54px 120px 1fr; align-items: center; gap: 14px; }
.pins li::before { counter-increment: pin; content: "Pin " counter(pin); font-weight: 700; font-size: 14px; }
.wire { height: 22px; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.wire--stripe { background: repeating-linear-gradient(115deg, var(--c) 0 10px, #fbfbf7 10px 18px); }
.poe-table { width: 100%; margin-bottom: 8px; border-collapse: collapse; font-size: 15px; }
.poe-table th, .poe-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.poe-table input { width: 90px; min-height: 40px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.stats-card { min-width: 0; }
.stats-table td:first-child { white-space: nowrap; }
.stats-scroll { overflow-x: auto; }
.stats-h { margin-bottom: 12px; font-size: 25px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.stats-grid .result-card + .result-card { margin-top: 0; }
.poe-table td.num, .poe-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.poe-table meter { width: 100%; min-width: 60px; }
.meter { height: 14px; margin: 10px 0 6px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #4fbf68; transition: width .3s; }
.meter[data-status="warn"] span { background: #f0ac35; }
.meter[data-status="bad"] span { background: #e0503a; }
.serp { max-width: 640px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: Arial, sans-serif; }
.serp__url { font-size: 14px; color: #3c4a40; }
.serp__title { margin: 4px 0; font-size: 20px; line-height: 1.3; color: #2a4f8f; }
.serp__desc { font-size: 14px; line-height: 1.55; color: #4d5650; }
.hops { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.hops li { padding: 10px 14px; border-radius: 12px; background: var(--paper); font-size: 14.5px; overflow-wrap: anywhere; }
.hops b { color: var(--olive); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; overflow-wrap: anywhere; color: var(--muted); }
.codes { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.codes li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--paper); }
.codes b { font-family: var(--mono); font-size: 18px; color: var(--olive); }
.codes p { margin: 0; font-size: 15px; }
.codes strong { display: block; }

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
    .w-progress { display: none !important; }
    .w-scene { align-items: end; padding: 90px 0 64px; }
    .w-hero { align-items: end; }
    .w-hero__text { padding: 22px; border-radius: 30px; }
    .w-hero__text h1 { font-size: 38px; }
    .w-hint { display: none; }
    .w-card, .w-card--right { border-radius: 30px; }
    .scan { flex-direction: column; border-radius: 26px; }
    .scan .btn { width: 100%; }
    .allzones { grid-template-columns: 1fr; max-height: 56svh; }
    .field-row, .tool-grid { grid-template-columns: 1fr; }
    .result-item { grid-template-columns: 1fr; gap: 2px; }
    .pins li { grid-template-columns: 50px 80px 1fr; gap: 10px; }
    .motion-toggle { right: 12px; bottom: 12px; min-height: 40px; padding: 0 14px; font-size: 13px; }
    .w-footer .wrap { justify-items: center; }
    .w-scene { padding-bottom: 84px; }
    .w-card .toollist { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
    .w-card .toollist a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
    .w-card .toollist a::after, .w-card .toollist small { display: none; }
    .w-card > p { font-size: 15.5px; }
    .w-footer__nav { justify-content: center; }
}

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

/* ---------- Ronde 2: terminal, score, rapport, vergelijken, social preview, 404 ---------- */
kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 -1px 0 rgb(41 56 44 / .25), 0 0 0 1px var(--line); font: 600 12.5px var(--mono); color: var(--ink); }
.term-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-left: auto; padding: 0 12px; border: 0; border-radius: 999px; background: var(--ink); color: #e9ece4; font: 600 14px var(--mono); cursor: pointer; }
.term-btn kbd { background: rgb(255 255 255 / .12); box-shadow: none; color: #e9ece4; }
.term-btn:hover { background: var(--olive); }
.site-header .wrap { gap: 18px; }
.term-open { overflow: hidden; }
.term { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgb(20 28 24 / .55); backdrop-filter: blur(3px); }
.term__box { width: min(720px, 100%); border-radius: 18px; overflow: hidden; background: #17201b; color: #d7ddd0; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .7); font: 14.5px/1.6 var(--mono); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #222d27; }
.term__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #e0503a; }
.term__bar > span:nth-child(2) { background: #f0ac35; }
.term__bar > span:nth-child(3) { background: #4fbf68; }
.term__bar p { flex: 1; margin: 0 0 0 8px; font-size: 12.5px; color: #8fa092; }
.term__close { border: 0; background: none; color: #bcc5b2; font-size: 22px; line-height: 1; cursor: pointer; }
.term__log { max-height: 30vh; overflow: auto; padding: 12px 16px 0; }
.term__log p { margin: 0 0 8px; }
.term__log b { color: #7fd39a; font-weight: 600; }
.term__echo { color: #8fa092; }
.term__line { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; }
.term__line span { color: #7fd39a; font-weight: 700; }
.term__line input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; }
.term__line input:focus { outline: none; }
.term__list { margin: 0; padding: 0 8px 10px; list-style: none; border-top: 1px solid #2c3832; }
.term__list li { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.term__list li[aria-selected="true"], .term__list li:hover { background: #2a3630; color: #fff; }
.term__list kbd { background: #2c3832; box-shadow: none; color: #bcc5b2; }

.scan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.scan__head > div { flex: 1 1 260px; }
.score { position: relative; display: grid; justify-items: center; gap: 4px; width: 132px; }
.score svg { width: 120px; height: 120px; rotate: -90deg; }
.score__track { fill: none; stroke: var(--line); stroke-width: 10; }
.score__bar { fill: none; stroke: #4fbf68; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .8s; }
.score[data-status="warn"] .score__bar { stroke: #f0ac35; }
.score[data-status="bad"] .score__bar { stroke: #e0503a; }
.score__num { position: absolute; top: 0; left: 0; right: 0; height: 120px; display: grid; place-content: center; text-align: center; line-height: 1; }
.score__num strong { font: 400 44px var(--serif); color: var(--olive); }
.score__num small { font-size: 12px; color: var(--muted); }
.score__word { margin: 0; font-weight: 700; text-align: center; font-size: 15px; }
.score__word span { font-weight: 400; font-size: 13px; color: var(--muted); }
.scan--plain { max-width: 640px; }
.report-head { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 26px; border-radius: 30px; background: #fff; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 300px; }
.badge-code { flex-basis: 100%; }
.report-zones { display: grid; gap: 30px; }
.report-zone h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 32px; }
.report-zone .result-card + .result-card { margin-top: 12px; }
.dot-status { display: inline-flex; }
.score-explain { max-width: 760px; }
.score-explain h2 { margin-bottom: 12px; font-size: 30px; }
.score-explain p { color: var(--muted); }
.cmp-scores { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-bottom: 8px; }
.cmp-verdict { text-align: center; font-weight: 700; }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp td small { display: block; margin-top: 4px; color: var(--muted); }
.cmp .cmp-zone th { padding-top: 22px; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cmp tr[data-better="a"] td:nth-child(2), .cmp tr[data-better="b"] td:nth-child(3) { background: #eef8f0; }
.og-card { display: grid; max-width: 520px; margin: 16px 0 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.og-card__img { display: block; width: 100%; aspect-ratio: 1.91 / 1; object-fit: cover; background: var(--paper); }
.og-card__img--none { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.og-card figcaption { display: grid; gap: 3px; padding: 12px 16px 14px; }
.og-card small { color: var(--muted); text-transform: lowercase; }
.og-card strong { font-size: 16.5px; }
.og-card span { font-size: 14.5px; color: var(--muted); }
.quick-links { margin-top: 18px; font-size: 15.5px; }
.quick-links a { font-weight: 600; color: var(--blue); }
.guide h2 { margin: 30px 0 12px; }
.guide ol, .guide ul { padding-left: 22px; color: var(--muted); }
.guide li { margin-bottom: 6px; }
.sources { font-size: 15px; }

/* Glossary (/woordenlijst) and the "Wat is ...?" link on tool pages */
.gl-abc { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 24px; }
.gl-abc a, .gl-abc span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.gl-abc a { background: #fff; color: var(--olive); text-decoration: none; box-shadow: 0 10px 24px -20px rgb(41 56 44 / .6); }
.gl-abc a:hover, .gl-abc a:focus-visible { background: var(--olive); color: #fff; }
.gl-abc span { color: var(--line); }
.gl h2 { margin: 28px 0 6px; scroll-margin-top: 90px; }
.gl dl { margin: 0; }
.gl-term { padding: 14px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.gl-term:target { padding-inline: 14px; border-radius: 14px; background: #eef3ea; }
.gl-term dt { font-size: 18px; font-weight: 700; color: var(--ink); }
.gl-term dd { margin: 4px 0 0; }
.gl-term dd p { margin: 0 0 6px; }
.gl-links { font-size: 15px; }
.gl-links span { font-weight: 600; color: var(--muted); }
.gl-links a, .tool-term a { font-weight: 600; color: var(--olive); }
.tool-term { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.gl-more { margin-top: 24px; }
.gl-more a { font-weight: 600; color: var(--olive); }
.notfound { justify-items: start; }
.unplugged { width: min(460px, 100%); height: auto; }
.unplugged__wall { fill: #fff; stroke: var(--line); stroke-width: 3; }
.unplugged__port { fill: var(--ink); }
.unplugged__led--off { fill: var(--sage); }
.unplugged__led--blink { fill: #e0503a; animation: blink 1.1s steps(2) infinite; }
.unplugged__wire { fill: none; stroke: #3d7fc4; stroke-width: 9; stroke-linecap: round; }
.unplugged__plug { fill: #dfe7ee; stroke: #8fa6bb; stroke-width: 2; }
.unplugged__clip { fill: #c8d3dd; }
.unplugged__pins { stroke: #d4a84a; stroke-width: 2.5; }
.unplugged__cable { transform-origin: 0 150px; animation: dangle 3.4s ease-in-out infinite; }
.unplugged__sparks path { stroke: #f0ac35; stroke-width: 4; stroke-linecap: round; fill: none; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { to { opacity: .15; } }
@keyframes dangle { 50% { rotate: 2.5deg; } }

@media (max-width: 760px) {
    .term-btn kbd { display: none; }
    .term { padding-top: 70px; }
    .scan__head { justify-content: center; }
    .report-head { padding: 18px; }
}

@media print {
    .site-header, .site-footer, .term-btn, .report-actions, .scan, .score-explain .note, .motion-toggle { display: none !important; }
    body, .page-plain { background: #fff; }
    .result-card, .report-head { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
    .advice li { break-inside: avoid; }
    details { display: block; }
    a { text-decoration: none; }
}
.world-tip { position: fixed; left: 0; top: 0; z-index: 45; max-width: 250px; padding: 7px 13px; border-radius: 14px; background: var(--ink); color: #fff; font: 600 13.5px/1.4 var(--sans); pointer-events: none; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }
.world-hover, .world-hover .w-scene { cursor: pointer; }
.term__line input:focus-visible { outline: none; box-shadow: none; }
.term__line:focus-within { box-shadow: inset 0 -2px 0 #7fd39a; }
/* Quickscans */
.qs-h { margin: 8px 0 14px; font-size: 30px; }
.qs-form .field select { max-width: 640px; }
.qs-q { margin: 0 0 14px; padding: 16px 18px; border: 0; border-radius: 18px; background: var(--paper); }
.qs-q legend { float: left; width: 100%; margin-bottom: 10px; font-weight: 600; }
.qs-q .note { clear: both; margin: 10px 0 0; font-size: 14px; }
.qs-n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--olive); color: #fff; font-size: 13px; }
.qs-answers { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.qs-answers label { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-size: 15px; }
.qs-answers label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--olive); background: #eef3ea; }
.qs-answers input { accent-color: var(--olive); }
.qs-score { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 22px 0 6px; }
.qs-score h3 { font-size: 26px; }
.qs-result .advice a { font-weight: 600; color: var(--olive); }
.qs-sources { margin-top: 6px; font-size: 15px; }
.qs-sources summary { cursor: pointer; font-weight: 600; color: var(--muted); }
@media print { .qs-form, .qs-result .actions { display: none !important; } }
.zone-more { margin: 12px 0 0; font-size: 15px; }
.zone-more a { font-weight: 600; color: var(--olive); }
.zone-more a::after { content: " \2192"; color: var(--terracotta); }
/* Rapport: technische versie of versie voor de directie (directie.js) */
.report-view { margin: 18px 0 0; }
.report-board { display: grid; gap: 22px; margin: 28px 0; }
.board-intro, .board-zone, .board-help { padding: 24px 26px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.board-intro h2 { margin-bottom: 12px; font-size: 32px; }
.board-intro h3, .board-zone h3, .board-help h3 { margin: 20px 0 10px; font-size: 26px; }
.board-zone h3, .board-help h3 { margin-top: 0; }
.board-score { font-size: 17px; }
.board-todo { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: todo; }
.board-todo li { position: relative; padding: 12px 16px 12px 48px; border-radius: 16px; background: var(--paper); border-left: 4px solid #f0ac35; counter-increment: todo; }
.board-todo li[data-status="bad"] { border-left-color: #e0503a; }
.board-todo li::before { content: counter(todo); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--olive); color: #fff; font-size: 13px; font-weight: 700; }
.board-item { padding: 16px 0; border-top: 1px solid var(--line); }
.board-item:first-of-type { border-top: 0; padding-top: 4px; }
.board-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.board-item h4 { margin: 0; font: 700 17px/1.3 var(--sans); }
.board-item h4 small { font-weight: 400; color: var(--muted); }
.board-item p { margin: 6px 0 0; }
.board-item a { font-weight: 600; color: var(--olive); }
.board-url { font-size: 14.5px; color: var(--muted); overflow-wrap: anywhere; }
.board-url span { color: var(--ink); font-weight: 600; }
.board-help .actions { margin-top: 18px; }
.board-note { margin: 0; }
@media (max-width: 600px) {
    .board-intro, .board-zone, .board-help { padding: 20px 18px; border-radius: 20px; }
    .board-intro h2 { font-size: 27px; }
    .board-intro h3, .board-zone h3, .board-help h3 { font-size: 23px; }
}
@media print {
    .report-view, .board-help .actions { display: none !important; }
    .report-board { margin: 16px 0 0; gap: 12px; }
    .board-intro, .board-zone, .board-help { box-shadow: none; border: 1px solid #ccc; padding: 14px 16px; }
    .board-item, .board-todo li { break-inside: avoid; }
    .board-zone h3, .board-intro h3 { break-after: avoid; }
}

/* ---------- Waakhond ---------- */
.wh-form .wh-modes { margin: 4px 0 10px; padding: 0; border: 0; }
.wh-form .wh-modes legend { margin-bottom: 10px; font-size: 14.5px; font-weight: 600; }
.wh-form .check .note { display: block; margin-top: 2px; }
.wh-form .form-status[data-status="ok"], .wh-page .form-status[data-status="ok"] { color: var(--ok); }
.wh-form .form-status[data-status="bad"] { color: var(--bad); }
.wh-form [aria-invalid="true"] { border-color: var(--bad); }
.wh-badge { padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #fff; box-shadow: 0 34px 70px -48px rgb(41 56 44 / .55); }
.wh-badge img { display: block; max-width: 100%; height: auto; }
.scan-watch { margin: 12px 0 0; font-size: 14.5px; }
.wh-form .actions + .note { margin-top: 12px; }
