/* Stroomvoornood.nl — vakbedrijf-stijl. Kleuren komen uit het logo. */

:root {
  --blauw: #1a4fb5;        /* logo-blauw */
  --blauw-donker: #0f2a66; /* topbalk, footer, vlakken */
  --oranje: #c44c08;       /* logo-oranje, iets donkerder voor leesbaarheid */
  --oranje-hover: #a83f05;
  --groen: #1f9d55;        /* vinkjes */
  --tekst: #1c2433;
  --grijs: #5a6475;
  --lijn: #dfe4ec;
  --licht: #f3f6fa;
  --wit: #fff;
  --breed: 1200px;
  --rand: clamp(16px, 4vw, 40px);
  --f: 'Figtree', 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f); font-size: 17px; line-height: 1.65; color: var(--tekst); background: var(--wit); }
img { max-width: 100%; display: block; }
a { color: var(--blauw); }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: inherit; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 2px; }
.binnen { max-width: var(--breed); margin: 0 auto; padding: 0 var(--rand); }
.icoon { width: 20px; height: 20px; flex: none; }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font: 700 18px var(--f); text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.knop--oranje { background: var(--oranje); color: var(--wit); }
.knop--oranje:hover { background: var(--oranje-hover); }
.knop--licht { background: var(--wit); color: var(--blauw-donker); }
.tel-link { display: inline-flex; align-items: center; gap: 8px; color: var(--wit); font-weight: 700; font-size: 18px; text-decoration: none; }

/* Topbalk */
.topbalk { background: var(--blauw-donker); color: #dce4f3; font-size: 14px; }
.topbalk .binnen { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbalk ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbalk li { display: flex; align-items: center; gap: 6px; }
.topbalk li svg { color: #6fd39b; width: 16px; height: 16px; }
.topbalk a { color: var(--wit); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbalk .contact { display: flex; gap: 22px; }

/* Header */
.kopbalk { background: var(--wit); border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 20; }
.kopbalk .binnen { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blauw); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.logo img { width: 54px; height: 54px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: var(--tekst); text-decoration: none; font-weight: 600; font-size: 16px; }
.menu a:hover { color: var(--blauw); }
.menu .knop { color: var(--wit); min-height: 46px; font-size: 16px; padding: 0 20px; }
.menuknop { display: none; background: none; border: 2px solid var(--lijn); border-radius: 4px; min-height: 44px; padding: 0 14px; font: 700 15px var(--f); color: var(--tekst); }

/* Hero algemeen */
.hero { position: relative; color: var(--wit); background: var(--blauw-donker); overflow: hidden; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__waas { position: absolute; inset: 0; background: rgba(10, 22, 52, .62); }
.hero__inhoud { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); max-width: 17ch; }
.hero p { font-size: 19px; max-width: 52ch; color: #e6ecf6; margin: 0 0 30px; }
.streep { position: relative; white-space: nowrap; }
.streep svg { position: absolute; left: -2%; bottom: -.22em; width: 104%; height: .32em; color: var(--oranje); }
.hero__acties { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.vinkjes { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; font-size: 18px; }
.vinkjes li { display: flex; gap: 10px; align-items: center; }
.vinkjes svg { color: #6fd39b; width: 22px; height: 22px; flex: none; }

/* Formulier */
.formulier { background: var(--wit); color: var(--tekst); border-radius: 8px; padding: 30px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.45); }
.formulier h2 { font-size: 26px; margin-bottom: 4px; }
.formulier > p { color: var(--grijs); font-size: 16px; margin: 0 0 18px; }
.velden { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.velden .breed { grid-column: 1 / -1; }
.formulier label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.formulier input, .formulier select, .formulier textarea { font: 400 16px var(--f); min-height: 48px; padding: 10px 12px; border: 1px solid #c3cbd8; border-radius: 4px; background: var(--wit); color: var(--tekst); width: 100%; }
.formulier textarea { min-height: 90px; resize: vertical; }
.formulier .knop { width: 100%; margin-top: 16px; }
.formulier small { display: block; text-align: center; margin-top: 12px; font-size: 14px; color: var(--grijs); }

/* USP-rij */
.usps { padding: 56px 0; border-bottom: 1px solid var(--lijn); }
.usps .binnen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.usp { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--grijs); }
.usp svg { width: 40px; height: 40px; color: var(--blauw); flex: none; }
.usp b { display: block; color: var(--tekst); font-size: 16px; }

/* Pakketten met foto */
.sectie { padding: 90px 0; }
.sectie--licht { background: var(--licht); }
.sectiekop { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.sectiekop h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 0; }
.sectiekop p { margin: 0; color: var(--grijs); }
.pakketten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pakket { background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--tekst); transition: box-shadow .2s, transform .2s; }
.pakket:hover { box-shadow: 0 16px 34px -18px rgba(15,42,102,.45); transform: translateY(-3px); }
.pakket img { aspect-ratio: 4/3; object-fit: cover; background: #e9edf3; }
.pakket__tekst { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pakket h3 { font-size: 21px; margin-bottom: 2px; }
.pakket p { margin: 0 0 14px; color: var(--grijs); font-size: 15px; }
.pakket ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; display: grid; gap: 4px; }
.pakket ul li { display: flex; gap: 6px; }
.pakket ul svg { width: 16px; height: 16px; color: var(--groen); flex: none; margin-top: 3px; }
.prijs { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--lijn); padding-top: 14px; }
.prijs span { font-size: 13px; color: var(--grijs); }
.prijs b { font-size: 24px; color: var(--blauw-donker); }

/* Werkwijze met grote foto (asymmetrisch) */
.werkwijze { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.werkwijze img { border-radius: 8px; aspect-ratio: 5/4; object-fit: cover; }
.werkwijze h2 { font-size: clamp(30px, 3.4vw, 42px); }
.stappen { list-style: none; padding: 0; margin: 24px 0 30px; counter-reset: s; }
.stappen li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 12px 0; }
.stappen li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--blauw); color: var(--wit); display: grid; place-items: center; font-weight: 800; }
.stappen b { display: block; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--wit); border-radius: 8px; padding: 24px; border: 1px solid var(--lijn); margin: 0; }
.sterren { color: #f5a623; letter-spacing: 2px; font-size: 18px; }
.review blockquote { margin: 8px 0 14px; font-size: 17px; }
.review figcaption { font-weight: 700; font-size: 15px; }
.review figcaption span { font-weight: 400; color: var(--grijs); }

/* Actieband */
.band { background: var(--blauw); color: var(--wit); padding: 56px 0; }
.band .binnen { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 6px; }
.band p { margin: 0; color: #dce6fb; }
.band .acties { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }

/* Footer */
.voet { background: var(--blauw-donker); color: #c9d4ea; padding: 64px 0 28px; font-size: 15px; }
.voet .kolommen { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.voet h3 { color: var(--wit); font-size: 17px; }
.voet ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.voet a { color: #c9d4ea; text-decoration: none; }
.voet a:hover { color: var(--wit); text-decoration: underline; }
.voet .onder { border-top: 1px solid #284184; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* Vaste belbalk op mobiel */
.belbalk { display: none; }

@media (max-width: 1000px) {
  .menu a:not(.knop) { display: none; }
  .usps .binnen, .pakketten { grid-template-columns: 1fr 1fr; }
  .sectiekop, .werkwijze { grid-template-columns: 1fr; gap: 18px; }
  .reviews { grid-template-columns: 1fr; }
  .voet .kolommen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 58px; }
  .topbalk ul { display: none; }
  .topbalk .contact { width: 100%; justify-content: space-between; }
  .kopbalk .binnen { min-height: 68px; }
  .logo { font-size: 18px; } .logo img { width: 42px; height: 42px; }
  .menu .knop { display: none; }
  .menuknop { display: inline-flex; align-items: center; }
  .hero p { font-size: 17px; }
  .usps .binnen, .pakketten, .velden { grid-template-columns: 1fr; }
  .sectie { padding: 60px 0; }
  .voet .kolommen { grid-template-columns: 1fr; }
  .belbalk { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 30; box-shadow: 0 -4px 14px rgba(0,0,0,.15); }
  .belbalk a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; text-decoration: none; }
  .belbalk a:first-child { background: var(--wit); color: var(--blauw-donker); }
  .belbalk a:last-child { background: var(--oranje); color: var(--wit); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.terug { position: fixed; right: 12px; bottom: 76px; z-index: 40; background: #000; color: #fff; font: 700 13px var(--f); padding: 10px 14px; border-radius: 6px; text-decoration: none; opacity: .85; }

/* ===== Aanvullingen voor de volledige site ===== */
.overslaan { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--wit); padding: 10px 14px; font-weight: 700; }
.overslaan:focus { left: 8px; }
.verborgen { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.menu a[aria-current="page"] { color: var(--blauw); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mobielmenu { display: none; }
.mobielmenu:not([hidden]) { display: grid; gap: 4px; padding: 10px var(--rand) 18px; border-top: 1px solid var(--lijn); background: var(--wit); }
.mobielmenu a { padding: 12px 0; font-weight: 700; color: var(--tekst); text-decoration: none; border-bottom: 1px solid var(--lijn); font-size: 18px; }
.mobielmenu .knop { color: var(--wit); border: 0; margin-top: 10px; }

.kruimels { background: var(--licht); font-size: 14px; color: var(--grijs); }
.kruimels .binnen { padding-top: 10px; padding-bottom: 10px; }
.kruimels a { color: var(--grijs); }

/* Hero homepage (variant A) */
.hero-a { padding: 110px 0 170px; clip-path: ellipse(140% 100% at 30% 0); }
.hero-a .streep { white-space: normal; }
.a-onder { display: grid; grid-template-columns: 1fr 470px; gap: 56px; align-items: start; margin-top: -120px; position: relative; z-index: 3; padding-bottom: 60px; }
.a-onder > div:first-child { padding-top: 160px; }
.a-onder h2 { font-size: clamp(28px, 3vw, 38px); }
.a-onder .formulier, .tweeluik .formulier { border-top: 5px solid var(--oranje); }
.vinkjes--donker svg { color: var(--groen); }
.vinkjes--donker { font-size: 17px; }
.vinkjes li { align-items: flex-start; }
.vinkjes li svg { margin-top: 4px; }

/* Kleine hero voor binnenpagina's */
.hero--klein { padding: 70px 0 64px; }
.hero--klein h1 { font-size: clamp(32px, 4vw, 50px); max-width: 22ch; }
.hero--klein p { margin: 0; }

/* Tekstpagina's */
.tweeluik { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tweeluik--breed { grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; }
.tweeluik--breed > div:last-child { position: sticky; top: 104px; }
.blok { background: var(--licht); border-radius: 8px; padding: 32px; border-left: 5px solid var(--blauw); }
.blok h2 { font-size: 26px; }
.blok p { margin: 0; }
.smal { max-width: 820px; }
.tekst h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.4em; }
.tekst h2:first-child, .tekst h1 + p { margin-top: 0; }
.tekst h3, .tweeluik h3 { font-size: 20px; margin-top: 1.4em; }
.groot { font-size: 20px; }
.klein { font-size: 18px; margin-top: 24px; }
h1 { font-size: clamp(32px, 4vw, 48px); }
.genummerd { padding-left: 22px; } .genummerd li { margin-bottom: 8px; padding-left: 4px; }
.lijst { padding-left: 20px; } .lijst li { margin-bottom: 8px; }
.contactlijst { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.contactlijst li { display: flex; gap: 14px; align-items: center; }
.contactlijst svg { width: 28px; height: 28px; color: var(--blauw); }
.contactlijst b { display: block; }
.contactlijst a { font-size: 19px; font-weight: 700; }
.tweeluik .reviews { grid-template-columns: 1fr; }

/* FAQ */
.faq { display: grid; gap: 10px; margin: 20px 0; }
.faq details { background: var(--wit); border: 1px solid var(--lijn); border-radius: 6px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blauw); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 18px 18px; }

/* Pakketten */
.pakket__foto { display: block; }
.pakket__foto img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: #e9edf3; }
.pakket h3 a, .pakket h2 a { color: var(--tekst); text-decoration: none; }
.pakket h3 a:hover { color: var(--blauw); }
.pakket__meer { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.pakket__meer svg, .sectie p a svg { width: 18px; height: 18px; vertical-align: -3px; }
.tabel-scroll { overflow-x: auto; margin-bottom: 40px; }
.vergelijk { width: 100%; border-collapse: collapse; min-width: 640px; }
.vergelijk th, .vergelijk td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.vergelijk thead th { background: var(--blauw-donker); color: var(--wit); }
.pakketkop__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pakketkop__foto img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: #e9edf3; }
.prijsblok { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; flex-wrap: wrap; }
.prijsblok span { color: var(--grijs); }
.prijsblok b { font-size: 40px; color: var(--blauw-donker); line-height: 1; }
.prijsblok small { color: var(--grijs); font-size: 15px; }
.tel-link--donker { color: var(--blauw-donker); }
.pakketkop .hero__acties { margin-top: 26px; }

/* Footer */
.voet h2 { color: var(--wit); font-size: 17px; }
.logo--voet { color: var(--wit); margin-bottom: 12px; }
.logo--voet img { background: var(--wit); border-radius: 6px; padding: 3px; }

@media (max-width: 1000px) {
  .menu a:not(.knop) { display: none; }
  .menuknop { display: inline-flex; align-items: center; }
  .a-onder { grid-template-columns: 1fr; margin-top: -80px; gap: 30px; }
  .a-onder > div:first-child { padding-top: 0; order: 2; }
  .hero-a { padding: 70px 0 130px; clip-path: none; }
  .tweeluik, .tweeluik--breed, .pakketkop__raster { grid-template-columns: 1fr; gap: 36px; }
  .tweeluik--breed > div:last-child { position: static; }
}
@media (max-width: 640px) {
  .mail-tekst { display: none; }
  .topbalk .contact { justify-content: flex-start; }
  .hero--klein { padding: 44px 0 40px; }
  .formulier { padding: 22px 18px; }
  .belbalk { grid-template-columns: 1fr 1fr 1fr; }
  .belbalk a:nth-child(2) { background: #157a42; color: var(--wit); }
  .belbalk a { font-size: 15px; }
  .belbalk svg { width: 18px; height: 18px; }
  .prijsblok b { font-size: 34px; }
}

/* ===== WhatsApp-knop (computer) ===== */
.whatsapp-knop { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: #157a42; color: var(--wit); text-decoration: none; font-weight: 700; padding: 14px 20px 14px 16px; border-radius: 40px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .15s; }
.whatsapp-knop:hover { transform: translateY(-2px); background: #0f6636; }
.whatsapp-knop svg { width: 26px; height: 26px; }

/* ===== Alleen op telefoon / niet op telefoon ===== */
.alleen-mobiel { display: none !important; }
.knop--blauw { background: var(--blauw-donker); color: var(--wit); }
.knop--groen { background: #157a42; color: var(--wit); }

@media (max-width: 640px) {
  .niet-mobiel { display: none !important; }
  .alleen-mobiel { display: block !important; }
  span.alleen-mobiel { display: inline !important; }
  .whatsapp-knop { display: none; }

  /* Bovenkant korter */
  .hero-a { padding: 44px 0 56px; }
  .hero-a h1 { font-size: 31px; }
  .hero-a p { margin-bottom: 22px; }
  .hero-a .hero__acties { gap: 14px; }
  .hero-a .hero__acties .knop { width: 100%; }
  .hero-a .hero__acties .tel-link { display: none; }

  /* Snel contact in plaats van het lange formulier */
  .snelcontact { margin-top: -26px; position: relative; z-index: 3; background: var(--wit); border-radius: 10px; padding: 22px 18px; box-shadow: 0 16px 36px -20px rgba(15,42,102,.5); border-top: 5px solid var(--oranje); width: calc(100% - 32px); }
  .snelcontact h2 { font-size: 24px; margin-bottom: 2px; }
  .snelcontact p { margin: 0 0 14px; color: var(--grijs); }
  .snelcontact__knoppen { display: grid; gap: 10px; }
  .snelcontact__knoppen .knop { width: 100%; font-size: 17px; }

  /* Voordelen: 2 bij 2, alleen de kop */
  .usps { padding: 30px 0; }
  .usps .binnen { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .usp { flex-direction: column; gap: 6px; font-size: 0; }
  .usp svg { width: 30px; height: 30px; }
  .usp b { font-size: 15px; line-height: 1.3; }

  /* Secties compacter */
  .sectie { padding: 44px 0; }
  .sectiekop { margin-bottom: 20px; gap: 6px; }
  .sectiekop h2, .werkwijze h2 { font-size: 26px; }
  .sectiekop p { display: none; }

  /* Pakketten en reviews: opzij vegen */
  .pakketten, .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand); gap: 12px; margin: 0 calc(var(--rand) * -1); padding: 4px var(--rand) 14px; scrollbar-width: none; }
  .pakketten::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
  .pakket, .review { flex: 0 0 82%; scroll-snap-align: start; }
  .pakket ul { display: none; }
  .pakket__foto img { aspect-ratio: 16/10; }
  .pakket__tekst { padding: 16px; }
  .pakket p { margin-bottom: 10px; }
  .veeg-hint { display: block !important; font-size: 14px; color: var(--grijs); margin: 0 0 4px; }

  /* Werkwijze: alleen de stappen */
  .werkwijze > div > p { display: none; }
  .werkwijze .stap-uitleg { display: none; }
  .stappen { margin: 10px 0 20px; }
  .stappen li { padding: 6px 0; align-items: center; }
  .werkwijze .knop { width: 100%; }

  /* Veelgestelde vragen: 3 op de homepage */
  .home-faq details:nth-child(n+4) { display: none; }
  .home-faq h2 { font-size: 26px; }

  /* Actieband */
  .band { padding: 36px 0; }
  .band p { display: none; }
  .band .acties { width: 100%; }
  .band .acties .knop { width: 100%; }
}
.veeg-hint { display: none; }

/* Sprongen naar #advies e.d. niet onder de vaste menubalk laten vallen */
[id] { scroll-margin-top: 100px; }

/* Productfoto's van generatoren niet afsnijden */
.pakket__foto img, .pakketkop__foto img { object-fit: contain; background: #f3f6fa; }
