/* Layout: donkere "stroom"-hero met live energiepaneel, daarna lichte secties met ruime witruimte en zachte kaarten. Accent = elektrisch blauw, met de aderkleuren als detail. */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --soft: #eaeef6;
  --fg: #0f1522;
  --muted: #5b6577;
  --line: #dde2ec;
  --accent: #2357ff;
  --accent-2: #00c2ff;
  --accent-fg: #ffffff;
  --volt: #d8ff3d;
  --ok: #17924a;
  --warn: #b5541c;
  --brown: #8a5530;
  --earth-a: #2f9a3a;
  --earth-b: #e2c21a;
  /* hero is altijd donker */
  --night: #070b16;
  --night-2: #0f1730;
  --night-fg: #eef2ff;
  --night-muted: #9ba7c4;
  --night-line: rgba(255,255,255,.1);
  --shadow: 0 1px 2px rgba(15,21,34,.04), 0 12px 32px -12px rgba(15,21,34,.14);
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b101c; --surface: #121a2a; --soft: #182235; --fg: #eef2fa; --muted: #9aa6bb;
    --line: #243049; --accent: #5b82ff; --accent-2: #3fd2ff; --accent-fg: #ffffff;
    --ok: #3ccf74; --warn: #f0925a; --brown: #c58d5f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b101c; --surface: #121a2a; --soft: #182235; --fg: #eef2fa; --muted: #9aa6bb;
  --line: #243049; --accent: #5b82ff; --accent-2: #3fd2ff; --accent-fg: #ffffff;
  --ok: #3ccf74; --warn: #f0925a; --brown: #c58d5f;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.6); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 10vw, 128px); }
.pill-label { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--soft); color: var(--accent); font: 600 0.8rem var(--f-body); letter-spacing: 0.02em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }
.section-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 720px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-fg); font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn.volt { background: var(--volt); color: #0b1020; box-shadow: 0 8px 30px -8px rgba(216,255,61,.55); }
.btn.glass { background: rgba(255,255,255,.08); color: var(--night-fg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn.glass:hover { background: rgba(255,255,255,.14); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--night); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--night) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--night-line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 1.25rem var(--f-display); letter-spacing: -0.02em; color: var(--night-fg); text-decoration: none; }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { color: var(--night-muted); text-decoration: none; font-weight: 500; transition: color .2s; }
nav.main a:hover { color: var(--night-fg); }
nav.main .btn { color: #0b1020; padding: 10px 18px; }
@media (max-width: 780px) { nav.main a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--night-fg); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 900px; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(35,87,255,.55), rgba(0,194,255,.18) 55%, transparent 72%); z-index: -1; filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); opacity: .5; z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(64px, 9vw, 120px); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero h1 .glow { background: linear-gradient(90deg, var(--volt), #8cf3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--night-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.ticks li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-fg); font-size: 0.9rem; }
.ticks li::before { content: "✓"; color: var(--volt); font-weight: 700; margin-right: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* energiepaneel */
.panel { position: relative; min-width: 0; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border-radius: 24px; padding: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 80px -30px rgba(35,87,255,.6); backdrop-filter: blur(8px); display: grid; gap: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--night-muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--volt); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(216,255,61,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216,255,61,.6); } 70% { box-shadow: 0 0 0 10px rgba(216,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(216,255,61,0); } }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: rgba(7,11,22,.55); border-radius: 16px; padding: 16px; display: grid; gap: 6px; box-shadow: inset 0 0 0 1px var(--night-line); min-width: 0; }
.tile.wide { grid-column: 1 / -1; }
.tile .k { font-size: 0.82rem; color: var(--night-muted); display: flex; align-items: center; gap: 8px; }
.tile .v { font: 800 1.8rem var(--f-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile .v small { font: 500 0.95rem var(--f-body); color: var(--night-muted); margin-left: 4px; }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar span { display: block; height: 100%; width: 78%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--volt)); animation: fill 1.6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fill { from { width: 12%; } }
.flow { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--night-muted); }
.flow .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--volt) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: run 1s linear infinite; opacity: .8; }
@keyframes run { to { background-position: 32px 0; } }
@media (prefers-reduced-motion: reduce) { .live::before, .bar span, .flow .line { animation: none; } }
.panel-note { font-size: 0.75rem; color: var(--night-muted); text-align: right; }

/* aderkleuren */
.wires { display: flex; height: 4px; }
.wires span { flex: 1; }
.wires .b { background: var(--brown); }
.wires .n { background: var(--accent); }
.wires .e { background: repeating-linear-gradient(90deg, var(--earth-a) 0 14px, var(--earth-b) 14px 28px); }

/* diensten */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--surface); border-radius: 22px; padding: 28px; display: grid; gap: 16px; align-content: start; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.service ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.service li { display: flex; gap: 10px; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.specs div { padding: 6px 12px; border-radius: 10px; background: var(--soft); font-size: 0.85rem; }
.specs dt { display: inline; color: var(--muted); }
.specs dd { display: inline; margin: 0 0 0 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.more:hover .arr { transform: translateX(3px); }
.more .arr { transition: transform .2s; }
.services-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.service.alt { grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
.service.alt > :not(.ico) { grid-column: 2; }
.service.alt .ico { grid-row: 1 / span 4; }
.service.alert .ico { background: color-mix(in srgb, var(--warn) 14%, var(--surface)); color: var(--warn); }
@media (max-width: 940px) { .services, .services-extra { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .service.alt { grid-template-columns: 1fr; } .service.alt > :not(.ico), .service.alt .ico { grid-column: 1; grid-row: auto; } }

/* werkwijze */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: "Stap " counter(s); font: 500 0.75rem var(--f-mono); color: var(--accent); letter-spacing: 0.04em; }
.steps p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* belofte */
.promise { padding-block: clamp(24px, 4vw, 40px); }
.promise-card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 72px); background: linear-gradient(135deg, var(--accent), #5a2bff 60%, #00a6e0); color: #ffffff; display: grid; gap: 20px; isolation: isolate; }
.promise-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(216,255,61,.45), transparent); z-index: -1; }
.promise-card .pill-label { background: rgba(255,255,255,.16); color: #ffffff; }
.promise-card h2 { max-width: 18ch; }
.promise-card p { font-size: 1.2rem; max-width: 62ch; color: rgba(255,255,255,.88); }

/* waarom + faq */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.split > * { min-width: 0; }
.why { display: grid; gap: 14px; list-style: none; padding: 0; margin: 28px 0 0; }
.why li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.why .ck { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: var(--ok); }
.why strong { display: block; }
.why span { color: var(--muted); font-size: 0.98rem; }
.faq { display: grid; gap: 10px; margin-top: 28px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .2s; }
details[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent); font-weight: 700; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* offerte */
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.quote-grid > * { min-width: 0; }
.quote-intro { display: grid; gap: 16px; position: sticky; top: 100px; }
.contact { display: grid; gap: 10px; margin: 12px 0 0; }
.contact div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.contact dt { color: var(--muted); font-size: 0.85rem; min-width: 84px; }
.contact dd { margin: 0; font-weight: 600; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
form { display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.storing-card { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.urgent { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--warn) 14%, var(--surface)); color: var(--warn); font: 600 0.8rem var(--f-body); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; height: 100%; transition: border-color .2s, background .2s; }
.choice label small { color: var(--muted); font-size: 0.85rem; }
.choice input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.choice input:focus-visible + label { outline: 3px solid var(--accent-2); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: 1rem var(--f-body); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
textarea { min-height: 120px; resize: vertical; }
.extra { display: grid; gap: 14px; padding: 16px; background: var(--soft); border-radius: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-foot small { color: var(--muted); }
.form-error { color: var(--warn); font-weight: 600; }
.done { display: grid; gap: 10px; justify-items: start; padding: 8px 0; }
.done .ok-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, var(--surface)); color: var(--ok); }
.done small { color: var(--muted); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } .quote-intro { position: static; } }
@media (max-width: 560px) { .choices, .row { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--night); color: var(--night-muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 32px; font-size: 0.9rem; }
footer .logo { font-size: 1.1rem; }
.legal { max-width: 760px; display: grid; gap: 14px; }
.legal h2 { margin-bottom: 4px; }
.legal h3 { margin-top: 20px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal .updated { font-size: 0.88rem; margin-top: 16px; }
footer a.flink { color: var(--night-muted); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
footer a.flink:hover, footer button.flink:hover { color: var(--night-fg); }
footer .flinks { display: flex; gap: 16px; flex-wrap: wrap; }
[hidden]{display:none!important}
img{max-width:100%}
body{margin:0}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.cookie { position: fixed; z-index: 20; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.cookie p { font-size: 0.95rem; color: var(--muted); }
.cookie .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { padding: 10px 18px; }
.cookie .btn.plain { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.page-title { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
