/* Curriva-website. Kleuren uit het C-beeldmerk en app/src/app/curriva-brand.css. */

@font-face {
  font-family: "InterVariable";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Basis, gelijk aan de lichte app */
  --ink: #243953;
  --ink-strong: #172a43;
  --muted: #5d6f87;
  --bg: #ffffff;
  --bg-cool: #f6f9fd;
  --line: rgb(36 57 83 / 0.10);
  --line-strong: rgb(36 57 83 / 0.16);

  /* Actie: diep blauw uit het logo */
  --blue: #185dd4;
  --blue-hover: #124eb8;
  --blue-soft: #eaf2ff;
  --blue-soft-hover: #dce8fd;

  /* De drie linten van het beeldmerk */
  --ribbon-top: linear-gradient(100deg, #03e0e0, #07b4f4 55%, #1765ee);
  --ribbon-left: linear-gradient(200deg, #2a7ff8, #5a4ef7 45%, #8a1cf6);
  --ribbon-bottom: linear-gradient(100deg, #ff168f, #fc4f4f 55%, #ffc414);
  --spectrum: linear-gradient(90deg, #03e0e0, #07b4f4, #1765ee, #5a4ef7, #8a1cf6, #ff168f, #fc4f4f, #ffc414);

  /* Merkverloop van de Vandaag-hero */
  --brand-gradient: linear-gradient(118deg, #185dd4 0%, #4a47e0 38%, #9a37d6 68%, #e82872 100%);
  --brand-ink: linear-gradient(100deg, #185dd4, #9a37d6 55%, #e82872);

  /* Tint per onderdeel, zoals --icon-tint-* in de app */
  --tint-cyan: #00769f;
  --tint-violet: #873de4;
  --tint-blue: #185dd4;
  --tint-pink: #d91d66;
  --tint-orange: #b96200;
  --tint-teal: #007f7f;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --gap: clamp(40px, 6vw, 72px);
  --section: clamp(80px, 11vw, 136px);
  --radius: 20px;
  --frame-pad: 6px;
  --frame-radius: min(1.6vw, 18px);

  /* transitions.dev: gedeelde bewegingswaarden */
  --duration-stagger: 40ms;
  --duration-micro: 80ms;
  --duration-quick: 150ms;
  --duration-fast: 250ms;
  --duration-slow: 400ms;
  --duration-very-slow: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Texts reveal */
  --stagger-dur: 700ms;
  --stagger-distance: 12px;
  --stagger-stagger: 80ms;
  --stagger-blur: 3px;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Tabs sliding */
  --tabs-dur: 250ms;
  --tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tabs-text-muted: #5d6f87;
  --tabs-text-active: #172a43;
  --tabs-bar-bg: rgb(36 57 83 / 0.06);
  --tabs-pill-bg: #ffffff;
  /* Accordion expand */
  --acc-expand: 250ms;
  --acc-collapse: 250ms;
  --acc-chevron: 250ms;
  --acc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Learn more hover */
  --learn-shift: 2px;
  --learn-spread: 8deg;
  --learn-in: 350ms;
  --learn-out: 350ms;
  --learn-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Shimmer text */
  --shimmer-dur: 2000ms;
  --shimmer-base: #5d6f87;
  --shimmer-highlight: #873de4;
  --shimmer-band: 400%;
  --shimmer-ease: linear;
  /* Streaming text */
  --stream-gap: 45ms;
  --stream-fade: 350ms;
  --stream-blur: 1px;
  --stream-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Panel reveal (wissel tussen route-stappen) */
  --panel-open-dur: 400ms;
  --panel-blur: 2px;
  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "InterVariable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink-strong); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
svg { flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 8px 14px; border-radius: 10px; background: var(--ink-strong); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ink {
  background: var(--brand-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.25;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 0;
}
.btn-lg { padding: 14px 16px 14px 20px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 12px; font-size: 0.9375rem; border-radius: 10px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 10px 24px -12px rgb(24 93 212 / 0.75);
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: var(--blue-soft-hover); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 12px 28px -14px rgb(23 42 67 / 0.6); }
.btn-white:hover { background: #f1f6ff; }
.btn-white:focus-visible { outline-color: #fff; }
.btn-icon { width: 18px; height: 18px; fill: currentColor; transition: transform var(--duration-fast) var(--ease-smooth-out); }
.btn:hover .btn-icon { transform: translateX(2px); }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--blue); text-decoration: none; padding: 12px 4px;
}
.link-more:hover { color: var(--blue-hover); }
.t-learn-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.link-quiet { font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.link-quiet:hover { color: var(--blue); }

.assurance { font-size: 0.9375rem; color: var(--muted); }
.assurance svg { display: inline-block; width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; fill: currentColor; }

/* ---------- Kop ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-smooth-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; height: 68px; gap: 16px; }
.header-side { display: flex; flex: 1; align-items: center; }
.header-actions { justify-content: flex-end; gap: 8px; }
.header-nav { display: none; gap: 4px; }
.header-nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.header-nav a:hover { color: var(--blue); background: var(--bg-cool); }

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.wordmark { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.045em; color: var(--ink-strong); line-height: 1; }
.wordmark span { color: #e82872; }
.brand-sm img { width: 24px; height: 24px; }
.brand-sm .wordmark { font-size: 1.25rem; }

.header-actions .link-quiet, .header-actions .btn { display: none; }
.menu-toggle {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-strong);
}
.menu-toggle svg { grid-area: 1 / 1; width: 22px; height: 22px; fill: currentColor; transition: opacity var(--duration-fast) ease-in-out, transform var(--duration-fast) ease-in-out, filter var(--duration-fast) ease-in-out; }
.menu-toggle .icon-swap-b { opacity: 0; transform: scale(0.25); filter: blur(2px); }
.menu-toggle[aria-expanded="true"] .icon-swap-a { opacity: 0; transform: scale(0.25); filter: blur(2px); }
.menu-toggle[aria-expanded="true"] .icon-swap-b { opacity: 1; transform: scale(1); filter: blur(0); }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu nav { display: flex; flex-direction: column; padding-block: 12px 20px; }
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 1.125rem; font-weight: 500; color: var(--ink-strong); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; padding: 14px 18px; font-size: 1.0625rem; }
.mobile-menu:not([hidden]) { animation: menu-in var(--duration-fast) var(--ease-smooth-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

@media (min-width: 960px) {
  .header-nav { display: flex; }
  .header-actions .link-quiet, .header-actions .btn { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); overflow: clip; }
.hero-glow {
  position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(38% 42% at 18% 22%, rgb(3 224 224 / 0.16), transparent 70%),
    radial-gradient(32% 38% at 50% 8%, rgb(90 78 247 / 0.10), transparent 70%),
    radial-gradient(36% 40% at 84% 30%, rgb(255 22 143 / 0.12), transparent 70%),
    radial-gradient(30% 30% at 92% 62%, rgb(255 196 20 / 0.12), transparent 70%);
}
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgb(255 255 255 / 0.8); box-shadow: 0 0 0 1px var(--line), 0 6px 20px -12px rgb(23 42 67 / 0.4);
  font-size: 0.9375rem; font-weight: 500; color: var(--ink);
}
.eyebrow-pill .dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(from 200deg, #03e0e0, #1765ee, #8a1cf6, #ff168f, #fc4f4f, #ffc414, #03e0e0); }
.hero h1 {
  margin-top: 24px;
  max-width: 16ch;
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero .lead { margin-top: 22px; max-width: 50ch; font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.55; color: var(--muted); }
.cta-row { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.hero .assurance { margin-top: 18px; }

.hero-visual { position: relative; margin-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(64px, 8vw, 104px); }
.frame {
  margin: 0;
  padding: var(--frame-pad);
  border-radius: var(--frame-radius);
  background: rgb(255 255 255 / 0.7);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(23 42 67 / 0.35), 0 12px 24px -16px rgb(23 42 67 / 0.18);
}
.frame img {
  width: 100%;
  border-radius: max(4px, calc(var(--frame-radius) - var(--frame-pad)));
  outline: 1px solid rgb(23 42 67 / 0.08); outline-offset: -1px;
}
.frame-hero { max-width: 1100px; margin-inline: auto; }

.float-card {
  position: absolute; left: max(0px, calc(50% - 600px)); bottom: clamp(24px, 4vw, 48px);
  width: min(360px, 78vw);
  padding: 16px 18px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(23 42 67 / 0.06), 0 24px 48px -20px rgb(23 42 67 / 0.45);
}
.float-title { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; }
.float-title svg { width: 16px; height: 16px; fill: var(--blue); }
.float-heading { margin-top: 10px; font-weight: 600; color: var(--ink-strong); line-height: 1.35; }
.float-text { margin-top: 4px; font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.mini-btn { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 600; }
.mini-btn svg { width: 14px; height: 14px; fill: currentColor; }

.phone {
  position: absolute; right: max(0px, calc(50% - 590px)); bottom: 0;
  width: clamp(150px, 19vw, 230px);
  margin: 0; padding: 7px;
  border-radius: 34px;
  background: #0f1a2b;
  box-shadow: 0 30px 60px -24px rgb(15 26 43 / 0.55);
}
.phone img { border-radius: 27px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; width: 100%; }

@media (max-width: 759px) {
  /* Op een telefoon laat de hero het telefoonscherm zien; het desktopbeeld is daar te klein. */
  .frame-hero { display: none; }
  .phone { position: relative; right: auto; bottom: auto; width: min(270px, 72vw); margin-inline: auto; }
  .float-card { position: relative; left: auto; bottom: auto; margin: -72px auto 0; width: min(340px, 100%); }
  .hero-visual { display: flex; flex-direction: column; padding-bottom: 8px; }
  .hero-visual .phone { order: 1; }
  .hero-visual .float-card { order: 2; }
  /* Stapbeelden: inzoomen op het werkgebied naast het menu. */
  .route-panel .frame img, .frame-wide img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 0; }
}

/* ---------- Ingebouwd ---------- */

.built-in { padding-block: clamp(40px, 6vw, 64px) 0; }
.built-in .container { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.built-in-label { font-size: 0.9375rem; color: var(--muted); }
.built-in-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.built-in-list li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-cool); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; font-size: 0.9375rem; color: var(--ink-strong);
}

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

.section { position: relative; padding-block: var(--section); }
.section-cool { background: var(--bg-cool); border-block: 1px solid var(--line); }
.section-top-line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; color: var(--blue);
}
.eyebrow svg { width: 18px; height: 18px; fill: currentColor; }
.eyebrow-tint { color: var(--tint); }
.section h2 {
  margin-top: 12px;
  max-width: 22ch;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-lead { margin-top: 18px; max-width: 52ch; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--muted); }
.footnote { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
  .split-feature { grid-template-columns: 1fr 1fr; align-items: center; }
  .split-reverse > :first-child { order: 2; }
  .split-faq { grid-template-columns: 4fr 8fr; }
}

/* Herkenbaar */
.pains { list-style: none; counter-reset: pain; }
.pains li { display: flex; gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); }
.pains li:first-child { padding-top: 0; border-top: 0; }
.pains li:last-child { padding-bottom: 0; }
.pains svg { width: 26px; height: 26px; margin-top: 2px; fill: #e0336b; }
.pains li:nth-child(2) svg { fill: #f2533f; }
.pains li:nth-child(3) svg { fill: #d97a00; }
.pains h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.35; }
.pains p { margin-top: 6px; color: var(--muted); }
@media (min-width: 1024px) { .split-problem .pains { padding-top: 8px; } }

/* Route */
.route { margin-top: clamp(32px, 5vw, 48px); }
.tabs-wrap { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter); scrollbar-width: none; }
.tabs-wrap::-webkit-scrollbar { display: none; }

.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 48px;
  background: var(--tabs-bar-bg);
}
.t-tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  height: 44px;
  padding: 4px 18px 4px 8px;
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1rem; white-space: nowrap;
  color: var(--tabs-text-muted);
  cursor: pointer;
  border-radius: 48px;
  z-index: 1;
  transition: color var(--tabs-dur) var(--tabs-ease);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] {
  color: var(--tabs-text-active);
}
.tab-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 0.875rem; color: var(--tint); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--tabs-dur) var(--tabs-ease), color var(--tabs-dur) var(--tabs-ease);
}
.t-tab[aria-selected="true"] .tab-num { background: var(--tint); color: #fff; box-shadow: none; }
.t-tabs-pill {
  position: absolute;
  top: 4px;
  left: 0;
  height: 44px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  box-shadow: 0 0 0 1px rgb(23 42 67 / 0.06), 0 4px 12px -4px rgb(23 42 67 / 0.25);
  transform: translateX(0);
  transition:
    transform var(--tabs-dur) var(--tabs-ease),
    width     var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}

.route-panels { display: grid; margin-top: clamp(28px, 4vw, 40px); }
.route-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.route-panel[hidden] { display: grid; visibility: hidden; opacity: 0; pointer-events: none; }
.js .route-panel {
  transition:
    opacity var(--panel-open-dur) var(--panel-ease),
    filter var(--panel-open-dur) var(--panel-ease),
    transform var(--panel-open-dur) var(--panel-ease),
    visibility 0s linear var(--panel-open-dur);
}
.js .route-panel[hidden] { filter: blur(var(--panel-blur)); transform: translateY(8px); }
.js .route-panel.is-active { transition-delay: 0s; }
@media (min-width: 1024px) { .route-panel { grid-template-columns: 4fr 8fr; } }
.step-label { font-size: 0.9375rem; font-weight: 600; color: var(--tint); }
.route-text h3 { margin-top: 8px; font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -0.025em; line-height: 1.2; }
.route-text > p:not(.step-label) { margin-top: 14px; color: var(--muted); }

.checks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks svg { width: 18px; height: 18px; fill: var(--tint, var(--blue)); position: relative; top: 3px; }

/* Feedback-kaart */
.card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -32px rgb(23 42 67 / 0.4);
}
.demo-stack { position: relative; }
.demo-stack::before {
  content: ""; position: absolute; inset: 8% -4% -6% 10%; z-index: -1; border-radius: 40px; filter: blur(40px); opacity: 0.35;
  background: var(--ribbon-bottom);
}
.split-reverse .demo-stack::before { background: var(--ribbon-left); inset: 8% 10% -6% -4%; }

.chain { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9375rem; color: var(--ink-strong); }
.chain-step { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chain-dot {
  position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-strong); color: var(--muted); font-size: 0.8125rem;
  transition: background-color var(--duration-slow) var(--ease-smooth-out), box-shadow var(--duration-slow) var(--ease-smooth-out);
}
.chain-dot svg, .chain-dot b { grid-area: 1 / 1; transition: opacity var(--duration-fast) ease-in-out, transform var(--duration-fast) ease-in-out, filter var(--duration-fast) ease-in-out; }
.chain-dot svg { width: 15px; height: 15px; fill: #fff; opacity: 0; transform: scale(0.25); filter: blur(2px); }
.chain-dot b { font-weight: 600; }
.chain-step.is-done .chain-dot { background: var(--blue); box-shadow: none; }
.chain-step.is-done .chain-dot svg { opacity: 1; transform: scale(1); filter: blur(0); }
.chain-step.is-done .chain-dot b { opacity: 0; transform: scale(0.25); filter: blur(2px); }
.chain-line { flex: 1; min-width: 12px; height: 2px; border-radius: 2px; background: var(--line-strong); position: relative; overflow: hidden; }
.chain-line::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform var(--duration-very-slow) var(--ease-smooth-out); }
.chain-line.is-done::after { transform: scaleX(1); }

.feedback-body { padding: 20px 22px 22px; }
.feedback-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--muted); }
.feedback-meta svg, .feedback-source svg { width: 16px; height: 16px; fill: var(--muted); }
.feedback-meta strong { color: var(--ink-strong); font-weight: 600; }
.feedback-body blockquote { margin: 12px 0 0; padding-left: 14px; border-left: 2px solid #9db8ea; color: var(--ink-strong); font-size: 1.0625rem; }
.feedback-source { margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.action-box { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-cool); box-shadow: inset 0 0 0 1px var(--line); }
.action-title, .improved-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-strong); }
.action-title svg { width: 18px; height: 18px; fill: var(--tint-pink); }
.action-box p:not(.action-title), .improved p:not(.improved-title) { margin-top: 4px; color: var(--muted); font-size: 0.9375rem; }
.improved { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #e9f6f3; box-shadow: inset 0 0 0 1px rgb(0 127 127 / 0.16); }
.improved-title svg { width: 18px; height: 18px; fill: var(--tint-teal); }
.js .improved { opacity: 0; transform: translateY(8px); filter: blur(2px); transition: opacity var(--duration-very-slow) var(--ease-smooth-out), transform var(--duration-very-slow) var(--ease-smooth-out), filter var(--duration-very-slow) var(--ease-smooth-out); }
.js .improved.is-shown { opacity: 1; transform: none; filter: none; }

.cycle { list-style: none; counter-reset: cycle; margin-top: 28px; display: grid; gap: 0; position: relative; }
.cycle li { counter-increment: cycle; position: relative; padding: 0 0 18px 44px; color: var(--ink); }
.cycle li:last-child { padding-bottom: 0; }
.cycle li::before {
  content: counter(cycle);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-size: 0.8125rem; font-weight: 600; color: var(--tint-pink); background: #fff; box-shadow: inset 0 0 0 1.5px rgb(217 29 102 / 0.35);
}
.cycle li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(rgb(217 29 102 / 0.28), rgb(217 29 102 / 0.08)); }

/* Coach-kaart */
.coach-card { display: flex; flex-direction: column; min-height: 470px; overflow: hidden; }
.coach-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.coach-head img { width: 36px; height: 36px; }
.coach-name { font-weight: 600; color: var(--ink-strong); line-height: 1.3; }
.coach-context { display: flex; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.coach-context svg { width: 14px; height: 14px; fill: currentColor; }
.coach-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; line-height: 1.55; }
.bubble-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble-coach { align-self: flex-start; background: var(--bg-cool); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-strong); border-bottom-left-radius: 6px; }
.memory { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 0.8125rem; color: var(--tint-violet); background: #f3edfd; }
.memory svg { width: 14px; height: 14px; fill: currentColor; }
.thinking { font-size: 0.9375rem; font-weight: 500; }
.thinking[hidden] { display: none; }
.coach-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 16px; padding: 12px 8px 12px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); font-size: 0.9375rem; }
.replay { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--blue-soft); color: var(--blue); cursor: pointer; }
.replay:hover { background: var(--blue-soft-hover); }
.replay svg { width: 18px; height: 18px; fill: currentColor; }
.replay::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 48px); height: max(100%, 48px); transform: translate(-50%, -50%); }

/* Shimmer text */
.t-shimmer {
  position: relative;
  display: inline-block;
  color: var(--shimmer-base);
}
.t-shimmer::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    90deg,
    transparent          0%,
    transparent         40%,
    var(--shimmer-highlight) 50%,
    transparent         60%,
    transparent        100%
  );
  background-size: var(--shimmer-band) 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: t-shimmer var(--shimmer-dur) var(--shimmer-ease) infinite;
}
@keyframes t-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0% 0; }
}

/* Streaming text */
.t-stream-w {
  opacity: 0;
  filter: blur(var(--stream-blur));
  transition:
    opacity var(--stream-fade) var(--stream-ease),
    filter var(--stream-fade) var(--stream-ease);
}
.t-stream-w.is-in {
  opacity: 1;
  filter: blur(0);
}
.bubble-coach.is-waiting { visibility: hidden; }

/* Schrijven */
.doc-types { display: grid; gap: 0; }
.doc-types > div { display: grid; gap: 4px; padding-block: 16px; border-top: 1px solid var(--line); }
.doc-types > div:first-child { border-top: 0; padding-top: 0; }
.doc-types > div:last-child { padding-bottom: 0; }
.doc-types dt { font-weight: 600; color: var(--ink-strong); }
.doc-types dd { color: var(--muted); }
@media (min-width: 640px) {
  .doc-types > div { grid-template-columns: 7.5rem 1fr; gap: 16px; }
}
.frame-wide { margin-top: clamp(48px, 7vw, 80px); }

/* Functieraster */
.features { display: grid; gap: 40px 48px; margin-top: clamp(40px, 6vw, 56px); }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features dt { display: flex; flex-direction: column; gap: 14px; font-weight: 600; font-size: 1.125rem; color: var(--ink-strong); }
.features dt svg { width: 28px; height: 28px; fill: var(--tint); }
.features dd { margin-top: 6px; color: var(--muted); }

/* CTA midden */
.cta-band { padding-block: clamp(56px, 8vw, 88px); background: var(--bg-cool); border-top: 1px solid var(--line); position: relative; }
.cta-band::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--spectrum); opacity: 0.9; }
.cta-band-row { display: grid; gap: 28px; align-items: center; }
.cta-band h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.15; }
.cta-band p:not(.assurance) { margin-top: 10px; color: var(--muted); font-size: 1.125rem; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (min-width: 900px) {
  .cta-band-row { grid-template-columns: 1fr auto; }
  .cta-band-actions { align-items: flex-end; }
}

/* Eerlijk over AI */
.section-dark { background: #0f1a2b; color: #c9d5e6; overflow: hidden; isolation: isolate; }
.section-dark h2, .section-dark h3, .section-dark dt { color: #fff; }
.section-dark .eyebrow { color: #7fd8f4; }
.section-dark .section-lead { color: #a9b8cc; }
.dark-glow {
  position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; height: 90%;
  background:
    radial-gradient(45% 45% at 70% 30%, rgb(138 28 246 / 0.30), transparent 70%),
    radial-gradient(40% 40% at 40% 50%, rgb(7 180 244 / 0.20), transparent 70%),
    radial-gradient(35% 35% at 85% 70%, rgb(255 22 143 / 0.18), transparent 70%);
  filter: blur(20px);
}
.ai-grid { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 56px); }
@media (min-width: 900px) { .ai-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ai-col { padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09); }
.ai-col h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.ai-list { list-style: none; margin-top: 18px; display: grid; gap: 14px; }
.ai-list li { display: flex; gap: 12px; align-items: baseline; color: #dbe4f0; }
.ai-list svg { width: 18px; height: 18px; position: relative; top: 3px; }
.ai-yes svg { fill: #2fe0c9; }
.ai-no svg { fill: #ff7a8a; }
.privacy { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 56px); padding-top: clamp(32px, 5vw, 44px); border-top: 1px solid rgb(255 255 255 / 0.10); }
@media (min-width: 900px) { .privacy { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.privacy dt { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.privacy dt svg { width: 20px; height: 20px; fill: #7fd8f4; }
.privacy dd { margin-top: 6px; color: #a9b8cc; }

/* Vragen */
.faq { border-top: 1px solid var(--line); }
.t-acc { border-bottom: 1px solid var(--line); }
.t-acc h3 { font-size: inherit; }
.t-acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 22px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.125rem; font-weight: 600; color: var(--ink-strong); letter-spacing: -0.01em;
}
.t-acc-head:hover { color: var(--blue); }
.t-acc-chevron svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.t-acc-panel-inner p { padding-bottom: 22px; max-width: 60ch; color: var(--muted); }

.t-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel {
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--acc-expand) var(--acc-ease);
}
.t-acc-panel-inner {
  overflow: hidden;
  opacity: 0;
  filter: blur(2px);
  transition:
    opacity var(--acc-collapse) var(--acc-ease),
    filter var(--acc-collapse) var(--acc-ease);
}
.t-acc[data-open="true"] .t-acc-panel-inner {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity var(--acc-expand) var(--acc-ease),
    filter var(--acc-expand) var(--acc-ease);
}
.t-acc-chevron {
  display: inline-flex;
  transform: scaleY(1);
  transform-origin: center;
  transition: transform var(--acc-chevron) var(--acc-ease);
}
.t-acc-chevron path { vector-effect: non-scaling-stroke; }
.t-acc[data-open="true"] .t-acc-chevron {
  transform: scaleY(-1);
}

/* Slot-CTA */
.final { padding-block: 0 var(--section); }
.final-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgb(74 71 224 / 0.75);
}
.final-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 12% 100%, rgb(3 224 224 / 0.35), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgb(253 148 32 / 0.40), transparent 70%);
}
.final-watermark { position: absolute; z-index: -1; right: -6%; top: -18%; width: min(52%, 460px); opacity: 0.16; filter: saturate(0) brightness(3); }
.final-riva { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: rgb(255 255 255 / 0.94); box-shadow: 0 18px 40px -18px rgb(15 26 43 / 0.6); }
.final-riva img { width: 104px; height: 104px; }
.final h2 { margin-top: 28px; max-width: 18ch; font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.035em; line-height: 1.08; color: #fff; }
.final-panel > p:not(.assurance) { margin-top: 16px; max-width: 46ch; font-size: clamp(1.0625rem, 1.8vw, 1.25rem); color: rgb(255 255 255 / 0.88); }
.final-panel .btn { margin-top: 32px; }
.assurance-light { margin-top: 16px; color: rgb(255 255 255 / 0.85); }

/* Riva knippert af en toe */
.final-riva img { animation: riva-bob 5s ease-in-out infinite; }
@keyframes riva-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-3deg); } }

/* Voet */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer-row { display: grid; gap: 20px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { font-weight: 400; color: var(--ink); text-decoration: none; font-size: 0.9375rem; padding-block: 4px; }
.footer-nav a:hover { color: var(--blue); }
.footer-note { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) {
  .footer-row { grid-template-columns: auto 1fr; }
  .footer-nav { justify-content: flex-end; }
  .footer-note { grid-column: 1 / -1; }
}

/* ---------- Texts reveal (transitions.dev) ---------- */

.js .t-stagger-line {
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition:
    opacity   var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter    var(--stagger-dur) var(--stagger-ease);
  transition-delay: calc(var(--stagger-stagger) * var(--i, 0));
  will-change: transform, opacity, filter;
}
.js .t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.js .t-stagger.is-done .t-stagger-line { will-change: auto; }
/* Grotere vlakken komen op zonder vervaging: dat is rustiger en goedkoper. */
.js [data-reveal-frame] { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-smooth-out), transform 800ms var(--ease-smooth-out); }
.js [data-reveal-frame].is-shown { opacity: 1; transform: none; }
.js .demo-stack[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-smooth-out), transform 800ms var(--ease-smooth-out); }
.js .demo-stack[data-reveal].is-shown { opacity: 1; transform: none; }

/* Learn more hover (transitions.dev) */
.t-learn-chevron {
  display: inline-flex;
  transform: translateX(0);
  transition: transform var(--learn-out) var(--learn-ease);
}
.t-learn-arm {
  transform-box: view-box;
  transform-origin: 10px 8px;
  vector-effect: non-scaling-stroke;
  transition: transform var(--learn-out) var(--learn-ease);
}
.t-learn:hover .t-learn-chevron { transform: translateX(var(--learn-shift)); transition-duration: var(--learn-in); }
.t-learn:hover .t-learn-arm { transition-duration: var(--learn-in); }
.t-learn:hover .t-learn-arm-top { transform: rotate(var(--learn-spread)); }
.t-learn:hover .t-learn-arm-bot { transform: rotate(calc(var(--learn-spread) * -1)); }

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .t-stagger-line { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .js [data-reveal-frame], .js .demo-stack[data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  .t-tabs-pill, .t-tab, .tab-num { transition: none !important; }
  .js .route-panel { transition: none !important; }
  .t-acc-panel, .t-acc-panel-inner, .t-acc-chevron { transition: none !important; }
  .t-learn-chevron, .t-learn-arm { transition: none !important; }
  .t-shimmer::before { animation: none !important; }
  .t-stream-w { transition: none !important; filter: none !important; opacity: 1 !important; }
  .chain-dot, .chain-dot svg, .chain-dot b, .chain-line::after, .js .improved { transition: none !important; }
  .menu-toggle svg, .btn-icon { transition: none !important; }
  .mobile-menu:not([hidden]) { animation: none; }
  .final-riva img { animation: none; }
}

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.notfound h1 { margin-top: 12px; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.03em; }
.notfound p { max-width: 40ch; color: var(--muted); margin-bottom: 12px; }

@media (max-width: 479px) {
  .tab-long { display: none; }
  .tabs-wrap { margin-inline: 0; padding-inline: 0; }
  .t-tabs { display: flex; width: 100%; gap: 2px; }
  .t-tab { flex: 1 0 auto; justify-content: center; padding: 4px 8px 4px 4px; gap: 6px; font-size: 0.875rem; }
  .tab-num { width: 26px; height: 26px; font-size: 0.8125rem; }
  .chain { gap: 6px; padding: 16px; font-size: 0.875rem; }
  .chain-step { gap: 6px; }
  .chain-dot { width: 24px; height: 24px; }
  .feedback-body { padding: 18px 16px 20px; }
}

/* Opleidingen */
.programmes dd strong { display: block; margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.programmes-note { margin-top: clamp(28px, 4vw, 40px); max-width: 62ch; color: var(--muted); }
/* Acht sectoren als kaarten: icoon in de sectorkleur, opleidingen vet, formulieren eronder. */
.sectors { gap: 16px; margin-top: clamp(48px, 7vw, 72px); }
@media (min-width: 1024px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sectors > div { padding: 20px; border-radius: 16px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
/* De kaarten rijzen op met .t-stagger-line; die bezit transform en transition, dus de hover verandert alleen de rand. */
.sectors > div:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--tint) 40%, transparent), 0 12px 28px -18px color-mix(in srgb, var(--tint) 70%, transparent); }
.sectors dt { gap: 12px; font-size: 1rem; }
.sectors dt svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--tint) 12%, transparent); }
.sectors dd { font-size: 0.9375rem; }
