/* ============================================================
   Trust Energy — huisstijl v2
   Palet afgeleid van het logo (blauw/groen yin-yang druppel).
   Display: Space Grotesk · Body: Source Sans 3 · Data: IBM Plex Mono
   ============================================================ */

:root {
  --blauw:       #1D5BA8;
  --blauw-diep:  #123A6D;
  --blauw-nacht: #0C2748;
  --groen:       #5FB335;
  --groen-diep:  #2F7D32;
  --groen-licht: #EAF6E2;
  --blauw-licht: #E8F0FA;
  --inkt:        #14232F;
  --grijs:       #5A6B78;
  --lijn:        #DCE5EC;
  --papier:      #F7FAFB;
  --wit:         #FFFFFF;
  --amber:       #E8A13B;

  --f-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --f-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --r: 14px;
  --schaduw: 0 8px 30px rgba(18, 58, 109, 0.10);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--f-body);
  color: var(--inkt);
  background: var(--papier);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blauw); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }

h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; letter-spacing: -0.015em; }

.mono { font-family: var(--f-mono); font-size: 0.92em; }

/* ── Navbar ─────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo-img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  text-decoration: none; color: var(--inkt); font-weight: 600; font-size: 15.5px;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--blauw); border-bottom-color: var(--groen); }
.nav-cta {
  background: var(--blauw); color: var(--wit) !important; padding: 9px 18px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
}
.nav-cta:hover { background: var(--blauw-diep); border-bottom-color: transparent; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2.5px; background: var(--inkt); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 12px 24px 20px; background: var(--wit); border-bottom: 1px solid var(--lijn); }
.mobile-menu.open { display: flex; }
.mobile-link { text-decoration: none; color: var(--inkt); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--lijn); }

/* ── Hero ───────────────────────────────── */
.hero { background: var(--wit); border-bottom: 1px solid var(--lijn); overflow: hidden; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 72px 24px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--groen-licht); color: var(--groen-diep);
  border: 1px solid #CBE7B6; border-radius: 999px;
  font-weight: 700; font-size: 14px; padding: 7px 16px; margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; max-width: 15ch;
}
.hero-title .accent-vast { color: var(--blauw); }
.hero-title .accent-dyn { color: var(--groen-diep); }
.hero-subtitle {
  margin-top: 22px; font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--grijs); max-width: 56ch;
}
.hero-note { margin: 22px 0 0; color: var(--grijs); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note i { color: var(--groen-diep); }

/* Gateway buttons */
.gateway-buttons { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.gateway-btn {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 18px 24px; border-radius: var(--r); min-width: 280px;
  box-shadow: var(--schaduw); transition: transform .18s ease, box-shadow .18s ease;
}
.gateway-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(18,58,109,.16); }
.btn-thuis { background: var(--blauw); color: var(--wit); }
.btn-ondernemer { background: var(--wit); color: var(--inkt); border: 2px solid var(--blauw); }
.btn-icon { font-size: 24px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.btn-thuis .btn-icon { background: rgba(255,255,255,.15); }
.btn-ondernemer .btn-icon { background: var(--blauw-licht); color: var(--blauw); }
.btn-content { display: flex; flex-direction: column; }
.btn-label { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.btn-desc { font-size: 14px; opacity: .85; }
.btn-arrow { margin-left: auto; opacity: .7; }

/* ── Kwartierstrip (signatuur) ──────────── */
.kwartierstrip { margin-top: 56px; padding-bottom: 8px; }
.strip-head {
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.strip-title { font-family: var(--f-mono); font-size: 13px; color: var(--grijs); letter-spacing: .04em; text-transform: uppercase; }
.strip-legend { font-family: var(--f-mono); font-size: 12.5px; color: var(--grijs); display: flex; gap: 16px; }
.strip-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
.dot-goedkoop { background: var(--groen); }
.dot-duur { background: var(--amber); }
.strip-svg { width: 100%; height: auto; display: block; }
.strip-caption { font-size: 14.5px; color: var(--grijs); margin-top: 10px; }
.strip-caption strong { color: var(--inkt); }

/* ── Secties ────────────────────────────── */
.section { padding: 84px 0; }
.section-wit { background: var(--wit); }
.section-blauw { background: var(--blauw-nacht); color: var(--wit); }
.section-blauw a { color: #9CC4F2; }
.section-header { max-width: 680px; margin-bottom: 48px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--groen-diep); font-weight: 600; display: inline-block; margin-bottom: 14px;
}
.section-blauw .section-tag { color: var(--groen); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
.section-intro { margin-top: 16px; color: var(--grijs); font-size: 1.08rem; }
.section-blauw .section-intro { color: #B9CCE0; }

/* Vergelijking (vs prijsvergelijkers) */
.vergelijk-tabel {
  width: 100%; border-collapse: collapse; background: var(--wit);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--schaduw);
}
.vergelijk-tabel th, .vergelijk-tabel td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.vergelijk-tabel thead th { font-family: var(--f-display); font-size: 16px; background: var(--blauw-licht); }
.vergelijk-tabel thead th:nth-child(3) { background: var(--groen-licht); color: var(--groen-diep); }
.vergelijk-tabel tbody tr:last-child td { border-bottom: none; }
.vergelijk-tabel td:first-child { font-weight: 600; width: 26%; }
.vergelijk-tabel .ja { color: var(--groen-diep); font-weight: 700; }
.vergelijk-tabel .nee { color: var(--grijs); }

/* Stappen */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--r);
  padding: 30px 26px; position: relative;
}
.step-number {
  font-family: var(--f-mono); font-size: 13px; color: var(--blauw);
  background: var(--blauw-licht); border-radius: 999px; padding: 4px 12px;
  display: inline-block; margin-bottom: 16px; font-weight: 600;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--grijs); font-size: 15.5px; }
.step-card i { color: var(--groen-diep); margin-right: 8px; }

/* Batterij CTA */
.battery-card {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--blauw-nacht) 0%, var(--blauw-diep) 100%);
  color: var(--wit); border-radius: 20px; padding: 48px; box-shadow: var(--schaduw);
}
.battery-tag {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(232,161,59,.16);
  color: var(--amber); border-radius: 999px; padding: 6px 15px; font-weight: 700; font-size: 13.5px; margin-bottom: 18px;
}
.battery-card h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.battery-accent { color: var(--groen); }
.battery-card p { color: #B9CCE0; margin-bottom: 24px; }
.battery-btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--groen);
  color: var(--blauw-nacht); font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; font-family: var(--f-display);
}
.battery-btn:hover { background: #74C94A; }
.battery-note { display: block; margin-top: 14px; font-size: 13.5px; color: #8FA9C4; }
.battery-visual { text-align: center; font-size: 90px; color: var(--groen); }

/* Stichting / trust */
.trust-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.trust-facts { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 28px; }
.trust-facts dt { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #8FA9C4; margin-top: 16px; }
.trust-facts dt:first-child { margin-top: 0; }
.trust-facts dd { font-weight: 600; margin-top: 3px; }
.trust-body p { color: #B9CCE0; margin-bottom: 16px; }
.trust-body p strong { color: var(--wit); }

/* Kennis-kaarten */
.kennis-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.kennis-card {
  display: block; background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--r);
  padding: 30px 28px; text-decoration: none; color: var(--inkt);
  transition: transform .18s ease, box-shadow .18s ease;
}
.kennis-card:hover { transform: translateY(-3px); box-shadow: var(--schaduw); }
.kennis-card h3 { font-size: 1.25rem; margin: 12px 0 10px; }
.kennis-card p { color: var(--grijs); font-size: 15.5px; }
.kennis-card .lees { color: var(--blauw); font-weight: 700; display: inline-block; margin-top: 14px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--wit); border: 1px solid var(--lijn); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-family: var(--f-display); font-size: 16.5px; font-weight: 600; text-align: left; color: var(--inkt);
}
.faq-icon { transition: transform .25s; color: var(--blauw); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 24px 22px; color: var(--grijs); }

/* Bottom CTA */
.bottom-cta { text-align: center; }
.bottom-cta .gateway-buttons { justify-content: center; }
.cta-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.cta-subtitle { color: #B9CCE0; margin-top: 14px; }

/* ── Footer ─────────────────────────────── */
footer { background: var(--inkt); color: #C4D0DA; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
footer h4 { color: var(--wit); font-size: 16px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #C4D0DA; text-decoration: none; }
footer a:hover { color: var(--wit); text-decoration: underline; }
.footer-kvk { font-family: var(--f-mono); font-size: 13px; color: #8296A5; margin-top: 14px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: 13.5px; color: #8296A5; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Artikel-layout (kennis / juridisch) ── */
.artikel { background: var(--wit); }
.artikel-kop { border-bottom: 1px solid var(--lijn); padding: 64px 0 40px; background: var(--papier); }
.artikel-kop h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 22ch; }
.artikel-kop .artikel-meta { font-family: var(--f-mono); font-size: 13px; color: var(--grijs); margin-top: 16px; }
.artikel-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 90px; }
.artikel-body h2 { font-size: 1.55rem; margin: 44px 0 14px; }
.artikel-body h3 { font-size: 1.2rem; margin: 32px 0 10px; }
.artikel-body p { margin-bottom: 18px; }
.artikel-body ul, .artikel-body ol { margin: 0 0 18px 22px; }
.artikel-body li { margin-bottom: 8px; }
.artikel-body .kader {
  background: var(--blauw-licht); border-left: 4px solid var(--blauw);
  border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 26px 0;
}
.artikel-body .kader.groen { background: var(--groen-licht); border-left-color: var(--groen-diep); }
.artikel-cta {
  background: var(--blauw-nacht); color: var(--wit); border-radius: var(--r);
  padding: 34px; margin-top: 52px; text-align: center;
}
.artikel-cta h3 { margin: 0 0 10px; }
.artikel-cta p { color: #B9CCE0; }
.artikel-cta a {
  display: inline-block; margin-top: 18px; background: var(--groen); color: var(--blauw-nacht);
  font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 999px; font-family: var(--f-display);
}

/* Reveal animatie */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Focus */
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .battery-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .battery-visual { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .kennis-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-inner { padding-top: 52px; }
  .gateway-btn { width: 100%; }
  .vergelijk-wrap { overflow-x: auto; }
  .vergelijk-tabel { min-width: 640px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

/* Hero met illustratie */
.hero-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero-illustratie img { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero-cols { grid-template-columns: 1fr; }
  .hero-illustratie { max-width: 440px; margin: 8px auto 0; }
}

/* Vraag-chips (contact-verwijzers) */
.vraag-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.vraag-chip {
  display: inline-block; background: var(--wit); border: 1.5px solid var(--blauw);
  color: var(--blauw-diep); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; transition: background .15s, color .15s;
}
.vraag-chip:hover { background: var(--blauw); color: var(--wit); }
.vraag-chips-donker .vraag-chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }
.vraag-chips-donker .vraag-chip:hover { background: #fff; color: var(--blauw-diep); }
