/* ===================================================================
   Tubes — tubes.media
   Design language: het Tubes VMS design system (Claude Design project
   "Tubes Design System") — neutraal lichtgrijs canvas (op verzoek i.p.v.
   het crème uit de app), witte kaarten, teal acties, Mulish.
   Status-chips uit de app zijn het signatuurelement.
   =================================================================== */

:root {
  /* Neutrals — tokens/colors.css */
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #5C5750;
  --muted: #8B8E94;
  --border: #E3E5E9;
  --divider: #ECEEF1;

  /* Action — teal */
  --action: #0E9C88;
  --action-hover: #0C8A78;
  --action-soft: #DBF3EE;
  --action-soft-ink: #0E8C77;

  /* Status chips (pill = bg + ink) */
  --status-blue-bg: #E2EEFC;   --status-blue-ink: #2D6CC4;
  --status-teal-bg: #DBF3EE;   --status-teal-ink: #0E8C77;
  --status-amber-bg: #FBF0CE;  --status-amber-ink: #977414;
  --status-mint-bg: #DCF5E3;   --status-mint-ink: #1F8A4C;
  --status-lavender-bg: #ECE9FD; --status-lavender-ink: #6D4ED6;

  /* Shape & elevation — tokens/shape.css */
  --radius-button: 10px;
  --radius-chip: 8px;
  --radius-wash: 12px;
  --radius-card: 16px;
  --shadow-card: 0px 1px 2px -1px rgba(0,0,0,0.1), 0px 1px 3px 0px rgba(0,0,0,0.1);
  --shadow-nav: 0px 1px 2px 0px rgba(0,0,0,0.05);
  --shadow-raise: 0px 10px 24px -8px rgba(26,26,26,0.14);

  --gold: #D6A339; /* uit het TUBES-logo */

  --font-sans: "Mulish", "Nunito", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --container: 1240px;
}

::selection { background: var(--action-soft); color: var(--action-soft-ink); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }

/* Accentwoord in paginatitels: *woord* in het CMS wordt teal */
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #0EA893 20%, #2D6CC4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

a { color: var(--action-soft-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--action); }

:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Micro-label (eyebrow, uit de app: .u-microlabel) ---------- */

.kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px; height: 5px;
  border-radius: 2px;
  background: repeating-linear-gradient(115deg, var(--gold) 0 4px, transparent 4px 8px);
  vertical-align: 1px;
  margin-right: 10px;
}

/* ---------- Status-chips (signatuur, uit de app) ---------- */

.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 600; line-height: 1;
  padding: 7px 12px;
  border-radius: var(--radius-chip);
  background: var(--status-teal-bg); color: var(--status-teal-ink);
  white-space: nowrap;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.chip-blue { background: var(--status-blue-bg); color: var(--status-blue-ink); }
.chip-amber { background: var(--status-amber-bg); color: var(--status-amber-ink); }
.chip-mint { background: var(--status-mint-bg); color: var(--status-mint-ink); }
.chip-lavender { background: var(--status-lavender-bg); color: var(--status-lavender-ink); }

.chip-sep { color: var(--muted); font-size: 0.9rem; user-select: none; }
.theme-dark .chip-sep { color: rgba(231, 230, 227, 0.45); }

/* Levende pipeline: de "actieve" fase licht op (JS wisselt door) */
.chip { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.chip.is-current {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45), 0 0 0 1.5px currentColor inset;
}

/* ---------- Knoppen (radius 10, teal) ---------- */

.button {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-button);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.button.button-primary { background: var(--action); color: #fff; }
.button.button-primary:hover { background: #10AC97; color: #fff; box-shadow: 0 8px 18px -8px rgba(14, 156, 136, 0.55); transform: translateY(-2px); }

.button.button-secondary { background: var(--surface); color: var(--action-soft-ink); border-color: var(--border); }
.button.button-secondary:hover { border-color: var(--action); color: var(--action-hover); }

.button.button-inverse { background: #fff; color: var(--ink); }
.button.button-inverse:hover { background: var(--action-soft); color: var(--action-soft-ink); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button-row.centered { justify-content: center; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}

/* Wordmark in de stijl van het originele logo: verloop van goud naar
   teal (i.p.v. het oude goud→navy), als scherpe tekst */
.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-text {
  display: inline-flex; flex-direction: column;
  font-family: "Comfortaa", var(--font-sans); /* het lettertype van het originele logo */
  font-weight: 700; font-size: 2.05rem;
  -webkit-text-stroke: 0.026em currentColor; /* zelfde dikte als het origineel */
  line-height: 1;
  color: var(--ink);
}
.logo-letters { display: flex; gap: 0.07em; }
.logo-letters b { font-weight: 700; }
.logo-letters b:nth-child(5n+1) { color: #E0B65F; } /* goud */
.logo-letters b:nth-child(5n+2) { color: #57B07D; } /* groen */
.logo-letters b:nth-child(5n+3) { color: #41AF9F; } /* teal */
.logo-letters b:nth-child(5n+4) { color: #5C8BD4; } /* blauw */
.logo-letters b:nth-child(5n+5) { color: #8A6AE8; } /* violet (AI) */
/* Tagline exact even breed als het wordmark: de letters van TUBES bepalen
   de breedte (width:0 + min-width:100%), de tagline vult die precies uit */
.logo-text small {
  display: flex; justify-content: space-between;
  width: 0; min-width: 100%;
  font-size: 0.59rem; font-weight: 700;
  color: var(--muted);
  margin-top: 0.14em;
}
.logo-text small i { font-style: normal; }
.footer-brand { margin-bottom: 16px; }
.footer-brand .logo-text { font-size: 1.55rem; }
.footer-brand .logo-text small { font-size: 0.45rem; }

.site-nav ul {
  display: flex; flex-wrap: wrap; gap: 2px;
  list-style: none; margin: 0;
  padding: 5px;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: 999px;
}

.site-nav a {
  display: inline-block;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--divider); }
.site-nav a.is-active { background: #E6EEFC; color: var(--status-blue-ink); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Secties ---------- */

.section { padding: clamp(56px, 8vw, 108px) 0; position: relative; }
.section > .container { position: relative; z-index: 1; }

/* Spotlaag: JS legt deze in donkere en blauwe secties. De spot dwaalt
   heel langzaam autonoom rond — losgekoppeld van de muis. */
.spot-layer {
  position: absolute; inset: -25%; z-index: 0;
  pointer-events: none;
  background: radial-gradient(640px circle at 30% 36%, rgba(255, 255, 255, 0.9), transparent 68%);
}

/* Op donker: teal spot met witte kern, het sterkst */
.theme-dark > .spot-layer {
  background: radial-gradient(720px circle at 64% 34%, rgba(255, 255, 255, 0.13) 0%, rgba(15, 182, 162, 0.40) 30%, transparent 70%);
}

/* Tweede spot op het donkere vlak: warm goud, linksonder, eigen tempo */
.theme-dark > .spot-layer::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(620px circle at 20% 72%, rgba(255, 255, 255, 0.07) 0%, rgba(214, 163, 57, 0.24) 34%, transparent 74%);
}

@media (prefers-reduced-motion: no-preference) {
  .spot-layer { animation: spot-wander 48s ease-in-out infinite alternate; }
  .theme-dark > .spot-layer { animation-duration: 38s; animation-direction: alternate-reverse; }
  .theme-dark > .spot-layer::after { animation: spot-wander 54s ease-in-out infinite alternate; }
  @keyframes spot-wander {
    from { transform: translate(-5%, -3%); }
    to { transform: translate(6%, 4%); }
  }
}
.theme-light { background: var(--bg); }
/* Witte secties zijn "vellen" die zacht schaduw werpen op het canvas —
   diepte in plaats van harde scheidingslijnen */
.theme-white {
  background: var(--surface);
  position: relative; z-index: 1;
  box-shadow: 0 16px 30px -24px rgba(26, 26, 26, 0.28),
              0 -16px 30px -24px rgba(26, 26, 26, 0.28);
}

/* Donker thema (home-hero): ink met een zachte teal- en goudgloed */
.theme-dark {
  background:
    radial-gradient(900px 520px at 82% 12%, rgba(14, 156, 136, 0.20), transparent 62%),
    radial-gradient(640px 420px at 6% 95%, rgba(214, 163, 57, 0.09), transparent 60%),
    #17191C;
  color: rgba(231, 230, 227, 0.78);
}
.theme-dark { position: relative; overflow: hidden; }
.theme-dark .container { position: relative; z-index: 1; }

/* Theaterlicht: twee zachte lichtbundels van boven, als podiumspots */
.theme-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, 0.05) 47%, transparent 54%),
    linear-gradient(96deg, transparent 58%, rgba(15, 182, 162, 0.07) 67%, transparent 76%);
}

/* Langzaam driftende gloed, als een spot die beweegt */
.theme-dark::after {
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 620px; right: -12%; top: -22%;
  background: radial-gradient(closest-side, rgba(15, 182, 162, 0.13), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .theme-dark::after { animation: spotlight-drift 16s ease-in-out infinite alternate; }
  @keyframes spotlight-drift {
    to { transform: translate(-9%, 7%) scale(1.08); }
  }
}

.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: #fff; }
.theme-dark h1 em { background-image: linear-gradient(100deg, #0FB6A2 25%, #6BAAF0); }
.theme-dark .col-lead { color: #fff; }
.theme-dark .kicker { color: rgba(231, 230, 227, 0.55); }
.theme-dark .rich-text strong { color: #fff; }
.theme-dark .rich-text li::before { border-color: #0FB6A2; }
.theme-dark a { color: #7BD9CC; }
.theme-dark .button.button-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.theme-dark .button.button-secondary:hover { border-color: #fff; color: #fff; }
.theme-dark .hero-media::before { background: rgba(64, 128, 210, 0.38); }
.theme-dark .hero-media::after { background: rgba(64, 128, 210, 0.16); }
.theme-dark .hero-media img, .theme-dark .hero-media video { border-color: rgba(255, 255, 255, 0.14); }

/* Derde achtergrondtint: zachte teal-wash, afgeleid van --action-soft */
.theme-teal { background: #EAF1FC; border-top: 1px solid rgba(45, 108, 196, 0.08); border-bottom: 1px solid rgba(45, 108, 196, 0.08); }
.theme-teal .card { background: var(--surface); border-color: rgba(45, 108, 196, 0.16); box-shadow: var(--shadow-card); }
.theme-teal .kicker { color: var(--status-blue-ink); }

.section-hero { padding-top: clamp(44px, 6vw, 80px); overflow: hidden; }

/* Hero-beeld: gestapelde "app-panelen" — teal plaat schuin achter het
   beeld, en het beeld loopt op brede schermen door richting de rand */
.section-hero .hero-media { position: relative; margin-right: -5vw; }
.section-hero .hero-media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  transform: translate(22px, 22px) rotate(2deg);
  background: #DFEAFB;
  border-radius: var(--radius-card);
}
/* Tweede, verder liggende laag: geeft het gestapelde-panelen-effect diepte */
.section-hero .hero-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  transform: translate(46px, 42px) rotate(4deg);
  background: rgba(45, 108, 196, 0.07);
  border-radius: var(--radius-card);
}
.section-hero .hero-media img,
.section-hero .hero-media video {
  position: relative; z-index: 2;
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}
.section-hero .hero-media:hover img,
.section-hero .hero-media:hover video { transform: rotate(0deg); }
.section-hero .hero-media img[src$=".jpeg"],
.section-hero .hero-media img[src$=".jpg"] { aspect-ratio: 4 / 3; }

/* Secties zachtjes laten opkomen bij het scrollen (klasse via JS) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

.hero-grid, .feature-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-single, .feature-single { grid-template-columns: 1fr; max-width: 780px; }

.media-left .feature-text { order: 2; }
.media-left .feature-media { order: 1; }

.lead { font-size: 1.08rem; }

/* Media altijd in een app-kaartlijst: wit vlak, radius 16, borderrand */
.hero-media img, .feature-media img,
.hero-media video, .feature-media video {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-raise);
}

/* Foto's (jpeg) op vaste 3:2-verhouding, zoals op de oude Squarespace-site.
   App-screenshots (png) houden hun eigen verhouding — die snij je niet af. */
.hero-media img[src$=".jpeg"], .hero-media img[src$=".jpg"],
.feature-media img[src$=".jpeg"], .feature-media img[src$=".jpg"] {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-caption { font-size: 0.88rem; margin-top: 12px; color: var(--muted); }

.col-lead {
  font-weight: 700; color: var(--ink); font-size: 1.05rem;
  margin-bottom: 0.9em;
}

.split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px); align-items: start;
}

.section-heading { margin-bottom: 0.8em; }
.section-heading.centered, .section-intro.centered, .pricing-footnote.centered { text-align: center; }
.section-intro { max-width: 720px; margin-bottom: 2.2em; }
.section-intro.centered { margin-left: auto; margin-right: auto; }

.textblock.narrow { max-width: 860px; }

/* ---------- Rich text ---------- */

.rich-text ul { padding-left: 0; margin: 0 0 1em; list-style: none; }
.rich-text li { margin-bottom: 0.55em; padding-left: 26px; position: relative; }
.rich-text li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--action);
  border-bottom: 2.5px solid var(--action);
  transform: rotate(-45deg);
}
.rich-text strong { color: var(--ink); font-weight: 700; }
.rich-text h3 { margin-top: 1.5em; }
.rich-text h3:first-child { margin-top: 0; }

.rich-text.two-column { columns: 2; column-gap: 56px; }
.rich-text.two-column li { break-inside: avoid; }

/* ---------- Kaarten (radius 16, app-schaduw) ---------- */

.cards-grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

/* Icoontegel, zoals in de Tubes-app (radius 8, zachte wash + teal icoon) */
.icon-tile {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-icon, 8px);
  background: #E6EEFC;
  margin-bottom: 18px;
}
.icon-tile i {
  display: block; width: 20px; height: 20px;
  background: var(--status-blue-ink);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.contact-aside .icon-line { display: flex; gap: 12px; align-items: baseline; }
.contact-aside .icon-line i {
  flex: none; display: inline-block; width: 15px; height: 15px;
  background: var(--action-soft-ink);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  transform: translateY(2px);
}
.card:hover { box-shadow: var(--shadow-raise); border-color: var(--muted); }
.card h3 { color: var(--ink); }

.theme-white .card { background: var(--bg); border-color: var(--divider); box-shadow: none; }
.theme-white .card:hover { border-color: var(--border); box-shadow: var(--shadow-card); }

/* ---------- Afbeeldingenrij ---------- */

.images-row { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.images-2 { grid-template-columns: 1fr 1fr; }
.images-3 { grid-template-columns: repeat(3, 1fr); }
.images-1 { grid-template-columns: 1fr; max-width: 900px; }

.screenshot { margin: 0; }
.screenshot img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.screenshot figcaption { font-size: 0.88rem; margin-top: 10px; text-align: center; color: var(--muted); }

/* ---------- Module-tour (tabs zoals in de app) ---------- */

.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.tour-tab {
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tour-tab:hover { border-color: var(--action); color: var(--action-soft-ink); }
.tour-tab.is-active { background: var(--action); border-color: var(--action); color: #fff; }

.tour-panel { display: none; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.tour-panel.is-active { display: grid; }

.tour-media img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-raise);
}

/* ---------- Zonder/Met Tubes ---------- */

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.compare-card {
  border-radius: var(--radius-card);
  padding: 36px 34px;
}
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li { position: relative; padding-left: 30px; margin-bottom: 0.7em; }
.compare-card li::before { position: absolute; left: 0; top: 0; }

.compare-without {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}
.compare-without li::before { content: "✕"; color: #C23B4B; font-weight: 700; }

.compare-with {
  background: var(--surface);
  border: 1.5px solid var(--action);
  box-shadow: 0 12px 32px -14px rgba(14, 156, 136, 0.28);
}
.compare-with li::before { content: "✓"; color: var(--action); font-weight: 800; }

/* ---------- FAQ ---------- */

.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 28px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-wash);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700; color: var(--ink);
  padding: 18px 52px 18px 22px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--action);
  border-bottom: 2.5px solid var(--action);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item summary:hover { color: var(--action-soft-ink); }
.faq-answer { padding: 0 22px 20px; }

/* ---------- Pricing ---------- */

.pricing-grid { display: grid; gap: 24px; margin-top: 44px; align-items: stretch; }
.pricing-2 { grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; }
.pricing-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-4 { grid-template-columns: repeat(2, 1fr); }

.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 42px 36px 36px;
  box-shadow: var(--shadow-card);
}
.plan-card.is-featured {
  border: 1.5px solid var(--action);
  box-shadow: 0 12px 32px -10px rgba(14, 156, 136, 0.25);
}

.plan-badge {
  position: absolute; top: -13px; left: 32px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--status-teal-bg); color: var(--status-teal-ink);
  border: 1px solid rgba(14, 140, 119, 0.25);
  font-size: 0.78rem; font-weight: 700; line-height: 1;
  padding: 6px 12px; border-radius: var(--radius-chip); white-space: nowrap;
}
.plan-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}

.plan-card h3 { font-size: 1.45rem; }

.plan-price {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 20px 0 4px;
}
.plan-price-note { font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.plan-price-detail { font-size: 0.9rem; color: var(--muted); }

.plan-features { margin-top: 20px; font-size: 0.95rem; }

.plan-button { margin-top: auto; text-align: center; }
.plan-features + .plan-button, .rich-text + .plan-button { margin-top: 26px; }

.pricing-footnote { margin-top: 36px; font-size: 0.95rem; color: var(--muted); }
.pricing-footnote strong { color: var(--ink-soft); }

/* ---------- CTA: donker inzetpaneel op crème ---------- */

.section-cta { background: var(--bg); padding: clamp(40px, 6vw, 72px) 0; }
.cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 96px);
}

/* Twee podiumspots die heel langzaam en onafhankelijk van elkaar dwalen:
   teal linksboven, goud rechtsonder */
.cta-inner::before,
.cta-inner::after {
  content: "";
  position: absolute; inset: -30%; z-index: -1;
  pointer-events: none;
}
.cta-inner::after {
  background: radial-gradient(560px circle at 34% 36%, rgba(255, 255, 255, 0.15) 0%, rgba(15, 182, 162, 0.36) 32%, transparent 72%);
}
.cta-inner::before {
  background: radial-gradient(600px circle at 70% 58%, rgba(255, 255, 255, 0.10) 0%, rgba(214, 163, 57, 0.28) 34%, transparent 74%);
}
@media (prefers-reduced-motion: no-preference) {
  .cta-inner::after { animation: spot-wander 42s ease-in-out infinite alternate; }
  .cta-inner::before { animation: spot-wander 56s ease-in-out infinite alternate-reverse; }
}
.cta-inner h2 { color: #fff; }
.cta-inner .rich-text { color: rgba(231, 230, 227, 0.8); max-width: 720px; margin: 0 auto; }
.cta-inner .rich-text strong { color: #fff; }
.cta-inner .rich-text a { color: var(--action-soft); }

/* ---------- Contactformulier ---------- */

.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}

.contact-form { margin-top: 12px; }
.contact-form label {
  display: block; font-size: 0.92rem; font-weight: 600; color: var(--ink);
  margin-bottom: 18px;
}
.contact-form .req { font-weight: 400; color: var(--muted); font-size: 0.85em; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-button);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--action);
  box-shadow: 0 0 0 3px var(--action-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-status { margin-top: 14px; font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.form-status.is-error { color: #C23B4B; }
.form-status.is-success { color: #1F8A4C; }

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 34px 32px;
}
.contact-aside h3 { color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.8fr;
  gap: clamp(28px, 4vw, 64px);
}

.footer-col h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1.2em; }
.footer-col p { font-size: 0.92rem; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--action-soft-ink); }

.footer-logo { width: 116px; margin-bottom: 18px; }
.footer-about .button { margin-top: 12px; }
.footer-legal-logo { width: 140px; margin-top: 14px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-button);
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-links a:hover { background: var(--action-soft); color: var(--action-soft-ink); border-color: var(--action); }

.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--muted);
}

/* ---------- Hero laad-animatie (één orkestmoment) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .section-hero .kicker,
  .section-hero h1,
  .section-hero .rich-text,
  .section-hero .button-row,
  .section-hero .chip-row,
  .section-hero .hero-media {
    animation: rise 0.5s ease both;
  }
  .section-hero h1 { animation-delay: 0.06s; }
  .section-hero .rich-text { animation-delay: 0.12s; }
  .section-hero .chip-row { animation-delay: 0.18s; }
  .section-hero .button-row { animation-delay: 0.24s; }
  .section-hero .hero-media { animation-delay: 0.2s; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid, .feature-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-hero .hero-media { margin-right: 12px; }
  .section-hero .hero-media::before { transform: translate(12px, 12px) rotate(1.5deg); }
  .media-left .feature-text { order: 1; }
  .media-left .feature-media { order: 2; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .pricing-4, .pricing-3, .pricing-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rich-text.two-column { columns: 1; }
}

@media (max-width: 700px) {
  .cards-3, .cards-2, .images-2, .images-3,
  .pricing-4, .pricing-3, .pricing-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    display: none; padding: 10px 20px 20px;
    box-shadow: var(--shadow-raise);
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; background: none; border: 0; padding: 0; border-radius: 0; }
  .site-nav a { display: block; padding: 12px 13px; font-size: 1.02rem; }

  .cta-inner { border-radius: var(--radius-card); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Energie-details ---------- */

/* Pipeline-chips: speels heel licht gekanteld */
.chip-row li.chip:nth-child(4n+1) { transform: rotate(-1.5deg); }
.chip-row li.chip:nth-child(4n+3) { transform: rotate(1.2deg); }

/* Kaarten komen trapsgewijs binnen zodra de sectie in beeld schuift */
.reveal .card, .reveal .plan-card {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible .card, .reveal.is-visible .plan-card { opacity: 1; transform: none; }
.reveal.is-visible .card:nth-child(2), .reveal.is-visible .plan-card:nth-child(2) { transition-delay: 0.08s; }
.reveal.is-visible .card:nth-child(3), .reveal.is-visible .plan-card:nth-child(3) { transition-delay: 0.16s; }
.reveal.is-visible .card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Rakoo-aspecten: pastelkaarten, header-CTA, knop-pijltjes ---------- */

/* Kaarten in zachte pastellen uit de app-statusfamilie */
.cards-grid .card { border-radius: 20px; border-color: transparent; }
.cards-grid .card:nth-child(4n+1) { background: #F0EDFC; }
.cards-grid .card:nth-child(4n+2) { background: #F8F1DC; }
.cards-grid .card:nth-child(4n+3) { background: #E6EEFC; }
.cards-grid .card:nth-child(4n+4) { background: #E4F3EA; }
.cards-grid .card:hover { border-color: transparent; }
.cards-grid .card .icon-tile { background: rgba(255, 255, 255, 0.85); }
.cards-grid .card .icon-tile i { background: var(--ink-soft); }

/* Demo-knop in de header */
.header-cta { padding: 10px 20px; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 1180px) { .header-cta { display: none; } }

/* Pijltje in primaire knoppen dat meeschuift bij hover */
.button.button-primary::after {
  content: "\2192";
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.button.button-primary:hover::after { transform: translateX(3px); }

/* ---------- Film-knipoog: zoeker-hoekjes op het hero-beeld ---------- */

.viewfinder {
  position: absolute; inset: 12px; z-index: 3;
  pointer-events: none;
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
.section-hero .hero-media:hover .viewfinder { transform: rotate(0deg); }
.viewfinder::before,
.viewfinder::after {
  content: ""; position: absolute;
  width: 26px; height: 26px;
  border: 0 solid rgba(255, 255, 255, 0.85);
}
.viewfinder::before { top: 0; left: 0; border-top-width: 2.5px; border-left-width: 2.5px; border-top-left-radius: 6px; }
.viewfinder::after { bottom: 0; right: 0; border-bottom-width: 2.5px; border-right-width: 2.5px; border-bottom-right-radius: 6px; }
