/* =========================================================
   IXPRESSION – stijl van de website (2026)
   Donker en futuristisch: bijna zwart met een paars → magenta
   gloed, ruime ronde hoeken en pilvormige knoppen.
   De tokens komen uit het IXPRESSION Design System (tokens/*.css).
   Mobile-first; tablet vanaf 640px, desktop vanaf 1024px.
   ========================================================= */

@font-face {
  font-family: "Good Times";
  src: url("../fonts/goodtimes.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Merk: paars en magenta ---- */
  --purple-300: #AC74CE;
  --purple-400: #8E45B8;
  --purple-500: #7A2D9E;
  --purple-600: #662B8C;
  --magenta-200: #F09FCD;
  --magenta-250: #EB7DBC;   /* tussenstap: accenttekst die ook op de lichtere kaarten 4.5:1 haalt */
  --magenta-300: #E866B0;
  --magenta-400: #DE2F94;
  --magenta-500: #C51B86;
  --magenta-600: #A3146E;

  /* ---- Inkt: donkere, paars getinte vlakken ---- */
  --ink-950: #0A0610;
  --ink-900: #110B1A;
  --ink-850: #170F24;
  --ink-800: #1E1430;
  --ink-700: #2A1D40;

  --bg-sunken: #060309;          /* pagina-achtergrond */
  --bg-page: var(--ink-950);     /* footer, dichte vlakken */
  --bg-band: rgba(56, 24, 82, 0.46); /* sterkste punt van een afwisselende sectie: paars getint (purple-800) en half doorzichtig */
  --band-fade: clamp(88px, 14vw, 180px); /* over deze hoogte loopt een band boven en onder uit in de achtergrond */
  --scrim: rgba(6, 3, 9, 0.9);       /* donker plaatje achter tekst die op een foto staat */
  --surface-1: var(--ink-850);
  --surface-2: var(--ink-800);

  /* ---- Tekst ---- */
  --text-strong: #FBF8FF;
  --text-body: #D6CCE4;
  --text-muted: #ADA2C3;         /* lichter dan het Design System (#998CAE): haalt 4.5:1 op de lichtere kaarten */
  --text-faint: #9084A8;         /* alleen voor grote tekst op een sectie zonder band of kaart (statement) en het grijze statusbolletje */
  --accent: var(--magenta-400);      /* decoratie: vinkjes, plusjes, cursor */
  --accent-text: var(--magenta-250); /* tekst in de accentkleur: haalt 4.5:1, ook op kaarten */
  --link: var(--magenta-250);

  /* ---- Randen ---- */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.20);
  --border-brand: rgba(222, 47, 148, 0.55);
  --focus-ring: var(--magenta-300); /* dekkend en licht: minstens 3:1 op elke achtergrond */

  /* ---- Status ---- */
  --success: #2FBF87;
  --success-soft: rgba(47, 191, 135, 0.16);
  --danger: #F0506A;
  --danger-soft: rgba(240, 80, 106, 0.16);

  /* ---- Verlopen ---- */
  --grad-brand: linear-gradient(120deg, #7A2D9E 0%, #C51B86 60%, #DE2F94 100%);
  /* Knoppen eindigen iets donkerder, zodat witte tekst overal 4.5:1 haalt. */
  --grad-button: linear-gradient(120deg, #7A2D9E 0%, #C51B86 100%);
  --grad-glow: radial-gradient(120% 120% at 0% 0%, rgba(122, 45, 158, 0.55) 0%, rgba(197, 27, 134, 0.18) 45%, rgba(10, 6, 16, 0) 75%);
  /* Kaartvlak: één stap lichter op de inktschaal (ink-600 → ink-800, was ink-700 → ink-850). */
  --grad-surface: linear-gradient(160deg, rgba(58, 42, 84, 0.9) 0%, rgba(30, 20, 48, 0.92) 100%);
  --grad-line: linear-gradient(90deg, transparent, var(--magenta-400), transparent);
  /* Verloop voor grote merktekst: de kop haalt er 4.5:1 mee, ook in de gloed; de stapnummers op een
     kaart ongeveer 4:1, genoeg voor grote tekst (3:1). */
  --grad-brand-light: linear-gradient(120deg, #C06BF0 0%, #F04FAE 55%, #F78BC4 100%);
  /* Licht achter de hele site: paars linksboven, magenta rechtsonder. Schaalt mee met het scherm.
     Doorgerekend op contrast; niet sterker maken dan 0.42 en 0.30. */
  --grad-ambient:
    radial-gradient(100vmax 80vmax at 8% -6%, rgba(122, 45, 158, 0.40) 0%, rgba(122, 45, 158, 0) 70%),
    radial-gradient(100vmax 80vmax at 100% 106%, rgba(197, 27, 134, 0.28) 0%, rgba(197, 27, 134, 0) 70%);
  /* Licht van boven in de hero en de paginakoppen: een halve koepel die het hele lichtvlak vult.
     Niet sterker maken dan 0.38 en 0.20. */
  --grad-hero: radial-gradient(90% 100% at 50% 0%, rgba(197, 27, 134, 0.36) 0%, rgba(122, 45, 158, 0.18) 45%, rgba(122, 45, 158, 0) 100%);
  /* Afwisselende sectie: de paarse tint van --bg-band, die boven en onder zacht uitloopt in de
     achtergrond. Geen harde rand: de achtergrond van de site moet één geheel blijven. */
  --grad-band: linear-gradient(180deg,
    rgba(56, 24, 82, 0) 0,
    rgba(56, 24, 82, 0.13) calc(var(--band-fade) * 0.35),
    rgba(56, 24, 82, 0.36) calc(var(--band-fade) * 0.7),
    var(--bg-band) var(--band-fade),
    var(--bg-band) calc(100% - var(--band-fade)),
    rgba(56, 24, 82, 0.36) calc(100% - var(--band-fade) * 0.7),
    rgba(56, 24, 82, 0.13) calc(100% - var(--band-fade) * 0.35),
    rgba(56, 24, 82, 0) 100%);
  /* Halve banden, voor twee banden direct onder elkaar (als er in het beheer een sectie tussenuit
     is gezet): de bovenste loopt alleen boven uit, de onderste alleen onder. */
  --grad-band-boven: linear-gradient(180deg,
    rgba(56, 24, 82, 0) 0,
    rgba(56, 24, 82, 0.13) calc(var(--band-fade) * 0.35),
    rgba(56, 24, 82, 0.36) calc(var(--band-fade) * 0.7),
    var(--bg-band) var(--band-fade));
  --grad-band-onder: linear-gradient(180deg,
    var(--bg-band) calc(100% - var(--band-fade)),
    rgba(56, 24, 82, 0.36) calc(100% - var(--band-fade) * 0.7),
    rgba(56, 24, 82, 0.13) calc(100% - var(--band-fade) * 0.35),
    rgba(56, 24, 82, 0) 100%);
  /* Footer: wordt naar beneden toe geleidelijk donkerder, zonder scheidslijn. */
  --grad-footer: linear-gradient(180deg, rgba(10, 6, 16, 0) 0, rgba(10, 6, 16, 0.5) 70px, rgba(10, 6, 16, 0.86) 160px);
  /* Gloed achter de afsluitende oproep: past precies in het blok en loopt naar alle randen uit.
     Doorgerekend op contrast; het midden niet sterker maken dan 0.30. */
  --grad-cta: radial-gradient(closest-side, rgba(197, 27, 134, 0.30) 0%, rgba(122, 45, 158, 0.14) 55%, rgba(122, 45, 158, 0) 100%);
  /* Sluier over de energie-foto in een fotoplaceholder: de foto blijft zichtbaar, het label staat op --scrim. */
  --scrim-media: radial-gradient(circle at 50% 50%, rgba(10, 6, 16, 0.25), rgba(10, 6, 16, 0.6));

  /* ---- Diepte en gloed ---- */
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --glow-sm: 0 0 0 1px rgba(222, 47, 148, 0.35), 0 6px 22px rgba(197, 27, 134, 0.30);
  --glow-md: 0 0 0 1px rgba(222, 47, 148, 0.40), 0 10px 40px rgba(197, 27, 134, 0.42);
  --sheen-top: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* ---- Vorm ---- */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-pill: 999px;

  /* ---- Beweging ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-mid: 240ms;

  /* ---- Typografie ---- */
  --font-display: "Good Times", "Space Grotesk", system-ui, sans-serif;
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  /* Kolom van minstens één schermhoogte: op een korte pagina (404, contact) staat de footer
     onderaan het venster en blijft er geen losse strook achtergrond onder over. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-sunken);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

/* Achtergrond van de hele site, net als op de tijdelijke bouwpagina: twee grote, zachte gloedvlekken
   (--grad-ambient) en daarboven een bewegend netwerk van punten en lijnen (canvas, getekend door main.js).
   Beide staan vast achter de inhoud; alles zonder eigen achtergrond laat ze door. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: var(--grad-ambient);
}
.bg-net {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

::selection { background: var(--magenta-500); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

/* Het hidden-attribuut wint altijd, ook van display:flex op hetzelfde element (pijlen van de carrousel). */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* H1 is het merkmoment: Good Times, in kapitalen en licht gespatieerd.
   De letter is breed, dus de maat blijft bescheiden. */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 6.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0; }

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--magenta-200); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--grad-button);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typografie-hulpjes ---------- */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow--light { color: var(--accent-text); }

.grad-text {
  background-image: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Verloop in de grote kop: de lichte variant, zodat het ook in de gloed leesbaar blijft. */
h1 .grad-text { background-image: var(--grad-brand-light); }

.lead { font-size: 18px; line-height: 1.6; color: var(--text-body); }

.section-intro { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-intro > p:not(.eyebrow) { color: var(--text-muted); }
.section-intro--center { align-items: center; text-align: center; margin: 0 auto; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 50px;
  padding: 0.72em 1.6em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out), background-color var(--dur-mid) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: var(--dur-fast); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.btn-primary,
.btn-white {
  color: #fff;
  background-image: var(--grad-button);
  box-shadow: 0 6px 22px rgba(197, 27, 134, 0.34);
}
.btn-primary:hover,
.btn-white:hover { color: #fff; box-shadow: 0 10px 40px rgba(197, 27, 134, 0.46); }

.btn-secondary,
.btn-ghost {
  color: var(--text-strong);
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover,
.btn-ghost:hover { color: var(--text-strong); border-color: var(--border-brand); box-shadow: var(--glow-sm); }

.btn-nav { min-height: 44px; padding: 0.55em 1.25em; font-size: 15px; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 3, 9, 0.74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
}
/* Bovenaan de pagina is de balk doorzichtig (klasse komt uit main.js). */
.site-header.is-top {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.menu-open .site-header {
  background: rgba(6, 3, 9, 0.96);
  border-bottom-color: var(--border-subtle);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
/* Alleen het woord IXPRESSION, zonder ondertitel: de hoogte is de letterhoogte
   (breedte = 10,6 x hoogte). Onder 364px krimpt het mee, zodat de menuknop ernaast past. */
.brand img { height: min(16px, 4.4vw); width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

/* Bereikbaarheidslampje (groen = nu bereikbaar), gevuld via /beheer of Smart Connect */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.status-pill-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-faint); /* "Nu gesloten": haalt 3:1, ook boven het licht in de kop */
  flex-shrink: 0;
}
.status-pill--open { color: var(--success); }
.status-pill--open .status-pill-dot {
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(47, 191, 135, 0.6);
  animation: status-puls 2s ease-out infinite;
}
@keyframes status-puls {
  0%   { box-shadow: 0 0 0 0 rgba(47, 191, 135, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(47, 191, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 191, 135, 0); }
}
.nav-menu .status-pill { padding: 14px 0; }
.status-regel { font-size: 15px; line-height: 1.6; }
.status-regel .status-pill { font-size: 15px; }
.status-uitleg { color: var(--text-muted); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobiel: menu als uitklappaneel onder de header */
.nav-menu {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: rgba(6, 3, 9, 0.96);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px var(--gutter) 28px;
  box-shadow: var(--shadow-lg);
}
.nav-menu.is-open { display: block; }
.nav-menu ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-menu li a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  transition: color var(--dur-mid);
}
.nav-menu li a:hover { color: var(--text-strong); }
.nav-menu li a[aria-current="page"] { color: var(--magenta-200); }
.nav-menu .btn-nav { width: 100%; min-height: 50px; }

/* ---------- Secties ---------- */
.section { padding: 64px 0; }
/* Afwisselende secties: een paarse tint zonder randen, die boven en onder uitloopt (--grad-band). */
.section--light,
.section--dark { background: var(--grad-band); }
/* Secties zijn in het beheer uit te zetten (includes/secties.php). Daardoor kunnen twee secties
   van dezelfde soort onder elkaar komen. Twee zonder band: de witruimte telt niet dubbel.
   Twee met band: ze lopen door als één band, zonder dip ertussen. */
.section:not(.section--light, .section--dark) + .section:not(.section--light, .section--dark) { padding-top: 0; }
:is(.section--light, .section--dark):has(+ :is(.section--light, .section--dark)) { background: var(--grad-band-boven); }
:is(.section--light, .section--dark) + :is(.section--light, .section--dark) { background: var(--grad-band-onder); padding-top: 0; }
:is(.section--light, .section--dark) + :is(.section--light, .section--dark):has(+ :is(.section--light, .section--dark)) { background: var(--bg-band); }

.stack { display: flex; flex-direction: column; gap: 36px; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ---------- Hero (homepage) ----------
   Eén idee: het netwerk van de site-achtergrond, met licht van boven (--grad-hero).
   Geen foto en geen zwevende vlekken: die vochten met de punten en lijnen. */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 56px) 0 72px;
  min-height: min(100vh, 880px);
  min-height: min(100svh, 880px);
  display: flex;
  align-items: center;
  text-align: center;
}
/* Het licht ligt onder het netwerk (z-index -2, het canvas staat op -1): de punten blijven scherp en
   lijken van achteren verlicht. Dat werkt alleen zolang .hero en .page-hero zelf geen z-index,
   transform of filter krijgen. De hoogte groeit mee met de schermbreedte (op een telefoon blijft de
   kop op het donkere deel) en wordt nooit hoger dan het blok zelf, zodat er geen rand ontstaat. */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: min(48vw, 520px);
  max-height: 100%;
  z-index: -2;
  pointer-events: none;
  background: var(--grad-hero);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 1040px;
}
/* Gemeten met Good Times: op 44px past de kop op drie regels binnen 976px. */
.hero h1 { font-size: clamp(1.375rem, 4.3vw, 2.75rem); line-height: 1.18; }
.hero h1 .grad-text { display: block; }
.hero-sub { font-size: 17px; line-height: 1.6; color: var(--text-body); max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .hero-actions { justify-content: center; margin-top: 10px; }
.hero .hero-actions .btn { min-height: 56px; padding: 0.9em 2em; font-size: 17px; }
.hero-trust {
  list-style: none;
  margin: 6px 0 0; padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 0.5em; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(32px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero-inner > * { animation: heroIn 0.9s var(--ease-out) both; }
.hero-inner > :nth-child(2) { animation-delay: 0.1s; }
.hero-inner > :nth-child(3) { animation-delay: 0.22s; }
.hero-inner > :nth-child(4) { animation-delay: 0.34s; }
.hero-inner > :nth-child(5) { animation-delay: 0.46s; }

/* ---------- Statement ---------- */
.statement { padding: 72px 0; text-align: center; }
.statement h2 {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(1.6rem, 4.4vw, 3.2rem);
  line-height: 1.18;
}
.statement-rest { color: var(--text-faint); }

/* ---------- Terminalvenster (knipoog naar de bouwpagina) ---------- */
.terminal {
  max-width: 620px;
  margin: 44px auto 0;
  overflow: hidden;
  text-align: left;
  background: rgba(10, 6, 16, 0.8);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--sheen-top);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.page-hero .terminal { margin: 16px 0 0; }
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 8px; }
.terminal-body {
  padding: 16px 18px 18px;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 2.4vw, 0.92rem);
  line-height: 1.8;
  color: var(--text-body);
  overflow-wrap: anywhere;
}
.terminal-line.is-hidden { visibility: hidden; }
.terminal-prompt { color: var(--accent); }
.terminal-ok { color: var(--success); }
.terminal-bezig { color: #F0A23B; }
.terminal-line:last-child::after,
.terminal-line.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--accent);
  animation: knipper 1s steps(1) infinite;
}
@keyframes knipper { 50% { opacity: 0; } }

/* ---------- Kaarten ---------- */
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  /* Gloed linksonder in de hoek, bovenop het kaartvlak */
  background:
    radial-gradient(75% 85% at 0% 100%, rgba(122, 45, 158, 0.30) 0%, rgba(197, 27, 134, 0.10) 45%, rgba(10, 6, 16, 0) 75%),
    var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), var(--sheen-top);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}

.card-icon {
  width: 76px; height: 76px;
  padding: 17px;
  margin-bottom: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--sheen-top);
}
.card h3 { font-size: 1.375rem; }
.card-title { font-family: var(--font-heading); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--text-strong); }
.card-text { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* Kaart met een link: de hele kaart is klikbaar en licht op. */
.card .link {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  transition: color var(--dur-mid);
}
.card .link::after { content: ""; position: absolute; inset: 0; }
.card .link:focus-visible { outline: none; }
.card:has(.link:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.card:has(.link):hover {
  transform: translateY(-6px);
  border-color: var(--border-brand);
  box-shadow: var(--glow-md), var(--sheen-top);
}
.card:has(.link):hover .link { color: var(--text-strong); }

/* Brede uitgelichte kaart (Local AI) */
.card--featured {
  gap: 20px;
  background:
    radial-gradient(55% 150% at 100% 100%, rgba(122, 45, 158, 0.34) 0%, rgba(197, 27, 134, 0.12) 45%, rgba(10, 6, 16, 0) 75%),
    var(--grad-surface);
}
.card--featured .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card--featured .card-body { display: flex; flex-direction: column; gap: 8px; }
.card--featured .card-kop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card--featured .link { margin-top: 0; padding-top: 0; white-space: nowrap; }

.badge {
  display: inline-block;
  padding: 0.3em 0.9em;
  border-radius: var(--radius-pill);
  background-image: var(--grad-button);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.grid-2,
.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

/* ---------- Uitgelicht blok (thuisbatterij) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.feature-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* ---------- Foto's, placeholders en carrousel (includes/media.php) ---------- */
.placeholder-media,
.media {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.placeholder-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    var(--scrim-media),
    url("../img/dark-bg.jpg") center / cover no-repeat;
  color: var(--text-body);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
/* Het label staat op een donker plaatje, zodat het op elk deel van de foto leesbaar is. */
.placeholder-label {
  max-width: 100%;
  padding: 0.55em 1em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--scrim);
}
.placeholder-label:empty { display: none; }
.placeholder-media--small,
.media--small { border-radius: var(--radius-lg); box-shadow: none; }
.placeholder-media--small { padding: 16px; font-size: 12px; }

.media {
  margin: 0;
  aspect-ratio: var(--media-ratio, 4 / 3);
  background: var(--surface-1);
  position: relative;
}
.media img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
/* Foto's niet zomaar meenemen: over elke foto ligt een doorzichtige laag, zodat rechtsklikken, slepen en
   lang indrukken niet op de afbeelding zelf uitkomen (geen "Afbeelding opslaan"). Een drempel, geen slot:
   wat een browser toont, is altijd op te halen door wie weet hoe. De laag ligt per foto (niet over de
   hele carrousel), zodat vegen en de pijlen blijven werken. */
figure.media, .carousel-slide { position: relative; }
figure.media::after, .carousel-slide::after { content: ""; position: absolute; inset: 0; }

.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -3px; border-radius: inherit; }
/* De foto's liggen als eigen laag boven de rand hierboven; daarom tekenen we hem ook op de laag over de foto. */
.carousel-track:focus-visible .carousel-slide::after { outline: 3px solid var(--focus-ring); outline-offset: -3px; }
.carousel-slide { flex: 0 0 100%; margin: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(10, 6, 16, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur-mid), opacity var(--dur-mid), box-shadow var(--dur-mid);
}
.carousel-btn:hover { border-color: var(--border-brand); box-shadow: var(--glow-sm); }
.carousel-btn[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }
.carousel-btn--next svg { transform: scaleX(-1); }
.media--small .carousel-btn { width: 36px; height: 36px; }
.media--small .carousel-btn--prev { left: 8px; }
.media--small .carousel-btn--next { right: 8px; }

.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.carousel-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(10, 6, 16, 0.4);
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot[aria-current="true"]::before { background: var(--magenta-400); transform: scale(1.3); }

/* ---------- Formuliervelden ---------- */
.field {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 0 14px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-strong);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid);
}
.field input, .field select { height: 48px; }
.field textarea { min-height: 150px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7E7096; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--magenta-300);
  outline-offset: 1px;
  border-color: var(--border-brand);
  box-shadow: 0 0 0 3px rgba(222, 47, 148, 0.28);
}
.field .req, .field-check .req { color: var(--accent-text); }
.field--full { grid-column: 1 / -1; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--magenta-500); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note, .form-note { font-size: 13px; color: var(--text-muted); }

.field-error { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13px; color: #FF8A9D; font-weight: 500; }
.field [aria-invalid="true"] { border-color: var(--danger); }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), var(--sheen-top);
}
.form h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form .btn { align-self: flex-start; }

.alert {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
}
.alert--ok { background: var(--success-soft); border: 1px solid rgba(47, 191, 135, 0.45); color: #9BE8C8; }
.alert--error { background: var(--danger-soft); border: 1px solid rgba(240, 80, 106, 0.5); color: #FFB3C0; }

/* ---------- Waarom Ixpression / stappen ---------- */
.why-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }

.why-item,
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--sheen-top);
}
.why-number,
.step::before {
  align-self: flex-start; /* anders rekt het vak uit tot de kaartbreedte en zie je alleen het donkere begin van het verloop */
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  background-image: var(--grad-brand-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-item h3, .step h3 { font-size: 1.125rem; }
.why-item p, .step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.steps { counter-reset: stap; }
.step::before {
  counter-increment: stap;
  content: counter(stap, decimal-leading-zero);
}

/* ---------- Projecten ---------- */
.project {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 26px;
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), var(--sheen-top);
}
.project > :not(.media):not(.placeholder-media) { padding: 0 12px; }
.project-meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent-text);
}
.project h3 { font-size: 1.125rem; }
.project p:not(.project-meta) { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ---------- Reviews ---------- */
.review { margin: 0; gap: 14px; }
.stars { color: var(--magenta-400); letter-spacing: 3px; font-size: 17px; }
.review-text { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.review footer { margin-top: auto; font-size: 14px; color: var(--text-muted); }
.review footer a { color: inherit; }
.review-leeg { color: var(--text-muted); font-style: italic; }
.review-score { font-size: 15px; color: var(--text-muted); }

/* ---------- Lopende band (partners, technologie) ---------- */
.marquee-section { padding: 56px 0; text-align: center; }
.marquee-label {
  margin-bottom: 24px;
  padding: 0 var(--gutter);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 16s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  list-style: none;
  margin: 0;
  padding: 0 16px 0 0;
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.marquee-group li {
  padding: 0.5em 1.4em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-muted);
  white-space: nowrap;
}
/* Vier gelijke groepen; één groep opschuiven en opnieuw beginnen is naadloos tot drie groepen breed. */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ---------- Supportblok ---------- */
.support-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px;
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg), var(--sheen-top);
}
.support-box::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: var(--grad-line);
}
.support-copy { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.support-copy h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.support-copy p:not(.eyebrow) { color: var(--text-muted); }
.support-actions { display: flex; gap: 12px; flex-wrap: wrap; }
/* Direct na de lopende band is de ruimte erboven al genoeg. */
.marquee-section + .section--support { padding-top: 0; }

/* ---------- Afsluitende oproep ---------- */
.section--accent { position: relative; isolation: isolate; overflow: hidden; }
.section--accent::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* Even hoog als het blok: de gloed is boven en onder uitgedoofd, dus geen afgesneden rand bij de footer. */
  top: 0; bottom: 0; left: 50%;
  width: min(1100px, 130%);
  transform: translateX(-50%);
  background: var(--grad-cta);
  pointer-events: none;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 88px;
}
.cta h2 { max-width: 860px; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.08; }
.cta p { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 52ch; }
.cta-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cta-actions .btn { min-height: 56px; padding: 0.9em 2em; font-size: 17px; }
.cta-phone { font-size: 16px; color: var(--text-muted); }
.cta-phone a { font-family: var(--font-mono); font-size: 15px; color: var(--text-strong); text-decoration: none; }
.cta-phone a:hover { color: var(--magenta-200); }
.cta-meer { font-size: 15px !important; }

/* Pijltje achter een link naar een van onze andere sites */
.ext { display: inline-block; font-size: 0.9em; opacity: 0.75; transition: transform var(--dur-mid) var(--ease-out); }
a:hover > .ext { transform: translate(2px, -2px); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto; /* altijd tegen de onderkant van het venster, zie body */
  background: var(--grad-footer);
  color: var(--text-muted);
}
.footer-inner { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.footer-about { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.6; }
/* De kolom is een flex-kolom en rekt zijn kinderen standaard uit tot de volle breedte;
   het logo moet zijn eigen verhouding houden en links blijven staan. */
.footer-logo { height: 24px; width: auto; max-width: 100%; align-self: flex-start; flex-shrink: 0; object-fit: contain; }
.footer-blurb { max-width: 34ch; }
.footer-contact { font-family: var(--font-mono); font-size: 12.5px; line-height: 2; }
.footer-social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 8px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-body);
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), color var(--dur-mid);
}
.footer-social a:hover { border-color: var(--border-brand); box-shadow: var(--glow-sm); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col a { padding: 6px 0; } /* ruim genoeg tikdoel op telefoon */
.footer-heading { margin-bottom: 6px; font-family: var(--font-heading); font-weight: 600; color: var(--text-strong); font-size: 14px; }
.site-footer a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color var(--dur-mid); }
.site-footer .footer-contact a { font-size: inherit; }
.site-footer a:hover { color: var(--text-strong); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-legal { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.footer-grap { color: var(--text-muted); }
.footer-legal a { font-size: 13px; padding: 6px 0; }

/* =========================================================
   Subpagina's
   ========================================================= */

/* Paginakop: hetzelfde licht van boven als de hero (zie .hero::before), onder het netwerk */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.page-hero-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-hero-inner > * { max-width: 780px; }
.page-hero h1 { font-size: clamp(1.4rem, 3.4vw, 2.4rem); }
.page-hero .hero-actions { margin-top: 10px; }

/* Dienstenstrook: rij met pillen die naar de blokken op de pagina springen */
/* Geen eigen vlak of lijnen: de pillen staan los op de achtergrond, zodat die één geheel blijft. */
.services-strip .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 18px 6px 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-body);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), color var(--dur-mid);
}
.service-link:hover { color: var(--text-strong); border-color: var(--border-brand); box-shadow: var(--glow-sm); }
/* De oorspronkelijke iconen zijn magenta lijntekeningen; op donker tonen we ze wit. */
.service-link img { width: 28px; height: 28px; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.92; }

/* Dienstblok: tekst + visual, om en om */
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.service-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.service-copy h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.service-copy > p:not(.eyebrow):not(.price-tag):not(.note) { color: var(--text-body); line-height: 1.7; }
.service + .service { margin-top: 64px; }

.check-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-body);
}
.check-list li { position: relative; padding-left: 1.6em; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-tag { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

/* Overzicht in kaarten (merken, stappen, feiten) */
.card.card--compact { padding: 24px; gap: 8px; border-radius: var(--radius-lg); }
.card--compact h3 { font-size: 1.125rem; }
.card--compact p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details {
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 0 22px;
  box-shadow: var(--sheen-top);
  transition: border-color var(--dur-mid);
}
.faq details[open] { border-color: var(--border-brand); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }

/* Statusbalk storingen */
.status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--success-soft);
  border: 1px solid rgba(47, 191, 135, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  font-size: 15px;
  color: #BDEFDA;
}
.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}
.status-bar--storing { background: var(--danger-soft); border-color: rgba(240, 80, 106, 0.5); color: #FFC4CE; }
.status-bar--storing .status-dot { background: var(--danger); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info h2 { font-size: 1.375rem; }
.contact-info address { font-style: normal; font-size: 16px; line-height: 1.7; color: var(--text-body); }
.contact-info a:not(.btn) { text-decoration: none; font-weight: 500; }
.contact-info a:not(.btn):hover { text-decoration: underline; }
.info-block { display: flex; flex-direction: column; gap: 8px; }
.info-label { font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }

/* Teamraster */
.team-member { display: flex; flex-direction: column; gap: 6px; }
.team-member .placeholder-media, .team-member .media { aspect-ratio: 1 / 1; margin-bottom: 8px; }
.team-member h3 { font-size: 1.125rem; }
.team-member p { font-size: 14px; color: var(--text-muted); }

/* Merkenstrook */
.brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-tile {
  padding: 0.6em 1.5em;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-body);
}

/* Juridische pagina's (privacy, voorwaarden, cookies) */
/* .legal staat op hetzelfde element als .container: de maximale breedte hoort daarom op de kinderen,
   anders wordt de hele kolom smaller én gecentreerd en lijnt hij niet meer uit met de paginakop. */
.legal { display: flex; flex-direction: column; gap: 40px; }
.legal > * { max-width: 760px; }
.legal-sectie { display: flex; flex-direction: column; gap: 12px; }
.legal-sectie h2 { font-size: 1.375rem; line-height: 1.3; }
.legal-sectie p, .legal-sectie li { font-size: 16px; line-height: 1.75; color: var(--text-body); }
.legal-sectie ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-sectie li::marker { color: var(--accent); }

/* ---------- Verschijnen bij scrollen (klassen komen uit main.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.99);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-box { padding: 40px; }
  .form { padding: 28px; }
  .hero-sub { font-size: 18px; }
}

@media (min-width: 760px) {
  .card--featured { flex-direction: row; align-items: center; gap: 28px; padding: 30px 36px; }
  .card--featured .card-body { flex: 1 1 0; min-width: 0; }
}

/* =========================================================
   Desktop
   ========================================================= */
@media (min-width: 1024px) {
  :root { --header-h: 76px; }

  .nav { gap: 20px; }
  .nav-toggle { display: none; }
  .nav-menu {
    display: flex;
    position: static;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-menu ul { flex-direction: row; gap: 22px; margin: 0 auto 0 28px; }
  .nav-menu li a { padding: 6px 0; border: 0; font-size: 14px; }
  .nav-menu .btn-nav { width: auto; min-height: 44px; }
  .nav-menu .status-pill { padding: 0; }
  /* Tussen 1024 en 1200px is er te weinig ruimte voor het lampje mét tekst. */
  .nav-menu .status-pill { display: none; }

  .section { padding: 96px 0; }
  .stack { gap: 48px; }
  .statement { padding: 120px 0; }
  .marquee-section { padding: 72px 0; }

  .hero { padding-bottom: 96px; }
  .hero-inner { gap: 26px; }

  .card { padding: 32px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .why-layout { grid-template-columns: 5fr 6fr; gap: 28px; align-items: stretch; }
  .why-layout .media, .why-layout .placeholder-media { height: 100%; aspect-ratio: auto; min-height: 420px; }

  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
  }

  .support-copy { flex: 1 1 320px; }
  .support-box {
    padding: 52px 56px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }

  .cta { padding-top: 120px; padding-bottom: 128px; }
  .cta p { font-size: 18px; }

  .footer-inner { padding-top: 72px; padding-bottom: 32px; gap: 48px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }

  .page-hero-inner { padding-top: 88px; padding-bottom: 80px; }
  .service { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  /* Dienstblokken om en om: op volgorde, zodat het ook klopt als er een blok uit staat. */
  .service--flip .service-media,
  article.service:nth-of-type(even) .service-media { order: 2; }
  .service + .service { margin-top: 104px; }
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 64px; }
  .form { padding: 36px; }
}

@media (min-width: 1200px) {
  /* Zes menu-items plus lampje en belknop passen net in 1136px; daarom blijft de maat 14px.
     Het woordmerk is hier 18px hoog (191px breed); tussen 1024 en 1200px blijft het 16px. */
  .brand img { height: 18px; }
  .nav-menu ul { gap: 24px; }
  .nav-menu .status-pill { display: inline-flex; }
}

/* =========================================================
   Minder beweging
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-inner > *, .status-pill--open .status-pill-dot, .terminal-line::after { animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .btn:hover, .card:has(.link):hover { transform: none; }
  /* De lopende band wordt een gewone, gecentreerde rij. */
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 var(--gutter); }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-group { flex-wrap: wrap; flex-shrink: 1; min-width: 0; justify-content: center; padding: 0; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* Tekst die in het beheerpaneel op "Niet tonen" staat laat een leeg element achter: dat verbergen we,
   zodat er geen lege knop, kop, regel of opsommingsteken overblijft. */
h1:empty, h2:empty, h3:empty, p:empty, li:empty, legend:empty, span.grad-text:empty, span.statement-rest:empty,
a.btn:empty, a.link:empty, .footer-col a:empty, .brand-tile:empty,
ul.check-list:not(:has(li)), ul.hero-trust:not(:has(li)), .brands:not(:has(.brand-tile:not(:empty))),
.hero-actions:not(:has(.btn:not(:empty))) { display: none; }

/* Afdrukken of opslaan als pdf (voorwaarden, privacy): donkere tekst op wit, zonder decoratie,
   en blokken die nog niet in beeld waren geschoven staan er gewoon. */
@media print {
  :root {
    color-scheme: light;
    --text-strong: #000; --text-body: #1a1a1a; --text-muted: #444; --text-faint: #444;
    --link: #662B8C; --accent: #A3146E; --accent-text: #A3146E;
    --border-subtle: #ccc; --border-soft: #bbb;
    --bg-band: transparent; --grad-band: none; --grad-surface: none;
  }
  body { display: block; min-height: 0; padding-top: 0; background: #fff; }
  .bg-net, body::before, .site-header, .skip-link, .hero::before, .page-hero::before, .section--accent::before,
  .marquee-section, .terminal, .carousel-btn, .carousel-dots { display: none !important; }
  .hero, .page-hero { margin-top: 0; padding-top: 0; min-height: 0; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-inner > * { animation: none; }
  .grad-text, h1 .grad-text, .why-number, .step::before { background: none; color: #7A2D9E; }
  .card, .why-item, .step, .project, .form, .support-box, .faq details, .site-footer,
  .placeholder-media, .placeholder-label { background: none; box-shadow: none; }
  .btn, .badge { color: #000; background: none; border-color: #000; box-shadow: none; }
}

/* ---------- Nieuws (uit Smart Connect, includes/nieuws.php) ---------- */
/* Kaart: zelfde vlak als een projectkaart; de titel-link maakt de hele kaart klikbaar. */
.nieuws-kaart {
  position: relative;
  transition: transform var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid) var(--ease-out);
}
.nieuws-kaart:not(:has(.media)) { padding-top: 14px; }
.nieuws-link { color: var(--text-strong); text-decoration: none; }
.nieuws-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.nieuws-link:focus-visible { outline: none; }
.nieuws-kaart:has(.nieuws-link:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.nieuws-kaart:hover {
  transform: translateY(-6px);
  border-color: var(--border-brand);
  box-shadow: var(--glow-md), var(--sheen-top);
}
.nieuws-kaart:hover .nieuws-link { color: var(--accent-text); }

/* Eén bericht: smalle leeskolom met foto bovenaan. */
.section.nieuws-sectie { padding-top: 0; }
.nieuws-artikel { display: flex; flex-direction: column; gap: 32px; max-width: 820px; }
.nieuws-tekst { display: flex; flex-direction: column; gap: 18px; }
.nieuws-tekst p, .nieuws-tekst li { font-size: 17px; line-height: 1.75; color: var(--text-body); }
.nieuws-tekst ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.nieuws-tekst li::marker { color: var(--accent); }
.nieuws-tekst a { color: var(--link); }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }

/* ---------- Banner (mededeling onderaan het scherm, uit Smart Connect) ----------
   Zweeft vast onderaan, zodat de opbouw van de pagina niet verschuift. Wegklikken: main.js. */
.banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 90;
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 12px 12px 24px;
  background: rgba(20, 12, 32, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--glow-sm);
  animation: banner-in var(--dur-mid) var(--ease-out) both;
}
.banner[hidden] { display: none; }
.banner-tekst { flex: 1; font-size: 15px; line-height: 1.5; color: var(--text-strong); }
.banner-knop { min-height: 44px; padding: 0.55em 1.25em; font-size: 15px; white-space: nowrap; }
.banner-sluit {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.banner-sluit:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.08); }
.banner-sluit:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
@keyframes banner-in { from { opacity: 0; transform: translate(-50%, 16px); } }
/* Zolang de banner er staat, houdt de footer onderaan ruimte vrij, zodat er niets onder verdwijnt. */
body:has(.banner:not([hidden])) .site-footer { padding-bottom: 120px; }
@media (max-width: 599px) {
  body:has(.banner:not([hidden])) .site-footer { padding-bottom: 170px; }
  .banner { flex-wrap: wrap; gap: 10px; padding: 14px 8px 14px 18px; }
  .banner-tekst { flex-basis: calc(100% - 56px); }
  .banner-sluit { order: 2; }
  .banner-knop { order: 3; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .banner { animation: none; }
  .nieuws-kaart:hover { transform: none; }
}
@media print {
  .banner { display: none !important; }
  .nieuws-kaart { background: none; box-shadow: none; }
}
