/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, picture, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Basis ---------- */
body {
  font-family: var(--font-body);
  font-weight: var(--fw-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--fw-head);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-2xl); }
.section--cream { background: var(--bg-section); }
.section--dark { background: var(--bg-dark); color: var(--c-cream); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-offwhite); }

.prose { color: var(--text-muted); }
.prose h1, .prose h2, .prose h3 { color: var(--text); }
.section--terracotta .prose,
.section--terracotta .prose p { color: color-mix(in srgb, var(--c-cream) 88%, transparent); }
.section--terracotta .prose a { color: #fff; }

/* ---------- Eyebrow (streepje + Spectral italic) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: var(--step-0);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  flex: 0 0 auto;
}
.eyebrow--light { color: color-mix(in srgb, var(--c-cream) 88%, transparent); }
.eyebrow--light::before { background: color-mix(in srgb, var(--c-cream) 70%, transparent); }

/* ---------- Iconen ---------- */
.gs-icon { width: 1.4rem; height: 1.4rem; display: block; }

/* ---------- Pill-badge ---------- */
.pill {
  display: inline-block; margin-bottom: var(--space-md);
  background: color-mix(in srgb, var(--c-terracotta) 15%, var(--c-cream));
  color: var(--accent); font-size: var(--step--1);
  padding: 0.4rem 0.9rem; border-radius: 999px;
}

/* ---------- Check-lijst (lijn-vinkjes) ---------- */
.check-list { display: grid; gap: 0.7rem; margin: var(--space-md) 0 0; }
.check-list__item { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; }
.check-list__item .gs-icon { width: 1.2rem; height: 1.2rem; margin-top: 0.2em; color: var(--accent); }
.check-list--light .check-list__item { color: var(--c-cream); }
.check-list--light .check-list__item .gs-icon { color: color-mix(in srgb, var(--c-cream) 85%, transparent); }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1.15em 1.9em; /* ~61px hoog bij step-0 — matcht design body-knop */
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #9b563a; }
.btn--olive { background: var(--c-olive); color: #fff; }
.btn--olive:hover { background: #5b6050; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--text); }
.btn--block { display: flex; width: 100%; }

/* ---------- USP-lijst ---------- */
.usp-list { display: grid; gap: 0.6rem; margin-top: var(--space-md); }
.usp-list__item {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
}
.usp-list__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 78% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 78% no-repeat;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-terracotta);
  color: var(--c-cream);
}
.site-header__bar {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem);
  display: flex; align-items: center; gap: var(--space-lg);
}
.site-header__brand { flex: 0 0 auto; }
.site-header__title { font-family: var(--font-head); font-style: italic; font-size: var(--step-2); color: var(--c-offwhite); }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: var(--space-lg); align-items: center; font-size: var(--step-0); }
.site-nav__list a { color: var(--c-cream); }
.site-nav__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* WhatsApp-knop hoort alleen in het mobiele menu (zie media query onderaan). */
.site-nav__wa { display: none; }

.site-header__toggle { display: none; background: none; border: 0; padding: 0.5rem; }
.site-header__toggle-bar,
.site-header__toggle-bar::before,
.site-header__toggle-bar::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--c-cream); border-radius: 2px; position: relative;
}
.site-header__toggle-bar::before { position: absolute; top: -7px; }
.site-header__toggle-bar::after { position: absolute; top: 7px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-olive); color: var(--c-cream); padding-block: var(--space-xl) var(--space-lg); }
.site-footer__top {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4.5rem); padding-bottom: var(--space-xl);
}
.site-footer__title { font-family: var(--font-head); font-style: italic; font-size: var(--step-2); display: block; }
.site-footer__tagline { margin: var(--space-sm) 0 0; max-width: 34ch; font-size: var(--step--1); color: color-mix(in srgb, var(--c-cream) 72%, transparent); line-height: 1.7; }
.site-footer__socials { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: var(--space-md) 0 0; }
.site-footer__social {
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c-cream) 12%, transparent); color: var(--c-cream);
  transition: background-color .2s ease, color .2s ease;
}
.site-footer__social:hover { background: var(--c-cream); color: var(--c-olive); }
.site-footer__social .gs-icon { width: 1.15rem; height: 1.15rem; }

.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--space-lg); }
.site-footer__col-title { margin: 0 0 var(--space-sm); font-size: var(--step--1); font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--c-cream) 62%, transparent); }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.site-footer__list a { color: var(--c-cream); font-size: var(--step--1); }
.site-footer__list a:hover { color: var(--c-sage); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md);
  align-items: center; justify-content: space-between;
  padding-top: var(--space-md); border-top: 1px solid color-mix(in srgb, var(--c-cream) 16%, transparent);
}
.site-footer__copy { margin: 0; font-size: var(--step--1); color: color-mix(in srgb, var(--c-cream) 62%, transparent); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-md); list-style: none; padding: 0; margin: 0; }
.site-footer__legal a { font-size: var(--step--1); color: color-mix(in srgb, var(--c-cream) 62%, transparent); }
.site-footer__legal a:hover { color: var(--c-cream); }

@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .site-footer__cols { grid-template-columns: 1fr; } }

/* ---------- Toegankelijkheid ---------- */
.sr-only, .screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 100; width: auto; height: auto;
  clip: auto; background: #fff; padding: 0.75rem 1rem; border-radius: 8px;
}

/* ---------- Responsive header — mobiel menu als schuifpaneel ---------- */
@media (max-width: 860px) {
  .site-header__toggle { display: block; margin-left: auto; position: relative; z-index: 60; }
  /* Hamburger wordt een kruis zodra het menu open is. */
  .site-header__toggle-bar,
  .site-header__toggle-bar::before,
  .site-header__toggle-bar::after { transition: transform .28s ease, opacity .18s ease, background-color .28s ease; }
  .site-header.is-open .site-header__toggle-bar { background: transparent; }
  .site-header.is-open .site-header__toggle-bar::before { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .site-header__toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px);
    display: flex; flex-direction: column; justify-content: center;
    gap: var(--space-lg);
    background: var(--c-terracotta);
    padding: var(--space-2xl) clamp(1.5rem, 8vw, 2.75rem);
    box-shadow: -24px 0 60px -30px rgba(70,51,31,.65);
    transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
    z-index: 50; overflow-y: auto; visibility: hidden;
  }
  .site-header.is-open .site-nav { transform: translateX(0); visibility: visible; }

  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .site-nav__list li { width: 100%; }
  .site-nav__list a {
    display: block; width: 100%;
    font-family: var(--font-head); font-size: var(--step-2); line-height: 1.25;
    color: var(--c-offwhite); padding: 0.7em 0;
    border-bottom: 1px solid color-mix(in srgb, var(--c-cream) 22%, transparent);
  }
  .site-nav__list a:hover, .site-nav__list a:focus-visible { color: #fff; }
  .site-nav__list .current-menu-item > a { font-style: italic; }

  .site-header .site-nav__cta { align-self: flex-start; font-size: var(--step-0); padding: 1.05em 1.6em; }

  /* WhatsApp-knop onderin het mobiele menu. */
  .site-nav__wa {
    display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start;
    background: #25D366; color: #fff; border-radius: 999px;
    padding: 0.9em 1.5em; font-size: var(--step--1); font-weight: 600;
  }
  .site-nav__wa:hover, .site-nav__wa:focus-visible { color: #fff; background: #1fbb59; }

  /* Verduisterende laag achter het paneel. */
  .site-nav-overlay {
    position: fixed; inset: 0; background: rgba(35,26,16,.5);
    opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 40;
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  .site-header.is-open ~ .site-nav-overlay,
  body.gs-nav-open .site-nav-overlay { opacity: 1; pointer-events: auto; }
  body.gs-nav-open { overflow: hidden; }
}
@media (min-width: 861px) { .site-nav-overlay { display: none; } }

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

/* ---------- Zwevende WhatsApp-knop ---------- */
/* Geen `gap`: die telt ook mee als het label is ingeklapt, waardoor de knop
   breder dan hoog wordt. De ruimte zit daarom in de margin van het label. */
.wa-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 45; display: inline-flex; align-items: center; gap: 0;
  background: #25D366; color: #fff; border-radius: 999px;
  padding: 0.75rem; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(20,80,45,.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover, .wa-fab:focus-visible {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(20,80,45,.6);
}
.wa-fab__icon { display: grid; place-items: center; flex: 0 0 auto; }
.wa-fab__label {
  font-size: var(--step--1); font-weight: 600; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0; margin-left: 0;
  transition: max-width .3s ease, opacity .2s ease, margin-left .3s ease;
}
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { max-width: 14rem; opacity: 1; margin-left: 0.6rem; margin-right: 0.35rem; }
/* Op mobiel geen uitklap-tekst: gewoon een ronde knop. */
@media (max-width: 640px) {
  .wa-fab__label { display: none; }
  .wa-fab { padding: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab, .wa-fab__label { transition: none; } }
