
:root {

  --bg: #faf7f2;
  --bg-soft: #faf7f2;
  --bg-cream: #f5f0e8;
  --card: #ffffff;
  --line: #e4ddd3;
  --line-strong: #d4cbbe;

  --text: #2d2016;
  --text-soft: #5c4a3a;
  --text-muted: #7d6c5a;
  --text-heading: #1f1610;
  --text-lead: #4a3c2e;

  --accent: #b58b6a;
  --accent-strong: #9c7455;
  --accent-light: #f3ece5;
  --accent-warm: #c4855c;
  --accent-sand: #c4a882;
  --accent-yellow: #e8d5b5;


  --accent-blue: var(--accent);
  --accent-blue-strong: var(--accent-strong);

  --radius-xl: 34px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 56px rgba(45, 32, 22, 0.14);
  --shadow-md: 0 18px 34px rgba(45, 32, 22, 0.10);
  --shadow-sm: 0 10px 18px rgba(45, 32, 22, 0.06);
  --header-zone: clamp(100px, 12vw, 140px);
  --section-pad: clamp(2.5rem, 4vw, 3.5rem);
  --gutter: 4vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* bottom half = footer end color, so mobile overscroll below the footer isn't a white gap */
  background: linear-gradient(to bottom, var(--bg) 50%, #2a1d14 50%);
  background-attachment: fixed;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.62;
  overflow-x: hidden;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius-lg) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

body::before {
  content: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Merriweather", serif;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

main {
  padding-top: 0;
  padding-bottom: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, 92vw);
  z-index: 120;
  height: var(--header-zone);
  pointer-events: none;
  transition: top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-nav {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
  border-radius: 100px;
  background: transparent;
  border: none;
}

.glass-nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(45, 32, 22, 0.14),
              0 2px 6px rgba(45, 32, 22, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}

.hero-topbar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  height: var(--header-zone);
  width: min(1180px, 92vw);
  pointer-events: none;
}

.hero-topbar--fixed {
  position: fixed;
  z-index: 115;
}

.hero-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.hero-logo img {
  height: clamp(130px, 16vw, 175px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(45, 32, 22, 0.12));
}

/* Logo inside the shared fixed header — desktop keeps its in-hero logo, so this
   is hidden there and only shown on mobile (see mobile block). */
.header-logo {
  display: none;
}

.hero-cta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(181, 139, 106, 0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  background: #8a6548;
  box-shadow: 0 6px 20px rgba(181, 139, 106, 0.4);
}

.glass-nav-links {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.glass-nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.glass-nav-links a:hover {
  background: rgba(181, 139, 106, 0.15);
  color: var(--accent-strong);
}

.glass-nav-links a.active {
  background: rgba(181, 139, 106, 0.18);
  color: var(--accent-strong);
  font-weight: 700;
}

.glass-nav-toggle {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(181, 139, 106, 0.38);
  border-radius: 12px;
  background: rgba(181, 139, 106, 0.18);
  color: var(--text);
  padding: 0;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.glass-nav-toggle:hover {
  background: rgba(181, 139, 106, 0.32);
  border-color: rgba(181, 139, 106, 0.52);
}

.glass-nav-toggle:active {
  transform: scale(0.92);
}

.glass-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 420ms cubic-bezier(0.23, 1, 0.32, 1),
              opacity 260ms ease,
              width 320ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.glass-nav-toggle-bar:nth-child(2) {
  width: 16px;
}

.glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
  transform: translateX(8px);
}

.glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent-strong);
  margin: 0 0 0.4rem;
}

.hero-home {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh + 3px);
  padding: clamp(7rem, 12vw, 10rem) 0 0;
  background: var(--bg);
}

.hero-home-center {
  text-align: center;
  max-width: 780px;
  padding: 0 var(--gutter);
  margin: 0 auto;
  z-index: 1;
}

.hero-home-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--text-heading);
  margin: 0;
}

.hero-home-title em {
  font-style: normal;
  color: var(--accent-strong);
}

.hero-line {
  display: block;
}

.hero-home-stage {
  position: relative;
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero-home-block {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(96%, 1180px);
  height: 60%;
  background: var(--accent-yellow);
  border-radius: var(--radius-xl);
}

.hero-home-image {
  position: relative;
  z-index: 1;
  width: min(86%, 1020px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-home-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 68%;
  max-height: 58vh;
}

.hero-accent-dot {
  display: none;
}

/* ===================== Over-pagina (Wie wij zijn) ===================== */

.ov-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(640px, 100svh);
  padding: calc(var(--header-zone) + 1.5rem) 0 4.5rem;
  background: var(--bg);
  overflow: hidden;
}

.ov-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: -12%;
  width: clamp(420px, 52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 213, 181, 0.4), rgba(232, 213, 181, 0));
  pointer-events: none;
}

.ov-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.ov-hero-text h1 {
  font-size: clamp(3.2rem, 6.6vw, 5.4rem);
  color: var(--text-heading);
  line-height: 1.04;
  margin: 0 0 1.3rem;
}

.ov-hero-rule {
  display: block;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-yellow));
  margin: 0 0 1.4rem;
}

.ov-hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-soft);
  max-width: 46ch;
  line-height: 1.7;
  margin: 0;
}

.ov-hero-media {
  position: relative;
  width: min(100%, 540px);
  margin-left: auto;
}

.ov-hero-block {
  position: absolute;
  top: -20px;
  right: -22px;
  width: 86%;
  height: 88%;
  background: var(--accent-yellow);
  border-radius: var(--radius-xl);
  transform: rotate(3deg);
}

.ov-hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.8;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ov-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 24%;
  will-change: transform;
}

.ov-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  pointer-events: none;
}

.ov-scroll-cue-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent-strong);
}

/* --- gedeelde sectie-opmaak --- */

.ov-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.ov-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--text-heading);
  margin: 0 0 1.6rem;
}

.ov-h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-yellow));
  margin-bottom: 1.1rem;
}

/* --- Ons verhaal --- */

.ov-story-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.ov-story-text p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.78;
  max-width: 58ch;
}

.ov-story-text p:last-child {
  margin-bottom: 0;
}

.ov-story-text .ov-lead {
  font-size: clamp(1.1rem, 1.55vw, 1.26rem);
  color: var(--text-lead);
  font-weight: 500;
}

.ov-story-media {
  will-change: transform;
}

.ov-polaroid {
  position: relative;
  width: min(92%, 440px);
  margin: 0 auto;
  background: #fff;
  padding: clamp(12px, 1.4vw, 16px) clamp(12px, 1.4vw, 16px) clamp(38px, 4vw, 52px);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.4deg);
}

.ov-polaroid::before,
.ov-polaroid::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 84px;
  height: 26px;
  background: rgba(236, 221, 196, 0.85);
  box-shadow: 0 2px 6px rgba(45, 32, 22, 0.08);
}

.ov-polaroid::before {
  left: 16%;
  transform: rotate(-5deg);
}

.ov-polaroid::after {
  right: 16%;
  transform: rotate(4deg);
}

.ov-polaroid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

/* --- breed sfeerbeeld --- */

.ov-wide {
  position: relative;
  width: min(1180px, 92vw);
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
  height: clamp(320px, 52vh, 540px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ov-wide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

/* --- Hoe wij werken --- */

.ov-werken {
  background: linear-gradient(180deg, var(--bg-cream), #f3ecdf);
}

.ov-werken-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.ov-werken-media {
  position: relative;
  width: min(100%, 560px);
}

.ov-werken-block {
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 70%;
  height: 58%;
  background: #fff;
  border-radius: var(--radius-xl);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-sm);
}

.ov-werken-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ov-werken-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  will-change: transform;
}

.ov-werken-text p {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.78;
  max-width: 58ch;
}

.ov-werken-text p:last-child {
  margin-bottom: 0;
}

/* --- quote --- */

.ov-quote {
  padding: clamp(4rem, 9vw, 7rem) 0;
  text-align: center;
}

.ov-quote-mark {
  display: block;
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-size: clamp(5rem, 11vw, 8.5rem);
  line-height: 0.55;
  color: var(--accent);
  opacity: 0.35;
}

.ov-quote-block {
  margin: 0 auto;
  max-width: 800px;
  border: 0;
  padding: 0;
}

.ov-quote-block p {
  font-family: "Merriweather", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2.4rem);
  line-height: 1.45;
  color: var(--text-heading);
  margin: 0;
}

/* --- Toekomstplannen --- */

.ov-toekomst {
  padding-top: 0;
}

.ov-toekomst-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-cream), #f1e7d8 55%, var(--accent-light));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5vw, 4.2rem) clamp(1.6rem, 5vw, 4.2rem);
}

.ov-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ov-orb--a {
  top: -120px;
  right: -90px;
  width: clamp(240px, 30vw, 380px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, rgba(232, 213, 181, 0.65), rgba(232, 213, 181, 0));
}

.ov-orb--b {
  bottom: -80px;
  left: -60px;
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, rgba(181, 139, 106, 0.2), rgba(181, 139, 106, 0));
}

.ov-toekomst-panel .ov-h2,
.ov-toekomst-cols {
  position: relative;
  z-index: 1;
}

.ov-toekomst-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.ov-toekomst-cols p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.78;
}

/* --- tekst-animatie helpers (GSAP) --- */

.ov-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.ov-word {
  display: inline-block;
  will-change: transform;
}

.ov-qword {
  display: inline-block;
}

/* --- responsive --- */

@media (max-width: 900px) {
  .ov-hero {
    min-height: 0;
    padding: 7.5rem 0 3.2rem;
  }

  .ov-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .ov-hero-media {
    width: 100%;
    margin-left: 0;
  }

  .ov-hero-photo {
    aspect-ratio: 4 / 3;
  }

  .ov-hero-block {
    top: -12px;
    right: -10px;
  }

  .ov-scroll-cue {
    display: none;
  }

  .ov-story-grid,
  .ov-werken-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .ov-story-media {
    margin-top: 1.2rem;
  }

  .ov-werken-media {
    width: 100%;
  }

  .ov-wide {
    height: clamp(240px, 52vw, 420px);
  }

  .ov-toekomst-cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ov-toekomst-cols p {
    margin: 0 0 1.1rem;
  }

  .ov-toekomst-cols p:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .ov-story-text p,
  .ov-werken-text p,
  .ov-toekomst-cols p {
    font-size: 0.97rem;
    line-height: 1.74;
  }

  .ov-wide {
    width: min(1180px, 90vw);
  }

  .ov-polaroid {
    width: min(100%, 420px);
  }

  .ov-polaroid::before,
  .ov-polaroid::after {
    width: 64px;
    height: 22px;
    top: -10px;
  }

  .ov-toekomst-panel {
    padding: 1.9rem 1.4rem;
  }
}

/* ===================== einde over-pagina ===================== */

.hero-locatie {
  position: relative;
  text-align: center;
  padding: 12rem 0 5rem;
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-locatie .container {
  position: relative;
  z-index: 1;
}

.hero-locatie-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  color: var(--text);
  max-width: 16ch;
  margin: 0.5rem auto 1rem;
  line-height: 1.08;
}

.hero-locatie-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-locatie-shapes {
  display: none;
}

.hero-nieuws {
  position: relative;
  padding: 9rem 0 2.5rem;
  background: var(--bg-soft);
}

.hero-nieuws h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--text);
  max-width: 20ch;
  line-height: 1.1;
  margin: 0.5rem 0 0;
}

.hero.hero-wide {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(400px, 60vh, 600px);
  margin: 0 0 3.2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero.hero-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero.hero-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(104deg, rgba(16, 39, 56, 0.62), rgba(16, 39, 56, 0.4) 52%, rgba(16, 39, 56, 0.56));
  z-index: 1;
}

.hero-content.hero-content-inline {
  width: min(860px, 92vw);
  margin: 0 auto 8.2vh;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  position: relative;
  z-index: 2;
}

.hero-content.hero-content-inline::before {
  content: none;
}

.eyebrow {
  margin: 0 0 0.18rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-size: 0.79rem;
}

.hero-content.hero-content-inline .eyebrow {
  color: #f6e4be;
}

.hero-content.hero-content-inline h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

.hero-content.hero-content-inline p {
  margin-top: 0.95rem;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  max-width: 58ch;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--text);
  box-shadow: 0 10px 18px rgba(232, 213, 181, 0.42);
}

.btn-outline {
  background: #fff;
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(181, 139, 106, 0.3);
  text-decoration: none;
  transition: background-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.btn-cta:hover {
  background: #8a6548;
  box-shadow: 0 6px 20px rgba(181, 139, 106, 0.4);
  transform: translateY(-1px);
}

.flow-section {
  margin: 0;
  padding: var(--section-pad) 0;
}

.flow-section.flow-section-muted {
  background: transparent;
  border: 0;
}

.flow-section.flow-section-warm {
  background: transparent;
}

.flow-section.flow-section-map {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.flow-prose {
  max-width: 860px;
}

.flow-prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-heading);
  margin: 0 0 0.8rem;
}

.flow-prose h3 {
  margin: 1.25rem 0 0.5rem;
  color: var(--text-heading);
  font-size: 1.24rem;
}

.flow-prose p {
  margin: 0 0 0.95rem;
  color: var(--text-soft);
  max-width: 74ch;
}

.flow-prose .lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  color: var(--text-lead);
}

.flow-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.flow-split-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-heading);
  margin: 0 0 0.8rem;
}

.flow-split-text h3 {
  margin: 1.1rem 0 0.45rem;
  color: var(--text-heading);
  font-size: 1.18rem;
}

.flow-split-text p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  max-width: 52ch;
  line-height: 1.62;
}

.flow-split-text .lead {
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  color: var(--text-lead);
}

.flow-split-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 49, 77, 0.1);
}

.flow-split-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flow-split-image::after {
  content: none;
}

.flow-section-header {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.flow-section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-heading);
  margin: 0 0 0.7rem;
}

.flow-section-header p {
  margin: 0;
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.58;
}

.flow-banner {
  padding: var(--section-pad) 0;
  background: transparent;
  color: var(--text);
  text-align: center;
}

.flow-banner h2 {
  color: var(--text-heading);
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.flow-banner p {
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 auto 1.2rem;
  line-height: 1.56;
}

.flow-banner .flow-actions {
  margin-top: 1.3rem;
}

.flow-banner .btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 8px 18px rgba(181, 139, 106, 0.35);
}
.flow-banner .btn-primary:hover {
  box-shadow: 0 12px 26px rgba(181, 139, 106, 0.45);
}

.flow-banner .btn-outline {
  background: #fff;
  color: var(--text);
  border-color: var(--accent-strong);
}
.flow-banner .btn-outline:hover {
  background: var(--accent-light);
}

.flow-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  justify-content: center;
}

.flow-section .btn-primary {
  background: var(--accent-sand);
  color: #3a2008;
  border: 0;
  border-radius: 999px;
  padding: 0.82rem 1.55rem;
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: 0 4px 12px rgba(242, 201, 150, 0.3);
}

.flow-section .btn-outline {
  background: #fff;
  color: var(--text-heading);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.82rem 1.55rem;
  font-weight: 700;
  font-size: 0.96rem;
}

/* ===================== Home: secties onder de hero ===================== */

.hm-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.hm-h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: var(--text-heading);
  margin: 0 0 1.6rem;
}

.hm-h2::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-yellow));
  margin-bottom: 1.1rem;
}

/* "Goed geregeld": de streep boven de kop tekent zich per element in.
   Gescoped op .hm-quality; de globale .hm-h2::before / .ov-h2::before blijven intact,
   dus .ov-h2 en elke andere .hm-h2 zijn aantoonbaar ongemoeid.
   --rule wordt door GSAP getweend (0 -> 1). Default 1 = streep volledig getekend
   zonder JS en onder prefers-reduced-motion (geen FOUC, geen kapotte fallback). */
.hm-quality .hm-h2 {
  --rule: 1;
}

.hm-quality .hm-h2::before {
  transform: scaleX(var(--rule));
  transform-origin: left center;
}

/* Belt-and-braces: pin de streep volledig zichtbaar onder reduced motion,
   ongeacht een eventueel achtergebleven inline --rule. */
@media (prefers-reduced-motion: reduce) {
  .hm-quality .hm-h2::before {
    transform: none;
  }
}

/* --- Welkom --- */

.hm-welkom-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hm-welkom-text p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  font-size: 1.03rem;
  line-height: 1.78;
  max-width: 58ch;
}

.hm-welkom-text p:last-child {
  margin-bottom: 0;
}

.hm-welkom-cta {
  margin-top: 2.1rem;
}

.hm-welkom-cta .btn-cta {
  padding: 0.88rem 1.9rem;
  font-size: 1.02rem;
  box-shadow: 0 10px 26px rgba(181, 139, 106, 0.35);
}

.hm-welkom-media {
  position: relative;
  width: min(100%, 520px);
  margin-left: auto;
}

.hm-welkom-block {
  position: absolute;
  top: -20px;
  right: -22px;
  width: 86%;
  height: 88%;
  background: var(--accent-yellow);
  border-radius: var(--radius-xl);
  transform: rotate(3deg);
}

.hm-welkom-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hm-welkom-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 114%;
  object-fit: cover;
  will-change: transform;
}

/* --- Pijlers --- */

.hm-pillars {
  background: linear-gradient(180deg, var(--bg-cream), #f3ecdf);
}

.hm-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.hm-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3vw, 2.3rem) clamp(1.5rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.hm-pillar-marker {
  display: block;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-yellow));
  margin-bottom: 1.3rem;
  transform-origin: left center;
}

.hm-pillar h3 {
  font-size: 1.22rem;
  color: var(--text-heading);
  margin: 0 0 0.6rem;
}

.hm-pillar p {
  color: var(--text-soft);
  line-height: 1.72;
  margin: 0;
}

/* --- Kwaliteit & rechten: kop + intro links, warm paneel met kaarten rechts --- */
/* De sectie blijft op de gewone --bg: de hm-pillars-band erboven is al crème.
   De kop + intro staan direct op die paginakleur; alleen het paneel rechts
   draagt het crème-verloop, met drie witte kaarten als losse "rijen". */
.hm-trust-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hm-trust-lede .hm-h2 {
  margin-bottom: 1.4rem;
}

.hm-trust-intro {
  margin: 0;
  max-width: 44ch;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hm-trust-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-cream), #f1e7d8 55%, var(--accent-light));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2rem);
}
/* de .ov-orb / .ov-orb--a / .ov-orb--b regels worden hergebruikt */

/* --- drie compacte kaarten in het paneel --- */
.hm-trust-cards {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.6vw, 1.1rem);
}

.hm-trust-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.15rem, 2.4vw, 1.5rem) clamp(1.2rem, 2.6vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hm-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* Kop + logo op één regel: titel links, logo rechts, verticaal gecentreerd.
   min-height houdt de regel (en dus de koppen) over de drie kaarten gelijk. */
.hm-trust-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  min-height: 32px;
  margin-bottom: 0.55rem;
}

.hm-trust-card-logo {
  flex-shrink: 0;
  margin-left: auto;
  display: block;
  width: auto;
  height: auto;
  max-height: 26px;
  max-width: 120px;
}

/* Het keurmerk is een staand badge-merk; iets ruimer zodat het herkenbaar blijft */
.hm-trust-card-logo--seal {
  max-height: 32px;
}

.hm-trust-card h3 {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--text-heading);
  margin: 0;
}

.hm-trust-card p {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.62;
}

.hm-trust-card p a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(156, 116, 85, 0.35);
}

.hm-trust-card p a:hover {
  border-bottom-color: var(--accent-strong);
}

.hm-quality-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: color 200ms ease;
}

.hm-quality-link:hover {
  color: #8a6548;
}

.hm-quality-arrow {
  font-style: normal;
  transition: transform 230ms ease;
}

.hm-quality-link:hover .hm-quality-arrow {
  transform: translateX(6px);
}

@media (max-width: 600px) {
  .hm-trust-panel {
    padding: clamp(1.1rem, 4vw, 1.5rem);
  }

  .hm-trust-card {
    padding: 1.15rem 1.2rem;
  }
}

/* Smalle telefoons: titel + logo iets compacter zodat ze op één regel blijven
   passen (lange titel "Vertrouwenspersoon" naast het brede Jeugdstem-logo). */
@media (max-width: 460px) {
  .hm-trust-card-head {
    gap: 0.45rem 0.6rem;
  }

  .hm-trust-card h3 {
    font-size: 1.05rem;
  }

  /* Kleiner logo zodat titel + logo op de meeste telefoons (≥375px) op één
     regel blijven; op de allersmalste schermen zakt het logo netjes naar een
     eigen regel (flex-wrap) i.p.v. afgekapt te worden onder overflow:hidden */
  .hm-trust-card-logo {
    max-width: 80px;
  }

  .hm-trust-card-logo--seal {
    max-height: 28px;
  }
}

@media (max-width: 900px) {
  /* Kop + intro stapelen boven het paneel */
  .hm-trust-layout {
    grid-template-columns: 1fr;
    gap: clamp(1.8rem, 5vw, 2.6rem);
  }

  .hm-welkom-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hm-welkom-media {
    width: 100%;
    margin-left: 0;
  }

  .hm-welkom-block {
    top: -12px;
    right: -10px;
  }

  .hm-welkom-photo {
    aspect-ratio: 4 / 3;
  }

  .hm-pillar-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* ===================== einde home-secties ===================== */

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  box-shadow: 0 2px 8px rgba(20, 49, 77, 0.05);
}

.value-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: var(--bg-soft);
  color: var(--accent-strong);
}

.value-card-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.16rem;
  color: var(--text-heading);
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.56;
}

.value-cards-wide {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 1.2rem auto 0;
}

.topic-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #d8ddd2;
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
}

.topic-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--text-heading);
}

.topic-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.52;
}

.contact-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 6px 18px rgba(20, 49, 77, 0.07);
}

.contact-block h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
  color: var(--text-heading);
}

.contact-block p {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-block a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(26, 90, 132, 0.3);
  text-underline-offset: 0.15em;
  transition: text-decoration-color 200ms ease;
}
.contact-block a:hover {
  text-decoration-color: rgba(26, 90, 132, 0.7);
}

.steps-zigzag {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 6px 18px rgba(20, 49, 77, 0.07);
}

.step-item--right {
  align-self: flex-end;
}

.step-item--left {
  align-self: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: "Merriweather", serif;
}

.step-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  color: var(--text-heading);
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.56;
}

.locatie-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.locatie-contact-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-heading);
  margin: 0 0 0.8rem;
}

.locatie-contact-text .lead {
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  color: var(--text-lead);
  margin: 0 0 0.8rem;
}

.locatie-contact-text p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  line-height: 1.62;
}

.locatie-contact-card {
  margin-top: -2rem;
}

.locatie-spot {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 500px;
}

.locatie-spot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.locatie-spot-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(181, 139, 106, 0.2);
  box-shadow: 0 12px 40px rgba(45, 32, 22, 0.15);
}

.locatie-spot-card h2 {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin: 0 0 0.5rem;
}

.locatie-spot-card p {
  margin: 0 0 0.5rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.locatie-spot-card p:last-child {
  margin-bottom: 0;
}

.locatie-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  width: 48%;
}

.timeline-step--left {
  margin-right: auto;
  text-align: right;
  flex-direction: row-reverse;
}

.timeline-step--right {
  margin-left: auto;
}

.timeline-dot {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: "Merriweather", serif;
  box-shadow: 0 4px 14px rgba(181, 139, 106, 0.3);
}

.timeline-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.52rem;
  margin: 0.9rem 0 1.1rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.44rem 0.86rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(181, 139, 106, 0.17);
  color: var(--text);
  border-color: var(--line-strong);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-top: 1.5rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.news-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.04);
}

.news-card-no-img {
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-cream) 100%);
}

.news-card-no-img .news-card-body {
  padding-top: 1.6rem;
}

.news-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.5rem;
  gap: 0.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.news-date {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.news-card-title {
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
}

.news-card-summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 0;
  color: var(--text-soft);
  font-size: 1rem;
}

.news-spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid var(--line);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.news-empty {
  padding: 2rem 0;
  color: var(--text-soft);
}

.news-error {
  padding: 2.5rem 2rem;
  background: #fff8f8;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius-lg);
  text-align: center;
}

.news-error-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.news-error-body {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.news-error-body a {
  color: var(--accent-strong);
  text-decoration: underline;
}

.article-header-plain {
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-cream) 100%);
}

.article-header-plain h1 {
  color: var(--text);
  font-family: "Merriweather", serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.22;
  margin: 0.5rem 0 0;
}

.article-header-plain .eyebrow {
  margin-bottom: 1rem;
}

.article-header-plain .hero-back-link {
  color: var(--text-soft);
}

.article-header-plain .article-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.article-header-plain .article-hero-date {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.article-header-summary {
  max-width: 62ch;
  margin-top: 0.6rem;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.15s;
  text-decoration: none;
}

.hero-back-link:hover {
  color: #fff;
}

.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.article-hero-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.article-hero-summary {
  max-width: 62ch;
  margin-top: 0.6rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.article-body {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0.5rem 0 0;
}

.article-body p {
  margin: 0 0 1.1rem;
  color: var(--text);
  line-height: 1.72;
}

.article-body h2 {
  font-family: "Merriweather", serif;
  font-size: 1.45rem;
  margin: 2.2rem 0 0.7rem;
  color: var(--text);
}

.article-body h3 {
  font-family: "Merriweather", serif;
  font-size: 1.18rem;
  margin: 1.8rem 0 0.5rem;
  color: var(--text);
}

.article-body h4 {
  font-size: 1rem;
  margin: 1.5rem 0 0.4rem;
  font-weight: 700;
  color: var(--text);
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin: 0.6rem 0 1.1rem;
}

.article-body li {
  margin-bottom: 0.3rem;
  line-height: 1.65;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: 0.6rem 1.2rem;
  background: rgba(181, 139, 106, 0.09);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--text-soft);
  font-style: italic;
}

.article-body blockquote p {
  margin: 0;
}

.article-body pre {
  background: #2d2016;
  color: #e4ddd3;
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 1.2rem 0;
}

.article-body code {
  font-family: monospace;
  font-size: 0.9em;
  background: rgba(181, 139, 106, 0.1);
  padding: 0.12em 0.38em;
  border-radius: 4px;
}

.article-body pre code {
  background: transparent;
  padding: 0;
}

.article-body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-figure {
  margin: 1.5rem 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.83rem;
  color: var(--text-soft);
  text-align: center;
}

.article-back-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

.article-back-row .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gallery-heading {
  font-family: "Merriweather", serif;
  color: var(--text);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 35, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(96vw, 1200px);
  max-height: 96svh;
  padding: 0 0.5rem;
}

.lightbox-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90svh;
  border-radius: 12px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.55);
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev,
.lightbox-next {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-counter {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  white-space: nowrap;
}

body.lightbox-open {
  overflow: hidden;
}

.badge {
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: #f2e7d8;
  color: #6d3f1e;
  font-weight: 800;
  font-size: 0.77rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.empty {
  color: var(--text-muted);
  font-style: italic;
}

.small-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 0;
  padding: 3rem 0 0;
  background: linear-gradient(170deg, #2d2016, #352618 40%, #2a1d14);
  color: rgba(255, 255, 255, 0.90);
  border-top: 0;
}

.footer-map {
  margin-bottom: 2.5rem;
}

.footer-map-inline {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 160px;
}

.footer-map-inline iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) brightness(0.85);
}

.site-footer h3,
.site-footer h4 {
  font-family: "Merriweather", serif;
  color: #fff;
  margin: 0 0 0.65rem;
}

.site-footer h3 {
  font-size: 1.32rem;
}

.site-footer h4 {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.site-footer a {
  color: #d4cbbe;
  text-decoration: none;
  transition: color 200ms ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.7fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand p {
  margin-top: 0.6rem;
  font-size: 0.92rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  display: inline-block;
  padding: 0.12rem 0;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 2rem 0 0;
}

.footer-bottom {
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.84rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-trust {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-badge:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-badge img {
  display: block;
  width: auto;
}

.footer-badge--keurmerk img {
  height: 46px;
}

.footer-badge--yorneo img {
  height: 28px;
}

.footer-kvk {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.5rem;
  line-height: 1.7;
}

.footer-address {
  margin-top: 0.8rem;
}

.footer-map-small {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-map-small iframe {
  width: 100%;
  height: 150px;
  border: 0;
  display: block;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-credit img {
  height: 18px;
  width: auto;
  opacity: 0.6;
  transition: opacity 200ms ease;
}

.footer-credit:hover img {
  opacity: 1;
}

body[data-page="locatie"] .footer-map-small {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 881px) {
  .flow-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }

  .flow-split-reverse {
    direction: rtl;
  }
  .flow-split-reverse > * {
    direction: ltr;
  }

  .step-item {
    max-width: 65%;
  }
}

@media (max-width: 980px) {
  .flow-split-image {
    max-height: none;
  }

  .flow-split-image img {
    aspect-ratio: 16 / 10;
    width: 100%;
  }

  .value-cards {
    grid-template-columns: 1fr 1fr;
  }

  .value-cards-wide {
    grid-template-columns: 1fr 1fr;
  }

  .topic-cards {
    grid-template-columns: 1fr 1fr;
  }

  .over-steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .locatie-contact-grid {
    grid-template-columns: 1fr;
  }

  .locatie-contact-card {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-zone: 76px;
  }

  /* Drop the centering transform on mobile: a transformed ancestor would
     become the containing block for the position:fixed menu overlay below,
     trapping it inside the pill instead of filling the viewport. */
  .site-header {
    left: 0;
    right: 0;
    width: auto;
    transform: none;
  }

  /* Frosted backing lives on a pseudo-element, NOT on .site-header itself:
     backdrop-filter (like transform) makes an element a containing block for
     fixed descendants, which would trap the fullscreen menu overlay inside the
     bar. On the pseudo it tints the bar without affecting the overlay. */
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 242, 0.55);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 6px 24px rgba(45, 32, 22, 0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  html.header-scrolled .site-header::before {
    opacity: 1;
  }

  .glass-nav {
    border-radius: 18px;
    padding: 0;
    left: auto;
    right: var(--gutter);
    top: 0;
    height: var(--header-zone);
    transform: none;
  }

  .glass-nav-pill {
    display: none;
  }

  .glass-nav-links {
    position: fixed;
    inset: 0;
    z-index: 200;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(165deg, rgba(45, 32, 22, 0.97), rgba(60, 44, 30, 0.97));
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }

  .glass-nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
  }

  .glass-nav-links a {
    color: #fff;
    font-size: 1.5rem;
    font-family: "Merriweather", serif;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
  }

  .glass-nav-links a:hover {
    background: rgba(181, 139, 106, 0.2);
  }

  .glass-nav-links a.active {
    background: rgba(181, 139, 106, 0.25);
    color: var(--accent-yellow);
  }

  .hero-logo {
    display: none;
  }

  /* Logo is larger than the slim bar and centered vertically, overhanging the
     bar symmetrically. The logo SVG has internal padding around the artwork, so
     the visible mark stays on-screen even though the image box extends above. */
  .header-logo {
    display: block;
    position: absolute;
    left: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
  }

  .header-logo img {
    height: 106px;
    width: auto;
    display: block;
    filter: drop-shadow(0 3px 8px rgba(45, 32, 22, 0.16));
  }

  .hero-cta {
    display: none;
  }

  .glass-nav-toggle {
    display: flex;
    margin-left: auto;
    z-index: 210;
    width: 56px;
    height: 56px;
    gap: 7px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

  .glass-nav-toggle:hover,
  .glass-nav-toggle:active {
    background: transparent;
    border-color: transparent;
  }

  .glass-nav-toggle-bar {
    width: 30px;
    height: 3px;
    background: var(--accent-strong);
    border-radius: 3px;
  }

  .glass-nav-toggle-bar:nth-child(2) {
    width: 20px;
  }

  .glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .glass-nav-toggle[aria-expanded="true"] .glass-nav-toggle-bar {
    background: #fff;
  }

  html.nav-open {
    overflow: hidden;
  }


  .hero-home {
    padding: 6.5rem 0 0;
  }

  .hero-home-center {
    margin-bottom: 2.5rem;
  }

  .hero-home-stage {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hero-home-block {
    width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    height: 70%;
  }

  .hero-home-image {
    width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    box-shadow: none;
  }

  .hero-home-image img {
    max-height: none;
    height: 70vh;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-locatie {
    padding: 9rem 0 3rem;
  }


  .timeline-line {
    left: 20px;
  }

  .timeline-step {
    width: 100%;
    padding-left: 52px;
  }

  .timeline-step--left {
    text-align: left;
    flex-direction: row;
  }

  .timeline-dot {
    position: absolute;
    left: 0;
  }
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .footer-trust {
    justify-content: flex-start;
  }

  /* Decouple image and card on mobile: the image is its own rounded box at its
     natural size, and the wrapper stops clipping/framing so the card can overlap
     the image bottom without stretching the wrapper down around it. */
  .locatie-spot {
    max-height: none;
    border-radius: 0;
    overflow: visible;
  }

  .locatie-spot-img {
    height: auto;
    min-height: 240px;
    border-radius: var(--radius-lg);
    display: block;
  }

  .locatie-spot-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin: -2rem 1rem 0;
    max-width: none;
  }
}

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

@media (max-width: 600px) {
  body {
    line-height: 1.68;
  }

  .container {
    width: min(1180px, 90vw);
  }

  .flow-split-text p,
  .flow-prose p,
  .flow-section-header p,
  .flow-banner p {
    font-size: 0.94rem;
  }

  .flow-split-text p,
  .flow-prose p,
  .flow-section-header p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .flow-split-text h2,
  .flow-prose h2,
  .flow-section-header h2 {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }

  .flow-split-image {
    max-height: none;
  }

  .flow-split-image img {
    aspect-ratio: 16 / 10;
    width: 100%;
  }

  .value-cards,
  .value-cards-wide,
  .topic-cards {
    grid-template-columns: 1fr;
  }

  .flow-split-text p {
    max-width: none;
  }

  .value-card {
    padding: 1.2rem 1.1rem;
  }

  .value-card p {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .news-card-body {
    padding: 1rem 1.1rem 1.3rem;
  }

  .news-card-title {
    font-size: 1.05rem;
  }

  .news-card-summary {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .hero-content.hero-content-inline p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .article-body p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .contact-block {
    padding: 1.3rem 1.1rem;
  }

  .flow-banner {
    padding: 2rem 0;
  }

  .flow-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .glass-nav-toggle {
    flex-shrink: 0;
  }
}

@media (max-width: 560px) {
  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
  }

  .lightbox-inner {
    gap: 0.4rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
