/* =========================================================
   Powerfi.nl – stylesheet
   1. Tokens
   2. Basis
   3. Hulpklassen
   4. Componenten (knoppen, iconen, lijsten, tags, meter)
   5. Header
   6. Hero
   7. Vertrouwen
   8. Secties en kaarten
   9. Merken
   10. Keuzehulp
   11. Producten
   12. Stappen
   13. Veelgestelde vragen
   14. Adviesaanvraag
   15. Footer
   16. Mobiele actiebalk
   17. Responsive (tablet en mobiel)
   ========================================================= */


/* 1. Tokens
   --------------------------------------------------------- */
:root {
  /* Kleuren */
  --color-ink: #0F1D1A;          /* hoofdtekst en donkere vlakken */
  --color-ink-soft: #18302A;     /* kaart op donkere achtergrond */
  --color-graphite: #2B3532;     /* Sigenergy-kaart */
  --color-ground: #F4F5F0;       /* paginaachtergrond */
  --color-surface: #FFFFFF;
  --color-sand: #E9ECE4;         /* productfoto-vlak */
  --color-line: #DDE0D8;
  --color-line-strong: #B9BFB4;
  --color-muted: #4A5450;        /* secundaire tekst op licht */
  --color-muted-on-dark: #C9D1CD;/* secundaire tekst op donker */
  --color-accent: #C8F03C;       /* limoen, altijd met donkere tekst */

  /* Typografie */
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  /* Maten */
  --container: 1240px;
  --gutter: 24px;
  --section-space: clamp(64px, 9vw, 104px);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-pill: 999px;
}


/* 2. Basis
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-ink);
  background: var(--color-ground);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img, svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

address {
  font-style: normal;
}


/* 3. Hulpklassen
   --------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
}


/* 4. Componenten
   --------------------------------------------------------- */

/* Iconen: lijn-iconen die de tekstkleur overnemen */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--lg {
  width: 26px;
  height: 26px;
}

/* Knoppen */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.button--accent {
  background: var(--color-accent);
  color: var(--color-ink);
}

.button--accent:hover {
  background: #B5DD2A;
}

.button--dark {
  background: var(--color-ink);
  color: #fff;
}

.button--dark:hover {
  background: #23332F;
}

.button--outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.button--outline-light:hover {
  border-color: #fff;
}

.button--outline-dark {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.button--outline-dark:hover {
  background: var(--color-ink);
  color: #fff;
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

.button--block {
  width: 100%;
  min-height: 54px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Tekstlink met onderstreping */
.text-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

/* Vinkjeslijst */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.3em;
  width: 7px;
  height: 12px;
  border: solid currentColor;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.check-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.check-list--small {
  gap: 8px;
  font-size: 15px;
}

/* Labels */
.pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--color-muted-on-dark);
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font-size: 13px;
  font-weight: 600;
}

.tag--light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-muted-on-dark);
  font-size: 12px;
}

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 15px;
}

/* Voortgangsbalk */
.meter {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.meter__fill {
  height: 100%;
  width: var(--value, 50%);
  border-radius: inherit;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

/* Batterijtoren (illustratie) */
.tower {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 108px;
}

.tower__cap,
.tower__module,
.tower__unit {
  border: 1px solid transparent;
}

.tower__cap {
  height: 58px;
  border-radius: 12px 12px 4px 4px;
}

.tower__module {
  height: 34px;
  border-radius: 4px;
}

.tower__module:last-child {
  border-radius: 4px 4px 12px 12px;
}

.tower--dark .tower__cap {
  background: #2B4A42;
  border-color: rgba(255, 255, 255, 0.12);
  position: relative;
}

.tower--dark .tower__cap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 3px;
  margin: -1.5px 0 0 -11px;
  border-radius: 3px;
  background: var(--color-accent);
}

.tower--dark .tower__module {
  background: #24403A;
  border-color: rgba(255, 255, 255, 0.1);
}

.tower--sigenergy .tower__cap { background: var(--color-graphite); }
.tower--sigenergy .tower__module { background: #3A4541; }
.tower--sigenergy .tower__module--charger { height: 40px; background: #4A5652; }

.tower--ecoflow { width: 120px; }
.tower--ecoflow .tower__cap { height: 52px; background: #fff; border-color: var(--color-line-strong); }
.tower--ecoflow .tower__module { height: 36px; background: #F7F8F4; border-color: var(--color-line-strong); }

.tower--compact { width: 132px; }
.tower__unit {
  height: 70px;
  border-radius: 14px;
  background: #fff;
  border-color: var(--color-line-strong);
}


/* 5. Header
   --------------------------------------------------------- */
.site-header {
  background: var(--color-ground);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--color-accent);
  color: var(--color-ink);
}

.logo__mark .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.logo__tld {
  color: #5B6661;
}

/* Menu-wrapper: op desktop één rij met navigatie en acties */
.site-header__menu {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

/* Menuknop: alleen op mobiel zichtbaar (zie sectie 16) */
.nav-toggle__button {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

/* Hamburger-icoon met drie streepjes, wordt een kruis als het menu open is */
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle__icon {
  position: relative;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after  { top: 6px; }

.nav-toggle:checked + .nav-toggle__button .nav-toggle__icon {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle__button .nav-toggle__icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle__button .nav-toggle__icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle:focus-visible + .nav-toggle__button {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
}

.logo--light .logo__tld {
  color: #AEB8B3;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 15px;
  font-weight: 500;
}

.main-nav a {
  padding: 10px 0;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}


/* 6. Hero
   --------------------------------------------------------- */
.hero {
  background: var(--color-ink);
  color: #fff;
  padding: clamp(56px, 8vw, 80px) 0 clamp(64px, 9vw, 88px);
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero__text {
  flex: 1 1 520px;
  min-width: 0;
}

.hero__title {
  margin: 24px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 36px;
  font-size: 1.2rem;
  color: var(--color-muted-on-dark);
}

.hero .check-list {
  margin-top: 40px;
  font-size: 15px;
  color: var(--color-muted-on-dark);
}

.hero .check-list li::before {
  border-color: var(--color-accent);
}

/* App-kaart in de hero */
.energy-card {
  flex: 1 1 400px;
  min-width: 0;
  max-width: 520px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.energy-card__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-muted-on-dark);
}

.energy-card__battery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px;
  margin: 28px 0 24px;
}

.energy-card__level {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.energy-card__label {
  font-size: 14px;
  color: var(--color-muted-on-dark);
}

.energy-card__percent {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.energy-card__percent span {
  font-size: 28px;
}

.energy-card__note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-muted-on-dark);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-muted-on-dark);
}

.flow-list__item span {
  flex: 1;
  color: #fff;
}

.flow-list__item--active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.flow-list__item--active .icon {
  color: var(--color-accent);
}


/* 7. Vertrouwen
   --------------------------------------------------------- */
.trust {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.trust__item {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust__item strong,
.trust__item span {
  display: block;
}

.trust__item span {
  font-size: 14px;
  color: var(--color-muted);
}


/* 8. Secties en kaarten
   --------------------------------------------------------- */
.section {
  padding: var(--section-space) 0;
}

.section--flush-top {
  padding-top: 0;
}

.section--white {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section--dark {
  background: var(--color-ink);
  color: #fff;
}

.section__intro {
  max-width: 760px;
}

.kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section__title--spaced {
  max-width: 760px;
  margin-bottom: 40px;
}

.section__lead {
  max-width: 40rem;
  margin-top: 16px;
  font-size: 1.12rem;
  color: var(--color-muted);
}

.section--dark .section__lead {
  color: var(--color-muted-on-dark);
}

.card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
}

.info-card {
  flex: 1 1 300px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.info-card__when {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}

.info-card h3 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.info-card p:last-child {
  color: var(--color-muted);
}

.info-card--dark {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.info-card--dark .info-card__when {
  color: var(--color-accent);
}

.info-card--dark p:last-child {
  color: var(--color-muted-on-dark);
}


/* 9. Merken
   --------------------------------------------------------- */
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.brand-card {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
}

.brand-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}

.brand-card__lead {
  font-size: 1.1rem;
}

.brand-card__subhead {
  font-weight: 600;
}

.brand-card--sigenergy {
  background: var(--color-graphite);
  color: #fff;
}

.brand-card--sigenergy .brand-card__lead,
.brand-card--sigenergy .check-list {
  color: #D3DAD6;
}

.brand-card--sigenergy .check-list li::before {
  border-color: var(--color-accent);
}

.brand-card--sigenergy .text-link {
  border-color: var(--color-accent);
}

.brand-card--ecoflow {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}

.brand-card--ecoflow .brand-card__lead,
.brand-card--ecoflow .check-list {
  color: var(--color-muted);
}

.brand-card--ecoflow .check-list li::before {
  border-color: var(--color-ink);
}


/* 10. Keuzehulp
   De uitkomst wordt met CSS (:has) bepaald, zonder JavaScript.
   --------------------------------------------------------- */
.advisor__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: stretch;
}

.advisor__questions {
  flex: 1 1 520px;
  min-width: 0;
}

.advisor__questions .section__lead {
  margin-bottom: 36px;
}

.choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.choice legend {
  margin-bottom: 12px;
  font-weight: 600;
}

/* Keuzeknoppen: radio verborgen, label als knop */
.choice__option input,
.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 88px;
  padding: 0 22px;
  border: 1.5px solid var(--color-line-strong);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  font-weight: 600;
  cursor: pointer;
}

.choice__option span:hover {
  border-color: var(--color-ink);
}

.choice__option input:checked + span {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}

.choice__option input:focus-visible + span,
.segmented input:focus-visible + span {
  outline: 3px solid var(--color-ink);
  outline-offset: 3px;
}

.advisor__result {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: #fff;
}

.advisor__label {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-muted-on-dark);
}

.advisor__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.advisor__value small {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}

.advisor__ev-note {
  display: none;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: #D3DAD6;
}

.advisor__result .button {
  margin-top: auto;
}

.advisor__disclaimer {
  font-size: 14px;
  color: var(--color-muted-on-dark);
}

/* Uitkomst: standaard verborgen, de juiste waarde wordt getoond */
.kwh {
  display: none;
}

/* 5 kWh: 1–2 personen, geen warmtepomp */
.advisor:has(#size-small:checked):has(#heat-no:checked) .kwh--5 { display: inline; }
.advisor:has(#size-small:checked):has(#heat-no:checked) .advisor__meter { width: 25%; }

/* 10 kWh: 1–2 personen met warmtepomp, of 3–4 personen zonder */
.advisor:has(#size-small:checked):has(#heat-yes:checked) .kwh--10,
.advisor:has(#size-mid:checked):has(#heat-no:checked) .kwh--10 { display: inline; }
.advisor:has(#size-small:checked):has(#heat-yes:checked) .advisor__meter,
.advisor:has(#size-mid:checked):has(#heat-no:checked) .advisor__meter { width: 50%; }

/* 15 kWh: 3–4 personen met warmtepomp, of 5+ zonder */
.advisor:has(#size-mid:checked):has(#heat-yes:checked) .kwh--15,
.advisor:has(#size-large:checked):has(#heat-no:checked) .kwh--15 { display: inline; }
.advisor:has(#size-mid:checked):has(#heat-yes:checked) .advisor__meter,
.advisor:has(#size-large:checked):has(#heat-no:checked) .advisor__meter { width: 75%; }

/* 20 kWh: 5+ personen met warmtepomp */
.advisor:has(#size-large:checked):has(#heat-yes:checked) .kwh--20 { display: inline; }
.advisor:has(#size-large:checked):has(#heat-yes:checked) .advisor__meter { width: 100%; }

/* Tip voor EV-rijders */
.advisor:has(#ev-yes:checked) .advisor__ev-note {
  display: block;
}


/* 11. Producten
   Het merkfilter werkt met CSS (:has), zonder JavaScript.
   --------------------------------------------------------- */
.products__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #E6E9E1;
}

.segmented span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.segmented input:checked + span {
  background: var(--color-ink);
  color: #fff;
}

.products:has(#brand-sigenergy:checked) .product[data-brand="ecoflow"],
.products:has(#brand-ecoflow:checked) .product[data-brand="sigenergy"] {
  display: none;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product {
  flex: 1 1 270px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.product__visual {
  position: relative;
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  background: var(--color-sand);
}

.product__visual .tag {
  position: absolute;
  top: 16px;
  left: 16px;
}

.product__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.product__brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
}

.product__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.product__desc {
  font-size: 15px;
  color: var(--color-muted);
}

.product__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product__price-label {
  display: block;
  font-size: 13px;
  color: var(--color-muted);
}

.product__price {
  font-size: 1.2rem;
}


/* 12. Stappen
   --------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  counter-reset: step;
}

.steps__item {
  flex: 1 1 250px;
  padding-top: 24px;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  counter-increment: step;
}

.steps__item:first-child {
  border-top-color: var(--color-accent);
}

.steps__item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-muted-on-dark);
}

.steps__item:first-child::before {
  color: var(--color-accent);
}

.steps__item h3 {
  margin: 10px 0 8px;
  font-size: 1.3rem;
}

.steps__item p {
  color: var(--color-muted-on-dark);
}


/* 13. Veelgestelde vragen
   --------------------------------------------------------- */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.faq__intro {
  flex: 1 1 340px;
  min-width: 0;
}

.faq__intro .section__lead {
  margin-bottom: 24px;
}

.faq__list {
  flex: 999 1 560px;
  min-width: 0;
  border-top: 1px solid var(--color-line-strong);
}

.faq__item {
  border-bottom: 1px solid var(--color-line-strong);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* Pijltje dat draait als de vraag open is */
.faq__item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}

.faq__item[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq__item p {
  max-width: 640px;
  padding-bottom: 24px;
  color: var(--color-muted);
}


/* 14. Adviesaanvraag
   --------------------------------------------------------- */
.cta {
  padding-bottom: var(--section-space);
}

.cta__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background: var(--color-accent);
}

.cta__text {
  flex: 1 1 420px;
  min-width: 0;
}

.cta__title {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cta__text p {
  max-width: 30rem;
  font-size: 1.15rem;
  color: #1F2E2A;
}

.lead-form {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--short {
  flex-basis: 140px;
}

.field label {
  font-weight: 600;
  font-size: 14px;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--color-ink);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-ink);
  font: inherit;
}

.cta :focus-visible {
  outline-color: var(--color-ink);
}


/* 15. Footer
   --------------------------------------------------------- */
.site-footer {
  padding: 72px 0 32px;
  background: var(--color-ink);
  color: #fff;
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__about {
  flex: 1 1 280px;
  max-width: 360px;
}

.site-footer__about p {
  margin-top: 18px;
  color: #AEB8B3;
}

.site-footer__col {
  flex: 0 1 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #AEB8B3;
}

.site-footer__col h2 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.site-footer__col a {
  text-decoration: none;
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: #AEB8B3;
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}


/* 16. Mobiele actiebalk
   Standaard verborgen, op mobiel vast onderin beeld.
   --------------------------------------------------------- */
.mobile-bar {
  display: none;
}


/* 17. Responsive
   Breekpunten:
   - 960px: tablet, header klapt in tot menuknop
   - 720px: mobiel, actiebalk, productcarrousel
   - 420px: kleine telefoons
   --------------------------------------------------------- */

/* Tablet en kleiner */
@media (max-width: 960px) {

  /* Header: logo + menuknop, menu klapt uit onder de balk */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle__button {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header__menu {
    display: none;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 0 12px;
  }

  .nav-toggle:checked ~ .site-header__menu {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    gap: 0;
    font-size: 17px;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-header__actions .button {
    min-height: 52px;
  }

  /* Ankerlinks niet onder de vaste header laten vallen */
  html {
    scroll-padding-top: 76px;
  }

  /* Hero: tekst en app-kaart onder elkaar */
  .hero__inner {
    gap: 40px;
  }

  .energy-card {
    max-width: none;
  }
}

/* Mobiel */
@media (max-width: 720px) {

  :root {
    --gutter: 18px;
    --radius-lg: 22px;
  }

  /* Ruimte vrijhouden voor de actiebalk onderin */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--color-surface);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 -6px 20px rgba(15, 29, 26, 0.08);
  }

  .mobile-bar .button {
    flex: 1;
    min-height: 50px;
    padding: 0 12px;
  }

  .mobile-bar .button--outline-dark {
    flex: 0 1 auto;
  }

  /* Hero */
  .hero__lead {
    font-size: 1.08rem;
    margin-bottom: 28px;
  }

  .hero .button-row .button {
    flex: 1 1 100%;
    min-height: 54px;
  }

  .hero .check-list {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .energy-card {
    padding: 20px;
  }

  .energy-card__battery {
    gap: 20px;
    margin: 20px 0;
    flex-wrap: nowrap;
  }

  .energy-card .tower {
    width: 76px;
  }

  .energy-card .tower__cap { height: 42px; }
  .energy-card .tower__module { height: 24px; }

  .energy-card__percent {
    font-size: 52px;
  }

  .energy-card__percent span {
    font-size: 22px;
  }

  .flow-list__item {
    padding: 12px 14px;
    font-size: 15px;
  }

  /* Vertrouwen: twee kolommen */
  .trust__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .trust__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
  }

  .trust__item span {
    font-size: 13px;
  }

  /* Secties */
  .section__lead {
    font-size: 1.05rem;
  }

  .card-row {
    margin-top: 32px;
    gap: 14px;
  }

  .info-card {
    padding: 24px;
  }

  .info-card h3 {
    font-size: 1.35rem;
  }

  .brand-card__name {
    font-size: 2rem;
  }

  .brand-card__lead {
    font-size: 1.02rem;
  }

  /* Keuzehulp: knoppen vullen de breedte */
  .advisor__inner {
    gap: 32px;
  }

  .advisor__questions .section__lead {
    margin-bottom: 28px;
  }

  .choice {
    margin-bottom: 24px;
  }

  .choice__option {
    flex: 1 1 0;
  }

  .choice__option span {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
  }

  .advisor__value small {
    font-size: 1.6rem;
  }

  /* Producten: horizontaal swipen */
  .products__header {
    margin-bottom: 24px;
  }

  .segmented {
    width: 100%;
  }

  .segmented label {
    flex: 1;
  }

  .segmented span {
    width: 100%;
    justify-content: center;
    padding: 0 10px;
  }

  .product-grid {
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    -webkit-overflow-scrolling: touch;
  }

  .product {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .product__visual {
    height: 200px;
  }

  /* Stappen */
  .steps {
    margin-top: 32px;
    gap: 28px;
  }

  /* Vragen */
  .faq {
    gap: 28px;
  }

  .faq__item summary {
    padding: 20px 0;
    font-size: 1.05rem;
  }

  /* Adviesaanvraag */
  .cta__box {
    gap: 28px;
    border-radius: var(--radius-lg);
  }

  .cta__text p {
    font-size: 1.05rem;
  }

  /* Footer: twee kolommen */
  .site-footer {
    padding-top: 56px;
  }

  .site-footer__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .site-footer__about {
    grid-column: 1 / -1;
    max-width: none;
  }

  .site-footer__bottom {
    flex-direction: column;
    margin-top: 40px;
  }
}

/* Kleine telefoons */
@media (max-width: 420px) {

  .logo__text {
    font-size: 22px;
  }

  .logo__mark {
    width: 30px;
    height: 30px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .trust__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust__item {
    flex-direction: row;
    align-items: center;
  }

  .product {
    flex-basis: 88%;
  }

  .site-footer__columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
