/* ==========================================================================
   Patro Studios · start.patrostudio.nl
   Huisstijl: Bone / Espresso / Ember / Taupe · Jost + Work Sans
   Tokens → basis → componenten → secties → responsive → motion
   ========================================================================== */

:root {
  /* Palet: Bone (papier) · Espresso (inkt) · Ember (actie) · Taupe (stil) */
  --bg: #F5F1EA;
  --panel: #FBF9F5;
  --panel-2: #EFEAE1;
  --line: #DDD6CA;
  --line-soft: #E8E2D8;
  --line-strong: #C6BEB0;
  --text: #1C1A17;
  --text-soft: #3E3A34;
  --muted: #6B655B;          /* Taupe, verdiept tot 5:1 op Bone voor kleine tekst */
  --taupe: #8A8378;          /* pure Taupe: lijnen, iconen, grote labels */
  --espresso: #1C1A17;
  --accent: #FF4D2E;         /* Ember als vlak: knoppen, markeringen, strepen */
  --accent-display: #E8432A; /* Ember als grote tekst op Bone (3.5:1) */
  --accent-ink: #C93A1F;     /* Ember als kleine tekst op Bone (4.5:1) */
  --accent-deep: #EF4426;
  --accent-tint: rgba(255, 77, 46, 0.10);
  --accent-ring: rgba(255, 77, 46, 0.35);
  --ink-on-accent: #1C1A17;

  --font-display: "Jost", "Jost Fallback", sans-serif;
  --font-body: "Work Sans", "Work Sans Fallback", "Helvetica Neue", Arial, sans-serif;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 40px -26px rgba(28, 26, 23, 0.28);
  --shadow-float: 0 24px 50px -22px rgba(28, 26, 23, 0.32), 0 1px 0 0 rgba(255, 255, 255, 0.6) inset;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 420ms;

  color-scheme: light;
}

/* ---------- Fonts (zelf gehost, variabele woff2 in assets/fonts) ---------- */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('../assets/fonts/jost-variable.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../assets/fonts/work-sans-variable.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Fallbacks met dezelfde metrics, zodat de tekst niet verspringt zodra het font laadt */
@font-face { font-family: 'Jost Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 96%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Work Sans Fallback'; src: local('Arial'), local('Helvetica'); size-adjust: 102%; ascent-override: 90%; descent-override: 23%; line-gap-override: 0%; }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--text); }
button { font: inherit; color: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--text); background: var(--panel-2); padding: 0.1em 0.4em; border-radius: 6px; }
strong { font-weight: 600; color: var(--text); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.accent { color: var(--accent-display); }

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--taupe); }
html { scrollbar-color: var(--line-strong) var(--bg); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.input:focus-visible { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; background: var(--accent); color: var(--ink-on-accent); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.noscript { text-align: center; padding: 16px; background: var(--panel); border-top: 1px solid var(--line); }

/* Papierkorrel, heel licht */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Placeholder-markering: alles wat de klant nog aanlevert */
.todo {
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 0 0.35em;
  font-style: normal;
}

/* ---------- Logo ---------- */
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: clamp(64px, 5vw + 32px, 88px); width: auto; }
.logo--sm img { height: 44px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms var(--ease-out), background-color 180ms, border-color 180ms, color 180ms, box-shadow 180ms;
  will-change: transform;
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform 220ms var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn--primary {
  background: var(--accent);
  color: var(--ink-on-accent);
  box-shadow: 0 10px 24px -12px rgba(255, 77, 46, 0.6);
}
.btn--primary:hover { background: var(--accent-deep); color: var(--ink-on-accent); box-shadow: 0 14px 28px -12px rgba(255, 77, 46, 0.7); }
/* Origin-fill: een Espresso-cirkel groeit vanaf de plek van de cursor (of vanuit het midden bij toetsenbordfocus) */
.btn--primary { position: relative; isolation: isolate; overflow: hidden; --ox: 50%; --oy: 50%; --cover: 0px; transition: transform 180ms var(--ease-out), background-color 180ms, box-shadow 180ms, color 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.btn--primary::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: var(--ox); top: var(--oy); width: var(--cover); height: var(--cover);
  border-radius: 50%; background: var(--espresso);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--primary.is-fill { color: var(--bg); }
.btn--primary.is-fill::before { transform: translate(-50%, -50%) scale(1); }
.btn--primary:active:not([disabled]) { transform: scale(0.985); }
.btn--ghost { background: transparent; color: var(--text-soft); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text-soft); color: var(--text); }
.btn--ghost .icon { order: -1; }
.btn--ghost:hover .icon { transform: translateX(-3px); }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.1rem; }
.btn--sm { padding: 0.7rem 1.1rem; font-size: 0.92rem; }

/* ---------- Markering (rood blok) ---------- */
.mark {
  display: inline-block;
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 0.08em 0.45em 0.12em;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section-title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); text-align: center; }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(32px, 6vw, 56px); padding-bottom: var(--section); text-align: center; isolation: isolate; }
/* Hero-achtergrond: gradient-builder-recept (zachte radiale vlekken + korrel), in huisstijl.
   Ember-gloed boven, Taupe-schaduw linksonder, lichte vlek rechtsonder, Bone als basis. */
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 8%,  rgba(255, 77, 46, 0.30) 0%, rgba(255, 77, 46, 0.253) 14%, rgba(255, 77, 46, 0.15) 28%, rgba(255, 77, 46, 0.047) 42%, rgba(255, 77, 46, 0) 56%),
    radial-gradient(circle at 12% 78%, rgba(138, 131, 120, 0.42) 0%, rgba(138, 131, 120, 0.354) 12%, rgba(138, 131, 120, 0.21) 24%, rgba(138, 131, 120, 0.066) 36%, rgba(138, 131, 120, 0) 48%),
    radial-gradient(circle at 84% 62%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0.475) 20%, rgba(255, 255, 255, 0.148) 30%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 70% 22%, rgba(232, 67, 42, 0.16) 0%, rgba(232, 67, 42, 0.135) 12%, rgba(232, 67, 42, 0.08) 24%, rgba(232, 67, 42, 0.025) 36%, rgba(232, 67, 42, 0) 48%);
  background-size: 120px 120px, auto, auto, auto, auto;
  background-blend-mode: overlay, normal, normal, normal, normal;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.6) 78%, transparent 100%);
}
.hero__glow::after {
  /* tweede korrelpas (grain), zoals in het builder-recept */
  content: ""; position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero .logo { margin-bottom: clamp(36px, 6vw, 64px); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(1.9rem, 1.1rem + 3.9vw, 3.5rem);
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin-inline: auto;
}
.hero__sub {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: var(--text-soft);
  max-width: 60ch;
  margin-top: 22px;
  text-wrap: pretty;
}

/* Videoblok */
.video {
  position: relative;
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
  margin-top: clamp(36px, 5vw, 56px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--espresso);
  border: 1px solid var(--espresso);
  box-shadow: 0 30px 60px -30px rgba(28, 26, 23, 0.55);
  color: #F5F1EA;
}
.video__poster { position: absolute; inset: 0; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; }
.video__poster-fallback {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: clamp(20px, 5%, 48px);
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(28, 26, 23, 0) 40%, rgba(28, 26, 23, 0.9) 100%),
    radial-gradient(70% 60% at 50% 30%, #3A332D 0%, #1C1A17 70%);
}
.video__poster-kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: #B5AD9F; }
.video__poster-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 1.6vw, 2rem); letter-spacing: -0.02em; }
.video__play {
  position: absolute; left: 50%; top: 50%;
  width: clamp(64px, 10vw, 92px); height: clamp(64px, 10vw, 92px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--ink-on-accent);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -10px rgba(255, 77, 46, 0.6), 0 0 0 0 rgba(255, 77, 46, 0.35);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), background-color 180ms;
}
.video__play .icon { width: 42%; height: 42%; margin-left: 6%; }
.video__play:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 20px 50px -10px rgba(255, 77, 46, 0.7), 0 0 0 14px rgba(255, 77, 46, 0.14); }
.video__play:focus-visible { outline-offset: 6px; border-radius: 50%; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing .video__poster, .video.is-playing .video__play { display: none; }
.video__todo { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; font-size: 0.8rem; color: #CFC7BB; background: rgba(28, 26, 23, 0.75); padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.video__todo code { background: rgba(255, 255, 255, 0.12); color: #F5F1EA; }

/* ==========================================================================
   2. VERTROUWENSBALK
   ========================================================================== */
.trust { padding-bottom: var(--section); }
.trust__title { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.1rem); text-align: center; margin-bottom: 28px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--gap, 12px); }
.chip {
  flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
}
.chip__logo {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--accent-ink);
  overflow: hidden;
}
.chip__logo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 9px; box-sizing: border-box; }
.chip__name { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.2; }
.chip__name .icon { width: 1em; height: 1em; color: var(--accent-ink); }
.chip__desc { font-size: 0.86rem; color: var(--muted); line-height: 1.3; }


/* ---------- Marquee (oneindig doorlopende rij, pauze bij hover/focus) ---------- */
.marquee { position: relative; width: 100%; overflow: hidden; padding-block: 8px; --gap: 12px; }
.marquee__track { display: flex; gap: var(--gap); width: max-content; will-change: transform; animation: marquee var(--duration, 40s) linear infinite; }
.marquee__set { display: flex; flex: none; gap: var(--gap); align-items: stretch; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-1 * var(--shift, 0px))); } }
@media (min-width: 640px) {
  .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
}
/* Statisch (reduced motion): gewone scrollbare rij, gecentreerd als hij past */
.marquee.is-static { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
.marquee.is-static::-webkit-scrollbar { display: none; }
.marquee.is-static .marquee__track { animation: none; width: 100%; justify-content: safe center; }

/* Quote-kaarten */
.quotes { padding-bottom: var(--section); }
.quotes .section-title { margin-bottom: clamp(24px, 4vw, 40px); }
.quote {
  width: min(340px, 82vw); flex: none;
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line); border-top-color: var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: inherit; text-decoration: none;
  transition: border-color 300ms, transform 300ms var(--ease-out);
}
a.quote:hover { border-color: var(--taupe); transform: translateY(-2px); }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-weight: 600; line-height: 1.2; }
.quote__role { font-size: 0.86rem; color: var(--muted); line-height: 1.3; }
.quote__text { color: var(--text-soft); font-size: 0.97rem; text-wrap: pretty; }

/* ==========================================================================
   3. AANVRAAGBLOK
   ========================================================================== */
.apply { padding-bottom: var(--section); scroll-margin-top: 24px; }
.apply__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tabs {
  list-style: none; margin: 0; padding: 18px var(--gutter);
  display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.tabs__item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.tabs__item.is-active { color: var(--text); }
.tabs__btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: inherit; font-weight: 600; cursor: pointer; }
.tabs__btn[disabled] { cursor: default; }
.tabs__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; transition: background-color 300ms, box-shadow 300ms; }
.tabs__item.is-active .tabs__dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.tabs__item.is-done .tabs__dot { background: var(--taupe); }

.apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.apply__form { padding: clamp(24px, 4vw, 44px); border-right: 1px solid var(--line); min-width: 0; }
.apply__cal { position: relative; min-height: 420px; background: var(--panel-2); min-width: 0; }

.apply__intro { color: var(--muted); font-size: 0.98rem; max-width: 52ch; }
.apply__intro strong { color: var(--accent-ink); }
.progress { height: 3px; background: var(--line); border-radius: 2px; margin: 26px 0 30px; overflow: hidden; }
.progress__bar { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width 500ms var(--ease-out); }

.step-label { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-label__badge {
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink); border: 1px solid var(--accent-ink); border-radius: var(--radius-pill); padding: 5px 12px;
}
.step-label__of { font-size: 0.85rem; color: var(--muted); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; padding: 0; margin-bottom: 22px; text-wrap: balance; }
.step.is-entering { animation: step-in var(--dur) var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }
.step.is-entering-back { animation: step-in-back var(--dur) var(--ease-out) both; }
@keyframes step-in-back { from { opacity: 0; transform: translateX(-14px); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }

.field { margin-bottom: 14px; }
.field__label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field__hint { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.field__hint--top { margin: -10px 0 18px; }
.input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text);
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.3;
  caret-color: var(--accent);
  transition: border-color 160ms, box-shadow 160ms, background-color 160ms;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--muted); opacity: 1; }
.input:hover { border-color: var(--taupe); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input[aria-invalid="true"] { border-color: var(--accent-ink); background: rgba(255, 77, 46, 0.04); }
.input--area { resize: vertical; min-height: 120px; }
.phone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.phone__cc {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B655B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  cursor: pointer;
}
.field__error, .form__error {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 8px; font-size: 0.88rem; color: var(--accent-ink); line-height: 1.4;
}
.field__error::before, .form__error::before {
  content: ""; flex: none; width: 1.1em; height: 1.1em; margin-top: 0.1em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4.5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v4.5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.form__error { margin-top: 0; margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(201, 58, 31, 0.35); border-radius: var(--radius-md); background: rgba(255, 77, 46, 0.06); }

/* Keuzekaarten (radio) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 18px; padding-right: 40px;
  min-height: 64px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  transition: border-color 160ms, background-color 160ms, box-shadow 160ms, transform 160ms var(--ease-out);
}
.choice__box::after {
  content: ""; position: absolute; right: 14px; top: 50%; transform: translateY(-50%) scale(0.6);
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transition: opacity 160ms, transform 220ms var(--ease-out);
}
.choice__title { font-weight: 600; color: var(--text); line-height: 1.25; }
.choice__sub { font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
.choice:hover .choice__box { border-color: var(--taupe); }
.choice input:checked + .choice__box { border-color: var(--accent); background: var(--accent-tint); }
.choice input:checked + .choice__box::after { opacity: 1; transform: translateY(-50%) scale(1); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--accent); outline-offset: 3px; }

.form__actions { display: flex; gap: 12px; margin-top: 24px; }
.form__actions .btn--primary { flex: 1; }
.form__privacy { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

/* Succes */
.form-done { padding: 8px 0; }
.form-done__icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink-on-accent); margin-bottom: 20px;
  animation: pop 600ms var(--ease-out) both;
}
.form-done__icon .icon { width: 28px; height: 28px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
.form-done__title { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin-bottom: 12px; }
.form-done__text { color: var(--text-soft); max-width: 46ch; }
.form-done__jump { margin-top: 22px; display: none; }
.form-done__alt { margin-top: 20px; font-size: 0.9rem; color: var(--muted); }
.form-done__reset { margin-top: 28px; font-size: 0.85rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linkbtn:hover { color: var(--text); }

/* Agenda (rechts) */
.cal-mock { position: absolute; inset: 0; padding: clamp(20px, 4vw, 40px); transition: filter 700ms var(--ease-out), opacity 700ms var(--ease-out); filter: blur(2.5px); opacity: 0.55; user-select: none; }
.cal-mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.cal-mock__month { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.cal-mock__nav { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.cal-mock__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-mock__dow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.cal-mock__day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 0.95rem; color: var(--muted); }
.cal-mock__day--avail { background: #fff; color: var(--text); font-weight: 600; }
.cal-mock__day--today { box-shadow: inset 0 0 0 1px var(--accent); }

.cal-lock { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--gutter); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.cal-lock__card {
  max-width: 340px; text-align: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 28px 30px; box-shadow: var(--shadow-float);
}
.cal-lock__icon { width: 26px; height: 26px; color: var(--accent-ink); margin: 0 auto 12px; }
.cal-lock__label { font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.cal-lock__text { color: var(--text-soft); font-size: 0.98rem; }

.apply__cal.is-unlocked .cal-mock { filter: blur(0); opacity: 1; }
.apply__cal.is-unlocked .cal-lock { opacity: 0; transform: scale(0.94) translateY(8px); pointer-events: none; }
.apply__cal.is-embedded .cal-mock, .apply__cal.is-embedded .cal-lock { display: none; }
.cal-embed { position: relative; min-height: 560px; padding: 8px; }
.cal-embed__todo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px; }
#cal-inline { width: 100%; height: 100%; min-height: 560px; overflow: auto; }

/* ==========================================================================
   4. RESULTATEN
   ========================================================================== */
.results { padding-bottom: var(--section); }
.results .section-title { margin-bottom: clamp(32px, 5vw, 48px); }
.results__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: start; }
.result {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-card);
}
.result__who { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.result__avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); flex: none; overflow: hidden; }
.result__avatar img { width: 100%; height: 100%; object-fit: cover; }
.result__name { font-weight: 600; }
.result__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 1.8rem + 2vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--accent-display); }
.result__value .todo { font-size: 0.5em; vertical-align: middle; letter-spacing: 0; }
.result__label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.result__rule { width: 56px; height: 2px; background: var(--accent); border-radius: 2px; margin: 18px 0; }
.result__text { color: var(--text-soft); font-size: 0.98rem; }
.result__media { margin-top: 20px; border-radius: var(--radius-md); overflow: hidden; }
.result__media img { width: 100%; }
.result__quote { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; background: #fff; font-size: 0.95rem; color: var(--text-soft); }
.result__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; color: var(--muted); }
.result__placeholder {
  border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--panel-2);
  min-height: 120px; display: grid; place-items: center; text-align: center;
  padding: 16px; font-size: 0.85rem; color: var(--muted);
}

/* ==========================================================================
   5. CASES
   ========================================================================== */
.cases { padding-bottom: var(--section); }
.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.case { min-width: 0; }
@supports (grid-template-rows: subgrid) {
  .case { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
  .case__pill { align-self: stretch; display: flex; align-items: center; justify-content: center; }
}
.case__pill {
  display: block; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3;
  padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel);
  margin-bottom: 16px; text-wrap: balance;
}
.case__pill em { font-style: normal; color: var(--accent-ink); }
.case .video { margin-top: 0; width: 100%; border-radius: var(--radius-lg); }
.case .video__play { width: 64px; height: 64px; }
.case__thumb-label { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: #E8E2D8; }
.case__thumb-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--accent); }
.case__points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.case__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 0.98rem; }
.case__points .icon { color: var(--accent-ink); width: 20px; height: 20px; margin-top: 3px; }

/* ==========================================================================
   6. SLOT-CTA
   ========================================================================== */
.cta { padding-bottom: var(--section); }
.cta__inner {
  text-align: center; display: flex; flex-direction: column; align-items: center;
  padding: clamp(40px, 7vw, 80px) var(--gutter);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background:
    radial-gradient(55% 70% at 50% 100%, rgba(255, 77, 46, 0.16), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow-card);
}
.cta__title { font-size: clamp(1.7rem, 1.1rem + 2.8vw, 2.9rem); max-width: 20ch; }
.cta__sub { color: var(--text-soft); max-width: 48ch; margin: 18px 0 30px; font-size: 1.05rem; }
.cta__alt { margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.cta__wa { display: inline-flex; align-items: center; gap: 6px; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.88rem; color: var(--muted); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer__sep { margin: 0 10px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer__links a:hover { color: var(--text); text-decoration: underline; }

/* ==========================================================================
   COOKIEBANNER
   ========================================================================== */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  display: flex; justify-content: center;
  animation: cookie-in 600ms var(--ease-out) both;
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__inner {
  width: 100%; max-width: 560px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow-float);
}
.cookie__title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.cookie__text { font-size: 0.9rem; color: var(--muted); }
.cookie__actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .apply__grid { grid-template-columns: 1fr; }
  .apply__form { border-right: 0; border-bottom: 1px solid var(--line); }
  .apply__cal { min-height: 380px; }
  .form-done__jump { display: inline-flex; }
}
@media (max-width: 560px) {
  .video__poster-fallback { align-items: flex-start; text-align: left; padding: 16px; padding-bottom: 18px; }
  .video__poster-kicker { display: none; }
  .video__poster-title { font-size: 1.05rem; max-width: 60%; }
  .eyebrow { letter-spacing: 0.16em; font-size: 0.72rem; }
  .choices { grid-template-columns: 1fr; }
  .form__actions { flex-direction: column-reverse; }
  .form__actions .btn { width: 100%; }
  .chips { justify-content: flex-start; }
  .tabs { font-size: 0.88rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .cookie { left: 10px; right: 10px; bottom: 10px; }
}

/* ==========================================================================
   MOTION
   ========================================================================== */
.hero .logo, .hero .eyebrow, .hero__title, .hero__sub, .hero .video { animation: rise 900ms var(--ease-out) both; }
.hero .eyebrow { animation-delay: 60ms; }
.hero__title { animation-delay: 120ms; }
.hero__sub { animation-delay: 200ms; }
.hero .video { animation-delay: 300ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
