/* Vullo marketing. Tokens komen uit Vullo-Merk: niet aanpassen zonder het merkdocument.
   Opbouw: van telefoon naar groot scherm (min-width). Treden: 36rem, 48rem, 54rem, 64rem, 100rem. */
:root {
  --bg: #161412;
  --surface: #1C1A17;
  --raised: #24211D;
  --ink: #E8D5B5;
  --muted: #B7A894;
  --accent: #C4A574;
  --line: #3A342C;
  --ink-dark: #1A1714;
  --ivory: #F3ECDF;
  --font-serif: "IBM Plex Serif", Georgia, serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Fijne korrel over de donkere vlakken, zodat ze niet plat ogen */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .91 0 0 0 0 .84 0 0 0 0 .71 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Zachte overvloeier bij het klikken naar een andere pagina (waar de browser het kan) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

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

html {
  /* Alles staat in rem: vanaf 1280 breed groeit de hele layout mee met het scherm */
  font-size: clamp(100%, 80% + .25vw, 118.75%);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg) var(--noise);
  color: var(--muted);
  font: 400 1.0625rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }

h1, h2 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.125rem); line-height: 1.06; letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; color: var(--ink); }
h1 span, h2 span { display: inline-block; } /* breek tussen de zinsdelen, niet er middenin */

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

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 30;
  padding: .6rem 1rem; background: var(--ink); color: var(--ink-dark); border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.5; }
.statement { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.3; color: var(--ink); }

/* ---------- Woordmerk: serif, sikkel als tittel van de i. Geen schaduw, geen gradient. ---------- */
.wordmark { font: 500 2.6rem/1 var(--font-serif); letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.wordmark-i { position: relative; display: inline-block; }
.wordmark-i::before {
  content: "";
  position: absolute; left: 50%; top: -.04em;
  width: .28em; height: .28em; border-radius: 50%;
  box-shadow: inset .09em -.03em 0 0 currentColor;
  translate: -50% 0; rotate: -18deg;
  animation: moonrise 1.2s var(--ease) .2s backwards;
}
@keyframes moonrise { from { opacity: 0; translate: -50% .3em; rotate: -70deg; } }

/* ---------- Knoppen en pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.15rem;
  border: 1px solid transparent; border-radius: 6px;
  font: 500 .95rem/1.2 var(--font-sans);
  text-decoration: none; white-space: normal; cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, translate .25s var(--ease);
}
.btn:hover { translate: 0 -1px; }
.btn:active { translate: 0 0; }
.btn-fill { background: var(--accent); color: var(--ink-dark); }
.btn-fill:hover { background: var(--ink); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ink { background: var(--ink-dark); color: var(--ivory); }
.btn-ink:hover { background: #3A3128; }
.btn-text { padding-inline: .25rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; }
.btn-text:hover { text-decoration-color: var(--accent); }
.btn-large { position: relative; overflow: hidden; padding: .95rem 1.6rem; font-size: 1.05rem; }
/* Lichtveeg over de grote knoppen */
.btn-large:not(.btn-outline)::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .45) 50%, transparent 65%);
  translate: -120% 0;
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 70% { translate: -120% 0; } 100% { translate: 120% 0; } }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

.pill {
  display: inline-flex; align-items: center;
  padding: .4rem .9rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 400 .9rem/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.pill:hover { border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled, .site-header.nav-open {
  background: rgb(22 20 18 / .9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
/* V-11: bij grote tekst te hoog om vast te staan; script.js zet .is-tall */
.site-header.is-tall { position: static; }
/* Voortgangslijn onder de header; script.js zet --progress */
.site-header::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform-origin: left; transform: scaleX(var(--progress, 0));
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; min-height: 4.5rem; }
.header-actions { display: flex; gap: .6rem; margin-left: auto; }
.header-actions .btn-fill { display: none; }
.site-nav { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding-bottom: .9rem; }
.js .site-nav { display: none; flex-direction: column; align-items: flex-start; gap: .35rem; }
.js .nav-open .site-nav { display: flex; }
.site-nav a {
  padding-block: .5rem;
  font-size: 1.05rem; color: var(--muted); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 0 1px;
  transition: color .25s, background-size .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.site-nav .nav-cta { color: var(--ink); }
.menu-toggle {
  display: none;
  padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: transparent; color: var(--ink);
  font: 500 .95rem/1.2 var(--font-sans); cursor: pointer;
}
.js .menu-toggle { display: inline-flex; }

/* ---------- Secties ---------- */
.section { position: relative; overflow-x: clip; padding-block: var(--section); } /* clip: gloed en zwevende kaartjes mogen niet voor horizontaal scrollen zorgen */
.section-tight { padding-block: calc(var(--section) * .75); }
.section-surface { background: var(--surface) var(--noise); border-block: 1px solid var(--line); }
.section-ivory { background: var(--ivory); color: #564C3F; }
.section-ivory :is(h1, h2, h3) { color: var(--ink-dark); }
.section-ivory :focus-visible { outline-color: var(--ink-dark); }
.section-ivory .section-head a { color: var(--ink-dark); text-decoration-color: #CFC3AE; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.75rem); }
.section-head p { margin-top: 1rem; font-size: 1.125rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }

/* Elk raster begint als één kolom die nooit breder wordt dan het scherm; de treden onderaan voegen kolommen toe */
.split, .hero-grid, .page-head-grid, .themes, .prices, .bento, .cards, .deploy, .install, .setup, .steps, .facts, .reasons, .quotes, .footer-grid, .team {
  grid-template-columns: minmax(0, 1fr);
}
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split p + p, .split :is(h1, h2) + p { margin-top: 1.25rem; }
.split .statement { margin-top: 2rem; }
.split a, .service a, .prose a, .reason a, .card a, .section-head a { color: var(--ink); text-underline-offset: .25em; text-decoration-color: var(--line); }
.split a:hover, .service a:hover, .prose a:hover, .reason a:hover, .card a:hover, .section-head a:hover { text-decoration-color: var(--accent); }
.split .btn { margin-top: .75rem; text-decoration: none; }
.split .btn-fill { color: var(--ink-dark); }
.split-visual { display: grid; place-items: center; }
.split-visual .screen { max-width: 24rem; padding: 1.25rem; font-size: 1rem; }
.prose { max-width: 44rem; }
.prose p + p { margin-top: 1.1rem; }

/* ---------- Bouwstenen ---------- */

/* Sterren: twee lagen die tegen elkaar in twinkelen en licht meebewegen met de muis */
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky::before, .sky::after {
  content: "";
  position: absolute; inset: -1rem;
  --s: rgb(232 213 181 / .85);
  background-image:
    radial-gradient(1.5px 1.5px at 6% 18%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 17% 62%, var(--s) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 29% 9%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 41% 78%, var(--s) 50%, transparent 55%),
    radial-gradient(2px 2px at 54% 28%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 66% 88%, var(--s) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 78% 14%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 91% 55%, var(--s) 50%, transparent 55%);
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -10px);
  transition: translate .8s ease-out;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.sky::after {
  background-image:
    radial-gradient(1px 1px at 11% 42%, var(--s) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 23% 84%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 36% 33%, var(--s) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 48% 6%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 61% 58%, var(--s) 50%, transparent 55%),
    radial-gradient(2px 2px at 73% 71%, var(--s) 50%, transparent 55%),
    radial-gradient(1px 1px at 86% 26%, var(--s) 50%, transparent 55%),
    radial-gradient(1.5px 1.5px at 96% 90%, var(--s) 50%, transparent 55%);
  translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -22px);
  animation-duration: 7s; animation-delay: -3s;
}
@keyframes twinkle { from { opacity: .15; } to { opacity: .75; } }

/* Champagne gloed achter een hoofdbeeld */
.glow { position: relative; }
.glow::before {
  content: "";
  position: absolute; inset: -18%; z-index: -1;
  background: radial-gradient(closest-side, rgb(196 165 116 / .18), transparent);
  animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .5; scale: .92; } to { opacity: 1; scale: 1.05; } }

/* Browservenster als kader om een productscherm */
.browser {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2rem 4rem -2rem rgb(0 0 0 / .75);
}
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .9rem; border-bottom: 1px solid var(--line); font-size: .78rem; }
.browser-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: .5rem; }

/* Telefoon als kader; het scherm is licht, zoals de pagina die de klant van de zaak ziet */
.phone {
  position: relative; width: 12.5rem; padding: .5rem;
  background: #0D0C0B;
  border: 1px solid #4A4237; border-radius: 2rem;
  box-shadow: 0 2rem 3.5rem -1.5rem rgb(0 0 0 / .85);
}
.phone::before {
  content: "";
  position: absolute; z-index: 2; top: .85rem; left: 50%; translate: -50% 0;
  width: 3rem; height: .8rem; border-radius: 99px; background: #0D0C0B;
}
.phone-screen { display: grid; overflow: hidden; min-height: 15rem; border-radius: 1.55rem; background: var(--ivory); color: #564C3F; }
.phone-screen > * { grid-area: 1 / 1; }

/* Zwevend kaartje naast een hoofdbeeld */
.float-card {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .8rem;
  background: var(--ivory); color: var(--ink-dark);
  border-radius: 12px;
  box-shadow: 0 1rem 2rem -.75rem rgb(0 0 0 / .7);
  font-size: .82rem; line-height: 1.3; white-space: nowrap;
}
.float-card b { display: block; font-weight: 600; }
.float-card i {
  flex: none; display: grid; place-items: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--ink-dark); color: var(--ivory);
  font: 500 .8rem/1 var(--font-serif);
}
.bob { animation: bob 5s ease-in-out infinite alternate; }
.bob-late { animation-delay: -2.5s; }
@keyframes bob { from { translate: 0 -.3rem; } to { translate: 0 .35rem; } }

/* Getekende productschermen (src/partials/screen-*.html) */
.screen {
  width: 100%; max-width: 19rem; padding: .9rem 1rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 1.25rem 2.5rem -1.5rem rgb(0 0 0 / .75);
  font-size: .85rem; line-height: 1.4; text-align: left;
}
.screen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.screen-head b { font: 500 1rem/1.2 var(--font-serif); color: var(--ink); }
.screen-head span { font-size: .75rem; }

.mini-slot { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: .5rem; padding-block: .3rem; border-top: 1px solid var(--line); }
.mini-slot time { font-size: .75rem; font-variant-numeric: tabular-nums; }
.mini-appt { display: block; padding: .45rem .65rem; background: var(--raised); border: 1px solid transparent; border-left: 2px solid var(--line); border-radius: 7px; color: var(--ink); }
.mini-stack { display: grid; }
.mini-stack > * { grid-area: 1 / 1; }
.mini-free { background: transparent; border: 1px dashed var(--accent); animation: vacant 1.6s ease-in-out infinite; }
.mini-filled { background: var(--accent); border-color: var(--accent); color: var(--ink-dark); font-weight: 500; opacity: 0; }
.is-filled .mini-free { opacity: 0; animation: none; }
.is-filled .mini-filled { opacity: 1; }
/* In een tegel wisselt het slot vanzelf van vrij naar gevuld */
.is-looping .mini-free { animation: loop-free 7s ease-in-out infinite; }
.is-looping .mini-filled { animation: loop-filled 7s ease-in-out infinite; }
@keyframes loop-free { 0%, 48% { opacity: 1; } 56%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes loop-filled { 0%, 48% { opacity: 0; scale: .94; } 56%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes vacant { 50% { box-shadow: 0 0 0 5px rgb(196 165 116 / .14); } }

.screen-waitlist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; margin-top: .3rem; padding: .4rem .5rem; border: 1px solid transparent; border-radius: 9px; }
.screen-waitlist i { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font: 500 .75rem/1 var(--font-serif); }
.screen-waitlist span { color: var(--ink); }
.screen-waitlist em { font-style: normal; font-size: .72rem; }
.screen-waitlist .is-match { border-color: var(--accent); background: rgb(196 165 116 / .08); animation: match 5s ease-in-out infinite; }
.screen-waitlist .is-match:nth-child(3) { animation-delay: .5s; }
.screen-waitlist .is-match em { color: var(--accent); }
@keyframes match { 0%, 18% { border-color: transparent; background-color: transparent; } 30%, 100% { border-color: var(--accent); background-color: rgb(196 165 116 / .08); } }

.screen-claim { max-width: none; padding: 2.3rem 1rem 1.2rem; background: transparent; border: 0; box-shadow: none; text-align: center; }
.claim-kicker { font-size: .78rem; }
.claim-when { margin-top: .15rem; font: 500 1.2rem/1.2 var(--font-serif); color: var(--ink-dark); }
.claim-timer { position: relative; display: grid; place-items: center; width: 6.25rem; aspect-ratio: 1; margin: .9rem auto; }
.claim-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; }
.claim-timer .ring-track { stroke: #DCCFB9; }
.claim-timer .ring { stroke: #96622F; }
.claim-timer b { font: 500 1.3rem/1 var(--font-sans); color: var(--ink-dark); font-variant-numeric: tabular-nums; }
.claim-cta { display: block; padding: .7rem; border-radius: 8px; background: var(--ink-dark); color: var(--ivory); font-weight: 500; animation: vacant 2s ease-in-out infinite; }
.claim-note { margin-top: .6rem; font-size: .72rem; }

.screen-settings { max-width: 21rem; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .8rem; background: var(--raised); border-radius: 10px; cursor: pointer; }
.setting b { display: block; color: var(--ink); font-weight: 500; }
.setting small { font-size: .75rem; }
.switch {
  appearance: none; flex: none; position: relative;
  width: 2.6rem; height: 1.5rem; margin: 0;
  border-radius: 99px; background: var(--line);
  cursor: pointer; transition: background-color .3s;
}
.switch::before {
  content: "";
  position: absolute; top: .2rem; left: .2rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--ink); transition: translate .3s var(--ease), background-color .3s;
}
.switch:checked { background: var(--accent); }
.switch:checked::before { translate: 1.1rem 0; background: var(--ink-dark); }
.setting-label { margin: .9rem 0 .5rem; font-size: .75rem; }
.pay-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay-chips li { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); font-size: .8rem; }
.setting-note { margin-top: .8rem; font-size: .75rem; }

.portal-appt { padding: .7rem .8rem; background: var(--raised); border-left: 2px solid var(--accent); border-radius: 8px; }
.portal-appt b { display: block; color: var(--ink); font-weight: 500; }
.portal-actions { display: flex; gap: .5rem; margin-top: .6rem; }
.portal-actions span { flex: 1; padding: .45rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: .8rem; text-align: center; }

.booking-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; margin-top: .4rem; }
.booking-row span { padding: .4rem 0; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: .78rem; text-align: center; font-variant-numeric: tabular-nums; }
.booking-row .is-picked { border-color: var(--accent); background: rgb(196 165 116 / .12); }
.booking-cta { display: block; margin-top: .7rem; padding: .55rem; border-radius: 7px; background: var(--accent); color: var(--ink-dark); font-weight: 500; text-align: center; }

/* Maanfasen: nieuwe maan (lege stoel) naar volle maan (gevuld) */
.moon {
  position: relative; display: block; overflow: hidden;
  width: 2.5rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--accent);
}
.moon::after {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--moon-bg, var(--surface));
  transform: translateX(calc(var(--fill) * 100%));
  transition: transform 1.2s var(--ease) calc(var(--i, 0) * 120ms + .2s);
}
.js .reveal:not(.is-visible) .moon::after { transform: translateX(0); }

.icon {
  flex: none; width: 1.75rem; height: 1.75rem;
  fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease);
}

/* Lijst met een sikkel als opsommingsteken */
.price-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); font-size: .98rem; }
.price-list li::before, .no-fees li::before, .yes {
  content: "";
  width: .7rem; height: .7rem; border-radius: 50%;
  box-shadow: inset .22rem -.06rem 0 0 var(--accent);
  rotate: -18deg;
}
.price-list li::before { position: absolute; left: .1rem; top: 1rem; }

/* Stappenbalk: punten met een lijn ertussen */
.stepper { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .25rem; }
.stepper li { position: relative; padding-top: 1.1rem; color: #85796A; font-size: .72rem; line-height: 1.25; text-align: center; transition: color .4s; }
.stepper li::before {
  content: "";
  position: absolute; z-index: 1; top: 0; left: 50%; translate: -50% 0;
  width: .6rem; height: .6rem; border-radius: 50%;
  background: var(--line); transition: background-color .4s, box-shadow .4s;
}
.stepper li:not(:last-child)::after { content: ""; position: absolute; top: .28rem; left: 50%; width: calc(100% + .25rem); height: 1px; background: var(--line); }
.stepper.is-done li,
.demo[data-step="1"] .stepper li:nth-child(-n+1),
.demo[data-step="2"] .stepper li:nth-child(-n+2),
.demo[data-step="3"] .stepper li:nth-child(-n+3),
.demo[data-step="4"] .stepper li:nth-child(-n+4),
.demo[data-step="5"] .stepper li { color: var(--ink); }
.stepper.is-done li::before,
.demo[data-step="1"] .stepper li:nth-child(-n+1)::before,
.demo[data-step="2"] .stepper li:nth-child(-n+2)::before,
.demo[data-step="3"] .stepper li:nth-child(-n+3)::before,
.demo[data-step="4"] .stepper li:nth-child(-n+4)::before,
.demo[data-step="5"] .stepper li::before { background: var(--accent); box-shadow: 0 0 0 .2rem rgb(196 165 116 / .18); }

/* Kaartjes met icoon (principes, wat je zelf aanpast) */
.cards { display: grid; gap: 1rem; }
.card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s; }
.section-surface .card { background: var(--bg); }
.card:hover { border-color: var(--accent); }
.card:hover .icon { transform: translateY(-3px) rotate(-8deg); }
.card h3 { margin-top: 1rem; font-size: 1.2rem; }
.card p { margin-top: .5rem; font-size: 1rem; }

/* Invulplek: gegevens die de eigenaar nog aanlevert (build.py telt ze) */
.todo { padding: 0 .3em; border: 1px dashed var(--accent); border-radius: 4px; background: rgb(196 165 116 / .12); color: var(--ink);  }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding-block: clamp(2rem, 6vw, 5rem) clamp(2.5rem, 6vw, 4.5rem); }
/* De sikkel uit het logo, groot en bijna onzichtbaar achter de demo */
.hero::before {
  content: "";
  position: absolute; z-index: -1;
  right: -16rem; top: -9rem;
  width: 52rem; aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 3rem -1.25rem 0 0 rgb(232 213 181 / .04);
  rotate: -18deg;
  translate: calc(var(--px, 0) * 18px) calc(var(--py, 0) * 18px);
  transition: translate .8s ease-out;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-copy > *, .page-head-copy > * { animation: rise .9s var(--ease) backwards; }
.hero-copy > :nth-child(2), .page-head-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3), .page-head-copy > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
/* Kop schuift per regel in beeld */
.lines span { animation: line-in 1s var(--ease) backwards; }
.lines span:nth-child(2) { animation-delay: .14s; }
.lines span:nth-child(3) { animation-delay: .28s; }
@keyframes line-in { from { opacity: 0; transform: translateY(.5em); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -25% 0); } }

.hero-copy .lead, .page-head .lead { margin-top: 1.5rem; max-width: 36rem; }
.hero-copy .cta-row, .page-head .cta-row { margin-top: 2.25rem; }
.hero-copy .cta-row .btn-fill { flex: 1 1 100%; }
.hero-note { margin-top: 1.25rem; font-size: .95rem; }

.hero-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2.5rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-strip-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.strip-label { margin-right: .5rem; font-size: .9rem; }

/* Claim-demo: agenda in een browservenster, telefoon van Lisa ervoor, twee zwevende kaartjes.
   script.js zet data-step 0 t/m 5 op .demo; alles hieronder reageert daarop. */
.demo { position: relative; margin: 0; animation: rise 1.1s var(--ease) .3s backwards; }
.demo-stage { position: relative; padding: 1.5rem 0 6.5rem; }
.agenda { padding: .9rem 1rem .25rem; }
.agenda-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.agenda-day { font: 500 1.2rem/1.2 var(--font-serif); color: var(--ink); }
.agenda-who { font-size: .82rem; }
.slot {
  display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); align-items: center; gap: .6rem;
  min-height: 3.3rem; padding-block: .35rem;
  border-top: 1px solid var(--line);
}
.slot-time { font-size: .82rem; font-variant-numeric: tabular-nums; }
.slot-stack { display: grid; }
.slot-stack > * { grid-area: 1 / 1; }
.appt {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  padding: .55rem .8rem;
  background: var(--raised);
  border: 1px solid transparent; border-left: 2px solid var(--line); border-radius: 8px;
  font-size: .9rem; color: var(--ink);
}
.appt-what { font-size: .8rem; color: var(--muted); }
.appt-old, .appt-free, .appt-new { opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.appt-free { background: transparent; border: 1px dashed var(--accent); transform: scale(.97); }
.appt-new { background: var(--accent); border-color: var(--accent); color: var(--ink-dark); font-weight: 500; transform: scale(.97); }
.appt-new .appt-what { color: var(--ink-dark); }
.demo[data-step="0"] .appt-old { opacity: 1; }
.demo[data-step="1"] .appt-old { opacity: .4; text-decoration: line-through; }
.demo:is([data-step="2"], [data-step="3"], [data-step="4"]) .appt-free { opacity: 1; transform: none; animation: vacant 1.6s ease-in-out infinite; }
.demo[data-step="5"] .appt-new { opacity: 1; transform: none; animation: claimed .9s var(--ease); }
/* Het moment van de claim: de afspraak ploft erin met een ring */
@keyframes claimed {
  0% { scale: .9; box-shadow: 0 0 0 0 rgb(196 165 116 / .7); }
  45% { scale: 1.04; }
  100% { scale: 1; box-shadow: 0 0 0 1.25rem rgb(196 165 116 / 0); }
}

.demo-cancel, .demo-filled {
  position: absolute; z-index: 3;
  opacity: 0; transform: translateY(.6rem) scale(.95);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.demo-cancel { left: .75rem; top: 0; }
.demo-filled { right: .75rem; top: 0; }
.demo:is([data-step="1"], [data-step="2"]) .demo-cancel, .demo[data-step="5"] .demo-filled { opacity: 1; transform: none; }

.demo-phone { position: absolute; z-index: 2; right: -.25rem; top: 13.2rem; width: min(12.5rem, 64%); }
.phone-idle, .bericht { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.phone-idle { display: grid; align-content: center; justify-items: center; gap: .15rem; padding: 2.2rem 1rem 1rem; text-align: center; }
.phone-idle b { font: 400 2.4rem/1 var(--font-serif); color: var(--ink-dark); font-variant-numeric: tabular-nums; }
.phone-idle small { margin-top: .9rem; font-size: .72rem; }
.bericht { padding: 2.2rem .8rem .9rem; font-size: .82rem; line-height: 1.4; opacity: 0; transform: translateY(1rem); }
.demo:is([data-step="3"], [data-step="4"], [data-step="5"]) .bericht { opacity: 1; transform: none; }
.demo:is([data-step="3"], [data-step="4"], [data-step="5"]) .phone-idle { opacity: 0; }
.bericht-from { font-size: .72rem; margin-bottom: .35rem; }
.bericht-text { padding: .65rem .75rem; background: #FFFBF3; border-radius: 14px 14px 14px 4px; color: var(--ink-dark); }
.bericht-link { text-decoration: underline; }
.bericht-action { display: grid; align-items: center; margin-top: .75rem; }
.bericht-action > * { grid-area: 1 / 1; transition: opacity .35s; }
.bericht-claim { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.timer { font: 500 1rem/1 var(--font-sans); color: var(--ink-dark); font-variant-numeric: tabular-nums; }
.claim-btn { padding: .5rem .75rem; border-radius: 6px; background: var(--ink-dark); color: var(--ivory); font-weight: 500; font-size: .82rem; transition: transform .2s, background-color .2s; }
.demo[data-step="4"] .claim-btn { transform: scale(.94); background: #4A3F2E; }
.claim-done { color: var(--ink-dark); font-weight: 600; opacity: 0; }
.demo[data-step="5"] .bericht-claim { opacity: 0; }
.demo[data-step="5"] .claim-done { opacity: 1; }

.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; min-height: 2.25rem; }
.demo-caption { font-size: .9rem; }
.demo-toggle { padding: .3rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .8rem; cursor: pointer; }
.demo-toggle:hover { border-color: var(--accent); color: var(--ink); }

/* Kop van een subpagina: tekst links, productbeeld rechts */
.page-head { position: relative; overflow-x: clip; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.page-head-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.page-head h1 { max-width: 19ch; }
.page-head-visual { position: relative; display: grid; place-items: center; min-height: 20rem; animation: rise 1.1s var(--ease) .3s backwards; }
.page-head-visual .float-card { position: absolute; z-index: 2; }

/* Telefoonverhaal (product): drie schermen in één telefoon. script.js zet data-scene op .phone-story;
   een scherm of kaartje is alleen zichtbaar als zijn eigen data-scene daarmee overeenkomt. */
.phone-story { padding-top: 2.5rem; }
/* Echte telefoonverhouding: ongeveer twee keer zo hoog als breed */
.phone-story .phone { width: min(15.5rem, calc((100vw - 4rem) / 1.15)); border-radius: 2.4rem; animation: bob 7s ease-in-out infinite alternate; }
.phone-story .phone-screen { min-height: 30rem; border-radius: 1.9rem; }
.phone-story .phone-screen { overflow: hidden; } /* bij grote tekst blijft de afbeelding binnen het scherm (E2E-25) */
/* Groter waar er ruimte is; zoom schaalt de telefoon met alles erin in dezelfde verhouding */
@media (min-width: 23.5rem) { .phone-story .phone { zoom: 1.1; max-width: 90%; } }
@media (min-width: 48rem) { .phone-story .phone { zoom: 1.15; } }
/* Nog een stap groter op schermen die hoog genoeg zijn om hem in één keer te tonen */
@media (min-width: 48rem) and (min-height: 54rem) { .phone-story .phone { zoom: 1.25; } }
.phone-story .scene { display: grid; align-content: center; }
.phone-story .screen-claim { padding-inline: 1.25rem; }
.phone-story .claim-kicker { font-size: .9rem; }
.phone-story .claim-when { font-size: 1.5rem; }
.phone-story .claim-timer { width: 9rem; margin-block: 1.75rem; }
.phone-story .claim-timer b { font-size: 1.8rem; }
.phone-story .claim-cta { padding: .9rem; font-size: 1rem; }
.phone-story .claim-note { margin-top: .9rem; font-size: .8rem; }
/* De losse telefoons elders (tegel, scrollverhaal) krijgen dezelfde verhouding */
.tile-visual .phone-screen, .story-panel .phone-screen, .story-inline .phone-screen { min-height: 24rem; align-content: center; }
.phone-story .scene, .phone-story .float-card {
  opacity: 0; transform: translateY(1rem);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.phone-story .scene.is-leaving { transform: translateY(-1rem); } /* het oude scherm schuift omhoog weg */
.phone-story .float-card { transform: translateY(.6rem) scale(.95); }
.phone-story[data-scene="1"] [data-scene="1"],
.phone-story[data-scene="2"] [data-scene="2"],
.phone-story[data-scene="3"] [data-scene="3"] { opacity: 1; transform: none; }
.phone-story[data-scene="1"] .float-card[data-scene="1"],
.phone-story[data-scene="2"] .float-card[data-scene="2"],
.phone-story[data-scene="3"] .float-card[data-scene="3"] { transition-delay: .3s; }

.phone-story .scene-bericht { display: flex; flex-direction: column; padding: 3rem 1rem 1.5rem; font-size: 1rem; line-height: 1.45; }
.scene-bericht .bericht-from { font-size: .8rem; }
.scene-bericht .bericht-text { padding: .9rem 1rem; }
.scene-bericht .claim-cta { margin-top: auto; text-align: center; }
.phone-story[data-scene="1"] .bericht-text { animation: pop .5s var(--ease) .25s backwards; }
@keyframes pop { from { opacity: 0; scale: .9; translate: 0 .5rem; } }
.scene-done { display: grid; align-content: center; justify-items: center; gap: .2rem; padding: 2.3rem 1rem 1.2rem; text-align: center; }
.done-check { width: 7.5rem; margin-bottom: 1.5rem; fill: none; stroke: #96622F; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
/* Het vinkje tekent zichzelf elke keer dat scherm 3 in beeld komt */
.phone-story[data-scene="3"] .done-check > * { stroke-dasharray: 1; animation: draw .8s var(--ease) .3s both; }
.phone-story[data-scene="3"] .done-check path { animation-delay: .8s; }
/* Vlak voor de wissel naar scherm 3 wordt de knop ingedrukt */
.claim-cta { transition: scale .2s, background-color .2s; }
.phone-story.is-pressing .claim-cta { scale: .95; background: #4A3F2E; }

.scene-dots { display: flex; gap: .15rem; margin-top: 1.25rem; }
.scene-dots button { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.scene-dots button::before { content: ""; width: .55rem; height: .55rem; border-radius: 99px; background: var(--line); transition: width .4s var(--ease), background-color .4s; }
.scene-dots button:hover::before { background: var(--muted); }
.scene-dots button[aria-pressed="true"]::before { width: 1.4rem; background: var(--accent); }

.price-orbit { position: relative; display: grid; place-items: center; width: min(100%, 22rem); aspect-ratio: 1; }
.price-orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 1; }
.price-orbit > span b { font: 400 clamp(3.5rem, 2rem + 6vw, 5.5rem)/1 var(--font-serif); color: var(--ink); }
.price-orbit > span small { display: block; font: 400 1rem/1.4 var(--font-sans); color: var(--muted); text-align: center; }
.price-orbit .float-card:nth-of-type(1) { left: -4%; top: 12%; }
.price-orbit .float-card:nth-of-type(2) { right: -6%; top: 40%; }
.price-orbit .float-card:nth-of-type(3) { left: 8%; bottom: 8%; }

/* ---------- Lichtkrant ---------- */
.marquee { overflow: hidden; padding-block: 1.25rem; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; }
.js .marquee-track { animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
  font: 400 clamp(2rem, 5vw, 3.5rem)/1.1 var(--font-serif);
  color: transparent; -webkit-text-stroke: 1px #6A5E4D;
  white-space: nowrap;
}
.marquee span::after { content: ""; width: .45em; height: .45em; border-radius: 50%; box-shadow: inset .15em -.04em 0 0 var(--accent); rotate: -18deg; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Het probleem: stoel en rekentool ---------- */
.chair-scene { position: relative; width: fit-content; margin-bottom: 2rem; padding-right: 8.5rem; }
.chair { width: 11rem; height: auto; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chair-fill { fill: var(--accent); stroke: none; fill-opacity: .2; }
.chair-tag { position: absolute; left: 11.75rem; top: 3.75rem; padding: .4rem .8rem; border-radius: 999px; font-size: .9rem; white-space: nowrap; }
.tag-free { border: 1px dashed var(--accent); color: var(--ink); opacity: 0; }
.tag-filled { background: var(--accent); color: var(--ink-dark); font-weight: 500; }
/* Alles met .draw tekent zichzelf zodra het in beeld komt */
.is-visible .draw { stroke-dasharray: 1; animation: draw 1.8s var(--ease) both; }
.is-visible .chair-fill { animation: chair-fill 5.5s ease both; }
.is-visible .tag-free { animation: tag-free 5.5s ease both; }
.is-visible .tag-filled { animation: tag-filled 5.5s ease both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes chair-fill { 0%, 70% { fill-opacity: 0; } 100% { fill-opacity: .2; } }
@keyframes tag-free { 0%, 25% { opacity: 0; } 35%, 65% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes tag-filled { 0%, 70% { opacity: 0; scale: .9; } 85% { scale: 1.06; } 100% { opacity: 1; scale: 1; } }

.calc { padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 2rem 4rem -2.5rem rgb(0 0 0 / .8); }
.calc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; align-items: baseline; margin-top: 1.5rem; }
.calc-field label { font-size: .95rem; }
.calc-field output { font: 500 1.15rem/1 var(--font-sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-field input { grid-column: 1 / -1; width: 100%; min-height: 1.75rem; margin: 0; accent-color: var(--accent); cursor: pointer; }
.calc .calc-result { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.calc-result strong { display: block; margin-bottom: .4rem; font: 400 clamp(2.75rem, 2rem + 3vw, 3.75rem)/1 var(--font-serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc .calc-year { margin-top: .35rem; font: 500 1.2rem/1.3 var(--font-serif); color: var(--accent); }
.calc .calc-even { margin-top: .9rem; color: var(--ink); }
.calc .btn { display: none; margin-top: 1.5rem; } /* op telefoon neemt de vaste knop onderaan het over */
.calc .calc-note { margin-top: 1rem; font-size: .85rem; }

/* ---------- Hoe het werkt: scrollverhaal ---------- */
.story-step { display: grid; gap: 1.25rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.story-step h3 { margin-top: 1.1rem; font-size: 1.5rem; font-weight: 400; }
.story-step p { margin-top: .5rem; max-width: 30rem; }
.story-inline { display: grid; justify-items: start; }
.story-stage { display: none; }

.template {
  display: grid; align-items: end; gap: .5rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.template-label { font-size: .9rem; }
.template-bericht { font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); line-height: 1.35; color: var(--ink); }

/* Tijdlijn met maanfasen (Over ons) */
.steps { position: relative; display: grid; gap: 1.5rem; }
.step { position: relative; z-index: 1; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step h3 { margin-top: 1.25rem; }
.step p { margin-top: .5rem; font-size: 1rem; }
.steps::before, .steps::after { display: none; }

/* ---------- Feiten als ringen, redenen ---------- */
.facts { display: grid; gap: 1.25rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.facts-stacked { gap: 1.5rem; margin-bottom: 0; }
.fact { display: flex; align-items: center; gap: 1.25rem; }
.fact-art { position: relative; flex: none; display: grid; place-items: center; width: 5.5rem; aspect-ratio: 1; }
.fact-art svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 2; stroke-linecap: round; }
.fact-art b { font: 400 1.35rem/1 var(--font-serif); color: var(--ink); }
.ring-track { stroke: var(--line); }
.ring { stroke: var(--accent); transform-origin: center; }
.ring-dashed { stroke-dasharray: 2 7; animation: turn 30s linear infinite; }
.ring-timer { stroke-dasharray: 1; rotate: -90deg; animation: deplete 8s linear infinite; }
.ring-loop { stroke-dasharray: .22 .78; animation: loop 3.5s linear infinite; }
.fact-text { font-size: 1rem; }
.fact-text strong { display: block; font: 500 1.2rem/1.3 var(--font-serif); color: var(--ink); }
@keyframes turn { to { rotate: 360deg; } }
@keyframes deplete { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }
@keyframes loop { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.reasons { display: grid; gap: 2rem 2.5rem; }
.reason { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.reason p { margin-top: .5rem; font-size: 1rem; }

/* ---------- Rijen (prijsdoorverwijzing op home) en vergelijking ---------- */
.service { display: grid; gap: .5rem 2rem; align-items: baseline; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service dt { font: 400 clamp(1.3rem, 1.1rem + 1vw, 1.6rem)/1.2 var(--font-serif); color: var(--ink); }
.service dd { max-width: 40rem; }
.service dd strong { color: var(--ink); font-weight: 500; }
.service-key dt { color: var(--accent); }
.teaser-link { margin-top: 2rem; }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { width: 50%; padding: .9rem .75rem .9rem 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { font: 500 .9rem/1.3 var(--font-sans); color: var(--muted); }
.compare td:last-child, .compare th:last-child { color: var(--ink); }
.compare td:last-child { font-family: var(--font-serif); font-size: 1.05rem; }

/* ---------- Product: mozaïek van tegels, elk met een eigen scherm ---------- */
.bento { display: grid; gap: 1rem; }
.tile {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .3s;
}
.tile:hover { border-color: var(--accent); }
.tile-visual {
  flex: 1; display: grid; place-items: center;
  min-height: 12rem; padding: 1.25rem 1rem;
  border-radius: 12px;
  background: radial-gradient(closest-side, rgb(196 165 116 / .13), transparent) var(--bg);
}
.tile-visual .screen { transition: scale .5s var(--ease); }
.tile-visual .screen:not(.screen-claim) { background: #211E1A; } /* de claimpagina in de telefoon blijft licht */
.tile:hover .tile-visual > * { scale: 1.03; }
.tile-visual .phone { transition: scale .5s var(--ease); }
.tile h3 { font-size: 1.4rem; font-weight: 400; }
.tile p { margin-top: .4rem; font-size: 1rem; }
.tile-key { border-color: #5E513C; }
.tile-key h3 { color: var(--accent); }

/* Widget of complete website */
.deploy { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.deploy-option { display: flex; flex-direction: column; }
.deploy-option h3 { margin-top: 1.75rem; font-size: 1.7rem; font-weight: 400; }
.deploy-for { margin-top: .4rem; }
.deploy-option .price-list { flex: 1; margin-block: 1.25rem 1.5rem; }
.deploy-in { color: var(--ink); font-weight: 500; }
/* Schets: bij de widget blijft de site grijs en is alleen de knop van Vullo. Bij de website is alles in thema. */
.mock {
  position: relative; display: grid; align-content: start; gap: .7rem;
  height: 10.5rem; padding: 1.4rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
}
.mock i { display: block; height: .55rem; border-radius: 99px; background: var(--line); }
.mock-btn { position: absolute; right: 1.2rem; bottom: 1.2rem; padding: .5rem .95rem; border-radius: 6px; background: var(--accent); color: var(--ink-dark); font-size: .85rem; font-weight: 500; }
.mock-widget .mock-btn { animation: vacant 2.4s ease-in-out infinite; }
.mock-site { background: var(--ivory); border-color: var(--ivory); }
.mock-site i { background: #D9CDB8; }
.mock-site .mock-head { height: 1.15rem; background: var(--ink-dark); }
.mock-site .mock-btn { background: var(--ink-dark); color: var(--ivory); }

/* ---------- Thema's ---------- */
.themes { display: grid; gap: 2rem; align-items: start; grid-template-areas: "copy" "preview" "controls"; }
.themes-copy { grid-area: copy; }
.themes-copy p { margin-top: 1.25rem; max-width: 32rem; }
.theme-controls { grid-area: controls; display: grid; gap: 1.5rem; }
.theme-controls p .btn { margin-top: .25rem; }
.preview-wrap { grid-area: preview; }
.control-label { display: block; margin: 0 0 .6rem; font-size: .9rem; font-weight: 600; color: var(--ink-dark); }
.theme-picker { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill-dark { border-color: #CFC3AE; color: var(--ink-dark); }
.pill-dark:hover { border-color: var(--ink-dark); }
.pill-dark[aria-pressed="true"] { background: var(--ink-dark); border-color: var(--ink-dark); color: var(--ivory); }
/* Kleurstaal op elke themaknop: achtergrond en accent van dat thema */
.theme-picker .pill::before {
  content: "";
  width: 1.7rem; height: 1.1rem; margin-right: .55rem;
  border: 1px solid var(--p-line); border-radius: 3px;
  background: linear-gradient(to right, var(--p-bg) 0 60%, var(--p-accent) 60%);
  transition: scale .3s var(--ease);
}
.theme-picker .pill:hover::before { scale: 1.15; }

.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.swatch {
  width: 2rem; height: 2rem; padding: 0;
  border: 3px solid var(--ivory); border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 1px #CFC3AE;
  cursor: pointer; transition: box-shadow .2s, scale .2s var(--ease);
}
.swatch:hover { scale: 1.1; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink-dark); }
.swatch-custom { display: inline-flex; align-items: center; gap: .5rem; margin-left: .25rem; font-size: .9rem; color: var(--ink-dark); cursor: pointer; }
.swatch-custom input { width: 2.25rem; height: 2.25rem; padding: 0; border: 0; background: none; cursor: pointer; }
.name-input { width: min(100%, 20rem); padding: .7rem .8rem; background: #FBF8F2; color: var(--ink-dark); border: 1px solid #CFC3AE; border-radius: 6px; font: inherit; }
.name-input:focus-visible { outline-offset: 0; border-color: var(--ink-dark); }
.preview-hint { margin-top: 1rem; font-size: .88rem; }

/* Porcelain Moon is de standaard. :where houdt de specificiteit op nul zodat elk thema hem overschrijft. */
:where(.preview, .theme-picker .pill, .mini-site) {
  --p-bg: #FBF8F2; --p-ink: #2A2521; --p-soft: #7A6F62; --p-line: #E4DBCC;
  --p-accent: #2A2521; --p-on-accent: #FBF8F2;
  --p-radius: 2px; --p-head: var(--font-serif); --p-head-weight: 400;
}
[data-theme="sandline"], [data-theme-pick="sandline"] {
  --p-bg: #EFE6D6; --p-ink: #3B3024; --p-soft: #7D6C58; --p-line: #DDCFB8;
  --p-accent: #96622F; --p-on-accent: #FFF9F0; --p-radius: 6px;
}
[data-theme="fogspa"], [data-theme-pick="fogspa"] {
  --p-bg: #EDF1F1; --p-ink: #26363A; --p-soft: #5F7478; --p-line: #D5DEDF;
  --p-accent: #3F6B73; --p-on-accent: #F5FAFA; --p-radius: 999px;
}
[data-theme="olive"], [data-theme-pick="olive"] {
  --p-bg: #F1F0E4; --p-ink: #2E3320; --p-soft: #6A6F52; --p-line: #DCDCC6;
  --p-accent: #5B6B2F; --p-on-accent: #F8F8EE; --p-radius: 4px;
}
[data-theme="blush"], [data-theme-pick="blush"] {
  --p-bg: #FBEDEA; --p-ink: #4A2B31; --p-soft: #94656C; --p-line: #F0D3CF;
  --p-accent: #B4566A; --p-on-accent: #FFFFFF; --p-radius: 999px;
}
[data-theme="clay"], [data-theme-pick="clay"] {
  --p-bg: #F4E7DD; --p-ink: #43281D; --p-soft: #8A6452; --p-line: #E6CFC0;
  --p-accent: #A9502F; --p-on-accent: #FFF6F0; --p-radius: 10px;
}
[data-theme="paperdesk"], [data-theme-pick="paperdesk"] {
  --p-bg: #FFFFFF; --p-ink: #1B1B1B; --p-soft: #666666; --p-line: #E6E6E6;
  --p-accent: #1B1B1B; --p-on-accent: #FFFFFF; --p-radius: 4px;
  --p-head: var(--font-sans); --p-head-weight: 600;
}
[data-theme="graphite"], [data-theme-pick="graphite"] {
  --p-bg: #2A2C2E; --p-ink: #ECECEA; --p-soft: #A3A6A8; --p-line: #3D4043;
  --p-accent: #E0E0DC; --p-on-accent: #1F2022; --p-radius: 2px;
  --p-head: var(--font-sans); --p-head-weight: 600;
}
[data-theme="noir"], [data-theme-pick="noir"] {
  --p-bg: #0F0E0D; --p-ink: #EFE7D8; --p-soft: #9A9082; --p-line: #2A2622;
  --p-accent: #B8935A; --p-on-accent: #0F0E0D; --p-radius: 0;
  --p-head: var(--font-sans); --p-head-weight: 600;
}
[data-theme="midnight"], [data-theme-pick="midnight"] {
  --p-bg: #121A2B; --p-ink: #E6EAF5; --p-soft: #8F9BB8; --p-line: #243049;
  --p-accent: #9DB2FF; --p-on-accent: #0E1524; --p-radius: 8px;
}
[data-theme="showroom"], [data-theme-pick="showroom"] {
  --p-bg: #F4F6F8; --p-ink: #111C27; --p-soft: #556270; --p-line: #DCE2E8;
  --p-accent: #C2311F; --p-on-accent: #FFFFFF; --p-radius: 6px;
  --p-head: var(--font-sans); --p-head-weight: 600;
}
[data-theme="pitlane"], [data-theme-pick="pitlane"] {
  --p-bg: #15171A; --p-ink: #F2F2F2; --p-soft: #9BA1A8; --p-line: #2B2F35;
  --p-accent: #F2C200; --p-on-accent: #15171A; --p-radius: 2px;
  --p-head: var(--font-sans); --p-head-weight: 600;
}
[data-theme="worklight"], [data-theme-pick="worklight"] {
  --p-bg: #FAF7EF; --p-ink: #20242A; --p-soft: #666C74; --p-line: #E3DFD3;
  --p-accent: #E8590C; --p-on-accent: #1A1206; --p-radius: 6px;
  --p-head: var(--font-sans); --p-head-weight: 600;
}

/* Voorbeeld van de boekingspagina */
.preview {
  overflow: hidden;
  background: var(--p-bg); color: var(--p-ink);
  border: 1px solid #D9CDB8; border-radius: 14px;
  box-shadow: 0 2rem 4rem -2rem rgb(26 23 20 / .45);
  transition: background-color .5s, color .5s;
}
.preview-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem 1rem; border-bottom: 1px solid var(--p-line); font-size: .8rem; color: var(--p-soft); transition: border-color .5s; }
.preview-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--p-line); }
.preview-bar span { margin-left: .5rem; }
.preview-body { padding: clamp(1.1rem, 4vw, 2.25rem); }
.preview-body.is-swapping { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(.5rem); } }
.preview-name { font-size: .9rem; font-weight: 600; letter-spacing: .04em; }
.preview-head { margin-top: .75rem; font: var(--p-head-weight) clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem)/1.15 var(--p-head); text-wrap: balance; }
.preview-services { margin-top: 1.5rem; }
.preview-services li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; border-top: 1px solid var(--p-line); font-size: .95rem; transition: border-color .5s; }
.preview-services li > :last-child { color: var(--p-soft); }
/* Diensten en prijzen zijn aanpasbaar in het voorbeeld */
.preview-services input { min-width: 0; padding: 0; background: transparent; color: inherit; border: 0; border-bottom: 1px dashed transparent; border-radius: 0; font: inherit; cursor: text; }
.preview-services input:first-child { flex: 1; }
.preview-services input:last-child { width: 6.5rem; text-align: right; }
.preview-services input:hover { border-bottom-color: var(--p-soft); }
.preview-services input:focus-visible { outline: none; border-bottom: 1px solid var(--p-accent); }
.preview-times { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.preview-times span { padding: .35rem .75rem; border: 1px solid var(--p-line); border-radius: var(--p-radius); font-size: .85rem; font-variant-numeric: tabular-nums; transition: border-radius .5s, border-color .5s; }
.preview-times .is-picked { border-color: var(--p-accent); }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.5rem; }
.preview-cta { padding: .7rem 1.2rem; background: var(--p-accent); color: var(--p-on-accent); border-radius: var(--p-radius); font-weight: 500; font-size: .95rem; transition: background-color .5s, color .5s, border-radius .5s; }
.preview-wait { font-size: .9rem; color: var(--p-soft); text-decoration: underline; text-underline-offset: .25em; }

/* Mini-boekingspagina in de kleuren van een thema (wand en galerij) */
.mini-site {
  display: grid; align-content: start; gap: .45rem;
  width: 100%; padding: .85rem;
  background: var(--p-bg); color: var(--p-ink);
  border: 1px solid var(--p-line); border-radius: 10px;
  font-family: var(--font-sans); text-align: left;
}
.mini-site b { font-size: .68rem; font-weight: 600; letter-spacing: .03em; }
.mini-site strong { font: var(--p-head-weight) .95rem/1.15 var(--p-head); }
.mini-site i { height: .3rem; border-radius: 99px; background: var(--p-line); }
.mini-site span { justify-self: start; margin-top: .2rem; padding: .3rem .65rem; border-radius: var(--p-radius); background: var(--p-accent); color: var(--p-on-accent); font-size: .65rem; font-weight: 500; }

/* Wand van boekingspagina's die langzaam doorschuift (script.js vult hem) */
.wall { display: grid; gap: 1rem; overflow: hidden; padding-block: .5rem 1rem; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.wall-row { display: flex; gap: 1rem; width: max-content; animation: marquee 70s linear infinite; }
.wall-row:nth-child(2) { animation-direction: reverse; }
.wall .mini-site { flex: none; width: 11.5rem; box-shadow: 0 1rem 2rem -1.25rem rgb(0 0 0 / .8); }

/* Galerij van alle thema's */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.theme-card button.mini-site { cursor: pointer; transition: translate .3s var(--ease), box-shadow .3s; }
.theme-card button.mini-site:hover { translate: 0 -4px; box-shadow: 0 1.25rem 2rem -1.25rem rgb(0 0 0 / .8); }
.theme-card h3 { margin-top: .9rem; font-size: 1.15rem; }
.theme-for { font-size: .85rem; color: var(--accent); }
.theme-card p:last-child { margin-top: .25rem; font-size: .95rem; }

/* Drie stappen om het in te stellen */
.setup { display: grid; gap: 1.5rem; counter-reset: setup; }
.setup-step { counter-increment: setup; }
.setup-art { display: grid; place-items: center; height: 11rem; padding: 1.25rem; border: 1px solid #D9CDB8; border-radius: 16px; background: #FBF8F2; }
.setup-step h3 { margin-top: 1.25rem; }
.setup-step h3::before { content: counter(setup) ". "; color: #96622F; }
.setup-step p { margin-top: .4rem; }
.setup-fan { display: grid; width: min(100%, 14rem); }
.setup-fan .mini-site { grid-area: 1 / 1; width: 9.5rem; box-shadow: 0 .75rem 1.5rem -1rem rgb(26 23 20 / .5); }
.setup-fan .mini-site:nth-child(1) { rotate: -8deg; }
.setup-fan .mini-site:nth-child(2) { justify-self: center; rotate: 2deg; }
.setup-fan .mini-site:nth-child(3) { justify-self: end; rotate: 9deg; }
.setup-dots { display: flex; gap: .6rem; }
.setup-dots i { width: 2.1rem; height: 2.1rem; border: 3px solid #FBF8F2; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px #CFC3AE; }
.setup-dots i:nth-child(3) { box-shadow: 0 0 0 2px var(--ink-dark); animation: bob 2.5s ease-in-out infinite alternate; }
.setup-list { width: min(100%, 15rem); font-size: .9rem; color: var(--ink-dark); }
.setup-list li { display: flex; justify-content: space-between; padding-block: .45rem; border-top: 1px solid #E4DBCC; }
.setup-list li:last-child { color: #96622F; }

/* ---------- Prijzen ---------- */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.prices { display: grid; gap: 1.25rem; align-items: stretch; }
.price {
  display: flex; flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 16px;
}
/* Het middelste pakket: een rand die ronddraait en een gloed eronder */
.price-featured {
  border-color: transparent;
  background:
    linear-gradient(#211E1A, #211E1A) padding-box,
    conic-gradient(from var(--spin), var(--accent), var(--line) 22%, var(--line) 78%, var(--accent)) border-box;
  box-shadow: 0 2.5rem 4rem -2.5rem rgb(196 165 116 / .35);
  animation: spin 7s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.price-tag { align-self: flex-start; margin-bottom: 1.25rem; padding: .25rem .7rem; background: var(--accent); color: var(--ink-dark); border-radius: 999px; font-size: .8rem; font-weight: 600; }
.price-name { font-size: 1.6rem; letter-spacing: 0; }
.price-for { margin-top: .4rem; font-size: .95rem; }
.price-amount { margin-top: 1.25rem; font-size: .95rem; }
.price-amount span { margin-right: .35rem; font: 400 3.25rem/1 var(--font-serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.price .price-list { flex: 1; margin-block: 1.75rem 2rem; }
.prices-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.prices-note p { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + 1vw, 1.6rem); color: var(--ink); }
.no-fees { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; margin-top: .9rem; }
.no-fees li { display: flex; align-items: center; gap: .7rem; font-size: 1rem; }
.no-fees li::before { flex: none; }

/* Vergelijkingstabel: schuift horizontaal op smalle schermen, eerste kolom blijft staan */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.plan-table { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: .95rem; }
.plan-table th, .plan-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.plan-table tr:last-child > * { border-bottom: 0; }
.plan-table thead th { font: 400 1.25rem/1.2 var(--font-serif); color: var(--ink); }
.plan-table tbody th, .plan-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); color: var(--muted); font: 400 .95rem/1.4 var(--font-sans); text-align: left; }
.plan-table td { color: var(--ink); }
.plan-table .is-featured { background: rgb(196 165 116 / .07); }
.yes { display: inline-block; width: .85rem; height: .85rem; box-shadow: inset .27rem -.07rem 0 0 var(--accent); }
.no { color: #6A5E4D; }

/* Installatie: zelf (€0) naast laten doen (eenmalig), elk met een route */
.install { display: grid; gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.install-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); }
.install-head p { margin-top: .75rem; }
.install-option { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.install-name { font-weight: 600; color: var(--ink); }
.install-price { margin-block: .35rem .75rem; font-size: .95rem; }
.install-price span { margin-right: .3rem; font: 400 2.5rem/1.1 var(--font-serif); color: var(--ink); }
.install-option .stepper { margin-top: 1.5rem; }
.install-option > p:last-of-type { font-size: .98rem; }

/* ---------- Veelgestelde vragen ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding-block: 1.15rem;
  font: 400 1.15rem/1.3 var(--font-serif); color: var(--ink);
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--font-sans); color: var(--accent); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding-bottom: 1.25rem; max-width: 38rem; }
.section-ivory .faq details { border-color: #D9CDB8; }
.section-ivory .faq summary { color: var(--ink-dark); }
.section-ivory .faq summary::after { color: #96622F; }

/* ---------- Testimonials ---------- */
.section-head .sample-label { margin-top: 0; padding: .35rem .8rem; border: 1px dashed var(--line); border-radius: 8px; font-size: .85rem; }
.quotes { display: grid; gap: 2rem; }
.quote { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.quote blockquote { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; height: 1.6rem; margin-bottom: .6rem; font: 400 4rem/1 var(--font-serif); color: var(--accent); }
.quote figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; margin-top: 1.25rem; font-size: .9rem; }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.quote figcaption::before {
  content: attr(data-initial);
  grid-row: span 2; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--ink);
  font: 500 1.1rem/1 var(--font-serif);
}

/* ---------- Over ons ---------- */
/* Van website naar gevulde stoel: vijf iconen met een lijn die zichzelf tekent */
.journey { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .25rem; width: 100%; }
.journey li { position: relative; display: grid; justify-items: center; gap: .6rem; font-size: .72rem; line-height: 1.25; text-align: center; color: var(--ink); animation: rise .8s var(--ease) backwards; animation-delay: calc(var(--i) * .22s + .4s); }
.journey-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: 1px solid var(--accent); border-radius: 50%; background: var(--bg); }
.journey .icon { width: 1.4rem; height: 1.4rem; }
.journey li:not(:last-child)::after {
  content: "";
  position: absolute; top: 1.5rem; left: 50%; width: calc(100% + .25rem); height: 1px;
  background: var(--accent); transform-origin: left;
  animation: grow .6s var(--ease) backwards; animation-delay: calc(var(--i) * .22s + .7s);
}
.journey li:last-child .journey-icon { background: var(--accent); }
.journey li:last-child .icon { stroke: var(--ink-dark); }
@keyframes grow { from { transform: scaleX(0); } }

.team { display: grid; gap: 1.25rem; margin-top: 2rem; }
.team li { display: flex; align-items: center; gap: 1rem; }
.team-photo { flex: none; display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border: 1px dashed var(--accent); border-radius: 50%; color: var(--accent); font: 400 1.4rem/1 var(--font-serif); }
.team p + p { margin-top: .3rem; font-size: .95rem; }
.company { margin-top: 1.5rem; }
.company div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding-block: .7rem; border-top: 1px solid var(--line); }
.company div:last-child { border-bottom: 1px solid var(--line); }
.company dd { color: var(--ink); }

.honest { padding: clamp(1.25rem, 3vw, 2rem); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.honest-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-block: 1.5rem; }
.honest-label { margin-bottom: .5rem; font-size: .85rem; }
.honest li { padding-block: .4rem; border-top: 1px solid var(--line); color: var(--ink); font-size: .98rem; }
.honest-not li { color: var(--muted); }
.split .honest p { margin-top: 0; font-size: .98rem; }

/* ---------- Call-to-actions ---------- */
.cta-band {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line); border-radius: 18px;
  background: radial-gradient(36rem circle at 100% 0%, rgb(196 165 116 / .16), transparent 60%) var(--surface);
}
.section-surface .cta-band { background-color: var(--bg); }
.cta-band::before {
  content: "";
  position: absolute; right: -4rem; bottom: -7rem;
  width: 16rem; aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 1.5rem -.5rem 0 0 rgb(232 213 181 / .07);
  rotate: -18deg;
}
.cta-band-line { position: relative; flex: 1 1 16rem; max-width: 34rem; font: 400 clamp(1.5rem, 1.1rem + 2vw, 2.4rem)/1.15 var(--font-serif); color: var(--ink); text-wrap: balance; }
.cta-band-action { position: relative; display: grid; gap: .6rem; justify-items: start; }
.cta-band-action span { font-size: .9rem; }
.cta-band-light { border-color: #D9CDB8; background: #FBF8F2; }
.cta-band-light::before { box-shadow: inset 1.5rem -.5rem 0 0 rgb(196 165 116 / .25); }
.cta-band-light .cta-band-line { color: var(--ink-dark); }

/* Slot: de maan komt op boven de laatste oproep */
.closing { position: relative; overflow: clip; padding-top: calc(var(--section) + 4rem); text-align: center; }
.closing::before {
  content: "";
  position: absolute; z-index: -1;
  left: 50%; top: 2.5rem; translate: -50% 0;
  width: min(30rem, 90vw); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 2.25rem -.9rem 0 0 rgb(232 213 181 / .08);
  rotate: -18deg;
  animation: moon-float 9s ease-in-out infinite alternate;
}
@keyframes moon-float { to { translate: -50% -1.25rem; rotate: -10deg; } }
.closing-inner { max-width: 44rem; }
.closing .lead { margin-top: 1rem; }
.closing .cta-row { justify-content: center; margin-top: 2.25rem; }
.closing .cta-row .btn { flex: 1 1 100%; }

/* ---------- Voet ---------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.footer-nav div { display: grid; align-content: start; justify-items: start; gap: .2rem; }
.footer-title { margin-bottom: .4rem; font-size: .85rem; }
.footer-nav a, .footer-nav button { padding: .3rem 0; border: 0; background: none; color: var(--ink); font-size: 1rem; text-decoration: none; cursor: pointer; }
.footer-nav a:hover, .footer-nav button:hover, .footer-nav a[aria-current="page"] { color: var(--accent); }
/* Het woordmerk nog één keer, groot en bijna weg */
.footer-mark { margin: clamp(1.5rem, 5vw, 3rem) 0 0; font: 500 clamp(6rem, 30vw, 24rem)/.8 var(--font-serif); color: rgb(232 213 181 / .05); text-align: center; white-space: nowrap; user-select: none; }
.footer-mark .wordmark-i::before { animation: none; }
.footer-legal { margin-top: 1rem; font-size: .85rem; }

/* ---------- Vensters: login, pop-up, melding ---------- */
.login {
  width: min(24rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto;
  padding: 2rem;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--line); border-radius: 16px;
  opacity: 0; transform: translateY(.75rem);
  transition: opacity .3s, transform .3s var(--ease), overlay .3s allow-discrete, display .3s allow-discrete;
}
.login:popover-open, dialog.login[open] { opacity: 1; transform: none; }
@starting-style { .login:popover-open, dialog.login[open] { opacity: 0; transform: translateY(.75rem); } }
.login::backdrop { background: rgb(10 9 8 / .65); backdrop-filter: blur(3px); }
.login h2 { font-size: 1.75rem; }
.login > p { margin-top: .4rem; font-size: .95rem; }
.login-close {
  position: absolute; top: .5rem; right: .5rem;
  width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.login-close:hover { color: var(--ink); }
.login-form { display: grid; gap: .4rem; margin-top: 1.5rem; }
.login-form label { font-size: .9rem; color: var(--ink); }
.login-form input { margin-bottom: .75rem; padding: .7rem .8rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.login-form input:focus-visible { outline-offset: 0; border-color: var(--accent); }
.login-form .btn { margin-top: .5rem; padding-block: .85rem; }
.login-note { margin-top: .5rem; font-size: .9rem; color: var(--ink); }
/* Foutmelding van het aanmeldvenster: altijd met het woord "Fout:" en een dikkere rand, kleur is niet het enige signaal */
.signup-error:not(:empty) { padding: .6rem .8rem; border: 2px solid var(--ink); border-radius: var(--radius-control, 6px); color: var(--ink); font-size: .9rem; font-weight: 500; }
.field-error { display: block; margin-top: .3rem; color: var(--ink); font-weight: 500; }
.signup [aria-invalid="true"] { border-width: 3px; }
.login-alt { display: inline-block; margin-top: 1.25rem; font-size: .9rem; text-underline-offset: .25em; }
.login-alt:hover { color: var(--ink); }

/* Aanmelden: het venster van de drie pakketknoppen op /prijzen/ */
.signup { width: min(62rem, calc(100vw - 2rem)); padding: clamp(1.25rem, 4vw, 2.25rem); color-scheme: dark; scrollbar-width: thin; }
.signup [hidden] { display: none !important; }

/* Kop: de maan loopt vol terwijl je invult (script.js zet --fill) */
.signup-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-right: 2.5rem; }
.signup-head div p { margin-top: .4rem; font-size: .95rem; }
.signup-progress { display: flex; align-items: center; gap: .7rem; font-size: .85rem; }
.signup-progress .moon { flex: none; width: 2.6rem; }
.signup-progress .moon::after { transition-duration: .7s; transition-delay: 0s; }
.signup-progress b { color: var(--ink); font-weight: 500; }

.signup-form { gap: 1.75rem; margin-top: 1.75rem; }
.signup-main { display: grid; gap: 1.75rem; min-width: 0; }
.signup fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.signup legend { margin-bottom: .6rem; padding: 0; font: 500 1.15rem/1.3 var(--font-serif); color: var(--ink); }
/* Bij openen komen de blokken na elkaar omhoog. Een blok dat er later bij komt doet hetzelfde,
   omdat een animatie opnieuw start zodra een element weer zichtbaar wordt. */
.signup fieldset, .signup-side, .field-extra, .invoice-note, .signup-done { animation: rise .55s var(--ease) calc(var(--i, 0) * 55ms) backwards; }

.fields { display: grid; gap: .8rem 1rem; }
.field { display: grid; gap: .3rem; align-content: start; }
.field small { font-size: .78rem; }
.signup-form :is(input, select, textarea) { width: 100%; margin: 0; padding: .7rem .8rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; font: inherit; transition: border-color .2s; }
.signup-form :is(select, textarea):focus-visible { outline-offset: 0; border-color: var(--accent); }
.signup-form textarea { resize: vertical; }
.signup-form input[type="checkbox"] { flex: none; width: 1.15rem; height: 1.15rem; padding: 0; accent-color: var(--accent); cursor: pointer; }
.signup .setting { transition: box-shadow .25s; }
.signup .setting:has(:checked) { box-shadow: inset 0 0 0 1px var(--accent); }
.signup .setting + .setting { margin-top: .5rem; }
.signup .setting small { display: block; }

/* Pakket en betaalwijze: het hele kaartje is de keuze, de radioknop ligt er onzichtbaar overheen */
.pick { display: grid; gap: .5rem; }
.pick label { position: relative; display: grid; gap: .1rem; padding: .8rem .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, background-color .2s, translate .25s var(--ease); }
.pick label b { font-weight: 500; }
.pick label strong { font: 400 1.9rem/1.15 var(--font-serif); color: var(--ink); }
.pick label span { color: var(--muted); font-size: .8rem; }
.pick input[type="radio"] { position: absolute; inset: 0; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.pick label:hover { border-color: var(--muted); translate: 0 -2px; }
.pick label:has(:checked) { border-color: var(--accent); background: var(--raised); }
.pick label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Sikkel in de hoek van het gekozen pakket */
.pick-plans label::after {
  content: "";
  position: absolute; top: .85rem; right: .85rem;
  width: .95rem; height: .95rem; border-radius: 50%;
  box-shadow: inset .3rem -.08rem 0 0 var(--accent); rotate: -18deg;
  opacity: 0; scale: .4; transition: opacity .3s, scale .45s var(--ease);
}
.pick-plans label:has(:checked)::after { opacity: 1; scale: 1; }
.pick-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick-pay label { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .6rem; padding: .7rem .8rem; font-size: .92rem; }
.pick-pay .icon { width: 1.4rem; height: 1.4rem; stroke: var(--muted); transition: stroke .2s, transform .45s var(--ease); }
.pick-pay label:has(:checked) .icon { stroke: var(--accent); transform: scale(1.12); }

/* Op factuur: de regel die niemand mag missen */
.invoice-note { display: flex; align-items: start; gap: .75rem; margin-top: .75rem; padding: .9rem 1rem; background: rgb(196 165 116 / .08); border: 1px solid var(--accent); border-radius: 12px; font-size: .92rem; line-height: 1.5; }
.invoice-note b { display: block; color: var(--ink); font-weight: 500; }

/* De bon: wat je gekozen hebt, wat het kost en hoe de 14 dagen lopen */
.signup-side { display: grid; align-content: start; gap: 1.1rem; min-width: 0; }
.bon { display: grid; gap: .9rem; padding: 1.2rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.bon-title { font-size: .8rem; }
.bon-calc { display: grid; gap: .8rem; }
.bon-plan { font: 400 1.9rem/1.1 var(--font-serif); color: var(--ink); }
.bon-lines { display: grid; gap: .35rem; font-size: .9rem; }
.bon-lines:not(:has(li:not([hidden]))) { display: none; }
.bon-lines li { display: flex; justify-content: space-between; gap: 1rem; animation: pop .45s var(--ease) backwards; }
.bon-lines span::before { content: "+ "; color: var(--accent); }
.bon-lines b { color: var(--ink); font-weight: 500; }
.bon-totals { display: grid; gap: .4rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.bon-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; }
.bon-totals dd { font: 500 1.2rem/1 var(--font-serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.bon .stepper { padding-top: .9rem; border-top: 1px dashed var(--line); }
.bon-trial { margin-top: -.4rem; font-size: .78rem; line-height: 1.45; text-align: center; }
.bon-invoice { padding: .5rem .7rem; border-radius: 8px; background: rgb(196 165 116 / .1); color: var(--ink); font-size: .85rem; text-align: center; animation: pop .45s var(--ease) backwards; }
.bon small { font-size: .75rem; line-height: 1.45; }
.signup-side .btn { margin-top: 0; }
.checks { display: grid; gap: .6rem; }
.check { display: flex; align-items: start; gap: .6rem; cursor: pointer; }
.check input { margin-top: .15rem; }
.check a { color: inherit; text-underline-offset: .25em; }
/* Na verzenden tekent het vinkje zich */
.signup-done { display: flex; align-items: center; gap: .8rem; color: var(--ink); font-size: .85rem; line-height: 1.45; }
.signup-done .done-check { flex: none; width: 2.4rem; margin: 0; stroke: var(--accent); stroke-width: 6; }
.signup-done .done-check > * { stroke-dasharray: 1; animation: draw .8s var(--ease) .15s both; }
.signup-done .done-check path { animation-delay: .65s; }

@media (min-width: 36rem) {
  .pick-plans, .pick-pay { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
}
/* Breed en hoog genoeg: de bon staat ernaast en loopt mee tijdens het scrollen.
   Op een laag scherm past hij niet in beeld; daar blijft hij onderaan, met de knop als laatste. */
@media (min-width: 54rem) and (min-height: 44rem) {
  .signup-form { grid-template-columns: minmax(0, 1fr) 18.5rem; column-gap: 2rem; align-items: start; }
  .signup-side { position: sticky; top: 1.25rem; }
}

/* ---------- Admin-login (/admin/): alleen de voorkant, het paneel wordt nog gebouwd ---------- */
.admin { display: grid; align-content: center; min-height: 70vh; }
.admin-wrap { display: grid; justify-items: center; gap: 1rem; text-align: center; }
.admin-wrap > * { animation: rise .9s var(--ease) calc(var(--i, 0) * 90ms) backwards; }
.admin .moon { width: 3.25rem; --moon-bg: var(--bg); }
.admin-card { width: min(24rem, 100%); margin-top: 1.5rem; padding: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; text-align: left; }
.link-btn { padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
/* Geen verkoopblokken op de admin-pagina */
main:has(.admin) .closing, body:has(.admin) .sticky-cta { display: none; }

.popup { width: min(30rem, calc(100vw - 2rem)); padding: clamp(1.5rem, 5vw, 2.25rem); }
.popup h2 { margin-top: 1.5rem; font-size: clamp(1.7rem, 1.2rem + 2.5vw, 2.3rem); }
.popup > p { margin-top: .75rem; font-size: 1.05rem; }
.popup .cta-row { margin-top: 1.75rem; }
.popup .popup-slot { max-width: 17rem; opacity: 1; transform: none; animation: vacant 1.6s ease-in-out infinite; }

.nudge {
  inset: auto auto 1.5rem 1.5rem; margin: 0;
  width: min(21rem, calc(100vw - 3rem)); padding: 1.5rem;
  background: var(--surface); color: var(--muted);
  border: 1px solid var(--accent); border-radius: 14px;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / .5);
  opacity: 0; transform: translateY(1rem);
  transition: opacity .4s, transform .4s var(--ease), overlay .4s allow-discrete, display .4s allow-discrete;
}
.nudge:popover-open { opacity: 1; transform: none; }
@starting-style { .nudge:popover-open { opacity: 0; transform: translateY(1rem); } }
.nudge-title { padding-right: 2rem; font: 500 1.25rem/1.25 var(--font-serif); color: var(--ink); }
.nudge p + p { margin-top: .5rem; font-size: .95rem; }
.nudge .btn { margin-top: 1rem; }

/* Vaste knop onderaan: alleen op telefoon (zie de max-width-regel hieronder) */
.sticky-cta { display: none; }

/* ---------- Scroll-reveal: alleen actief als script.js draait ---------- */
.js .reveal {
  opacity: 0; transform: translateY(1.25rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ================= Treden ================= */

/* Alleen telefoon: vaste knop onderaan */
@media (max-width: 35.99rem) {
  .sticky-cta, .sticky-cta:hover {
    display: flex; position: fixed; z-index: 15;
    left: var(--gutter); right: var(--gutter); bottom: max(1rem, env(safe-area-inset-bottom));
    padding-block: .95rem; font-size: 1.05rem;
    box-shadow: 0 .75rem 2rem rgb(0 0 0 / .55);
    translate: 0 calc(100% + 2rem); visibility: hidden;
    transition: translate .4s var(--ease), visibility 0s .4s;
  }
  .sticky-cta.is-shown, .sticky-cta.is-shown:hover { translate: 0 0; visibility: visible; transition: translate .4s var(--ease), visibility 0s; }
}

/* Kleine telefoon */
@media (max-width: 22.5rem) {
  .wordmark { font-size: 2.2rem; }
  .header-actions .btn, .menu-toggle { padding-inline: .75rem; }
  .chair-scene { padding-right: 0; }
  .chair { width: 9rem; }
  .chair-tag { left: auto; right: -1rem; top: 1rem; }
  .fact-art { width: 4.75rem; }
}

/* Grote telefoon */
@media (min-width: 36rem) {
  .hero-copy .cta-row .btn-fill, .closing .cta-row .btn { flex: 0 1 auto; }
  .calc .btn { display: inline-flex; }
  .demo, .page-head-visual { max-width: 34rem; margin-inline: auto; }
  .demo-phone { right: -.75rem; }
  .demo-cancel { left: -.75rem; }
  .reasons, .deploy, .cards, .steps, .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-key { grid-column: 1 / -1; }
  .install { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-head { grid-column: 1 / -1; }
  .service { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .template { grid-template-columns: minmax(0, 1fr) auto; }
  .template-label { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team li { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .compare th, .compare td { padding-right: 1rem; font-size: 1rem; }
  .compare td:last-child { font-size: 1.15rem; }
}

/* Tablet: twee kolommen voor hero, tekst-plus-beeld en de themakiezer */
@media (min-width: 48rem) {
  .hero-grid, .page-head-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .demo, .page-head-visual { max-width: none; margin-inline: 0; }
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem; }
  .split h1, .themes-copy h1 { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.25rem); line-height: 1.1; }
  .themes { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "copy preview" "controls preview"; gap: 2rem 2.5rem; }
  .preview-wrap { position: sticky; top: 6rem; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts .fact { flex-direction: column; align-items: flex-start; }
  .facts-stacked { grid-template-columns: minmax(0, 1fr); }
  .facts-stacked .fact { flex-direction: row; align-items: center; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .price { padding: 1.75rem 1.1rem; }
  .price-featured { margin-block: -1rem; padding-block: 2.75rem; }
  .price-for { min-height: 4.5em; }
  .price-amount span { font-size: 2.6rem; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .quote { padding: .5rem 1.5rem; }
  .quote:first-child { padding-left: 0; border-left: 0; }
  .setup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey li { font-size: .85rem; }
  .journey { gap: .75rem; }
  .journey-icon { width: 3.25rem; }
  .journey li:not(:last-child)::after { top: 1.625rem; width: calc(100% + .75rem); }
  .journey .icon { width: 1.6rem; height: 1.6rem; }
  .stepper li { font-size: .8rem; }
}

/* Het menu past volledig */
@media (min-width: 54rem) {
  .header-inner { flex-wrap: nowrap; gap: 1.5rem; }
  .site-nav, .js .site-nav { order: 0; flex-basis: auto; display: flex; flex-direction: row; align-items: center; gap: 1.75rem; margin-left: auto; padding: 0; }
  .site-nav a { padding-block: .25rem; font-size: .95rem; }
  .site-nav .nav-cta, .js .menu-toggle { display: none; }
  .header-actions { margin-left: 0; }
  .header-actions .btn-fill { display: inline-flex; }
}

/* Laptop */
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5rem); }
  .page-head-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5rem); }
  .split { gap: clamp(2.5rem, 6vw, 5rem); }
  .themes { gap: 2rem clamp(2.5rem, 6vw, 5rem); }
  .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .prices { gap: 1.25rem; }
  .price { padding: 2rem 1.75rem; }
  .price-featured { padding-block: 3rem; }
  .price-for { min-height: 3em; }
  .price-amount span { font-size: 3.25rem; }
  .quote { padding-inline: 2rem; }
  .fact-art { width: 7rem; }
  .fact-art b { font-size: 1.7rem; }
  .facts .fact { flex-direction: row; align-items: center; }
  .install { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); }
  .install-head { grid-column: auto; }

  /* Mozaïek op twaalf kolommen */
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tile-key { grid-column: span 5; grid-row: span 2; }
  .tile-agenda { grid-column: span 7; }
  .tile-waitlist { grid-column: span 4; }
  .tile-booking { grid-column: span 3; }
  .tile-portal { grid-column: span 5; }
  .tile-pay { grid-column: span 7; }

  /* Tijdlijn: één baan door de vier manen, met een stip die van leeg naar vol reist */
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .step { padding-top: 0; border-top: 0; }
  .steps::before, .steps::after {
    content: ""; display: block;
    position: absolute; top: 1.25rem;
    left: 1.25rem; right: calc((100% - 6rem) / 4 - 1.25rem);
    height: 1px; background: var(--line);
  }
  .steps::after {
    right: auto; width: .5rem; height: .5rem; margin: -.25rem 0 0 -.25rem;
    border-radius: 50%; background: var(--ink);
    box-shadow: 0 0 .75rem .15rem rgb(232 213 181 / .5);
    animation: travel 7s var(--ease) infinite;
  }

  /* Scrollverhaal: tekst links, rechts een vastgezet scherm dat per stap wisselt (script.js zet data-active) */
  .js .story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 6rem); }
  .js .story-step { min-height: 62vh; align-content: center; border-top: 0; opacity: .3; transition: opacity .5s; }
  .js .story-step.is-active { opacity: 1; }
  .js .story-inline { display: none; }
  .js .story-stage { position: sticky; top: calc(50vh - 13rem); display: grid; place-items: center; height: 26rem; }
  .story-stage > * { grid-area: 1 / 1; }
  .story-moon { width: 22rem; opacity: .14; box-shadow: none; --moon-bg: var(--surface); }
  .story-moon::after { transition-delay: 0s; }
  .story-stage[data-active="1"] .story-moon { --fill: 0; }
  .story-stage[data-active="2"] .story-moon { --fill: .38; }
  .story-stage[data-active="3"] .story-moon { --fill: .7; }
  .story-stage[data-active="4"] .story-moon { --fill: 1.1; }
  .story-panel { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; opacity: 0; transform: translateY(1.5rem) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .story-panel .screen { max-width: 23rem; font-size: 1rem; }
  .story-panel .phone { width: 14.5rem; }
  .story-stage[data-active="1"] [data-panel="1"],
  .story-stage[data-active="2"] [data-panel="2"],
  .story-stage[data-active="3"] [data-panel="3"],
  .story-stage[data-active="4"] [data-panel="4"] { opacity: 1; transform: none; }
}
@keyframes travel {
  0% { left: 1.25rem; opacity: 0; }
  10%, 90% { opacity: 1; }
  100% { left: calc(100% - (100% - 6rem) / 4 + 1.25rem); opacity: 0; }
}

/* Groot scherm: de hero neemt meer hoogte */
@media (min-width: 100rem) {
  .hero-grid { min-height: min(38rem, 62vh); }
  .phone { width: 13.5rem; }
}

/* Liggende telefoon */
@media (max-height: 30rem) and (orientation: landscape) {
  .site-header { position: static; }
  .sticky-cta { display: none; }
}

/* Aanraakschermen: doelen minstens 44px hoog */
@media (pointer: coarse) {
  .pill, .demo-toggle { min-height: 2.75rem; padding-inline: 1rem; }
  .scene-dots button { width: 2.75rem; height: 2.75rem; }
  .swatch { width: 2.75rem; height: 2.75rem; }
  .swatch-custom input { width: 2.75rem; height: 2.75rem; }
  .btn { min-height: 2.75rem; }
  .footer-nav a, .footer-nav button { padding-block: .6rem; }
  .faq summary { padding-block: 1.3rem; }
}

/* Muis: de demo kantelt licht mee (script.js zet --px en --py, van -1 tot 1) */
@media (hover: hover) {
  .demo-stage, .page-head-visual {
    transform: perspective(60rem) rotateY(calc(var(--px, 0) * 5deg)) rotateX(calc(var(--py, 0) * -4deg));
    transition: transform .6s ease-out;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .story-step { opacity: 1; }
}

/* ---------- Kanaalkeuze: claimroute of gewone e-mailroute ("Hoe het werkt") ---------- */
[data-channel="claim"] [data-for="mail"], [data-channel="mail"] [data-for="claim"] { display: none !important; }
.channel-switch { display: none; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.js .channel-switch { display: flex; }
.channel-switch .pill { gap: .5rem; }
.channel-switch .pill small { font-size: .78rem; color: var(--muted); }
.channel-switch .pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink-dark); }
.channel-switch .pill[aria-pressed="true"] small { color: var(--ink-dark); }
.template-note a, .tile a, .trial a, .price-list a { color: var(--ink); text-underline-offset: .25em; text-decoration-color: var(--line); }
.template-note a:hover, .tile a:hover, .trial a:hover, .price-list a:hover { text-decoration-color: var(--accent); }

/* De e-mail in de telefoon */
.screen-mail { max-width: none; padding: 2.6rem 1.1rem 1.4rem; background: transparent; border: 0; box-shadow: none; }
.mail-from { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }
.mail-from b { color: var(--ink-dark); font-weight: 600; }
.mail-subject { margin-top: .7rem; font: 500 1.15rem/1.25 var(--font-serif); color: var(--ink-dark); }
.mail-body { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid #DCCFB9; font-size: .92rem; line-height: 1.45; }
.screen-mail .claim-cta { margin-top: 1.25rem; text-align: center; }
.screen-mail .claim-note { margin-top: .7rem; text-align: center; }

/* Proefperiode en afspraken onder de pakketten */
.trial { margin-top: clamp(2rem, 4vw, 3rem); padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.trial h3 { font-size: 1.2rem; font-weight: 500; }
.trial p { margin-top: .5rem; max-width: 52rem; font-size: 1rem; }
.trial .trial-agree { font-size: .9rem; }

/* ---------- Juridische pagina's: privacyverklaring en algemene voorwaarden ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.legal-toc { padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-size: .95rem; }
.legal-toc ol { margin-top: .6rem; padding-left: 1.3rem; list-style: decimal; }
.legal-toc li { padding-block: .2rem; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.legal-body { max-width: 46rem; counter-reset: part; }
.legal-part { counter-increment: part; }
.legal-part + .legal-part { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal-body h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.2; }
.legal-body h2::before { content: counter(part) ". "; color: var(--accent); }
.legal-body p, .legal-body ul, .legal-body .table-scroll { margin-top: 1rem; }
.legal-body h2 + p { margin-top: .9rem; }
.legal-body ul { padding-left: 1.25rem; list-style: disc; }
.legal-body li { padding-block: .2rem; }
.legal-body li::marker { color: var(--accent); }
.legal-body strong { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--ink); text-underline-offset: .25em; text-decoration-color: var(--line); }
.legal-body a:hover { text-decoration-color: var(--accent); }
.legal-note { max-width: 40rem; margin-top: 1.5rem; padding: .8rem 1rem; border: 1px dashed var(--accent); border-radius: 10px; color: var(--ink); font-size: .95rem; }
.legal-date { margin-top: 1.25rem; font-size: .9rem; }
.legal-table { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: .92rem; }
.legal-table th, .legal-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table tr:last-child > * { border-bottom: 0; }
.legal-table thead th { color: var(--ink); font-weight: 500; }
.legal-table tbody th { color: var(--ink); font-weight: 500; }
@media (min-width: 64rem) {
  .legal { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
  .legal-toc { position: sticky; top: 6rem; }
}
/* In lopende juridische tekst mogen invulplekken afbreken, anders lopen ze op telefoon buiten beeld */
.legal-body .todo, .legal-note .todo { white-space: normal; }

/* Het grote woordmerk onderaan ligt over de laatste voetlinks heen: laat klikken er dwars doorheen gaan */
.footer-mark { pointer-events: none; }

/* E-mailvariant van de animaties (hero-demo en telefoonverhaal) */
.mail-text b { display: block; margin-bottom: .35rem; font: 500 .95em/1.25 var(--font-serif); }
.claim-btn-wide { flex: 1; text-align: center; }
.demo .channel-switch { margin-top: .9rem; }
.channel-label { margin-top: 1.75rem; font-size: .9rem; }
.page-head-copy .channel-switch { margin-top: .6rem; }

/* Decoratieve lagen (gloed, maan, banden) mogen nooit klikken wegnemen van wat eronder of ernaast staat */
.glow::before, .hero::before, .closing::before, .cta-band::before, .demo::before, .sky { pointer-events: none; }

/* ---------- Eerder komen: de ketting van afzegging naar twee gevulde plekken ---------- */
.chain { margin: 0; }
.chain-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2rem 4rem -2.5rem rgb(0 0 0 / .8); }
.chain-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .4rem; font: 500 1.05rem/1.2 var(--font-serif); color: var(--ink); }
.chain-tag { padding: .15rem .6rem; border: 1px dashed var(--accent); border-radius: 999px; font: 400 .72rem/1.5 var(--font-sans); color: var(--ink); }
.chain .slot { border-top: 0; }
/* Elk element met data-in is alleen zichtbaar in de stappen die het noemt */
.chain [data-in] { opacity: 0; transform: translateY(.5rem) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chain[data-step="0"] [data-in~="0"],
.chain[data-step="1"] [data-in~="1"],
.chain[data-step="2"] [data-in~="2"],
.chain[data-step="3"] [data-in~="3"],
.chain[data-step="4"] [data-in~="4"] { opacity: 1; transform: none; }
.chain .appt-free { animation: vacant 1.6s ease-in-out infinite; }
.chain[data-step="3"] .chain-now .appt-new, .chain[data-step="4"] .chain-later .appt-new { animation: claimed .9s var(--ease); }
.chain-arrow { width: 3.5rem; justify-self: center; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; rotate: 90deg; } /* op telefoon staat de oude week onder de nieuwe: de pijl wijst omhoog */
.chain-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chain[data-step="3"] .chain-arrow path { animation: chain-draw .9s var(--ease) .1s both; }
.chain[data-step="4"] .chain-arrow path { stroke-dashoffset: 0; }
@keyframes chain-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.chain-count { justify-self: center; margin: 0; padding: .35rem .9rem; border-radius: 999px; background: var(--accent); color: var(--ink-dark); font-size: .85rem; font-weight: 500; }
@media (min-width: 36rem) {
  .chain-stage { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .chain-arrow { rotate: 0deg; width: 3rem; }
  .chain-count { grid-column: 1 / -1; }
}

/* Productpagina: de tegel "Eerder komen" beslaat een hele rij */
.tile-earlier .screen-earlier { max-width: 21rem; }
.screen-earlier .setting { margin-top: .7rem; }
@media (min-width: 36rem) { .tile-earlier { grid-column: 1 / -1; } }
@media (min-width: 64rem) {
  .tile-earlier { grid-column: span 12; flex-direction: row; align-items: center; gap: 2.5rem; }
  .tile-earlier .tile-visual, .tile-earlier > div:last-child { flex: 1 1 50%; }
  .tile-earlier .tile-visual { min-height: 14rem; }
}

/* Ketting: ruimere kaartjes, en het label zit op de onderrand zodat er geen lege rij onder blijft */
.chain-stage { padding: 1.5rem 1.25rem 1.75rem; margin-bottom: .75rem; }
.chain .slot { min-height: 4.4rem; }
.chain .appt { padding: .85rem 1rem; font-size: 1rem; }
.chain-count { position: absolute; left: 50%; bottom: -.95rem; translate: -50% 0; margin: 0; }
@media (min-width: 36rem) { .chain-count { grid-column: auto; } }

/* Prijzen: blok "Wat Vullo niet is" en betalen (fase 1) */
.not-wrap { max-width: 44rem; }
.not-list { margin: 1.25rem 0; padding-left: 1.25rem; }
.not-list li { margin-top: .6rem; }

/* Aanmelden staat uit: korte uitleg met een e-mailadres in plaats van het formulier */
.signup-off { display: grid; gap: 1rem; justify-items: start; margin-top: 1.5rem; }
.signup-off p { margin: 0; }

/* Tekst op 200% (E2E-25, WCAG 1.4.4): lange woorden breken af in plaats van rechts weg te vallen. De grote kopregel met
   de uitlopende maan (.footer-mark) is versiering en blijft op één regel. */
h1, h2, h3, h4, p, li, dt, dd, summary, label, td, th, blockquote, .lines span, .footer-nav a, .footer-nav button { overflow-wrap: anywhere; }
h1, h2, h3, .lines span { hyphens: auto; }

/* R-04 (Maarten): een bedrag staat altijd op één regel; labels gaan naar een nieuwe regel, maar breken niet midden in een woord. */
.bon-totals dd, .bon-lines b, .bon-plan, .pick label strong { white-space: nowrap; overflow-wrap: normal; flex: none; }
.bon-totals dt, .bon-lines span, .pick-pay label { overflow-wrap: break-word; }
@media (max-width: 22.5rem) {
  .pick-pay { grid-template-columns: minmax(0, 1fr); }
  .bon-totals div, .bon-lines li { flex-wrap: wrap; }
}

/* R-07 (Maarten): op een telefoon staat elke rij van de privacytabel als blok, met het label van de kolom voor elke waarde. */
@media (max-width: 40rem) {
  .legal-table { min-width: 0; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; }
  .legal-table tbody tr { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .legal-table tbody tr:last-child { border-bottom: 0; }
  .legal-table th, .legal-table td { padding: .25rem .9rem; border-bottom: 0; }
  .legal-table td::before { content: attr(data-label); display: block; color: var(--ink); font-weight: 500; font-size: .8rem; }
}
