/* Werk-check scankamer (home #homescan en /scan/).
   Na het invullen van een URL opent een ondoorzichtige kamer over de pagina:
   links de navy rail met de checks, rechts het podium met per check een eigen
   beeld. Alles wat hier beweegt toont echte meetwaarden uit /api/scan.
   Beweging: alleen transform/opacity/stroke, stil bij prefers-reduced-motion. */

:root {
  --wc-bg: #EEF2F7;
  --wc-rail: #0B1526;
  --wc-rail-lijn: rgba(232, 238, 248, .12);
  --wc-rail-tekst: rgba(232, 238, 248, .72);
  --wc-ok: #2F8F5E;
  --wc-ok-licht: #7FD6A8;
  --wc-raster: rgba(11, 21, 38, .045);
  --wc-ease: cubic-bezier(.22, 1, .36, 1);
  --wc-koper-tekst: #AD5426;   /* koper voor kleine tekst: haalt AA (5,2:1) op wit */
  --wc-r: 12px;                /* een radius voor alles binnen het podium; panelen 20, pillen rond */
}

html.wc-open { overflow: hidden; }
html.wc-open body { overflow: hidden; }

.wc {
  position: fixed; inset: 0; z-index: 300;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background-color: var(--wc-bg);
  background-image: var(--mk-noise);
  color: var(--inkt);
  font-family: var(--font-body);
  opacity: 0; transition: opacity .35s ease;
}
.wc.is-open { opacity: 1; }
.wc[hidden], .wc [hidden] { display: none !important; }
.wc *, .wc *::before, .wc *::after { box-sizing: border-box; }

/* ── Bovenbalk ─────────────────────────────────────────────────────────── */
.wc-top {
  display: flex; align-items: center; gap: 14px;
  padding: 14px clamp(16px, 2.4vw, 28px);
  min-height: 64px;
}
.wc-merk { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.wc-merk img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.wc-kruimel { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--tekst-muted); }
.wc-kruimel span { white-space: nowrap; flex-shrink: 0; }
.wc-kruimel .wc-fase { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wc-kruimel .wc-dom { color: var(--navy); font-weight: 500; }
.wc-kruimel i { font-style: normal; color: #A3B0C2; flex-shrink: 0; }
.wc-kruimel i::before { content: "/"; }
.wc-sluit {
  margin-left: auto; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; min-width: 44px; justify-content: center; padding: 0 16px 0 14px; border-radius: 999px;
  border: 1px solid #D5DDE8; background: #fff; color: var(--navy); cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .2s ease, background-color .2s ease;
}
.wc-sluit:hover { border-color: var(--navy); }
.wc-sluit svg { width: 16px; height: 16px; }
.wc-sluit:focus-visible, .wc button:focus-visible, .wc a:focus-visible { outline: 2px solid var(--koper); outline-offset: 2px; }

/* ── Raamwerk: rail + podium ───────────────────────────────────────────── */
.wc-grid {
  display: grid; grid-template-columns: 318px minmax(0, 1fr); gap: 16px;
  padding: 0 clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px);
  max-width: 1480px; margin: 0 auto;
  min-height: calc(100dvh - 64px);
}

.wc-rail {
  position: sticky; top: 12px; align-self: start;
  height: calc(100dvh - 64px - 28px); min-height: 560px;
  display: flex; flex-direction: column;
  background-color: var(--wc-rail);
  background-image: var(--mk-noise),
    radial-gradient(circle at 18% 112%, rgba(196, 98, 45, .2), transparent 46%);
  border-radius: 20px; border-top: 3px solid var(--koper);
  padding: 26px 22px 22px;
  color: #fff; overflow: hidden;
}
/* radarringen onderin de rail: het cockpit-motief van de site */
.wc-rail::after {
  content: ""; position: absolute; left: -90px; bottom: -150px; width: 360px; height: 360px;
  border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(232, 238, 248, .055) 34px 35px);
}
.wc-rail > * { position: relative; z-index: 1; }
.wc-rail-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--koper-hover); margin: 0; }
.wc-rail h2 { font-family: var(--font-kop); font-weight: 800; color: #fff;
  font-size: 25px; line-height: 1.12; letter-spacing: -.01em; margin: 10px 0 0; }
.wc-rail-intro { font-size: 14px; line-height: 1.55; color: var(--wc-rail-tekst); margin: 10px 0 0; max-width: none; }

.wc-stappen { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
  overflow-y: auto; scrollbar-width: none; }
.wc-stappen::-webkit-scrollbar { display: none; }
.wc-stap-knop {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--wc-r); border: 1px solid transparent;
  background: transparent; color: rgba(232, 238, 248, .5); text-align: left;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; cursor: default;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}
.wc-stap.is-klaar .wc-stap-knop { color: #fff; }
.wc-stap.is-actief .wc-stap-knop { color: #fff; background: rgba(232, 238, 248, .07); border-color: var(--wc-rail-lijn); }
.wc.is-klaar .wc-stap-knop { cursor: pointer; }
.wc.is-klaar .wc-stap-knop:hover { background: rgba(232, 238, 248, .06); }
.wc.is-klaar .wc-stap.is-bekeken .wc-stap-knop { background: rgba(232, 238, 248, .09); border-color: var(--wc-rail-lijn); }

.wc-stap-ico { position: relative; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid rgba(232, 238, 248, .28); }
.wc-stap.is-actief .wc-stap-ico { border-color: rgba(232, 238, 248, .18); border-top-color: var(--koper-hover);
  animation: wc-draai .8s linear infinite; }
.wc-stap.is-klaar .wc-stap-ico { border: 0; }
.wc-stap.is-klaar .wc-stap-ico::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 6px; height: 11px;
  border: solid var(--koper-hover); border-width: 0 2px 2px 0; transform: rotate(42deg);
}
.wc-stap.is-mis .wc-stap-ico { border-color: rgba(232, 238, 248, .28); }
@keyframes wc-draai { to { transform: rotate(360deg); } }

.wc-stap, .wc-sub { min-width: 0; }
.wc-sub { list-style: none; margin: 4px 0 8px 21px; padding: 0 0 0 14px; border-left: 1px solid var(--wc-rail-lijn);
  display: none; }
.wc-stap.is-actief .wc-sub, .wc-stap.toon-sub .wc-sub { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.wc-sub li { min-width: 0; }
.wc-sub li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0 5px 4px;
  font-size: 13px; color: var(--wc-rail-tekst);
  opacity: 0; transform: translateX(-6px); transition: opacity .35s ease, transform .35s var(--wc-ease); }
.wc-sub li.is-aan { opacity: 1; transform: none; }
.wc-sub li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; flex-shrink: 0;
  transform: translateY(-1px); }
.wc-sub li.ok::before { background: var(--wc-ok-licht); }
.wc-sub li.let::before { background: var(--koper-hover); }
.wc-sub li span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-sub b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: #fff; white-space: nowrap; }
.wc-sub li.ok b { color: var(--wc-ok-licht); }
.wc-sub li.let b { color: var(--koper-hover); }

.wc-voortgang { margin-top: auto; padding-top: 18px; }
.wc-voortgang-tekst { display: flex; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--wc-rail-tekst); }
.wc-balk { height: 4px; border-radius: 999px; background: rgba(232, 238, 248, .12); margin-top: 10px; overflow: hidden; }
.wc-balk i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--koper);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--wc-ease); }
.wc-vooruit { margin-top: 4px; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--navy-gedempt);
  text-decoration: underline; text-underline-offset: 3px; }
.wc-vooruit:hover { color: #fff; }
.wc-naar-uitkomst { display: none; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 14px; padding: 0 16px;
  border-radius: var(--wc-r); border: 1px solid var(--wc-rail-lijn); background: rgba(232, 238, 248, .06); color: #fff; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.wc-naar-uitkomst svg { width: 18px; height: 18px; color: var(--koper-hover); }
.wc-naar-uitkomst:hover { background: rgba(232, 238, 248, .12); }
.wc.is-klaar .wc-naar-uitkomst { display: flex; }
.wc.op-uitkomst .wc-naar-uitkomst { display: none; }
.wc-verder.wc-terug { display: none; margin: 0 0 8px; }

/* ── Podium ─────────────────────────────────────────────────────────────── */
.wc-podium {
  position: relative; min-width: 0;
  background-color: #fff;
  background-image:
    linear-gradient(var(--wc-raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--wc-raster) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
  border: 1px solid #DDE4EE; border-radius: 20px;
  box-shadow: 0 1px 0 rgba(11, 21, 38, .03), 0 24px 60px -32px rgba(11, 21, 38, .25);
  padding: clamp(24px, 3.4vw, 46px) clamp(20px, 3.6vw, 52px) clamp(28px, 3.4vw, 44px);
  overflow: hidden;
}
.wc-scene[hidden] { display: none; }
.wc-podium { display: flex; flex-direction: column; }
.wc-scene { padding: 0; margin: 0; animation: wc-in .5s var(--wc-ease) both; flex: 1; display: flex; flex-direction: column; }
.wc-scene > .wc-beeld { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wc-scene[data-scene="uitkomst"] > .wc-beeld, .wc-scene[data-scene="laden"] > .wc-beeld { justify-content: flex-start; }
@keyframes wc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.wc-kop { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.wc-kop-tekst { max-width: 680px; }
.wc-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--wc-koper-tekst); margin: 0; }
.wc-kop h3 { font-family: var(--font-kop); font-weight: 800; color: var(--navy);
  font-size: clamp(28px, 3.3vw, 46px); line-height: 1.04; letter-spacing: -.02em; margin: 12px 0 0; }
.wc-kop p.wc-uitleg { font-size: 16.5px; line-height: 1.6; color: var(--tekst-muted); margin: 12px 0 0; max-width: 64ch;
  transition: opacity .26s ease, transform .26s ease; }
.wc-kop p.wc-uitleg.is-wissel { opacity: 0; transform: translateY(-4px); }
.wc-kop p.wc-uitleg.is-uitkomst { color: var(--inkt); animation: wc-in .45s var(--wc-ease) both; }
.wc-kop p.wc-uitleg.is-zicht { animation: none; }
.wc-kop p.wc-uitleg strong { color: var(--navy); font-weight: 600; }
.wc-mis { font-size: 16px; line-height: 1.6; color: var(--inkt); max-width: 64ch; margin: 0; }
.wc-mis a { color: var(--wc-koper-tekst); }
.wc-teller { text-align: right; flex-shrink: 0; padding-top: 4px; }
.wc-teller b { display: block; font-family: var(--font-kop); font-weight: 800; color: var(--navy);
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wc-teller span { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
  color: var(--label); margin-top: 8px; }
.wc-beeld { margin-top: clamp(22px, 3vw, 38px); }
/* ── 1. Pagina's ─────────────────────────────────────────────────────────── */
.wc-tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 12px; }
.wc-tegel {
  position: relative; height: 102px; border-radius: var(--wc-r); overflow: hidden;
  background: #fff; border: 1px solid #E1E7EF;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity .4s ease, transform .5s var(--wc-ease), border-color .3s ease, box-shadow .3s ease;
  transition-delay: calc(var(--i, 0) * 28ms);
}
.wc-tegel.is-aan { opacity: .5; transform: none; }
.wc-tegel.is-gelezen { opacity: 1; border-color: #C9D3E0; box-shadow: 0 10px 24px -16px rgba(11, 21, 38, .35); transition-delay: 0s; }
.wc-tegel-bar { display: flex; gap: 4px; align-items: center; height: 18px; padding: 0 8px; border-bottom: 1px solid #EDF1F6; }
.wc-tegel-bar i { width: 5px; height: 5px; border-radius: 50%; background: #D7DEE8; }
.wc-tegel-lijnen { padding: 10px 9px; display: grid; gap: 6px; }
.wc-tegel-lijnen i { display: block; height: 5px; border-radius: 3px; background: #EDF1F6; }
.wc-tegel-lijnen i:nth-child(1) { width: 70%; background: #E2E8F0; height: 7px; }
.wc-tegel-lijnen i:nth-child(2) { width: 92%; }
.wc-tegel-lijnen i:nth-child(3) { width: 54%; }
.wc-tegel-pad { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 9px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--tekst-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: linear-gradient(transparent, #fff 40%); }
.wc-tegel.is-gelezen .wc-tegel-pad { color: var(--navy); }
.wc-tegel-stip { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--koper); transform: scale(0); transition: transform .3s var(--wc-ease); }
.wc-tegel.is-gelezen .wc-tegel-stip { transform: scale(1); }
.wc-tegel-scan { position: absolute; left: 0; right: 0; top: 0; height: 40%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(196, 98, 45, .16) 80%, rgba(196, 98, 45, .55));
  transform: translateY(-110%); }
.wc-tegel.is-gelezen .wc-tegel-scan { animation: wc-scan 1s var(--wc-ease) 1 both; }
@keyframes wc-scan { 0% { transform: translateY(-110%); } 85% { opacity: 1; } 100% { transform: translateY(260%); opacity: 0; } }
.wc-tegel-foto { background: #fff; position: absolute; left: 0; top: 18px; width: 100%; height: calc(100% - 18px); object-fit: cover; object-position: center top; display: block; }
.wc-tegel-foto + .wc-tegel-pad { color: #fff; background: linear-gradient(transparent, rgba(11, 21, 38, .75)); }
.wc-tegels.is-klein { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.wc-tegels.is-klein .wc-tegel { height: 150px; }
.wc-tegels.is-klein .wc-tegel-lijnen { padding: 16px 14px; gap: 9px; }
.wc-tegels.is-klein .wc-tegel-lijnen i { height: 7px; }
.wc-tegels.is-klein .wc-tegel-pad { font-size: 12px; padding: 9px 12px; }
.wc-tegel-meer { display: flex; align-items: center; justify-content: center; font-family: var(--font-mono);
  font-size: 12px; color: var(--label); background: #F6F8FB; border-style: dashed; }

/* ── 2. Klantcontact ─────────────────────────────────────────────────────── */
.wc-contact { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; align-items: center; }
.wc-klant { position: relative; display: grid; justify-items: center; gap: 10px; z-index: 1; }
.wc-klant-bol { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: 0 0 0 10px rgba(11, 21, 38, .06), 0 0 0 22px rgba(11, 21, 38, .03); }
.wc-klant-bol svg { width: 38px; height: 38px; }
.wc-klant span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.wc-kanalen { position: relative; list-style: none; margin: 0; padding: 0 0 0 46px; display: grid; gap: 5px; }
.wc-kanalen::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px;
  background: #DCE3EC; border-radius: 2px; transform-origin: top; transform: scaleY(0); transition: transform .7s var(--wc-ease); }
.wc-contact.is-aan .wc-kanalen::before { transform: scaleY(1); }
.wc-kanaal { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 6px 14px 6px 8px; border-radius: 12px; background: #fff; border: 1px solid #E1E7EF;
  opacity: 0; transform: translateX(10px); transition: opacity .45s ease, transform .5s var(--wc-ease), border-color .3s ease;
  transition-delay: calc(.25s + var(--i, 0) * .32s); }
.wc-kanaal::before { content: ""; position: absolute; left: -46px; top: 50%; width: 46px; height: 2px; background: #DCE3EC; }
.wc-kanaal::after { content: ""; position: absolute; left: -46px; top: calc(50% - 3px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--koper); opacity: 0; }
.wc-contact.is-aan .wc-kanaal { opacity: 1; transform: none; }
.wc-kanaal.is-niet { background: #F8FAFC; }
.wc-kanaal.is-niet .wc-kanaal-ico, .wc-kanaal.is-niet .wc-kanaal-naam { opacity: .45; }
.wc-kanaal.is-wel { border-color: #CED8E4; }
.wc-contact.is-aan .wc-kanaal.is-wel::after { animation: wc-puls-x 2.6s ease-in-out infinite; animation-delay: calc(1.2s + var(--i, 0) * .32s); }
@keyframes wc-puls-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateX(40px); opacity: 1; } 80%, 100% { transform: translateX(40px); opacity: 0; } }
.wc-kanaal-ico { width: 36px; height: 36px; border-radius: var(--wc-r); display: grid; place-items: center; background: #EEF2F7; color: var(--navy); }
.wc-kanaal.is-wel .wc-kanaal-ico { background: var(--navy); color: #fff; }
.wc-kanaal-ico svg { width: 19px; height: 19px; }
.wc-kanaal-naam { min-width: 0; }
.wc-kanaal-naam strong { display: block; font-size: 15px; font-weight: 600; color: var(--navy); }
.wc-kanaal-naam span { display: block; font-family: var(--font-mono); font-size: 11.5px; color: var(--tekst-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.wc-pil { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid #D5DDE8; color: var(--tekst-muted); }
.wc-pil-mens { color: var(--wc-koper-tekst); border-color: rgba(196, 98, 45, .45); background: #FBF6F2; }
.wc-pil-ok { color: var(--wc-ok); border-color: rgba(47, 143, 94, .4); background: #F1F9F4; }

/* ── 3. Systemen ─────────────────────────────────────────────────────────── */
.wc-stelsel { position: relative; height: clamp(360px, 46vh, 460px); }
.wc-stelsel svg.wc-banen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wc-stelsel { container-type: size; }
.wc-ring { fill: none; stroke: #D3DCE7; stroke-width: 1; stroke-dasharray: 3 8; vector-effect: non-scaling-stroke; }
.wc-stelsel.is-aan .wc-ring { animation: wc-stroom 40s linear infinite; }
.wc-stelsel.is-aan .wc-ring + .wc-ring { animation-duration: 60s; animation-direction: reverse; }
@keyframes wc-stroom { to { stroke-dashoffset: -1100; } }
.wc-lijn { stroke: #C9D3E0; stroke-width: 1.5; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1s var(--wc-ease); transition-delay: calc(.2s + var(--i, 0) * .38s); }
.wc-stelsel.is-aan .wc-lijn { stroke-dashoffset: 0; }
.wc-puls { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--koper); opacity: 0; pointer-events: none; }
.wc-stelsel.is-aan .wc-puls { animation: wc-puls-baan 3.2s ease-in-out infinite; animation-delay: calc(1.6s + var(--i, 0) * .6s); }
@keyframes wc-puls-baan {
  0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; }
  70% { transform: translate(calc(var(--dx) * 1cqw), calc(var(--dy) * 1cqh)); opacity: 1; }
  80%, 100% { transform: translate(calc(var(--dx) * 1cqw), calc(var(--dy) * 1cqh)); opacity: 0; } }
.wc-kern { position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px;
  border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--navy); color: #fff; box-shadow: 0 0 0 12px rgba(11, 21, 38, .05), 0 24px 40px -20px rgba(11, 21, 38, .6); }
.wc-kern img { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; background: #fff; padding: 3px; }
.wc-kern-letter { font-family: var(--font-kop); font-weight: 800; font-size: 40px; line-height: 1; }
.wc-kern-dom { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--navy-gedempt);
  margin-top: 8px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-kern-letter { display: block; color: #fff; }
.wc-node { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #D5DDE8; text-align: left;
  box-shadow: 0 14px 30px -20px rgba(11, 21, 38, .45); white-space: nowrap;
  transition: opacity .4s ease, transform .55s var(--wc-ease); transition-delay: calc(.55s + var(--i, 0) * .38s); }
.wc-stelsel.is-aan .wc-node { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wc-node small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--wc-koper-tekst); }
.wc-node strong { display: block; font-family: var(--font-kop); font-weight: 600; font-size: 15.5px; color: var(--navy); margin-top: 2px; }
.wc-node strong img { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; margin-right: 7px; }
.wc-node.is-stil { border-color: #E1E7EF; box-shadow: none; }
.wc-node.is-mist { background: #F6F8FB; border-style: dashed; border-color: #C9D3E0; box-shadow: none; }
.wc-node.is-mist small { color: var(--tekst-muted); }
.wc-node.is-mist strong { font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; color: var(--tekst-muted); }
.wc-lijn.is-mist { stroke-dasharray: 4 6; stroke: #D3DCE7; }
.wc-stelsel.is-aan .wc-lijn.is-mist { stroke-dashoffset: 0; }
.wc-node.is-stil strong { font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--inkt); }
.wc-leeg { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(520px, 100%);
  text-align: center; font-size: 14.5px; color: var(--tekst-muted); }

/* ── 4. Basis ─────────────────────────────────────────────────────────────── */
.wc-basis { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.wc-meter { position: relative; text-align: center; }
.wc-meter svg { width: 100%; height: auto; display: block; overflow: visible; }
.wc-meter-baan { fill: none; stroke: #E6EBF2; stroke-width: 14; stroke-linecap: round; }
.wc-meter-vlot { fill: none; stroke: var(--mk-groen); stroke-width: 14; stroke-linecap: round; }
.wc-meter-traag { fill: none; stroke: var(--koper); stroke-width: 14; stroke-linecap: round; }
.wc-meter-streep { stroke: #B9C4D3; stroke-width: 1.5; }
.wc-meter-cijfer-s { font-family: var(--font-mono); font-size: 10px; fill: var(--label); }
.wc-naald { transform-origin: 160px 170px; transform: rotate(-90deg); transition: transform 1.6s cubic-bezier(.34, 1.4, .5, 1); }
.wc-naald line { stroke: var(--navy); stroke-width: 3.5; stroke-linecap: round; }
.wc-naald circle { fill: var(--navy); }
.wc-meter-waarde { margin-top: -8px; font-family: var(--font-kop); font-weight: 800; color: var(--navy);
  font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.wc-meter-waarde small { font-size: 20px; color: var(--label); margin-left: 4px; }
.wc-meter-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--label); margin-top: 8px; }
.wc-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wc-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; align-items: start;
  padding: 11px 12px; border-radius: 12px; border: 1px solid #E1E7EF; background: #fff;
  opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .45s var(--wc-ease);
  transition-delay: calc(.6s + var(--i, 0) * .22s); }
.wc-basis.is-aan .wc-check { opacity: 1; transform: none; }
.wc-check svg { width: 20px; height: 20px; margin-top: 1px; }
.wc-check.is-ok svg { color: var(--wc-ok); }
.wc-check.is-let svg { color: var(--koper); }
.wc-check strong { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.wc-check span { grid-column: 2; font-family: var(--font-mono); font-size: 11px; color: var(--tekst-muted); }

/* ── 5. Werksignalen ─────────────────────────────────────────────────────── */
.wc-signalen { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.wc-woorden { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wc-woord { display: grid; grid-template-columns: 136px minmax(0, 1fr) 40px; gap: 12px; align-items: center;
  opacity: 0; transition: opacity .4s ease; transition-delay: calc(.2s + var(--i, 0) * .2s); }
.wc-signalen.is-aan .wc-woord { opacity: 1; }
.wc-woord strong { font-family: var(--font-kop); font-weight: 600; font-size: 16px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-woord i { display: block; height: 10px; border-radius: 999px; background: #EEF2F7; overflow: hidden; }
.wc-woord i::after { content: ""; display: block; height: 100%; border-radius: inherit; background: var(--navy);
  transform-origin: left; transform: scaleX(0); transition: transform 1s var(--wc-ease); transition-delay: calc(.35s + var(--i, 0) * .2s); }
.wc-woord:first-child i::after { background: var(--koper); }
.wc-signalen.is-aan .wc-woord i::after { transform: scaleX(var(--w, 0)); }
.wc-woord span { font-family: var(--font-mono); font-size: 12px; color: var(--tekst-muted); text-align: right; }
.wc-citaten { display: grid; gap: 12px; }
.wc-citaat { margin: 0; padding: 16px 18px 14px; border-radius: var(--wc-r); background: #fff; border: 1px solid #E1E7EF;
  font-size: 15.5px; line-height: 1.6; color: var(--tekst-muted);
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .5s var(--wc-ease);
  transition-delay: calc(.8s + var(--i, 0) * .55s); }
.wc-signalen.is-aan .wc-citaat { opacity: 1; transform: none; }
.wc-citaat mark { position: relative; background: none; color: var(--navy); font-weight: 600; padding: 0 2px; }
.wc-citaat mark::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 42%; z-index: -1;
  background: rgba(196, 98, 45, .26); border-radius: 2px; transform-origin: left; transform: scaleX(0);
  transition: transform .6s var(--wc-ease); transition-delay: calc(1.25s + var(--i, 0) * .55s); }
.wc-citaat { position: relative; z-index: 0; }
.wc-signalen.is-aan .wc-citaat mark::before { transform: scaleX(1); }
.wc-citaat figcaption, .wc-citaat cite { display: block; margin-top: 8px; font-style: normal;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }

/* ── 6. Kansen ───────────────────────────────────────────────────────────── */
.wc-denken { display: grid; gap: 14px; max-width: 760px; margin-bottom: 4px; }
.wc-denken-regel { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--tekst-muted); }
.wc-typ { display: inline-flex; gap: 4px; }
.wc-typ i { width: 6px; height: 6px; border-radius: 50%; background: var(--koper); opacity: .25; animation: wc-typ 1.2s ease-in-out infinite; }
.wc-typ i:nth-child(2) { animation-delay: .15s; }
.wc-typ i:nth-child(3) { animation-delay: .3s; }
@keyframes wc-typ { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wc-leeslijnen { display: grid; gap: 8px; margin-top: 6px; }
.wc-leeslijnen p { margin: 0; max-width: none; font-size: 14px; line-height: 1.5; color: #9AA8BA;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: wc-flits 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .3s); }
@keyframes wc-flits { 0%, 100% { color: #A9B5C4; } 40% { color: var(--navy); } }
.wc-bedrijf { font-family: var(--font-kop); font-weight: 600; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.4; color: var(--navy);
  margin: 0; max-width: 60ch; min-height: 1.4em; }
.wc-omvang { font-family: var(--font-mono); font-size: 11.5px; color: var(--tekst-muted); margin: 8px 0 0; max-width: none; }
.wc-bedrijf .wc-caret { display: inline-block; width: 2px; height: 1em; background: var(--koper); vertical-align: -2px; margin-left: 2px;
  animation: wc-knipper 1s steps(1) infinite; }
@keyframes wc-knipper { 50% { opacity: 0; } }
.wc-kansen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.wc-kans { display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: var(--wc-r); background: #fff;
  border: 1px solid #DCE3EC; box-shadow: 0 18px 40px -30px rgba(11, 21, 38, .5);
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s var(--wc-ease);
  transition-delay: calc(var(--i, 0) * .45s); }
.wc-kansen.is-aan .wc-kans { opacity: 1; transform: none; }
.wc-kansen.is-skelet .wc-kans { opacity: 1; transform: none; box-shadow: none; border-style: dashed; min-height: 220px; gap: 12px; }
.wc-kans-skelet i { display: block; height: 10px; border-radius: 6px; background: #EEF2F7; animation: wc-skelet 1.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .2s); }
.wc-kans-skelet i:nth-child(1) { width: 38%; height: 9px; }
.wc-kans-skelet i:nth-child(2) { width: 82%; height: 16px; margin-top: 8px; }
.wc-kans-skelet i:nth-child(3) { width: 94%; }
.wc-kans-skelet i:nth-child(4) { width: 66%; }
@keyframes wc-skelet { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.wc-kans-kop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wc-kans-dienst { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--wc-koper-tekst); white-space: nowrap; min-width: 0; }
.wc-kans-dienst .mk-anim { margin: 0; }
.wc-kans-dienst .mk-anim i, .wc-kans-dienst .mk-anim b { animation-play-state: running; }
.wc-kans h4 { font-family: var(--font-kop); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--navy); margin: 14px 0 0; }
.wc-kans-nu, .wc-kans-straks { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; margin: 10px 0 0;
  font-size: 14px; line-height: 1.5; max-width: none; }
.wc-kans-nu > span, .wc-kans-straks > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.wc-kans.is-vol { cursor: default; }
.wc-kans.is-geklemd { cursor: pointer; }
.wc-kans.is-geklemd:hover { border-color: #B9C5D5; }
.wc-kans.is-open { border-color: var(--koper); }
.wc-lees { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--wc-koper-tekst);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.wc-kans:focus-visible { outline: 2px solid var(--koper); outline-offset: 2px; }
.wc-kans.is-open .wc-kans-nu > span, .wc-kans.is-open .wc-kans-straks > span { -webkit-line-clamp: unset; line-clamp: none; display: block; }
.wc-kans-nu { color: var(--tekst-muted); }
.wc-kans-straks { color: var(--inkt); }
.wc-kans-nu em, .wc-kans-straks em { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .09em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 999px; align-self: start; margin-top: 2px; }
.wc-kans-nu em { color: var(--tekst-muted); border: 1px solid #D5DDE8; }
.wc-kans-straks em { color: var(--wc-koper-tekst); border: 1px solid rgba(196, 98, 45, .45); }
.wc-kans-voet { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wc-uren { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--navy); }
.wc-uren i { width: 64px; height: 5px; border-radius: 999px; background: #EEF2F7; overflow: hidden; }
.wc-uren i::after { content: ""; display: block; height: 100%; background: var(--koper); transform-origin: left;
  transform: scaleX(0); transition: transform 1s var(--wc-ease) .5s; }
.wc-kansen.is-aan .wc-uren i::after { transform: scaleX(var(--w, 0)); }
.wc-kans-stap { font-family: var(--font-mono); font-size: 11px; color: var(--tekst-muted); margin: 10px 0 0; max-width: none; }
.wc-kans-stap b { color: var(--navy); font-weight: 500; }

/* ── 7. Kosten ───────────────────────────────────────────────────────────── */
.wc-kosten { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.wc-kosten > div:first-child { container-type: inline-size; min-width: 0; }
/* Het bedrag past altijd in zijn kolom: grootte volgt het aantal tekens (--n, gezet in JS). */
.wc-groot { font-family: var(--font-kop); font-weight: 800; color: var(--koper); letter-spacing: -.03em;
  font-size: min(112px, calc(100cqi / (var(--n, 9) * .64))); line-height: .95; font-variant-numeric: tabular-nums;
  margin: 0; white-space: nowrap; }
.wc-groot-label { font-size: 16px; color: var(--tekst-muted); margin: 12px 0 0; max-width: 40ch; }
.wc-som { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; }
.wc-som span { font-family: var(--font-mono); font-size: 12.5px; color: var(--navy); padding: 8px 12px; border-radius: var(--wc-r);
  background: #F3F6FA; border: 1px solid #E1E7EF; white-space: nowrap; }
.wc-som em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--label); }
.wc-maand { margin-top: 16px; font-size: 14.5px; color: var(--inkt); max-width: 52ch; }
.wc-maand strong { color: var(--navy); }
.wc-balken { display: grid; gap: 14px; padding: 22px; border-radius: var(--wc-r); background: #F7F9FC; border: 1px solid #E1E7EF; }
.wc-balken-kop { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin: 0; }
.wc-balk-rij { display: grid; gap: 7px; }
.wc-balk-rij div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--navy); }
.wc-balk-rij div span:last-child { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.wc-balk-rij i { display: block; height: 8px; border-radius: 999px; background: #E3E9F1; overflow: hidden; }
.wc-balk-rij i::after { content: ""; display: block; height: 100%; background: var(--navy); border-radius: inherit;
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--wc-ease); transition-delay: calc(.4s + var(--i, 0) * .25s); }
.wc-kosten.is-aan .wc-balk-rij i::after { transform: scaleX(var(--w, 0)); }
.wc-noot { font-family: var(--font-mono); font-size: 11px; line-height: 1.55; color: var(--label); margin: 4px 0 0; max-width: none; }

/* ── Uitkomst ────────────────────────────────────────────────────────────── */
.wc-uitkomst-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.wc-ring-blok { display: grid; justify-items: center; gap: 8px; }
.wc-ring-schaal { font-family: var(--font-mono); font-size: 10.5px; color: var(--tekst-muted); margin: 0; max-width: 200px; text-align: center; }
.wc-ring-score { position: relative; width: 200px; height: 200px; }
.wc-ring-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.wc-ring-score circle { fill: none; stroke-width: 12; }
.wc-ring-score .baan { stroke: #EEF2F7; }
.wc-ring-score .vol { stroke: var(--koper); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--wc-ease) .2s; }
.wc-ring-score div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.wc-ring-score b { font-family: var(--font-kop); font-weight: 800; font-size: 50px; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.wc-ring-score span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--label); margin-top: 6px; }
.wc-uitkomst-zin { font-family: var(--font-kop); font-weight: 700; color: var(--navy); font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.wc-uitkomst-zin em { font-style: normal; color: var(--koper); }
.wc-tegels-uit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.wc-mini { display: flex; flex-direction: column; justify-content: flex-start; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid #E1E7EF; background: #fff; cursor: pointer;
  font-family: var(--font-body); transition: border-color .2s ease, transform .2s ease; }
@media (hover: hover) { .wc-mini:hover { border-color: var(--navy); transform: translateY(-2px); } }
.wc-mini b { display: block; font-family: var(--font-kop); font-weight: 800; font-size: 24px; color: var(--navy); line-height: 1.1; }
.wc-mini span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; color: var(--tekst-muted); margin-top: 4px; }
.wc-terugkijk { display: none; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.wc-terugkijk > span { width: 100%; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tekst-muted); }
.wc-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5DDE8; background: #fff; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; color: var(--navy); }
.wc-chip:hover { border-color: var(--navy); }
.wc-uitkomst-kansen { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid #E6EBF2; }
.wc-uitkomst-kansen li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid #E6EBF2; }
.wc-uitkomst-kansen li > span:first-child { font-family: var(--font-mono); font-size: 12px; color: var(--wc-koper-tekst); }
.wc-uitkomst-kansen strong { font-size: 16px; font-weight: 600; color: var(--navy); }
.wc-uitkomst-kansen small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--tekst-muted); margin-top: 3px; }
.wc-uitkomst-kansen li > span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--navy); white-space: nowrap; }
.wc-volgende { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 26px; }
.wc-vak { padding: 22px; border-radius: var(--wc-r); border: 1px solid #DCE3EC; background: #F7F9FC; }
.wc-vak-donker { background-color: var(--navy); background-image: var(--mk-noise); border-color: var(--navy); color: #fff; }
.wc-vak h4 { font-family: var(--font-kop); font-weight: 700; font-size: 19px; color: var(--navy); margin: 0; }
.wc-vak-donker h4 { color: #fff; }
.wc-vak > p { font-size: 14.5px; line-height: 1.55; color: var(--tekst-muted); margin: 8px 0 0; max-width: none; }
.wc-vak-donker > p { color: var(--wc-rail-tekst); }
.wc-vak .sitescan-verder { color: var(--tekst-muted); margin-top: 14px; }
.wc-vak-donker .mk-btn { margin-top: 16px; }
.wc .mk-capture-rij { align-items: center; }
.wc .mk-capture-rij .mk-btn { margin-top: 0; }
.wc-vak .mk-capture { margin-top: 8px; max-width: none; }
.wc .mk-capture-label { color: var(--navy); }
.wc .mk-capture-optin span { color: var(--tekst-muted); }
.wc .mk-capture-noot { color: var(--tekst-muted); }
.wc .mk-capture-rij input[type="email"] { background: #fff; border: 1px solid #D5DDE8; color: var(--inkt);
  height: 52px; min-height: 52px; padding: 0 18px; box-sizing: border-box; }
.wc .mk-capture-rij input[type="email"]::placeholder { color: var(--label); }
.wc .mk-capture-scan, .wc .mk-capture-scan .mk-capture-label { color: var(--inkt); }
.wc .mk-capture .mk-succes { color: var(--wc-ok); }
.wc-verder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--tekst-muted); }
.wc-linkknop { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--wc-koper-tekst); text-decoration: underline; text-underline-offset: 3px; }
.wc-linkknop:hover { color: var(--navy); }
.wc-verder p { margin: 0; max-width: 70ch; }

/* ── Fout ───────────────────────────────────────────────────────────────── */
.wc-fout { max-width: 620px; }
.wc-fout .mk-btn { margin-top: 22px; }
.wc-fout .wc-verder { margin-top: 16px; }

/* ── Kort scherm (laptop 1440x720 e.d.) ──────────────────────────────────── */
@media (max-height: 820px) and (min-width: 981px) {
  .wc-podium { padding-top: 26px; padding-bottom: 26px; }
  .wc-kop h3 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 8px; }
  .wc-kop p.wc-uitleg { font-size: 15px; margin-top: 8px; line-height: 1.55; }
  .wc-teller b { font-size: clamp(34px, 3.6vw, 48px); }
  .wc-beeld { margin-top: 18px; }
  .wc-kanalen { gap: 4px; }
  .wc-kanaal { padding: 4px 12px 4px 6px; }
  .wc-kanaal-ico { width: 30px; height: 30px; }
  .wc-kanaal-ico svg { width: 16px; height: 16px; }
  .wc-kanaal-naam { display: flex; align-items: baseline; gap: 12px; }
  .wc-kanaal-naam span { margin-top: 0; }
  .wc-klant-bol { width: 72px; height: 72px; }
  .wc-stelsel { height: 320px; }
  .wc-meter { max-width: 300px; }
  .wc-meter-waarde { font-size: 38px; }
  .wc-check { padding: 8px 12px; }
  .wc-citaat:nth-child(n+3) { display: none; }
  .wc-tegel { height: 84px; }
  .wc-tegels.is-klein .wc-tegel { height: 120px; }
  .wc-kans { padding: 14px 16px 12px; }
  .wc-kans h4 { margin-top: 10px; font-size: 16.5px; }
  .wc-kans-nu, .wc-kans-straks { font-size: 13.5px; margin-top: 8px; }
  .wc-kans-nu > span, .wc-kans-straks > span { -webkit-line-clamp: 3; line-clamp: 3; }
  .wc-groot { font-size: min(92px, calc(100cqi / (var(--n, 9) * .64))); }
  .wc-rail { padding: 20px 20px 18px; }
  .wc-rail-intro { display: none; }
  .wc-rail h2 { font-size: 21px; }
  .wc-stappen { margin-top: 14px; }
  .wc-stap-knop { padding: 7px 12px; font-size: 14.5px; }
  .wc-sub li { padding: 3px 0 3px 4px; font-size: 12.5px; }
}

/* ── Kleiner scherm ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .wc-kansen { grid-template-columns: 1fr; }
  .wc-kans { display: grid; grid-template-columns: minmax(0, 1fr); }
  .wc-tegels-uit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .wc.is-klaar .wc-rail { display: none; }
  .wc-verder.wc-terug { display: flex; }
  .wc-terugkijk { display: flex; }
  .wc-grid { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .wc-rail { position: sticky; top: 0; z-index: 3; height: auto; min-height: 0; padding: 14px 16px 14px; border-radius: var(--wc-r);
    box-shadow: 0 16px 30px -24px rgba(11, 21, 38, .7); }
  .wc-rail::after, .wc-rail-intro, .wc-rail h2 { display: none; }
  .wc-rail-eyebrow { display: none; }
  .wc-stappen { margin: 0; display: block; }
  .wc-stap { display: none; }
  .wc-stap.is-actief, .wc.is-klaar .wc-stap.is-bekeken { display: block; }
  .wc-stap-knop { padding: 4px 0; background: none !important; border: 0 !important; font-size: 15px; }
  .wc-sub { display: none !important; }
  .wc-voortgang { padding-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
  .wc-voortgang-tekst { grid-row: 1; grid-column: 1; }
  .wc-voortgang-tekst [data-wc-pct] { display: none; }
  .wc-vooruit { grid-row: 1; grid-column: 2; margin: 0; padding: 0; }
  .wc-balk { grid-row: 2; grid-column: 1 / -1; margin-top: 8px; }
  .wc-basis, .wc-signalen, .wc-kosten, .wc-volgende { grid-template-columns: 1fr; }
  .wc-meter { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .wc-top { padding: 10px 16px; min-height: 58px; gap: 10px; }
  .wc-kruimel .wc-fase, .wc-kruimel i { display: none; }
  .wc-kruimel .wc-dom { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .wc-sluit { padding: 0; width: 44px; }
  .wc-sluit span { display: none; }
  .wc-grid { padding: 0 12px 16px; }
  .wc-podium { padding: 22px 16px 24px; border-radius: var(--wc-r); }
  .wc-kop { flex-direction: column; gap: 14px; }
  .wc-teller { text-align: left; display: flex; align-items: baseline; gap: 10px; padding: 0; }
  .wc-teller span { margin: 0; }
  .wc-kop p.wc-uitleg { font-size: 15.5px; }
  .wc-tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wc-tegel { height: 82px; }
  .wc-tegel:nth-child(n+10) { display: none; }
  .wc-tegels.is-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wc-tegels.is-klein .wc-tegel { height: 104px; }
  .wc-tegel-lijnen { padding: 7px 7px; gap: 4px; }
  .wc-contact { grid-template-columns: 1fr; }
  .wc-klant { display: none; }
  .wc-kanalen { padding-left: 18px; }
  .wc-kanaal::before { left: -18px; width: 18px; }
  .wc-kanaal::after { left: -18px; }
  @keyframes wc-puls-x { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateX(12px); opacity: 1; } 80%, 100% { transform: translateX(12px); opacity: 0; } }
  .wc-kanaal { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
  .wc-kanaal-ico { width: 36px; height: 36px; grid-row: span 2; }
  .wc-kanaal .wc-pil { justify-self: start; grid-column: 2; font-size: 9.5px; padding: 3px 8px; }
  .wc-kanaal.is-niet { grid-template-columns: 30px minmax(0, 1fr); padding: 6px 12px 6px 8px; }
  .wc-kanaal.is-niet .wc-kanaal-ico { width: 30px; height: 30px; grid-row: auto; }
  .wc-kanaal.is-niet .wc-kanaal-ico svg { width: 15px; height: 15px; }
  .wc-kanaal.is-niet .wc-pil { display: none; }
  .wc-kanaal.is-niet .wc-kanaal-naam strong { font-size: 14px; }
  .wc-kanaal.is-niet .wc-kanaal-naam span { font-size: 11px; }
  .wc-rail { padding: 12px 14px; }
  .wc-stap-knop { font-size: 14.5px; gap: 10px; }
  .wc-stelsel { height: 380px; }
  .wc-kern { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .wc-kern img { width: 30px; height: 30px; }
  .wc-kern-dom { display: none; }
  .wc-node { padding: 6px 9px; white-space: normal; max-width: 128px; text-align: center; }
  .wc-node strong { font-size: 12.5px; line-height: 1.25; }
  .wc-node strong img { width: 15px; height: 15px; margin-right: 5px; }
  .wc-node small { font-size: 9px; }
  .wc-node.is-stil strong { font-size: 12px; }
  .wc-checks { grid-template-columns: 1fr; }
  .wc-woord { grid-template-columns: 124px minmax(0, 1fr) 34px; }
  .wc-uitkomst-top { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .wc-uitkomst-top > div:last-child { justify-self: stretch; }
  .wc-citaat:nth-child(n+3) { display: none; }
  .wc-meter { max-width: 280px; }
  .wc-bedrijf { font-size: 16px; }
  .wc-kans-nu > span, .wc-kans-straks > span { -webkit-line-clamp: unset; line-clamp: none; display: block; }
  .wc-check { grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
  .wc-check strong { font-size: 13.5px; }
  .wc-check span { grid-column: 3; white-space: nowrap; }
  .wc-checks { gap: 6px; }
  .wc-ring-score { width: 156px; height: 156px; }
  .wc-ring-score b { font-size: 40px; }

}

@media (max-width: 480px) {
  .sitescan-status { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wc, .wc-scene, .wc *, .wc *::before, .wc *::after {
    animation: none !important; transition: none !important;
  }
  .wc-naald { transition: none !important; }
}

/* Live scan-recency in het (lichte) scanvak: leesbare labelkleur i.p.v. de oude donker-thema-kleur. */
.sitescan-recent { color: var(--tekst-muted); }

/* Werksignalen: de woordkolom wordt zo breed als het langste woord ("contact opnemen"), zodat niets wordt afgekapt.
   Zonder subgrid blijven de vaste kolommen hierboven gelden. */
@supports (grid-template-columns: subgrid) {
  .wc-woorden { grid-template-columns: fit-content(58%) minmax(56px, 1fr) minmax(34px, auto); column-gap: 12px; }
  .wc-woord { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
