/* SUS Consult — huisstijl. Kleuren en lettertypes centraal hier. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/assets/fonts/jbmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/assets/fonts/jbmono-500.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255,255,255,.62);
  --faint: rgba(255,255,255,.14);
  --line: rgba(255,255,255,.09);
  --accent: #fff;            /* nieuw logo = nieuwe accentkleur: enkel hier aanpassen */
  --wrap: min(1254px, calc(100% - 48px));
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: var(--fg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.wrap { width: var(--wrap); margin: 0 auto; position: relative; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Achtergrond: vloeistof + raster ---------- */
#fluid { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: var(--fluid, 1); transition: opacity 1.2s ease; pointer-events: none; }
.grid-lines { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.grid-lines .wrap { height: 100%; display: grid; grid-template-columns: repeat(12, 1fr); border-left: 1px solid var(--line); }
.grid-lines .wrap span { border-right: 1px solid var(--line); }
.shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,.65) 100%); }
main, footer { position: relative; z-index: 2; }

/* ---------- Laadscherm ---------- */
#loader { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; transition: opacity .9s ease .1s, visibility 0s 1s; }
#loader svg { width: 84px; overflow: visible; }
#loader path { fill: transparent; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.7s cubic-bezier(.6,0,.2,1) forwards; }
#loader .bar { position: absolute; left: 50%; bottom: 18%; width: 120px; height: 1px; margin-left: -60px; background: var(--faint); overflow: hidden; }
#loader .bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; animation: fill 1.5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { 70% { fill: transparent; } to { stroke-dashoffset: 0; fill: #fff; } }
@keyframes fill { to { transform: scaleX(1); } }
body.ready #loader { opacity: 0; visibility: hidden; }

/* ---------- Kop ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(0,0,0,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--line); }
.top .in { height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .5s; }
.top.solid .in { height: 54px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.logo svg { height: 24px; width: auto; display: block; transition: height .5s; }
.top.solid .logo svg { height: 20px; }
.nav { display: flex; gap: 26px; font-size: 14px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav > a, .nav > .dd > button { color: rgba(255,255,255,.88); transition: color .25s; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nav > a:hover, .nav > .dd > button:hover { color: #fff; }
.dd { position: relative; }
.dd svg { width: 9px; transition: transform .3s; }
.dd-panel { position: absolute; top: 100%; left: -18px; min-width: 300px; padding: 10px 0; background: rgba(6,6,6,.96); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .3s; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd:hover svg, .dd.open svg { transform: rotate(180deg); }
.dd-panel a { display: flex; gap: 14px; align-items: baseline; padding: 11px 18px; font-size: 14px; color: var(--dim); transition: color .2s, background .2s; }
.dd-panel a:hover { color: #fff; background: rgba(255,255,255,.04); }
.dd-panel a span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.right { display: flex; align-items: center; gap: 28px; }

/* Geluidsknop met golfje */
.sound { display: grid; grid-template-columns: auto auto; column-gap: 32px; align-items: end; font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; min-height: 44px; padding-top: 6px; }
.sound .st { text-align: right; font-weight: 500; }
.sound svg { grid-column: 1 / -1; width: 78px; height: 18px; display: block; }
.sound path { fill: none; stroke: #fff; stroke-width: 1; opacity: .85; }
.cta { background: #fff; color: #000; font-size: 13.5px; font-weight: 500; height: 32px; padding: 0 16px; display: inline-flex; align-items: center; gap: 10px; transition: background .25s; }
.cta:hover { background: #ddd; }
.cta svg, .arrow { width: 11px; height: 11px; flex: none; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 1px; background: #fff; transition: .3s; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Animatie-helpers ---------- */
.split .ch { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.split .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ready .split.in .ch { transform: none; }
.rv { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.mag { display: inline-flex; transition: transform .45s cubic-bezier(.16,1,.3,1); will-change: transform; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 90px; }
.hero h1 { margin: 0; font-size: clamp(48px, 7.4vw, 118px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 .thin { font-weight: 150; }
.hero h1 .bold { font-weight: 800; }
.hero p { font-family: var(--mono); text-transform: uppercase; font-size: 13px; line-height: 1.55; letter-spacing: .06em; color: rgba(255,255,255,.75); max-width: 470px; margin: 52px 0 40px; }
.btn-line { border: 1px solid rgba(255,255,255,.35); height: 42px; padding: 0 26px; display: inline-flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); }
.scroll-hint i { width: 1px; height: 42px; background: linear-gradient(#fff, transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Manifest (vastgezet) ---------- */
.pin { position: relative; }
.pin > .stick { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
#manifest { height: 140vh; }
.mf-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 44px; }
.mf-label { display: flex; align-items: center; gap: 14px; flex: 1; max-width: 300px; }
.mf-label i { flex: 1; height: 1px; background: rgba(255,255,255,.35); transform-origin: left; transform: scaleX(var(--p, 0)); }
.mf-kw { display: flex; gap: 34px; }
.mf-kw span { color: rgba(255,255,255,.28); transition: color .15s; display: inline-flex; align-items: center; gap: 10px; }
.mf-kw span::before { content: ""; width: 14px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .18s ease-out; transform-origin: left; }
.mf-kw span.on { color: #fff; }
.mf-kw span.on::before { transform: none; }
.mf-text { margin: 0; font-size: clamp(32px, 4.35vw, 68px); line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; font-weight: 200; }
.mf-text .w { color: rgba(255,255,255,.2); transition: color .12s; }
.mf-text .w.lit { color: rgba(255,255,255,.88); }
.mf-text .w.k { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); font-weight: 750; transition: color .15s, -webkit-text-stroke-color .15s; }
.mf-text .w.k.lit { color: #fff; -webkit-text-stroke-color: transparent; }
.stick.fade .mf-inner { opacity: .32; transition: opacity .8s; }
.mf-inner { transition: opacity .8s; }

/* ---------- Kern / werkwijze ---------- */
#kern { height: 380vh; }
.sec-label { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.8); }
.sec-label i { width: 230px; height: 1px; background: rgba(255,255,255,.22); }
.h2 { margin: 6px 0 0; font-size: clamp(40px, 5.2vw, 80px); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.kern-grid { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; margin-top: 30px; }
.steps { border-left: 1px solid var(--faint); padding-left: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: calc(var(--p, 0) * 100%); background: #fff; }
.step { padding: 6px 0; cursor: pointer; }
.step b { font-weight: 500; font-size: 15px; color: rgba(255,255,255,.55); transition: color .3s; }
.step .mono { color: rgba(255,255,255,.4); margin-right: 10px; font-size: 10px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--dim); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s, opacity .6s, margin .6s; }
.step.on b { color: #fff; }
.step.on p { max-height: 80px; opacity: 1; margin-top: 6px; }

.diagram { position: relative; border: 1px solid var(--line); background: rgba(10,10,10,.85); aspect-ratio: 1.78; overflow: hidden; }
.diagram::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; }
.dg-title { position: absolute; left: 3%; top: 6%; font-size: 17px; }
.dg-title span { color: var(--dim); }
.dg-legend { position: absolute; left: 3%; top: 12.5%; display: flex; gap: 16px; color: var(--dim); }
.dg-legend span::before { content: "■ "; font-size: 8px; }
.dg-inspect { position: absolute; right: 3%; top: 6%; color: #fff; text-align: right; }
.dg-hint { position: absolute; left: 3%; bottom: 4.5%; color: var(--dim); max-width: 32%; line-height: 1.6; }
.dg-hint b { display: block; color: #fff; font-weight: 500; }
.zone { position: absolute; border: 1px dashed rgba(255,255,255,.1); transition: border-color .6s, background .6s; }
.zone.on { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.015); }
.zone .mono { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 9.5px; color: rgba(255,255,255,.4); }
.zone .t { top: -22px; } .zone .b { bottom: -22px; }
.grp { display: none; }
.node { position: absolute; border: 1px solid rgba(255,255,255,.18); background: rgba(14,14,14,.95); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 6px 8px; text-align: center; font-size: 13px; transition: border-color .4s, box-shadow .4s, opacity .4s; opacity: .45; cursor: default; }
.node.on { opacity: 1; border-color: rgba(255,255,255,.45); }
.node:hover, .node.hl { border-color: #fff; box-shadow: 0 0 0 1px #fff inset, 0 0 40px rgba(255,255,255,.08); opacity: 1; }
.node svg { width: 34px; height: 26px; stroke: rgba(255,255,255,.75); fill: none; stroke-width: 1; opacity: 0; transition: opacity .5s; }
.node.on svg { opacity: 1; }
.node .tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; padding: 3px 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); white-space: nowrap; }
.node.wide { flex-direction: row; justify-content: center; gap: 4px; flex-direction: column; padding: 8px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wires line, .wires path { stroke: rgba(255,255,255,.4); stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s ease; }
.wires .on { stroke-dashoffset: 0; }
.wires .flow { stroke: #fff; stroke-dasharray: 2 60; stroke-dashoffset: 0; opacity: 0; transition: opacity .6s; animation: flow 2.4s linear infinite; }
.wires .flow.on { opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -62; } }
.dot { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: #fff; border-radius: 50%; opacity: 0; transition: opacity .5s; }
.dot.on { opacity: 1; }
.dg-ticks { position: absolute; right: 3%; bottom: 5%; display: flex; gap: 6px; }
.dg-ticks i { width: 14px; height: 1px; background: rgba(255,255,255,.25); }
.dg-ticks i.on { background: #fff; }

/* ---------- Diensten (horizontaal) ---------- */
#diensten { height: 610vh; }
#diensten .stick { flex-direction: column; justify-content: center; align-items: stretch; }
.dn-head { width: var(--wrap); margin: 0 auto 34px; }
.dn-head .h2 { text-transform: uppercase; font-weight: 150; font-size: clamp(42px, 5.4vw, 84px); line-height: .92; }
.dn-head .h2 b { font-weight: 800; display: block; }
.track { display: flex; gap: 48px; padding-left: calc((100vw - min(1254px, 100vw - 48px)) / 2); will-change: transform; }
.card { flex: none; width: min(702px, 82vw); height: min(348px, 46svh); border: 1px solid rgba(255,255,255,.18); position: relative; padding: 36px 34px 30px; display: flex; flex-direction: column; background: rgba(0,0,0,.6); transition: border-color .6s; overflow: hidden; }
.card.on { border-color: rgba(255,255,255,.45); }
.card .row { text-transform: uppercase; display: flex; justify-content: space-between; gap: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: rgba(255,255,255,.75); }
.card .row .tags { text-align: right; }
.card h3 { margin: auto 0 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); transition: color .6s, -webkit-text-stroke-color .6s; }
.card.on h3 { color: #fff; -webkit-text-stroke-color: transparent; }
.card p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.card .more { margin-top: auto; padding-top: 28px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); align-self: flex-start; min-height: 44px; }
.card .more:hover { color: #fff; }
.card .big { position: absolute; right: 30px; bottom: 18px; font-size: clamp(70px, 8vw, 118px); font-weight: 150; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); pointer-events: none; }
.card .noise { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.card.on .noise { opacity: 1; }
.tabs { width: var(--wrap); margin: 30px auto 0; position: relative; border-top: 1px solid var(--faint); display: flex; justify-content: space-between; }
.tabs::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: calc(var(--p, 0) * 100%); background: #fff; }
.tabs button { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); padding: 14px 0; min-height: 44px; transition: color .3s; }
.tabs button.on { color: #fff; }

/* ---------- Contact ---------- */
.contact { min-height: 100svh; display: flex; align-items: center; padding: 120px 0; border-top: 1px solid var(--line); }
.contact .wrap { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
.contact h2 { margin: 0; font-size: clamp(42px, 5.4vw, 84px); line-height: 1.04; letter-spacing: -.035em; font-weight: 300; }
.contact h2 b { font-weight: 700; display: block; }
.c-side { width: 100%; max-width: 278px; }
.c-side p { margin: 0 0 22px; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.5; }
.big-btn { display: flex; border: 1px solid rgba(255,255,255,.55); height: 60px; align-items: stretch; width: 100%; transition: border-color .3s; }
.big-btn span { flex: 1; display: flex; align-items: center; padding: 0 20px; font-size: 14.5px; font-weight: 500; }
.big-btn em { width: 60px; display: grid; place-items: center; background: #fff; color: #000; transition: width .4s cubic-bezier(.16,1,.3,1); }
.big-btn:hover { border-color: #fff; }
.big-btn:hover em { width: 76px; }
.c-mail { display: block; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--dim); }
.c-mail:hover { color: #fff; }

/* ---------- Voet ---------- */
footer { background: rgba(0,0,0,.92); border-top: 1px solid var(--line); }
.ft { display: grid; grid-template-columns: 1.1fr .8fr 1.5fr 1.1fr; }
.ft.ft5 { grid-template-columns: 1fr 1.25fr 1fr 1.5fr 1fr; }
.ft > div { padding: 36px 26px 44px; border-left: 1px solid var(--line); }
.ft > div:first-child { border-left: 0; padding-left: 0; }
.ft h4 { text-transform: uppercase; margin: 0 0 22px; font-family: var(--mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ft li a, .ft li span { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px; min-height: 24px; transition: color .2s; }
.ft li a:hover { color: #fff; }
.ft .slogan { font-size: 21px; margin: 18px 0 12px; font-weight: 300; }
.ft .slogan b { font-weight: 600; }
.ft .about { font-size: 12.5px; line-height: 1.55; color: var(--dim); max-width: 300px; margin: 0; }
.ft .legal li span { font-weight: 400; letter-spacing: .1em; color: var(--dim); }

/* ---------- Kleine schermen ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .right { gap: 14px; }
  .cta { display: none; }
  .top .in { padding: 0 16px; }
  .menu-open .top { background: #000; border-color: var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .top .in { height: 54px; }
  .menu-open .top .logo svg { height: 20px; }
  .menu-open .nav { display: flex; position: fixed; top: 54px; left: 0; right: 0; height: calc(100vh - 54px); height: calc(100dvh - 54px); overflow-y: auto; overscroll-behavior: contain; transform: none; flex-direction: column; gap: 0; background: #000; padding: 12px 24px 32px; font-size: 22px; }
  .menu-open .nav > a, .menu-open .nav > .dd > button { min-height: 56px; width: 100%; }
  .menu-open .nav .dd-panel { position: static; display: none; min-width: 0; padding: 0 0 8px; background: none; border: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .menu-open .nav .dd.open .dd-panel { display: block; }
  .menu-open .nav .dd-panel a { padding: 10px 0 10px 4px; font-size: 16px; }
  .menu-open .nav .dd:hover svg { transform: none; }
  .menu-open .nav .dd.open svg { transform: rotate(180deg); }
  .menu-open .nav .cta-m { display: inline-flex; justify-content: center; color: #000; height: 52px; margin-top: 20px; font-size: 15px; }
  body.menu-open { overflow: hidden; }
  .grid-lines .wrap { grid-template-columns: repeat(4, 1fr); }
  .mf-head { flex-direction: column; align-items: flex-start; }
  .mf-kw { gap: 16px; flex-wrap: wrap; }
  #diensten { height: auto; }
  #diensten .stick { position: relative; height: auto; padding: 110px 0 60px; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px; gap: 16px; transform: none !important; }
  .card { scroll-snap-align: center; height: 380px; padding: 26px 22px; }
  .card h3 { color: #fff; -webkit-text-stroke-color: transparent; }
  .tabs { display: none; }
  .ft, .ft.ft5 { grid-template-columns: 1fr 1fr; }
  .ft > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .ft > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
/* Werkwijze + schema: tot tabletbreedte niet vastgezet, schema als verticale stroom */
@media (max-width: 1180px) {
  #kern { height: auto; }
  #kern .stick { position: relative; height: auto; padding: 110px 0 80px; }
  .kern-grid { grid-template-columns: 1fr; gap: 28px; }
  .step p { max-height: none; opacity: 1; margin-top: 4px; }
  .step b { color: #fff; }
  /* schema op gsm: verticale stroom, van boven naar onder */
  .diagram { aspect-ratio: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 8px; padding: 20px 14px 18px; }
  .diagram .dg-title, .diagram .dg-legend, .diagram .dg-hint { position: static; grid-column: 1 / -1; max-width: none; }
  .diagram .dg-inspect, .diagram .zone, .diagram .wires, .diagram .dg-ticks { display: none; }
  .diagram .node { position: relative; left: auto !important; top: auto !important; width: auto !important; height: auto !important; min-height: 96px; opacity: 1; border-color: rgba(255,255,255,.4); grid-column: span 2; gap: 6px; font-size: 12.5px; }
  .diagram .node svg { opacity: 1; }
  .diagram .node.wide { min-height: 64px; grid-column: span 3; }
  .diagram .node[data-s="0"], .diagram .node[data-s="3"] { grid-column: 2 / span 4; }
  .diagram .node::before { content: ""; position: absolute; left: 50%; top: -27px; height: 26px; border-left: 1px dashed rgba(255,255,255,.45); }
  .diagram .node[data-s="0"]::before { display: none; }
  .diagram .node[data-s="1"] + .node[data-s="1"]::after { content: "→"; position: absolute; left: -11px; top: 50%; transform: translate(-50%, -50%); color: rgba(255,255,255,.5); font-size: 12px; }
  .diagram .grp { display: block; grid-column: 1 / -1; margin: 2px 0 -18px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
  .diagram .dg-hint { margin-top: 2px; min-height: 52px; }
  .diagram { max-width: 680px; }
}
@media (max-width: 560px) {
  .ft, .ft.ft5 { grid-template-columns: 1fr; }
  .ft > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .sound { column-gap: 14px; }
  .sound svg { width: 54px; }
  .card .row .tags { display: none; }
  .sec-label i { width: 60px; }
}
.nav .cta-m { display: none; }
@media (prefers-reduced-motion: reduce) {
  .split .ch, .rv { transition: none; transform: none; opacity: 1; }
  .scroll-hint i, .wires .flow { animation: none; }
}

/* Cookiebanner (assets/js/cookies.js) */
.ck { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(400px, calc(100vw - 32px)); padding: 20px 20px 18px; background: rgba(6,6,6,.97); border: 1px solid var(--faint); color: #fff; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s; }
.ck.in { opacity: 1; transform: none; }
.ck p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ck .ck-t { margin: 0 0 8px; color: var(--dim); }
.ck p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.8); }
.ck-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.ck-b button { height: 44px; font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); transition: border-color .2s, background .2s; }
.ck-b button:hover { border-color: #fff; }
.ck-b .ck-ok { background: #fff; color: #000; border-color: #fff; }
.ck-b .ck-ok:hover { background: #ddd; }
@media (max-width: 640px) { .ck { left: 16px; right: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .ck { transition: none; } }
