/* ==========================================================================
   Focusplusbegeleiding, stylesheet
   Koppen in Inter Tight, tekst in Readex Pro, warm rood, crème en zand.
   ========================================================================== */

/* Lettertype, zelf gehost (latin, latin-ext en arabisch) */
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url("../fonts/readex-pro-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url("../fonts/readex-pro-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Readex Pro";
  font-style: normal;
  font-weight: 160 700;
  font-display: swap;
  src: url("../fonts/readex-pro-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Koppen: Inter Tight 800, zelf gehost (latin en latin-ext). Arabische tekens vallen terug op Readex Pro */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-tight-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-tight-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */
:root {
  --red: #9c1c26;
  --red-hover: #7f1520;
  --red-deep: #4a0f14;
  --red-soft: #efcdc9;
  --red-light: #ee8a8f;
  --red-tint: rgba(156, 28, 38, 0.06);
  --logo-grey: #414142;
  --cream: #faf0ed;
  --sand: #f2ddd8;
  --sand-deep: #e7c5be;
  --wine: #4a0f14;
  --wine-dark: #2b0a0d;
  --ink: #2a1b18;
  --ink-soft: #4b3a36;
  --muted: #6e5852;
  --line: rgba(42, 27, 24, 0.12);
  --white: #fff;
  --wa: #25d366;

  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 1240px;
  --box-pad: clamp(6px, 2vw, 12px);              /* binnenruimte van het kader, overal gelijk */
  --box-h: calc(44px + 2 * var(--box-pad) + 4px);  /* inhoud 44px + binnenruimte + rand 2x2px */
  --hpad: clamp(8px, 1.2vw, 14px);                /* ruimte boven en onder het kader */
  --header-h: calc(var(--box-h) + 2 * var(--hpad));
  --radius: 18px;
  --radius-lg: clamp(22px, 3vw, 36px);
  --section: clamp(72px, 10vw, 144px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset en basis */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  font-weight: 350;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { margin: 0; }
/* Eén kopstijl voor de hele site: alle koppen en alles met een kopklasse */
h1, h2, h3, h4, .h-display, .h-xl, .h-lg, .h-md {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 550; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--red); color: var(--white); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Layout */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand); }
.section--wine {
  background: var(--wine);
  --ink: #fbf5ef; --ink-soft: rgba(251, 245, 239, 0.86); --muted: rgba(251, 245, 239, 0.68);
  --line: rgba(255, 255, 255, 0.18); --cream: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}
.section--wine .why__num, .section--wine .why__title .icon { color: #f39aa0; }
.section--wine .chip { border-color: rgba(255, 255, 255, 0.26); }
.section--wine .btn:not(.btn--outline) { --btn-bg: #fbf5ef; --btn-fg: var(--wine); --btn-bd: #fbf5ef; }
.section--wine .btn:not(.btn--outline):hover { --btn-bg: #fff; --btn-bd: #fff; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.h-display { font-size: clamp(2.5rem, 1.3rem + 5.4vw, 5.6rem); }
.h-xl { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); }
.h-lg { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem); }
.h-md { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
.accent { color: var(--red); }
.muted { color: var(--muted); }

/* Iconen */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* Knoppen */
.btn {
  --btn-bg: var(--red);
  --btn-fg: var(--white);
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65em;
  min-height: 56px;
  padding: 0 1.6em;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { --btn-bg: var(--red-hover); }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .icon-arrow { transition: transform 0.4s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(42, 27, 24, 0.22); }
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--red-deep); --btn-bd: var(--cream); }
.btn--light:hover { --btn-bg: var(--white); --btn-bd: var(--white); }
.btn--line-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, 0.45); }
.btn--line-light:hover { --btn-bg: var(--white); --btn-fg: var(--red-deep); --btn-bd: var(--white); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #0b3d1f; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: #1fbd5a; --btn-bd: #1fbd5a; }

.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 559px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 500; color: var(--red);
  padding-block: 10px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  background-origin: content-box; background-clip: content-box;
  transition: background-size 0.45s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow .icon { transition: transform 0.4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header: rechthoekig kader met logo, menu en Contact, en los daarnaast het draaiende kruis */
.header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-block: var(--hpad);
  transition: background-color 0.35s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 240, 237, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.menu-open .header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner { display: flex; align-items: center; gap: clamp(8px, 2.5vw, 36px); }

.header__box {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center;
  height: var(--box-h);
  padding: var(--box-pad);
  border: 2px solid var(--ink); border-radius: 4px;
  background: var(--cream);
}
.hlogo { display: inline-flex; align-items: center; gap: clamp(6px, 2vw, 12px); min-width: 0; min-height: 44px; margin-right: auto; line-height: 1; }
.hlogo__circle {
  flex: none; display: grid; place-items: center;
  width: clamp(34px, 10.5vw, 44px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink);
  transition: transform 0.7s var(--ease);
}
.hlogo__circle img { width: 68%; height: auto; }
.hlogo:hover .hlogo__circle { transform: rotate(-10deg); }
.hlogo__name { font-size: clamp(12px, 3.75vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

.nav { display: none; }
.nav ul { display: flex; gap: 2px; }
.nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 6px;
  color: var(--ink-soft); font-weight: 450; line-height: 1.2; white-space: nowrap;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--cream); background: var(--ink); }

.header__cta {
  display: none; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; margin-left: clamp(12px, 2vw, 28px);
  border: 2px solid var(--ink); border-radius: 999px;
  color: var(--ink); font-weight: 500; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.header__cta:hover, .header__cta[aria-current="page"] { background: var(--ink); color: var(--cream); }
.menu-toggle {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: 6px; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent;
  transition: background-color 0.3s var(--ease);
}
.menu-toggle:hover { background: var(--sand); }
.menu-toggle span {
  grid-area: 1 / 1; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-open .menu-toggle span:first-child { transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }

/* Het kruis: los naast het kader, even hoog als het kader (op telefoons iets kleiner) */
.header__cross {
  flex: none; display: block;
  width: min(var(--box-h), 10vw); aspect-ratio: 1;
  color: var(--red);
}
.header__cross svg { display: block; width: 100%; height: 100%; fill: currentColor; will-change: transform; transform: rotate(0deg); }

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}
@media (min-width: 1260px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Logo in de footer */
.logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; min-height: 44px; }
.logo__emblem { width: auto; height: 42px; flex: none; transition: transform 0.7s var(--ease); }
.logo:hover .logo__emblem { transform: rotate(-10deg); }
.logo__name { font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.015em; color: var(--logo-grey); }
.logo__focus { color: var(--red); }

/* Mobiel menu */
.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: var(--cream);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.9rem, 1.2rem + 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.3s;
}
.menu__links a[aria-current="page"] { color: var(--red); }
.menu__links a .icon { width: 0.7em; height: 0.7em; color: var(--red); }
.menu-open .menu__links a { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 55ms + 80ms); }
.menu__bottom { display: grid; gap: 10px; opacity: 0; transition: opacity 0.5s var(--ease) 0.3s; }
.menu-open .menu__bottom { opacity: 1; }
.menu__bottom .btn { width: 100%; }
@media (max-height: 720px) {
  .menu { gap: 20px; padding-top: calc(var(--header-h) + 8px); }
  .menu__links a { padding: 9px 0; font-size: clamp(1.5rem, 1.1rem + 2.6vw, 2rem); }
}
@media (max-height: 480px) {
  .menu { gap: 12px; }
  .menu__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .menu__links a { padding: 8px 0; font-size: 1.25rem; }
  .menu__bottom { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1260px) { .menu { display: none; } }

/* Lopende tekst */
.text {
  display: grid; gap: 1em; max-width: min(56ch, 100%); margin-inline: auto;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.7;
  color: var(--ink-soft);
}
.text--sm { font-size: 1rem; line-height: 1.6; }
.text--light { color: rgba(255, 255, 255, 0.9); }
.text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* Foto placeholders */
.photo {
  position: relative; overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #f1d8d2 0%, #e6c1b9 100%);
  isolation: isolate;
}
.section--sand .photo { background: linear-gradient(155deg, #e8c6bf 0%, #dcaea5 100%); }
.photo__inner {
  position: absolute; inset: -8% 0;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  padding: 24px; text-align: center;
  color: var(--red-deep);
  will-change: transform;
}
.photo__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px;
  background: rgba(251, 245, 239, 0.7);
  color: var(--red);
}
.photo__icon .icon { width: 28px; height: 28px; }
.photo__label { font-size: 0.9375rem; font-weight: 500; max-width: min(26ch, 100%); line-height: 1.4; }
.photo::after {
  content: ""; position: absolute; inset: 14px; z-index: -1;
  border: 1.5px dashed rgba(74, 23, 18, 0.22); border-radius: calc(var(--radius-lg) - 10px);
}

/* Cirkelbogen, afgeleid van het logo */
.ring {
  position: absolute; pointer-events: none;
  width: var(--s, 320px); aspect-ratio: 1;
  transform: rotate(var(--r, 0deg));
}
.ring svg { width: 100%; height: 100%; overflow: visible; }
.ring path { fill: none; stroke-width: 5; stroke-linecap: round; }
.ring__a { stroke: var(--red-soft); }
.ring__b { stroke: var(--sand-deep); }
.hero .ring, .page-hero .ring, .cta__box .ring { left: 50%; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); }

/* Gecentreerde basis */
main { text-align: center; }
main, .footer { overflow-x: clip; }
main .input { text-align: left; }
.chips { justify-content: center; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  position: relative; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 112px));
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero .ring { --s: clamp(300px, 44vw, 600px); top: calc(var(--header-h) + clamp(40px, 8vw, 112px) + clamp(110px, 13vw, 190px)); }
.hero__content { position: relative; display: grid; justify-items: center; }
.hero__title { width: 100%; max-width: min(16ch, 100%); }
.hero__title .line { display: block; }
.hero__actions { width: 100%; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) {
  .hero__title { max-width: none; }
}

/* Wisselend woord in de titel, de breedte volgt het actieve woord zodat de regel gecentreerd blijft */
.rotator {
  display: inline-grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
  vertical-align: top;
  overflow: clip;
  padding-block: 0.3em; margin-block: -0.3em;
  transition: width 0.8s var(--ease);
}
.rotator__word {
  grid-area: 1 / 1;
  color: var(--red);
  white-space: nowrap;
  transform: translateY(145%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.rotator__word.is-active { transform: none; opacity: 1; }
.rotator__word.is-out { transform: translateY(-145%); opacity: 0; }
html:not(.js) .rotator__word:first-child { transform: none; opacity: 1; }
@media (max-width: 639px) {
  .rotator { display: grid; grid-template-columns: auto; width: auto !important; }
}

/* Begroetingsband */
.band {
  background: var(--red); color: var(--white);
  overflow: hidden;
}
.marquee { overflow: hidden; padding-block: clamp(18px, 2.6vw, 34px); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group li {
  display: flex; align-items: center;
  padding-inline: clamp(18px, 2.4vw, 40px);
  font-size: clamp(2.3rem, 1.3rem + 5vw, 6rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.15;
  white-space: nowrap;
}
.marquee__group li[lang="ar"] { letter-spacing: 0; font-weight: 450; }
.marquee__group .sep { padding-inline: 0; color: rgba(255, 255, 255, 0.4); }
.marquee__group .sep .icon { width: 0.42em; height: 0.42em; stroke-width: 3; }

/* Gecentreerde secties: titel, tekst, knoppen, foto onder elkaar */
.split, .why, .about, .steps-wrap, .routes, .contact {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
}
.split { gap: clamp(24px, 3vw, 36px); }
.split > h2 { max-width: min(20ch, 100%); }
.split__body { display: grid; gap: 24px; justify-items: center; width: 100%; }
.split > .photo, .about > .photo { width: 100%; max-width: 1000px; }
.split--center > .photo { margin-top: clamp(16px, 3vw, 32px); }

/* Waarom Focusplus */
.why { gap: clamp(32px, 5vw, 56px); }
.why__head { display: grid; justify-items: center; }
.why__list { display: grid; width: 100%; max-width: 820px; }
.why__item {
  display: grid; justify-items: center;
  padding-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__num { font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem); font-weight: 500; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.why__body { display: grid; gap: 20px; justify-items: center; }
.why__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; }
.why__title .icon { width: 30px; height: 30px; color: var(--red); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line);
  font-size: 0.9375rem; font-weight: 450;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
a.chip { min-height: 44px; }
a.chip:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* Voor wie, grote rijen */
.section-head { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.rows { max-width: 980px; margin-inline: auto; border-top: 1px solid var(--line); }
.row-link {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 28px);
  padding: clamp(20px, 3vw, 34px) clamp(8px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 0.5s var(--ease);
}
.row-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.6s var(--ease);
}
.row-link__icon { flex: none; display: grid; place-items: center; width: clamp(44px, 5vw, 64px); height: clamp(44px, 5vw, 64px); border-radius: 16px; background: var(--sand); color: var(--red); transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.row-link__icon .icon { width: 50%; height: 50%; }
.row-link__name { min-width: 0; font-size: clamp(1.4rem, 0.9rem + 2.6vw, 3.1rem); font-weight: 550; letter-spacing: -0.035em; line-height: 1.1; text-wrap: balance; }
.row-link__arrow { flex: none; width: clamp(22px, 2.6vw, 34px); height: clamp(22px, 2.6vw, 34px); color: var(--red); transition: transform 0.6s var(--ease), color 0.5s var(--ease); }
@media (hover: hover) {
  .row-link:hover { color: var(--white); }
  .row-link:hover::before { transform: scaleY(1); }
  .row-link:hover .row-link__icon { background: rgba(255, 255, 255, 0.16); color: var(--white); }
  .row-link:hover .row-link__arrow { color: var(--white); transform: rotate(-45deg); }
}

/* Maak kennis met Mo */
.about { gap: clamp(40px, 6vw, 72px); }
.about__body { display: grid; gap: 28px; justify-items: center; width: 100%; }
.about__photo { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .about__photo { aspect-ratio: 16 / 10; } }
.facts { width: 100%; max-width: 520px; border-top: 1px solid var(--line); }
.facts li {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding-block: 16px; border-bottom: 1px solid var(--line);
}
.facts li .icon { color: var(--red); width: 22px; height: 22px; }
.facts li .muted { font-size: 0.9375rem; }

/* Zo starten we, stappen onder elkaar met verbindingslijntjes */
.steps-wrap { gap: clamp(40px, 6vw, 64px); }
.steps { display: grid; width: 100%; max-width: 640px; }
.step {
  position: relative; display: grid; justify-items: center; gap: 14px;
  padding-bottom: clamp(72px, 8vw, 104px);
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: clamp(16px, 2vw, 24px);
  width: 2px; height: clamp(36px, 4vw, 56px); margin-left: -1px; border-radius: 2px;
  background: linear-gradient(var(--red), var(--red)) top / 100% 0 no-repeat, var(--line);
  transition: background-size 0.8s var(--ease);
}
.step.is-on:has(+ .step.is-on)::after { background-size: 100% 100%, auto; }
.step__num {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--cream); border: 1.5px solid var(--line);
  font-weight: 600; font-size: 1.125rem; color: var(--muted);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.step.is-on .step__num { background: var(--red); border-color: var(--red); color: var(--white); }

/* CTA blok */
.cta { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 112px); }
.cta__box {
  position: relative; overflow: hidden; isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  display: grid; justify-items: center; gap: clamp(24px, 3vw, 36px);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px);
  border-radius: var(--radius-lg);
  background: var(--red); color: var(--white);
}
.cta__box .ring { --s: clamp(320px, 52vw, 720px); top: 50%; z-index: -1; }
.cta__box .ring path { stroke: rgba(255, 255, 255, 0.12); stroke-width: 4; }
.cta__title { max-width: min(14ch, 100%); }
.cta__side { display: grid; gap: 24px; justify-items: center; width: 100%; }
.cta__side .btn-row { width: 100%; }
.cta__contact { display: grid; gap: 10px; justify-items: center; }
.cta__phone {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em;
}
.cta__phone .icon { width: 0.8em; height: 0.8em; opacity: 0.75; }
.cta__area { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: rgba(255, 255, 255, 0.82); }
.cta__area .icon { width: 18px; height: 18px; }

/* Footer */
.footer {
  background: var(--wine-dark); color: rgba(251, 245, 239, 0.72);
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
  text-align: center;
}
.footer a { transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__top {
  display: grid; justify-items: center; gap: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid rgba(251, 245, 239, 0.12);
}
.footer__brand { display: grid; gap: 24px; justify-items: center; }
.footer__claim { color: var(--cream); max-width: min(18ch, 100%); }
.footer__cols { display: grid; gap: 20px; justify-items: center; }
.footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
.footer__list a, .footer__list span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__list .icon { width: 18px; height: 18px; color: var(--red-light); }
.footer__list:first-child { font-size: 1.0625rem; color: var(--cream); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 28px;
  padding-top: 20px; font-size: 0.875rem;
}
.footer__bottom div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 28px; }
.footer .logo__emblem { height: 64px; }
.footer .logo__sub { color: rgba(251, 245, 239, 0.62); }
.footer .logo__name { color: var(--cream); font-size: 1.375rem; }
.footer .logo__focus { color: var(--red-light); }

/* WhatsApp knop en melding */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
  display: flex; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px;
  border-radius: 999px;
  background: var(--wa); color: #0b3d1f;
  box-shadow: 0 10px 30px -8px rgba(11, 61, 31, 0.45);
  font-weight: 500;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float__label { display: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(11, 61, 31, 0.55); }
@media (min-width: 1024px) { .wa-float__label { display: inline; } .wa-float { padding: 0 22px 0 18px; } }
@media (max-width: 1023px) { .wa-float { width: 60px; padding: 0; justify-content: center; } }
.js .wa-float { opacity: 0; transform: translateY(16px) scale(0.9); }
.js .wa-float.is-in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.7s var(--ease), box-shadow 0.5s var(--ease); }
.js .wa-float.is-in:hover { transform: translateY(-3px); }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 70;
  width: max-content; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 16px;
  background: var(--ink); color: var(--cream);
  font-size: 0.9375rem; line-height: 1.45;
  box-shadow: 0 18px 40px -16px rgba(42, 27, 24, 0.5);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Subpagina's
   ========================================================================== */
.page-hero {
  position: relative; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
  padding-bottom: clamp(48px, 7vw, 96px);
}
.page-hero .ring { --s: clamp(200px, 28vw, 400px); top: calc(var(--header-h) + clamp(48px, 8vw, 120px) + clamp(40px, 4.5vw, 70px)); }
.page-hero__inner { position: relative; display: grid; gap: clamp(28px, 4vw, 40px); justify-items: center; }
.page-hero__title { max-width: min(16ch, 100%); }

/* Waar ik je mee help */
.help { display: grid; grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .help { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 80px); }
}
.help__item {
  display: grid; justify-items: center; gap: 16px;
  padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.help__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red-soft); color: var(--red); }
.help__icon .icon { width: 24px; height: 24px; }
.help__body { display: grid; gap: 8px; justify-items: center; }

/* Doelgroep details */
.groups { display: grid; gap: clamp(16px, 2vw, 24px); max-width: 900px; margin-inline: auto; }
.group {
  display: grid; gap: 20px; justify-items: center;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--sand);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.group__head { display: grid; gap: 18px; justify-items: center; }
.group__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--red); color: var(--white); }
.group__icon .icon { width: 30px; height: 30px; }

/* Taalband */
.langs { background: var(--red); color: var(--white); overflow: hidden; }

/* Tarieven */
.prices { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.price {
  display: grid; justify-items: center; gap: 14px;
  padding-block: clamp(28px, 3.6vw, 44px);
  border-bottom: 1px solid var(--line);
}
.price__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--sand); font-weight: 500; white-space: nowrap;
}
.price__tag .icon { color: var(--red); width: 18px; height: 18px; }
.note {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 760px; margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--sand);
}
.note p { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 450; }
.note p .icon { color: var(--red); width: 24px; height: 24px; flex: none; }

.checks { display: grid; gap: 14px; justify-items: center; }
.checks li { display: flex; align-items: center; justify-content: center; gap: 14px; }
.checks .tick { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 10px; background: var(--red); color: var(--white); }
.checks .tick .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.checks li span:last-child { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); color: var(--ink-soft); line-height: 1.5; }

/* FAQ */
.faq { width: 100%; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding-block: clamp(20px, 2.6vw, 28px);
  cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq__toggle {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--red);
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}
.faq details[open] .faq__toggle { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: var(--white); }
.faq summary:hover .faq__toggle { border-color: var(--red); }
.faq__answer { padding-bottom: 28px; }
.faq details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* Financiering */
.routes { gap: clamp(24px, 4vw, 40px); }
.subnav {
  position: sticky; top: var(--header-h); z-index: 20;
  justify-self: stretch;
  margin-inline: calc(-1 * var(--gutter));
  padding: 12px var(--gutter);
  background: rgba(250, 240, 237, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: top 0.55s var(--ease);
}
.subnav ul {
  position: relative; display: flex; gap: 8px;
  width: max-content; max-width: 100%; margin-inline: auto;
  overflow-x: auto; scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--cream); font-weight: 450;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media (max-width: 479px) { .subnav a { padding: 10px 15px; } }
.subnav a:hover { border-color: var(--red); }
.subnav a.is-active { background: var(--red); border-color: var(--red); color: var(--white); }
.route-list { display: grid; width: 100%; max-width: 820px; }
.route {
  display: grid; justify-items: center; gap: 24px;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 80px);
}
.route:first-child { border-top: 0; padding-top: clamp(8px, 2vw, 24px); }
.route__via {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  padding: 16px 24px; border-radius: var(--radius);
  background: var(--sand); font-weight: 450;
}
.route__via .icon { color: var(--red); }
.route__via strong { font-weight: 550; }

/* Contact */
.contact { gap: clamp(40px, 6vw, 64px); }
.contact__aside { display: grid; gap: 12px; width: 100%; max-width: 640px; }
.form {
  display: grid; gap: 22px; width: 100%; max-width: 760px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(74, 23, 18, 0.35);
}
.form__row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.9375rem; }
.field legend { width: 100%; padding: 0; font-weight: 500; font-size: 0.9375rem; text-align: center; }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.input {
  width: 100%; min-height: 56px; padding: 14px 18px;
  border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--cream);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: rgba(110, 88, 82, 0.7); }
.input:hover { border-color: rgba(42, 27, 24, 0.24); }
.input:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(156, 28, 38, 0.12); }
textarea.input { min-height: 150px; resize: vertical; }
.select { position: relative; }
.select .input { padding-right: 48px; cursor: pointer; }
.select .icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--red); }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream);
  font-weight: 450;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pill input:hover + span { border-color: rgba(42, 27, 24, 0.3); }
.pill input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }

.consent { display: flex; align-items: flex-start; justify-content: center; gap: 14px; cursor: pointer; font-size: 0.9375rem; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; margin-top: 1px;
  border-radius: 8px; border: 1.5px solid rgba(42, 27, 24, 0.3); background: var(--cream);
  color: transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.consent__box .icon { width: 16px; height: 16px; stroke-width: 2.8; }
.consent input:checked + .consent__box { background: var(--red); border-color: var(--red); color: var(--white); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--red); outline-offset: 3px; }
.consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form__warn {
  display: flex; align-items: flex-start; justify-content: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--sand); font-size: 0.9375rem; line-height: 1.5;
}
.form__warn .icon { color: var(--red); margin-top: 2px; width: 18px; height: 18px; flex: none; }
.form .btn { justify-self: center; }
@media (max-width: 559px) { .form .btn { justify-self: stretch; } }

.c-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--sand);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
a.c-row:hover { background: var(--red); color: var(--white); }
a.c-row:hover .c-row__icon { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.c-row__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--cream); color: var(--red); transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.c-row__icon .icon { width: 22px; height: 22px; }
.c-row__text { font-weight: 500; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.c-row__text.big { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); letter-spacing: -0.02em; }
.c-row > .icon { flex: none; width: 20px; height: 20px; opacity: 0.6; transition: transform 0.4s var(--ease); }
a.c-row:hover > .icon { transform: translateX(4px); opacity: 1; }
.c-row--wa .c-row__icon { color: #128c4b; }

/* Privacy */
.prose { display: grid; gap: clamp(40px, 5vw, 56px); max-width: 760px; margin-inline: auto; }
.prose section { display: grid; gap: 20px; justify-items: center; }

/* ==========================================================================
   Scroll animaties
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js .hero__title { display: grid; }
.js .hero__title .line { overflow: clip; padding-block: 0.3em; margin-block: -0.3em; }
.js .hero__title .line__in {
  display: block;
  transform: translate3d(0, 145%, 0);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms + 100ms);
}
.js.is-loaded .hero__title .line__in { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
html:not(.lenis) { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line__in { transform: none; }
  .rotator__word { transform: none; }
}

/* Aanvullingen */
.photo--wide { aspect-ratio: 4 / 3; }
@media (min-width: 640px) { .photo--wide { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) {
  .hero .ring { --s: 300px; }
  .page-hero .ring { --s: 200px; }
}

/* Gecentreerde kolommen nooit breder dan de beschikbare ruimte (Safari rekent anders dan Chrome) */
.hero__content, .page-hero__inner, .cta__box, .cta__side, .cta__contact,
.footer__top, .footer__brand, .footer__cols,
.why__head, .why__list, .why__item, .why__body,
.split__body, .about__body, .steps, .step,
.help__item, .help__body, .groups, .group, .group__head, .langs__inner,
.price, .route-list, .route, .prose, .prose section, .checks, .text, .form, .contact__aside {
  grid-template-columns: minmax(0, 1fr);
}

/* =============================================================================
   Definitieve versie
   ============================================================================= */
/* Woordmerk op één regel */
.logo__name { font-size: clamp(1rem, 0.86rem + 0.6vw, 1.25rem); white-space: nowrap; letter-spacing: -0.02em; }
.footer .logo__name { font-size: 1.375rem; }
@media (max-width: 359px) {
  .logo { gap: 8px; }
  .logo__emblem { height: 36px; }
  .logo__name { font-size: 0.9375rem; }
}

/* Hero met introtekst */
.hero__title { font-size: clamp(2.25rem, 1.25rem + 4.2vw, 4.75rem); max-width: min(17ch, 100%); }
.hero__lead { margin-top: clamp(20px, 3vw, 32px); }
.text--lead { font-size: clamp(1.0625rem, 0.98rem + 0.45vw, 1.3125rem); max-width: min(60ch, 100%); }

/* Secties */
.section-head--stack { flex-direction: column; align-items: center; }
.cta-gap { height: clamp(24px, 4vw, 48px); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.prose section .link-arrow { justify-self: center; }
.prose__date { font-size: 0.9375rem; text-align: center; }

/* Echte foto's (zodra ze er zijn) */
.photo--img { aspect-ratio: 16 / 10; }
.photo--img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--img::after { display: none; }

/* Melding bovenaan financiering */
.note--top { margin-top: 0; }
.note--top p { align-items: flex-start; text-align: center; }
.note--top p .icon { margin-top: 2px; }

/* Contactformulier */
.field label .muted { font-weight: 400; }
.field__hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 2px; font-size: 0.875rem; line-height: 1.45; color: var(--muted);
}
.field__hint .icon { width: 16px; height: 16px; flex: none; color: var(--red); }
.form__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 559px) {
  .form__actions { flex-direction: column; }
  .form__actions .btn { width: 100%; }
}
.form__done {
  padding: 16px 18px; border-radius: 14px;
  background: var(--sand); font-weight: 450; line-height: 1.5; text-align: center;
}

/* Knoppen op smalle telefoons: volle breedte en tekst mag over twee regels */
@media (max-width: 559px) {
  .btn-row--stack { width: 100%; }
}
@media (max-width: 399px) {
  .btn { white-space: normal; padding-inline: 1.1em; line-height: 1.25; text-align: center; }
}

/* Cirkel in de hero alleen rond de titel, zodat hij niet door de introtekst loopt */
.hero .ring { --s: clamp(230px, 26vw, 370px); top: calc(var(--header-h) + clamp(40px, 8vw, 112px) + clamp(72px, 6.6vw, 96px)); }
.hero__lead { margin-top: clamp(20px, 3.4vw, 48px); }
.hero .ring path { opacity: 0.6; }
@media (max-width: 639px) { .hero .ring { --s: 210px; top: calc(var(--header-h) + 40px + 62px); } }

/* Koppen met de bedrijfsnaam: de naam blijft altijd heel en past altijd op één regel */
.naam { white-space: nowrap; }
.h-display.kop-naam { font-size: min(clamp(2.5rem, 1.3rem + 5.4vw, 5.6rem), calc((100vw - 2 * var(--gutter)) / 12.2)); max-width: 100%; }
.h-xl.kop-naam { font-size: min(clamp(2.1rem, 1.3rem + 3.4vw, 4rem), calc((100vw - 2 * var(--gutter)) / 12.2)); max-width: 100%; }

/* =============================================================================
   Hero op Home: video op de achtergrond en een gradiënt met een vleugje rood
   ============================================================================= */
:root { --band-h: calc(2 * clamp(18px, 2.6vw, 34px) + 1.15 * clamp(2.3rem, 1.3rem + 5vw, 6rem)); }
.hero {
  display: grid; align-items: center;
  min-height: calc(100vh - var(--band-h));
  min-height: calc(100svh - var(--band-h));
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px));
  padding-bottom: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, #faf0ed 0%, #f6dcd6 46%, #eab2aa 100%);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Het beeld schuift heel langzaam, zodat de achtergrond ook op een telefoon leeft */
.hero__drift {
  position: absolute; inset: -5%;
  background: url("../img/hero-poster.jpg") 10% 50% / cover no-repeat;
  animation: hero-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 10% 50%;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__video.is-playing { opacity: 1; }
/* Zacht licht dat langzaam over de muur beweegt */
.hero__light {
  position: absolute; inset: -20% -45%;
  background: radial-gradient(34% 42% at 50% 50%, rgba(255, 247, 240, 0.6), rgba(255, 247, 240, 0) 72%);
  animation: hero-light 15s ease-in-out infinite alternate;
  will-change: transform;
}
/* Vaste lagen: licht bovenaan voor header en titel, zachte waas achter de tekst, rood onderaan */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 240, 237, 0.97) 0%, rgba(250, 240, 237, 0.6) 22%, rgba(250, 240, 237, 0) 48%),
    radial-gradient(72% 56% at 50% 47%, rgba(250, 240, 237, 0.66) 0%, rgba(250, 240, 237, 0) 74%),
    linear-gradient(180deg, rgba(156, 28, 38, 0) 56%, rgba(156, 28, 38, 0.4) 100%);
}
@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(-1.4%, 0.6%, 0); }
  to { transform: scale(1.1) translate3d(1.6%, -1%, 0); }
}
@keyframes hero-light {
  from { transform: translate3d(-24%, -6%, 0); }
  to { transform: translate3d(26%, 8%, 0); }
}
.hero__tag {
  max-width: min(44ch, 100%); margin: clamp(18px, 2.4vw, 28px) auto 0;
  font-size: clamp(1.125rem, 1rem + 0.9vw, 1.6rem); font-weight: 450; line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink); text-wrap: balance;
}
.hero .btn--outline { --btn-bg: rgba(250, 240, 237, 0.72); --btn-bd: rgba(42, 27, 24, 0.3); }
.hero .btn--outline:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .hero__drift, .hero__light { animation: none; }
}

/* =============================================================================
   Taal en cultuur: tekst links, rechts vier vakken met vlag en taal
   ============================================================================= */
.taal { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(28px, 5vw, 48px); }
.taal__text { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(20px, 3vw, 32px); }
.lang-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 460px; }
.lang-card {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22);
  text-align: left;
}
.lang-card__flag { flex: none; width: 54px; height: 36px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.flag { display: block; width: 100%; height: 100%; }
.lang-card__name { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; color: #fbf5ef; }
@media (min-width: 900px) {
  .taal { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
  .taal__text { justify-items: start; text-align: left; }
  .taal__text .text { margin-inline: 0; }
  .lang-cards { justify-self: end; }
}

/* Cirkelboog achter paginatitels: volgt de hoogte van de titel en loopt nooit door de tekst eronder */
.page-hero__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; width: 100%; }
.page-hero__title { position: relative; }
.page-hero .ring { top: 50%; width: auto; height: max(calc(100% + 56px), clamp(200px, 28vw, 400px)); }
.page-hero--lead .ring { height: calc(100% + 56px); }
