/* =========================================================
   Marlous paarden sportmassage — v0.6

   Opbouw
   1. Fonts           6. Pagina-intro's       11. Werkwijze-tijdlijn
   2. Tokens          7. Home-secties         12. Over Marlous
   3. Basis           8. Galerij              13. Contact
   4. Componenten     9. Inhoudsblokken       14. Ontwikkelmarkeringen
   5. Header/footer  10. FAQ                  15. Beweging + reduced motion
   ========================================================= */

/* ---------- 1. Fonts (self-hosted) ---------- */
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Kleur — v0.6: lichte groentinten, afgestemd op het logo (#093513) en de fotografie */
  --ivory: #e6eedf;        /* basis: licht saliegroen */
  --ivory-2: #d5e4cb;      /* zacht pastelgroen (afwisselende secties) */
  --mist: #edf1eb;         /* subtiel grijsgroen (rustige secties) */
  --paper: #f7faf4;        /* kaarten en formulieren: bijna wit met groene zweem */
  --forest: #1f4129;       /* diep bosgroen, afgeleid van het logo */
  --forest-deep: #133220;
  --ink: #17281d;          /* lopende tekst */
  --ink-soft: #43554a;     /* secundaire tekst */
  --sage: #8ea888;         /* saliegroen: lijnen, details */
  --sage-light: #c4d6bc;   /* tekst op donker */
  --line: #557f5c;         /* hoofdlijnen en naden (groen in plaats van koper) */
  --line-glint: #b9dcae;   /* lichtspoor over lijnen */
  --copper: #ae8769;       /* warm accent, spaarzaam */
  --copper-ink: #7a5536;   /* koper, tekstveilig op licht groen */
  --copper-light: #d1ad8f; /* koper op donker en hovervulling */
  --rule: #c3d3bb;
  --rule-dark: color-mix(in srgb, var(--ivory) 16%, transparent);

  /* Type */
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0938rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.14rem + 0.5vw, 1.5rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-display: clamp(2.6rem, 1.3rem + 5.2vw, 6rem);

  /* Ruimte */
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
  --section: clamp(4.5rem, 3rem + 6.5vw, 9.5rem);
  --max: 80rem;
  --measure: 36rem;

  --radius: 0.25rem;
  --radius-arc: clamp(5rem, 14vw, 14rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 4.25rem;
}

/* ---------- 3. Basis ---------- */
@view-transition { navigation: auto; }

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--copper-ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--copper-light); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--radius);
  background: var(--forest); color: var(--ivory); font-size: var(--fs-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- 4. Componenten ---------- */

/* Knoppen: vulling schuift van links in */
.btn {
  --bg: var(--forest); --fg: var(--ivory); --fill: var(--copper-light); --fill-fg: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.55rem;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) {
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover { color: var(--fill-fg); border-color: var(--fill); }
}
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: color-mix(in srgb, var(--ivory) 85%, transparent); --fg: var(--ink); border-color: color-mix(in srgb, var(--ink) 55%, transparent); }
.btn--light { --bg: var(--ivory); --fg: var(--forest); --fill: var(--copper-light); --fill-fg: var(--forest-deep); }

/* Tekstlink met groeiende onderstreping */
.link {
  display: inline; padding-block: 0.4rem;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 0.3rem) / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s var(--ease);
}
.link::after {
  content: ""; display: inline-block; vertical-align: -0.1em; margin-left: 0.5rem;
  width: 0.9em; height: 0.9em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.45s var(--ease-out);
}
@media (hover: hover) {
  .link:hover { background-size: 35% 1px; color: var(--copper-ink); }
  .link:hover::after { transform: translateX(0.25rem); }
}
.link--light { color: var(--ivory); }
@media (hover: hover) { .link--light:hover { color: var(--copper-light); } }

/* Responsive beelden */
.pic { display: block; position: relative; overflow: hidden; background: var(--bg, var(--ivory-2)); }
.pic img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos-m, var(--pos, 50% 50%));
}
@media (min-width: 48em) { .pic img { object-position: var(--pos, 50% 50%); } }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.frame > .pic { position: absolute; inset: 0; }
.frame > .pic[data-parallax] { inset: -7% 0; }
.frame--4x5 { aspect-ratio: 4 / 5; }
.frame--3x2 { aspect-ratio: 3 / 2; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--arc { border-top-left-radius: var(--radius-arc); }
.frame--arc-r { border-top-right-radius: var(--radius-arc); }
.split--top { align-items: start; }
@media (min-width: 48em) { .frame--wide { aspect-ratio: 21 / 9; } }
.caption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--ink-soft); }

/* Decoratieve lijnen (spier-/bewegingsmotief) */
.ln { fill: none; stroke-linecap: round; }
.ln--copper { stroke: var(--copper); stroke-width: 2.2; }
.ln--sage { stroke: var(--sage); stroke-width: 1.3; opacity: 0.7; }
.ln--sage-2 { stroke: var(--sage); stroke-width: 1.3; opacity: 0.4; }
.ln--sage-3 { stroke: var(--sage); stroke-width: 1.3; opacity: 0.22; }

/* Sectiekoppen */
.section { padding-block: var(--section); }
.section--tint { background: var(--ivory-2); }
.section--paper { background: var(--paper); }
.section-head { max-width: 44rem; }
.section-head > .lead { margin-top: 1.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.kicker { font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); color: var(--copper-ink); margin-bottom: 0.75rem; }

/* Dierenarts-notitie */
.vet {
  display: grid; gap: 0.75rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border-left: 2px solid var(--copper);
  background: var(--paper);
  max-width: 48rem;
}
.vet h2, .vet h3 { font-size: var(--fs-h3); }
.vet p { color: var(--ink-soft); }
.vet ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.vet li {
  padding: 0.3rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--ivory);
  font-size: var(--fs-sm);
}

/* Lijst met kopermarkering */
.marked { display: grid; gap: 0.6rem; }
.marked li { position: relative; padding-left: 1.5rem; }
.marked li::before {
  content: ""; position: absolute; left: 0; top: 0.8em;
  width: 0.75rem; height: 1px; background: var(--copper);
}

/* Feiten (duur, tarief, ...) */
.facts { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.facts > div { display: grid; gap: 0.25rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--fs-sm); color: var(--ink-soft); }
.facts dd { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.35; }
@media (min-width: 40em) {
  .facts > div { grid-template-columns: 10rem 1fr; gap: 1.5rem; align-items: baseline; }
}

/* ---------- 5. Header & footer ---------- */
.devbar {
  position: relative; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1rem;
  padding: 0.4rem var(--gutter);
  background: var(--copper-light); color: var(--forest-deep);
  font-size: 0.8125rem; line-height: 1.4;
}
.devbar__more { display: none; }
.devbar__toggle {
  flex-shrink: 0; min-height: 2.75rem; padding: 0.35rem 0.95rem;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; font: inherit; cursor: pointer;
}
@media (hover: hover) { .devbar__toggle:hover { background: var(--forest-deep); color: var(--copper-light); } }
@media (min-width: 48em) { .devbar__more { display: inline; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 1px 0 var(--rule);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; padding-block: 0.4rem; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -0.015em; }
.brand__role { margin-top: 0.3rem; font-size: 0.75rem; letter-spacing: 0.01em; color: var(--ink-soft); }

.nav { display: none; }
.nav__list a {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem;
  font-size: 0.9375rem; text-decoration: none; color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
@media (hover: hover) {
  .nav__list a:hover { color: var(--ink); }
  .nav__list a:hover::after { transform: scaleX(1); transform-origin: left center; }
}
.nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }
/* Laatste item (Contact) als knop */
.nav__list li:last-child a {
  margin-left: 0.5rem; padding-inline: 1.3rem; border-radius: 999px;
  background: var(--forest); color: var(--ivory);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav__list li:last-child a::after { display: none; }
@media (hover: hover) { .nav__list li:last-child a:hover { background: var(--copper-light); color: var(--forest-deep); } }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.7rem;
  min-height: 2.75rem; min-width: 2.75rem; padding: 0.4rem 0.1rem 0.4rem 0.8rem;
  border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 0.9375rem; cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 1.6rem; height: 0.8rem; }
.menu-toggle__icon span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: calc(100% - 1.5px); width: 70%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span { top: calc(50% - 0.75px); width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { transform: rotate(18deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { transform: rotate(-18deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--ivory);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__list li {
  border-top: 1px solid var(--rule);
  opacity: 0; transform: translateY(0.8rem);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.mobile-menu__list li:last-child { border-bottom: 1px solid var(--rule); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0; font-family: var(--serif);
  font-size: clamp(1.7rem, 1.2rem + 3vw, 2.4rem); line-height: 1.15; text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { color: var(--copper-ink); }
.mobile-menu__contact { display: grid; gap: 0.25rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.mobile-menu__contact a { padding-block: 0.5rem; }

.site-footer { padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); background: var(--forest-deep); color: var(--ivory); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand { display: inline-flex; padding-block: 0.4rem; }
.brand--footer .brand__role { color: var(--sage-light); }
.site-footer__text { margin-top: 1rem; max-width: 24rem; }
.site-footer__muted { color: var(--sage-light); }
.site-footer__head { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--sage-light); margin-bottom: 0.75rem; }
.site-footer ul { display: grid; }
.site-footer a { display: inline-block; padding-block: 0.55rem; text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: var(--copper-light); text-decoration: underline; } }
.site-footer__contact > p { margin-top: 0.5rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule-dark); color: var(--sage-light);
}

/* ---------- 6. Pagina-intro's ---------- */

/* Home-hero: tekst links, beeld tot de rechterrand */
.hero { position: relative; overflow: hidden; padding-top: clamp(1.5rem, 1rem + 3vw, 3rem); }
.hero__grid { display: grid; gap: 2.25rem; }
.hero__text { position: relative; z-index: 2; padding-inline: var(--gutter); }
.hero__title { font-size: var(--fs-display); font-weight: 420; line-height: 1; letter-spacing: -0.028em; hyphens: manual; }
/* Verticaal afsnijden voor de entree, horizontaal nooit (afbreekstreepje blijft zichtbaar) */
.hero__line { display: block; clip-path: inset(-0.1em -100vw -0.12em -100vw); padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__line > span { display: inline-block; }
.hero__line--soft { color: var(--ink-soft); font-style: italic; font-weight: 400; }
.hero__lead { margin-top: 1.5rem; max-width: 30rem; font-size: var(--fs-lead); line-height: 1.5; }
.hero__for { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-soft); max-width: 30rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__actions .btn { flex: 1 1 14rem; }
.hero__media { position: relative; z-index: 1; }
.hero__frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3.4;
  margin-left: var(--gutter);
  border-top-left-radius: var(--radius-arc);
}
.hero__frame .pic { position: absolute; inset: -6% 0 -6% 0; }
.hero__lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(7rem, 15vw, 13rem); pointer-events: none; z-index: 0; }

@media (min-width: 30em) { .hero__actions .btn { flex: 0 0 auto; } }

@media (min-width: 62em) {
  .hero { padding-top: 0; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: center; gap: 0;
    min-height: min(54rem, calc(100svh - var(--header-h) - 2.75rem));
  }
  .hero__title { font-size: clamp(3.4rem, 0.9rem + 4.1vw, 4.9rem); }
  .hero__text {
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: clamp(2rem, 4vw, 5rem);
    padding-block: 4rem 6rem;
  }
  .hero__media { align-self: stretch; }
  .hero__frame { position: absolute; inset: 0 0 0 0; aspect-ratio: auto; margin-left: 0; }
}

/* Generieke pagina-intro */
.page-intro { position: relative; padding-top: clamp(2.5rem, 1.5rem + 5vw, 6.5rem); }
.page-intro > .wrap { position: relative; z-index: 1; }
.page-lines { display: block; width: 100vw; max-width: none; margin: clamp(1.25rem, 1rem + 1.5vw, 2.25rem) 0 0 calc(50% - 50vw); height: clamp(2.5rem, 1.5rem + 4vw, 5rem); pointer-events: none; }
.page-lines + .page-intro__media { margin-top: clamp(0.5rem, 0.25rem + 1vw, 1.25rem); }
.page-lines + .facts--intro { margin-top: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }
.js .page-lines .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-loaded .page-lines .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) 0.2s; }
.js .is-loaded .page-lines .ln--sage { transition-delay: 0.45s; }
.page-intro__head { display: grid; gap: 1.5rem; }
.page-intro__title { font-size: var(--fs-h1); max-width: 18ch; }
.page-intro__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 36rem; }
.page-intro__media { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 62em) {
  .page-intro__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 4rem; }
}

/* ---------- 7. Home-secties ---------- */

/* Introductie: tekst + beeld */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 6rem); align-items: center; }
.split__text > * + * { margin-top: 1.25rem; }
.split__text .link { display: inline-block; margin-top: 1.75rem; }
.split__text p + .link { margin-top: 1.75rem; }
@media (min-width: 52em) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-img { grid-template-columns: 1fr 1.15fr; }
  .split--img-left .split__media { order: -1; }
}

/* Drie fasen, verbonden door één lijn */
.phases { position: relative; margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
.phases__list { display: grid; gap: 2.5rem; }
.phase { position: relative; padding-left: 4rem; }
.phase__num {
  position: absolute; left: 0; top: -0.3rem;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--copper); border-radius: 50%;
  background: var(--ivory);
  font-family: var(--serif); font-size: 1.15rem; color: var(--copper-ink);
}
.phase h3 { margin-bottom: 0.6rem; }
.phase p { color: var(--ink-soft); max-width: 24rem; }
.phases__line {
  position: absolute; left: 1.375rem; top: 1.5rem; bottom: 1.5rem; width: 1px;
  background: var(--copper); transform-origin: top center;
}
.phases__more { margin-top: 3rem; }
@media (min-width: 52em) {
  .phases__list { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .phase { padding-left: 0; padding-top: 4.5rem; }
  .phase__num { top: 0; }
  .phases__line { left: 1.375rem; right: 1.375rem; top: 1.375rem; bottom: auto; width: auto; height: 1px; transform-origin: left center; }
}

/* Voor welke paarden */
.for-list { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); display: grid; border-top: 1px solid var(--rule); }
.for-item { display: grid; gap: 0.5rem; min-width: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.for-item__name { hyphens: auto; overflow-wrap: break-word; font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.for-item p { color: var(--ink-soft); max-width: 26rem; }
.for-note { margin-top: 2rem; max-width: 38rem; font-family: var(--serif); font-style: italic; font-size: var(--fs-lead); color: var(--ink-soft); }
@media (min-width: 52em) {
  .for-list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  .for-item { padding: 2.25rem 2rem 2.5rem; border-bottom: 0; border-left: 1px solid var(--rule); }
  .for-item:first-child { border-left: 0; padding-left: 0; }
}

/* Over-preview */
.about-preview .frame { border-top-right-radius: var(--radius-arc); }

/* Werkgebied */
.area__lead { margin-top: 1.25rem; }
.area__note { margin-top: 1rem; color: var(--ink-soft); }
.facts--compact dd { font-size: var(--fs-lead); }
.facts--intro { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); }
.mt-section { margin-top: var(--section); }
.area { display: grid; gap: 2rem; }
.area__list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.area__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: var(--fs-h3); }
.area__list li span { font-family: var(--sans); font-size: var(--fs-sm); color: var(--ink-soft); }
.area__list li.is-main { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem); }
@media (min-width: 52em) { .area { grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; } }

/* Afsluitende CTA */
.cta { position: relative; overflow: hidden; background: var(--forest); color: var(--ivory); padding-block: clamp(5rem, 3.5rem + 6vw, 9rem); }
.cta__lines { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; opacity: 0.55; pointer-events: none; }
.cta__inner { position: relative; }
.cta__title { max-width: 18em; font-size: var(--fs-h2); }
.cta__text { margin-top: 1.25rem; max-width: 34rem; color: var(--sage-light); font-size: var(--fs-lead); line-height: 1.55; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.cta__meta { margin-top: 2rem; font-size: var(--fs-sm); color: var(--sage-light); }

/* ---------- 8. Galerij ---------- */
.gallery__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.gallery__controls { display: flex; align-items: center; gap: 0.75rem; }
.gallery__progress { position: relative; height: 1px; margin-top: 1.5rem; background: var(--rule); overflow: hidden; }
.gallery__progress span { position: absolute; left: 0; top: -0.5px; height: 2px; width: var(--w, 30%); background: var(--copper); transform: translateX(var(--x, 0%)); transition: transform 0.25s linear; }
.icon-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), opacity 0.3s var(--ease), border-color 0.35s var(--ease);
}
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) { .icon-btn:hover:not(:disabled) { background: var(--forest); border-color: var(--forest); color: var(--ivory); } }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.gallery__track {
  margin-top: 2rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%;
  gap: 1rem;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track:focus-visible { outline-offset: -2px; }
.gallery__slide { scroll-snap-align: start; }
.gallery__slide .frame { aspect-ratio: 4 / 5; }
.gallery__slide .pic img { transition: transform 1.2s var(--ease-out); }
@media (hover: hover) { .gallery__slide:hover .pic img { transform: scale(1.03); } }
@media (min-width: 40em) { .gallery__track { grid-auto-columns: 46%; gap: 1.25rem; } }
@media (min-width: 62em) {
  .gallery__track {
    grid-auto-columns: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 1.25rem) / 2.35);
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
}

/* ---------- 9. Inhoudsblokken ---------- */
.compare { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); display: grid; gap: 2rem; }
.compare__col { display: grid; gap: 0.75rem; align-content: start; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.compare__col--accent { border-top: 2px solid var(--copper); }
@media (min-width: 52em) {
  .compare { gap: 0; align-items: stretch; }
  .compare__col { padding: 2.25rem 2.5rem 2.5rem 0; }
  .compare__col--accent {
    padding: 2.5rem; border: 0; border-radius: var(--radius-m); border-top-right-radius: var(--radius-arc);
    background: var(--forest); color: var(--ivory);
  }
  .compare .compare__col--accent p { color: var(--sage-light); }
  .compare__col--accent h3 { color: var(--ivory); }
}
.compare__col p { color: var(--ink-soft); }
@media (min-width: 52em) { .compare { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.focus-grid { margin-top: 2.5rem; display: grid; gap: 0 3rem; }
.focus-grid li { padding: 1.1rem 0 1.1rem 1.5rem; border-top: 1px solid var(--rule); position: relative; font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
.focus-grid li::before { content: ""; position: absolute; left: 0; top: 1.9rem; width: 0.75rem; height: 1px; background: var(--copper); }
@media (min-width: 40em) { .focus-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62em) { .focus-grid { grid-template-columns: repeat(3, 1fr); } }

.signals { margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); display: grid; gap: 2.5rem; }
.signals__group h3 { margin-bottom: 1.1rem; }
@media (min-width: 52em) { .signals { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.signals__note { margin-top: 2.5rem; max-width: 44rem; color: var(--ink-soft); }

.statement {
  max-width: 22em; margin-inline: auto; text-align: center;
  font-family: var(--serif); font-size: clamp(1.7rem, 1.25rem + 2vw, 2.9rem); line-height: 1.25; letter-spacing: -0.015em;
}

/* ---------- 10. FAQ ---------- */
.faq { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 52rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.5rem; padding: 1.15rem 0;
  font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem;
  border: 1px solid var(--rule); border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 0.7rem 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 0.7rem no-repeat;
  transition: transform 0.45s var(--ease-out), background-size 0.45s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(180deg); background-size: 0.7rem 1px, 1px 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq__answer { padding-bottom: 1.5rem; max-width: 42rem; color: var(--ink-soft); }
.faq__answer > * + * { margin-top: 0.75rem; }

/* ---------- 11. Werkwijze-tijdlijn ---------- */
.timeline { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); display: grid; gap: 3rem; }
.timeline__media { display: none; }
.steps { position: relative; padding-left: 3.75rem; }
.steps__track, .steps__fill { position: absolute; left: 1.25rem; top: 0.5rem; bottom: 0.5rem; width: 1px; }
.steps__track { background: var(--rule); }
.steps__fill { background: var(--copper); transform-origin: top center; transform: scaleY(var(--progress, 0)); }
.step { position: relative; padding-bottom: clamp(2.75rem, 2rem + 3vw, 5rem); }
.step:last-child { padding-bottom: 0; }
.step__media { margin-top: 1.25rem; max-width: 34rem; border-radius: var(--radius); }
.step__media:nth-of-type(odd) { border-top-right-radius: clamp(3rem, 14vw, 6rem); }
.step__num {
  position: absolute; left: -3.75rem; top: -0.1rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--rule); border-radius: 50%; background: var(--ivory);
  font-family: var(--serif); font-size: 1.05rem; color: var(--ink-soft);
  transition: border-color 0.5s var(--ease), color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.step.is-active .step__num, .step.is-past .step__num { border-color: var(--copper); color: var(--copper-ink); }
.step.is-active .step__num { background: var(--copper); color: var(--forest-deep); }
.step__title { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.15rem); }
.step__text { margin-top: 0.9rem; max-width: 34rem; }
.step__list { margin-top: 1.1rem; color: var(--ink-soft); }
.step__note { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ink-soft); max-width: 34rem; padding-left: 0.9rem; border-left: 1px solid var(--copper); }
.step__surfaces { margin-top: 1.25rem; display: grid; gap: 0.75rem; max-width: 34rem; }
.step__surfaces div { padding: 1rem 1.1rem; background: var(--paper); border-radius: var(--radius); }
.step__surfaces dt { font-weight: 600; font-size: var(--fs-sm); }
.step__surfaces dd { color: var(--ink-soft); }
@media (min-width: 40em) { .step__surfaces { grid-template-columns: 1fr 1fr; } }

@media (min-width: 62em) {
  .timeline { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .timeline__media { display: block; position: sticky; top: calc(var(--header-h) + 2rem); }
  .timeline__stack { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); border-top-left-radius: var(--radius-arc); background: var(--ivory-2); }
  .timeline__stack .pic { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease-out); }
  .timeline__stack .pic.is-active { opacity: 1; transform: none; }
  .timeline__caption { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); color: var(--ink-soft); }
  .timeline__caption [data-step-label] { color: var(--ink); }
  .steps { padding-left: 5rem; }
  .step__media { display: none; }
  .steps__track, .steps__fill { left: 1.5rem; }
  .step__num { left: -5rem; width: 3rem; height: 3rem; font-size: 1.2rem; }
  .step { padding-bottom: 6.5rem; min-height: 32vh; }
}

/* ---------- 12. Over Marlous ---------- */
.story { position: relative; }
.chapter { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); align-items: start; }
.chapter + .chapter { margin-top: var(--section); }
.chapter__title { font-size: var(--fs-h2); }
.chapter__text > * + * { margin-top: 1.1em; }
.chapter__text .prose { margin-top: 1.5rem; }
@media (min-width: 52em) {
  .chapter { grid-template-columns: 1fr 1fr; }
  .chapter--flip .chapter__media { order: 2; }
  .chapter__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.edu { margin-top: 2rem; display: grid; border-top: 1px solid var(--rule); }
.edu__item { display: grid; gap: 0.3rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.edu__year { font-family: var(--serif); font-size: var(--fs-lead); color: var(--copper-ink); }
.edu__name { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
.edu__meta { font-size: var(--fs-sm); color: var(--ink-soft); }
.edu__modules { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.edu__modules li { padding: 0.3rem 0.8rem; border: 1px solid var(--rule); border-radius: 999px; font-size: var(--fs-sm); }
@media (min-width: 40em) { .edu__item { grid-template-columns: 6.5rem 1fr; gap: 1.5rem; } }

.values { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.values li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.values strong { display: block; font-family: var(--serif); font-weight: 500; font-size: var(--fs-h3); line-height: 1.3; }
.values span { display: block; margin-top: 0.3rem; color: var(--ink-soft); }

/* ---------- 13. Contact ---------- */
.contact-ways { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 2.5rem; }
.contact-way {
  display: grid; gap: 0.35rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; position: relative;
}
.contact-way__label { font-size: var(--fs-sm); color: var(--ink-soft); }
.contact-way__value {
  font-family: var(--serif); font-size: clamp(1.25rem, 0.95rem + 1.4vw, 2.1rem); line-height: 1.25;
  overflow-wrap: break-word;
  background: linear-gradient(var(--copper), var(--copper)) left bottom / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease-out), color 0.3s var(--ease);
  justify-self: start;
}
.contact-way__hint { font-size: var(--fs-sm); color: var(--ink-soft); }
@media (hover: hover) { .contact-way:hover .contact-way__value { background-size: 100% 1px; color: var(--copper-ink); } }

.how { margin-top: 2rem; display: grid; gap: 1.5rem; counter-reset: how; }
.how li { position: relative; padding-left: 3.25rem; counter-increment: how; }
.how li::before {
  content: counter(how); position: absolute; left: 0; top: -0.15rem;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--copper); border-radius: 50%;
  font-family: var(--serif); color: var(--copper-ink);
}
.how strong { display: block; font-weight: 500; }
.how span { color: var(--ink-soft); }

/* ---------- 14. Ontwikkelmarkeringen (alleen in dev-build) ---------- */
[data-dev] .ph { position: relative; outline: 1px dashed color-mix(in srgb, var(--copper-ink) 75%, transparent); outline-offset: 5px; border-radius: 2px; }
[data-dev] .ph::after {
  content: attr(data-ph);
  position: absolute; top: -0.75rem; right: 0.25rem; z-index: 3;
  padding: 0.1rem 0.5rem; border-radius: 999px;
  background: var(--copper-light); color: var(--forest-deep);
  font-family: var(--sans); font-size: 0.6875rem; font-style: normal; font-weight: 500; line-height: 1.4;
  white-space: nowrap; pointer-events: none;
}
[data-dev] .site-footer .ph, [data-dev] .on-dark .ph { outline-color: color-mix(in srgb, var(--copper-light) 70%, transparent); }
.devnote { padding: 0.8rem 1rem; border: 1px dashed var(--copper-ink); border-radius: var(--radius); font-size: var(--fs-sm); color: var(--copper-ink); max-width: 44rem; }
.devnote--dark { border-color: var(--copper-light); color: var(--copper-light); }
html.hide-ph .ph { outline-color: transparent !important; }
html.hide-ph .ph::after, html.hide-ph .devnote { display: none !important; }

/* =========================================================
   15. Beweging
   Alles wat verborgen start, staat onder .js zodat de inhoud
   zonder JavaScript zichtbaar blijft.
   ========================================================= */

/* Hero-entree: beeld, titel, tekst, knoppen, lijn */
.js .hero__frame { clip-path: inset(0 0 100% 0 round var(--radius-arc) 0 0 0); }
.js .hero__frame .pic img { transform: scale(1.08); }
.js .hero__line > span { transform: translateY(120%); }
.js .hero__lead, .js .hero__for, .js .hero__actions { opacity: 0; transform: translateY(1rem); }
.js .hero .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }

.js .is-loaded .hero__frame { clip-path: inset(0 0 0 0 round var(--radius-arc) 0 0 0); transition: clip-path 1.5s var(--ease-out); }
.js .is-loaded .hero__frame .pic img { transform: none; transition: transform 2.2s var(--ease-out); }
.js .is-loaded .hero__line > span { transform: none; transition: transform 1.15s var(--ease-out) 0.15s; }
.js .is-loaded .hero__line + .hero__line > span { transition-delay: 0.27s; }
.js .is-loaded .hero__lead, .js .is-loaded .hero__for, .js .is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); }
.js .is-loaded .hero__lead { transition-delay: 0.45s; }
.js .is-loaded .hero__for { transition-delay: 0.55s; }
.js .is-loaded .hero__actions { transition-delay: 0.65s; }
.js .is-loaded .hero .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease) 0.5s; }
.js .is-loaded .hero .ln--sage { transition-delay: 0.7s; }
.js .is-loaded .hero .ln--sage-2 { transition-delay: 0.9s; }
.js .is-loaded .hero .ln--sage-3 { transition-delay: 1.1s; }

/* Tekst-reveal (rustig, alleen op kernblokken) */
.js [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Beeld-reveal: gordijn van onder naar boven + lichte schaalbeweging */
.js [data-reveal-img] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out); }
.js [data-reveal-img] img { transform: scale(1.1); transition: transform 1.8s var(--ease-out); }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal-img].is-in img { transform: none; }

/* Lijnen die zich tekenen bij in beeld komen */
.js [data-draw] .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.js [data-draw].is-in .ln { stroke-dashoffset: 0; }
.js [data-draw] .phases__line { transform: scaleY(0); transition: transform 1.6s var(--ease-out) 0.2s; }
@media (min-width: 52em) { .js [data-draw] .phases__line { transform: scaleX(0); } }
.js [data-draw].is-in .phases__line { transform: none; }

/* Parallax-element (positie wordt via JS gezet) */
[data-parallax] { will-change: transform; }

/* Paginaovergang (alleen browsers met cross-document View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: var(--ease); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .hero__frame, .js [data-reveal-img] { clip-path: none !important; }
  .js .hero__frame .pic img, .js [data-reveal-img] img, .js .hero__line > span { transform: none !important; }
  .js .hero__lead, .js .hero__for, .js .hero__actions, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .ln, .js .seam .ln { stroke-dashoffset: 0 !important; animation: none !important; }
  .js [data-draw] .phases__line { transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Brede schermen ---------- */
@media (min-width: 62em) { :root { --header-h: 5rem; } .nav { display: block; } .nav__list { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0 1.75rem; } .menu-toggle, .mobile-menu { display: none !important; } }
@media (min-width: 52em) { .site-footer__grid { grid-template-columns: 2fr 1fr 1.3fr; } }
@media (min-width: 100em) { :root { --max: 88rem; } }

/* =========================================================
   v0.3 — verfijning, openingsanimatie, naden, formulier
   ========================================================= */
:root {
  --error: #9a3b28;
  --field-border: #8a9a8e;
  --field-bg: #fdfefb;
  --radius-m: 0.5rem;
}

/* ---------- Typografie: verfijning ---------- */
body { font-feature-settings: "cv11" 1, "kern" 1; }
h2 { font-weight: 430; letter-spacing: -0.02em; }
.lead, .page-intro__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.04rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.hero__lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.375rem); line-height: 1.5; color: var(--ink); }
.step__num, .phase__num, .edu__year { font-variant-numeric: lining-nums; }

/* ---------- Header verdwijnt bij naar beneden scrollen ---------- */
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }

/* ---------- In het kort ---------- */
.glance { padding-block: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-bottom: 1px solid var(--rule); }
.glance__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
.glance__item { min-width: 0; }
.glance__item dt { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--copper-ink); }
.glance__item dd { margin-top: 0.3rem; font-size: 0.9375rem; line-height: 1.45; font-weight: 500; hyphens: manual; }
@media (min-width: 62em) {
  .glance__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .glance__item { padding: 0 2rem; border-left: 1px solid var(--rule); }
  .glance__item:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Naden: de lijn tussen secties ---------- */
.seam { --fill: var(--ivory); position: relative; z-index: 0; height: 0; pointer-events: none; }
.seam:has(+ .section--tint) { --fill: var(--ivory-2); }
.seam:has(+ .section--paper) { --fill: var(--paper); }
.seam:has(+ .cta) { --fill: var(--forest); }
.seam svg { position: absolute; left: 0; top: -100px; width: 100%; height: 160px; overflow: visible; }
.seam__fill { fill: var(--fill); stroke: none; }
.seam .ln--copper { stroke-width: 1.4; }
.seam .ln--sage, .seam .ln--sage-2 { stroke-width: 1; }
@media (max-width: 39.99em) {
  .seam svg { top: -62px; height: 100px; }
  .seam__fibre { display: none; }
}
@keyframes seam-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes seam-drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .seam .ln {
      transition: none;
      animation: seam-draw linear both;
      animation-timeline: view();
      animation-range: entry 15% cover 55%;
    }
    .js .seam .seam__fibre {
      animation: seam-draw linear both, seam-drift linear both;
      animation-timeline: view(), view();
      animation-range: entry 25% cover 65%, cover 0% cover 100%;
    }
  }
}

/* ---------- Footer: signatuurlijn ---------- */
.site-footer { position: relative; overflow: hidden; }
.site-footer > .wrap { position: relative; z-index: 1; }
.site-footer__horse {
  position: absolute; right: max(1rem, calc((100vw - var(--max)) / 2)); bottom: 4.5rem; z-index: 0;
  width: min(70vw, 360px); height: auto; opacity: 0.16; pointer-events: none;
}
.site-footer__horse path { fill: none; stroke: var(--copper-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.js [data-draw] .h-a, .js [data-draw] .h-b, .js [data-draw] .h-e { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 3s var(--ease); }
.js [data-draw] .h-b { transition-delay: 0.9s; transition-duration: 1.6s; }
.js [data-draw] .h-e { transition-delay: 2.2s; transition-duration: 0.6s; }
.js [data-draw].is-in .h-a, .js [data-draw].is-in .h-b, .js [data-draw].is-in .h-e { stroke-dashoffset: 0; }
.site-footer__area p + p { margin-top: 0.35rem; }
@media (min-width: 52em) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
  .site-footer__horse { opacity: 0.22; width: 400px; bottom: 5rem; }
}

/* ---------- Werkwijze: voortgang en beeldwissel ---------- */
.timeline__stack .pic { transition: opacity 0.3s linear 1s, transform 1.6s var(--ease-out); }
.timeline__stack .pic.is-active { transition: opacity 0.01s linear 0s, transform 1.6s var(--ease-out); }
.timeline__stack .pic.is-active { z-index: 2; animation: wipe-in 1.05s var(--ease-out); }
@keyframes wipe-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.timeline__dots { display: flex; gap: 0.4rem; margin-top: 0.75rem; }
.timeline__dot {
  position: relative; flex: 1; height: 2.75rem; padding: 0;
  border: 0; background: none; cursor: pointer; color: var(--ink-soft);
}
.timeline__dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0.9rem; height: 2px; border-radius: 2px;
  background: var(--rule); transition: background-color 0.45s var(--ease), transform 0.45s var(--ease-out);
  transform-origin: left center;
}
.timeline__dot span { position: absolute; left: 0; top: 1.35rem; font-size: 0.75rem; font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease); }
.timeline__dot.is-past::before { background: color-mix(in srgb, var(--copper) 55%, var(--rule)); }
.timeline__dot.is-active::before { background: var(--copper); }
.timeline__dot.is-active span { color: var(--ink); font-weight: 600; }
@media (hover: hover) { .timeline__dot:hover::before { background: var(--copper-light); } }
.step__title:focus { outline: none; }
.step__title:focus-visible { outline: 2px solid var(--copper-ink); outline-offset: 4px; }

/* ---------- Contact ---------- */
.contact-intro { padding-bottom: 0; }
.contact-main { padding-top: clamp(2rem, 1.5rem + 3vw, 4rem); }
.contact-grid { display: grid; gap: 3.5rem; align-items: start; }
@media (min-width: 62em) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(3rem, 6vw, 6rem); } }

.form {
  position: relative;
  padding: clamp(1.25rem, 0.9rem + 2.4vw, 2.75rem);
  border: 1px solid var(--rule); border-radius: var(--radius-m);
  background: var(--paper);
}
.form__title { font-size: var(--fs-h3); }
.form__demo {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: 1.25rem; padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--copper) 45%, transparent); border-radius: 0.375rem;
  background: color-mix(in srgb, var(--copper-light) 20%, var(--paper));
  font-size: 0.875rem; line-height: 1.55;
}
.form__demo svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; color: var(--copper-ink); }
.form__summary {
  margin-top: 1.25rem; padding: 1rem 1.1rem;
  border-left: 3px solid var(--error); background: color-mix(in srgb, var(--error) 7%, var(--paper));
  font-size: 0.9rem;
}
.form__summary:focus { outline: none; }
.form__summary:focus-visible { outline: 2px solid var(--error); outline-offset: 2px; }
.form__summary ul { margin-top: 0.5rem; display: grid; gap: 0.2rem; }
.form__summary a { color: var(--error); font-weight: 500; }
.form__grid { display: grid; gap: 1.35rem 1.25rem; margin-top: 1.75rem; }
@media (min-width: 40em) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.45rem; min-width: 0; margin: 0; padding: 0; border: 0; align-content: start; }
.field label, .field legend { padding: 0; font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field legend { margin-bottom: 0.45rem; }
.field__req, .field__opt { margin-left: 0.35rem; font-size: 0.8rem; font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; min-height: 3.1rem; padding: 0.8rem 1rem;
  border: 1px solid var(--field-border); border-radius: 0.375rem;
  background: var(--field-bg); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
@media (hover: hover) { .field input:hover, .field textarea:hover { border-color: var(--ink-soft); } }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--copper-ink); background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 32%, transparent);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 22%, transparent); }
.field__hint { font-size: 0.8125rem; color: var(--ink-soft); }
.field__error { display: flex; gap: 0.45rem; align-items: flex-start; font-size: 0.85rem; font-weight: 500; color: var(--error); }
.field__error::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 1.05rem; height: 1.05rem; margin-top: 0.12rem;
  border-radius: 50%; background: var(--error); color: #fff; font-size: 0.7rem; font-weight: 700;
}
.field__error[hidden] { display: none; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.chips__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.15rem;
  border: 1px solid var(--field-border); border-radius: 999px; background: var(--field-bg);
  font-size: 0.9rem; cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media (hover: hover) { .chip input:hover + span { border-color: var(--ink); } }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.chip input:focus-visible + span { outline: 2px solid var(--copper-ink); outline-offset: 2px; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form__submit { min-width: 12rem; }
.form__submit[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.form__privacy { max-width: 24rem; font-size: 0.8125rem; color: var(--ink-soft); }
.form__result {
  margin-top: 1.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  border: 1px solid var(--rule); border-radius: 0.375rem; background: var(--ivory);
  animation: result-in 0.6s var(--ease-out);
}
.form__result:focus { outline: none; }
.form__result h3 { font-size: var(--fs-h3); }
.form__result p { margin-top: 0.6rem; color: var(--ink-soft); max-width: 34rem; }
.form__result--demo { border-color: color-mix(in srgb, var(--copper) 45%, transparent); }
.form__result--error { border-color: color-mix(in srgb, var(--error) 45%, transparent); }
.form__result p.form__result-reason { color: var(--ink); font-weight: 500; }
.form__result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
@keyframes result-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
.form.is-done .form__grid, .form.is-done .form__footer, .form.is-done .form__summary, .form.is-done .form__demo { display: none; }
.link-btn {
  min-height: 2.75rem; padding: 0.5rem 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
}
@media (hover: hover) { .link-btn:hover { color: var(--copper-ink); } }

.contact-aside__block + .contact-aside__block { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.contact-aside__title { font-size: var(--fs-h3); }
.contact-aside .contact-ways { margin-top: 1rem; }
.contact-aside .contact-way { padding: 1rem 0; }
.contact-aside .contact-way__value { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); }
.contact-aside .how { margin-top: 1.25rem; }
.facts--stack > div { grid-template-columns: 1fr !important; gap: 0.2rem; }
.contact-aside__block .facts { border-top: 0; }
.contact-aside__block .facts > div:first-child { padding-top: 0; }
.contact-aside__vet { margin-top: 2.5rem; padding-left: 0.9rem; border-left: 1px solid var(--copper); font-size: 0.875rem; color: var(--ink-soft); }
.contact-photo { padding-bottom: var(--section); }
.contact-photo__frame { border-top-right-radius: var(--radius-arc); }
.vet--after { margin-top: 2.5rem; }

/* ---------- Conceptaanduiding (alleen klantpreview) ---------- */
.concept-badge {
  position: fixed; left: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 45;
  margin: 0; padding: 0.45rem 0.9rem; border-radius: 999px;
  background: color-mix(in srgb, var(--forest-deep) 90%, transparent); color: var(--ivory);
  font-size: 0.75rem; letter-spacing: 0.01em; line-height: 1.3;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px -10px rgba(31, 45, 38, 0.55);
  pointer-events: none;
}

/* ---------- Reduced motion (v0.3-onderdelen) ---------- */
@media (prefers-reduced-motion: reduce) {
  .timeline__stack .pic.is-active { animation: none; }
  .js [data-draw] .h-a, .js [data-draw] .h-b, .js [data-draw] .h-e { stroke-dashoffset: 0 !important; }
  .site-header.is-hidden { transform: none; }
}

/* Tekstvergroting: grid-kolommen mogen krimpen, lange woorden breken af */
.site-footer__grid > *, .focus-grid > li, .step__surfaces > div, .compare > *, .signals > *, .split > *, .contact-grid > * { min-width: 0; }
.focus-grid li, .site-footer__grid, .step__surfaces dd, .facts dd { overflow-wrap: break-word; hyphens: auto; }
h1, h2, h3, .for-item__name, .contact-way__value { overflow-wrap: break-word; }
.hero__title { font-size: min(var(--fs-display), 13.5vw); }
@media (min-width: 62em) { .hero__title { font-size: min(clamp(3.4rem, 0.9rem + 4.1vw, 4.9rem), 6.2vw); } }
@media (max-width: 39.99em) { .concept-badge { left: 0.75rem; padding: 0.35rem 0.75rem; font-size: 0.6875rem; opacity: 0.92; } }

/* =========================================================
   v0.4 — signatuur-openingsanimatie (alleen CSS), vaste header,
   lichtsporen langs de lijnen, stofjes in het zonlicht,
   woordband, werkgebied-kaart, extra beeld en hulpkaarten
   ========================================================= */

/* ---------- Header: altijd een eigen, dicht vlak, zodat tekst nooit over elkaar valt ---------- */
.site-header, .site-header.is-scrolled { background: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- Zonder JavaScript (bijv. een bestandsvoorbeeld op de telefoon) ---------- */
.no-js .site-header { position: relative; top: auto; }
.no-js .menu-toggle, .no-js .mobile-menu, .no-js .gallery__controls, .no-js .timeline__dots { display: none !important; }
@media (max-width: 61.99em) {
  .no-js .site-header__inner { flex-wrap: wrap; padding-bottom: 0.9rem; }
  .no-js .nav {
    display: block; flex: 0 0 calc(100% + 2 * var(--gutter));
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .no-js .nav::-webkit-scrollbar { display: none; }
  .no-js .nav__list { display: flex; gap: 0.5rem; width: max-content; padding-right: var(--gutter); }
  .no-js .nav__list a {
    min-height: 2.5rem; padding: 0 1.05rem; border: 1px solid var(--rule); border-radius: 999px;
    background: var(--paper); color: var(--ink); font-size: 0.9rem;
  }
  .no-js .nav__list a::after { display: none; }
  .no-js .nav__list li:last-child a { margin-left: 0; background: var(--forest); border-color: var(--forest); color: var(--ivory); }
}

/* ---------- Openingsanimatie "Van lijn tot paard" ----------
   Volledig in CSS, dus hij speelt ook waar geen JavaScript draait.
   Rusttoestand = verborgen: als animaties niet werken, blijft de site gewoon zichtbaar. */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-content: center; justify-items: center; gap: clamp(1.1rem, 3.2vh, 2.4rem);
  padding: 1.5rem;
  background: radial-gradient(ellipse 85% 70% at 50% 40%, #2c5538 0%, var(--forest) 46%, var(--forest-deep) 100%);
  color: var(--ivory);
  visibility: hidden; opacity: 0; pointer-events: none;
}
.loader::after {
  content: ""; position: absolute; inset: 0; opacity: 0.09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.loader__stage { position: relative; width: min(84vw, 60vh, 640px); aspect-ratio: 708 / 696; }
.loader__art { display: block; width: 100%; height: 100%; overflow: visible; }
.ld { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ld-a, .ld-b, .ld-e { stroke: var(--copper-light); }
.ld-o1 { stroke: var(--sage-light); stroke-opacity: 0.55; stroke-width: 1.6; }
.ld-o2 { stroke: var(--sage-light); stroke-opacity: 0.28; stroke-width: 1.6; }
.ld-glint { stroke: #fff4e6; stroke-width: 3.4; stroke-dasharray: 0.07 1.2; stroke-dashoffset: 0.07; }
@media (max-width: 40em) { .ld { stroke-width: 2.8; } .ld-o1, .ld-o2 { stroke-width: 2; } .ld-glint { stroke-width: 4.2; } }
.loader__mark { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.35rem; margin: 0; text-align: center; }
.loader__name { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1; letter-spacing: -0.01em; }
.loader__role { font-size: 0.78rem; letter-spacing: 0.06em; color: var(--sage-light); }
.loader__bar { display: block; width: 8.5rem; height: 1px; margin-top: 0.85rem; background: rgba(243, 239, 230, 0.16); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--copper-light); transform-origin: left center; }

@media (prefers-reduced-motion: no-preference) {
  .loader { animation: ld-life 4.5s linear both; }
  .loader-off .loader { display: none; }
  .loader__stage { animation: ld-zoom 4.5s cubic-bezier(0.2, 0.6, 0.3, 1) both; }
  .ld-a { animation: ld-draw 1.75s cubic-bezier(0.6, 0.04, 0.28, 1) 0.2s both, ld-ivory 0.8s ease 2.15s both; }
  .ld-o1 { animation: ld-draw 1.9s cubic-bezier(0.6, 0.04, 0.28, 1) 0.42s both; }
  .ld-o2 { animation: ld-draw 2s cubic-bezier(0.6, 0.04, 0.28, 1) 0.62s both; }
  .ld-b { animation: ld-draw 1s cubic-bezier(0.5, 0, 0.3, 1) 1s both, ld-ivory 0.8s ease 2.15s both; }
  .ld-e { animation: ld-draw 0.45s ease 1.8s both, ld-ivory 0.8s ease 2.15s both; }
  .ld-glint { animation: ld-glint 1.5s cubic-bezier(0.45, 0, 0.3, 1) 1.95s both; }
  .loader__horse { animation: ld-in 0.95s ease 2.05s both; }
  .loader__full { animation: ld-in 0.7s ease 2.9s both; }
  .loader__lines { animation: ld-out 0.6s ease 3.05s both; }
  .loader__name { animation: ld-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
  .loader__role { animation: ld-rise 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both; }
  .loader__bar i { animation: ld-bar 3.25s cubic-bezier(0.45, 0, 0.2, 1) 0.25s both; }
  .loader__mark { animation: ld-out 0.5s ease 3.3s both; }
  .loader.loader--skip { animation: ld-skip 0.45s ease both; }
}
@keyframes ld-life {
  0% { visibility: visible; opacity: 1; pointer-events: auto; clip-path: inset(0 0 0 0); }
  79% { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
  98% { visibility: visible; opacity: 1; pointer-events: none; clip-path: inset(0 0 100% 0); }
  100% { visibility: hidden; opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
@keyframes ld-skip { from { visibility: visible; opacity: 1; } to { visibility: hidden; opacity: 0; } }
@keyframes ld-zoom { from { transform: scale(0.96); } to { transform: scale(1.03); } }
@keyframes ld-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ld-ivory { to { stroke: var(--ivory); } }
@keyframes ld-glint { from { stroke-dashoffset: 0.07; } to { stroke-dashoffset: -1.15; } }
@keyframes ld-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ld-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ld-rise { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
@keyframes ld-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Lichtsporen: een korte gloed die langs de lijnen reist ---------- */
.ln-glint, .hz-glint {
  fill: none; stroke-linecap: round; opacity: 0;
  stroke-dasharray: 0.08 1.2; stroke-dashoffset: 0.08;
}
.ln-glint { stroke: var(--copper); stroke-width: 3.4; }
.ln-glint--soft { stroke-width: 2.6; }
.cta .ln-glint { stroke: #f6e3cf; }
.hz-glint { stroke: #f6e3cf; stroke-width: 3.2; }
@media (prefers-reduced-motion: no-preference) {
  .ln-glint { opacity: 0.9; animation: glint var(--glint-t, 10s) cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--glint-d, 2s) infinite both; }
  .ln-glint--soft { opacity: 0.55; }
  .hz-glint { opacity: 0.95; animation: glint var(--glint-t, 9s) cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--glint-d, 1.2s) infinite both; }
}
@keyframes glint {
  0% { stroke-dashoffset: 0.08; }
  58% { stroke-dashoffset: -1.12; }
  100% { stroke-dashoffset: -1.12; }
}

/* ---------- Stofjes in het zonlicht (hero-foto) ---------- */
.motes { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.motes i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 230, 0.95) 0%, rgba(255, 238, 210, 0.45) 38%, rgba(255, 238, 210, 0) 70%);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .motes i { animation: mote var(--t) linear var(--d) infinite; }
}
@media (max-width: 40em) { .motes i:nth-child(n+11) { display: none; } }
@keyframes mote {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  18% { opacity: var(--o); }
  82% { opacity: var(--o); }
  100% { opacity: 0; transform: translate3d(var(--dx), -120px, 0); }
}

/* ---------- Paardlijn in de donkere afsluiter ---------- */
.cta__horse {
  position: absolute; z-index: 0; pointer-events: none; overflow: visible;
  right: -2.5rem; bottom: -1.5rem; width: min(78vw, 22rem); height: auto;
}
.cta__horse path { fill: none; stroke: var(--sage-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.32; }
.cta__horse .hz-glint { stroke: #f6e3cf; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) { .cta__horse .hz-glint { opacity: 0.95; } }
.cta__inner { z-index: 2; }
@media (max-width: 51.99em) { .cta { padding-bottom: clamp(15rem, 62vw, 19rem); } }
@media (min-width: 52em) {
  .cta__title { max-width: 13em; }
  .cta__text { max-width: 30rem; }
  .cta__horse { width: auto; height: 72%; right: max(-3rem, calc((100vw - var(--max)) / 2 - 3rem)); bottom: -4%; }
}
@media (min-width: 80em) { .cta__horse { height: 94%; } }
.site-footer__horse .hz-glint { stroke-width: 2.6; }

/* ---------- Woordband ---------- */
.marquee { overflow: hidden; padding-block: clamp(1.1rem, 0.8rem + 1.6vw, 2.25rem); border-block: 1px solid var(--rule); background: var(--ivory); }
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; flex: none; }
.marquee__set span {
  padding-inline: clamp(1rem, 0.5rem + 1.8vw, 2.25rem);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 1rem + 3.8vw, 4.4rem);
  line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-soft); white-space: nowrap;
}
.marquee__set span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--copper-ink); }
.marquee__set i { flex: none; width: 0.6rem; height: 0.6rem; border: 1px solid var(--copper); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 52s linear infinite; }
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Consult: beeld naast de kop ---------- */
.phases-head { display: grid; gap: 2rem; }
.phases-head__media { margin: 0; }
@media (min-width: 52em) {
  .phases-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; align-items: end; }
}

/* ---------- Werkgebied: schematische kaart ---------- */
@media (min-width: 52em) { .area { align-items: center; } }
.area__text .link { display: inline-block; margin-top: 1.5rem; }
.area-map { margin: 0; }
.area-map__svg { display: block; width: 100%; max-width: 34rem; height: auto; margin-inline: auto; overflow: visible; font-family: var(--sans); }
.am-ring { fill: none; stroke: var(--rule); stroke-width: 1; }
.am-ring--2 { stroke: var(--sage); stroke-dasharray: 2 6; }
.am-ring--3 { stroke: var(--sage); stroke-dasharray: 1 8; opacity: 0.6; }
.am-pulse { fill: none; stroke: var(--copper); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.am-route { stroke: var(--copper); stroke-width: 1.3; stroke-dasharray: 3 7; stroke-linecap: round; }
.am-core { fill: var(--forest); }
.am-core-label { fill: var(--ivory); font-family: var(--serif); font-size: 17px; }
.am-core-sub { fill: var(--sage-light); font-size: 11px; letter-spacing: 0.02em; }
.am-dot { fill: var(--copper); }
.am-halo { fill: var(--ivory-2); stroke: var(--copper); stroke-opacity: 0.4; }
.am-label { fill: var(--ink); font-family: var(--serif); font-size: 17px; }
.am-sub { fill: var(--ink-soft); font-size: 11.5px; }
.area-map__cap { margin-top: 0.5rem; text-align: center; font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 40em) {
  .am-label { font-size: 23px; }
  .am-sub { font-size: 15px; }
  .am-core-label { font-size: 17px; }
  .am-core-sub { font-size: 12.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .am-pulse { animation: am-pulse 6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
  .am-pulse--2 { animation-delay: 3s; }
  .am-route { animation: am-route 2.8s linear infinite; }
}
@keyframes am-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(3.3); opacity: 0; } }
@keyframes am-route { to { stroke-dashoffset: -20; } }

/* ---------- FAQ met hulpkaart ---------- */
.faq-layout { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: start; }
.faq-layout .faq { margin-top: 0; max-width: none; }
@media (min-width: 62em) {
  .faq-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 4rem; }
  .ask-card { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.ask-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: start; gap: 1rem;
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); padding-bottom: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  border-radius: var(--radius-m); border-top-right-radius: clamp(4rem, 10vw, 8rem);
  background: var(--forest); color: var(--ivory);
}
.ask-card__horse { position: absolute; right: -10%; bottom: -12%; width: 64%; z-index: -1; overflow: visible; }
.ask-card__horse path { fill: none; stroke: var(--sage-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.26; }
.ask-card__horse .hz-glint { stroke: #f6e3cf; stroke-width: 3.2; }
@media (prefers-reduced-motion: no-preference) { .ask-card__horse .hz-glint { opacity: 0.9; } }
.ask-card__title { font-size: var(--fs-h3); color: var(--ivory); }
.ask-card__text { color: var(--sage-light); max-width: 17rem; }
.ask-card__direct { display: grid; gap: 0.15rem; margin-top: 0.25rem; font-size: var(--fs-sm); color: var(--sage-light); overflow-wrap: anywhere; }

/* ---------- Dierenarts-kader over de volle breedte ---------- */
.vet--wide { max-width: none; }
.vet__col { display: grid; gap: 0.75rem; align-content: start; }
@media (min-width: 52em) { .vet--wide { grid-template-columns: 1fr 1fr; gap: 1rem 3rem; } }

/* ---------- Opleidingen met foto ---------- */
.edu-layout { display: grid; gap: 2.5rem; margin-top: 2rem; align-items: start; }
.edu-layout .edu { margin-top: 0; }
.edu-layout__media { margin: 0; }
@media (min-width: 62em) {
  .edu-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4.5rem; }
  .edu-layout__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 61.99em) { .edu-layout__media .frame { aspect-ratio: 4 / 3; } }


/* ---------- Lijntekeningen: paard tekent zichzelf als hij in beeld komt ---------- */
.art { display: block; height: auto; overflow: visible; pointer-events: none; }
.art path { fill: none; stroke: var(--copper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art--flip { transform: scaleX(-1); }
.art .hd-glint, .art .hz-glint { stroke: var(--copper-ink); stroke-width: 3.6; opacity: 0; stroke-dasharray: 0.07 1.2; stroke-dashoffset: 0.07; }
.js .art .hd-main, .js .art .hd-cheek, .js .art .hd-eye, .js .art .hd-nos {
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease);
}
.js .art .hd-cheek { transition-delay: 1s; transition-duration: 1.4s; }
.js .art .hd-eye { transition-delay: 1.7s; transition-duration: 0.7s; }
.js .art .hd-nos { transition-delay: 1.9s; transition-duration: 0.7s; }
.js .art.is-in .hd-main, .js .art.is-in .hd-cheek, .js .art.is-in .hd-eye, .js .art.is-in .hd-nos { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .art.is-in .hd-glint, .js .art.is-in .hz-glint { opacity: 0.9; animation: glint 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) 3.2s infinite both; }
}
/* Kop + tekening naast elkaar (op mobiel eronder) */
.head-art { display: grid; gap: 1.25rem 3rem; align-items: center; }
.head-art .art { justify-self: end; width: min(58vw, 15rem); margin-block: -0.5rem -1.5rem; }
.head-art .art--horse { width: min(70vw, 17rem); }
@media (min-width: 52em) {
  .head-art { grid-template-columns: minmax(0, 1fr) auto; }
  .head-art .art { width: clamp(15rem, 22vw, 19rem); margin: -2.5rem 0 -3rem; }
  .head-art .art--horse { width: clamp(17rem, 26vw, 23rem); }
}
/* Tekening boven de uitspraak in de werkwijze */
.statement-section .art { width: clamp(7.5rem, 6rem + 6vw, 11rem); margin: 0 auto clamp(1.25rem, 1rem + 1.5vw, 2rem); }

/* ---------- Familie (Over Marlous) ---------- */
.family { display: grid; gap: 0; margin-block: 0.4rem 0.2rem; border-top: 1px solid var(--rule); }
.family li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.family__who { font-family: var(--serif); font-style: italic; color: var(--copper-ink); }
.family__what { font-family: var(--serif); font-size: var(--fs-lead); color: var(--ink); }
@media (max-width: 30em) { .family li { grid-template-columns: 1fr; gap: 0.1rem; } }
@media (min-width: 52em) { .chapter { align-items: center; } .chapter__media { position: static; } }

/* ---------- Programmatische focus (koppen bij paginawissel) zonder kader ---------- */
[tabindex="-1"]:focus { outline: none; }

/* ---------- Kleine verfijningen ---------- */
.prose > .family { margin-top: 1.1em; }


/* =========================================================
   v0.5 — levende achtergrond, scroll-voortgang, woord-reveals
   ========================================================= */

/* ---------- Levende achtergrond (canvas, zie main.js) ----------
   Ligt boven de sectievlakken en onder de inhoud. */
.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.ambient.is-on { opacity: 1; }
main .wrap, .site-footer .wrap, .hero__grid, .gallery__track, .marquee__track { position: relative; z-index: 2; }

/* ---------- Scroll-voortgang ---------- */
.progress {
  position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 70; height: 2px;
  pointer-events: none; transform-origin: left center; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
}

/* ---------- Koppen die woord voor woord opkomen ---------- */
.js .words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .words .w > span { display: inline-block; transform: translateY(108%); transition: transform 0.95s var(--ease-out); transition-delay: calc(var(--wi, 0) * var(--wstep, 55ms) + 60ms); }
.js .words.is-in .w > span { transform: none; }
.statement.words { --wstep: 38ms; }

/* ---------- Hero reageert op scrollen ---------- */
.hero__text { will-change: transform; }

/* ---------- Woordband: helt mee met de scrollsnelheid ---------- */
.marquee__set { transform: skewX(var(--skew, 0deg)); transition: transform 0.4s ease-out; }

/* ---------- Kleine levendige details ---------- */
@media (hover: hover) {
  .split__media .frame .pic img, .chapter__media .frame .pic img, .edu-layout__media .pic img { transition: transform 1.2s var(--ease-out); }
  .split__media .frame:hover .pic img, .chapter__media .frame:hover .pic img, .edu-layout__media .frame:hover .pic img { transform: scale(1.035); }
  .for-item { transition: background-color 0.5s var(--ease); }
  .for-item:hover { background-color: color-mix(in srgb, var(--paper) 70%, transparent); }
}
.js .phase__num, .js .step__num { transition: transform 0.6s var(--ease-out), border-color 0.5s var(--ease), color 0.5s var(--ease), background-color 0.5s var(--ease); }
.js .phase:not(.is-in) .phase__num { transform: scale(0.4); }
.js .glance__item { opacity: 0; transform: translateY(0.75rem); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease-out); transition-delay: calc(var(--gi, 0) * 110ms + 200ms); }
.js .is-loaded .glance__item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  /* .ambient blijft zichtbaar als één stilstaand beeld (zie main.js) */
  .js .words .w > span, .js .glance__item, .js .phase__num { transform: none !important; opacity: 1 !important; }
  .marquee__set { transform: none !important; }
}

/* v0.5: beeld bij elke fase op home */
.phase__media { margin: 0 0 1.4rem; border-radius: var(--radius); }
.phase:nth-child(2) .phase__media { border-top-right-radius: clamp(3rem, 12vw, 5rem); }
.phase:nth-child(1) .phase__media, .phase:nth-child(3) .phase__media { border-top-left-radius: clamp(3rem, 12vw, 5rem); }

/* v0.5: lichtglans over foto's zodra ze in beeld komen */
.js .frame[data-reveal-img]::after {
  content: ""; position: absolute; inset: -2% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,244,230,0) 38%, rgba(255,244,230,0.32) 50%, rgba(255,244,230,0) 62%);
  transform: translateX(-75%); opacity: 0;
}
.js .frame[data-reveal-img].is-in::after { animation: sheen 1.8s var(--ease-out) 0.75s both; }
@keyframes sheen { 0% { transform: translateX(-75%); opacity: 1; } 100% { transform: translateX(75%); opacity: 1; } }

/* v0.5: inhoud verschijnt stap voor stap tijdens het scrollen */
.js .stag > :not(.step__num) { opacity: 0; transform: translateY(0.9rem); transition: opacity 0.8s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--si, 0) * 80ms + 40ms); }
.js .stag.is-in > :not(.step__num) { opacity: 1; transform: none; }
.js .step.stag:not(.is-in) .step__num { transform: scale(0.4); }
.js ul.stag > li:not(.step__num) { transform: translateX(-0.75rem); }
.js ul.stag.is-in > li:not(.step__num) { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .frame[data-reveal-img]::after { display: none; }
  .js .stag > *, .js .stag .step__num { opacity: 1 !important; transform: none !important; }
}


/* =========================================================
   v0.6 — logo, lichte groene huisstijl, tarieven
   ========================================================= */
/* Logo in de navigatie (horizontale webvariant van het officiële logo) */
.brand { padding-block: 0.35rem; }
.brand__logo { display: block; height: 2.65rem; width: auto; }
@media (min-width: 40em) { .brand__logo { height: 3rem; } }
@media (min-width: 62em) { .brand__logo { height: 3.35rem; } }

/* Footer: licht, met het volledige logo */
.site-footer { background: linear-gradient(180deg, var(--ivory-2), #d6e2cf); color: var(--ink); }
.site-footer__muted, .site-footer__head, .site-footer__bottom { color: var(--ink-soft); }
.site-footer__head { font-weight: 600; }
.site-footer__head--gap { margin-top: 1.75rem; }
.site-footer__bottom { border-top-color: var(--rule); }
@media (hover: hover) { .site-footer a:hover { color: var(--copper-ink); } }
.site-footer :focus-visible { outline-color: var(--copper-ink); }
.site-footer__logo { display: inline-block; padding: 0; }
.site-footer__logo img { display: block; width: clamp(9.5rem, 30vw, 12.5rem); height: auto; }
.site-footer__slogan { margin-top: 1rem; max-width: 16rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; color: var(--forest); }
.site-footer__about .site-footer__text:first-of-type { margin-top: 0; }
.site-footer__horse path { stroke: var(--sage); }
@media (min-width: 52em) { .site-footer__grid { grid-template-columns: 1.1fr 1.5fr 0.9fr 1.3fr; align-items: start; } }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--rule); border-radius: 50%; color: var(--forest); background: color-mix(in srgb, var(--paper) 70%, transparent); transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.social svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) { .site-footer .social a:hover { background: var(--forest); border-color: var(--forest); color: var(--ivory); text-decoration: none; } }

/* Afsluiter: link naar tarieven */
.cta__meta-link { color: var(--ivory); text-underline-offset: 0.2em; white-space: nowrap; }
@media (hover: hover) { .cta__meta-link:hover { color: var(--copper-light); } }

/* Opleiding: status */
.edu__status { display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--forest); color: var(--ivory); font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; vertical-align: 0.25em; }

/* ---------- Tarieven ---------- */
.prices { display: grid; gap: 1.5rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 48em) { .prices { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.price-card { position: relative; display: grid; align-content: start; gap: 0.9rem; padding: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); border-radius: var(--radius-m); border-top-left-radius: clamp(3rem, 8vw, 5.5rem); background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(23, 40, 29, 0.03), 0 22px 48px -34px rgba(23, 40, 29, 0.35); }
.price-card--accent { background: var(--forest); color: var(--ivory); border-color: var(--forest); border-top-left-radius: var(--radius-m); border-top-right-radius: clamp(3rem, 8vw, 5.5rem); }
.price-card__label { font-size: var(--fs-sm); color: var(--copper-ink); letter-spacing: 0.02em; }
.price-card--accent .price-card__label { color: var(--copper-light); }
.price-card__name { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; }
.price-card__name span { display: block; font-style: italic; color: var(--ink-soft); font-size: 0.8em; }
.price-card--accent .price-card__name span { color: var(--sage-light); }
.price-card__price { font-family: var(--serif); line-height: 1; }
.price-card__amount { font-size: clamp(2.75rem, 2.2rem + 2.4vw, 3.75rem); letter-spacing: -0.02em; }
.price-card__facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; border-block: 1px solid var(--rule); font-size: var(--fs-sm); }
.price-card--accent .price-card__facts > div { border-color: var(--rule-dark); }
.price-card__facts dt { color: var(--ink-soft); }
.price-card--accent .price-card__facts dt { color: var(--sage-light); }
.price-card__facts dd { font-weight: 500; }
.price-card__note { color: var(--ink-soft); font-size: var(--fs-sm); }
.price-card--accent .price-card__note { color: var(--sage-light); }
.prices__more { margin-top: 2rem; color: var(--ink-soft); }
.prices__more .link { margin-left: 0.35rem; }

.travel { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .travel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; } }
.travel__text > * + * { margin-top: 1.1rem; }
.travel__card { padding: clamp(0.5rem, 0.3rem + 1vw, 1rem) clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--rule); }
.travel__table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.travel__table th, .travel__table td { padding: 1rem 0; text-align: left; border-bottom: 1px solid var(--rule); }
.travel__table thead th { padding-top: 0.75rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); }
.travel__table tbody th { font-weight: 400; }
.travel__table td { text-align: right; font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; padding-left: 1rem; }
.travel__table tr:last-child th, .travel__table tr:last-child td { border-bottom: 0; }
.travel__free { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--forest); color: var(--ivory); font-family: var(--sans); font-size: 0.8rem; font-weight: 500; }

.pay { display: grid; gap: 2rem; }
@media (min-width: 52em) { .pay { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.pay__item > * + * { margin-top: 1rem; }
.pay .vet--after { margin-top: 0; }
.travel__table thead th:last-child { text-align: right; }
body:has(.concept-badge) .site-footer__bottom { padding-bottom: max(4.75rem, env(safe-area-inset-bottom)); }
@media (min-width: 62em) { .brand__logo { height: 3.6rem; } }


/* ---------- v0.6 correctieronde: zichtbaar groene vlakken, groene lijnen ---------- */
body { background: var(--ivory); }
.section--paper { background: var(--mist); }
.seam:has(+ .section--paper) { --fill: var(--mist); }
.page-intro { background: linear-gradient(180deg, #edf3e7 0%, var(--ivory) 100%); }
.hero { background: radial-gradient(120% 90% at 0% 0%, #eef4e8 0%, var(--ivory) 60%); }
.site-footer { background: linear-gradient(180deg, var(--ivory-2) 0%, #c8dbbd 100%); }

/* lijnen en naden in groen */
.ln--copper { stroke: var(--line); }
.ln-glint, .ld-glint ~ .ln-glint { stroke: var(--line-glint); }
.page-intro .ln-glint, .seam .ln-glint, .hero .ln-glint { stroke: var(--line-glint); }
.hz-glint, .hd-glint { stroke: #e4f3dc; }
.art .hd-glint, .art .hz-glint { stroke: var(--line); }

/* donkere band tussen lichte secties (home) */
.marquee { background: var(--forest); border-block: 0; }
.marquee__set span { color: var(--ivory); }
.marquee__set span:nth-of-type(even) { -webkit-text-stroke: 1px var(--sage-light); }
.marquee__set i { border-color: var(--copper-light); }

/* social-media-iconen */
.social { list-style: none; padding: 0; }
.social__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.social--labeled { flex-wrap: wrap; margin-top: 0.25rem; }
.social--labeled a { display: inline-flex; align-items: center; gap: 0.55rem; width: auto; height: 2.85rem; padding: 0 1.1rem 0 0.85rem; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--forest); }
.social--labeled .social__name { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; }
@media (hover: hover) { .social a:hover { background: var(--forest); border-color: var(--forest); color: var(--ivory); } }
.mobile-menu__contact .social { margin-top: 0.75rem; }
.mobile-menu__contact .social a { padding: 0; }
.cta .ln-glint, .cta__horse .hz-glint, .ask-card__horse .hz-glint { stroke: #dff0d6; }
.ld-glint { stroke: #eef8e8; }

/* ---------- v0.6: structurele lijnen en markeringen in groen (koper alleen nog als klein warm accent) ---------- */
.vet { border-left-color: var(--line); }
.marked li::before, .focus-grid li::before { background: var(--line); }
.nav__list a::after { background: var(--line); }
.phase__num { border-color: var(--line); color: var(--forest); }
.phases__line, .steps__fill, .gallery__progress span { background: var(--line); }
.compare__col--accent { border-top-color: var(--line); }
.step.is-active .step__num { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.step.is-past .step__num { border-color: var(--line); color: var(--forest); }
.step__note, .contact-aside__vet { border-left-color: var(--line); }
.contact-way__value { background-image: linear-gradient(var(--line), var(--line)); }
@media (hover: hover) { .contact-way:hover .contact-way__value { color: var(--forest); } }
.how li::before { border-color: var(--line); color: var(--forest); }
.timeline__dot.is-past::before { background: color-mix(in srgb, var(--line) 55%, var(--rule)); }
.timeline__dot.is-active::before { background: var(--line); }
@media (hover: hover) { .timeline__dot:hover::before { background: var(--sage); } }
.am-pulse, .am-route { stroke: var(--line); }
.am-dot { fill: var(--line); }
.am-halo { fill: var(--ivory-2); stroke: var(--line); }
.art path { stroke: var(--line); }
.art .hd-glint, .art .hz-glint { stroke: var(--forest); }
.progress { background: linear-gradient(90deg, var(--line), var(--sage)); }
.marquee__set i { border-color: var(--sage-light); }
.ld-a, .ld-b, .ld-e { stroke: #cfe3c3; }
.loader__bar i { background: #cfe3c3; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--line); box-shadow: 0 0 0 3px color-mix(in srgb, var(--line) 28%, transparent); }
.site-footer .social { display: flex; }


/* =========================================================
   v0.7 — "De streek": de penseelstreek uit het logo als signatuur
   (achtergrond, naden, halve maan rond de hero, links, werkwijze)
   + socialmedia-sectie
   ========================================================= */

/* ---------- Hero: de halve maan uit het logo om de foto ---------- */
.hero__crescent {
  position: absolute; z-index: 3; pointer-events: none; overflow: visible;
  width: calc(var(--radius-arc) * 1.8); height: calc(var(--radius-arc) * 1.8);
  left: calc(var(--gutter) - var(--radius-arc) * 0.2);
  top: calc(var(--radius-arc) * -0.3);
}
.hero__crescent path { fill: var(--forest); }
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.hero__crescent {
  --sweep: 360deg;
  -webkit-mask-image: conic-gradient(from 243deg at 66.667% 72.222%, #000 calc(var(--sweep) - 10deg), transparent var(--sweep));
          mask-image: conic-gradient(from 243deg at 66.667% 72.222%, #000 calc(var(--sweep) - 10deg), transparent var(--sweep));
}
.js .hero__crescent { --sweep: 0deg; }
.js .is-loaded .hero__crescent { --sweep: 162deg; transition: --sweep 2.1s cubic-bezier(0.45, 0.05, 0.2, 1) 0.75s; }

/* Telefoon: titel, dan de foto, dan de tekst en de knoppen (tablet houdt tekst boven de foto) */
@media (max-width: 39.99em) {
  .hero__text { display: contents; }
  .hero__title { order: 1; padding-inline: var(--gutter); }
  .hero__media { order: 2; margin-top: 0.35rem; }
  .hero__lead, .hero__for, .hero__actions { order: 3; padding-inline: var(--gutter); }
  .hero__lead, .hero__actions { margin-top: 0; }
  .hero__grid { gap: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
  .hero__frame { aspect-ratio: 4 / 3.15; }
}
@media (min-width: 62em) {
  :root { --hero-top: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); }
  .hero__frame { inset: var(--hero-top) 0 0 0; }
  .hero__crescent { left: calc(var(--radius-arc) * -0.2); top: calc(var(--hero-top) - var(--radius-arc) * 0.3); }
}

/* ---------- Naden: de hoofdlijn is een penseelstreek ---------- */
.seam__stroke { fill: var(--line); }
.js .seam__ink { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease); }
.js .seam--b .seam__ink { clip-path: inset(0 0 0 100%); }
.js .seam.is-in .seam__ink { clip-path: inset(0 0 0 0); }
@keyframes seam-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes seam-wipe-b { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .seam .seam__ink { transition: none; animation: seam-wipe linear both; animation-timeline: view(); animation-range: entry 5% cover 50%; }
    .js .seam--b .seam__ink { animation-name: seam-wipe-b; }
  }
}

/* ---------- Tekstlinks: een penseelstreek als onderstreping ----------
   In rust een zachte groene streek; bij aanwijzen trekt er een donkere streek overheen. */
.link {
  --stroke-rest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6.3C38 4.7 112 3.3 240 4.5C150 6.4 62 7.7 0 6.3Z' fill='%23557f5c'/%3E%3C/svg%3E");
  --stroke-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6.5C44 3.9 118 2.6 240 4.3C152 6.9 64 8.6 0 6.5Z' fill='%231f4129'/%3E%3C/svg%3E");
  background:
    var(--stroke-hover) left calc(100% - 0.1rem) / 0% 0.55rem no-repeat,
    var(--stroke-rest) left calc(100% - 0.1rem) / 100% 0.55rem no-repeat;
  transition: background-size 0.65s var(--ease-out), color 0.3s var(--ease);
}
.link::after { content: none; display: none; }
@media (hover: hover) {
  .link:hover { background-size: 100% 0.55rem, 100% 0.55rem; color: var(--forest); }
}
.link--light {
  --stroke-rest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6.3C38 4.7 112 3.3 240 4.5C150 6.4 62 7.7 0 6.3Z' fill='%23a9c4a0'/%3E%3C/svg%3E");
  --stroke-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6.5C44 3.9 118 2.6 240 4.3C152 6.9 64 8.6 0 6.5Z' fill='%23eef5e8'/%3E%3C/svg%3E");
}
@media (hover: hover) { .link--light:hover { color: #fff; } }

/* ---------- Socialmedia: "Kijk mee achter de schermen" ---------- */
.social-feature__grid { display: grid; gap: clamp(2.75rem, 2rem + 4vw, 6rem); align-items: center; }
@media (min-width: 62em) { .social-feature__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.social-feature__photos { position: relative; width: 100%; max-width: 40rem; aspect-ratio: 1 / 0.98; margin-inline: auto; }
.js .social-feature__photos[data-reveal] { opacity: 1; transform: none; }
.sf-pic {
  position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--ivory-2);
  transition: transform 1.2s var(--ease-out);
}
.sf-pic .pic { position: absolute; inset: 0; }
.sf-pic .pic img { transition: transform 1.6s var(--ease-out); }
.sf-pic--a { left: 0; top: 0; width: 57%; aspect-ratio: 4 / 5; border-top-left-radius: var(--radius-arc); z-index: 1; }
.sf-pic--b {
  right: 0; top: 12%; width: 45%; aspect-ratio: 4 / 5; z-index: 2;
  border-top-right-radius: clamp(3rem, 9vw, 7rem);
  box-shadow: 0 0 0 clamp(5px, 0.6vw, 8px) var(--ivory);
}
.sf-pic--c {
  left: 22%; bottom: 0; width: 49%; aspect-ratio: 3 / 2; z-index: 3;
  border-bottom-left-radius: clamp(2.5rem, 7vw, 5rem);
  box-shadow: 0 0 0 clamp(5px, 0.6vw, 8px) var(--ivory);
}
/* De foto's komen één voor één op, alsof ze op tafel worden gelegd */
.js .social-feature__photos .sf-pic { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.9s var(--ease), transform 1.3s var(--ease-out); }
.js .social-feature__photos .sf-pic--b { transition-delay: 0.15s; }
.js .social-feature__photos .sf-pic--c { transition-delay: 0.3s; }
.js .social-feature__photos.is-in .sf-pic { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .js .social-feature__photos.is-in:hover .sf-pic--a { transform: translate(-0.55rem, -0.35rem); }
  .js .social-feature__photos.is-in:hover .sf-pic--b { transform: translate(0.6rem, -0.25rem); }
  .js .social-feature__photos.is-in:hover .sf-pic--c { transform: translate(0.25rem, 0.55rem); }
  .social-feature__photos:hover .sf-pic .pic img { transform: scale(1.04); }
  .js .social-feature__photos.is-in .sf-pic { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease-out); transition-delay: 0s; }
}

.social-feature__text > * + * { margin-top: 1.1rem; }
.social-feature__text .lead { margin-top: 1.25rem; }
.social-feature__sign { margin-top: 1.4rem !important; }
.social-feature__sign img { width: clamp(8rem, 6rem + 5vw, 10.5rem); height: auto; }
.js .social-feature__sign img { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) 0.55s; }
.js .social-feature__text.is-in .social-feature__sign img { clip-path: inset(0 0 0 0); }

/* Grote, rustige knoppen naar Facebook en Instagram */
.social-cta { display: grid; gap: 0.75rem; max-width: 33rem; margin-top: 1.9rem !important; }
@media (min-width: 52em) and (max-width: 61.99em) { .social-cta { grid-template-columns: 1fr 1fr; max-width: none; } }
.social-cta__link {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 0.95rem;
  min-height: 4.5rem; padding: 0.8rem 1.35rem 0.8rem 0.8rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.social-cta__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--forest); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.65s var(--ease-out);
}
.social-cta__icon {
  grid-row: 1 / span 2; display: grid; place-items: center;
  width: 2.95rem; height: 2.95rem; border-radius: 50%;
  background: var(--forest); color: var(--ivory);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.social-cta__icon svg { width: 1.3rem; height: 1.3rem; }
.social-cta__label { grid-column: 2; font-weight: 600; line-height: 1.25; }
.social-cta__sub { grid-column: 2; font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-soft); overflow-wrap: break-word; transition: color 0.45s var(--ease); }
.social-cta__go { grid-column: 3; grid-row: 1 / span 2; display: block; width: 1rem; height: 1rem; color: var(--line); transition: transform 0.45s var(--ease-out), color 0.45s var(--ease); }
.social-cta__go svg { width: 100%; height: 100%; }
@media (hover: hover) {
  .social-cta__link:hover { color: var(--ivory); border-color: var(--forest); }
  .social-cta__link:hover::before { transform: scaleX(1); }
  .social-cta__link:hover .social-cta__icon { background: var(--ivory); color: var(--forest); }
  .social-cta__link:hover .social-cta__sub { color: var(--sage-light); }
  .social-cta__link:hover .social-cta__go { color: var(--ivory); transform: translate(2px, -2px); }
}
.social-cta__link:active { transform: translateY(1px); }
@media (max-width: 39.99em) {
  .social-cta__link { border-radius: 1.6rem; min-height: 4.25rem; padding: 0.75rem 1rem 0.75rem 0.75rem; column-gap: 0.8rem; }
  .social-cta__icon { width: 2.6rem; height: 2.6rem; }
  .social-cta__label { font-size: 0.97rem; }
}

/* ---------- Werkwijze: de streek groeit mee met de zeven stappen ---------- */
.timeline__stroke { position: absolute; left: 0; top: 0; z-index: 3; overflow: visible; pointer-events: none; }
.timeline__stroke path { fill: none; stroke: var(--line); stroke-linecap: round; stroke-linejoin: round; }
.timeline__stroke .ts-hair { stroke: var(--sage); }

/* ---------- Kleine verfijningen ---------- */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.cta__meta { max-width: 38rem; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .hero__crescent { --sweep: 360deg; -webkit-mask-image: none; mask-image: none; }
  .js .seam__ink, .js .social-feature__sign img { clip-path: none !important; animation: none !important; }
  .js .social-feature__photos .sf-pic { opacity: 1 !important; transform: none !important; }
}

/* ---------- Over Marlous: ondertekening en "volg mijn werk" ---------- */
.chapter__sign { margin-top: 1.75rem; }
.chapter__sign img { width: clamp(7.5rem, 6rem + 4vw, 9.5rem); height: auto; }
.js .chapter__sign img { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) 0.5s; }
.js .chapter__text.is-in .chapter__sign img { clip-path: inset(0 0 0 0); }
.social-band { padding-block: 0 var(--section); }
.social-band__inner { display: grid; gap: 1.75rem 4rem; align-items: center; padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--rule); }
.social-band__title { font-size: var(--fs-h3); }
.social-band__text p { margin-top: 0.6rem; max-width: 30rem; color: var(--ink-soft); }
.social-band .social-cta { margin-top: 0 !important; max-width: none; }
@media (min-width: 52em) { .social-band .social-cta { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62em) { .social-band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .social-band .social-cta { grid-template-columns: 1fr; max-width: 33rem; justify-self: end; width: 100%; } }

/* ---------- Details ---------- */
::selection { background: #c4dcb9; color: var(--forest-deep); }
@media (prefers-reduced-motion: reduce) { .js .chapter__sign img { clip-path: none !important; } }

/* ---------- Hero-lijn en lijnen onder paginakoppen: ook als penseelstreek ---------- */
.hl-stroke, .pl-stroke { fill: var(--line); }
.js .hero__lines--ink { clip-path: inset(0 100% 0 0); }
.js .is-loaded .hero__lines--ink { clip-path: inset(0 0 0 0); transition: clip-path 2.6s var(--ease) 0.45s; }
.js .page-lines { clip-path: inset(0 100% 0 0); }
.js .is-loaded .page-lines { clip-path: inset(0 0 0 0); transition: clip-path 2.4s var(--ease) 0.2s; }
@media (prefers-reduced-motion: reduce) { .js .hero__lines--ink, .js .page-lines { clip-path: none !important; } }

/* ---------- Navigatie: de actieve pagina krijgt dezelfde penseelstreek ---------- */
:root {
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' preserveAspectRatio='none'%3E%3Cpath d='M0 6.3C38 4.7 112 3.3 240 4.5C150 6.4 62 7.7 0 6.3Z' fill='%23557f5c'/%3E%3C/svg%3E");
}
.nav__list a::after { height: 0.45rem; bottom: 0.3rem; background: var(--brush) center / 100% 100% no-repeat; }

/* ---------- Conceptlabel (alleen klantpreview): in de kop, zodat het nooit over knoppen of tekst valt ---------- */
.concept-tag {
  margin: 0 auto 0 0.85rem; padding: 0.22rem 0.65rem; border: 1px solid var(--rule); border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 75%, transparent);
  font-size: 0.72rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.01em; color: var(--ink-soft); white-space: nowrap;
}
@media (max-width: 22em) { .concept-tag { margin-left: 0.5rem; padding-inline: 0.5rem; } }
.site-header__inner:has(.concept-tag) { column-gap: 0.75rem; }
@media (max-width: 23.99em) { .site-header__inner:has(.concept-tag) .brand__logo { height: 2.4rem; } .concept-tag { margin-left: 0.4rem; padding: 0.18rem 0.5rem; font-size: 0.66rem; } }
@media (max-width: 20.99em) { .concept-tag { display: none; } }
@media (min-width: 62em) and (max-width: 64.49em) { .concept-tag { display: none; } }

/* =========================================================
   v1.0 — privacyverklaring en formulierbevestiging
   ========================================================= */
.legal__body { max-width: 44rem; }
.legal__body h2 { margin-top: 2.5rem; font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.005em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin-top: 0.85rem; color: var(--ink); }
.legal__body a { overflow-wrap: anywhere; }
.legal__date { margin-top: 2.5rem !important; font-size: var(--fs-sm); color: var(--ink-soft) !important; }
.site-footer__legal a { padding-block: 0; }
.form__privacy a { color: inherit; }
.form__submit[aria-busy="true"]::after { content: ""; width: 1rem; height: 1rem; margin-left: 0.25rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- v1.0: contact zonder formulier (terugvaloptie) ---------- */
.contact-direct {
  padding: clamp(1.25rem, 0.9rem + 2.4vw, 2.75rem);
  border: 1px solid var(--rule); border-radius: var(--radius-m);
  background: var(--paper);
}
.contact-direct > p { margin-top: 0.9rem; max-width: 36rem; color: var(--ink-soft); }
.contact-direct .contact-ways { margin-top: 1.5rem; }
.contact-direct .form__privacy { margin-top: 1.5rem; }
