/* Just Design Loops showcase — componenten. Alleen semantische tokens (zie tokens.css).
   Beweging: alleen transform en opacity; alles staat stil bij [data-beweging="uit"]. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html[data-beweging="uit"] { scroll-behavior: auto; }
body { margin: 0; background: var(--kleur-bg); color: var(--kleur-tekst); font-family: var(--font-tekst); font-size: var(--tekst-s); line-height: 1.55; overflow-x: hidden; transition: background-color var(--duur-in) var(--ease-uit), color var(--duur-in) var(--ease-uit); }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--kleur-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--kleur-op-accent); }

.overslaan { position: fixed; left: var(--ruimte-s); top: -80px; z-index: 100; background: var(--kleur-tekst); color: var(--kleur-bg); padding: var(--ruimte-xs) var(--ruimte-s); border-radius: var(--radius-s); transition: transform var(--duur-micro) var(--ease-uit); }
.overslaan:focus { transform: translateY(96px); }

/* ---------- typografie ---------- */
.label { font-family: var(--font-mono); font-size: var(--tekst-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--kleur-tekst-zacht); display: flex; gap: var(--ruimte-xs); align-items: center; }
.label-nr { color: var(--accent); }
.titel-mega { font-family: var(--font-display); font-size: var(--tekst-mega); line-height: 0.92; letter-spacing: -0.035em; font-weight: 700; }
.titel-xl { font-family: var(--font-display); font-size: var(--tekst-xl); line-height: 0.98; letter-spacing: -0.03em; font-weight: 700; max-width: 14ch; }
.titel-l { font-family: var(--font-display); font-size: var(--tekst-l); line-height: 1.1; letter-spacing: -0.02em; font-weight: 650; }
.lead { font-size: var(--tekst-m); color: var(--kleur-tekst-zacht); max-width: 46ch; }
.lead strong { color: var(--kleur-tekst); }
.voetnoot { font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); max-width: 60ch; }

/* ---------- knoppen ---------- */
.knoppen { display: flex; flex-wrap: wrap; gap: var(--ruimte-s); }
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: var(--raak); padding: 0 var(--ruimte-m); border-radius: var(--radius-rond); border: 2px solid var(--accent); background: var(--accent); color: var(--kleur-op-accent); font-weight: 650; text-decoration: none; cursor: pointer; transition: transform var(--duur-micro) var(--ease-uit), background-color var(--duur-micro) var(--ease-uit), color var(--duur-micro) var(--ease-uit); }
.knop:hover { background: var(--kleur-tekst); border-color: var(--kleur-tekst); color: var(--kleur-bg); }
.knop:active { transform: scale(0.96); }
.knop:disabled { opacity: 0.45; cursor: not-allowed; }
.knop-licht { background: transparent; color: var(--kleur-tekst); border-color: var(--kleur-rand); }
.knop-klein { min-height: 44px; padding: 0 var(--ruimte-s); font-size: var(--tekst-xs); }
.knop-groot { min-height: 64px; padding: 0 var(--ruimte-l); font-size: var(--tekst-m); }
.magneet { will-change: transform; }
.magneet.terug { transition: transform 600ms var(--ease-veer); }
.rond-knop { width: var(--raak); height: var(--raak); border-radius: 50%; border: 2px solid var(--kleur-rand); background: var(--kleur-vlak); display: grid; place-items: center; cursor: pointer; transition: transform var(--duur-micro) var(--ease-uit); }
.rond-knop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.rond-knop:active { transform: scale(0.92); }

.schakel { display: inline-flex; align-items: center; gap: var(--ruimte-xs); min-height: 44px; padding: 0 var(--ruimte-s) 0 var(--ruimte-xs); border-radius: var(--radius-rond); border: 1px solid var(--kleur-rand); background: transparent; cursor: pointer; font-size: var(--tekst-xs); font-family: var(--font-mono); }
.schakel-bol { width: 28px; height: 16px; border-radius: 99px; background: var(--kleur-rand); position: relative; }
.schakel-bol::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--kleur-tekst); transition: transform var(--duur-micro) var(--ease-uit); }
.schakel[aria-pressed="true"] .schakel-bol { background: var(--accent); }
.schakel[aria-pressed="true"] .schakel-bol::after { transform: translateX(12px); background: var(--kleur-op-accent); }

/* ---------- kopbalk ---------- */
.kop { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--ruimte-s); padding: var(--ruimte-s) var(--rand-gutter); transition: transform var(--duur-in) var(--ease-uit); }
.kop::before { content: ""; position: absolute; inset: 0; background: var(--kleur-bg); opacity: 0.86; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: -1; border-bottom: 1px solid var(--kleur-rand); }
.kop.weg { transform: translateY(-110%); }
.merk { display: inline-flex; align-items: center; min-width: 44px; gap: var(--ruimte-xs); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; min-height: 44px; }
.merk-symbool { width: 36px; height: 24px; color: var(--kleur-tekst); }
.merk-symbool circle, .kv-symbool circle, .loader-symbool circle { fill: var(--kleur-stip); }
.nav ul { display: flex; gap: var(--ruimte-xs); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--ruimte-xs); text-decoration: none; color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--kleur-tekst); }
.nav a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.kop-acties { display: flex; align-items: center; gap: var(--ruimte-xs); }
.menu-knop { display: none; width: var(--raak); height: var(--raak); border-radius: 50%; border: 1px solid var(--kleur-rand); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-streep { width: 18px; height: 2px; background: currentColor; transition: transform var(--duur-micro) var(--ease-uit); }
.menu-knop[aria-expanded="true"] .menu-streep:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-knop[aria-expanded="true"] .menu-streep:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-knop { display: inline-flex; }
  .nav { position: fixed; inset: 76px var(--ruimte-s) auto var(--ruimte-s); background: var(--kleur-vlak); border: 1px solid var(--kleur-rand); border-radius: var(--radius-m); padding: var(--ruimte-s); opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; transition: opacity var(--duur-uit) var(--ease-uit), transform var(--duur-uit) var(--ease-uit), visibility 0s linear var(--duur-uit); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: var(--tekst-s); min-height: var(--raak); }
}
@media (max-width: 640px) {
  .merk-naam, .kop-acties .knop-klein { display: none; }
  .schakel { padding-right: var(--ruimte-xs); }
}
@media (max-width: 380px) { .schakel-tekst { display: none; } }

/* ---------- hoofdstukteller ---------- */
.hoofdstuk-teller { position: fixed; left: var(--rand-gutter); bottom: var(--ruimte-s); z-index: 40; display: flex; align-items: center; gap: var(--ruimte-xs); font-family: var(--font-mono); font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); background: var(--kleur-bg); padding: 6px 12px; border-radius: 99px; border: 1px solid var(--kleur-rand); }
.ht-nummer { color: var(--accent); }
.ht-balk { width: 64px; height: 2px; background: var(--kleur-rand); overflow: hidden; }
.ht-vul { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--v, 0)); }
@media (max-width: 640px) { .hoofdstuk-teller { display: none; } }

/* ---------- loader ---------- */
.loader { display: none; }
.laden .loader { display: grid; position: fixed; inset: 0; z-index: 200; background: var(--kleur-bg); place-items: center; animation: loader-weg 170ms var(--ease-in) 650ms forwards; }
.loader-symbool { width: 120px; height: 80px; color: var(--kleur-tekst); }
@keyframes loader-weg { to { opacity: 0; visibility: hidden; } }

/* ---------- hoofdstukken ---------- */
main { position: relative; }
.hoofdstuk { position: relative; padding: var(--ruimte-sectie) var(--rand-gutter); }
.hoofdstuk[data-hue="1"] { --accent: var(--accent-1); }
.hoofdstuk[data-hue="2"] { --accent: var(--accent-2); }
.hoofdstuk[data-hue="3"] { --accent: var(--accent-3); }
.hoofdstuk[data-hue="4"] { --accent: var(--accent-4); }
.hoofdstuk[data-hue="5"] { --accent: var(--accent-5); }
.hoofdstuk[data-hue="6"] { --accent: var(--accent-6); }
:root[data-hue="1"] { --accent: var(--accent-1); } :root[data-hue="2"] { --accent: var(--accent-2); } :root[data-hue="3"] { --accent: var(--accent-3); }
:root[data-hue="4"] { --accent: var(--accent-4); } :root[data-hue="5"] { --accent: var(--accent-5); } :root[data-hue="6"] { --accent: var(--accent-6); }
.sectie-kop { display: grid; gap: var(--ruimte-m); margin-bottom: var(--ruimte-l); position: relative; z-index: 2; }

/* doorlopende draad */
.draad { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.draad-spoor { fill: none; stroke: var(--kleur-rand); stroke-width: 1.5; stroke-dasharray: 2 10; opacity: 0.7; }
.draad-lijn { fill: none; stroke: url(#draad-kleur); stroke-width: 3; stroke-linecap: round; }
.draad-kop { fill: var(--kleur-tekst); }
#draad-kleur stop:nth-child(1) { stop-color: var(--accent-1); } #draad-kleur stop:nth-child(2) { stop-color: var(--kleur-tekst-zacht); } #draad-kleur stop:nth-child(3) { stop-color: var(--accent-3); }
#draad-kleur stop:nth-child(4) { stop-color: var(--kleur-tekst-zacht); } #draad-kleur stop:nth-child(5) { stop-color: var(--accent-5); } #draad-kleur stop:nth-child(6) { stop-color: var(--accent-6); }
html:not(.js) .draad { display: none; }

/* woord-voor-woord */
.splits .woord { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.splits .woord > span { display: inline-block; }
html.js[data-beweging="aan"] .splits .woord > span { transform: translateY(105%); transition: transform var(--duur-onthul) var(--ease-uit); transition-delay: calc(var(--i, 0) * 55ms); }
html.js[data-beweging="aan"] .splits.in .woord > span { transform: none; }

/* algemene onthulling */
html.js[data-beweging="aan"] .onthul { opacity: 0; transform: translateY(32px); transition: opacity var(--duur-onthul) var(--ease-uit), transform var(--duur-onthul) var(--ease-uit); transition-delay: var(--vertraag, 0ms); }
html.js[data-beweging="aan"] .onthul.in { opacity: 1; transform: none; }

/* ---------- 00 hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 140px; overflow: hidden; }
.hero-veld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inhoud { position: relative; z-index: 2; display: grid; gap: var(--ruimte-m); }
.hero-titel { font-family: var(--font-display); font-size: var(--tekst-mega); line-height: 0.9; letter-spacing: -0.04em; font-weight: 700; max-width: 11ch; }
.kinetisch { display: inline; }
.kinetisch .letter { display: inline-block; will-change: transform; }
.kinetisch:nth-child(1) { color: var(--accent); }
.hero-lead { font-size: var(--tekst-m); max-width: 40ch; color: var(--kleur-tekst-zacht); }
.beloften { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ruimte-m); margin-top: var(--ruimte-l); max-width: 980px; }
.beloften li { display: grid; gap: var(--ruimte-xs); padding-top: var(--ruimte-s); border-top: 1px solid var(--kleur-rand); color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); }
.belofte-woord { font-family: var(--font-display); font-size: var(--tekst-l); font-weight: 700; color: var(--kleur-tekst); letter-spacing: -0.02em; }
.beloften li:nth-child(1) .belofte-woord::after, .beloften li:nth-child(2) .belofte-woord::after, .beloften li:nth-child(3) .belofte-woord::after { content: "."; }
.belofte-woord::after { color: var(--kleur-stip); }
.scroll-hint { position: absolute; z-index: 2; right: var(--rand-gutter); bottom: var(--ruimte-m); display: flex; align-items: center; gap: var(--ruimte-xs); font-family: var(--font-mono); font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); }
.scroll-hint-lijn { width: 2px; height: 32px; background: var(--kleur-rand); overflow: hidden; position: relative; }
.scroll-hint-lijn::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: hint 1.8s var(--ease-uit) infinite; }
@keyframes hint { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
[data-beweging="uit"] .scroll-hint-lijn::after { animation: none; }
@media (max-width: 720px) { .beloften { grid-template-columns: 1fr; gap: var(--ruimte-s); } .scroll-hint { display: none; } }

/* ---------- 01 tik ---------- */
.tik-podium { display: grid; gap: var(--ruimte-m); position: relative; z-index: 2; }
.tik-keuze, .segment { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--ruimte-xs); }
.tik-keuze legend, .segment legend { font-family: var(--font-mono); font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--ruimte-xs); padding: 0; width: 100%; }
.tik-keuze label, .segment label { position: relative; }
.tik-keuze input, .segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tik-keuze span, .segment span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--ruimte-s); border-radius: var(--radius-rond); border: 1px solid var(--kleur-rand); font-size: var(--tekst-xs); font-weight: 600; transition: background-color var(--duur-micro) var(--ease-uit), color var(--duur-micro) var(--ease-uit); }
.tik-keuze input:checked + span, .segment input:checked + span { background: var(--accent); color: var(--kleur-op-accent); border-color: var(--accent); }
.tik-keuze input:focus-visible + span, .segment input:focus-visible + span { outline: 3px solid var(--kleur-focus); outline-offset: 3px; }

.tik-speelveld { position: relative; height: clamp(440px, 60vw, 600px); border-radius: var(--radius-l); background: var(--kleur-vlak); border: 1px solid var(--kleur-rand); overflow: hidden; touch-action: pan-y; }
.tik-kaart { position: absolute; left: 8%; top: 50%; width: clamp(180px, 26vw, 280px); aspect-ratio: 85.6 / 54; margin-top: calc(clamp(180px, 26vw, 280px) * -0.315); border-radius: 14px; background: var(--kleur-tekst); color: var(--kleur-bg); padding: 16px; display: grid; grid-template-rows: auto 1fr auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; z-index: 3; will-change: transform; }
.tik-kaart.sleept { cursor: grabbing; }
.tk-symbool { width: 40px; height: 26px; color: var(--kleur-bg); }
.tk-symbool circle { fill: var(--kleur-stip); }
.tk-naam { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; align-self: end; }
.tk-hint { font-size: 0.6875rem; opacity: 0.75; }
.tk-chip { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; border: 2px dashed currentColor; opacity: 0.3; }
.tik-golven { position: absolute; right: calc(8% + clamp(110px, 14vw, 150px)); top: 22%; width: 0; height: 0; z-index: 2; }
.tik-golven span { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; transform: scale(0.2); }
.tik-golven.aan span { animation: golf 1100ms var(--ease-uit) forwards; }
.tik-golven.aan span:nth-child(2) { animation-delay: 140ms; } .tik-golven.aan span:nth-child(3) { animation-delay: 280ms; }
@keyframes golf { 0% { opacity: 0.9; transform: scale(0.2); } 100% { opacity: 0; transform: scale(2.6); } }
.telefoon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: clamp(220px, 28vw, 300px); aspect-ratio: 9 / 18.5; max-height: 92%; border-radius: 36px; background: var(--kleur-bg); border: 8px solid var(--kleur-tekst); z-index: 1; overflow: hidden; transition: transform var(--duur-in) var(--ease-veer); }
.telefoon.raak { transform: translateY(-50%) scale(1.03); }
.telefoon.schud { animation: schud 360ms var(--ease-uit); }
@keyframes schud { 0%, 100% { transform: translateY(-50%); } 20% { transform: translate(-6px, -50%) rotate(-1.5deg); } 45% { transform: translate(5px, -50%) rotate(1deg); } 70% { transform: translate(-3px, -50%); } }
.telefoon-scherm { position: absolute; inset: 0; display: grid; }
.ts-slot { display: grid; align-content: center; justify-items: center; gap: var(--ruimte-xs); padding: var(--ruimte-m); text-align: center; color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); transition: opacity var(--duur-uit) var(--ease-uit); }
.ts-tijd { font-family: var(--font-display); font-size: 2.75rem; font-weight: 300; color: var(--kleur-tekst); letter-spacing: -0.03em; }
.ts-pagina { position: absolute; inset: 0; padding: 32px 18px 18px; display: grid; align-content: start; gap: 10px; background: var(--kleur-vlak); }
.ts-pagina[hidden] { display: none; }
.ts-pagina > * { animation: ts-in var(--duur-in) var(--ease-uit) both; }
.ts-pagina > *:nth-child(2) { animation-delay: 60ms; } .ts-pagina > *:nth-child(3) { animation-delay: 120ms; } .ts-pagina > *:nth-child(4) { animation-delay: 180ms; } .ts-pagina > *:nth-child(5) { animation-delay: 240ms; } .ts-pagina > *:nth-child(6) { animation-delay: 300ms; }
@keyframes ts-in { from { opacity: 0; transform: translateY(14px); } }
[data-beweging="uit"] .ts-pagina > * { animation: none; }
.ts-merk { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); }
.ts-titel { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; }
.ts-tekst { font-size: 0.75rem; color: var(--kleur-tekst-zacht); }
.ts-sterren { display: flex; gap: 4px; color: var(--accent); font-size: 1.375rem; letter-spacing: 2px; }
.ts-knop { display: block; text-align: center; padding: 12px; border-radius: 12px; background: var(--accent); color: var(--kleur-op-accent); font-weight: 650; font-size: 0.8125rem; }
.ts-regel { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--kleur-rand); font-size: 0.75rem; }
.tik-bediening { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ruimte-s); }
.tik-status { font-family: var(--font-mono); font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); }
.tik-status.gelukt { color: var(--accent); }
@media (max-width: 720px) {
  .tik-speelveld { height: 600px; }
  .tik-kaart { left: 50%; top: 24px; margin-top: 0; margin-left: -100px; width: 200px; }
  .telefoon { right: auto; left: 50%; top: auto; bottom: -60px; transform: translateX(-50%); width: 230px; max-height: none; }
  .telefoon.raak { transform: translateX(-50%) scale(1.03); }
  @keyframes schud { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 6px)); } 60% { transform: translateX(calc(-50% + 5px)); } }
  .tik-golven { right: 50%; top: 330px; }
}

/* ---------- 02 kaarten ---------- */
.kaart-studio { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--ruimte-l); align-items: center; position: relative; z-index: 2; }
.kaart-scene { perspective: 1200px; display: grid; place-items: center; min-height: 420px; position: relative; }
.kaart-3d { --rx: 8deg; --ry: -18deg; --draai: 0deg; width: min(100%, 440px); aspect-ratio: 85.6 / 54; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--draai))); transition: transform 900ms var(--ease-veer); }
.kaart-3d.volgt { transition: transform 120ms linear; }
.kaart-3d[data-vorm="sticker"] { width: min(70%, 280px); aspect-ratio: 1; }
.kaart-3d[data-vorm="sticker"] .kaart-zijde { border-radius: 24%; }
.kaart-3d[data-vorm="standaard"] { width: min(72%, 300px); aspect-ratio: 3 / 4; }
.kaart-zijde { position: absolute; inset: 0; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; padding: 8%; display: grid; background: var(--kleur-tekst); color: var(--kleur-bg); }
.kaart-voor { grid-template-rows: auto 1fr auto; }
.kaart-achter { transform: rotateY(180deg); align-content: end; gap: 6px; background: var(--kleur-vlak-2); color: var(--kleur-tekst); border: 1px solid var(--kleur-rand); }
.kv-symbool { width: 56px; height: 36px; color: var(--kleur-bg); }
.kv-naam { font-family: var(--font-display); font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; align-self: end; }
.kv-tik { font-size: var(--tekst-xs); opacity: 0.7; }
.ka-antenne { position: absolute; left: 50%; top: 42%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed var(--accent); border-radius: 16px; }
.ka-tekst { font-weight: 650; }
.ka-url { font-family: var(--font-mono); font-size: var(--tekst-xs); color: var(--kleur-tekst); }
.kaart-glans { position: absolute; inset: 0; pointer-events: none; opacity: 0.0; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.55), transparent 50%); transition: opacity var(--duur-in) var(--ease-uit); }
.kaart-3d[data-afwerking="glans"] .kaart-glans { opacity: 0.6; }
.kaart-3d[data-afwerking="folie"] .kaart-glans { opacity: 0.9; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.5), transparent 40%), conic-gradient(from var(--fh, 0deg) at var(--gx, 30%) var(--gy, 20%), var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4), var(--accent-5), var(--accent-6), var(--accent-1)); mix-blend-mode: soft-light; }
.kaart-3d[data-afwerking="mat"] .kaart-zijde { filter: saturate(0.9); }
.kaart-schaduw { position: absolute; bottom: 4%; left: 20%; right: 20%; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent); filter: blur(4px); }
.kaart-paneel { display: grid; gap: var(--ruimte-m); justify-items: start; }
.specs { display: grid; gap: var(--ruimte-s); width: 100%; }
.specs div { display: grid; grid-template-columns: 96px 1fr; gap: var(--ruimte-s); padding-top: var(--ruimte-s); border-top: 1px solid var(--kleur-rand); font-size: var(--tekst-xs); }
.specs dt { font-family: var(--font-mono); color: var(--kleur-tekst-zacht); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 860px) { .kaart-studio { grid-template-columns: 1fr; } .kaart-scene { min-height: 300px; } }

/* ---------- 03 web / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ruimte-s); position: relative; z-index: 2; }
.tegel { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--kleur-vlak); border: 1px solid var(--kleur-rand); padding: var(--ruimte-m); display: grid; gap: var(--ruimte-xs); align-content: start; min-height: 240px; isolation: isolate; }
.tegel::before { content: ""; position: absolute; inset: -1px; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); transition: opacity var(--duur-in) var(--ease-uit); }
.bento.spot .tegel::before { opacity: 1; }
.tegel h3 { font-family: var(--font-display); font-size: 1.375rem; letter-spacing: -0.01em; }
.tegel p { color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); }
.tegel-groot { grid-column: span 2; grid-row: span 2; }
.beheer-lijst { margin-top: var(--ruimte-s); display: grid; gap: 6px; }
.beheer-lijst li { display: grid; grid-template-columns: 1fr 1fr auto; gap: var(--ruimte-xs); align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--kleur-bg); font-size: var(--tekst-xs); }
.bl-doel { color: var(--kleur-tekst-zacht); }
.bl-status { font-family: var(--font-mono); font-size: 0.75rem; padding: 4px 10px; border-radius: 99px; border: 1px solid currentColor; display: inline-flex; gap: 6px; align-items: center; }
.bl-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.bl-status[data-s="actief"] { color: var(--kleur-succes); }
.bl-status[data-s="omgezet"] { color: var(--kleur-waarschuwing); }
.bl-status[data-s="omgezet"]::before { border-radius: 2px; }
.bl-status[data-s="ingetrokken"] { color: var(--kleur-tekst-zacht); }
.bl-status[data-s="ingetrokken"]::before { background: transparent; border: 2px solid currentColor; width: 4px; height: 4px; }
.beheer-lijst li.flits { animation: flits 900ms var(--ease-uit); }
@keyframes flits { 0% { transform: scale(1); } 30% { transform: scale(1.025); } 100% { transform: scale(1); } }
.staven { display: flex; align-items: end; gap: 6px; height: 96px; margin-top: auto; }
.staven span { flex: 1; height: 100%; border-radius: 6px 6px 2px 2px; background: var(--accent); transform-origin: bottom; transform: scaleY(0.04); transition: transform 900ms var(--ease-veer); }
.staven span:nth-child(1) { --h: .42; } .staven span:nth-child(2) { --h: .58; transition-delay: 60ms; } .staven span:nth-child(3) { --h: .5; transition-delay: 120ms; } .staven span:nth-child(4) { --h: .76; transition-delay: 180ms; } .staven span:nth-child(5) { --h: .64; transition-delay: 240ms; } .staven span:nth-child(6) { --h: .9; transition-delay: 300ms; } .staven span:nth-child(7) { --h: .7; transition-delay: 360ms; }
.in .staven span, html:not(.js) .staven span, [data-beweging="uit"] .staven span { transform: scaleY(var(--h)); }
.meter { position: relative; margin-top: auto; }
.meter svg { width: 100%; max-width: 200px; overflow: visible; }
.meter-baan, .meter-vul { fill: none; stroke-width: 10; stroke-linecap: round; }
.meter-baan { stroke: var(--kleur-rand); }
.meter-vul { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-uit) 200ms; }
.in .meter-vul, html:not(.js) .meter-vul, [data-beweging="uit"] .meter-vul { stroke-dashoffset: 0.3; }
.meter-getal { position: absolute; left: 0; right: 0; max-width: 200px; bottom: 0; text-align: center; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; }
.vinklijst { display: grid; gap: 8px; margin-top: var(--ruimte-xs); font-size: var(--tekst-xs); }
.vinklijst li { display: flex; gap: 10px; align-items: center; }
.vinklijst li::before { content: "✓"; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--accent); color: var(--kleur-op-accent); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
html.js[data-beweging="aan"] .vinklijst li { opacity: 0; transform: translateX(-12px); transition: opacity var(--duur-in) var(--ease-uit), transform var(--duur-in) var(--ease-uit); }
html.js[data-beweging="aan"] .in .vinklijst li { opacity: 1; transform: none; }
.in .vinklijst li:nth-child(2) { transition-delay: 150ms; } .in .vinklijst li:nth-child(3) { transition-delay: 300ms; } .in .vinklijst li:nth-child(4) { transition-delay: 450ms; }
.wissel { position: relative; height: 2.6em; overflow: hidden; font-family: var(--font-display); font-size: 1.25rem !important; color: var(--kleur-tekst) !important; font-weight: 650; }
.wissel span { position: absolute; left: 0; top: 0; transition: transform var(--duur-onthul) var(--ease-uit), opacity var(--duur-onthul) var(--ease-uit); }
.wissel span:last-child { transform: translateY(110%); opacity: 0; }
.wissel.en span:first-child { transform: translateY(-110%); opacity: 0; }
.wissel.en span:last-child { transform: none; opacity: 1; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tegel-groot { grid-column: auto; grid-row: auto; } .beheer-lijst li { grid-template-columns: 1fr auto; } .bl-doel { display: none; } }

/* ---------- 04 workflow ---------- */
.workflow { padding-bottom: var(--ruimte-xl); }
html.js .workflow .wf-plak { position: sticky; top: 72px; min-height: calc(100svh - 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--ruimte-l); }
html.js .workflow .wf-plak { margin-bottom: 130svh; }
.wf-beeld { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; z-index: 2; }
.wf-svg { width: 100%; height: 100%; overflow: visible; }
.wf-pad { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.wf-punt { fill: var(--kleur-tekst); }
.wf-stappen li { position: absolute; transform: translate(-50%, -50%); }
.wf-stappen li:nth-child(1) { left: 50%; top: 4%; } .wf-stappen li:nth-child(2) { left: 96%; top: 50%; } .wf-stappen li:nth-child(3) { left: 50%; top: 96%; } .wf-stappen li:nth-child(4) { left: 4%; top: 50%; }
.wf-stappen span { display: block; white-space: nowrap; font-family: var(--font-mono); font-size: var(--tekst-xs); text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 99px; background: var(--kleur-bg); border: 1px solid var(--accent); }
html.js[data-beweging="aan"] .wf-stappen span { opacity: var(--zicht, 0); transition: opacity var(--duur-in) var(--ease-uit); }
.voorna-blok { display: grid; gap: var(--ruimte-m); margin-top: var(--ruimte-xl); position: relative; z-index: 2; }
.voorna { --p: 50%; position: relative; min-height: 340px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--kleur-rand); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.vn-laag { position: absolute; inset: 0; padding: var(--ruimte-l) var(--ruimte-m); display: grid; align-content: start; gap: var(--ruimte-s); }
.vn-voor { background: var(--kleur-vlak); }
.vn-na { background: var(--accent); color: var(--kleur-op-accent); clip-path: inset(0 0 0 var(--p)); padding-left: max(var(--ruimte-m), calc(var(--p) + var(--ruimte-m))); }
.vn-kop { font-family: var(--font-display); font-size: var(--tekst-l); font-weight: 700; }
.vn-laag ol { display: grid; gap: 8px; counter-reset: s; max-width: 420px; }
.vn-laag li { counter-increment: s; display: flex; gap: 12px; font-size: var(--tekst-xs); }
.vn-laag li::before { content: counter(s); font-family: var(--font-mono); opacity: 0.7; }
.vn-voor li:nth-child(n+4) { text-decoration: line-through; text-decoration-thickness: 1px; opacity: 0.7; }
.vn-greep { position: absolute; top: 0; bottom: 0; left: var(--p); width: var(--raak); margin-left: calc(var(--raak) / -2); cursor: ew-resize; display: grid; place-items: center; touch-action: none; }
.vn-greep::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--kleur-tekst); }
.vn-greep span { width: var(--raak); height: var(--raak); border-radius: 50%; background: var(--kleur-tekst); position: relative; }
.vn-greep span::before, .vn-greep span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.vn-greep span::before { left: 8px; border-right-color: var(--kleur-bg); }
.vn-greep span::after { right: 8px; border-left-color: var(--kleur-bg); }
@media (max-width: 860px) {
  html.js .workflow .wf-plak { grid-template-columns: 1fr; align-content: start; gap: var(--ruimte-s); padding-top: var(--ruimte-s); }
  .workflow .sectie-kop { margin-bottom: 0; }
  .wf-beeld { width: min(84%, 360px, 46svh); }
  .wf-stappen span { font-size: 0.6875rem; }
}

/* ---------- 05 ambacht ---------- */
.ambacht { min-height: 120svh; display: grid; align-items: center; overflow: hidden; }
.raster-veld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ambacht-inhoud { position: relative; z-index: 2; display: grid; gap: var(--ruimte-l); max-width: 1200px; }
.inkt-tekst { font-family: var(--font-display); font-size: clamp(2rem, 5.4vw, 4.75rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 700; }
html.js[data-beweging="aan"] .inkt-tekst .w { opacity: 0.16; transition: opacity 260ms var(--ease-uit); }
html.js[data-beweging="aan"] .inkt-tekst .w.nat { opacity: 1; }
.inkt-tekst .w:nth-child(7n+3).nat { color: var(--accent); }
.ambacht-voet { max-width: 52ch; color: var(--kleur-tekst-zacht); font-size: var(--tekst-m); border-left: 3px solid var(--accent); padding-left: var(--ruimte-m); }

/* ---------- 06 werkplaats / muur ---------- */
.werkplaats { overflow: hidden; }
.muur { display: grid; gap: var(--ruimte-s); margin: 0 calc(var(--rand-gutter) * -1); position: relative; z-index: 2; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.muur.sleept { cursor: grabbing; }
.muur-rij { display: flex; gap: var(--ruimte-s); width: max-content; will-change: transform; }
html:not(.js) .muur-rij { flex-wrap: wrap; width: auto; padding: 0 var(--rand-gutter); }
.muur-tegel { width: clamp(240px, 28vw, 360px); aspect-ratio: 4 / 3; border-radius: var(--radius-l); background: var(--kleur-vlak); border: 1px solid var(--kleur-rand); padding: var(--ruimte-m); display: grid; align-content: end; gap: 6px; position: relative; overflow: hidden; flex: none; transition: transform var(--duur-in) var(--ease-uit); }
.muur-tegel:hover { transform: translateY(-6px); }
.muur-tegel strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; position: relative; }
.muur-tegel span { font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); position: relative; max-width: 30ch; }
.muur-vorm { position: absolute; right: -6%; top: -8%; width: 52%; aspect-ratio: 1; color: var(--accent); opacity: 0.9; }
.muur-logo { position: absolute; right: var(--ruimte-s); top: var(--ruimte-s); width: 38%; max-width: 128px; aspect-ratio: 1; height: auto; border-radius: 24%; object-fit: cover; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); outline: 1px solid rgba(243, 244, 246, 0.45); outline-offset: -1px; }
.muur-tegel[data-hue="1"] { --accent: var(--accent-1); } .muur-tegel[data-hue="2"] { --accent: var(--accent-2); } .muur-tegel[data-hue="3"] { --accent: var(--accent-3); }
.muur-tegel[data-hue="4"] { --accent: var(--accent-4); } .muur-tegel[data-hue="5"] { --accent: var(--accent-5); } .muur-tegel[data-hue="6"] { --accent: var(--accent-6); }
.muur-pijlen { display: flex; gap: var(--ruimte-xs); margin-top: var(--ruimte-m); position: relative; z-index: 2; }
html:not(.js) .muur-pijlen { display: none; }
.muur-bron[hidden] { display: none; }

/* ---------- 07 lab ---------- */
.lab-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--ruimte-s); position: relative; z-index: 2; }
.lab-paneel { border-radius: var(--radius-l); background: var(--kleur-vlak); border: 1px solid var(--kleur-rand); padding: var(--ruimte-s); display: grid; gap: var(--ruimte-xs); align-content: start; justify-items: start; }
.lab-paneel h3 { font-family: var(--font-display); font-size: 1.25rem; margin-top: var(--ruimte-xs); }
.lab-paneel p { font-size: var(--tekst-xs); color: var(--kleur-tekst-zacht); }
.lab-paneel > .knop { margin-top: auto; }
.lab-podium { width: 100%; aspect-ratio: 1; border-radius: var(--radius-m); background: var(--kleur-bg); position: relative; overflow: hidden; display: grid; place-items: center; }
.lab-podium canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-podium svg { width: 70%; overflow: visible; }
.scramble-tekst { font-family: var(--font-mono); font-size: clamp(1rem, 2vw, 1.375rem); text-align: center; padding: 0 var(--ruimte-s); color: var(--accent); }
.veer-bal { position: absolute; left: 50%; top: 0; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: var(--accent); transform: translateY(var(--y, 150px)) scale(var(--sx, 1), var(--sy, 1)); transform-origin: 50% 100%; }
.veer-vloer { position: absolute; left: 15%; right: 15%; bottom: 18%; height: 2px; background: var(--kleur-rand); }
.magneet-sterk { min-height: 64px; padding: 0 var(--ruimte-l); }
.morph-pad { fill: color-mix(in srgb, var(--accent) 18%, transparent); stroke: var(--accent); stroke-width: 6; stroke-linejoin: round; }
.raster-podium span { position: absolute; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; transition: opacity var(--duur-in) var(--ease-uit); }
.rp-b { opacity: 0; color: var(--accent); }
.raster-podium.b .rp-a { opacity: 0; } .raster-podium.b .rp-b { opacity: 1; }
.raster-podium canvas { z-index: 1; }
.marquee-podium { place-items: center stretch; }
.marquee { display: flex; width: max-content; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.03em; white-space: nowrap; will-change: transform; color: var(--accent); }
@media (max-width: 1100px) { .lab-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lab-raster { grid-template-columns: 1fr; } }

/* ---------- slot ---------- */
.slot { min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.slot-lus { position: absolute; right: -16vw; top: 50%; width: min(62vw, 680px); transform: translateY(-50%); z-index: 0; opacity: 0.9; }
.slot-lus svg { width: 100%; overflow: visible; transform: rotate(-90deg); }
.sl-ring { fill: none; stroke: var(--accent); stroke-width: 34; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--sluit, 0); }
.slot-inhoud { position: relative; z-index: 2; display: grid; gap: var(--ruimte-m); }
.slot-inhoud .titel-mega { max-width: 12ch; }
@media (max-width: 720px) { .slot-lus { right: -30vw; width: 110vw; opacity: 0.35; } }

/* ---------- voet ---------- */
.voet { border-top: 1px solid var(--kleur-rand); overflow: hidden; padding-bottom: var(--ruimte-l); }
.voet-band { display: flex; width: max-content; font-family: var(--font-display); font-size: clamp(3rem, 10vw, 8rem); font-weight: 700; letter-spacing: -0.04em; color: var(--kleur-vlak-2); white-space: nowrap; padding: var(--ruimte-m) 0; animation: band 40s linear infinite; }
@keyframes band { to { transform: translateX(-50%); } }
[data-beweging="uit"] .voet-band { animation: none; }
.voet-rij { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--ruimte-s); padding: 0 var(--rand-gutter); color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); }
.voet-rij a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- cursor (alleen muis) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html[data-beweging="aan"] .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; }
  .cursor-punt { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transition: transform var(--duur-micro) var(--ease-uit); }
  .cursor-label { position: absolute; left: 14px; top: 10px; white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem; padding: 4px 10px; border-radius: 99px; background: var(--kleur-tekst); color: var(--kleur-bg); opacity: 0; transform: scale(0.6); transform-origin: left top; transition: opacity var(--duur-micro) var(--ease-uit), transform var(--duur-micro) var(--ease-uit); }
  .cursor.op .cursor-label { opacity: 1; transform: none; }
  .cursor.op .cursor-punt { transform: scale(0.6); }
}

/* ---------- minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}
[data-beweging="uit"] .loader { display: none !important; }
.muur-set { display: flex; gap: var(--ruimte-s); flex: none; }
html:not(.js) .muur-set { flex-wrap: wrap; }
