/* ============================================================
   Gespecialiseerde Zorg Katrien Mestdagh
   Apple-geïnspireerd designsysteem · origineel kleurenpalet
   ------------------------------------------------------------
   Systeem:
   - Typografie: Manrope (zelf gehost), strakke letter-spacing,
     gewichten 600/700/800, Apple-achtige maatvoering (17px body)
   - Raster: container 1080px, 8pt-ritme, ruime secties
   - Oppervlakken: grote afgeronde kaarten (18–28px), zachte
     schaduwen, hairline-randen, frosted-glass navigatie
   ============================================================ */

:root {
  /* Origineel palet — ongewijzigd */
  --ink: #273f46;
  --deep: #315c65;
  --teal: #6695a0;
  --coral: #d77c74;
  --coral-dark: #a94b45;
  --pale: #f4f8f8;
  --blush: #fdf3f1;
  --line: #d5e2e4;
  --muted: #4e646a;
  --white: #fff;

  /* Apple-systeemtokens */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 980px;
  --shadow-card: 0 4px 24px rgba(39, 63, 70, 0.08);
  --shadow-float: 0 12px 40px rgba(39, 63, 70, 0.14);
  --hairline: 1px solid var(--line);
  --container: 1080px;
  --gutter: max(22px, calc((100vw - var(--container)) / 2));
  --section-y: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ---------- Basis ---------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 Manrope, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
p + p { margin-top: 16px; }

h1, h2, h3 {
  color: var(--deep);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

h1 { font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.032em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 20px; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.02em; }
h1, h2, h3 { text-wrap: balance; }

p { max-width: 66ch; text-wrap: pretty; }

a, button, summary { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--white);
  padding: 12px 18px;
  z-index: 100;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-float);
  font-weight: 700;
}
.skip:focus { top: 12px; }

/* Focusring op donkere vlakken: koraal heeft daar te weinig contrast */
.hero :focus-visible,
.specialist-care :focus-visible,
.continuity-section :focus-visible,
.contact :focus-visible,
footer :focus-visible { outline-color: #fff; }

/* ---------- Navigatie: zwevende balk ----------
   Opbouw naar het Preline-blok "Floating Website Header": de balk ligt los
   van de pagina (sticky op 16px), max. 1024px breed, volledig afgerond.
   Onder 768px klapt de navigatie in achter een ronde knop. */

.site-header {
  --bar-height: 50px;
  position: sticky;
  top: 12px;
  z-index: 50;
  /* Vaste hoogte en negatieve ondermarge: de balk ligt óp de foto en het
     uitgeklapte mobiele menu schuift de pagina niet naar beneden. */
  height: var(--bar-height);
  margin: 12px 0 calc(-12px - var(--bar-height));
  padding: 0 12px;
  pointer-events: none;
}

.site-nav {
  position: relative;
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  padding: 6px 6px 6px 16px;
  background: var(--white);
  border: var(--hairline);
  border-radius: 32px;
  box-shadow: 0 6px 24px rgba(30, 26, 28, 0.16);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled .site-nav { box-shadow: 0 10px 32px rgba(39, 63, 70, 0.16); }

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand { display: block; flex: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-header .brand { width: 137px; height: 36px; margin-left: -4px; }

.nav-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: var(--hairline);
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
/* Vergroot het raakvlak tot 44px zonder de knop zelf groter te maken */
.nav-toggle::after { content: ''; position: absolute; inset: -4px; }
.nav-toggle:hover { background: var(--pale); border-color: var(--teal); }
.nav-toggle svg { width: 16px; height: 16px; }
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Ingeklapt: hoogte 0 en niet focusbaar; .open klapt vloeiend uit */
.nav-collapse {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s var(--ease), visibility 0s 0.3s;
}
.nav-collapse.open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.3s var(--ease), visibility 0s;
}
.nav-scroll { min-height: 0; max-height: 75vh; overflow: hidden auto; }

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px 8px 0;
}

.nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link[aria-current],
.nav-link.is-active,
.nav-link.is-active:hover { color: var(--coral-dark); }

.nav-icon { flex: none; width: 16px; height: 16px; margin-right: 12px; }
.nav-chevron { flex: none; width: 16px; height: 16px; margin-left: auto; transition: transform 0.3s var(--ease); }
.nav-dropdown-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(-180deg); }

.nav-dropdown { position: relative; }
.nav-menu {
  position: relative;
  padding: 4px 0 4px 28px;
}
.nav-menu[hidden] { display: none; }
/* Mobiel: verticale geleidelijn naast de uitgeklapte items */
.nav-menu::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 15px;
  width: 1px;
  background: var(--line);
}
.nav-menu .nav-link { padding-block: 6px; }

.nav-group { position: relative; display: flex; }
.nav-contact { color: var(--coral-dark); font-weight: 700; }
.nav-contact:hover { color: #843b38; }

@media (min-width: 768px) {
  .site-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .nav-toggle { display: none; }

  .nav-collapse,
  .nav-collapse.open { display: block; flex: 1 1 auto; visibility: visible; transition: none; }
  .nav-scroll { max-height: none; overflow: visible; }
  .nav-list { flex-direction: row; align-items: center; justify-content: flex-end; gap: 4px; padding: 0; }

  .nav-link { width: auto; }
  .nav-link > .nav-icon { display: none; }
  .nav-chevron { margin-left: 4px; }
  .nav-dropdown-toggle[aria-expanded="true"] .nav-chevron { transform: none; }

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 10;
    width: 208px;
    padding: 4px;
    background: var(--white);
    border: var(--hairline);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(39, 63, 70, 0.12);
    animation: nav-menu-in 0.15s var(--ease);
  }
  .nav-menu::after { content: none; }
  /* Onzichtbare brug zodat de muis het menu niet verliest boven de opening */
  .nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .nav-menu .nav-link { width: 100%; }
  .nav-menu .nav-link:hover { background: var(--pale); }

  .nav-group { margin-left: 6px; padding-left: 10px; }
  .nav-group::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -1px;
    width: 1px;
    height: 16px;
    background: var(--line);
    transform: translateY(-50%);
  }
  .nav-group .nav-icon { display: block; margin-right: 8px; }
}
@keyframes nav-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Knoppen ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  background: var(--coral-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.button { min-height: 50px; padding: 12px 28px; font-size: 16px; }

.button:hover { background: #843b38; box-shadow: 0 6px 20px rgba(169, 75, 69, 0.3); }
.button:active { transform: scale(0.97); box-shadow: none; }

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--deep);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease);
}
.text-link:hover { color: var(--coral-dark); text-decoration: underline; }

/* ---------- Sectieritme ---------- */

.section {
  max-width: var(--container);
  margin: auto;
  padding: var(--section-y) 22px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--coral-dark);
  margin: 0 0 16px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  margin: 18px auto 0;
}
.section-heading .section-label { margin: 0 auto 14px; }

/* ---------- Fotoheader met levende typografie ---------- */

.hero {
  --hero-width: min(100vw, 1440px);
  position: relative;
  display: block;
  padding: 0;
  background: #2e292b;
  color: #fff;
}
.hero-visual {
  position: relative;
  container-type: inline-size;
  width: min(100%, 1440px);
  /* Fotoverhouding, plus op smallere schermen extra muur bovenaan zodat de
     zwevende balk (onderkant op 62px) boven de hoofden blijft. */
  height: calc(min(100vw, 1440px) * 864 / 1552 + max(0px, 88px - 7.2vw));
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* Donker verloop onder de slogan: houdt de gekleurde regels leesbaar op de foto */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(30, 26, 28, .72) 0%, rgba(30, 26, 28, .46) 30%, rgba(30, 26, 28, 0) 62%);
}
.hero-slogan {
  position: absolute;
  top: 50%;
  left: 21.3%;
  right: 6%;
  z-index: 1;
  margin: 0;
  color: #fff8f7;
  text-shadow: 0 .02em .22em rgba(30, 26, 28, .45);
  font-family: Montserrat, Manrope, Arial, sans-serif;
  font-size: 7cqw;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.74;
  text-transform: uppercase;
}
.slogan-line {
  display: block;
  width: max-content;
  max-width: 100%;
  padding: 0.02em 0 0.06em;
  overflow: hidden;
}
.slogan-line > span { display: block; white-space: nowrap; }
.slogan-line-two { margin-left: 40.5%; color: #f3a69e; }
.slogan-line-three { color: #9fd0dc; }
.slogan-line-four { margin-left: 17.5%; }
/* De animatie start vanzelf bij het laden (geen JavaScript nodig, dus geen
   flits en nooit een onzichtbare slogan). .hero-out zet ze stil zodra de
   header uit beeld is, zodat ze bij terugkeer opnieuw speelt. */
.slogan-line > span {
  animation: slogan-arrive 1.05s cubic-bezier(.16, 1, .3, 1) both;
}
.slogan-line-one > span { animation-delay: .12s; }
.slogan-line-two > span { animation-delay: .32s; }
.slogan-line-three > span { animation-delay: .52s; }
.slogan-line-four > span { animation-delay: .72s; }
.hero-out .slogan-line > span { animation: none; }
@keyframes slogan-arrive {
  from { opacity: 0; transform: translate3d(0, 115%, 0) rotate(3deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}
.hero-discover {
  position: absolute;
  bottom: 3%;
  left: 5%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  color: #fff8f7;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
}
.hero-discover span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  font-size: 18px;
  transition: transform .25s var(--ease);
}
.hero-discover:hover span { transform: translateY(3px); }
/* ---------- Nieuwskader ----------
   Vanaf 1200px zweeft het links in de foto, naast de slogan, en schaalt het
   mee met de fotobreedte. Daaronder staat het als blok onder de foto. */

.hero-news {
  position: relative;
  max-width: 1160px;
  margin: 20px auto 4px;
  width: calc(100% - 44px);
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(49, 92, 101, 0.94), rgba(22, 40, 45, 0.94));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  color: #fff;
  font-size: 15px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-news:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42); }
.hero-news-label {
  margin: 0 -18px 0 0;
  padding-bottom: 0.25em;
  border-bottom: 2px solid #ef8f86;
  max-width: none;
  color: #ef8f86;
  font-size: 1.35em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero-news-text {
  margin: 1.1em 0 0;
  max-width: 62ch;
  font-style: italic;
  line-height: 1.32;
  color: #fff;
}
.hero-news-text strong { font-weight: 800; }
.hero-news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  margin-top: 0.5em;
  color: #9fd0dc;
  font-size: 0.95em;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.hero-news-link svg { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease); }
.hero-news:hover .hero-news-link svg { transform: translate(2px, -2px); }
/* Aandachtstrekkers: een koraalrode ring die uitdijt, een lichtglans die over
   het kader veegt en een pijl die meebeweegt. Stoppen bij hover of focus. */
.hero-news::before,
.hero-news::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.hero-news::before { animation: hero-news-ring 2.8s ease-out 2.6s infinite; }
.hero-news::after {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 58%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  animation: hero-news-sheen 5.6s var(--ease) 2.6s infinite;
}
.hero-news-link svg { animation: hero-news-arrow 2.8s var(--ease) 2.6s infinite; }
.hero-news:hover::before,
.hero-news:hover::after,
.hero-news:focus-within::before,
.hero-news:focus-within::after,
.hero-news:hover .hero-news-link svg { animation: none; }
@keyframes hero-news-ring {
  0% { box-shadow: 0 0 0 0 rgba(239, 143, 134, 0.75); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(239, 143, 134, 0); }
}
@keyframes hero-news-sheen {
  0% { background-position: 130% 0; }
  45%, 100% { background-position: -30% 0; }
}
@keyframes hero-news-arrow {
  0%, 60%, 100% { translate: 0 0; }
  30% { translate: 3px -3px; }
}
@keyframes hero-news-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* Het hele kader is klikbaar */
.hero-news-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

@media (min-width: 1200px) {
  .hero-news {
    position: absolute;
    z-index: 2;
    top: calc(var(--hero-width) * 0.286);
    left: calc((100% - var(--hero-width)) / 2 + var(--hero-width) * 0.05);
    width: calc(var(--hero-width) * 0.154);
    margin: 0;
    padding: calc(var(--hero-width) * 0.009) calc(var(--hero-width) * 0.009) calc(var(--hero-width) * 0.012);
    border-radius: 8px;
    font-size: calc(var(--hero-width) * 0.0108);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: linear-gradient(165deg, rgba(49, 92, 101, 0.88), rgba(22, 40, 45, 0.9));
    animation: hero-news-in 1s cubic-bezier(.2, 1.3, .4, 1) 1.5s both, hero-news-float 5s ease-in-out 2.6s infinite;
  }
  .hero-news-label { margin-right: calc(var(--hero-width) * -0.009); }
  .hero-news-link { min-height: 0; margin-top: 1.6em; }
}
@keyframes hero-news-in {
  from { opacity: 0; transform: translate3d(-60px, 0, 0) scale(0.92); }
  to { opacity: 1; transform: none; }
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 16px 60px;
  max-width: 1160px;
  margin: auto;
  padding: 40px 40px 46px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-kicker {
  grid-column: 1;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .015em;
  text-transform: uppercase;
  color: #ffc9c3;
}
.hero .intro {
  grid-column: 1;
  grid-row: 2 / 4;
  font-size: 16px;
  line-height: 1.7;
  color: #e9e0de;
  margin: 0;
}
.cta-bar {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  margin: 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #fff8f7;
}
.cta-bar-field { min-width: 0; }
.cta-bar-field small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--muted);
}
.cta-bar-field > a {
  display: inline-block;
  padding: 3px 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--deep);
  overflow-wrap: anywhere;
}
.cta-bar-field > a { text-decoration: none; }
.cta-bar-field > a[href^="mailto"] { font-size: 15px; }
.cta-bar-field > a:hover { text-decoration: underline; }
.cta-bar .button { grid-column: 2; grid-row: 1 / 3; }

/* ---------- Waardenstrook ---------- */

.values {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 28px var(--gutter) 0;
  list-style: none;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
}
.values li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 22px;
  background: var(--pale);
  border: var(--hairline);
  border-radius: var(--radius-pill);
}

/* ---------- Zorgaanbod ---------- */

.care-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.care-panel {
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-card);
}

.general-care { background: var(--pale); }
.specialist-care { background: var(--deep); color: #fff; }
.specialist-care h3 { color: #fff; }

.care-count {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--coral-dark);
}
.specialist-care .care-count { color: #f1c1bc; }

.care-panel h3 { max-width: 24ch; font-size: clamp(23px, 2.3vw, 30px); }
.care-panel > p { margin-bottom: 22px; color: var(--muted); }
.specialist-care > p { color: #d9e5e8; }

.care-panel ul { padding: 0; margin: 0 0 26px; list-style: none; }
.care-panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(102, 149, 160, 0.3);
  font-weight: 600;
  font-size: 16px;
}
.specialist-care li { border-color: rgba(255, 255, 255, 0.24); }
.care-panel li:last-child { border-bottom: 0; }

.care-panel > a {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  color: var(--coral-dark);
  text-decoration: none;
}
.care-panel > a:hover { text-decoration: underline; }
.specialist-care > a { color: #f1c1bc; }

.care-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-top: var(--hairline);
  margin-top: 40px;
  padding-top: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.care-notes strong { color: var(--deep); }

.care-notes { align-items: start; }
.care-notes > p { margin: 0; }

/* ---------- Vertrouwenssectie ---------- */

.trust-section {
  width: calc(100% - 44px);
  max-width: var(--container);
  background: var(--blush);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.trust-section h2 { max-width: 20ch; }
.trust-section p:last-child { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 70ch; }

.trust-icon {
  width: 112px;
  height: 112px;
  background: var(--white);
  color: var(--coral-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow-card);
}

.care-count .care-number {
  flex: none;
  width: clamp(56px, 7vw, 76px);
  height: clamp(56px, 7vw, 76px);
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.care-label { min-width: 0; }
.specialist-care .care-number::after { border-color: rgba(241, 193, 188, .5); }

/* ---------- Verhaal ---------- */

.story-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 90px);
}

.story-lead h2 { letter-spacing: -0.025em; }
.story-lead > p:not(.section-label) { font-size: 19px; line-height: 1.7; color: var(--muted); }

.story-signature {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: var(--hairline);
}
.story-signature img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
}
.story-signature strong, .story-signature small { display: block; }
.story-signature strong { color: var(--deep); }
.story-signature small { color: var(--muted); margin-top: 2px; }

.story-text > p { margin-bottom: 18px; line-height: 1.7; }

.story-text details {
  margin-top: 24px;
  border-top: var(--hairline);
}
.story-text summary {
  font-weight: 700;
  color: var(--deep);
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  min-height: 56px;
}
.story-text summary::-webkit-details-marker { display: none; }
.story-text summary:hover { color: var(--coral-dark); }

.story-text summary:after,
.students summary:after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 300;
  color: var(--coral-dark);
}
.story-text details[open] summary:after,
.students[open] summary:after { content: '−'; }
.story-more p { margin: 0 0 18px; line-height: 1.7; }

/* ---------- Team ---------- */

.team-section {
  max-width: none;
  background: var(--pale);
  padding-inline: var(--gutter);
}

.team-section .section-heading {
  text-align: center;
  margin-inline: auto;
}
.team-section .section-heading p { margin-inline: auto; }

.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.team-gallery figure {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.team-gallery img { width: 100%; height: 250px; object-fit: cover; }
.team-gallery figure:nth-child(2) img { object-position: center 65%; }
.team-gallery figcaption { padding: 14px 18px; font-weight: 700; font-size: 14px; color: var(--deep); }

.team-leads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 36px auto 0;
}
.team-leads > div {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}
.team-leads h3 { margin-bottom: 8px; }
.team-leads p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.team-leads a {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--coral-dark);
  text-decoration: none;
}
.team-leads a:hover { text-decoration: underline; }

/* ---------- Continuïteit ---------- */

.continuity-section {
  max-width: none;
  background: var(--deep);
  color: #fff;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.continuity-section .section-label { color: #ffc9c3; }
.continuity-section h2 { color: #fff; max-width: 18ch; }
.continuity-section p { color: #d9e5e8; font-size: 17px; line-height: 1.65; }
.continuity-section .button {
  background: #fff;
  color: var(--deep);
  margin-top: 26px;
}
.continuity-section .button:hover { background: #f5e1de; color: var(--deep); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }

.equipment {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
}
.equipment h3 { color: #ffc9c3; }
.equipment p { color: #d9e5e8; font-size: 16px; }

/* ---------- Werkgebied ---------- */

.region {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.region h2 { max-width: 15ch; }
.region > div > p:not(.section-label):not(.map-help) { color: var(--muted); font-size: 17px; }

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 14px;
}

.place {
  min-height: 44px;
  cursor: pointer;
  background: var(--white);
  border: var(--hairline);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.place:hover { border-color: var(--deep); box-shadow: var(--shadow-card); }
.place[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }

.map-help { font-size: 14px; color: var(--muted); }
.map-reset {
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.map-reset:hover { text-decoration: underline; }
.map-reset[hidden] { display: none; }

.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pale);
  border: var(--hairline);
  box-shadow: var(--shadow-card);
}
.map-frame { height: 340px; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--pale); }

.map-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
  background: var(--white);
}
.map-caption small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.map-caption a { min-height: 44px; display: flex; align-items: center; white-space: nowrap; color: var(--coral-dark); text-decoration: none; font-weight: 700; }
.map-caption a:hover { text-decoration: underline; }

/* ---------- Netwerk ---------- */

.network {
  max-width: none;
  background: var(--blush);
  padding-inline: var(--gutter);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.partner-grid > div {
  background: var(--white);
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.partner-grid h3 { font-size: 20px; }
.partner-grid p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.students {
  max-width: var(--container);
  margin: 28px auto 0;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0 clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.students summary {
  min-height: 60px;
  padding: 18px 40px 18px 0;
  cursor: pointer;
  position: relative;
  font-weight: 700;
  color: var(--deep);
  list-style: none;
  display: flex;
  align-items: center;
}
.students summary::-webkit-details-marker { display: none; }
.students summary:hover { color: var(--coral-dark); }
.students p { color: var(--muted); }
.students a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 14px 0 24px;
  font-weight: 700;
  color: var(--coral-dark);
  text-decoration: none;
}
.students a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */

.contact {
  max-width: none;
  padding: var(--section-y) var(--gutter);
  background: var(--deep);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.contact .section-label { color: #ffc9c3; }
.contact h2 { color: #fff; max-width: 14ch; }
.contact p { color: #d9e5e8; font-size: 17px; }

.contact-links a { display: block; text-decoration: none; color: #fff; }
.contact-links small { display: block; font-size: 14px; font-weight: 700; color: #ffc9c3; margin-bottom: 4px; }

.phone { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; }
.phone:hover { text-decoration: underline; }
.email { margin-top: 26px; font-size: 19px; overflow-wrap: anywhere; font-weight: 600; }
.email:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

footer {
  background: #24464e;
  color: #fff;
  padding: clamp(44px, 5vw, 64px) var(--gutter) 28px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-main .brand {
  width: 240px;
  height: 64px;
  margin-left: -14px;
}
.footer-main > p { font-size: 15px; color: #d7e6e9; }
.footer-main > div { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; }
.footer-main > div a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-main > div a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #d7e6e9;
}
.footer-bottom a { color: #fff; font-weight: 700; display: inline-block; padding: 6px 0; }

/* ============================================================
   Responsief · herontwerp per breekpunt, geen geknepen desktop
   ============================================================ */

@media (max-width: 1040px) {
  .hero-copy { grid-template-columns: 1fr; gap: 16px; padding: 30px 22px 36px; }
  .hero-copy > * { grid-column: 1; grid-row: auto; }
  .cta-bar { margin-top: 10px; }
}

@media (max-width: 920px) {
  .care-columns { grid-template-columns: 1fr; gap: 18px; }
  .care-notes { grid-template-columns: 1fr; gap: 18px; }

  .trust-section { grid-template-columns: 84px 1fr; gap: 24px; padding: clamp(30px, 5vw, 44px); }
  .trust-icon { width: 80px; height: 80px; font-size: 42px; }

  .story-section,
  .region,
  .contact,
  .continuity-section { grid-template-columns: 1fr; gap: 36px; }

  .team-gallery { grid-template-columns: 1fr 1fr; }
  .team-gallery figure:first-child { grid-column: 1 / -1; }
  .team-gallery figure:first-child img { height: 300px; }
  .team-leads { grid-template-columns: 1fr; }

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

@media (max-width: 600px) {
  h1 { font-size: clamp(38px, 10.5vw, 52px); }
  h2 { font-size: clamp(29px, 8vw, 38px); }

  .hero-visual { height: auto; aspect-ratio: 10 / 9; }
  .hero-slogan { top: 54%; left: 8%; right: 5%; font-size: 9.4cqw; }
  .slogan-line-two { margin-left: 30%; }
  .slogan-line-four { margin-left: 10%; }
  .hero-discover { display: none; }
  .hero-copy { padding-top: 26px; }
  .cta-bar { padding: 18px; gap: 12px; }
  .cta-bar .button { grid-column: 1 / -1; grid-row: auto; width: 100%; margin-top: 4px; }
  .cta-bar-field { grid-column: 1 / -1; }

  .values { gap: 8px; padding-top: 22px; justify-content: flex-start; padding-inline: 22px; }
  .values li { font-size: 13px; min-height: 40px; padding: 6px 16px; }

  .trust-section { grid-template-columns: 1fr; gap: 18px; }
  .trust-icon { width: 64px; height: 64px; font-size: 34px; }

  .team-gallery { grid-template-columns: 1fr; }
  .team-gallery figure:first-child img { height: 240px; }
  .team-gallery img { height: 240px; }

  .map-frame { height: 300px; }
  .map-caption { flex-direction: column; align-items: flex-start; gap: 6px; }

  .phone { font-size: 32px; }
  .email { font-size: 17px; }

  .footer-main { display: block; }
  .footer-main .brand { margin-bottom: 20px; }
  .footer-main p { margin-bottom: 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  .button { padding-inline: 18px; }
  .values { padding-inline: 16px; }
  .values li { font-size: 12px; padding: 6px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* ============================================================
   Bewegingslaag · Apple-achtige dynamiek
   - entrance-animatie in de hero
   - scroll-reveals via IntersectionObserver (.reveal → .is-visible)
   - zwevende hover-states op kaarten
   - ambient kleurvlakken in hero en contact
   ============================================================ */

/* --- Scroll reveals --- */

/* Hogere specificiteit dan de kaartregels verderop, anders overschrijven die
   de transition en verspringen kaarten zonder fade of vertraging. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease) var(--reveal-delay, 0s), transform 0.7s var(--ease) var(--reveal-delay, 0s);
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Kaarten zijn niet klikbaar en krijgen dus geen zwevende hover;
   alleen echte links en knoppen reageren op de muis. */



/* --- Trust-cijfer: subtiele puls-ring --- */

.trust-icon { position: relative; }
.trust-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(169, 75, 69, 0.3);
  opacity: 0;
}
/* Drie pulsen zodra het cijfer in beeld komt, daarna rust */
.trust-icon.is-visible::after,
.care-panel.is-visible .care-number::after { animation: ring 3.2s var(--ease) 0.6s 3; }
.specialist-care.is-visible .care-number::after { animation-delay: 0.9s; }
@keyframes ring {
  0% { transform: scale(0.92); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* --- Contact: ambient gloed op deep-achtergrond --- */

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 124, 116, 0.22), transparent 70%);
  filter: blur(70px);
  animation: drift 20s var(--ease) infinite alternate;
}

/* --- Knoppen: zachte lift --- */

.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.97); }

/* --- Reduced motion: alles uit --- */

@media (prefers-reduced-motion: reduce) {
  .contact::before { animation: none; }
  .slogan-line > span { animation: none; }
  .hero-news,
  .hero-news::before,
  .hero-news::after,
  .hero-news-link svg { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .trust-icon::after { animation: none; opacity: 0; }
}

/* ============================================================
   Nieuws · overzicht en artikel
   Opbouw naar het Magic UI blog-template (flikkerend raster,
   kop met onderwerpfilter, kaartenraster met haarlijnen,
   artikel met zijkolom), in de kleuren en letters van de site.
   ============================================================ */

.blog {
  --blog-max: 1280px;
  position: relative;
  min-height: 70vh;
  background: var(--white);
}
.blog h1, .blog h2, .blog h3, .blog p { max-width: none; margin: 0; }
.blog-wrap { width: 100%; max-width: var(--blog-max); margin: 0 auto; }

.blog-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 200px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 25%, #000 95%);
  mask-image: linear-gradient(to top, transparent 25%, #000 95%);
}
.flicker-grid { display: block; width: 100%; height: 100%; }

/* --- Kop van het overzicht --- */

.blog-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-height: 250px;
  padding: 100px 24px 24px;
  border-bottom: var(--hairline);
}
.blog-header h1 {
  margin-bottom: 8px;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.blog-header p { font-size: clamp(14px, 1.5vw, 18px); color: var(--muted); }

.tag-filter { display: none; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 4px 0 12px;
  border: var(--hairline);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tag-chip:hover { background: var(--pale); }
.tag-chip[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.tag-count {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  border: var(--hairline);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.tag-chip[aria-pressed="true"] .tag-count { background: var(--white); border-color: rgba(255, 255, 255, 0.4); color: var(--deep); }

.tag-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 8px 16px;
  border: var(--hairline);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tag-trigger:hover { background: var(--pale); }
.tag-trigger svg { width: 16px; height: 16px; }

/* --- Kaartenraster --- */

.blog-wrap-grid { position: relative; z-index: 1; padding: 0 24px; }
.blog-cards { overflow: hidden; border-inline: var(--hairline); border-bottom: var(--hairline); }
.blog-cards-inner { display: grid; grid-template-columns: 1fr; margin: 0 -1px -1px 0; }
.blog-card {
  display: block;
  border-right: var(--hairline);
  border-bottom: var(--hairline);
  background: var(--white);
  color: inherit;
  text-decoration: none;
}
.blog-card[hidden] { display: none; }
.blog-card-media { height: 192px; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.blog-card h2 { font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty; }
.blog-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.blog-card p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.blog-card time { font-size: 14px; font-weight: 600; color: var(--muted); }
.blog-empty { padding: 56px 24px; text-align: center; color: var(--muted); }
.blog-empty[hidden] { display: none; }

/* --- Artikel: kop --- */

.post-header { position: relative; z-index: 1; border-bottom: var(--hairline); }
.post-header .blog-wrap { display: flex; flex-direction: column; gap: 24px; padding: 100px 24px 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 12px; font-size: 14px; color: var(--muted); }
.post-meta time { font-weight: 600; }
.post-back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: var(--hairline);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  transition: background 0.2s var(--ease);
}
.post-back::after { content: ''; position: absolute; inset: -10px; }
.post-back:hover { background: var(--pale); }
.post-back svg { width: 16px; height: 16px; }
.post-tag {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border: var(--hairline);
  border-radius: 6px;
  background: var(--pale);
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.post-tag:hover { color: var(--ink); }
.post-header h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.post-header .post-description { max-width: 896px; font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); }

/* --- Artikel: inhoud en zijkolom --- */

.post-layout {
  position: relative;
  z-index: 1;
  display: flex;
  width: calc(100% - 32px);
  border-inline: var(--hairline);
}
.post-main { flex: 1; min-width: 0; }
.post-thumbnail { height: clamp(220px, 46vw, 500px); overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.post-body { padding: 24px; }

.prose { font-size: 18px; line-height: 1.75; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.blog .prose > * { margin: 1.3em 0 0; }
.blog .prose > :first-child { margin-top: 0; }
.blog .prose h2 { margin-top: 1.9em; font-size: 1.6em; font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 100px; }
.blog .prose h3 { margin-top: 1.6em; font-size: 1.25em; font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li { margin-top: 0.5em; }
.prose a { color: var(--coral-dark); font-weight: 600; }
.prose strong { font-weight: 700; }
.prose img { border-radius: 10px; }
.prose figure { margin: 0; }
.blog .prose > figure { max-width: 560px; margin-top: 1.8em; }
.prose figure a { display: block; overflow: hidden; border: var(--hairline); border-radius: 10px; }
.prose figure img { width: 100%; height: auto; border-radius: 0; transition: transform 0.4s var(--ease); }
.prose figure a:hover img { transform: scale(1.02); }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.blog .prose > .figure-pair { display: grid; grid-template-columns: 1fr; align-items: start; gap: 24px; margin-top: 1.8em; margin-bottom: 0.5em; }
@media (min-width: 640px) {
  .blog .prose > .figure-pair { grid-template-columns: 1fr 1fr; }
}
.prose blockquote { padding-left: 1em; border-left: 3px solid var(--line); font-style: italic; color: var(--muted); }

.read-more { margin-top: 40px; padding: 24px; border-top: var(--hairline); }
.blog .read-more > h2 { margin-bottom: 32px; font-size: 24px; font-weight: 600; color: var(--ink); }
.read-more-list { display: flex; flex-direction: column; gap: 32px; }
.read-more-item { display: grid; grid-template-columns: 1fr; align-items: center; gap: 16px; color: inherit; text-decoration: none; }
.read-more-item img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; transition: opacity 0.2s var(--ease); }
.read-more-item:hover img { opacity: 0.8; }
.read-more-item h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.read-more-item:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.read-more-item p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.read-more-item time { display: block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }

.post-aside { display: none; }
.post-aside-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }
.author-card { display: flex; align-items: flex-start; gap: 8px; }
.author-card img { flex: none; width: 32px; height: 32px; border: var(--hairline); border-radius: 50%; object-fit: cover; object-position: center 15%; }
.author-name { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.author-position { font-size: 12px; color: var(--muted); }

.toc { padding: 24px; border: var(--hairline); border-radius: 10px; background: var(--white); }
.toc[hidden] { display: none; }
.blog .toc h2 { margin-bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.toc ul, .toc-sheet-list { margin: 0; padding: 0; list-style: none; }
.toc li + li, .toc-sheet-list li + li { margin-top: 8px; }
.toc a, .toc-sheet-list a { display: block; font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s var(--ease); }
.toc a:hover, .toc-sheet-list a:hover { color: var(--ink); }
.toc a.is-active, .toc-sheet-list a.is-active { color: var(--deep); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.promo-card { display: flex; flex-direction: column; gap: 16px; padding: 16px; border: var(--hairline); border-radius: 10px; background: var(--white); }
.promo-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; }
.blog .promo-card h2 { font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; color: var(--ink); }
.promo-card p { margin-top: -10px; font-size: 14px; color: var(--muted); }
.promo-card .button { min-height: 44px; padding: 8px 16px; font-size: 14px; }

.toc-trigger {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow-float);
  cursor: pointer;
}
.toc-trigger[hidden] { display: none; }
.toc-trigger svg { width: 20px; height: 20px; }

/* --- Uitschuifblad onderaan (mobiel filter en inhoud) --- */

.sheet {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 80vh;
  margin: 0;
  padding: 8px 20px 28px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -12px 40px rgba(39, 63, 70, 0.2);
}
.sheet[open] { animation: sheet-in 0.3s var(--ease); }
.sheet::backdrop { background: rgba(30, 26, 28, 0.5); }
.sheet-handle { width: 48px; height: 5px; margin: 4px auto 14px; border-radius: 99px; background: var(--line); }
.blog .sheet-title { margin-bottom: 14px; font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.sheet-body { display: flex; flex-direction: column; gap: 4px; }
.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.tag-row .tag-count { color: var(--ink); }
.tag-row[aria-pressed="true"] > span:first-child { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }
@keyframes sheet-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@media (min-width: 768px) {
  .tag-filter { display: flex; }
  .tag-trigger { display: none; }
  .blog-cards-inner { grid-template-columns: repeat(2, 1fr); }
  .post-layout { width: 100%; }
}
@media (min-width: 1024px) {
  .blog-wrap-grid { padding: 0; }
  .blog-cards-inner { grid-template-columns: repeat(3, 1fr); }
  .post-body, .read-more { padding: 40px; }
  .read-more-item { grid-template-columns: 4fr 8fr; }
  .post-aside { display: block; flex: none; width: 350px; padding: 40px; border-left: var(--hairline); background: rgba(244, 248, 248, 0.6); }
  .toc-trigger { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet[open] { animation: none; }
}
