/* V-ES huisstijl: leisteen #485968, V-ES-groen #39E991, donkergroen #1A9A5A, tekst #2B3640 */
:root {
  --slate: #485968;
  --green: #39e991;
  --green-dark: #1a9a5a;
  --green-darker: #127043;
  --green-soft: #e9fbf1;
  --text: #2b3640;
  --muted: #6b7782;
  --bg: #ffffff;
  --bg-alt: #f7f9fa;
  --line: #eef1f4;
  --card: #ffffff;
  --head: #485968;
  --accent: #1a9a5a;
  font-family: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e4e9ee;
    --muted: #aeb7c0;
    --bg: #161d24;
    --bg-alt: #1b232b;
    --line: #2b3640;
    --card: #222b33;
    --head: #ffffff;
    --accent: #39e991;
    --green-soft: #1d3a2c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--head); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* kop */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 92px; }
.brand img { width: 220px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; }
nav a:not(.btn):hover { color: var(--accent); }

/* knoppen */
.btn { display: inline-block; background: var(--green-dark); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--green-dark); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--green-darker); border-color: var(--green-darker); }
.btn-small { padding: 6px 16px; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--head); border-color: currentColor; }
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-light { background: var(--green); border-color: var(--green); color: #12251b; font-size: 1.2rem; }
.btn-light:hover { background: #fff; border-color: #fff; }

/* hero */
.hero { padding: 96px 0 88px; background:
  radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--green) 22%, transparent), transparent 45%),
  var(--bg); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.lead { font-size: 1.2rem; max-width: 40em; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* secties */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.num { display: inline-block; color: var(--accent); margin-right: .5em; font-weight: 700; }
.section h2 { padding-bottom: .4em; border-bottom: 3px solid var(--green); display: inline-block; margin-bottom: 1.2em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 56px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.box { background: var(--green-soft); border-left: 4px solid var(--green-dark); border-radius: 12px; padding: 24px 28px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 30px; position: relative; margin: .5em 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

.contact { background: var(--slate); color: #fff; text-align: center; }
.contact h2 { color: #fff; border: 0; margin-bottom: .4em; }
.contact .lead { color: #e4e9ee; margin: 0 auto 28px; }
@media (prefers-color-scheme: dark) { .contact { background: #222b33; } }

.foot { padding: 28px 0; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 40px; }
.foot address { font-style: normal; line-height: 1.5; }
.foot strong { color: var(--head); }
.reg { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 0; }
.reg dt { font-weight: 700; }
.reg dd { margin: 0; }
.copy { line-height: 1.5; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  nav a:not(.btn) { display: none; }
  .brand img { width: 170px; }
  .top-inner { height: 78px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}

/* privacyverklaring */
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; border: 0; padding: 0; margin: 1.8em 0 .5em; display: block; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin: .35em 0; }
.muted { color: var(--muted); }

/* vijf blokken: drie boven, twee breed eronder */
@media (min-width: 900px) {
  .cards-5 { grid-template-columns: repeat(6, 1fr); }
  .cards-5 .card { grid-column: span 2; }
  .cards-5 .card:nth-child(n+4) { grid-column: span 3; }
}

/* vijf stappen naast elkaar op brede schermen */
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.opt { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; vertical-align: middle; white-space: nowrap; }

/* twee gelijke kolommen voor de onderdelen met een voorbeeld */
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.split-even .checks { margin: 1.2em 0 0; }
figure { margin: 0; }
figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 16px; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 6px 0 0; }

/* glimp van een adviesrapport (blijft wit papier, ook in donkere modus) */
.report .page { position: relative; background: #fff; color: #2b3640; border-radius: 6px; padding: 26px 28px 28px; max-width: 420px; margin: 0 auto; transform: rotate(1.5deg); box-shadow: 0 18px 40px rgba(22, 29, 36, .22), 0 2px 6px rgba(22, 29, 36, .12); font-size: .82rem; line-height: 1.4; }
.report .page::before { content: ""; position: absolute; inset: 0; background: #fff; border-radius: 6px; transform: rotate(-4deg) translate(-10px, 6px); box-shadow: 0 8px 22px rgba(22, 29, 36, .14); z-index: -1; }
.r-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.r-top img { width: 84px; }
.r-top span { color: #6b7782; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; }
.r-h { font-size: 1.05rem; font-weight: 700; color: #485968; border-bottom: 2px solid #39e991; padding-bottom: 6px; margin: 0 0 10px; }
.r-h b { color: #1a9a5a; margin-right: 8px; }
.r-legend { color: #6b7782; font-size: .72rem; margin-bottom: 4px; }
.r-legend .k-o { margin-left: 14px; }
.k-v { background: #485968; } .k-o { background: #39e991; }
.r-chart { width: 100%; height: auto; display: block; }
.rb { fill: #485968; } .rg { stroke: #eef1f4; stroke-width: 1; fill: none; }
.rl { fill: none; stroke: #39e991; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.r-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .76rem; }
.r-table th { background: #485968; color: #fff; text-align: left; padding: 5px 8px; font-weight: 700; }
.r-table td { padding: 5px 8px; border-bottom: 1px solid #eef1f4; }
.sk { display: block; height: 7px; border-radius: 4px; background: #dfe4e9; }
.sk-45 { width: 45%; } .sk-60 { width: 60%; } .sk-70 { width: 70%; } .sk-90 { width: 90%; }
.r-advies { background: #e9fbf1; border-left: 3px solid #1a9a5a; border-radius: 4px; padding: 10px 12px; }
.r-advies b { display: block; color: #127043; margin-bottom: 7px; }
.r-advies .sk { background: #bfeed6; margin-top: 6px; }

/* teaser Energiemanager: paneel in leisteen */
.em-panel { background: #222b33; color: #fff; border: 1px solid #2b3640; border-radius: 20px; padding: 24px 26px 26px; max-width: 420px; margin: 0 auto; box-shadow: 0 18px 40px rgba(22, 29, 36, .25); }
.em-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .9rem; margin-bottom: 22px; }
.em-live { color: #39e991; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.em-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #39e991; margin-right: 7px; }
.em-label { color: #aeb7c0; font-size: .82rem; margin: 0; }
.em-big { font-size: 2.6rem; font-weight: 700; line-height: 1.1; margin: 0 0 14px; }
.em-big small { font-size: 1.1rem; color: #aeb7c0; font-weight: 400; }
.em-bar { display: flex; gap: 3px; height: 14px; border-radius: 7px; overflow: hidden; }
.seg { display: block; }
.em-bar .seg-huis { flex: 6; } .em-bar .seg-auto { flex: 37; } .em-bar .seg-bat { flex: 3; }
.seg-huis { background: #aeb7c0; } .seg-auto { background: #39e991; } .seg-bat { background: #1a9a5a; }
.em-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 12px 0 20px; font-size: .82rem; color: #aeb7c0; }
.em-legend b { color: #fff; margin-left: 4px; }
.em-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.em-tiles > div { background: #161d24; border-radius: 12px; padding: 12px; }
.em-tiles span { display: block; color: #aeb7c0; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.em-tiles b { display: block; font-size: .98rem; margin-top: 4px; }
.meter { display: block; height: 5px; border-radius: 3px; background: #2b3640; margin-top: 8px; overflow: hidden; }
.meter-78 { display: block; height: 100%; width: 78%; background: #39e991; }

@media (max-width: 860px) {
  .split-even { grid-template-columns: 1fr; gap: 40px; }
  .split-rev > figure { order: 2; }
}
@media (max-width: 1000px) and (min-width: 721px) { nav { gap: 14px; font-size: .95rem; } }
@media (max-width: 480px) {
  .report .page { transform: rotate(1deg); margin: 0 10px; padding: 20px 20px 22px; }
  .report .page::before { transform: rotate(-3deg) translate(-4px, 4px); }
  .em-tiles span { letter-spacing: 0; }
}
