/* ==========================================================================
   BatterijBaas — style.css
   Stijlgids v0.1  (zie STYLEGUIDE.md)
   ========================================================================== */

:root {
  --bg: #0F1A14;
  --bg-licht: #F6F8F5;
  --wit: #FFFFFF;
  --donker: #0B1410;
  --groen: #1E7A4D;
  --groen-2: #13633D;
  --energie: #9BE564;
  --energie-2: #C6F49A;
  --tekst: #14201A;
  --tekst-2: #5A6B62;
  --tekst-inv: #E8F0EA;
  --lijn: #DDE5DF;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(15, 26, 20, 0.10);
  --shadow-sm: 0 4px 16px rgba(15, 26, 20, 0.08);
  --maxw: 1180px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--bg-licht);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section[id] { scroll-margin-top: 90px; }
.section--dark { background: var(--bg); color: var(--tekst-inv); }
.center { text-align: center; }
.overline {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--groen);
  margin-bottom: 14px;
}
.section--dark .overline { color: var(--energie); }
.lead { font-size: 1.05rem; color: var(--tekst-2); max-width: 60ch; }
.section--dark .lead { color: var(--tekst-inv); opacity: 0.85; }

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--energie); color: var(--donker); }
.btn--primary:hover { background: var(--energie-2); box-shadow: 0 8px 24px rgba(155, 229, 100, 0.35); }
.btn--ghost { background: transparent; color: var(--tekst-inv); border-color: rgba(232, 240, 234, 0.35); }
.btn--ghost:hover { border-color: var(--energie); color: var(--energie); }
.btn--solid { background: var(--groen); color: #fff; }
.btn--solid:hover { background: var(--groen-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--tekst-inv); transition: color 0.3s ease; }
.logo__mark-img { height: 46px; width: auto; display: block; flex: 0 0 auto; }
.footer__brand .logo__mark-img { height: 52px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--energie);
  display: grid; place-items: center;
  color: var(--donker); font-size: 1.1rem;
}
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--tekst-inv); opacity: 0.9; transition: opacity 0.2s, color 0.2s; white-space: nowrap; }
.nav__cta { padding: 11px 18px; }
.nav a:hover { opacity: 1; color: var(--energie); }
.nav__cta { margin-left: 4px; }

/* CTA-knop in de nav houdt altijd donkere knoptekst (niet de lichte nav-kleur) */
.nav a.btn--primary,
.nav a.btn--primary:hover,
.site-header.is-solid .nav a.btn--primary { color: var(--donker); opacity: 1; }

/* Scrolled / solid state */
.site-header.is-solid { background: var(--wit); box-shadow: var(--shadow-sm); }
.site-header.is-solid .logo,
.site-header.is-solid .nav a { color: var(--tekst); }
.site-header.is-solid .nav a:hover { color: var(--groen); }

.nav a.is-active { color: var(--energie); opacity: 1; }
.site-header.is-solid .nav a.is-active { color: var(--groen); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: 0.2s; }
.site-header .nav-toggle { color: var(--tekst-inv); }
.site-header.is-solid .nav-toggle { color: var(--tekst); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 80% -10%, #1c3326 0%, var(--bg) 55%);
  color: var(--tekst-inv);
  padding: 160px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: 40px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(155, 229, 100, 0.18), transparent 70%);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 .accent { color: var(--energie); }
.hero p { font-size: 1.08rem; opacity: 0.88; max-width: 46ch; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 240, 234, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero__card h3 { color: var(--energie); }
.hero__card ul { list-style: none; margin: 0; padding: 0; }
.hero__card li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid rgba(232, 240, 234, 0.1); }
.hero__card li:last-child { border-bottom: 0; }
.hero__card li::before { content: "⚡"; color: var(--energie); }

/* ---------- USP strip ---------- */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.usp { text-align: center; }
.usp__num { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--groen); }
.section--dark .usp__num { color: var(--energie); }
.usp__label { color: var(--tekst-2); font-size: 0.95rem; }
.section--dark .usp__label { color: var(--tekst-inv); opacity: 0.8; }

/* ---------- Cards / diensten ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--energie-2);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--groen-2);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--groen); color: #fff; transition: background 0.2s ease, color 0.2s ease; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--tekst-2); margin-bottom: 0; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--groen); font-weight: 600; font-size: 0.9rem; transition: gap 0.2s ease; }
a.card { display: flex; flex-direction: column; }
a.card .card__more { margin-top: auto; padding-top: 14px; }
a.card:hover .card__more { gap: 10px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 16px; }
.step__num {
  counter-increment: step;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--groen); color: #fff;
  display: grid; place-items: center; margin-bottom: 14px;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--tekst-2); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--energie); color: var(--donker); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); text-align: center; }
.cta-band h2 { color: var(--donker); }
.cta-band p { color: #1c3320; max-width: 52ch; margin-inline: auto; }

/* ==========================================================================
   Subpagina-componenten (gedeeld door alle templates)
   ========================================================================== */

/* Actieve nav-item (gezet via main.js) */

/* ---------- Page hero (subpagina's) ---------- */
.page-hero {
  position: relative;
  background: radial-gradient(120% 90% at 85% -20%, #1c3326 0%, var(--bg) 55%);
  color: var(--tekst-inv);
  padding: 150px 0 64px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -140px; top: 20px;
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(155, 229, 100, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.8rem); margin-bottom: 0.4em; }
.page-hero p { font-size: 1.05rem; opacity: 0.88; max-width: 60ch; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; margin-bottom: 18px; opacity: 0.8; }
.breadcrumb a { color: var(--energie); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.6; }

/* ---------- Prose / content ---------- */
.content-cols { display: grid; grid-template-columns: 1.7fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--tekst); }
.prose ul { padding-left: 1.1em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--groen); text-decoration: underline; }
.prose strong { color: var(--donker); }

/* Sticky CTA-kaart naast content */
.aside-card {
  position: sticky; top: 100px;
  background: var(--bg); color: var(--tekst-inv);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.aside-card h3 { color: var(--energie); margin-bottom: 8px; }
.aside-card p { opacity: 0.85; font-size: 0.95rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.aside-card .aside-tel { display: block; text-align: center; margin-top: 12px; font-size: 0.92rem; opacity: 0.85; }
.aside-card .aside-tel:hover { color: var(--energie); }

/* ---------- Brand / merk-grid (dealer-overzicht) ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.brand-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--wit); border: 1px solid var(--lijn);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--energie); }
.brand-card__logo {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--donker);
}
.brand-card__tag {
  display: inline-flex; align-self: flex-start; align-items: center;
  margin-top: -4px; padding: 3px 11px; border-radius: 999px;
  background: var(--energie-2); color: var(--groen-2);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em;
}
.brand-card p { color: var(--tekst-2); font-size: 0.92rem; line-height: 1.55; margin: 0; flex: 1; }
.brand-card__link { color: var(--groen); font-weight: 600; font-size: 0.92rem; display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.brand-card:hover .brand-card__link { gap: 9px; }

/* Badge boven de titel in merk-hero */
.hero-badge {
  display: inline-flex; align-items: center; margin-bottom: 16px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(155, 229, 100, 0.14); border: 1px solid rgba(155, 229, 100, 0.35);
  color: var(--energie); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
}

/* Verwante merken (chips) */
.related-brands h2 { margin-bottom: 6px; }
.related-brands .lead { margin-bottom: 22px; }
.brand-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-chip {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--radius);
  padding: 16px 18px; font-family: var(--font-display); font-weight: 700; color: var(--donker);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-chip span { font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--tekst-2); }
.brand-chip:hover { border-color: var(--energie); transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 760px) { .brand-chips { grid-template-columns: 1fr; } }

/* ---------- Juridische pagina's (voorwaarden / privacy) ---------- */
.legal-prose { max-width: 820px; margin: 0 auto; }
.legal-prose h2 { font-size: 1.12rem; margin: 34px 0 10px; color: var(--tekst); scroll-margin-top: 96px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { color: var(--tekst-2); line-height: 1.7; margin: 0 0 12px; }
.legal-prose p strong { color: var(--tekst); font-weight: 600; }
.legal-prose a { color: var(--groen); font-weight: 500; }
.legal-defs { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; }
.legal-defs li { color: var(--tekst-2); line-height: 1.6; }
.legal-defs li strong { color: var(--tekst); font-weight: 600; }
.legal-updated { margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--lijn); font-size: 0.85rem; color: var(--tekst-2); font-style: italic; }

/* ---------- Dealer / merk-pagina ---------- */
.dealer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(232, 240, 234, 0.16);
  border-radius: 999px; padding: 8px 18px; margin-bottom: 20px;
  font-family: var(--font-display); font-weight: 700; color: var(--energie);
}
.spec-list { margin: 0; }
.spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--lijn);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: var(--tekst-2); margin: 0; }
.spec-row dd { margin: 0; font-weight: 600; color: var(--tekst); text-align: right; }

/* Voordelen-lijst (check in een zacht-groen badge) */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.feature-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--tekst); line-height: 1.5; }
.feature-list svg {
  flex: 0 0 auto; width: 22px; height: 22px; padding: 5px;
  border-radius: 50%; background: var(--energie-2); color: var(--groen-2);
  margin-top: 1px;
}
/* Korte lijstjes naast elkaar in twee kolommen */
.feature-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 32px; }
@media (max-width: 600px) { .feature-list--cols { grid-template-columns: 1fr; } }

/* ---------- FAQ-accordion (native <details>) ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--lijn); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--tekst);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+"; position: absolute; right: 0; width: 22px; height: 22px;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--groen-2); z-index: 1;
}
.faq-item[open] summary::before { content: "–"; }
.faq-item p { color: var(--tekst-2); margin: 0; padding: 0 0 22px; max-width: 68ch; }

/* ---------- Contactgegevens-blok ---------- */
.contact-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info__icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px;
  background: var(--energie-2); color: var(--groen-2); display: grid; place-items: center;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label { font-size: 0.82rem; color: var(--tekst-2); }
.contact-info__value { font-weight: 600; color: var(--tekst); }
.contact-info__value a:hover { color: var(--groen); }

/* ---------- CTA-band (smalle variant, content-pagina's) ---------- */
.cta-slim {
  background: var(--energie); color: var(--donker);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-slim h2 { color: var(--donker); margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-slim p { color: #1c3320; margin: 4px 0 0; }
.cta-slim .btn { flex: 0 0 auto; }

/* ==========================================================================
   Contact / lead form
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact__pitch h2 { color: var(--tekst-inv); }
.contact__pitch .lead { margin-bottom: 28px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--tekst-inv); opacity: 0.92; }
.trust-list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--energie); margin-top: 2px; }
.contact__proof { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(232, 240, 234, 0.14); display: flex; align-items: center; gap: 14px; }
.contact__proof strong { color: var(--energie); font-family: var(--font-display); font-size: 1.4rem; line-height: 1; }
.contact__proof span { font-size: 0.92rem; opacity: 0.8; color: var(--tekst-inv); }

.form-card {
  background: var(--wit);
  color: var(--tekst);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.form-card h3 { color: var(--tekst); }
.form-card__head { margin-bottom: 22px; }
.form-card__head h3 { font-size: 1.3rem; margin-bottom: 4px; }
.form-card__head p { color: var(--tekst-2); font-size: 0.95rem; margin: 0; }

.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 16px; display: grid; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--tekst); }
.field .req { color: var(--groen); }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--tekst);
  background: var(--bg-licht);
  border: 1.5px solid var(--lijn);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa89f; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--groen);
  background: var(--wit);
  box-shadow: 0 0 0 3px rgba(30, 122, 77, 0.14);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; }

/* Segmented radio (particulier / zakelijk) */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border: 1.5px solid var(--lijn); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; color: var(--tekst-2);
  transition: all 0.15s ease;
}
.segmented label:hover { border-color: var(--groen); }
.segmented input:checked + label {
  border-color: var(--groen); background: var(--energie-2); color: var(--donker);
}
.segmented input:focus-visible + label { box-shadow: 0 0 0 3px rgba(30, 122, 77, 0.18); }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--tekst-2); }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--groen); flex: 0 0 auto; }
.consent a { color: var(--groen); text-decoration: underline; }

.lead-form .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; }
.form-note { text-align: center; font-size: 0.82rem; color: var(--tekst-2); margin: 0; }
.form-note svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--groen); }

/* Success state */
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.is-visible { display: block; }
.lead-form.is-hidden { display: none; }
.form-success__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--energie-2); color: var(--groen-2);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--tekst-2); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: var(--tekst-inv); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { opacity: 0.75; max-width: 32ch; }
.footer h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 14px; color: var(--energie); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { opacity: 0.8; font-size: 0.95rem; }
.footer a:hover { opacity: 1; color: var(--energie); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(232, 240, 234, 0.12);
  font-size: 0.85rem; opacity: 0.7;
}

/* ==========================================================================
   Modal + Merkcheck-wizard ("Welk merk past bij mij?")
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: flex-end; justify-content: center;
  background: rgba(8, 14, 10, 0.6); backdrop-filter: blur(8px);
}
.modal.is-open { display: flex; }
.modal__dialog {
  position: relative; width: 100%; max-width: 640px; max-height: 92vh;
  background: var(--wit); color: var(--tekst);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  display: flex; flex-direction: column; overflow: hidden;
  animation: modalUp 0.25s ease;
}
@keyframes modalUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal__body { overflow-y: auto; padding: 34px 28px 30px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--lijn); background: var(--wit); color: var(--tekst-2);
  display: grid; place-items: center; cursor: pointer; transition: all 0.15s ease;
}
.modal__close:hover { color: var(--tekst); background: #f1f5f2; }
@media (min-width: 600px) {
  .modal { align-items: center; padding: 24px; }
  .modal__dialog { border-radius: 22px; }
  .modal__body { padding: 40px; }
}

.quiz h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.quiz__sub { color: var(--tekst-2); margin: 10px 0 0; font-size: 0.95rem; }
.quiz__pills { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.quiz__pill { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--groen-2); }
.quiz__pill i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--energie-2); }
.quiz__pill i svg { width: 9px; height: 9px; color: var(--groen-2); }
.quiz__start { margin-top: 26px; }

.quiz__progress { display: flex; gap: 8px; margin-bottom: 24px; }
.quiz__progress span { height: 6px; flex: 1; border-radius: 999px; background: var(--lijn); transition: background 0.2s ease; }
.quiz__progress span.on { background: var(--groen); }

.quiz__q { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 18px; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; padding: 16px 18px;
  border: 1.5px solid var(--lijn); border-radius: 12px; background: var(--wit);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--tekst);
  cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.quiz-option:hover { border-color: var(--groen); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.quiz-option svg { flex: 0 0 auto; color: var(--tekst-2); }
.quiz-option:hover svg { color: var(--groen); }

.quiz-back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--tekst-2);
  transition: color 0.15s ease;
}
.quiz-back:hover { color: var(--tekst); }

.quiz-result__badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--groen-2); margin-bottom: 10px; }
.quiz-result__badge svg { flex: 0 0 auto; width: 14px; height: 14px; }
.quiz-result__card {
  border: 1px solid var(--energie); background: rgba(155, 229, 100, 0.14);
  border-radius: 12px; padding: 16px 18px;
}
.quiz-result__card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 4px; }
.quiz-result__card > p { margin: 0 0 12px; color: var(--tekst); font-size: 0.9rem; line-height: 1.5; }
.quiz-result__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.quiz-result__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.86rem; line-height: 1.45; color: var(--tekst); }
.quiz-result__list svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--groen); margin-top: 2px; }
.quiz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quiz-divider { border: 0; border-top: 1px solid var(--lijn); margin: 18px 0; }
.quiz-form { gap: 13px; }
.quiz-form h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 4px; }
.quiz-form > p { color: var(--tekst-2); font-size: 0.88rem; margin: 0 0 6px; }
.quiz-restart { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; color: var(--tekst-2); }
.quiz-restart:hover { color: var(--tekst); }

/* ==========================================================================
   Projecten
   ========================================================================== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  display: flex; flex-direction: column;
  background: var(--wit); border: 1px solid var(--lijn);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card__media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(120% 120% at 70% 5%, #1c3326, var(--bg));
  color: var(--energie);
}
.project-card__media svg { width: 54px; height: 54px; opacity: 0.85; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.project-tag { background: rgba(255, 255, 255, 0.92); color: var(--donker); font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.project-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.project-card__body h3 { margin-bottom: 6px; }
.project-card__body p { color: var(--tekst-2); font-size: 0.92rem; margin: 0; flex: 1; }
.project-card__stats { display: flex; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lijn); }
.project-stat strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--groen); }
.project-stat span { font-size: 0.74rem; color: var(--tekst-2); }

/* Vorige / volgende project */
.project-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--lijn); }
.project-pager__link { display: inline-flex; flex-direction: column; gap: 2px; }
.project-pager__link .label { font-size: 0.75rem; font-weight: 600; color: var(--tekst-2); }
.project-pager__link .ttl { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--tekst); transition: color 0.15s ease; }
.project-pager__link:hover .ttl { color: var(--groen); }
.project-pager__prev { grid-column: 1; justify-self: start; text-align: left; }
.project-pager__next { grid-column: 3; justify-self: end; text-align: right; }
.project-pager__all {
  grid-column: 2; justify-self: center;
  border: 1px solid var(--lijn); border-radius: 999px; padding: 9px 18px;
  font-size: 0.85rem; font-weight: 600; color: var(--tekst); white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.project-pager__all:hover { border-color: var(--groen); color: var(--groen); }
@media (max-width: 600px) {
  .project-pager { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 14px; }
  .project-pager__prev, .project-pager__next, .project-pager__all { grid-column: 1; justify-self: center; text-align: center; }
  .project-pager__all { order: -1; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet en kleiner: navigatie inklappen, kolommen versmallen */
@media (max-width: 900px) {
  html, body { overflow-x: hidden; }

  .section { padding: 60px 0; }
  .hero { padding: 116px 0 56px; }
  .page-hero { padding: 112px 0 48px; }

  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero p, .page-hero p, .lead { max-width: 100%; }

  .usps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact__grid { grid-template-columns: 1fr; }
  .content-cols { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }

  .cta-slim { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-slim .btn { width: 100%; justify-content: center; }
}

/* Navigatie klapt eerder in (meer menu-items) dan de grids */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--wit); padding: 20px 24px 28px; gap: 6px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform 0.3s ease; max-height: calc(100dvh - 76px); overflow-y: auto; }
  .nav.is-open { transform: translateY(0); }
  .nav a { color: var(--tekst); padding: 12px 4px; opacity: 1; }
  .nav .btn--primary.nav__cta { margin-top: 10px; width: 100%; justify-content: center; padding: 14px; }
  .nav-toggle { display: block; }
}

/* Telefoon */
@media (max-width: 600px) {
  .field--row { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__bottom { flex-direction: column; }
}

/* Kleine telefoon */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .usps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .card, .form-card, .hero__card, .aside-card { padding: 22px; }
}
