/* ==========================================================================
   Bodin — nieuwe site
   Idee: één kabel die alles verbindt. Papier + petrol + kabeloranje.
   Het geschulpte zegel uit het logo komt overal terug.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0b2530;
  --ink-2: #103443;
  --brand: #1b6480;
  --paper: #f4efe6;
  --paper-2: #eae3d4;
  --paper-3: #fbf8f2;
  --cable: #ff5c26;
  --led: #5cf2a0;
  --amber: #ffbe55;

  /* semantisch: wisselt per sectie */
  --bg: var(--paper);
  --fg: var(--ink);
  --muted: #4b636c;
  --card: var(--paper-3);
  --rule: rgba(11, 37, 48, .16);
  --accent: var(--cable);
  --on-accent: var(--ink);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(20px, 4.4vw, 64px);
  --wrap: 1240px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

.on-dark {
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #9db3ba;
  --card: var(--ink-2);
  --rule: rgba(244, 239, 230, .16);
}
.on-paper2 { --bg: var(--paper-2); --card: var(--paper-3); }
.on-cable {
  --bg: var(--cable);
  --fg: var(--ink);
  --muted: #4a1d0b;
  --card: var(--ink);
  --rule: rgba(11, 37, 48, .28);
  --accent: var(--ink);
  --on-accent: var(--paper);
}
.on-flowatt {
  --bg: #0f1a18;
  --fg: #eaf4ef;
  --muted: #94aba4;
  --card: #162622;
  --rule: rgba(234, 244, 239, .14);
  --accent: #67d8b5;
  --on-accent: #0f1a18;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.on-flowatt { background: #0f1a18; color: #eaf4ef; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
::selection { background: var(--cable); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Typografie ---------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 480;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  font-optical-sizing: auto;
  letter-spacing: -.03em;
  line-height: .96;
  text-wrap: balance;
}
h1, .h1 { font-size: clamp(3.3rem, 10.4vw, 9.6rem); line-height: .88; letter-spacing: -.045em; }
h2, .h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; }
em, .it { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
h1 em, h2 em, .display em { color: var(--accent); font-weight: 420; }
.on-cable h1 em, .on-cable h2 em { color: var(--paper); }

.lead { font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.45; max-width: 34em; text-wrap: pretty; }
.muted { color: var(--muted); }
p { text-wrap: pretty; }

.mono, .eyebrow, .tag {
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { display: inline-flex; align-items: center; gap: .8em; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); flex: none; }
.eyebrow--line::before { width: 34px; height: 1.5px; border-radius: 0; box-shadow: none; }

/* ---------- Zegel (logo-vorm) ---------- */
.seal { display: inline-block; aspect-ratio: 1; background: currentColor; -webkit-mask: url(../img/seal.svg) center / contain no-repeat; mask: url(../img/seal.svg) center / contain no-repeat; }
.seal--line { -webkit-mask-image: url(../img/seal-line.svg); mask-image: url(../img/seal-line.svg); }

/* ---------- Knoppen ---------- */
.btn {
  --b-bg: var(--accent); --b-fg: var(--on-accent);
  display: inline-flex; align-items: center; gap: .7em;
  padding: 1.02em 1.5em 1.02em 1.6em;
  border-radius: 999px; border: 1.5px solid var(--b-bg);
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn::after { content: "→"; font-family: var(--f-mono); transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(5px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--paper); }
.btn--small { padding: .78em 1.1em .78em 1.2em; font-size: .92rem; }
.btn--plain::after { content: none; }

.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: .15em; }
.link::after { content: "↗"; font-family: var(--f-mono); font-size: .9em; transition: transform .3s var(--ease); }
.link:hover::after { transform: translate(3px, -3px); }
.link--in::after { content: "→"; }
.link--in:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, transform .4s var(--ease), color .3s;
  color: var(--h-fg, var(--ink));
}
.site-header.is-stuck { background: color-mix(in srgb, var(--h-bg, var(--paper)) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--h-rule, rgba(11, 37, 48, .12)); }
.site-header.is-hidden { transform: translateY(-100%); }
.on-flowatt .site-header, .site-header.on-dark { --h-fg: #eaf4ef; --h-bg: #0f1a18; --h-rule: rgba(234, 244, 239, .12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__mark { position: relative; width: 46px; height: 46px; display: grid; place-items: center; }
.logo__mark .seal { position: absolute; inset: 0; width: 100%; transition: transform .8s var(--ease); }
.logo:hover .logo__mark .seal { transform: rotate(36deg); }
.logo__mark b { position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; color: var(--h-bg, var(--paper)); line-height: 1; transform: translateY(-1px); }
.logo__word { font-family: var(--f-display); font-weight: 640; font-size: 1.55rem; letter-spacing: -.03em; font-variation-settings: "SOFT" 80; }
.logo__dot { color: var(--cable); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cable); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 26px; }
.menu-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); color: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 0 var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: clamp(2.2rem, 9vw, 3.4rem); letter-spacing: -.03em; line-height: 1.1; }
  .nav .btn { margin-top: 28px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--paper); background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open .logo__mark b { color: var(--ink); }
  .menu-open { overflow: hidden; }
}

/* ---------- Secties ---------- */
.section { position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(84px, 11vw, 168px); overflow-x: clip; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }
.section__head { display: grid; gap: 26px; margin-bottom: clamp(44px, 6vw, 88px); }
.section__head--split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }
.round-top { border-radius: clamp(26px, 4vw, 56px) clamp(26px, 4vw, 56px) 0 0; margin-top: calc(-1 * clamp(26px, 4vw, 56px)); }

/* ---------- Kabel-rail (vaste voortgang links) ---------- */
.rail { position: fixed; left: 26px; top: 50%; translate: 0 -50%; height: min(48vh, 420px); width: 2px; background: rgba(128, 128, 128, .32); z-index: 90; display: none; border-radius: 2px; }
.rail__fill { position: absolute; inset: 0 0 auto 0; height: calc(var(--p, 0) * 100%); background: var(--cable); border-radius: 2px; }
.rail__fill::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; translate: -50% 0; border-radius: 50%; background: var(--cable); box-shadow: 0 0 0 5px rgba(255, 92, 38, .22); }
.rail a { position: absolute; left: 50%; width: 9px; height: 9px; translate: -50% -50%; border-radius: 50%; background: #8d9a9d; border: 2px solid transparent; transition: background .3s, scale .3s; }
.rail a.is-on { background: var(--cable); }
.rail a:hover { scale: 1.5; }
.rail a span { position: absolute; left: 18px; top: 50%; translate: -6px -50%; white-space: nowrap; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); background: var(--ink); padding: .5em .8em; border-radius: 999px; box-shadow: 0 0 0 1px rgba(244, 239, 230, .2); opacity: 0; transition: opacity .25s, translate .25s; pointer-events: none; }
.rail a:hover span { opacity: 1; translate: 0 -50%; }
.rail a.is-cur { scale: 1.35; }
@media (min-width: 1400px) { .rail { display: block; } }

/* ---------- Onthullen bij scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.lines > span { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.js .lines > span > i { display: block; font-style: inherit; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 80ms); }
.js .lines.is-in > span > i { transform: none; }
.lines > span > i { display: block; font-style: inherit; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px)); padding-bottom: clamp(48px, 6vw, 96px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; position: relative; z-index: 2; container-type: inline-size; }
.hero h1 { margin-top: -.04em; font-size: clamp(3rem, 17.2cqi, 9.4rem); white-space: nowrap; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 22px; border-top: 1.5px solid var(--rule); width: 100%; }
.hero__facts li { display: flex; align-items: baseline; gap: .6em; }
.hero__facts b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 560; letter-spacing: -.02em; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.hero__badge { position: absolute; right: -5%; top: -15%; rotate: 8deg; width: clamp(88px, 8.4vw, 124px); aspect-ratio: 1; color: var(--ink); display: grid; place-items: center; z-index: 3; }
.hero__badge .seal { position: absolute; inset: 0; width: 100%; color: var(--cable); }
.hero__badge svg { position: absolute; inset: 9%; width: 82%; animation: spin 26s linear infinite; }
.hero__badge text { font-family: var(--f-mono); font-size: 11.4px; letter-spacing: .14em; fill: var(--ink); font-weight: 500; text-transform: uppercase; }
.hero__badge b { position: relative; font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 640; line-height: 1; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__badge { top: -9%; right: -2%; }
  @media (max-width: 600px) { .hero__badge { display: none; } }
  .hero__art { margin-top: 34px; }
  .hero__art { max-width: 560px; margin-inline: auto; width: 100%; }
}

/* Illustratie: switch + kabels */
.sw-tile rect { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.6; }
.sw-tile .t { font-family: var(--f-body); font-weight: 650; font-size: 15.5px; fill: var(--ink); letter-spacing: -.01em; }
.sw-tile .s { font-family: var(--f-mono); font-size: 9.6px; fill: #4b636c; letter-spacing: .06em; text-transform: uppercase; }
.sw-tile .ico { fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sw-tile--ghost rect { fill: none; stroke-dasharray: 5 6; stroke: var(--cable); }
.sw-tile--ghost .t { fill: var(--cable); }
.sw-cable { fill: none; stroke-width: 4; stroke-linecap: round; }
.sw-cable--ghost { stroke: var(--cable); stroke-width: 2; stroke-dasharray: 4 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.js .sw-cable--draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + 350ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .sw-tile { opacity: 0; animation: pop .7s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + 150ms); transform-box: fill-box; transform-origin: center; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.sw-led { fill: var(--led); animation: blink 2.4s steps(1) infinite; animation-delay: calc(var(--i) * -530ms); }
.sw-led--off { fill: #2a4a57; animation: none; }
.sw-led--amber { fill: var(--amber); animation-duration: .9s; }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 70% { opacity: .2; } 71%, 100% { opacity: 1; } }
.sw-packet { fill: var(--paper-3); stroke: var(--ink); stroke-width: 1.4; }
.sw-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; fill: #86a3ad; text-transform: uppercase; }

/* ---------- Lichtkrant ---------- */
.marquee { background: var(--ink); color: var(--paper); padding: 20px 0; overflow: hidden; display: flex; user-select: none; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 34px; padding-right: 34px; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 2rem); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; white-space: nowrap; letter-spacing: -.01em; }
.marquee__track .seal { width: 16px; color: var(--cable); flex: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Browserkader ---------- */
.frame { border-radius: 16px; overflow: hidden; background: #0e1e25; box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(11, 37, 48, .5); }
.frame__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #14303b; }
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c4c58; }
.frame__bar i:first-child { background: var(--cable); }
.frame__bar em { margin-left: 12px; font-family: var(--f-mono); font-style: normal; font-size: .7rem; letter-spacing: .04em; color: #a7bcc3; background: #0e2630; padding: 5px 14px; border-radius: 999px; flex: 1; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__bar em::before { content: "● "; color: var(--led); font-size: .7em; vertical-align: 1px; }
.frame__view { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6e4; position: relative; }
.frame__view img { width: 100%; display: block; will-change: transform; }
.frame--light { background: var(--paper-3); box-shadow: 0 30px 60px -34px rgba(11, 37, 48, .5), 0 0 0 1.5px var(--ink); }
.frame--light .frame__bar { background: var(--paper-3); border-bottom: 1.5px solid var(--ink); }
.frame--light .frame__bar i { background: transparent; border: 1.5px solid var(--ink); }
.frame--light .frame__bar i:first-child { background: var(--cable); border-color: var(--cable); }
.frame--light .frame__bar em { background: var(--paper-2); color: var(--ink); }

.phone { width: clamp(130px, 17vw, 220px); border-radius: 30px; padding: 8px; background: #0e1e25; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1) inset; }
.phone img { border-radius: 23px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ---------- Uitgelicht: Florist Vercamer ---------- */
.feature { overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 5vw, 84px); align-items: center; }
.feature__copy { display: grid; gap: 26px; justify-items: start; }
.feature__stage { position: relative; }
.feature__stage .phone { position: absolute; left: -7%; bottom: -16%; z-index: 2; width: clamp(110px, 12.5vw, 176px); border-radius: 26px; padding: 7px; }
.feature__stage .phone img { border-radius: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .62em .95em; border: 1.5px solid var(--rule); border-radius: 999px; white-space: nowrap; }
.chip--on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.float-chip { position: absolute; z-index: 3; background: var(--paper); color: var(--ink); border-radius: 999px; padding: .7em 1.05em; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); display: inline-flex; align-items: center; gap: .6em; animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); white-space: nowrap; }
.float-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1faa62; box-shadow: 0 0 0 3px rgba(31, 170, 98, .22); }
@keyframes bob { 50% { translate: 0 -9px; } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; border-top: 1.5px solid var(--rule); }
.kpis li { padding: 20px 18px 0 0; }
.kpis li + li { padding-left: 18px; border-left: 1.5px solid var(--rule); }
.kpis b { display: block; font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 480; letter-spacing: -.04em; line-height: 1; }
.kpis span { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature__stage { margin-bottom: 40px; }
  .float-chip { display: none; }
}

/* ---------- Integraties: alles op één lijn ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.flow__stage { position: sticky; top: calc(var(--header-h) + 3vh); }
.flow__card { background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(18px, 2.4vw, 34px); position: relative; overflow: hidden; }
.flow__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(255, 92, 38, .13), transparent 70%); pointer-events: none; }
.flow__card svg { width: 100%; height: auto; position: relative; }
.flow__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 37%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.flow__center .seal { position: absolute; inset: 0; width: 100%; color: var(--ink-2); }
.flow__center div { position: relative; display: grid; gap: 2px; }
.flow__time { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.flow__where { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cable); }
.ring-track { fill: none; stroke: rgba(244, 239, 230, .16); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.ring-fill { fill: none; stroke: var(--cable); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 942.5; stroke-dashoffset: 942.5; transition: stroke-dashoffset 1s var(--ease); transform: rotate(-90deg); transform-origin: 200px 200px; }
.ring-node circle { fill: var(--ink); stroke: rgba(244, 239, 230, .35); stroke-width: 2; transition: fill .5s, stroke .5s, r .5s var(--ease); }
.ring-node text { font-family: var(--f-mono); font-size: 12px; fill: #9db3ba; text-anchor: middle; dominant-baseline: central; transition: fill .4s; }
.ring-node .lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.ring-node.is-done circle { fill: var(--cable); stroke: var(--cable); }
.ring-node.is-done text.n { fill: var(--ink); font-weight: 700; }
.ring-node.is-now circle { r: 27px; }
.ring-node.is-now .lbl { fill: var(--paper); }
.flow__steps { display: grid; }
.flow__step { min-height: 62vh; display: grid; align-content: center; gap: 16px; padding-block: 24px; opacity: .28; transition: opacity .5s; }
.flow__step.is-now { opacity: 1; }
.flow__step .tag { color: var(--accent); display: flex; gap: 1.2em; }
.flow__step .tag span { color: var(--muted); }
.flow__step p { max-width: 30em; color: var(--muted); }
.flow__step ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__stage { position: sticky; top: 0; z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--bg); }
  .flow__card { max-width: 320px; margin-inline: auto; border-radius: 22px; padding: 12px; }
  .flow__step { min-height: 0; padding-block: 44px; }
  .ring-node .lbl { display: none; }
}

.stack { margin-top: clamp(56px, 8vw, 110px); padding-top: 34px; border-top: 1.5px solid var(--rule); display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 24px 48px; align-items: start; }
.stack ul { display: flex; flex-wrap: wrap; gap: 10px; }
.stack li { font-family: var(--f-display); font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -.02em; padding: .34em .8em .4em; border: 1.5px solid var(--rule); border-radius: 999px; transition: background .3s, color .3s, border-color .3s, rotate .3s var(--ease); cursor: default; }
.stack li:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); rotate: -2deg; }
.stack li:nth-child(even):hover { rotate: 2deg; }
@media (max-width: 760px) { .stack { grid-template-columns: 1fr; } }

/* ---------- Diensten (uitklapbaar) ---------- */
.svc { border-top: 1.5px solid var(--fg); }
.svc details { border-bottom: 1.5px solid var(--fg); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: clamp(22px, 3vw, 40px) 0; transition: padding .4s var(--ease); }
.svc summary::-webkit-details-marker { display: none; }
.svc summary .n { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.svc summary .t { font-family: var(--f-display); font-size: clamp(1.9rem, 5.2vw, 4.6rem); letter-spacing: -.035em; line-height: 1; font-weight: 460; font-variation-settings: "SOFT" 60; transition: translate .5s var(--ease), color .3s; }
.svc summary .x { width: clamp(40px, 4.4vw, 58px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--fg); display: grid; place-items: center; align-self: center; transition: background .3s, color .3s, rotate .5s var(--ease); font-family: var(--f-mono); font-size: 1.2rem; }
.svc summary:hover .t { translate: 14px 0; color: var(--accent); }
.svc details[open] summary .x { background: var(--accent); border-color: var(--accent); rotate: 45deg; }
.svc details[open] summary .t { color: var(--accent); }
.svc__body { display: grid; grid-template-columns: 4.4rem minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px clamp(24px, 4vw, 72px); padding-bottom: clamp(28px, 4vw, 56px); }
.svc__body > p { grid-column: 2; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.svc__body ul { grid-column: 3; display: grid; gap: 0; align-content: start; }
.svc__body li { padding: 11px 0; border-top: 1px solid var(--rule); display: flex; gap: 12px; align-items: baseline; font-size: .98rem; }
.svc__body li::before { content: "↳"; font-family: var(--f-mono); color: var(--accent); }
@supports (interpolate-size: allow-keywords) {
  .svc { interpolate-size: allow-keywords; }
  .svc details::details-content { block-size: 0; overflow: clip; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
  .svc details[open]::details-content { block-size: auto; }
}
@media (max-width: 820px) {
  .svc summary { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .svc__body { grid-template-columns: 1fr; }
  .svc__body > p, .svc__body ul { grid-column: 1; }
}

/* ---------- Klantengalerij ---------- */
.gallery { position: relative; }
.gallery__track { display: flex; gap: clamp(16px, 2.2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 12px var(--edge) 36px; scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery__track.is-drag a { pointer-events: none; }
.work { flex: none; width: clamp(280px, 42vw, 560px); scroll-snap-align: start; display: grid; gap: 18px; text-decoration: none; color: inherit; }
.work .frame { transition: transform .6s var(--ease), box-shadow .6s; }
.work:hover .frame { transform: translateY(-8px) rotate(-.6deg); }
.work:nth-child(even):hover .frame { transform: translateY(-8px) rotate(.6deg); }
.work .frame__view img { transition: transform 1.2s var(--ease); }
.work:hover .frame__view img { transform: scale(1.04); }
.work__meta { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.work__meta h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.work__meta .tag { color: var(--muted); }
.work__meta p { grid-column: 1 / -1; color: var(--muted); font-size: .96rem; }
.gallery__nav { display: flex; gap: 10px; }
.round-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--fg); background: none; cursor: pointer; font-family: var(--f-mono); font-size: 1.1rem; transition: background .25s, color .25s, scale .25s; }
.round-btn:hover { background: var(--fg); color: var(--bg); }
.round-btn:active { scale: .94; }

/* ---------- Eigen tools ---------- */
.tools { border-top: 1.5px solid var(--rule); }
.tool { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) auto auto; gap: 8px clamp(16px, 3vw, 48px); align-items: center; padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1.5px solid var(--rule); position: relative; transition: padding .4s var(--ease); }
.tool::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--card); opacity: 0; transition: opacity .3s; z-index: 0; }
.tool:hover::before { opacity: 1; }
.tool > * { position: relative; }
.tool:hover { padding-inline: 10px; }
.tool h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.tool p { color: var(--muted); font-size: .98rem; }
.tool .ver { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
.status { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .65em; padding: .55em .9em; border-radius: 999px; border: 1.5px solid var(--rule); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.status--test::before { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: blink 1.4s steps(1) infinite; }
@media (max-width: 860px) {
  .tool { grid-template-columns: 1fr auto; }
  .tool p { grid-column: 1 / -1; order: 3; }
  .tool .ver { display: none; }
}

/* ---------- Flowatt-teaser ---------- */
.fw-teaser { border-radius: clamp(24px, 3vw, 44px); background: #0f1a18; color: #eaf4ef; --accent: #67d8b5; --on-accent: #0f1a18; --muted: #94aba4; --rule: rgba(234, 244, 239, .14); --fg: #eaf4ef; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 5vw, 76px); align-items: center; overflow: hidden; position: relative; }
.fw-teaser::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; top: -30%; background: radial-gradient(closest-side, rgba(103, 216, 181, .2), transparent); pointer-events: none; }
.fw-teaser__copy { display: grid; gap: 24px; justify-items: start; position: relative; }
.fw-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.fw-logo i { width: 38px; height: 38px; border-radius: 11px; background: #67d8b5; display: grid; place-items: center; }
.fw-logo svg { width: 22px; height: 22px; stroke: #0f1a18; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .fw-teaser { grid-template-columns: 1fr; } }

/* Energiediagram (teaser + Flowatt-pagina) */
.energy { width: 100%; height: auto; overflow: visible; }
.energy .wire { fill: none; stroke: rgba(234, 244, 239, .16); stroke-width: 2; }
.energy .flowline { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 2 12; animation: energy 1.2s linear infinite; }
.energy .flowline--slow { animation-duration: 2.4s; opacity: .7; }
.energy .flowline--rev { animation-direction: reverse; }
.energy .flowline--sun { stroke: #ffd166; }
@keyframes energy { to { stroke-dashoffset: -14; } }
.energy .node rect, .energy .node circle { fill: #162622; stroke: rgba(234, 244, 239, .22); stroke-width: 1.5; }
.energy .node--home circle { fill: #67d8b5; stroke: none; }
.energy .node .ico { fill: none; stroke: #eaf4ef; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.energy .node--home .ico { stroke: #0f1a18; }
.energy .lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; fill: #94aba4; text-anchor: middle; }
.energy .val { font-family: var(--f-body); font-weight: 650; font-size: 15px; fill: #eaf4ef; text-anchor: middle; }

/* ---------- Over ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.about__portrait { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; display: grid; place-items: center; }
.about__portrait > .seal { position: absolute; inset: 0; width: 100%; color: var(--ink); }
.about__portrait > .seal--line { inset: -5%; width: 110%; color: var(--cable); animation: spin 60s linear infinite; }
.about__portrait div { position: relative; text-align: center; color: var(--paper); display: grid; gap: 6px; }
.about__portrait b { font-family: var(--f-display); font-size: clamp(4rem, 11vw, 8.5rem); font-weight: 460; letter-spacing: -.06em; line-height: .9; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.about__portrait span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #9db3ba; }
.about__copy { display: grid; gap: 24px; justify-items: start; }
.about__copy p { max-width: 36em; }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; margin-top: 12px; border-top: 1.5px solid var(--fg); }
.promise li { padding: 20px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.promise li + li { padding-left: 20px; border-left: 1.5px solid var(--rule); }
.promise b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 520; letter-spacing: -.02em; line-height: 1.1; }
.promise span { font-size: .92rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__portrait { max-width: 300px; } }
@media (max-width: 620px) { .promise, .kpis { grid-template-columns: 1fr; } .promise li + li, .kpis li + li { padding-left: 0; border-left: 0; border-top: 1.5px solid var(--rule); margin-top: 20px; } }

/* ---------- Cijferband ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }
.numbers li { padding: clamp(24px, 3vw, 44px) clamp(14px, 2vw, 30px); display: grid; gap: 10px; align-content: start; }
.numbers li + li { border-left: 1.5px solid var(--rule); }
.numbers b { font-family: var(--f-display); font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 440; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.numbers b small { font-size: .42em; letter-spacing: -.02em; margin-left: .08em; color: var(--accent); }
.numbers span { color: var(--muted); font-size: .94rem; line-height: 1.4; max-width: 20em; }
@media (max-width: 860px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers li:nth-child(3) { border-left: 0; } .numbers li:nth-child(n+3) { border-top: 1.5px solid var(--rule); } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(3.2rem, 10vw, 9rem); line-height: .86; letter-spacing: -.05em; }
.contact__copy { display: grid; gap: 28px; justify-items: start; }
.contact__direct { display: grid; gap: 6px; }
.contact__direct a { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.8rem); letter-spacing: -.03em; text-decoration: none; border-bottom: 2px solid currentColor; line-height: 1.1; transition: letter-spacing .4s var(--ease); }
.contact__direct a:hover { letter-spacing: -.01em; }
.form { background: var(--ink); color: var(--paper); border-radius: 26px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 22px; --rule: rgba(244, 239, 230, .22); }
.form label { display: grid; gap: 8px; }
.form label > span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #9db3ba; }
.form input, .form textarea { font: inherit; color: var(--paper); background: none; border: 0; border-bottom: 1.5px solid var(--rule); padding: 8px 0 12px; border-radius: 0; resize: vertical; transition: border-color .3s; width: 100%; }
.form input::placeholder, .form textarea::placeholder { color: #6f8a93; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cable); }
.form .picks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .picks label { display: inline-flex; cursor: pointer; }
.form .picks input { position: absolute; opacity: 0; width: 0; }
.form .picks span { font-family: var(--f-body); font-size: .92rem; letter-spacing: 0; text-transform: none; color: var(--paper); padding: .6em 1em; border: 1.5px solid var(--rule); border-radius: 999px; transition: background .2s, color .2s, border-color .2s; }
.form .picks input:checked + span { background: var(--cable); border-color: var(--cable); color: var(--ink); }
.form .picks input:focus-visible + span { outline: 2px solid var(--cable); outline-offset: 3px; }
.form .btn { justify-self: start; --b-bg: var(--cable); --b-fg: var(--ink); }
.form small { color: #9db3ba; font-size: .82rem; line-height: 1.45; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(48px, 6vw, 88px) 0 28px; --rule: rgba(244, 239, 230, .16); --muted: #9db3ba; }
.site-footer.on-flowatt { background: #0b1412; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 72px); }
.footer__top h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer__top li { margin-bottom: 8px; }
.footer__top a { text-decoration: none; }
.footer__top a:hover { color: var(--cable); }
.footer__word { font-family: var(--f-display); font-size: clamp(5rem, 22vw, 20rem); font-weight: 560; letter-spacing: -.012em; line-height: .78; font-variation-settings: "SOFT" 100; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 239, 230, .28); padding-bottom: .08em; user-select: none; transition: color .8s, -webkit-text-stroke-color .8s; }
.footer__word:hover { color: var(--cable); -webkit-text-stroke-color: var(--cable); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 22px; border-top: 1.5px solid var(--rule); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.footer__bottom .ok::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); margin-right: .7em; vertical-align: 1px; }
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Casepagina
   ========================================================================== */
.case-hero { padding-top: calc(var(--header-h) + clamp(36px, 6vw, 90px)); padding-bottom: 0; }
.case-hero__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.case-hero__head > div { display: grid; gap: 24px; justify-items: start; }
.case-hero dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; padding-top: 18px; border-top: 1.5px solid var(--rule); width: 100%; }
.case-hero dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .35em; }
.case-hero__shot { position: relative; margin-bottom: calc(-1 * clamp(60px, 9vw, 150px)); z-index: 2; }
.case-hero__shot .frame__view { aspect-ratio: 16 / 8.6; }
.case-hero__shot .phone { position: absolute; right: 4%; bottom: -8%; }
@media (max-width: 860px) { .case-hero__head { grid-template-columns: 1fr; } }
.after-shot { padding-top: calc(clamp(60px, 9vw, 150px) + clamp(70px, 9vw, 130px)); }

.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.module { background: var(--card); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; align-content: start; min-height: 250px; position: relative; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, background .3s; }
.module:hover { transform: translateY(-6px); border-color: var(--accent); }
.module .tag { color: var(--accent); display: flex; justify-content: space-between; }
.module .tag span { color: var(--muted); }
.module p { color: var(--muted); font-size: .98rem; }
.module--wide { grid-column: span 2; }
.module--accent { background: var(--cable); border-color: var(--cable); color: var(--ink); --muted: #4a1d0b; --accent: var(--ink); }
.module--accent:hover { border-color: var(--paper); }
.module .big { font-family: var(--f-display); font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.05em; line-height: .86; font-weight: 440; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } .module--wide { grid-column: auto; } }

.bars { display: grid; gap: 22px; }
.bar { display: grid; gap: 8px; }
.bar__row { display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.bar__track { height: 16px; border-radius: 999px; background: color-mix(in srgb, var(--fg) 10%, transparent); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; background: var(--muted); width: calc(var(--w) * 1%); transform-origin: left; }
.bar__fill--new { background: var(--accent); }
.js .bar__fill { transform: scaleX(0); transition: transform 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 160ms + 200ms); }
.js .is-in .bar__fill { transform: none; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); }
.compare > div { display: grid; gap: 26px; align-content: start; padding-top: 22px; border-top: 1.5px solid var(--fg); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.quote { font-family: var(--f-display); font-size: clamp(1.8rem, 4.4vw, 4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 420; max-width: 20em; text-wrap: balance; }
.quote em { color: var(--accent); }

.next { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; text-decoration: none; color: inherit; }
.next h2 { transition: translate .6s var(--ease), color .3s; }
.next:hover h2 { translate: 18px 0; color: var(--accent); }

/* ==========================================================================
   Flowatt-pagina
   ========================================================================== */
.fw-hero { padding-top: calc(var(--header-h) + clamp(30px, 5vw, 72px)); overflow: hidden; }
.fw-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.fw-hero__copy { display: grid; gap: 26px; justify-items: start; container-type: inline-size; }
.fw-hero h1 { font-size: clamp(2.5rem, 13.6cqi, 6.6rem); white-space: nowrap; }
.on-flowatt h1, .on-flowatt h2, .on-flowatt h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: -.045em; font-variation-settings: normal; }
.on-flowatt h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: .92; }
.on-flowatt h2 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: .98; }
.on-flowatt h1 em, .on-flowatt h2 em { font-style: normal; font-variation-settings: normal; font-weight: 700; }
.on-flowatt .btn { --b-fg: #0f1a18; }
.on-flowatt .btn--ghost { --b-fg: #eaf4ef; }
.pulse { width: min(420px, 80%); height: auto; }
.pulse path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s var(--ease) .4s forwards; opacity: .55; }
@media (max-width: 900px) { .fw-hero__grid { grid-template-columns: 1fr; } }

.fw-cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.fw-card { grid-column: span 4; background: var(--card); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; min-height: 240px; transition: border-color .3s, transform .5s var(--ease); }
.fw-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.fw-card--wide { grid-column: span 8; }
.fw-card--half { grid-column: span 6; }
.fw-card .tag { color: var(--accent); }
.fw-card p { color: var(--muted); }
@media (max-width: 900px) { .fw-card, .fw-card--wide, .fw-card--half { grid-column: span 12; min-height: 0; } }

.clock { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 90px); align-items: center; }
.clock__art { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.clock__art svg { width: 100%; height: auto; overflow: visible; }
.clock__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.clock__center div { display: grid; gap: 4px; }
.clock__center b { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.clock__center span { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.clock .seg { fill: none; stroke-width: 34; transition: opacity .4s; }
.clock .seg--piek { stroke: #ff7a59; }
.clock .seg--dal { stroke: #3d8f7a; }
.clock .seg--superdal { stroke: #67d8b5; }
.clock .hour { font-family: var(--f-mono); font-size: 11px; fill: #94aba4; text-anchor: middle; dominant-baseline: central; }
.clock .hand { stroke: #eaf4ef; stroke-width: 3; stroke-linecap: round; transition: transform 1s var(--ease); transform-origin: 200px 200px; }
.clock__copy { display: grid; gap: 24px; justify-items: start; }
.legend { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--rule); }
.legend li { display: grid; grid-template-columns: 16px 7.5em 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); transition: opacity .3s; }
.legend i { width: 14px; height: 14px; border-radius: 4px; align-self: center; }
.legend b { font-weight: 650; }
.legend span { color: var(--muted); font-size: .95rem; }
.legend li.is-now b::after { content: "nu"; margin-left: .7em; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #0f1a18; padding: .25em .6em; border-radius: 999px; vertical-align: 2px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--rule); gap: 2px; }
.toggle button { border: 0; background: none; padding: .6em 1.2em; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--accent); color: #0f1a18; }
@media (max-width: 900px) { .clock { grid-template-columns: 1fr; } }

.peak { background: var(--card); border: 1px solid var(--rule); border-radius: 26px; padding: clamp(22px, 3vw, 44px); display: grid; gap: 26px; }
.peak__chart { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: clamp(2px, .5vw, 6px); align-items: end; height: clamp(180px, 24vw, 300px); position: relative; padding-top: 10px; }
.peak__chart i { display: block; height: calc(var(--h) * 1%); background: #3d8f7a; border-radius: 4px 4px 0 0; transition: height 1s var(--ease), background .5s; transition-delay: calc(var(--n) * 18ms); min-height: 3px; }
.peak__chart i.is-over { background: #ff7a59; }
.peak__limit { position: absolute; left: 0; right: 0; bottom: 50%; border-top: 1.5px dashed #eaf4ef; opacity: .6; pointer-events: none; }
.peak__limit span { position: absolute; right: 0; bottom: 6px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.peak__axis { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; color: var(--muted); }
.peak__foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .lines > span > i, .js .sw-tile { opacity: 1; transform: none; }
  .js .sw-cable--draw { stroke-dashoffset: 0; }
  .sw-packet { display: none; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Personeel-app
   ========================================================================== */
.on-leaf {
  --bg: #16261c; --fg: #f6f1e4; --muted: #a9b8a4; --card: #1e3326;
  --rule: rgba(246, 241, 228, .16); --accent: #b9d98a; --on-accent: #16261c;
}
.projects { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.pa-teaser { border-radius: clamp(24px, 3vw, 44px); background: var(--bg); color: var(--fg); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 5vw, 76px); padding-bottom: 0; align-items: end; overflow: hidden; position: relative; }
.pa-teaser__copy { display: grid; gap: 24px; justify-items: start; align-self: center; padding-bottom: clamp(28px, 5vw, 76px); }
.pa-teaser .devices { order: -1; align-self: end; margin-bottom: -12%; }
@media (max-width: 860px) { .pa-teaser { grid-template-columns: 1fr; } .pa-teaser .devices { order: 2; margin-bottom: -30%; } }

.devices { display: flex; justify-content: center; align-items: flex-end; }
.devices:not(.devices--two) .device { width: clamp(118px, 15.4vw, 222px); }
.devices .device:nth-child(1) { rotate: -7deg; translate: 9% 6%; z-index: 1; }
.devices .device:nth-child(2) { z-index: 2; }
.devices .device:nth-child(3) { rotate: 7deg; translate: -9% 6%; z-index: 1; }
.devices--two .device:nth-child(1) { rotate: -6deg; translate: 10% 4%; }
.devices--two .device:nth-child(2) { rotate: 5deg; translate: -6% 0; }
.device { flex: none; width: clamp(150px, 19vw, 262px); aspect-ratio: 9 / 19; border-radius: clamp(26px, 3vw, 40px); padding: clamp(6px, .7vw, 9px); background: #0a120d; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .09) inset; container-type: inline-size; transition: translate .7s var(--ease), rotate .7s var(--ease); }
.devices:hover .device:nth-child(1) { translate: 2% 2%; rotate: -10deg; }
.devices:hover .device:nth-child(3) { translate: -2% 2%; rotate: 10deg; }
.device__screen { height: 100%; border-radius: clamp(21px, 2.4vw, 32px); overflow: hidden; background: #16261c; color: #f6f1e4; display: grid; grid-template-rows: auto 1fr auto; font-family: var(--f-body); font-size: 4.9cqi; line-height: 1.3; }
.device__status { display: flex; justify-content: space-between; padding: 6cqi 8cqi 2cqi; font-size: 4.2cqi; font-weight: 650; }
.device__body { padding: 3cqi 6.5cqi; display: grid; gap: 4.4cqi; align-content: start; }
.device__body h4 { margin: 0; font-family: var(--f-display); font-weight: 520; font-size: 9.6cqi; letter-spacing: -.03em; line-height: 1; }
.device__body small { font-family: var(--f-mono); font-size: 3.5cqi; letter-spacing: .1em; text-transform: uppercase; color: #a9b8a4; }
.device__tabs { display: grid; grid-template-columns: repeat(5, 1fr); padding: 3.4cqi 2cqi 6cqi; border-top: 1px solid rgba(246, 241, 228, .12); font-size: 3.3cqi; text-align: center; color: #8ea08a; }
.device__tabs b { color: #b9d98a; font-weight: 650; }
.d-ring { position: relative; width: 78%; margin: 2cqi auto 0; aspect-ratio: 1; display: grid; place-items: center; text-align: center; }
.d-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.d-ring .trk { fill: none; stroke: rgba(246, 241, 228, .14); stroke-width: 7; stroke-linecap: round; stroke-dasharray: .5 9.5; }
.d-ring .prg { fill: none; stroke: #b9d98a; stroke-width: 7; stroke-linecap: round; stroke-dasharray: .5 9.5; stroke-dashoffset: 0; clip-path: none; }
.d-ring .prg-mask { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s var(--ease) .4s; }
.is-in .d-ring .prg-mask, .d-ring.is-in .prg-mask { stroke-dashoffset: 36; }
.d-ring b { display: block; font-family: var(--f-display); font-size: 13cqi; font-weight: 480; letter-spacing: -.04em; line-height: 1; }
.d-btn { display: block; text-align: center; padding: 3.6cqi; border-radius: 999px; background: #b9d98a; color: #16261c; font-weight: 700; }
.d-btn--line { background: none; color: #f6f1e4; box-shadow: 0 0 0 1px rgba(246, 241, 228, .3) inset; }
.d-card { background: #1e3326; border-radius: 5cqi; padding: 4cqi 4.6cqi; display: grid; gap: 1.6cqi; }
.d-card--hi { background: #f6f1e4; color: #16261c; }
.d-card--hi small { color: #4d6152; }
.d-row { display: grid; grid-template-columns: 1fr auto; gap: 1cqi 3cqi; align-items: center; padding: 3.2cqi 0; border-bottom: 1px solid rgba(246, 241, 228, .1); }
.d-row span { color: #a9b8a4; font-size: 4.1cqi; }
.d-pill { font-family: var(--f-mono); font-size: 3.1cqi; letter-spacing: .04em; text-transform: uppercase; padding: 1.4cqi 2.6cqi; border-radius: 999px; background: rgba(185, 217, 138, .16); color: #b9d98a; white-space: nowrap; grid-row: span 2; }
.d-pill--wait { background: rgba(255, 190, 85, .16); color: #ffbe55; }
.d-pill--todo { background: rgba(255, 92, 38, .18); color: #ff8a5c; }
.d-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6cqi; }
.d-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.4cqi; align-items: end; height: 26cqi; }
.d-bars i { background: #b9d98a; border-radius: 1.6cqi 1.6cqi 0 0; height: calc(var(--h) * 1%); opacity: .9; }
.d-bars i:nth-child(n+6) { opacity: .25; }

.pa-hero { padding-top: calc(var(--header-h) + clamp(30px, 5vw, 72px)); padding-bottom: 0; overflow: hidden; }
.pa-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.pa-hero__copy { display: grid; gap: 26px; justify-items: start; padding-bottom: clamp(48px, 7vw, 110px); align-self: center; }
.pa-hero .devices { margin-bottom: -9%; }
@media (max-width: 900px) { .pa-hero__grid { grid-template-columns: 1fr; } .pa-hero__copy { padding-bottom: 12px; } .pa-hero .devices { margin-bottom: -22%; } }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.duo > article { background: var(--card); border: 1.5px solid var(--rule); border-radius: 26px; padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 22px; align-content: start; }
.duo ul { display: grid; }
.duo li { padding: 15px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 20px; align-items: baseline; }
.duo li b { font-weight: 650; }
.duo li span { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo li { grid-template-columns: 1fr; } }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1.5px solid var(--fg); }
.steps3 li { counter-increment: s; padding: 26px 26px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.steps3 li + li { padding-left: 26px; border-left: 1.5px solid var(--rule); }
.steps3 li::before { content: "0" counter(s); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--accent); }
.steps3 p { color: var(--muted); }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } .steps3 li + li { padding-left: 0; border-left: 0; border-top: 1.5px solid var(--rule); margin-top: 26px; } }
.answers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.answer { border: 1.5px solid var(--rule); border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.answer .status { justify-self: start; }
.answer p { color: var(--muted); font-size: .94rem; }
.status--no::before { background: var(--cable); box-shadow: 0 0 8px var(--cable); }
.status--idle::before { background: #8d9a9d; box-shadow: none; }
@media (max-width: 900px) { .answers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .answers { grid-template-columns: 1fr; } }

/* ---------- Lange tekst (algemene voorwaarden) ---------- */
.prose { max-width: 46em; display: grid; gap: 1.05em; }
.prose p { line-height: 1.65; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; margin-top: 1.4em; padding-top: 1em; border-top: 1.5px solid var(--rule); }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
