/* gohove.com v3. Dennengroen, papier en signaaloranje. Eén blikvanger: het systeemcanvas in de hero.
   Eén lettertype (Bricolage Grotesque), karakter via gewicht en grootte. */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --main: #0f3d2e;        /* dennengroen, wit erop 11.6:1 */
  --main-2: #0b3125;     /* canvasvlak */
  --deep: #0a2a20;        /* tekst op papier 14:1 */
  --paper: #f2f0ea;
  --white: #ffffff;
  --signal: #ff7a1a;      /* oranje: pulsen, knoppen; donkere tekst erop 6:1 */
  --muted: #4a5a52;       /* 6.8:1 op papier */
  --line: rgba(10, 42, 32, .14);
  --on-main: rgba(255, 255, 255, .82);
  --font: 'Bricolage', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --w: 76rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--deep); font: 400 1.0625rem/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--main); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; box-shadow: 0 0 0 6px var(--main); border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.04; margin: 0 0 .55em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); letter-spacing: -.03em; }
h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--signal); color: var(--deep); padding: .6rem 1rem; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 1rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.5rem; border-radius: 10px; border: 2px solid var(--main); background: var(--main); color: var(--white); font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--deep); }
.btn-signal:hover { background: var(--white); border-color: var(--white); color: var(--deep); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-line:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* kop */
.top { position: sticky; top: 0; z-index: 20; background: rgba(244, 243, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.brand img { width: 80px; }
.nav { display: none; align-items: center; gap: 1.7rem; font-weight: 600; }
.nav > a, .nav-drop > a { color: var(--deep); text-decoration: none; }
.nav > a:hover, .nav-drop > a:hover, .nav > a[aria-current] { color: var(--main); text-decoration: underline; }
.nav .btn { color: var(--white); text-decoration: none; }
.nav-drop { position: relative; }
.nav-drop::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: .9rem; }
.drop { position: absolute; left: -1rem; top: calc(100% + .7rem); width: 17rem; padding: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(10, 42, 32, .45); display: none; }
.drop a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 9px; color: var(--deep); text-decoration: none; font-weight: 600; }
.drop a:hover, .drop a[aria-current] { background: var(--paper); color: var(--main); }
.drop .ico { width: 20px; height: 20px; color: var(--main); }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { display: block; }
.langs { display: flex; gap: .1rem; font-size: .85rem; font-weight: 700; }
.langs a, .langs span { padding: .3rem .45rem; border-radius: 6px; color: var(--muted); text-decoration: none; }
.langs a:hover { background: var(--white); color: var(--deep); }
.langs .lang-cur { color: var(--white); background: var(--deep); }

.menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--deep); transition: transform .2s; }
.menu[open] summary span:first-child { transform: translateY(4.75px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.5rem; max-height: calc(100vh - 4.25rem); overflow-y: auto; }
.menu-panel a { display: flex; align-items: center; gap: .7rem; padding: .7rem 0; color: var(--deep); text-decoration: none; font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.menu-panel a[aria-current] { color: var(--main); }
.menu-panel .ico { width: 20px; height: 20px; color: var(--main); }
.menu-h { margin: 1.2rem 0 .2rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.menu-panel .langs { margin-top: 1rem; }
.menu-panel .langs a, .menu-panel .langs span { border: 0; font-size: 1rem; padding: .55rem .8rem; }
@media (min-width: 980px) { .nav { display: flex; } .menu { display: none; } }

/* ── hero + systeemcanvas ── */
.hero { background: var(--main); color: var(--white); padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.hero-in { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 1080px) { .hero-in { grid-template-columns: 4fr 7fr; } .hero h1 { grid-column: 1 / -1; } .hero-text { padding-top: 1rem; } }
.hero h1 { color: var(--white); max-width: 17ch; margin: 0; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .98; }
.hero .actions { margin-top: 1.5rem; }
.hero .lead { color: var(--on-main); }

.canvas { background: var(--main-2); border-radius: 22px; padding: clamp(1rem, 2.5vw, 1.5rem); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -40px rgba(2, 18, 12, .8);
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.2px); background-size: 22px 22px; }
.canvas-h { margin: 0 0 .7rem; font-weight: 700; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: 600 .9rem/1.2 var(--font); color: var(--white); background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: .5rem .85rem; cursor: pointer; min-height: 40px; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--deep); }
.canvas-stage { margin: 1rem 0 .5rem; }
.canvas-svg { width: 100%; height: auto; display: block; overflow: visible; }
.canvas-tall { display: none; max-width: 420px; margin: 0 auto; }
@media (max-width: 620px) { .canvas-wide { display: none; } .canvas-tall { display: block; } }
.canvas-svg text { font: 600 13.5px var(--font); fill: rgba(255, 255, 255, .78); text-anchor: middle; dominant-baseline: auto; letter-spacing: 0; transition: fill .3s; }
.edge { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; stroke-dasharray: 3 5; transition: stroke .35s; }
.edge.on { stroke: var(--signal); stroke-dasharray: none; stroke-width: 2; }
.node rect { fill: #154535; stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; transition: fill .35s, stroke .35s; }
.node.in.on rect { fill: #22604b; stroke: var(--white); }
.node.on text { fill: var(--white); }
.node.out.done rect { fill: var(--signal); stroke: var(--signal); }
.node.out.done text { fill: var(--deep); }
.core circle:first-child { fill: var(--white); }
.core text { fill: var(--main) !important; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.core-ring { fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.core.busy .core-ring { animation: ring 1.1s ease-out infinite; }
@keyframes ring { from { opacity: .9; transform: scale(.82); } to { opacity: 0; transform: scale(1.18); } }
.pulse { fill: var(--signal); filter: drop-shadow(0 0 6px rgba(255, 122, 26, .9)); }
.log { counter-reset: none; min-height: 7.2rem; font-size: .95rem; color: var(--on-main); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: .8rem; }
.log li { display: flex; gap: .6rem; align-items: baseline; padding: .12rem 0; opacity: .28; transition: opacity .35s; }
.log li::before { content: ''; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: rgba(255, 255, 255, .4); transform: translateY(-.05rem); }
.log li.on { opacity: 1; color: var(--white); }
.log li.on::before { background: var(--signal); }

/* secties */
.sec { padding: clamp(4rem, 9vw, 7rem) 0; }
.sec + .sec { padding-top: 0; }
.sec-head { max-width: 46rem; margin-bottom: 2.75rem; }
.sec-head p { color: var(--muted); font-size: 1.12rem; }
.sec-more { margin-top: 2rem; font-weight: 700; }
.ico { width: 26px; height: 26px; flex: none; }

/* diensten: genummerde kaartjes zouden een volgorde suggereren die er niet is, dus een raster met lijnen */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc a { display: flex; flex-direction: column; height: 100%; padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--white); color: var(--deep); text-decoration: none; transition: background .2s; }
.svc .ico { width: 34px; height: 34px; color: var(--main); margin-bottom: 2.2rem; }
.svc h3 { font-size: 1.45rem; }
.svc p { color: var(--muted); flex: 1; }
.svc .more { font-weight: 700; color: var(--main); }
.svc a:hover { background: var(--main); color: var(--white); }
.svc a:hover .ico, .svc a:hover .more { color: var(--signal); }
.svc a:hover p { color: var(--on-main); }

/* realisaties */
.proj-grid { display: grid; gap: 2.5rem; }
@media (min-width: 880px) { .proj-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.proj-shot { display: block; border-radius: 16px; overflow: hidden; background: var(--deep); padding: 10px 10px 0; box-shadow: 0 30px 60px -40px rgba(10, 42, 32, .7); }
.proj-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px 8px 0 0; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.proj-shot:hover img { transform: translateY(-4px); }
.proj-body { padding-top: 1.3rem; }
.proj-kind { margin: 0 0 .35rem; font-size: .92rem; font-weight: 700; color: var(--main); }
.proj-body h3 { font-size: 1.5rem; }
.proj-body h3 a { color: var(--deep); text-decoration: none; }
.proj-body h3 a:hover { color: var(--main); text-decoration: underline; }
.proj-body p { color: var(--muted); }

/* principes */
.principles h2 { max-width: 20ch; margin-bottom: 2.5rem; }
.pr-grid { display: grid; gap: 2.25rem 3rem; }
@media (min-width: 760px) { .pr-grid { grid-template-columns: 1fr 1fr; } }
.pr-grid li { border-left: 3px solid var(--main); padding-left: 1.25rem; }
.pr-grid p { color: var(--muted); margin: 0; }

/* werkwijze: echte volgorde, dus genummerd */
.steps-sec { background: var(--deep); color: var(--white); padding-top: clamp(4rem, 9vw, 7rem) !important; }
.steps-sec h2 { color: var(--white); margin-bottom: 2.5rem; }
.steps { display: grid; gap: 2rem; counter-reset: stap; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: stap; }
.steps li::before { content: counter(stap); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--signal); color: var(--deep); font-weight: 800; margin-bottom: 1.1rem; }
.steps p { color: var(--on-main); }

/* faq */
.faq-in { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .faq-in { grid-template-columns: 1fr 2fr; gap: 4rem; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: .3rem; top: 50%; width: 14px; height: 2.5px; border-radius: 2px; background: var(--main); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); margin: 0 0 1.3rem; max-width: 44rem; }

/* contact */
.contact { background: var(--main); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; }
.contact-in { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-in { grid-template-columns: 5fr 6fr; gap: 4.5rem; } }
.contact h2 { color: var(--white); }
.contact-text p { color: var(--on-main); font-size: 1.1rem; }
.contact-text a { color: var(--signal); }
.contact-alt { font-weight: 600; }
.form { background: var(--white); color: var(--deep); border-radius: 20px; padding: clamp(1.25rem, 3.5vw, 2.25rem); display: grid; gap: 1rem; box-shadow: 0 40px 80px -40px rgba(2, 18, 12, .7); }
.form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--deep); background: var(--paper); border: 1.5px solid transparent; border-radius: 10px; padding: .75rem .85rem; min-height: 50px; }
.form textarea { resize: vertical; min-height: 8rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--main); background: var(--white); box-shadow: 0 0 0 3px rgba(15, 61, 46, .18); }
.form [aria-invalid="true"] { border-color: #c4261d; }
.row { display: grid; gap: 1rem; }
@media (min-width: 620px) { .row { grid-template-columns: 1fr 1fr; } }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.seg legend { font-weight: 700; font-size: .95rem; margin-bottom: .45rem; padding: 0; }
.seg label { display: inline-flex; flex-direction: row; align-items: center; gap: .5rem; font-weight: 600; border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--main); background: rgba(15, 61, 46, .07); }
.seg input { accent-color: var(--main); width: 1.05rem; height: 1.05rem; min-height: 0; margin: 0; }
.hint { margin: -.4rem 0 0; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--main); }
.form-status { margin: 0; font-weight: 700; color: #c4261d; }
.form-status:empty { display: none; }
.form-done { background: var(--white); color: var(--deep); border-radius: 20px; padding: 2rem; border-top: 8px solid var(--signal); }

/* subpagina's */
.page-hero { background: var(--main); color: var(--white); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); position: relative; }
.page-hero h1 { color: var(--white); max-width: 18ch; font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
.page-hero .lead { color: var(--on-main); }
.crumbs { font-size: .92rem; color: var(--on-main); margin-bottom: 1.6rem; }
.crumbs a { color: var(--white); }
.ph-ico { display: none; }
@media (min-width: 900px) {
  .ph-ico { display: grid; place-items: center; position: absolute; right: max(var(--gut), calc((100vw - var(--w)) / 2 + var(--gut))); bottom: clamp(3rem, 7vw, 5rem); width: 9rem; height: 9rem; border-radius: 28px; background: var(--main-2); color: var(--signal); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
  .ph-ico .ico { width: 4.5rem; height: 4.5rem; stroke-width: 1.2; }
}
.split { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 2fr; gap: 4rem; } .split > h2 { position: sticky; top: 6rem; align-self: start; } }
.items li { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.items li:last-child { border-bottom: 1px solid var(--line); }
.items h3 { margin-bottom: .4rem; font-size: 1.3rem; }
.items p { color: var(--muted); margin: 0; }
.badge { display: inline-block; vertical-align: middle; font: 700 .78rem/1 var(--font); color: var(--deep); background: var(--signal); border-radius: 999px; padding: .35rem .6rem; margin-left: .35rem; letter-spacing: 0; }
.note { background: var(--white); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.75rem); border-left: 6px solid var(--main); max-width: 54rem; }
.note h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.note p { color: var(--muted); }
.note p:last-child { margin-bottom: 0; }
.others h2 { font-size: 1.6rem; }
.others-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.others-list a { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--deep); text-decoration: none; font-weight: 600; background: var(--white); }
.others-list a:hover { border-color: var(--main); color: var(--main); }
.others-list .ico { width: 20px; height: 20px; color: var(--main); }

.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 18rem 1fr; gap: 4.5rem; align-items: start; } }
.about-card { background: var(--white); border-radius: 20px; padding: 1.75rem; }
@media (min-width: 900px) { .about-card { position: sticky; top: 6rem; } }
.mono { width: 76px; height: 76px; border-radius: 50%; background: var(--main); color: var(--signal); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; }
.about-name { font-weight: 800; font-size: 1.4rem; margin: 1rem 0; letter-spacing: -.02em; }
.about-card dl { margin: 0; }
.about-card dt { font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.about-card dd { margin: 0; font-weight: 600; }
.prose { max-width: 44rem; }
.prose > p { font-size: 1.1rem; }
.prose h2 { margin-top: 2.75rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.25rem; }
.legal p { color: var(--muted); }

.login-wrap { max-width: 30rem; }
.login { margin-top: 1.5rem; }

/* voet */
.foot { background: var(--deep); color: var(--on-main); padding: 4rem 0 1.5rem; font-size: .97rem; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--signal); }
.foot-in { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; max-width: 22rem; }
.foot-brand img { width: 88px; margin-bottom: 1rem; }
@media (min-width: 860px) { .foot-in { grid-template-columns: 2fr 1.3fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-h { color: var(--white); font-weight: 700; margin-bottom: .6rem; }
.foot li { margin: .35rem 0; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 3rem; padding-top: 1.25rem; font-size: .88rem; }
.foot-base p { margin: 0; }

/* rustige modus: JS zet .calm op <html> als de bezoeker beweging uitzet (footerknop of ?motion=off) */
.calm { scroll-behavior: auto; }
.calm *, .calm *::before, .calm *::after { animation: none !important; transition: none !important; }
.calm .pulse { display: none; }
.steps-sec + .faq, .sec.faq { padding-top: clamp(4rem, 9vw, 7rem); }
.canvas-tall .in text { font-size: 12px; }

/* ═════════════ MOTION (v8) ═════════════
   Regels: enkel transform/opacity, alles pauzeert buiten beeld (JS zet .play/.in),
   en prefers-reduced-motion schakelt alles uit (onderaan). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-uit .15s ease both; }
::view-transition-new(root) { animation: vt-in .25s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vt-uit { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero: gloed die de muis volgt + één georkestreerde intro */
.hero { position: relative; isolation: isolate; }
.hero-glow { position: absolute; left: 75%; top: 30%; width: 1040px; height: 1040px; margin: -520px 0 0 -520px; z-index: -1; pointer-events: none; will-change: transform;
  background: radial-gradient(circle closest-side, rgba(255, 122, 26, .16), transparent 70%); }
.hero h1, .hero-text, .canvas { animation: opkomen .6s cubic-bezier(.16, 1, .3, 1) both; }
.hero-text { animation-delay: .08s; }
.canvas { animation-delay: .16s; }
@keyframes opkomen { from { opacity: 0; transform: translateY(26px); } }

/* wisselend woord in de titel */
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; transition: width .6s cubic-bezier(.16, 1, .3, 1); }
.rot-w { grid-area: 1 / 1; white-space: nowrap; color: var(--signal); opacity: 0; transform: translateY(70%); transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.rot-w.on { opacity: 1; transform: none; }
.rot-w.out { opacity: 0; transform: translateY(-70%); }

/* marquee */
.marquee { background: var(--deep); color: var(--white); padding: 1.6rem 0; overflow: hidden; display: grid; gap: .7rem; }
.mq-row { display: flex; width: max-content; }
.mq-row ul { display: flex; flex-shrink: 0; animation: mq 48s linear infinite; }
.mq-row.rev ul { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover ul { animation-play-state: paused; }
.mq-row li { font-size: clamp(1.3rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; padding: 0 1.4rem; white-space: nowrap; display: flex; align-items: center; gap: 2.8rem; }
.mq-row li::after { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--signal); flex: none; transform: translateX(1.4rem); }
.mq-row.rev li { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55); }
@keyframes mq { to { transform: translateX(-100%); } }

/* reveals bij scrollen (enkel als JS draait, zodat zonder JS niets onzichtbaar blijft) */
.js .rv { transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }
.js .rv:not(.in):not(ul):not(ol):not(.proj-grid) { opacity: 0; transform: translateY(18px); }
.js :is(ul, ol, .proj-grid).rv > * { transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1); }
.js :is(ul, ol, .proj-grid).rv:not(.in) > * { opacity: 0; transform: translateY(20px); }
.rv > :nth-child(2) { transition-delay: 0.04s !important; } .rv > :nth-child(3) { transition-delay: 0.08s !important; }
.rv > :nth-child(4) { transition-delay: 0.12s !important; } .rv > :nth-child(5) { transition-delay: 0.16s !important; }
.rv > :nth-child(6) { transition-delay: 0.2s !important; } .rv > :nth-child(7) { transition-delay: 0.24s !important; }
.rv > :nth-child(8) { transition-delay: 0.28s !important; }
/* iconen tekenen zichzelf */
.js .svc-grid .ico * { stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.4s cubic-bezier(.65, 0, .35, 1) .3s; }
.js .svc-grid.in .ico * { stroke-dashoffset: 0; }

/* diensten: 8 tegels, de laatste is de vraag-tegel */
@media (min-width: 1180px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc a { position: relative; overflow: hidden; }
.svc a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.svc a:hover::after { transform: scaleX(1); }
.svc-ask a { background: var(--deep); color: var(--white); }
.svc-ask p { color: var(--on-main); }
.svc-ask .more { color: var(--signal); }
.ask-plus { position: relative; width: 34px; height: 34px; margin-bottom: 2.2rem; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.ask-plus::before, .ask-plus::after { content: ""; position: absolute; left: 0; top: 15px; width: 34px; height: 4px; border-radius: 2px; background: var(--signal); }
.ask-plus::after { transform: rotate(90deg); }
.svc-ask a:hover .ask-plus { transform: rotate(90deg); }

/* ── het lab ── */
.lab { background: var(--deep); color: var(--white); padding: clamp(4rem, 9vw, 7rem) 0; }
.lab h2 { color: var(--white); }
.lab-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.lab-head p { color: var(--on-main); max-width: 40rem; margin: 0; font-size: 1.1rem; }
.lab-hint { font-weight: 700; color: var(--signal) !important; font-size: .95rem !important; display: none; }
.lab-view { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.lab-view::-webkit-scrollbar { display: none; }
.lab-track { display: flex; gap: 1.25rem; width: max-content; padding: 0 var(--gut); }
@media (min-width: 1200px) { .lab-track { padding-left: calc((100vw - var(--w)) / 2 + var(--gut)); } }
.lab-card { width: min(80vw, 360px); scroll-snap-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 1rem 1rem 1.4rem; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.16, 1, .3, 1), border-color .3s; }
.lab-card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, .6); }
.lab-card h3 { color: var(--white); font-size: 1.35rem; margin: .4rem .3rem .5rem; }
.lab-card > p { margin: 0 .3rem .9rem; color: var(--on-main); font-size: .98rem; }
.lab-card > .lab-st { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; margin: 1rem .3rem 0; color: var(--white); }
.lab-st .dot { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.s-built .dot { background: var(--signal); }
.s-proto .dot { background: var(--white); }
.s-wip .dot { background: transparent; border: 2px solid var(--signal); }
.s-soon .dot, .s-can .dot { background: transparent; border: 2px dashed rgba(255, 255, 255, .6); }
@keyframes live { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
.s-built .dot, .mc-agent > i, .dsh-agent > i { position: relative; }
.s-built .dot::after, .mc-agent.busy > i::after, .dsh-agent.busy > i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--signal); pointer-events: none; animation: live 1.6s infinite; }
.lab-card > .lab-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; margin-bottom: 0; }
.lab-tags span { font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--white); }
.lab-link { margin: .9rem .3rem 0; color: var(--signal); font-weight: 700; font-size: .92rem; }
.lab-link:hover { color: var(--white); }
.lab-progress { height: 3px; background: rgba(255, 255, 255, .12); border-radius: 2px; margin-top: 2rem; overflow: hidden; }
.lab-progress span { display: block; height: 100%; background: var(--signal); transform: scaleX(var(--p, 0)); transform-origin: left; will-change: transform; }
/* vastgepind: verticale scroll schuift het lab horizontaal (JS zet .pin-on + hoogte) */
.lab-pinned.pin-on { padding: 0; }
.pin-on .lab-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 4.5rem 0 2rem; }
.pin-on .lab-view { overflow: visible; scroll-snap-type: none; }
.pin-on .lab-track { will-change: transform; }
/* Elke mini-visual een eigen kleine laag: een animatie in een kaart herschildert enkel die kaart, niet de hele track */
.pin-on .viz { will-change: transform; contain: layout paint; }
/* Browsers met scroll-driven animations: de compositor schuift de track mee met de scroll (geen JS, geen frame vertraging) */
@supports (animation-timeline: view()) {
  .lab-pinned.pin-on { view-timeline: --lab block; view-timeline-inset: 0px; }
  .pin-on .lab-track { animation: lab-x linear both; animation-timeline: --lab; animation-range: contain 0% contain 100%; }
  .pin-on .lab-progress span { animation: lab-p linear both; animation-timeline: --lab; animation-range: contain 0% contain 100%; }
  @keyframes lab-x { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--dist, 0px) * -1), 0, 0); } }
  @keyframes lab-p { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.pin-on .lab-hint { display: block; }
@media (max-height: 760px) { .pin-on .viz { height: 128px; } .pin-on .lab-card > p { font-size: .92rem; } }
/* niet vastgepind (werkpagina): raster */
.lab:not(.lab-pinned) .lab-view { overflow: visible; max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.lab:not(.lab-pinned) .lab-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); width: auto; padding: 0; }
.lab:not(.lab-pinned) .lab-card { width: auto; }

/* mini-visuals */
.viz { height: 168px; border-radius: 14px; background: var(--main) radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.2px) 0 0 / 16px 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.viz svg { width: 100%; height: 100%; }
.lab-card:not(.play) .viz * { animation-play-state: paused !important; }

.v-inbox { width: 82%; display: grid; gap: 6px; position: relative; }
.mail { display: grid; grid-template-columns: 14px 1fr; gap: 3px 8px; align-items: center; background: rgba(255, 255, 255, .1); border-radius: 8px; padding: 7px 9px; animation: mail 6s infinite both; }
.mail b { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.mail i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .35); }
.mail i + i { width: 60%; }
.m2 { animation-delay: .5s; } .m3 { animation-delay: 1s; }
.m1 { border-left: 3px solid var(--signal); }
@keyframes mail { 0% { opacity: 0; transform: translateX(-16px); } 12%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.bk { position: absolute; right: -6px; bottom: -14px; background: var(--signal); color: var(--deep); border-radius: 10px; padding: 7px 10px; font-weight: 800; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); animation: bk 6s infinite both; }
.bk-p { display: flex; align-items: center; gap: 3px; }
.bk svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@keyframes bk { 0%, 30% { opacity: 0; transform: scale(.6) translateY(10px); } 40%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }

.ag-l { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; stroke-dasharray: 4 5; }
.ag { fill: var(--main-2); stroke: var(--white); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ag 4.5s infinite; }
.a2 { animation-delay: 1.5s; } .a3 { animation-delay: 3s; }
.ag-dot { fill: var(--signal); }
@keyframes ag { 0%, 20%, 100% { fill: var(--main-2); transform: scale(1); } 6% { fill: var(--signal); transform: scale(1.18); } }

.v-gpu { width: 76%; display: grid; gap: 8px; }
.rack { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; padding: 9px 10px; }
.led { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: led 1.1s steps(2) infinite; }
.l0b, .l1a, .l2b { background: var(--signal); animation-duration: .7s; }
.l1b { animation-delay: .3s; } .l2a { animation-delay: .6s; }
@keyframes led { 50% { opacity: .2; } }
.rack .bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.rack .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--signal), #ffb37a); transform-origin: left; animation: load 3.2s ease-in-out infinite alternate; }
.rack .bar .b1 { animation-delay: -1.1s; } .rack .bar .b2 { animation-delay: -2.2s; }
@keyframes load { from { transform: scaleX(.25); } to { transform: scaleX(.95); } }

.db { fill: rgba(255, 255, 255, .22); transform-box: fill-box; transform-origin: bottom; animation: db 3.6s ease-in-out infinite alternate; }
.d1 { animation-delay: -.6s; } .d2 { animation-delay: -1.2s; } .d3 { animation-delay: -1.8s; fill: rgba(255, 122, 26, .55); } .d4 { animation-delay: -2.4s; } .d5 { animation-delay: -3s; }
@keyframes db { from { transform: scaleY(.3); } to { transform: scaleY(.85); } }
.dl { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; animation: draw 4s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 260; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -260; } }

.phone { width: 74px; height: 138px; border-radius: 14px; border: 3px solid var(--white); overflow: hidden; position: relative; background: #000; }
.reel { animation: reel 6s cubic-bezier(.7, 0, .3, 1) infinite; }
.c { display: block; height: 132px; }
.c0 { background: linear-gradient(160deg, #ff7a1a, #b3361a); } .c1 { background: linear-gradient(160deg, #f2f0ea, #c9b89c); } .c2 { background: linear-gradient(160deg, #3fa37c, #0f3d2e); }
@keyframes reel { 0%, 26% { transform: translateY(0); } 33%, 59% { transform: translateY(-132px); } 66%, 92% { transform: translateY(-264px); } 100% { transform: translateY(-396px); } }
.cap { position: absolute; left: 10px; right: 18px; bottom: 16px; height: 6px; border-radius: 3px; background: var(--white); box-shadow: 0 -10px 0 rgba(255, 255, 255, .6); }
.rec { position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: led 1s steps(2) infinite; }

.track { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 6; stroke-linecap: round; }
.bot rect { fill: var(--signal); }
.bot .eye { fill: var(--deep); }

.v-cad { perspective: 500px; }
.cube { width: 74px; height: 74px; position: relative; transform-style: preserve-3d; animation: cube-spin 9s linear infinite; }
.face { position: absolute; inset: 0; border: 2px solid var(--signal); background: rgba(255, 122, 26, .07); }
.face.f { transform: translateZ(37px); } .face.b { transform: rotateY(180deg) translateZ(37px); } .face.l { transform: rotateY(-90deg) translateZ(37px); }
.face.r { transform: rotateY(90deg) translateZ(37px); } .face.t { transform: rotateX(90deg) translateZ(37px); } .face.u { transform: rotateX(-90deg) translateZ(37px); }
@keyframes cube-spin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

.mast { stroke: rgba(255, 255, 255, .6); stroke-width: 3; }
.cups { transform-box: view-box; transform-origin: 110px 70px; animation: rot 1.4s linear infinite; }
.cups line { stroke: var(--white); stroke-width: 2.5; }
.cups circle { fill: var(--white); }
.cups .cup { fill: var(--signal); }
@keyframes rot { to { transform: rotate(360deg); } }
.wind { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 90; animation: draw 3.6s ease-in-out infinite; }

.rail { stroke: rgba(255, 255, 255, .7); stroke-width: 3; }
.rung { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.ct, .coil { fill: var(--main); stroke: var(--white); stroke-width: 2; animation: ct 4.8s infinite; }
.c0b { animation-delay: .3s; } .k0 { animation-delay: .6s; } .c1a { animation-delay: 1.6s; } .c1b { animation-delay: 1.9s; } .k1 { animation-delay: 2.2s; }
.c2a { animation-delay: 3.2s; } .c2b { animation-delay: 3.5s; } .k2 { animation-delay: 3.8s; }
@keyframes ct { 0%, 30% { fill: var(--signal); stroke: var(--signal); } 34%, 100% { fill: var(--main); stroke: var(--white); } }

.v-voice { display: flex; align-items: center; gap: 4px; height: 90px; }
.w { width: 5px; height: 100%; border-radius: 3px; background: var(--signal); transform-origin: center; animation: wave 1.2s ease-in-out infinite; }
.w1 { animation-delay: -.2s; } .w2 { animation-delay: -.4s; background: var(--white); } .w3 { animation-delay: -.6s; } .w4 { animation-delay: -.8s; background: var(--white); } .w5 { animation-delay: -1s; }
@keyframes wave { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(.9); } }

/* werkwijze: lijn die vol loopt tijdens het scrollen */
.steps-line { height: 3px; background: rgba(255, 255, 255, .15); border-radius: 2px; margin: -1rem 0 2.25rem; overflow: hidden; }
.steps-line span { display: block; height: 100%; background: var(--signal); transform: scaleX(var(--p, 0)); transform-origin: left; will-change: transform; }

/* groot woordmerk dat oplicht als je onderaan komt */
.wordmark { font-weight: 800; font-size: clamp(6rem, 27vw, 24rem); line-height: .78; letter-spacing: -.07em; text-align: center; margin: 3.5rem 0 -1rem; color: rgba(255, 255, 255, .07); position: relative; user-select: none; overflow: hidden; }
.wm-clip { position: absolute; inset: 0; overflow: hidden; transform: translate3d(-100%, 0, 0); will-change: transform; }
.wm-fill { display: block; color: var(--signal); transform: translate3d(100%, 0, 0); will-change: transform; }

.calm .mq-row, .calm .mq-row ul { flex-wrap: wrap; width: auto; justify-content: center; row-gap: .5rem; }
.calm .mq-row ul[aria-hidden] { display: none; }
.calm.js .rv, .calm.js .rv > * { opacity: 1 !important; transform: none !important; }
.calm.js .svc-grid .ico * { stroke-dashoffset: 0; }
.calm .rot-w:not(.on) { display: none; }
.calm .wm-clip { display: none; }

/* ── live terminal (automatiseringspagina) ── */
.lt { --mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace; }
.lt .lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: rgba(255,255,255,.82); max-width: 40rem; margin: 0 0 1.75rem; }
.lt { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--main); color: var(--white); }
.lt h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 700; max-width: 18ch; }
.lt-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
.lt-tab { min-height: 44px; font: 600 .98rem/1.2 var(--font); color: var(--white); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px; padding: .55rem 1.05rem; cursor: pointer; transition: background .2s, border-color .2s; }
.lt-tab:hover { border-color: var(--white); }
.lt-tab[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--deep); }
.lt-grid { display: grid; gap: 1rem; }
@media (min-width: 960px) { .lt-grid { grid-template-columns: 7fr 5fr; align-items: stretch; } }
.lt-term { background: #06201a; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -40px rgba(2,18,12,.9); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.lt-bar { display: flex; align-items: center; gap: .8rem; padding: .6rem .9rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.lt-dots { display: flex; gap: .35rem; }
.lt-dots i { width: .65rem; height: .65rem; border-radius: 50%; background: rgba(255,255,255,.2); }
.lt-dots i:first-child { background: var(--signal); }
.lt-title { flex: 1; font: 500 .85rem var(--mono); color: rgba(255,255,255,.6); }
.lt-replay { font: 700 .85rem var(--font); min-height: 36px; padding: .3rem .8rem; border-radius: 8px; color: var(--white); background: transparent; border: 1.5px solid rgba(255,255,255,.35); cursor: pointer; }
.lt-replay:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.lt-screen { height: clamp(19rem, 46vh, 26rem); overflow: hidden; padding: 1rem 1.1rem; font: 400 clamp(.82rem, 1.4vw, .95rem)/1.7 var(--mono); color: #cfe8dc; }
.lt-screen:focus-visible { outline-offset: -3px; }
.lt-l { display: flex; gap: .6rem; animation: lt-in .28s ease-out both; overflow-wrap: anywhere; }
.lt-l .g { flex: none; width: 3.1em; font-weight: 700; }
.lt-l.cmd .g { color: var(--signal); width: 1.3em; }
.lt-l.cmd .tx { color: #fff; }
.lt-l.log .g { color: rgba(255,255,255,.4); }
.lt-l.ai .g { color: #ffb066; }
.lt-l.ok .g { color: #7fe3a9; }
.lt-l.warn .g { color: #ffd166; }
.lt-l.done { margin-top: .5rem; color: #fff; }
.lt-l.done .g { color: var(--signal); }
.lt-cur { display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--signal); animation: lt-blink 1s steps(2, start) infinite; }
.lt-res { background: var(--main-2); border-radius: 18px; padding: 1.1rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); min-width: 0; }
.lt-res-h { margin: 0 0 .8rem; font-weight: 700; color: rgba(255,255,255,.7); font-size: .95rem; }
.lt-cards { display: grid; gap: .7rem; }
.lt-card { background: var(--paper); color: var(--deep); border-radius: 14px; padding: .85rem 1rem; min-height: 5.1rem; opacity: .14; transform: translateY(10px) scale(.985); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); }
.lt-card.on { opacity: 1; transform: none; }
.lt-card.flag { background: #ffe3cc; box-shadow: inset 4px 0 0 var(--signal); }
.lt-k { margin: 0 0 .15rem; font: 700 .75rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lt-m { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.lt-s { margin: .15rem 0 0; font-size: .9rem; color: var(--muted); }
.lt-spark { display: block; width: 100%; height: 42px; margin-top: .4rem; }
.lt-spark polyline { fill: none; stroke: var(--main); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lt-spark .lim { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 4 4; }
.calm .lt-l, .calm .lt-cur { animation: none; } .calm .lt-card { transition: none; }

/* ═════════════ LAB: klikbare kaarten + detailvenster met demo's (v16) ═════════════ */
.lab-card { position: relative; }
.lab-open { margin: 1rem .3rem 0; align-self: flex-start; font: 700 .92rem/1 var(--font); color: var(--deep); background: var(--signal); border: 0; border-radius: 999px; padding: .65rem 1rem; cursor: pointer; transition: background .2s; }
.lab-open::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.lab-card:hover .lab-open, .lab-open:focus-visible { background: var(--white); }
.lab-open:focus-visible { outline: none; }
.lab-card:has(.lab-open:focus-visible) { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal); }
.lab-card { cursor: pointer; }

/* nieuwe mini-visuals */
.v-invoice { display: flex; gap: 14px; align-items: center; }
.v-invoice .doc { position: relative; width: 86px; height: 112px; background: var(--paper); border-radius: 6px; padding: 12px 10px; display: grid; gap: 7px; align-content: start; overflow: hidden; }
.v-invoice .l { height: 6px; border-radius: 3px; background: rgba(10, 42, 32, .22); }
.v-invoice .l1 { width: 60%; background: var(--main); } .v-invoice .l3 { width: 75%; } .v-invoice .l5 { width: 45%; background: var(--signal); }
.v-invoice .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--signal); box-shadow: 0 0 10px 2px rgba(255, 122, 26, .7); top: 6px; will-change: transform; animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: none; } 50% { transform: translateY(98px); } }
.v-invoice .chk { display: grid; gap: 8px; }
.v-invoice .chk i { width: 64px; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.v-invoice .chk i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: left; animation: fillx 2.4s ease-in-out infinite; }
.v-invoice .chk i:nth-child(2)::after { animation-delay: .3s; } .v-invoice .chk i:nth-child(3)::after { animation-delay: .6s; }
@keyframes fillx { 0%, 15% { transform: scaleX(0); } 55%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.v-iot .lim { stroke: var(--signal); stroke-width: 1.5; stroke-dasharray: 5 5; }
.v-iot .temp { fill: none; stroke: var(--white); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 260; animation: draw 4s ease-in-out infinite; }
.v-iot .ping { fill: var(--signal); transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
.v-iot .p2 { animation-delay: 1s; }
@keyframes ping { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.v-site { position: relative; width: 78%; height: 120px; border-radius: 8px; overflow: hidden; }
.v-site .pane { position: absolute; inset: 0; padding: 12px; display: grid; gap: 7px; align-content: start; }
.v-site .old { background: #c9c9c9; }
.v-site .old i { height: 7px; background: #9a9a9a; border-radius: 2px; } .v-site .old i:nth-child(2) { width: 70%; } .v-site .old i:nth-child(3) { height: 40px; background: #b0b0b0; }
.v-site .new { background: var(--deep); animation: wipe 4.5s ease-in-out infinite; }
.v-site .new b { height: 16px; width: 70%; border-radius: 3px; background: var(--white); } .v-site .new i { height: 7px; width: 85%; border-radius: 3px; background: rgba(255, 255, 255, .4); }
.v-site .new span { width: 38%; height: 16px; border-radius: 999px; background: var(--signal); }
@keyframes wipe { 0%, 15% { clip-path: inset(0 0 0 100%); } 50%, 85% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }

/* het venster */
.lab-dlg { width: min(1120px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 26px; background: var(--deep); color: var(--white); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .7); overflow: auto; overscroll-behavior: contain; }
.lab-dlg::backdrop { background: rgba(4, 18, 13, .72); backdrop-filter: blur(6px); }
.lab-dlg[open] { animation: dlg-in .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.dlg-in { position: relative; padding: clamp(1.25rem, 3.5vw, 2.5rem); }
.lab-dlg h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .4rem 3rem 1.5rem 0; }
.dlg-x { position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; cursor: pointer; }
.dlg-x::before, .dlg-x::after { content: ""; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; background: var(--white); transform: rotate(45deg); }
.dlg-x::after { transform: rotate(-45deg); }
.dlg-x:hover { background: rgba(255, 255, 255, .1); }
.dlg-st { margin: 0; }
.dlg-grid { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .dlg-grid { grid-template-columns: 7fr 5fr; gap: 2.5rem; } }
.dlg-demo { background: var(--main); border-radius: 20px; padding: 1.1rem; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px); background-size: 18px 18px; min-height: 360px; }
.dlg-demo-h { display: flex; align-items: center; gap: .5rem; margin: 0 0 1rem; font-weight: 700; font-size: .9rem; }
.live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #ff4b3a; animation: led 1.2s steps(2) infinite; }
.dlg-sample { margin-left: auto; font-weight: 600; font-size: .78rem; color: var(--on-main); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .25rem .6rem; }
.dlg-info h3 { color: var(--signal); font-size: .95rem; margin: 0 0 .35rem; letter-spacing: 0; }
.dlg-info p, .dlg-info li { color: var(--on-main); font-size: .98rem; }
.dlg-info p { margin: 0 0 1.2rem; }
.dlg-how { list-style: none; counter-reset: h; margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.dlg-how li { counter-increment: h; display: grid; grid-template-columns: 1.6rem 1fr; gap: .4rem; }
.dlg-how li::before { content: counter(h); width: 1.4rem; height: 1.4rem; border-radius: 50%; background: rgba(255, 122, 26, .18); color: var(--signal); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.dlg-stack span { font-size: .8rem; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.dlg-live { display: flex; flex-wrap: wrap; gap: 1rem; }
.dlg-link { color: var(--signal); font-weight: 700; }
.dlg-link:hover { color: var(--white); }

/* gedeelde demo-onderdelen */
.demo-stage { display: grid; gap: .9rem; }
.demo-q { margin: 0; color: var(--on-main); font-size: .92rem; font-weight: 600; }
.demo-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.demo-chip { font: 600 .88rem/1.2 var(--font); color: var(--white); background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: .5rem .85rem; min-height: 40px; cursor: pointer; text-align: left; }
.demo-chip:hover { border-color: var(--white); }
.demo-chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--deep); }
.d-vert { flex-direction: column; align-items: stretch; }
.demo-stage .btn { justify-self: start; }
.demo-stage .btn:disabled { opacity: .55; cursor: default; }

/* inbox */
.d-mail { background: var(--paper); color: var(--deep); border-radius: 14px; padding: .9rem 1rem; }
.d-mail-s { margin: 0 0 .3rem; font-weight: 800; }
.d-mail-b { margin: 0; font-size: .95rem; }
.d-reading { margin: 0; height: 1.2rem; font-size: .88rem; color: var(--signal); opacity: 0; }
.d-reading.on { opacity: 1; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.d-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; margin: 0; }
.d-field { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: .55rem .7rem; transition: background .3s, border-color .3s; }
.d-field dt { font-size: .75rem; color: var(--on-main); }
.d-field dd { margin: 0; font-weight: 800; min-height: 1.4em; }
.d-field.on { background: rgba(255, 122, 26, .16); border-color: rgba(255, 122, 26, .6); }
.d-reply { border-left: 3px solid var(--signal); padding-left: .8rem; opacity: .35; transition: opacity .3s; }
.d-reply.on { opacity: 1; }
.d-reply-h { margin: 0; font-size: .75rem; color: var(--on-main); }
.d-reply-t { margin: 0; min-height: 3em; }

/* agents */
.d-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.d-col { background: rgba(0, 0, 0, .18); border-radius: 12px; padding: .5rem; min-height: 180px; }
.d-col-h { margin: 0 0 .4rem; font-size: .75rem; font-weight: 800; color: var(--on-main); }
.d-col-b { display: grid; gap: .35rem; }
.d-task { background: var(--paper); color: var(--deep); border-radius: 8px; padding: .4rem .5rem; font-size: .76rem; font-weight: 700; line-height: 1.25; }
.d-col:last-child .d-task { background: var(--signal); }
.d-task.pop { animation: pop .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes pop { from { transform: translateY(-10px) scale(.94); opacity: .2; } }
.d-log { list-style: none; margin: 0; padding: 0; font: .82rem/1.6 var(--mono, ui-monospace, Consolas, monospace); color: #cfe8dc; }
.d-log b { color: var(--signal); }
@media (max-width: 560px) { .d-board { grid-template-columns: repeat(2, 1fr); } }

/* gpu */
.d-route { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; min-height: 150px; }
.d-node { border-radius: 14px; padding: .8rem; font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .2); transition: all .4s; }
.d-req { background: var(--paper); color: var(--deep); }
.d-lanes { display: grid; gap: .8rem; }
.d-lane.on { background: var(--signal); border-color: var(--signal); color: var(--deep); transform: scale(1.04); }
.d-pulse { position: absolute; left: 45%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px 3px rgba(255, 122, 26, .7); opacity: 0; }
.d-pulse.go { animation: route .9s cubic-bezier(.65, 0, .35, 1) forwards; }
.d-pulse.to-priv { --ty: -34px; } .d-pulse.to-cloud { --ty: 34px; }
@keyframes route { 0% { opacity: 1; transform: translate(-40px, 0); } 100% { opacity: 0; transform: translate(30px, var(--ty)); } }
.d-why { margin: 0; color: var(--white); font-weight: 600; }
.d-meter { margin: 0; color: var(--on-main); } .d-meter b { font-size: 1.8rem; color: var(--signal); }

/* dash */
.d-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.d-kpi { background: var(--paper); color: var(--deep); border-radius: 14px; padding: .7rem .8rem; }
.d-kpi p { margin: 0; font-size: .78rem; color: var(--muted); }
.d-kpi b { font-size: 1.7rem; letter-spacing: -.02em; }
.d-kpi.tick b { animation: tick .6s ease-out; }
@keyframes tick { 0% { color: var(--signal); } }
.d-week-h { margin: .3rem 0 0; font-size: .85rem; color: var(--on-main); }
.d-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; height: 120px; align-items: end; }
.d-bar { display: grid; height: 100%; grid-template-rows: 1fr auto; gap: .3rem; text-align: center; font-size: .72rem; color: var(--on-main); }
.d-bar i { display: block; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--signal), #ffb37a); transform-origin: bottom; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }

/* plc */
.d-hmi { background: #11231c; border: 2px solid #2c4a3f; border-radius: 16px; padding: 1rem; display: grid; gap: 1rem; font-family: var(--mono, ui-monospace, Consolas, monospace); }
.d-hmi-h { display: flex; align-items: center; gap: .6rem; }
.d-lamp { width: 14px; height: 14px; border-radius: 50%; background: #5c1a14; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .4); }
.d-lamp.on { background: #4ade80; box-shadow: 0 0 12px #4ade80; }
.d-state { margin-left: auto; font-size: .85rem; color: var(--on-main); }
.d-track { position: relative; height: 70px; margin: 0 22px; border-bottom: 4px solid #8aa79b; }
.d-wagon { position: absolute; bottom: 4px; width: 44px; height: 30px; margin-left: -22px; border-radius: 6px; background: var(--signal); box-shadow: 0 6px 0 -2px #b9520f; }
.d-stop { position: absolute; bottom: -26px; transform: translateX(-50%); font-size: .75rem; color: var(--on-main); }
.d-read { display: flex; gap: 2rem; margin-top: .6rem; font-size: .85rem; color: var(--on-main); }
.d-read p { margin: 0; } .d-read b { color: var(--white); }
.d-hmi-b { display: flex; gap: .6rem; }

/* site */
.d-cmp { position: relative; height: 300px; border-radius: 14px; overflow: hidden; cursor: ew-resize; touch-action: none; user-select: none; }
.d-old, .d-new { position: absolute; inset: 0; }
.d-old { background: #d8d8d8; color: #555; padding: 1rem; font-family: 'Times New Roman', serif; }
.d-old-bar { height: 26px; background: #6b6b9a; margin: -1rem -1rem .8rem; }
.d-old-t { margin: 0 0 .4rem; font-size: 1.1rem; text-decoration: underline; color: #2a2ac0; }
.d-old-p { margin: 0 0 .5rem; font-size: .75rem; }
.d-old-img { height: 70px; background: repeating-linear-gradient(45deg, #bbb 0 8px, #c8c8c8 8px 16px); margin-bottom: .5rem; }
.d-new { background: var(--deep); }
.d-new-in { position: absolute; inset: 0; padding: 1.2rem; display: grid; align-content: start; gap: .8rem; background: radial-gradient(500px circle at 80% 20%, rgba(255, 122, 26, .25), transparent 60%), var(--deep); }
.d-new-bar { height: 10px; width: 30%; border-radius: 5px; background: rgba(255, 255, 255, .5); }
.d-new-t { margin: 0; font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); line-height: 1.05; letter-spacing: -.03em; max-width: 14ch; }
.d-new-cta { justify-self: start; background: var(--signal); color: var(--deep); font-weight: 800; border-radius: 10px; padding: .5rem .9rem; font-size: .9rem; }
.d-new-art { position: absolute; right: -30px; bottom: -30px; width: 160px; height: 160px; border-radius: 40px; background: var(--main); transform: rotate(18deg); border: 2px solid rgba(255, 122, 26, .5); }
.d-tag { position: absolute; top: .7rem; font-size: .75rem; font-weight: 800; padding: .25rem .55rem; border-radius: 999px; background: rgba(0, 0, 0, .55); color: var(--white); }
.d-tag-b { right: .7rem; } .d-tag-a { left: .7rem; z-index: 1; }
.d-handle { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--signal); pointer-events: none; }
.d-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: var(--signal); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.d-range { width: 100%; accent-color: var(--signal); }

/* clip */
.d-clip { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.d-phone { position: relative; width: 170px; aspect-ratio: 9 / 16; border-radius: 26px; border: 5px solid #000; background: #000; overflow: hidden; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.d-scene { position: absolute; inset: 0; display: grid; align-content: end; padding: 1rem .8rem 1.6rem; }
.d-scene.s0 { background: radial-gradient(circle at 50% 30%, #f6c66b, #b8641c 55%, #3d1a07); }
.d-scene.s1 { background: radial-gradient(circle at 50% 30%, #f2e3c9, #a07650 55%, #3b2414); }
.d-scene.s2 { background: radial-gradient(circle at 50% 30%, #ffb070, #ff5a1f 50%, #5c1606); }
.d-scene::before { content: ""; position: absolute; left: 50%; top: 32%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; background: rgba(255, 255, 255, .25); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); }
.d-scene.in::before { animation: plate 4s ease-in-out infinite alternate; }
@keyframes plate { from { transform: scale(.9) rotate(0); } to { transform: scale(1.12) rotate(25deg); } }
.d-scene-n { margin: 0; font-weight: 800; font-size: 1.35rem; line-height: 1; color: var(--white); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.d-scene.in .d-scene-n { animation: slidein .7s cubic-bezier(.16, 1, .3, 1); }
@keyframes slidein { from { opacity: 0; transform: translateY(18px); } }
.d-scene-l { margin: .4rem 0 0; min-height: 2.6em; font-size: .78rem; font-weight: 700; color: var(--white); background: rgba(0, 0, 0, .45); border-radius: 6px; padding: .25rem .4rem; }
.d-prog { position: absolute; left: 8px; right: 8px; top: 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.d-prog::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.d-prog.run::after { animation: prog 6s linear infinite; }
@keyframes prog { to { transform: scaleX(1); } }
.d-rec { position: absolute; right: 12px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: led 1s steps(2) infinite; }
@media (max-width: 520px) { .d-clip { grid-template-columns: 1fr; justify-items: center; } }

/* invoice */
.d-inv { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; align-items: start; }
.d-doc { position: relative; background: var(--paper); border-radius: 8px; padding: 1rem .8rem; display: grid; gap: .55rem; min-height: 200px; overflow: hidden; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.d-doc-h { height: 12px; width: 55%; border-radius: 3px; background: var(--main); margin-bottom: .3rem; }
.d-doc-l { height: 7px; border-radius: 3px; background: rgba(10, 42, 32, .18); }
.d-doc-l.l1 { width: 70%; } .d-doc-l.l3 { width: 85%; } .d-doc-l.l5 { width: 50%; } .d-doc-l.l6 { width: 40%; background: rgba(255, 122, 26, .6); }
.d-scan { position: absolute; left: 0; right: 0; top: 8px; height: 3px; will-change: transform; background: var(--signal); box-shadow: 0 0 12px 3px rgba(255, 122, 26, .7); opacity: 0; }
.d-doc.reading .d-scan { opacity: 1; animation: scan2 1.2s ease-in-out infinite; }
@keyframes scan2 { 0%, 100% { transform: none; } 50% { transform: translateY(182px); } }
.d-table { margin: 0; display: grid; gap: .35rem; }
.d-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: .5rem; padding: .45rem .6rem; border-radius: 8px; background: rgba(255, 255, 255, .05); transition: background .3s; }
.d-row dt { font-size: .82rem; color: var(--on-main); }
.d-row dd { margin: 0; font-weight: 800; }
.d-row.on { background: rgba(255, 122, 26, .16); }
.d-flag { margin: 0; padding: .7rem .8rem; border-radius: 10px; background: rgba(255, 75, 58, .14); border: 1px solid rgba(255, 75, 58, .5); font-weight: 600; opacity: 0; transition: opacity .3s; }
.d-flag.on { opacity: 1; }
@media (max-width: 560px) { .d-inv { grid-template-columns: 1fr; } .d-row { grid-template-columns: 1fr; } }

/* iot */
.d-iot { background: rgba(0, 0, 0, .2); border-radius: 14px; padding: .8rem; }
.d-iot-h { display: flex; align-items: baseline; justify-content: space-between; }
.d-temp { font-size: 2rem; font-weight: 800; color: #7ee3b3; transition: color .4s; }
.d-temp.hot { color: #ff6b5a; }
.d-chart { width: 100%; height: auto; }
.d-limit { stroke: #ff6b5a; stroke-width: 1.5; stroke-dasharray: 6 5; }
.d-limit-t { fill: #ff6b5a; font: 600 10px var(--font); text-anchor: start; }
.d-line { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linejoin: round; }
.d-toast { display: flex; gap: .6rem; align-items: center; background: var(--white); color: var(--deep); border-radius: 14px; padding: .7rem .9rem; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .35s; }
.d-toast b { background: var(--signal); color: var(--deep); border-radius: 6px; padding: .1rem .4rem; font-size: .8rem; }
.d-toast.on { opacity: 1; transform: none; }
.d-toast.ok b { background: #7ee3b3; }

/* voice */
.d-call { display: grid; gap: .8rem; }
.d-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 60px; }
.d-wave i { width: 5px; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .35); transform: scaleY(.15); }
.d-call.talking .d-wave i { background: var(--signal); animation: wave 1.1s ease-in-out infinite; }
.d-wave .w1 { animation-delay: -.2s; } .d-wave .w2 { animation-delay: -.4s; } .d-wave .w3 { animation-delay: -.6s; } .d-wave .w4 { animation-delay: -.8s; } .d-wave .w5 { animation-delay: -1s; }
.d-lines { display: grid; gap: .5rem; min-height: 190px; align-content: start; }
.d-say { margin: 0; max-width: 85%; padding: .55rem .75rem; border-radius: 14px; font-size: .92rem; animation: slidein .4s ease-out; }
.d-say b { display: block; font-size: .72rem; opacity: .75; }
.d-say.caller { background: rgba(255, 255, 255, .1); justify-self: start; border-bottom-left-radius: 4px; }
.d-say.bot { background: var(--paper); color: var(--deep); justify-self: end; border-bottom-right-radius: 4px; }
.d-sum { margin: 0; font-weight: 800; color: var(--deep); background: var(--signal); border-radius: 10px; padding: .55rem .8rem; justify-self: start; opacity: 0; transition: opacity .3s; }
.d-sum.on { opacity: 1; }

@media (max-width: 640px) {
  .lab-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .dlg-demo { min-height: 0; }
}
.dlg-st { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; }
.dlg-st .dot { flex: none; width: .6rem; height: .6rem; }

/* ═════════════ makeover-film + CAD-viewer (v21) ═════════════ */
.v-stand .st-base { fill: rgba(255, 255, 255, .25); }
.v-stand .st-arm { fill: var(--white); }
.v-stand .st-head { transform-box: fill-box; transform-origin: center; animation: pan 5s ease-in-out infinite; }
.v-stand .st-proj { fill: var(--white); }
.v-stand .st-lens { fill: var(--deep); stroke: var(--signal); stroke-width: 3; }
.v-stand .st-beam { fill: rgba(255, 122, 26, .28); transform-origin: 150px 54px; animation: beam 5s ease-in-out infinite; }
@keyframes pan { 0%, 100% { transform: scaleX(1); } 25% { transform: scaleX(.25); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(-.25); } }
@keyframes beam { 0%, 12%, 88%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } }

.mk { position: relative; display: grid; gap: .9rem; }
.mk-row { position: relative; display: flex; gap: 1rem; align-items: flex-end; }
.mk-browser { position: relative; flex: 1; min-width: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.mk-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 .6rem; background: #e7e6e2; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9c7c1; }
.mk-url { margin-left: .5rem; flex: 1; font: 600 .7rem/1 var(--font); color: #555; background: #fff; border-radius: 6px; padding: .3rem .5rem; }
.mk-load { position: absolute; left: 0; right: 0; top: 28px; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 1s ease-out; z-index: 3; }
.mk-view { position: relative; height: 300px; overflow: hidden; background: #d9d9d9; }

/* oude site */
.mk-old { position: absolute; inset: 0; padding: .8rem; font-family: 'Times New Roman', serif; color: #444; background: #dcdcdc; }
.mk-o { transition: transform .9s cubic-bezier(.55, 0, .7, .3), opacity .7s; }
.mk-o-head { height: 34px; margin: -.8rem -.8rem .7rem; background: linear-gradient(#7c7cb0, #5d5d8f); }
.mk-o-t { margin: 0 0 .4rem; font-size: 1.15rem; color: #2a2ac0; text-decoration: underline; }
.mk-o-p { margin: 0 0 .5rem; font-size: .72rem; line-height: 1.3; }
.mk-o-img { height: 80px; margin-bottom: .5rem; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #f0d24a 0 12px, #2b2b2b 12px 24px); }
.mk-o-img span { background: #fff; font: 700 .7rem/1 Arial, sans-serif; padding: .3rem .5rem; color: #b00; }
.mk-cookie { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; padding: .6rem; font: .68rem/1.3 Arial, sans-serif; color: #fff; background: #333; border: 2px solid #999; opacity: 0; transform: translateY(20px); }
.mk.s-cookie .mk-cookie { opacity: 1; transform: none; transition: opacity .3s, transform .3s; }
.mk-spin { position: absolute; right: 1rem; top: 3.2rem; width: 26px; height: 26px; border-radius: 50%; border: 3px solid #bbb; border-top-color: #555; animation: rot .9s linear infinite; }
.mk.s-sweep .mk-spin { display: none; }
/* wegvegen: elk oud element valt anders */
.mk.s-sweep .mk-o { opacity: 0; }
.mk.s-sweep .mk-o-head { transform: translateY(-60px) rotate(-4deg); }
.mk.s-sweep .mk-o-t { transform: translate(-40px, 120px) rotate(-14deg); transition-delay: .08s; }
.mk.s-sweep .mk-o-p { transform: translate(30px, 160px) rotate(9deg); transition-delay: .16s; }
.mk.s-sweep .mk-o-img { transform: translateY(200px) rotate(18deg) scale(.7); transition-delay: .12s; }
.mk.s-sweep .mk-cookie { transform: translateY(80px); opacity: 0; transition: transform .6s, opacity .4s; }
.mk-scanl { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--signal); box-shadow: 0 0 24px 6px rgba(255, 122, 26, .8); opacity: 0; z-index: 4; }
.mk.s-sweep .mk-scanl { animation: mk-sweep 1.1s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes mk-sweep { 0% { opacity: 1; left: 0; } 90% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
.mk-grid { position: absolute; inset: 0; opacity: 0; background-image: linear-gradient(rgba(255, 122, 26, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 122, 26, .35) 1px, transparent 1px); background-size: 24px 24px; background-color: #0b3125; clip-path: inset(0 100% 0 0); }
.mk.s-grid .mk-grid { opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.16, 1, .3, 1), opacity .2s; }

/* nieuwe site */
.mk-new { position: absolute; inset: 0; padding: .9rem 1rem; overflow: hidden; background: radial-gradient(420px circle at 85% 15%, rgba(255, 122, 26, .3), transparent 60%), var(--deep); opacity: 0; transition: opacity .4s; }
.mk.s-new .mk-new { opacity: 1; }
.mk-n { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
.mk-n-nav { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.mk-n-nav b { width: 44px; height: 12px; border-radius: 3px; background: var(--white); }
.mk-n-nav i { width: 34px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .45); }
.mk-n-nav span { margin-left: auto; font: 800 .62rem/1 var(--font); color: var(--deep); background: var(--signal); border-radius: 6px; padding: .35rem .5rem; }
.mk.s-new .mk-n-nav { opacity: 1; transform: none; }
.mk-n-hero { opacity: 1; transform: none; max-width: 62%; }
.mk-n-t { margin: 0; font: 800 clamp(1.15rem, 2.6vw, 1.75rem)/1.02 var(--font); letter-spacing: -.035em; color: var(--white); }
.mk-w { display: inline-block; opacity: 0; transform: translateY(70%); transition: opacity .5s, transform .6s cubic-bezier(.16, 1, .3, 1); }
.mk.s-title .mk-w { opacity: 1; transform: none; }
.mk-n-sub { margin: .55rem 0 .7rem; font-size: .72rem; line-height: 1.35; color: rgba(255, 255, 255, .75); }
.mk-n-cta { display: inline-block; font: 800 .72rem/1 var(--font); color: var(--deep); background: var(--signal); border-radius: 8px; padding: .55rem .8rem; }
.mk.s-rest .mk-n-sub { opacity: 1; transform: none; }
.mk.s-rest .mk-n-cta { opacity: 1; transform: none; transition-delay: .15s; animation: ctapop .6s .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ctapop { 50% { transform: scale(1.12); } }
.mk-n-art { position: absolute; right: -24px; top: 56px; width: 38%; height: 150px; border-radius: 22px; background: linear-gradient(140deg, var(--main), #164f3c); border: 2px solid rgba(255, 122, 26, .5); transform: translateX(60px) rotate(6deg); }
.mk-n-art i { position: absolute; left: 16px; right: 16px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .25); }
.mk-n-art i:first-child { top: 22px; } .mk-n-art i:last-child { top: 42px; right: 40%; background: var(--signal); }
.mk.s-rest .mk-n-art { opacity: 1; transform: rotate(6deg); transition-delay: .1s; }
.mk-n-feats { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.mk-f { display: flex; align-items: center; gap: .4rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: .5rem; font: 700 .66rem/1.1 var(--font); color: var(--white); }
.mk-f i { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--signal); }
.mk.s-rest .mk-n-feats { opacity: 1; transform: none; transition-delay: .3s; }

/* gsm */
.mk-phone { flex: none; width: 112px; aspect-ratio: 9 / 18.5; border-radius: 20px; border: 4px solid #000; background: var(--deep); overflow: hidden; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(40px) rotate(4deg); transition: opacity .6s, transform .8s cubic-bezier(.16, 1, .3, 1); }
.mk.s-phone .mk-phone { opacity: 1; transform: none; }
.mk-ph-s { padding: .7rem .55rem; display: grid; gap: .4rem; background: radial-gradient(160px circle at 90% 0, rgba(255, 122, 26, .35), transparent 60%); height: 100%; align-content: start; }
.mk-ph-nav { height: 8px; width: 40%; border-radius: 3px; background: var(--white); margin-bottom: .3rem; }
.mk-ph-t { margin: 0; font: 800 .74rem/1.02 var(--font); color: var(--white); letter-spacing: -.02em; }
.mk-ph-cta { justify-self: start; font: 800 .52rem/1 var(--font); color: var(--deep); background: var(--signal); border-radius: 5px; padding: .3rem .4rem; }
.mk-ph-img { height: 52px; border-radius: 10px; background: linear-gradient(140deg, var(--main), #1b5c46); border: 1px solid rgba(255, 122, 26, .5); }
.mk-ph-l { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); } .mk-ph-l.s { width: 60%; }
@media (max-width: 600px) { .mk-phone { display: none; } .mk-view { height: 260px; } }

/* cijfers */
.mk-mets { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mk-met { position: relative; display: grid; gap: .1rem; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: .6rem .7rem; transition: background .5s, border-color .5s; }
.mk-met b { font-size: 1.45rem; letter-spacing: -.02em; color: #ff8a7a; transition: color .5s; }
.mk-met span { font-size: .72rem; color: var(--on-main); }
.mk-met.good { background: rgba(126, 227, 179, .1); border-color: rgba(126, 227, 179, .4); }
.mk-met.good b { color: #7ee3b3; }
.mk-ring { position: absolute; right: .55rem; top: .55rem; width: 34px; height: 34px; transform: rotate(-90deg); }
.mk-ring-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 4; }
.mk-ring-fg { fill: none; stroke: #ff8a7a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 70; }
.mk-ring-fg.good { stroke: #7ee3b3; }

/* meldingen */
.mk-toasts { position: absolute; right: .6rem; top: 2.6rem; display: grid; gap: .4rem; width: min(250px, 70%); pointer-events: none; z-index: 5; }
.mk-toast { display: flex; gap: .5rem; align-items: center; background: var(--white); color: var(--deep); border-radius: 12px; padding: .55rem .65rem; font-size: .76rem; font-weight: 700; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .7); animation: toastin .5s cubic-bezier(.34, 1.56, .64, 1); }
.mk-toast b { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--signal); }
@keyframes toastin { from { opacity: 0; transform: translateX(30px) scale(.9); } }
.mk-ctrl { display: flex; flex-wrap: wrap; gap: .6rem; }
.mk.compare .mk-old .mk-o { opacity: 1; transform: none; }
.mk.compare .mk-grid, .mk.compare .mk-scanl, .mk.compare .mk-spin { display: none; }
.mk.compare .mk-new { opacity: 1; }
.mk.compare .mk-view { cursor: ew-resize; touch-action: none; }
.mk-handle { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--signal); display: none; z-index: 4; pointer-events: none; }
.mk-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px; border-radius: 50%; background: var(--signal); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.mk.compare .mk-handle { display: block; }

/* CAD-viewer */
.cad { position: relative; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #1f5a46, var(--main-2) 70%); }
.cad::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cad-cv { position: relative; display: block; width: 100%; height: 320px; cursor: grab; touch-action: none; }
.cad-cv:active { cursor: grabbing; }
.cad-info { position: absolute; left: .8rem; bottom: .6rem; margin: 0; font: 600 .78rem/1.3 var(--mono, ui-monospace, Consolas, monospace); color: #cfe8dc; pointer-events: none; }
.cad-ctl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem 1rem; }
.cad-s { display: grid; gap: .25rem; font-size: .85rem; }
.cad-s > span { display: flex; justify-content: space-between; color: var(--on-main); }
.cad-s b { color: var(--white); }
.cad-s input { width: 100%; accent-color: var(--signal); }
.cad-b { display: flex; gap: .6rem; flex-wrap: wrap; }
.cad-tags span { font-size: .75rem; }
.mk-w { margin-right: .24em; }
.lab-dlg.wide .dlg-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .lab-dlg.wide .dlg-info { columns: 2; column-gap: 2.5rem; }
  .lab-dlg.wide .dlg-info h3 { break-after: avoid; }
  .lab-dlg.wide .dlg-info p, .lab-dlg.wide .dlg-info ol { break-inside: avoid; }
  .lab-dlg.wide .mk-view { height: 380px; }
  .lab-dlg.wide .mk-phone { width: 150px; }
  .lab-dlg.wide .cad-cv { height: 420px; }
}
@media (min-width: 900px) { .lab-dlg.wide .mk-toasts { right: calc(150px + 1.6rem); } .lab-dlg.wide .mk-n-t { font-size: 2.1rem; } }
.cad-stages { display: flex; flex-wrap: wrap; gap: .4rem; }
.cad-stages .cad-replay { margin-left: auto; }
.cad-stage { position: absolute; right: .8rem; top: .7rem; margin: 0; font-weight: 800; font-size: .85rem; color: var(--deep); background: var(--signal); border-radius: 999px; padding: .3rem .7rem; pointer-events: none; }

/* ═════════════ live demo's op dienstpagina's, "ook gebouwd", nieuwe demo's (v29) ═════════════ */
.inline-demo { display: grid; gap: 1.5rem; background: var(--deep); color: var(--white); border-radius: 26px; padding: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: 1.5rem; box-shadow: 0 40px 80px -50px rgba(2, 18, 12, .9); }
@media (min-width: 980px) { .inline-demo { grid-template-columns: 7fr 4fr; align-items: center; } .inline-demo:nth-child(odd) .dlg-demo { order: 2; } }
.inline-info { padding: .5rem; }
.inline-info h3 { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: .5rem 0 .6rem; }
.inline-info > p { color: var(--on-main); }
.inline-info .lab-st { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; margin: 0; }
.inline-info .lab-tags { margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.inline-demo .dlg-demo { min-height: 0; }

.more-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.more-grid li { background: var(--white); border-radius: 20px; padding: 1.5rem; border: 1px solid var(--line); }
.more-grid h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.more-grid p { color: var(--muted); margin: 0; }
.mb-ico { display: flex; gap: 5px; align-items: flex-end; height: 34px; }
.mb-ico i { width: 9px; border-radius: 3px; background: var(--main); animation: eq 1.6s ease-in-out infinite; }
.mb-ico i:nth-child(1) { height: 40%; } .mb-ico i:nth-child(2) { height: 100%; animation-delay: -.5s; background: var(--signal); } .mb-ico i:nth-child(3) { height: 65%; animation-delay: -1s; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.mb-ico i { transform-origin: bottom; }

/* kaart-visuals */
.v-portal { position: relative; width: 78%; height: 120px; }
.v-portal .lg { position: absolute; left: 50%; top: 50%; width: 92px; padding: 10px; margin: -45px 0 0 -46px; border-radius: 10px; background: var(--paper); display: grid; gap: 6px; animation: lg 5s ease-in-out infinite; }
.v-portal .lg i { height: 9px; border-radius: 4px; background: rgba(10, 42, 32, .18); }
.v-portal .lg b { height: 12px; border-radius: 5px; background: var(--signal); }
.v-portal .gr { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; animation: gr 5s ease-in-out infinite; }
.v-portal .gr i { border-radius: 7px; background: rgba(255, 255, 255, .14); }
.v-portal .gr i:nth-child(2), .v-portal .gr i:nth-child(6) { background: var(--signal); }
@keyframes lg { 0%, 35% { opacity: 1; transform: none; } 45%, 90% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; } }
@keyframes gr { 0%, 38% { opacity: 0; transform: scale(1.08); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.v-mail { position: relative; width: 78%; height: 110px; }
.v-mail .bx { position: absolute; bottom: 0; width: 42%; height: 64px; border-radius: 10px; border: 2px solid; }
.v-mail .sp { left: 0; border-color: #ff6b5a; background: rgba(255, 107, 90, .12); }
.v-mail .ib { right: 0; border-color: #7ee3b3; background: rgba(126, 227, 179, .12); }
.v-mail .env { position: absolute; width: 40px; height: 28px; border-radius: 4px; background: var(--paper); left: 12%; bottom: 18px; animation: env 4s ease-in-out infinite; }
.v-mail .env::after { content: ""; position: absolute; left: 4px; right: 4px; top: 2px; height: 14px; border-left: 2px solid var(--main); border-bottom: 2px solid var(--main); transform: skewY(20deg) scaleX(.9); transform-origin: left; }
@keyframes env { 0%, 25% { transform: none; } 55% { transform: translate(60px, -60px) rotate(-8deg); } 80%, 100% { transform: translate(140px, 0); } }
.v-support { position: relative; width: 78%; height: 116px; container-type: inline-size; }
.v-support .w { position: absolute; inset: 0; border-radius: 10px; background: rgba(255, 255, 255, .1); border-top: 14px solid rgba(255, 255, 255, .22); padding: 12px; display: grid; gap: 8px; align-content: start; }
.v-support .w i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.v-support .w i:nth-child(2) { width: 70%; } .v-support .w i:nth-child(3) { width: 50%; }
.v-support .w b { position: absolute; right: 14px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; background: #ff6b5a; animation: fixd 4s steps(1) infinite; }
@keyframes fixd { 0%, 60% { background: #ff6b5a; } 61%, 100% { background: #7ee3b3; } }
.v-support .cur { position: absolute; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 16px solid var(--signal); transform: rotate(-30deg); left: 10%; top: 30%; will-change: transform; animation: cur 4s ease-in-out infinite; }
@keyframes cur { 0%, 100% { transform: translate(0, 0) rotate(-30deg); } 50%, 70% { transform: translate(70cqw, 44px) rotate(-30deg); } }

/* dashboard-nabouw */
.mc { display: grid; grid-template-columns: 52px 1fr; min-height: 340px; border-radius: 16px; overflow: hidden; background: #0d1512; border: 1px solid rgba(255, 255, 255, .08); }
.mc-side { background: #091009; display: grid; align-content: start; gap: .7rem; padding: .8rem .55rem; justify-items: center; }
.mc-logo { font-size: .7rem; color: var(--signal); }
.mc-nav { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.mc-nav.on { background: var(--signal); }
.mc-main { padding: .8rem; display: grid; gap: .7rem; align-content: start; }
.mc-head { display: flex; justify-content: flex-end; }
.mc-live { font-size: .72rem; font-weight: 800; color: #7ee3b3; display: flex; align-items: center; gap: .35rem; }
.mc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ee3b3; animation: led 1.2s steps(2) infinite; }
.mc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.mc-kpi { background: rgba(255, 255, 255, .05); border-radius: 10px; padding: .5rem .6rem; }
.mc-kpi p { margin: 0; font-size: .64rem; color: var(--on-main); }
.mc-kpi b { font-size: 1.15rem; }
.mc-kpi.tick b { animation: tick .6s ease-out; }
.mc-chart-w { background: rgba(255, 255, 255, .04); border-radius: 10px; padding: .5rem .6rem; }
.mc-chart-h { margin: 0 0 .2rem; font-size: .7rem; color: var(--on-main); }
.mc-chart { width: 100%; height: 80px; display: block; }
.mc-line { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linejoin: round; transition: d .8s; }
.mc-area { fill: rgba(255, 122, 26, .16); transition: d .8s; }
.mc-lower { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.mc-agents, .mc-feed { background: rgba(255, 255, 255, .04); border-radius: 10px; padding: .5rem .6rem; margin: 0; }
.mc-agent { display: flex; gap: .5rem; align-items: center; padding: .25rem 0; }
.mc-agent > i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #7ee3b3; }
.mc-agent.busy > i { background: var(--signal); }
.mc-agent b { display: block; font-size: .78rem; }
.mc-agent span { font-size: .66rem; color: var(--on-main); }
.mc-feed { list-style: none; font-size: .7rem; color: #cfe8dc; }
.mc-feed li { padding: .18rem 0; animation: slidein .4s ease-out; }
.mc-feed span { color: var(--signal); font-weight: 700; margin-right: .3rem; }
@media (max-width: 560px) { .mc { grid-template-columns: 1fr; } .mc-side { display: none; } .mc-kpis { grid-template-columns: 1fr 1fr; } .mc-lower { grid-template-columns: 1fr; } }

/* portaal-nabouw */
.pt { position: relative; height: 340px; border-radius: 16px; overflow: hidden; background: #0f1513; }
.pt-login { position: absolute; left: 50%; top: 50%; width: 250px; transform: translate(-50%, -50%); background: #161e1b; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 1.2rem; display: grid; gap: .6rem; transition: opacity .45s, transform .6s cubic-bezier(.16, 1, .3, 1); }
.pt-brand { text-align: center; color: var(--signal); font-size: 1.3rem; margin-bottom: .2rem; }
.pt-in { height: 34px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .25); padding: 0 .6rem; display: flex; align-items: center; font-size: .82rem; color: var(--white); }
.pt-in.pw { letter-spacing: .15em; }
.pt-btn { height: 36px; border-radius: 8px; background: var(--signal); color: var(--deep); font-weight: 800; display: grid; place-items: center; transition: transform .15s; }
.pt.press .pt-btn { transform: scale(.94); }
.pt.open .pt-login { opacity: 0; transform: translate(-50%, -60%) scale(.9); pointer-events: none; }
.pt-portal { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; opacity: 0; transform: scale(1.04); transition: opacity .6s .15s, transform .8s .15s cubic-bezier(.16, 1, .3, 1); }
.pt.open .pt-portal { opacity: 1; transform: none; }
.pt-nav { display: flex; gap: .9rem; align-items: center; padding: .6rem .9rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: var(--on-main); }
.pt-nav b { color: var(--signal); margin-right: .5rem; }
.pt-nav .on { color: var(--white); font-weight: 800; border-bottom: 2px solid var(--signal); padding-bottom: .15rem; }
.pt-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: .7rem; padding: .8rem; }
.pt-h { margin: 0 0 .4rem; font-weight: 800; font-size: .85rem; }
.pt-cal { display: grid; gap: .4rem; align-content: start; }
.pt-bk { display: grid; grid-template-columns: 3.4rem 1fr auto; gap: .4rem; align-items: center; padding: .5rem .6rem; border-radius: 10px; background: rgba(255, 255, 255, .06); border-left: 3px solid var(--signal); font-size: .8rem; opacity: 0; transform: translateX(-12px); transition: all .45s cubic-bezier(.16, 1, .3, 1); }
.pt-bk b { color: var(--signal); }
.pt-bk i { font-style: normal; font-size: .72rem; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: .1rem .45rem; }
.pt-side { display: grid; gap: .4rem; align-content: start; }
.pt-mail { display: grid; gap: .1rem; padding: .45rem .6rem; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .76rem; opacity: 0; transform: translateY(8px); transition: all .45s cubic-bezier(.16, 1, .3, 1); }
.pt-mail em { font-style: normal; font-size: .64rem; font-weight: 800; justify-self: start; border-radius: 999px; padding: .1rem .45rem; background: #7ee3b3; color: var(--deep); }
.pt-mail.l1 em { background: var(--signal); } .pt-mail.l2 em { background: #9fb7ff; }
.pt-bk.in, .pt-mail.in { opacity: 1; transform: none; }
.pt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; margin-top: .2rem; }
.pt-stats div { background: rgba(255, 255, 255, .06); border-radius: 10px; padding: .45rem .55rem; }
.pt-stats b { display: block; font-size: 1.3rem; color: var(--white); }
.pt-stats span { font-size: .64rem; color: var(--on-main); }
.pt-replay { justify-self: start; }
@media (max-width: 560px) { .pt { height: 420px; } .pt-body { grid-template-columns: 1fr; } }

/* maildiagnose */
.ml { display: grid; gap: .8rem; }
.ml-top { display: flex; }
.ml-dom { font: 700 .9rem var(--mono, ui-monospace, Consolas, monospace); background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; padding: .45rem .7rem; }
.ml-rows { display: grid; gap: .35rem; }
.ml-row { display: grid; grid-template-columns: 4.2rem 1fr auto; gap: .6rem; align-items: center; padding: .5rem .7rem; border-radius: 10px; background: rgba(255, 107, 90, .1); border: 1px solid rgba(255, 107, 90, .35); transition: background .4s, border-color .4s; }
.ml-row b { font-family: var(--mono, ui-monospace, Consolas, monospace); }
.ml-desc { font-size: .82rem; color: var(--on-main); }
.ml-row em { font-style: normal; font-weight: 800; font-size: .75rem; color: #ff8a7a; }
.ml-row.fixing { background: rgba(255, 122, 26, .12); border-color: rgba(255, 122, 26, .5); }
.ml-row.fixing em { color: var(--signal); animation: blink .8s steps(2) infinite; }
.ml-row.ok { background: rgba(126, 227, 179, .1); border-color: rgba(126, 227, 179, .45); }
.ml-row.ok em { color: #7ee3b3; }
.ml-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ml-box { min-height: 90px; border-radius: 12px; padding: .6rem; border: 2px dashed rgba(255, 255, 255, .25); display: grid; align-content: start; gap: .4rem; }
.ml-box p { margin: 0; font-weight: 800; font-size: .82rem; }
.ml-box.spam p { color: #ff8a7a; } .ml-box.inbox p { color: #7ee3b3; }
.ml-env { justify-self: start; background: var(--paper); color: var(--deep); border-radius: 8px; padding: .45rem .7rem; font-weight: 700; font-size: .82rem; transition: transform .7s cubic-bezier(.65, 0, .35, 1), opacity .7s; }
.ml-env.fly { transform: translate(120px, -20px) rotate(-6deg); opacity: .4; }
.ml-env.landed { animation: toastin .5s cubic-bezier(.34, 1.56, .64, 1); }

/* support op afstand */
.sp { display: grid; gap: 1rem; }
@media (min-width: 700px) { .sp { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.sp-screen { position: relative; height: 210px; border-radius: 12px; background: #1d3a5f; overflow: hidden; border: 3px solid #0b1a2c; }
.sp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: rgba(0, 0, 0, .45); }
.sp-win { position: absolute; left: 14%; top: 14%; width: 62%; height: 58%; border-radius: 8px; background: #f2f2f2; color: #222; padding: .5rem; font-size: .78rem; box-shadow: 0 10px 20px rgba(0, 0, 0, .4); opacity: 0; transform: scale(.9); transition: all .4s; }
.sp-printer { margin-top: .6rem; display: flex; align-items: center; gap: .5rem; }
.sp-printer i { width: 46px; height: 32px; border-radius: 6px; background: #8e9aa6; position: relative; }
.sp-printer i::after { content: ""; position: absolute; left: 10px; right: 10px; top: -8px; height: 10px; background: #fff; border: 1px solid #aaa; }
.sp-state { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #e5483b; transition: background .4s; }
.sp-cursor { position: absolute; left: 80%; top: 80%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 16px solid #fff; transform: rotate(-30deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); transition: left .9s cubic-bezier(.65, 0, .35, 1), top .9s cubic-bezier(.65, 0, .35, 1); }
.sp.s1 .sp-win { opacity: 1; transform: none; }
.sp.s1 .sp-cursor { left: 30%; top: 52%; }
.sp.s2 .sp-cursor { left: 52%; top: 58%; }
.sp.s3 .sp-state { background: #2fb67c; }
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.sp-steps li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; font-size: .88rem; opacity: .3; transition: opacity .4s; }
.sp-steps li.on { opacity: 1; }
.sp-steps b { color: var(--signal); font-family: var(--mono, ui-monospace, Consolas, monospace); }
.sp-done { margin: 0; justify-self: start; font-weight: 800; color: var(--deep); background: #7ee3b3; border-radius: 10px; padding: .5rem .8rem; opacity: 0; transition: opacity .4s; }
.sp-done.on { opacity: 1; }

.v-node { position: relative; width: 90px; height: 124px; animation: float 4s ease-in-out infinite; }
.v-node .bd { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; border-radius: 22px; background: linear-gradient(145deg, #ffffff, #d9dbd8); box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .12), 0 16px 24px -12px rgba(0, 0, 0, .6); }
.v-node .win { position: absolute; left: 14px; right: 14px; top: 22px; height: 34px; border-radius: 9px; background: linear-gradient(160deg, #20323a, #0b1418); }
.v-node .win::after { content: ""; position: absolute; left: 8px; top: 9px; width: 40%; height: 6px; border-radius: 3px; background: #7ee3b3; box-shadow: 0 10px 0 rgba(126, 227, 179, .5); }
.v-node .led { position: absolute; left: 50%; bottom: 14px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--signal); animation: led 1.4s steps(2) infinite; }
.v-node .ant { position: absolute; right: 16px; top: 0; width: 6px; height: 36px; border-radius: 3px; background: #1c2020; }
@keyframes float { 50% { transform: translateY(-6px) rotate(-3deg); } }
.showcase { padding-top: clamp(3rem, 6vw, 4.5rem); }
.showcase + .sec { padding-top: clamp(2rem, 5vw, 3.5rem); }

.foot-base { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.motion-tg { font: inherit; font-size: .85rem; color: inherit; opacity: .75; background: none; border: 1px solid currentColor; border-radius: 999px; padding: .3rem .85rem; cursor: pointer; }
.motion-tg:hover, .motion-tg:focus-visible { opacity: 1; }

/* 3D in WebGL: lichte studio (PBR-materialen en schaduw komen op licht het best uit) */
.cad.gl { background: radial-gradient(120% 90% at 50% 18%, #ffffff 0%, #f1efe9 45%, #dedbd2 100%); }
.cad.gl::before { background-image: linear-gradient(rgba(15, 61, 46, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 61, 46, .06) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 85%); mask-image: linear-gradient(to bottom, transparent 30%, #000 85%); }
.cad.gl .cad-info { color: #2b3a34; }
.cad.gl .cad-cv { height: 380px; }
@media (min-width: 900px) { .lab-dlg.wide .cad.gl .cad-cv { height: 460px; } }

.cad-hud { position: absolute; left: .8rem; top: .7rem; width: 168px; padding: .6rem .7rem .55rem; border: 1px solid rgba(15, 61, 46, .14); border-radius: 12px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 .72rem/1.35 var(--mono, ui-monospace, Consolas, monospace); color: #20302a; pointer-events: none; }
.cad-hud-s { margin: 0 0 .35rem; display: flex; align-items: center; gap: .4rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cad-hud-s::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9e6e; box-shadow: 0 0 0 3px rgba(47, 158, 110, .18); }
.cad-hud-s.s1::before, .cad-hud-s.s3::before { background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 122, 26, .2); }
.cad-hud-s.s2::before { background: #d6452f; box-shadow: 0 0 0 3px rgba(214, 69, 47, .18); }
.cad-hud dl { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; margin: 0 0 .45rem; }
.cad-hud dt { color: #5b6a63; font-weight: 600; }
.cad-hud dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.cad-hud-g { display: flex; align-items: flex-end; gap: 2px; height: 26px; border-bottom: 1px solid rgba(15, 61, 46, .18); }
.cad-hud-g i { flex: 1; height: var(--h, 8%); border-radius: 1px 1px 0 0; background: linear-gradient(to top, rgba(255, 122, 26, .55), var(--signal)); transition: height .12s linear; }
@media (max-width: 560px) { .cad-hud { width: 132px; font-size: .64rem; } .cad-hud-g { height: 18px; } }

/* ── dashboard-demo (afgewerkt product, voorbeelddata) ── */
.dsh { display: grid; grid-template-columns: 178px 1fr; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 80% at 70% -10%, #17322a 0%, #0b1411 55%, #090f0d 100%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); color: #e8f2ec; font-size: .8rem; }
.dsh-side { display: flex; flex-direction: column; gap: .2rem; padding: 1rem .7rem; background: rgba(0, 0, 0, .22); border-right: 1px solid rgba(255, 255, 255, .06); }
.dsh-logo { font-size: 1rem; color: #fff; margin: 0 .5rem .8rem; letter-spacing: -.01em; }
.dsh-logo::first-letter { color: var(--signal); }
.dsh-nav { display: flex; align-items: center; gap: .6rem; padding: .5rem .55rem; border-radius: 9px; color: #9db3a8; font-weight: 600; }
.dsh-nav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dsh-nav.on { color: #fff; background: linear-gradient(90deg, rgba(255, 122, 26, .22), rgba(255, 122, 26, .04)); box-shadow: inset 2px 0 0 var(--signal); }
.dsh-user { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding: .55rem; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #b9cdc3; font-size: .72rem; }
.dsh-user i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--signal), #ffc48f); flex: none; }
.dsh-main { padding: 1rem; display: grid; gap: .75rem; min-width: 0; }
.dsh-top { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.dsh-top h4 { margin: 0 auto 0 0; font-size: 1.05rem; color: #fff; }
.dsh-range { display: flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.dsh-range button { font: inherit; font-size: .72rem; font-weight: 700; color: #9db3a8; background: none; border: 0; padding: .32rem .7rem; border-radius: 7px; cursor: pointer; }
.dsh-range button.on { color: #10201a; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.dsh-live { font-size: .72rem; font-weight: 800; color: #7ee3b3; display: flex; align-items: center; gap: .35rem; }
.dsh-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ee3b3; animation: blink 1.6s infinite; }
.dsh-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.dsh-kpi, .dsh-card { position: relative; border-radius: 13px; padding: .7rem .8rem; background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 24px -16px rgba(0, 0, 0, .8); min-width: 0; }
.dsh-kpi p { margin: 0 0 .15rem; font-size: .68rem; color: #9db3a8; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-kpi b { display: block; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.dsh-kpi.tick b { animation: tick .6s ease-out; }
.dsh-delta { display: block; font-size: .64rem; font-weight: 700; margin-top: .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-delta.up { color: #7ee3b3; } .dsh-delta.down { color: #ff8f6b; }
.dsh-spark { display: block; width: 100%; height: 28px; margin-top: .35rem; }
.dsh-spark-l { fill: none; stroke: var(--signal); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.dsh-spark-a { fill: rgba(255, 122, 26, .14); }
.dsh-mid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .6rem; }
.dsh-card-h { display: flex; align-items: center; gap: .6rem; justify-content: space-between; margin-bottom: .4rem; color: #cfe0d7; font-weight: 700; font-size: .76rem; }
.dsh-legend { display: flex; align-items: center; gap: .35rem; font-weight: 600; color: #9db3a8; font-size: .66rem; }
.dsh-legend i { width: 10px; height: 3px; border-radius: 2px; background: var(--signal); }
.dsh-legend i.c1 { background: #7ee3b3; margin-left: .4rem; }
.dsh-chart { position: relative; }
.dsh-svg { display: block; width: 100%; height: auto; overflow: visible; }
.dsh-grid line { stroke: rgba(255, 255, 255, .07); }
.dsh-grid text, .dsh-x text { fill: #7f978b; font-size: 10px; font-family: inherit; }
.dsh-area { fill: rgba(255, 122, 26, .13); }
.dsh-l1 { fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 4px 8px rgba(255, 122, 26, .45)); }
.dsh-l2 { fill: none; stroke: #7ee3b3; stroke-width: 2; stroke-dasharray: 5 5; }
.dsh-svg.draw .dsh-l1 { stroke-dasharray: 1; animation: dbdraw 1.1s ease-out both; }
.dsh-svg.draw .dsh-area, .dsh-svg.draw .dsh-l2 { animation: dbfade 1.1s ease-out both; }
@keyframes dbdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes dbfade { from { opacity: 0; } to { opacity: 1; } }
.dsh-cross { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 3 3; opacity: 0; }
.dsh-d1, .dsh-d2 { opacity: 0; stroke: #0b1411; stroke-width: 2; }
.dsh-d1 { fill: var(--signal); } .dsh-d2 { fill: #7ee3b3; }
.dsh-cross.on, .dsh-d1.on, .dsh-d2.on { opacity: 1; }
.dsh-tip { position: absolute; top: 2.2rem; left: calc(var(--x, 50%) + 12px); display: grid; gap: .1rem; padding: .45rem .6rem; border-radius: 9px; background: rgba(255, 255, 255, .96); color: #13221c; font-size: .68rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; white-space: nowrap; }
.dsh-tip.left { left: auto; right: calc(100% - var(--x, 50%) + 12px); }
.dsh-tip.on { opacity: 1; transform: none; }
.dsh-dw { position: relative; width: min(150px, 100%); margin: .2rem auto .5rem; }
.dsh-dw svg { display: block; width: 100%; height: auto; }
.dsh-ring { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 14; }
.dsh-seg { fill: none; stroke-width: 14; transition: stroke-dasharray .9s cubic-bezier(.2, .8, .2, 1), stroke-dashoffset .9s cubic-bezier(.2, .8, .2, 1); }
.dsh-seg.s0, .dsh-dl i.s0 { stroke: var(--signal); background: var(--signal); }
.dsh-seg.s1, .dsh-dl i.s1 { stroke: #7ee3b3; background: #7ee3b3; }
.dsh-seg.s2, .dsh-dl i.s2 { stroke: #e9d8b4; background: #e9d8b4; }
.dsh-seg.s3, .dsh-dl i.s3 { stroke: #6f8f82; background: #6f8f82; }
.dsh-dc { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dsh-dc b { font-size: 1.25rem; color: #fff; font-variant-numeric: tabular-nums; }
.dsh-dc span { font-size: .62rem; color: #9db3a8; }
.dsh-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.dsh-dl li { display: flex; align-items: center; gap: .45rem; font-size: .7rem; color: #b9cdc3; }
.dsh-dl i { width: 8px; height: 8px; border-radius: 3px; }
.dsh-dl b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.dsh-low { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.dsh-agent { display: flex; gap: .55rem; align-items: center; padding: .28rem 0; }
.dsh-agent > i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #7ee3b3; }
.dsh-agent.busy > i { background: var(--signal); }
.dsh-agent b { display: block; font-size: .76rem; color: #fff; }
.dsh-agent span { font-size: .66rem; color: #9db3a8; }
.dsh-feed { list-style: none; margin: 0; padding: 0; font-size: .7rem; color: #cfe0d7; }
.dsh-feed li { padding: .22rem 0; border-bottom: 1px solid rgba(255, 255, 255, .05); animation: slidein .4s ease-out; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsh-feed span { color: var(--signal); font-weight: 700; margin-right: .3rem; font-variant-numeric: tabular-nums; }
.dsh-upv { color: #7ee3b3; font-variant-numeric: tabular-nums; }
.dsh-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; height: 34px; margin: .3rem 0 .4rem; }
.dsh-bars i { border-radius: 2px; background: linear-gradient(180deg, #8ff0c2, #3fae7d); }
.dsh-bars i.bad { background: linear-gradient(180deg, #ffb27a, var(--signal)); }
.dsh-note { margin: 0; font-size: .66rem; color: #9db3a8; }
@media (max-width: 760px) {
  .dsh { grid-template-columns: 1fr; }
  .dsh-side { display: none; }
  .dsh-kpis { grid-template-columns: 1fr 1fr; }
  .dsh-mid, .dsh-low { grid-template-columns: 1fr; }
  .dsh-top h4 { flex-basis: 100%; }
}

/* kaart-visuals: renders van de echte CAD-modellen (build123d -> three.js, transparant) */
.v-render { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.v-render::before { content: ""; position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 122, 26, .08) 45%, transparent 70%); }
.v-render::after { content: ""; position: absolute; left: 50%; bottom: 7%; width: 46%; height: 9%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); }
.v-render img { position: relative; z-index: 1; max-width: 72%; max-height: 86%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .35)); animation: rfloat 6s ease-in-out infinite; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.lab-card:hover .v-render img, .lab-card:focus-within .v-render img { transform: scale(1.06) translateY(-3px); }
@keyframes rfloat { 50% { translate: 0 -5px; rotate: -1.2deg; } }

/* ── GPU-router: stroomschema met pakketje ── */
.gr { position: relative; display: grid; grid-template-columns: 1fr auto 1.25fr; grid-template-rows: 1fr 1fr; gap: .8rem 2.6rem; align-items: center; padding: 1rem; border-radius: 16px; background: radial-gradient(120% 90% at 60% 0%, #17322a, #0b1411 70%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.gr-lines { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.gr-p { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 4 5; }
.gr-dot { fill: var(--signal); opacity: 0; filter: drop-shadow(0 0 8px rgba(255, 122, 26, .9)); }
.gr-dot.on { opacity: 1; }
.gr-n { position: relative; z-index: 1; border-radius: 13px; padding: .7rem .8rem; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 24px -16px rgba(0, 0, 0, .8); color: #e8f2ec; }
.gr-req { grid-row: 1 / 3; }
.gr-k { display: block; font-size: .66rem; color: #9db3a8; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.gr-req b { font-size: .86rem; line-height: 1.35; }
.gr-rt { grid-row: 1 / 3; display: grid; justify-items: center; gap: .3rem; padding: .7rem; border-radius: 50%; width: 92px; height: 92px; align-content: center; text-align: center; font-size: .62rem; font-weight: 700; color: #cfe0d7; }
.gr-rt svg { width: 26px; height: 26px; fill: rgba(126, 227, 179, .15); stroke: #7ee3b3; stroke-width: 1.6; }
.gr-rt.scan { box-shadow: 0 0 0 3px rgba(126, 227, 179, .35), 0 0 30px rgba(126, 227, 179, .35); }
.gr-t { transition: border-color .3s, box-shadow .3s, opacity .3s; opacity: .55; }
.gr-t.on { opacity: 1; }
.gr-t.hit { border-color: rgba(255, 122, 26, .7); box-shadow: 0 0 0 1px rgba(255, 122, 26, .5), 0 14px 30px -14px rgba(255, 122, 26, .6); }
.gr-h { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; font-size: .82rem; }
.gr-fan { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#7ee3b3 0 18%, transparent 0 33%, #7ee3b3 0 51%, transparent 0 66%, #7ee3b3 0 84%, transparent 0); animation: spin var(--spd, 1.4s) linear infinite; }
.gr-cl { width: 22px; height: 14px; border-radius: 10px; background: #cfe0d7; box-shadow: 6px -4px 0 -1px #cfe0d7; }
.gr-bar { display: grid; grid-template-columns: 5.4rem 1fr 3.4rem; align-items: center; gap: .45rem; font-size: .66rem; color: #9db3a8; margin-top: .25rem; }
.gr-bar i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.gr-bar u { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, #7ee3b3, var(--signal)); }
.gr-bar b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.gr-lat { margin: 0; font-size: .72rem; color: #9db3a8; } .gr-lat b { color: #fff; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (max-width: 640px) { .gr { grid-template-columns: 1fr; grid-template-rows: none; gap: 1.4rem; } .gr-req, .gr-rt { grid-row: auto; } .gr-rt { justify-self: center; } .gr-lines { display: none; } }

/* ── HMI composteerlijn ── */
.hm { border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #121c19, #0b1210); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -28px rgba(0, 0, 0, .8); color: #e8f2ec; font: 600 .76rem/1.3 var(--mono, ui-monospace, Consolas, monospace); }
.hm-h { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: rgba(0, 0, 0, .3); border-bottom: 1px solid rgba(255, 255, 255, .06); flex-wrap: wrap; }
.hm-state { color: #9db3a8; }
.hm-mode { display: flex; margin-left: auto; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.hm-mode button { font: inherit; font-size: .68rem; color: #9db3a8; background: none; border: 0; padding: .2rem .55rem; border-radius: 6px; cursor: pointer; }
.hm-mode button.on { background: #fff; color: #10201a; }
.hm-clock { color: #7f978b; font-variant-numeric: tabular-nums; }
.hm-svg { display: block; width: 100%; height: auto; background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px) 0 0 / 16px 16px; }
.hm-lbl, .hm-tag { fill: #9db3a8; font: 700 10px var(--mono, ui-monospace, monospace); }
.hm-tank { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.hm-water { fill: #3a8fd6; opacity: .75; transition: y .4s, height .4s; }
.hm-pipe, .hm-duct { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 5; stroke-linejoin: round; }
.hm-duct { stroke-width: 9; stroke: rgba(126, 227, 179, .25); }
.hm-rail { stroke: #9aa0a6; stroke-width: 4; stroke-linecap: round; }
.hm-mark { stroke: #9aa0a6; stroke-width: 2; }
.hm-bin { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; }
.hm-comp { fill: #7a5a35; transform-box: fill-box; transform-origin: bottom; }
.hm-comp.turn { animation: turn .9s ease-in-out; }
@keyframes turn { 30% { transform: scaleY(1.18); fill: #a77a45; } }
.hm-wbody { fill: var(--signal); stroke: #ffb27a; stroke-width: 1; }
.hm-wheel { fill: #2a302e; stroke: #9aa0a6; stroke-width: 1.5; }
.hm-bucket { fill: rgba(255, 122, 26, .25); stroke: var(--signal); stroke-width: 1.5; }
.hm-motor { fill: #2a302e; stroke: rgba(255, 255, 255, .4); stroke-width: 1.5; }
.hm-motor.on { fill: #3fd68a; filter: drop-shadow(0 0 5px rgba(63, 214, 138, .8)); }
.hm-scrub { fill: rgba(126, 227, 179, .08); stroke: rgba(126, 227, 179, .45); stroke-width: 1.5; }
.hm-fanring { fill: #0b1210; stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.hm-blades { fill: #cfe0d7; animation: spin .7s linear infinite; }
.hm.off .hm-blades { animation-play-state: paused; }
.hm.alarm .hm-blades { animation-duration: 1.8s; }
.hm-low { display: grid; grid-template-columns: 1.6fr 1fr; gap: .6rem; padding: .7rem .8rem; }
.hm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.hm-tile { position: relative; padding: .45rem .55rem; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.hm-tile span { display: block; color: #7f978b; font-size: .64rem; }
.hm-tile b { font-size: .95rem; color: #fff; font-variant-numeric: tabular-nums; }
.hm-trend { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 22px; opacity: .8; }
.hm-trend path { fill: none; stroke: var(--signal); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hm-al { padding: .45rem .55rem; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); }
.hm-al ul { list-style: none; margin: .3rem 0 0; padding: 0; font-size: .66rem; }
.hm-al li.none { color: #7ee3b3; }
.hm-al li.on { color: #ffb27a; animation: blinkal 1s steps(2) infinite; }
.hm-al li span { color: #7f978b; margin-right: .3rem; }
.hm.alarm .hm-al { border-color: rgba(255, 122, 26, .6); box-shadow: 0 0 0 1px rgba(255, 122, 26, .35); }
@keyframes blinkal { 50% { opacity: .55; } }
.hm .d-hmi-b { padding: 0 .8rem .8rem; }
@media (max-width: 560px) { .hm-low { grid-template-columns: 1fr; } }

/* ── IoT koelcel ── */
.it { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: .8rem 1rem; padding: 1rem; border-radius: 16px; background: radial-gradient(120% 90% at 20% 0%, #17322a, #0b1411 70%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); color: #e8f2ec; overflow: hidden; }
.it-dev { position: relative; align-self: center; }
.it-dev img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); }
.it-led { position: absolute; left: 53%; top: 80%; width: 7px; height: 7px; border-radius: 50%; background: #7ee3b3; box-shadow: 0 0 10px 3px rgba(126, 227, 179, .7); opacity: .2; }
.it-led.blink { animation: ledp .42s ease-out; }
.it.hot .it-led { background: var(--signal); box-shadow: 0 0 12px 4px rgba(255, 122, 26, .8); }
@keyframes ledp { 0% { opacity: 1; } 100% { opacity: .2; } }
.it-h { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.it-h b { font-size: .95rem; }
.it-door { font-size: .68rem; font-weight: 700; color: #7ee3b3; }
.it-door.open { color: #ffb27a; }
.it-gw { position: relative; max-width: 240px; }
.it-gauge { display: block; width: 100%; height: auto; }
.it-g0 { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 14; stroke-linecap: round; }
.it-g1 { fill: none; stroke: #7ee3b3; stroke-width: 14; stroke-linecap: round; transition: stroke-dasharray .4s, stroke .4s; }
.it.hot .it-g1 { stroke: var(--signal); }
.it-gl { stroke: #ff8f6b; stroke-width: 3; }
.it-big { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; }
.it-big b { display: block; font-size: 1.7rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.it.hot .it-big b { color: #ffb27a; }
.it-big span { font-size: .64rem; color: #9db3a8; }
.it-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.it-tile { padding: .4rem .5rem; border-radius: 9px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.it-tile span { display: block; font-size: .62rem; color: #9db3a8; }
.it-tile b { font-size: .9rem; font-variant-numeric: tabular-nums; }
.it-sb { display: inline-block; width: 5px; margin-right: 2px; border-radius: 2px; background: rgba(255, 255, 255, .15); vertical-align: bottom; }
.it-sb:nth-of-type(1) { height: 6px; } .it-sb:nth-of-type(2) { height: 9px; } .it-sb:nth-of-type(3) { height: 12px; } .it-sb:nth-of-type(4) { height: 15px; }
.it-sb.on { background: #7ee3b3; }
.it-ch { grid-column: 1 / -1; }
.it-svg { display: block; width: 100%; height: 110px; }
.it-band { fill: rgba(255, 122, 26, .08); }
.it-area { fill: rgba(126, 227, 179, .12); }
.it.hot .it-area { fill: rgba(255, 122, 26, .14); }
.it-line { fill: none; stroke: #7ee3b3; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.it.hot .it-line { stroke: var(--signal); }
.it-dot { fill: #fff; }
.it-ax { display: flex; justify-content: space-between; font-size: .62rem; color: #7f978b; margin-top: .2rem; }
.it-push { position: absolute; left: 50%; top: .7rem; width: min(330px, calc(100% - 1.4rem)); display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 16px; background: rgba(250, 250, 248, .96); color: #13221c; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); transform: translate(-50%, -140%); transition: transform .5s cubic-bezier(.2, .9, .2, 1.1); z-index: 3; }
.it-push.on { transform: translate(-50%, 0); }
.it-push > i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--main, #0f3d2e); color: var(--signal); font: 800 .85rem/1 inherit; font-style: normal; }
.it-push p { margin: 0; display: flex; justify-content: space-between; font-size: .7rem; }
.it-push p span { color: #6b7a73; }
.it-push div > span { display: block; font-size: .76rem; line-height: 1.35; }
.it-push.ok > i { color: #3fae7d; }
@media (max-width: 560px) { .it { grid-template-columns: 84px 1fr; } .it-tiles { grid-template-columns: 1fr 1fr 1fr; } }

/* 3D-bediening: pauzeren, volledig openen, automatisch draaien */
.cad-play { position: absolute; right: .7rem; bottom: .6rem; display: flex; gap: .35rem; z-index: 2; }
.cad-play button { display: inline-flex; align-items: center; gap: .35rem; font: 700 .72rem/1 inherit; color: #1d2a25; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(15, 61, 46, .16); border-radius: 999px; padding: .42rem .7rem; cursor: pointer; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); transition: background .2s, color .2s, transform .15s; }
.cad-play button:hover { background: #fff; transform: translateY(-1px); }
.cad-play button:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.cad-play button[aria-pressed="true"] { background: var(--deep, #0f3d2e); color: #fff; }
.cad-play svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cad-play button:first-child svg path { fill: currentColor; stroke: none; }
.cad.gl .cad-info { bottom: 3.1rem; }
@media (max-width: 560px) { .cad-play { left: .6rem; right: .6rem; justify-content: center; } .cad-play button span { display: none; } .cad-play button { padding: .5rem .6rem; } }

/* ── gratis website-check ── */
.site-f[hidden] { display: none; }
.chk-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 24px; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 122, 26, .2), transparent 55%), linear-gradient(160deg, #134a38, #0c2e23); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); }
.chk-k { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #10201a; background: var(--signal); border-radius: 999px; padding: .28rem .7rem; }
.chk-text h2 { margin: .7rem 0 .5rem; }
.chk-note { font-size: .82rem; opacity: .75; margin-top: .4rem; }
.chk-scan { position: relative; display: grid; grid-template-columns: 1fr 120px; grid-template-rows: auto 1fr; gap: .8rem; padding: 1rem; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.chk-url { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-radius: 10px; background: rgba(255, 255, 255, .08); font: 600 .78rem/1 var(--mono, ui-monospace, monospace); color: #cfe0d7; }
.chk-url i { width: 9px; height: 9px; border-radius: 50%; background: #7ee3b3; box-shadow: 0 0 0 3px rgba(126, 227, 179, .2); }
.chk-page { position: relative; overflow: hidden; border-radius: 12px; background: #f4f2ec; min-height: 150px; padding: .7rem; display: grid; gap: .4rem; align-content: start; }
.chk-page span:not(.sweep) { display: block; height: 8px; border-radius: 4px; background: #d9d5ca; }
.chk-page .l1 { width: 60%; height: 12px; background: #0f3d2e; } .chk-page .l2 { width: 85%; } .chk-page .l3 { width: 70%; }
.chk-page .img { height: 58px !important; border-radius: 8px !important; background: linear-gradient(135deg, #e5dccb, #cfc3ad) !important; }
.chk-page .sweep { position: absolute; left: 0; right: 0; top: 0; height: 30%; transform: translateY(-100%); will-change: transform; background: linear-gradient(180deg, transparent, rgba(255, 122, 26, .35), transparent); border-bottom: 2px solid var(--signal); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(334%); } }
@property --score { syntax: '<integer>'; inherits: false; initial-value: 38; }
.chk-score { position: relative; align-self: center; }
.chk-score svg { display: block; width: 100%; height: auto; transform: rotate(-90deg); }
.chk-score .bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.chk-score .arc { fill: none; stroke: #7ee3b3; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 38 100; }
.chk-score b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7rem; color: #fff; --score: 38; counter-reset: s var(--score); font-variant-numeric: tabular-nums; }
.chk-score b::after { content: counter(s); }
.rv.in .chk-score b { animation: score 1.4s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
.rv.in .chk-score .arc { animation: arc 1.4s .2s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes score { to { --score: 92; } }
@keyframes arc { from { stroke-dasharray: 38 100; stroke: var(--signal); } to { stroke-dasharray: 92 100; stroke: #7ee3b3; } }
.chk-scan ul { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .8rem; font-size: .86rem; }
.chk-scan li { display: flex; align-items: center; gap: .5rem; opacity: .35; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.chk-scan li i { flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(126, 227, 179, .18); position: relative; }
.chk-scan li i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #7ee3b3; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rv.in .chk-scan li { opacity: 1; transform: none; }
.rv.in .chk-scan li:nth-child(2) { transition-delay: .25s; } .rv.in .chk-scan li:nth-child(3) { transition-delay: .5s; } .rv.in .chk-scan li:nth-child(4) { transition-delay: .75s; }
.rv.in .chk-scan li:nth-child(1) { transition-delay: 0s; }
.calm .chk-score b { --score: 92; } .calm .chk-score .arc { stroke-dasharray: 92 100; stroke: #7ee3b3; } .calm .chk-page .sweep { display: none; }
@media (max-width: 820px) { .chk-in { grid-template-columns: 1fr; gap: 1.6rem; } }
@media (max-width: 420px) { .chk-scan { grid-template-columns: 1fr 92px; } }
.chk-in { color: #eef6f1; }
.chk-in h2 { color: #fff; }
.chk-in .chk-text > p:not(.actions) { color: rgba(238, 246, 241, .86); }
.chk-in .chk-note { color: rgba(238, 246, 241, .62); }
.chk-scan li { color: #eef6f1; }

/* smoothness: blur enkel waar de GPU het aankan; Lenis (desktop) beheert zelf het scrollen */
@media (pointer: coarse) { .top { backdrop-filter: none; background: rgba(244, 243, 239, .98); } .lab-dlg::backdrop { backdrop-filter: none; background: rgba(4, 18, 13, .86); } }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
