/* =====================================================================
   SPOTRISER
   Brand guide v1: papier met tekst in Ink, oranje alleen als klein accent.
   Koppen in Outfit Medium, tekst in Inter.
   ===================================================================== */

:root {
  --bg: #f5f4f0;
  --bg-alt: #ebeae5;
  --surface: #ebeae5;
  --ink: #141414;
  --ink-2: #63625d;
  --stone: #8a8984;
  --line: rgba(20, 20, 20, 0.1);
  --field: #ffffff;
  --field-border: rgba(20, 20, 20, 0.16);
  --accent: #ff7a1a;
  --whatsapp: #25d366;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --band-y: clamp(80px, 10vw, 128px);
  --radius: 16px;
  --card-pad: clamp(28px, 3vw, 40px);
  --card-pad-sm: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 56px;
}

/* Kaarten op een grijze band zijn juist lichter */
.band--alt, .band--tint { --surface: var(--bg); }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 14px; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 500; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 500; font-size: 16px; line-height: 1.2;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 20, 20, 0.22); }
.btn:active { transform: scale(0.97); box-shadow: none; }
.btn--whatsapp { background: var(--whatsapp); color: #08301a; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: var(--ink); }
.link-arrow::after { content: "\203A"; font-size: 1.2em; line-height: 1; margin-left: 4px; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- Navigatie ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform 0.35s var(--ease), background-color 0.3s ease;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav.is-hidden { transform: translateY(-100%); }
body.menu-open .nav { transform: none; background: var(--bg); }

.logo { display: inline-flex; align-items: center; line-height: 1; }
.logo__img { display: block; height: 0.9em; width: auto; }
.nav__brand { font-size: 24px; }
.nav__links { display: flex; gap: clamp(16px, 2vw, 28px); font-size: 14px; white-space: nowrap; margin-left: auto; }
.nav__links a { color: var(--ink-2); transition: color 0.2s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav.is-scrolled .nav__links a.is-active { color: var(--accent); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span {
  position: absolute; left: 11px; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg); color: var(--ink);
  padding: calc(var(--nav-h) + 16px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  opacity: 0; transition: opacity 0.25s ease;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
/* Met het menu open is de pagina erachter weg, ook voor schermlezers */
body.menu-open main,
body.menu-open .footer,
body.menu-open .rail,
body.menu-open .fab { visibility: hidden; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: clamp(10px, 1.8vh, 16px) 0; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-size: clamp(19px, 2.6vh, 24px); font-weight: 500; letter-spacing: -0.02em; }
.menu__meta { flex: none; font-size: 15px; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 6fr 5fr; grid-template-areas: "content media";
  align-items: center; gap: clamp(32px, 5vw, 72px);
  max-width: var(--wrap); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 48px;
}
.hero__content { grid-area: content; min-width: 0; }
.hero__media {
  grid-area: media; position: relative; overflow: hidden; min-width: 0;
  aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 96px); width: 100%;
  border-radius: var(--radius); background: var(--surface);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__title { font-size: clamp(40px, 5.4vw, 72px); max-width: 15ch; line-height: 1.02; }
.hero__for { margin-top: 24px; font-family: var(--font-head); font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; white-space: nowrap; }
.hero__tagline { margin-top: 12px; max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero__cta--center { justify-content: center; }
.hero__trust { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--ink-2); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Wisselend woord */
.swap { position: relative; display: inline-block; box-shadow: inset 0 -0.12em 0 var(--accent); white-space: nowrap; transition: width 0.45s var(--ease); }
.swap > span { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 0.4s ease; }
.swap > span.is-on { position: relative; opacity: 1; }

/* Link naar de volgende sectie */
.next { display: table; margin-top: clamp(40px, 5vw, 64px); font-size: 17px; }
.band--center .next { margin-left: auto; margin-right: auto; }

/* ---------- Banden en koppen ---------- */
.band { padding: var(--band-y) 0; }
.band--alt, .band--tint { background: var(--bg-alt); }

.head { margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 40ch; }
.head__title { font-size: clamp(34px, 5.2vw, 64px); max-width: 20ch; line-height: 1.04; }
.head--center .head__title { margin-left: auto; margin-right: auto; max-width: 26ch; }
.head__lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); }
.dot { color: var(--accent); }

.note { margin: 24px auto 0; max-width: 70ch; text-align: center; font-size: 14px; color: var(--ink-2); }

/* ---------- Vimeo-speler ----------
   Vult het vak zoals object-fit: cover. Is het vak smaller dan 16:9,
   dan schalen we op de hoogte in plaats van op de breedte. */
.vimeo-wrap {
  position: absolute; inset: 0; overflow: hidden;
  background-size: cover; background-position: center;
  container-type: size;
}
.vimeo-wrap iframe {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 0; display: block;
  width: 100%; height: auto; aspect-ratio: 16 / 9;
}
@container (aspect-ratio < 16 / 9) {
  .vimeo-wrap iframe { width: auto; height: 100%; }
}

/* ---------- Showreel ---------- */
.showreel__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #1f1f1f; }
.showreel__frame:fullscreen { border-radius: 0; }
.showreel__video { width: 100%; height: 100%; object-fit: cover; }
.showreel__controls { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.js-mute[aria-pressed="false"] .wave { opacity: 0.35; }
.js-playpause .icon-play { display: none; }
.js-playpause[aria-pressed="true"] .icon-play { display: block; }
.js-playpause[aria-pressed="true"] .icon-pause { display: none; }

/* ---------- Herkenbaar ---------- */
/* Losse rastercellen, zodat op mobiel eerst de kop, dan het lijstje, dan de tekst komt */
.herken {
  display: grid; grid-template-columns: 6fr 5fr;
  grid-template-areas: "title lines" "text lines";
  column-gap: clamp(32px, 6vw, 96px); row-gap: 24px;
  align-items: start;
}
.herken > * { min-width: 0; }
.herken__title { grid-area: title; }
.herken__text { grid-area: text; }
.herken .turn { font-size: clamp(22px, 2.4vw, 30px); }
.herken .btn { margin-top: 18px; }
.herken .next { display: block; margin-top: 18px; }
.lines { grid-area: lines; align-self: center; display: flex; flex-direction: column; gap: 14px; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.lines li span {
  padding: 0 0.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 58%; background-size: 0% 0.09em;
  transition: background-size 0.55s var(--ease), opacity 0.4s ease;
}
/* Doorstreep-animatie, regel voor regel */
.lines li.is-in span { background-size: 100% 0.09em; opacity: 0.6; transition-delay: 0s, 0.3s; }
.lines li:nth-child(2).is-in span { transition-delay: 0.25s, 0.55s; }
.lines li:nth-child(3).is-in span { transition-delay: 0.5s, 0.8s; }
.herken .turn { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease 0.9s, transform 0.5s var(--ease) 0.9s; }
.herken.is-in .turn { opacity: 1; transform: none; }

/* ---------- Werk ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.case__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); aspect-ratio: 16 / 10; }
.case__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case__meta { padding: 16px 4px 0; }
.case__title { font-size: 19px; }
.case__desc { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.case__quote { margin: 16px 0 0; padding-left: 14px; border-left: 2px solid var(--accent); font-size: 15px; color: var(--ink-2); }
.case__quote cite { display: block; margin-top: 4px; font-style: normal; font-size: 14px; }

/* ---------- Over ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about > * { min-width: 0; }
.about__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.about__text { display: flex; flex-direction: column; gap: 20px; max-width: 52ch; }
.about__text .head__title { margin-bottom: 8px; }
.about__text p { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.about__text .about__names { padding-top: 8px; font-size: 16px; color: var(--ink); }
.facts { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

.bts { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bts figure { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bts__img { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.bts img { width: 100%; height: 100%; object-fit: cover; }
.bts figcaption { font-size: 14px; color: var(--ink-2); }

/* ---------- Werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step h3 { font-size: 19px; }
.step p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }

/* ---------- Aanbod ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.plan { background: var(--surface); border-radius: var(--radius); padding: var(--card-pad); display: flex; flex-direction: column; gap: 14px; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.plan--featured { box-shadow: inset 0 0 0 1.5px var(--ink); }
.plan__badge { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.plan__name { font-size: 24px; }
.plan__desc { font-size: 16px; color: var(--ink-2); }
.plan__list { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.plan__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__price { font-family: var(--font-head); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; }
.plan__price span { font-size: 16px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.plan__per { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08); }
  .plan--featured:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 16px 40px rgba(20, 20, 20, 0.08); }
  .case__media:hover .case__img { transform: scale(1.03); }
}
.terms { margin: 36px auto 0; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; text-align: left; font-size: 15px; color: var(--ink-2); }
.terms strong { color: var(--ink); font-weight: 600; }

/* ---------- Terugverdienen ---------- */
.market { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.market__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.market__row--head { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.market__row span:nth-child(2) { color: var(--ink-2); }
.market__row b { font-weight: 600; }

/* ---------- Zekerheden ---------- */
.assure { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; }
.assure__item { background: var(--surface); border-radius: var(--radius); padding: var(--card-pad-sm); display: flex; gap: 16px; align-items: flex-start; }
.assure__item::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ff7a1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.assure__item h3 { font-size: 19px; }
.assure__item p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--font-head); font-size: 19px; font-weight: 500; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item p { padding: 0 0 22px; max-width: 62ch; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--field); color: var(--ink);
  border: 1px solid var(--field-border); border-radius: 12px;
  font: inherit; font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d0342c; }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: 15px; color: var(--ink-2); }
.form__status.is-ok { color: #1a7f45; }
.form__status.is-error { color: #d0342c; }
.form__privacy { font-size: 14px; color: var(--ink-2); }
.form__privacy a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.contact__side { display: flex; flex-direction: column; gap: 28px; }
.contact__details { display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.contact__details a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
/* Iframe iets hoger dan het kader, zodat de balk van OpenStreetMap wegvalt. De bronvermelding staat eronder. */
.map iframe { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% + 56px); border: 0; filter: grayscale(1); }
.map__credit { margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.map__credit a { color: inherit; }

/* ---------- Footer ---------- */
.footer { padding: 32px 0 112px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.footer__tag { width: 100%; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--ink); }

/* ---------- Sectie-indicator rechts ---------- */
.rail {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.rail a { position: relative; display: flex; align-items: center; justify-content: flex-end; height: 14px; padding-left: 60px; }
.rail a::after { content: ""; display: block; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); opacity: 0.35; transition: width 0.3s var(--ease), opacity 0.2s ease, background-color 0.2s ease; }
.rail a:hover::after { opacity: 0.8; }
.rail a.is-active::after { width: 28px; opacity: 1; background: var(--accent); }
.rail a span {
  position: absolute; right: 36px; top: 50%; transform: translateY(-50%) translateX(6px);
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap;
  opacity: 0; transition: opacity 0.25s ease, transform 0.3s var(--ease); pointer-events: none;
}
.rail a.is-active span, .rail a:hover span { opacity: 1; transform: translateY(-50%); }
.rail a:hover:not(.is-active) span { opacity: 0.7; }
.rail a:focus-visible { outline: none; }
.rail a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Zwevende knop ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px;
  box-shadow: 0 0 0 3px var(--bg), 0 6px 24px rgba(20, 20, 20, 0.25);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s ease;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab:hover { transform: translateY(-2px); }

/* ---------- Inkom-animaties ---------- */
.rise { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease, transform 0.55s var(--ease); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }
.media-reveal { opacity: 0; transform: translateY(16px) scale(0.985); transition: opacity 0.55s ease, transform 0.65s var(--ease); }
.media-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Losse pagina's: privacy en voorwaarden ---------- */
.page-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--wrap); height: var(--nav-h); margin: 0 auto; padding: 0 var(--gutter);
}
.page-nav .logo { font-size: 24px; }
.page-nav__back { font-size: 14px; color: var(--ink-2); }
.page-nav__back:hover { color: var(--ink); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(64px, 9vw, 112px); }
.legal__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.legal h1 { margin-top: 12px; font-size: clamp(36px, 5.2vw, 56px); }
.legal__intro { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.legal h2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 22px; letter-spacing: -0.01em; }
.legal h3 { margin-top: 24px; font-size: 17px; letter-spacing: 0; }
.legal p, .legal li { font-size: 16px; color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul, .legal ol { margin-top: 12px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: var(--stone); }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; }
.legal__box { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--surface); }
.legal__box p:first-child { margin-top: 0; }

/* ---------- Responsive (van breed naar smal) ---------- */
@media (max-width: 1100px) {
  .nav__links, .rail { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .contact { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .contact__side { order: -1; }
  .map { aspect-ratio: 16 / 9; }
  .cases, .bts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "media" "content"; min-height: 0; gap: 28px; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 56px; }
  .hero__media { aspect-ratio: 16 / 10; max-height: none; }
  .hero__for { white-space: normal; }
  .hero__cta--center { justify-content: flex-start; }
  .herken { grid-template-columns: 1fr; grid-template-areas: "title" "lines" "text"; row-gap: 28px; }
  .cases, .about, .assure, .terms { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; }
  .head--center { text-align: left; margin-left: 0; }
  .note { text-align: left; }
  .band--center .next { margin-left: 0; }
  /* Tabel wordt een lijst met labels */
  .market__row { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
  .market__row--head { display: none; }
  .market__row [data-label]::before { content: attr(data-label) ": "; color: var(--ink-2); font-weight: 400; }
  /* Geen kaart op telefoon: het adres staat er al */
  .map, .map__credit { display: none; }
}

@media (max-width: 700px) {
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .bts { gap: 12px; }
  .hero__cta .btn { width: 100%; }
  .footer { padding-bottom: 96px; }
  .fab { right: 16px; bottom: 16px; }
  .about__media { aspect-ratio: 4 / 3; }

  /* Prijskaarten naast elkaar om doorheen te vegen */
  .plans {
    display: flex; gap: 12px; max-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 84%; scroll-snap-align: start; }

  /* Zekerheden als compacte lijst */
  .assure { gap: 0; }
  .assure__item { background: none; padding: 14px 0; border-radius: 0; border-top: 1px solid var(--line); gap: 12px; }
  .assure__item h3 { font-size: 17px; }
  .assure__item p { margin-top: 4px; }

  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal td { border: 0; padding: 2px 0; }
  .legal td:first-child { color: var(--ink); font-weight: 600; }
}

@media (max-width: 400px) {
  .hero__for { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .media-reveal, .rise, .herken .turn { opacity: 1; transform: none; }
  .lines li span { background-size: 100% 0.09em; }
}
