/* ==========================================================================
   STIJLGIDS — Teams Matter(s)
   Bron-van-waarheid voor design-tokens + design-keuzes van deze site.
   Bij elke kleur-/font-/spacing-wijziging: pas zowel de :root-variabele
   hieronder als deze comments aan, zodat de stijlgids in sync blijft.
   ========================================================================== */

/* PRIMAIRE KLEUR
   #41644a — groen uit de huisstijl. Gebruikt voor: header-tekst, primaire
   secties (methode/contact), knop btn-primary, stap-nummers, headings,
   hero-gradient. Rustig, natuurlijk, verbonden.

   DONKERGROEN #263a29 — donkerder tint van dezelfde huisstijlkleur. Gebruikt
   voor: footer, hero-gradient (donkere kant), headings, tekst-ink op oranje. */

/* ACCENT KLEUR
   #e86a33 — warm oranje uit de huisstijl. Gebruikt voor: CTA-knoppen
   (btn-accent), focus-outline, check-bullets, mobile-sticky-bar, hover-details.
   Tekst OP oranje is donkergroen (#263a29) i.v.m. contrast. */

/* ACHTERGROND
   #f2e3d8 — zacht beige uit de huisstijl. Gebruikt als pagina-achtergrond;
   secties wisselen wit (.section-alt) en beige (standaard .section) af,
   met groene full-color secties (.section-primary) als ritme-breker. */

/* TEKST
   Body: #2a2a2a op licht, #f3f0ef op donker. Headings: #263a29 (of wit op donker).
   Lijn-hoogte body 1.65, headings 1.2. */

/* TYPOGRAFIE
   Body: system-sans (Inter-achtig). Headings: system-serif (Georgia-achtig) —
   editorial, warm, past bij 'Organic Professionalism'. Geen Google Fonts (AVG).
   Schaal: 1rem body, 1.25rem h3, clamp h2 ~1.6-2.1rem, clamp h1 ~2-3.2rem. */

/* SPACING-SCHAAL
   Basis 8px (design-system unit). Section-padding: clamp(3rem, 8vw, 6rem) verticaal.
   Container-max 1120px, gutter 24px. */

/* RADIUS + SHADOWS
   --radius: 8px (0.5rem), --radius-lg: 16px (1rem), --radius-full: 9999px.
   Schaduwen subtiel, petrol-getint: 0 4px 16px rgba(44,74,82,.08). */

/* KNOPPEN
   .btn-accent: oker achtergrond + donker-petrol tekst, radius-full, hover 8% donkerder.
   .btn-primary: petrol achtergrond + witte tekst. Mobiel: CTA full-width sticky. */

/* PORTRETFOTO'S
   Ronde hoeken (--radius-lg) + dunne oranje accent-rand (5px, #E86A33 via
   --color-accent) + --shadow-2. Gebruikt in hero (.hero-photo), bewijs
   (.bewijs-photo) en contact (.contact-photo) om Annemarie's foto's
   herkenbaar te framen. */

/* ---------- MOBILE-FUNDAMENT (niet weglaten) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; max-width: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; max-width: 100%; min-width: 320px; margin: 0; }
img, video, iframe, svg { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
p, li, dd, dt, td, h1, h2, h3, h4 { overflow-wrap: anywhere; word-break: normal; }

/* ---------- TOKENS ---------- */
:root {
  --color-primary: #41644a;
  --color-primary-dark: #263a29;
  --color-accent: #e86a33;
  --color-accent-dark: #c8551f;
  --color-accent-ink: #263a29;
  --color-bg: #f2e3d8;
  --color-surface: #ffffff;
  --color-ink: #2a2a2a;
  --color-ink-soft: #41484a;
  --color-line: #e4d6c8;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-1: 0 4px 16px rgba(65, 100, 74, .10);
  --shadow-2: 0 12px 32px rgba(65, 100, 74, .16);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", "Source Serif 4", serif;

  --container: 1120px;
}

/* ---------- BASIS ---------- */
body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1rem;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--color-primary-dark); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); }

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

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.container-narrow { max-width: 760px; }

.skip-link { position: absolute; left: -9999px; top: 0; padding: 8px 12px; background: var(--color-accent); color: var(--color-accent-ink); z-index: 9999; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-alt { background: var(--color-surface); }
.section-primary { background: var(--color-primary); color: #f3f0ef; }
.section-primary h2, .section-primary h3 { color: #fff; }
.section-intro { max-width: 620px; color: var(--color-ink-soft); font-size: 1.05rem; }
.section-intro-wide { max-width: none; }
.voor-wie-outro { margin-top: 2rem; }
.section-primary .section-intro { color: rgba(255,255,255,.85); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 14px 26px; border-radius: var(--radius-full); border: 2px solid transparent;
  cursor: pointer; transition: background .2s, box-shadow .2s, transform .1s;
  white-space: normal; text-align: center; font-size: 1rem;
}
.btn-accent { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-accent:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-2); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-ghost { background: transparent; border-color: var(--color-primary); color: var(--color-primary-dark); }
.btn-ghost:hover { background: rgba(44,74,82,.06); }
.btn-block { display: block; width: 100%; }
@media (min-width: 720px) { .btn { white-space: nowrap; } .btn-block { white-space: normal; } }

/* ---------- HEADER / NAV ---------- */
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-line); position: sticky; top: 0; z-index: 100; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 20px; gap: 14px; width: min(var(--container), 100% - 32px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: 44px; width: auto; }
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; width: 32px; height: 28px; flex-direction: column; justify-content: space-between; padding: 4px 0; flex-shrink: 0; margin-left: auto; }
.hamburger span { display: block; height: 3px; background: var(--color-primary-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 22px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--color-primary-dark); font-weight: 500; }
.nav-menu a:hover { color: var(--color-accent-dark); }
.nav-cta { background: var(--color-accent); color: var(--color-accent-ink); padding: 9px 16px; border-radius: var(--radius-full); font-weight: 600; }
.nav-cta:hover { background: var(--color-accent-dark); }

@media (max-width: 860px) {
  .site-nav { padding: 12px 16px; }
  .hamburger { display: flex; }
  .nav-toggle { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
  .nav-toggle:focus-visible ~ .site-header .hamburger,
  .nav-toggle:focus-visible + .site-header .hamburger { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
  .nav-menu { display: none; flex-direction: column; width: 100%; gap: 0; align-items: stretch; padding: 8px 0 4px; }
  .nav-menu li { border-top: 1px solid var(--color-line); }
  .nav-menu a { display: block; padding: 14px 4px; }
  .nav-cta { border-radius: var(--radius); margin-top: 8px; text-align: center; }
  .nav-toggle:checked ~ .site-header .site-nav .nav-menu { display: flex; }
  .nav-toggle:checked ~ .site-header .hamburger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav-toggle:checked ~ .site-header .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .site-header .hamburger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}

/* ---------- HERO ---------- */
.hero { background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 70%); color: #f3f0ef; padding: clamp(3rem, 9vw, 6.5rem) 0; }
.hero-inner { max-width: var(--container); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-content { max-width: 640px; }
.hero-photo { width: 320px; height: 320px; object-fit: cover; border-radius: var(--radius-lg); border: 5px solid var(--color-accent); box-shadow: var(--shadow-2); justify-self: end; }
.hero h1 { color: #fff; }
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { width: 200px; height: 200px; justify-self: center; order: -1; }
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 600; color: var(--color-accent); margin: 0 0 .75rem; }
.hero-slogan { font-family: var(--font-head); font-style: italic; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #fff; opacity: .92; margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: rgba(255,255,255,.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.75rem 0 1.5rem; }
.hero-cta .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.hero-chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 7px 14px; border-radius: var(--radius-full); font-size: .9rem; }

/* ---------- CARDS ---------- */
.cards-3, .cards-4 { display: grid; gap: 24px; margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); }
.section-alt .card { background: var(--color-bg); }
.card h3 { color: var(--color-primary-dark); }
.card p { margin: 0; color: var(--color-ink-soft); }
.card p + p { margin-top: 10px; }
.card ul { margin: 10px 0; padding-left: 20px; color: var(--color-ink-soft); }
.card ul + p { margin-top: 10px; }
.card li { margin-bottom: 4px; }

/* ---------- CHECK-LIST (merk-bullets, verwijst naar styleguide 'negatief-logo' bullet) ---------- */
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 14px; max-width: 720px; }
.check-list li { position: relative; padding-left: 40px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--color-accent);
  box-shadow: inset 0 0 0 5px var(--color-primary);
}
.check-list--compact { gap: 10px; }
#uitkomst .check-list { max-width: none; }
.section-primary .check-list li::before { box-shadow: inset 0 0 0 5px var(--color-primary-dark); }

/* ---------- STEPS (VAK) ---------- */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 24px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 12px; }
.steps h3 { color: #fff; margin-bottom: .35em; }
.steps p { color: rgba(255,255,255,.85); margin: 0; }
.factbox { margin-top: 2rem; background: rgba(232,106,51,.16); border-left: 4px solid var(--color-accent); border-radius: var(--radius); padding: 20px 24px; color: #fff; }

/* ---------- ENERGY DRIVES ---------- */
.energy-grid { display: grid; gap: 40px; grid-template-columns: 1fr auto; align-items: center; }
.energy-text { max-width: 680px; }
.energy-logo { width: 260px; height: auto; justify-self: center; }
@media (max-width: 780px) { .energy-grid { grid-template-columns: 1fr; } .energy-logo { width: 200px; justify-self: start; } }

/* ---------- BEWIJS ---------- */
.bewijs-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.bewijs-photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); border: 5px solid var(--color-accent); box-shadow: var(--shadow-2); }
@media (max-width: 820px) { .bewijs-layout { grid-template-columns: 1fr; } .bewijs-photo { max-width: 320px; justify-self: center; order: -1; } }
.tag-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { background: rgba(65,100,74,.10); color: var(--color-primary-dark); padding: 6px 14px; border-radius: var(--radius-full); font-size: .9rem; font-weight: 600; }
.pull-quote { margin: 1.75rem 0; padding-left: 20px; border-left: 3px solid var(--color-accent); }
.pull-quote p { margin: 0; font-size: 1.1rem; font-style: italic; color: var(--color-primary-dark); }
.case-note { color: var(--color-ink-soft); font-size: .95rem; }
.case-note em { color: var(--color-primary-dark); font-style: normal; font-weight: 600; }
/* ---------- OFFER CTA ---------- */
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 2.5rem; background: var(--color-primary); color: #fff; border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow-2); }
.offer-cta h3 { color: #fff; }
.offer-cta p { color: rgba(255,255,255,.88); margin: 0; max-width: 560px; }
@media (max-width: 720px) { .offer-cta { padding: 24px 20px; box-shadow: var(--shadow-1); } }

/* ---------- FAQ ---------- */
details { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-1); }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--color-primary-dark); font-family: var(--font-head); font-size: 1.05rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--color-accent-dark); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 20px; margin: 0; color: var(--color-ink-soft); }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.contact-intro .regio-note { color: rgba(255,255,255,.9); }
.contact-photo { border-radius: var(--radius-lg); border: 5px solid var(--color-accent); box-shadow: var(--shadow-2); margin-top: 1rem; max-width: 320px; }
.regio-photo { border-radius: var(--radius-lg); margin-top: 1.25rem; opacity: .95; }
.contact-form { background: var(--color-surface); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-2); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--color-primary-dark); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--color-ink-soft); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--color-line); border-radius: var(--radius); font: inherit; background: #fff; color: var(--color-ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(232,106,51,.35); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 8px 0 16px; }
.form-privacy { font-size: .85rem; color: var(--color-ink-soft); margin-top: 12px; }
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
.form-status.is-success { background: #e6f4ea; color: #1e6b3a; }
.form-status.is-error { background: #fdecec; color: #93000a; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
}

/* ---------- FOOTER ---------- */
.site-footer-main { background: var(--color-primary-dark); color: rgba(255,255,255,.82); padding: 3rem 0 2rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 2fr 1fr 1fr; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 12px; }
.footer-regio { color: var(--color-accent); font-weight: 600; }
.footer-linkedin { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; }
.footer-linkedin svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.footer-linkedin:hover { color: var(--color-accent); }
.footer-heading { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.footer-nav ul, .footer-legal ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-nav a, .footer-legal a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--color-accent); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.75); }
.demo-disclaimer { background: rgba(232,163,61,.14); border-left: 3px solid var(--color-accent); padding: 12px 16px; border-radius: var(--radius); color: rgba(255,255,255,.85); }
.photo-credit, .eo-credit { margin: 8px 0 0; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-sticky-cta { display: none; }
@media (max-width: 860px) {
  .mobile-sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px;
    z-index: 50; background: var(--color-accent); color: var(--color-accent-ink);
    text-align: center; text-decoration: none; font-weight: 700;
    padding: 15px 18px; border-radius: var(--radius-full); box-shadow: var(--shadow-2);
  }
  main { padding-bottom: 76px; }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2); text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
}
.back-to-top svg { width: 22px; height: 22px; fill: currentColor; }
.back-to-top:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 860px) { .back-to-top { bottom: 88px; right: 14px; width: 44px; height: 44px; } }

/* ---------- MODALS ---------- */
dialog:not([open]) { display: none; }
dialog.modal { position: fixed; inset: 0; margin: auto; max-width: 640px; width: calc(100% - 32px); border: none; border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 24px 60px rgba(38,58,41,.35); color: var(--color-ink); }
dialog.modal::backdrop { background: rgba(38,58,41,.5); backdrop-filter: blur(2px); }
.modal h2 { color: var(--color-primary-dark); margin-bottom: 1rem; }
.modal-body { max-height: 65vh; overflow-y: auto; }
.modal-body p { color: var(--color-ink-soft); }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--color-ink-soft); }
.modal-close:hover { color: var(--color-primary-dark); }
@media (max-width: 600px) {
  dialog.modal { margin: auto auto 0; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ---------- ANTI-OVERFLOW MOBILE ---------- */
@media (max-width: 720px) {
  .card { padding: 22px; box-shadow: var(--shadow-1); }
  .factbox { padding: 16px 18px; }
}

/* EO:APPEARANCE start */
html { scroll-behavior: smooth; }
/* EO:APPEARANCE end */
