@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
	--graf: #14181f; --graf-2: #1f2530; --geel: #ffc21a; --geel-hover: #f0b000; --geel-donker: #8a5a00;
	--groen: #0e7a5f; --groen-licht: #5fd3ae; --zand: #f6f4ef; --wit: #fff; --grijs: #525b66; --staal: #a6afba; --lijn: #e2ded5;
	--r: 10px; --schaduw: 0 1px 2px rgb(20 24 31 / .06), 0 14px 34px rgb(20 24 31 / .09);
	--wrap: 1180px; --gutter: clamp(1.25rem, 4vw, 1.5rem); --sectie: clamp(4rem, 8vw, 6rem);
	--kop: "Space Grotesk", system-ui, sans-serif; --tekst: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--tekst); font-size: 1.0625rem; line-height: 1.65; color: var(--graf); background: var(--wit); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--kop); margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: var(--groen); text-underline-offset: 3px; }
a:hover { color: var(--graf); }
:focus-visible { outline: 3px solid var(--graf); outline-offset: 2px; }
.donker :focus-visible { outline-color: var(--geel); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sectie { padding: var(--sectie) 0; }
.zand { background: var(--zand); }
.h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem); max-width: 24ch; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--grijs); max-width: 60ch; }
.kop-blok .lead { margin-top: 0.9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--wit); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .85rem 1.5rem; border-radius: 8px; font-family: var(--kop); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.knop svg { width: 20px; height: 20px; flex: none; }
.knop--geel { background: var(--geel); color: var(--graf); }
.knop--geel:hover { background: var(--geel-hover); color: var(--graf); }
.knop--rand { border-color: currentColor; color: var(--graf); }
.knop--rand:hover { background: var(--graf); color: var(--wit); border-color: var(--graf); }
.donker .knop--rand { color: var(--wit); }
.donker .knop--rand:hover { background: var(--wit); color: var(--graf); border-color: var(--wit); }
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Kop */
.kop { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--lijn); }
.kop__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.kop__logo img { height: 34px; width: auto; }
.kop__nav { display: flex; align-items: center; gap: 1.6rem; font-family: var(--kop); font-weight: 500; font-size: .975rem; }
.kop__nav a:not(.knop) { color: var(--graf); text-decoration: none; }
.kop__nav a:not(.knop):hover { color: var(--groen); }
.kop__nav .knop { min-height: 44px; padding: .55rem 1.1rem; font-size: .975rem; }
@media (max-width: 920px) { .kop__links { display: none; } }

/* Hero */
.hero { background: var(--graf); color: var(--wit); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.hero .boven { font-family: var(--kop); font-weight: 500; color: var(--groen-licht); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.4rem, 3.6vw + 1rem, 3.9rem); line-height: 1.04; margin-bottom: 1.3rem; }
.hero h1 em { font-style: normal; color: var(--geel); }
.hero .lead { color: #cfd5dc; margin-bottom: 2rem; }
.hero__feiten { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--graf-2); color: var(--staal); font-size: .975rem; }
.hero__feiten b { color: var(--wit); font-weight: 600; }
@media (max-width: 920px) { .hero__in { grid-template-columns: 1fr; } }

/* Energieschema */
.schema { margin: 0; background: var(--graf-2); border: 1px solid #2b3240; border-radius: 14px; padding: clamp(1rem, 2.5vw, 1.5rem); }
.schema svg { width: 100%; height: auto; }
.schema .blok rect { fill: var(--graf); stroke: #3a4352; stroke-width: 1.5; }
.schema .blok text { font-family: var(--kop); fill: #fff; font-size: 18px; font-weight: 600; }
.schema .blok text.sub { fill: var(--staal); font-size: 14.5px; font-weight: 400; font-family: var(--tekst); }
.schema .draad { stroke: #3a4352; stroke-width: 3; fill: none; }
.schema .stroom { stroke: var(--groen-licht); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 2 14; animation: stroom 1.1s linear infinite; }
.schema .stroom.ac { stroke: var(--geel); }
@media (max-width: 520px) { .schema { padding: .75rem; } .schema .blok text { font-size: 21px; } .schema .blok text.sub { display: none; } }
@keyframes stroom { to { stroke-dashoffset: -16; } }
.schema figcaption { color: var(--staal); font-size: .875rem; margin-top: .75rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.schema figcaption i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: .4rem; }

/* Doelgroepen */
.doel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.75rem; }
.doel article { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--r); padding: 2rem; box-shadow: var(--schaduw); display: flex; flex-direction: column; gap: .8rem; }
.doel svg { width: 44px; height: 44px; color: var(--groen); }
.doel h3 { font-size: 1.35rem; }
.doel p { color: var(--grijs); }
.doel ul { margin: .25rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .45rem; font-size: 1rem; }
.doel li { display: grid; grid-template-columns: 1.2rem 1fr; gap: .5rem; }
.doel li::before { content: ""; width: 9px; height: 9px; margin-top: .55rem; border-radius: 2px; background: var(--geel); }
@media (max-width: 920px) { .doel { grid-template-columns: 1fr; } }

/* Diensten */
.diensten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-top: 2.5rem; border-top: 2px solid var(--graf); }
.dienst { padding: 1.9rem 0; border-bottom: 1px solid var(--lijn); }
.dienst h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.dienst p { color: var(--grijs); }
@media (max-width: 800px) { .diensten { grid-template-columns: 1fr; } }

/* Stappen */
.stappen { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.stappen li { counter-increment: s; }
.stappen li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--geel); color: var(--graf); font-family: var(--kop); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.stappen h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.stappen p { color: var(--grijs); font-size: 1rem; }
@media (max-width: 960px) { .stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stappen { grid-template-columns: 1fr; } }

/* Componenten */
.comp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.comp div { border: 1px solid var(--lijn); border-radius: var(--r); padding: 1.4rem 1.5rem; background: var(--wit); }
.comp h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.comp p { color: var(--grijs); font-size: 1rem; }
.comp small { display: block; margin-top: .6rem; color: var(--geel-donker); font-weight: 600; font-size: .9rem; }
.voetnoot { margin-top: 1.5rem; color: var(--grijs); font-size: .9375rem; }
@media (max-width: 900px) { .comp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .comp { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 2.25rem; max-width: 820px; border-top: 1px solid var(--lijn); }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-family: var(--kop); font-weight: 600; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.05rem; font-size: 1.6rem; line-height: 1; color: var(--groen); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.4rem; color: var(--grijs); max-width: 70ch; }

/* Contact */
.contact { background: var(--graf); color: var(--wit); }
.contact .h2 { color: var(--wit); }
.contact .lead { color: var(--staal); }
.contact__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.contact__item { border: 1px solid #2b3240; border-radius: var(--r); padding: 1.5rem; text-decoration: none; color: var(--wit); display: flex; flex-direction: column; gap: .35rem; transition: border-color .15s, background .15s; }
a.contact__item:hover { border-color: var(--geel); background: var(--graf-2); color: var(--wit); }
.contact__item span { font-family: var(--kop); font-size: .85rem; color: var(--groen-licht); }
.contact__item strong { font-size: 1.15rem; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 800px) { .contact__raster { grid-template-columns: 1fr; } }

/* Voettekst */
.voet { background: var(--graf); border-top: 1px solid var(--graf-2); color: var(--staal); font-size: .9375rem; padding: 2rem 0; }
.voet__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.voet img { height: 26px; width: auto; }
.voet a { color: var(--wit); }

/* Vaste balk op de telefoon */
.belbalk { display: none; }
@media (max-width: 720px) {
	.belbalk { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--wit); border-top: 1px solid var(--lijn); box-shadow: 0 -8px 24px rgb(20 24 31 / .12); }
	.belbalk .knop { flex: 1; }
	body { padding-bottom: 80px; }
	.kop__nav .knop { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .schema .stroom { animation: none; } * { transition: none !important; } }
