/* CaatjeCare — layout and type
   Colour from the mark: cream canvas, wordmark teal, tagline bronze for contact.
   Bright gold and dress aqua are atmosphere, never body text. Reading contrast targets 7:1. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin-600-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --zorg: oklch(0.365 0.056 200.3);
  --zorg-dark: oklch(0.30 0.05 200);
  --aqua: oklch(0.65 0.078 186);
  --goud: oklch(0.76 0.105 72.5);
  --goud-line: oklch(0.58 0.08 75);
  --goud-diep: oklch(0.44 0.08 72);
  --goud-diep-hover: oklch(0.38 0.08 72);
  --zand: oklch(0.90 0.035 82);
  --creme: oklch(0.959 0.018 86);
  --houtskool: oklch(0.28 0.022 210);
  --ink: var(--houtskool);
  --ink-muted: oklch(0.38 0.025 210);
  --ink-subtle: oklch(0.43 0.025 200);
  --surface: oklch(0.995 0.006 86);
  --on-zorg: #fff;
  --on-zorg-muted: var(--zand);
  --error: oklch(0.45 0.13 25);
  --focus: var(--zorg);
  --focus-on-dark: var(--creme);
  --wa: #25D366;
  --wa-hover: #1DA851;
  --line: color-mix(in oklch, var(--zorg) 26%, transparent);
  --input-line: oklch(0.55 0.035 200);
  --wrap: 1120px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --gutter: var(--space-6);
  --header-h: 4.5rem;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --text-display: clamp(2.25rem, 1.15rem + 4.2vw, 3.5rem);
  --text-title: clamp(1.75rem, 1.35rem + 1.5vw, 2.25rem);
  --text-subhead: 1.3125rem;
  --text-lede: 1.25rem;
  --text-body: 1.125rem;
  --text-ui: 1rem;
  --text-meta: 0.8125rem;
  --radius: 0.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 150ms;
  --motion-med: 280ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
  accent-color: var(--zorg);
  scrollbar-color: var(--zorg) var(--zand);
  caret-color: var(--zorg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--creme);
  background-image: image-set(
    url("../images/texture-sand.webp") type("image/webp"),
    url("../images/texture-sand.jpg") type("image/jpeg")
  );
  background-size: 720px;
  background-blend-mode: soft-light;
  font-synthesis: none;
}

img { max-width: 100%; height: auto; display: block; }

/* Keep absolutely-positioned photos as the box, not the <picture> wrapper.
   The hero photo is the exception: Samsung Chrome drops a layer that is both
   filtered and transformed on the same <img>, so the <picture> is the box. */
.care-room picture,
.img-slot picture,
.dienst-index-preview picture,
.split-rail picture,
.contact-desk-photo picture {
  display: contents;
}

.brand picture,
.hero-lockup picture {
  display: block;
  line-height: 0;
}

.hero-cover > picture {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: from-font;
}

h1, h2, h3, .site-wordmark, .foot-brand {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--zorg);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--text-title);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h3, .foot-brand {
  font-size: var(--text-subhead);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p { margin: 0; }

.hidden { display: none !important; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--zorg);
  color: var(--on-zorg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--zorg);
  color: var(--on-zorg);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-footer a:focus-visible,
.band a:focus-visible,
.band .btn:focus-visible,
.hero-on-photo a:focus-visible,
.hero-on-photo .btn:focus-visible,
.contact-desk-copy a:focus-visible {
  outline-color: var(--focus-on-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: color-mix(in srgb, var(--creme) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 0;
  box-shadow: inset 0 -1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-6);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  height: 2.5rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
}

.site-wordmark {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--zorg);
  white-space: nowrap;
}

@media (max-width: 380px) {
  .brand-mark {
    max-width: 5.25rem;
    height: 2.1rem;
  }
  .site-wordmark { font-size: 1.05rem; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-7);
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  font-size: var(--text-ui);
  font-weight: 600;
  color: var(--ink);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--zorg);
  border-bottom-color: var(--zorg);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--zorg);
  cursor: pointer;
  transition: background-color var(--motion-fast) ease;
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { background: var(--surface); }

@media (max-width: 767px) {
  .nav-toggle {
    border-color: transparent;
  }
  .nav-toggle:hover,
  .nav-toggle[aria-expanded="true"] {
    background: transparent;
  }
}

.nav-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-close { display: block; }

.nav-mobile {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-bottom: 0;
  background: var(--creme);
  transition:
    grid-template-rows var(--motion-med) var(--ease-out),
    opacity var(--motion-fast) ease,
    visibility 0s var(--motion-med),
    border-color var(--motion-fast) ease;
}
.nav-mobile.is-open {
  grid-template-rows: minmax(0, 1fr);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-bottom: 1px solid var(--line);
  transition-delay: 0s;
}

.nav-mobile nav {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
}

.nav-mobile a {
  text-decoration: none;
  padding: 0.85rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.nav-mobile a[aria-current="page"] { color: var(--zorg); }

body.nav-open { overflow: hidden; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  font-size: var(--text-ui);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform 80ms ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
  transform: none;
}

.btn-primary {
  background: var(--zorg);
  color: var(--on-zorg);
}
.btn-primary:hover { background: var(--zorg-dark); }

.btn-accent {
  background: var(--goud-diep);
  color: var(--on-zorg);
}
.btn-accent:hover { background: var(--goud-diep-hover); }

.btn-ghost {
  background: transparent;
  color: var(--zorg);
  border-color: var(--zorg);
}
.btn-ghost:hover { background: var(--surface); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.lede {
  margin-top: var(--space-4);
  font-size: var(--text-lede);
  line-height: 1.5;
  max-width: 40rem;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Full-bleed first view — slim lockup in the left column, photo as the stage */
.hero-cover {
  position: relative;
  min-height: max(38rem, calc(100vh - var(--header-h)));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--zorg);
}

.hero-cover .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 38%;
  transform: none;
}

@keyframes hero-settle {
  to { transform: scale(1); }
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in oklch, var(--zorg) 52%, transparent) 0%,
    color-mix(in oklch, var(--zorg) 26%, transparent) 42%,
    color-mix(in oklch, var(--zorg) 8%, transparent) 68%,
    transparent 88%
  );
}

.hero-on-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22.5rem;
  margin-right: auto;
  padding: var(--space-6) 0 var(--space-7);
  color: var(--creme);
  text-align: left;
}

.hero-lockup {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.hero-lockup-mark {
  width: 100%;
  height: auto;
}

.hero-cover .hero-lockup-compact picture,
.hero-lockup .hero-lockup-compact picture {
  display: block;
  line-height: 0;
}

.hero-lockup-compact {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  width: max-content;
  max-width: 100%;
}

.hero-lockup-portrait {
  width: 4.85rem;
  height: auto;
  flex-shrink: 0;
}

.hero-lockup-sign {
  width: 13.15rem;
  max-width: calc(100% - 5.65rem);
  min-width: 0;
  height: auto;
  flex: 0 1 auto;
}

.hero-lede-mobile {
  display: none;
}

.hero-headline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 1.05rem + 1.4vw, 1.42rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--creme);
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(10, 18, 20, 0.45);
}

.hero-support {
  margin-top: 0.4rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: color-mix(in oklch, var(--creme) 90%, var(--zand));
  text-wrap: pretty;
  max-width: 22.5rem;
  text-shadow: 0 1px 12px rgba(10, 18, 20, 0.4);
}

.hero-on-photo .lede,
.hero-copy {
  color: var(--creme);
  width: 100%;
  max-width: 100%;
  margin-top: var(--space-5);
  letter-spacing: 0.012em;
  line-height: 1.55;
  text-align: left;
  text-wrap: pretty;
  hyphens: none;
  text-shadow: 0 1px 14px color-mix(in oklch, var(--zorg) 55%, transparent);
}

.hero-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-copy p + p {
  margin-top: 0.75rem;
}

.hero-on-photo .actions {
  margin-top: var(--space-6);
}

.hero-on-photo .btn-accent {
  min-height: 3.1rem;
  padding-inline: var(--space-6);
}

.btn-ghost-light {
  background: transparent;
  color: var(--on-zorg);
  border-color: rgba(255, 255, 255, 0.88);
}
.btn-ghost-light:hover {
  background: var(--surface);
  color: var(--zorg);
}

@media (max-width: 639px), (max-height: 500px) and (max-width: 960px) {
  .hero-cover {
    align-items: stretch;
    height: auto;
    min-height: calc(100dvh - var(--header-h));
    padding-bottom: 0;
  }
  .hero-cover > .wrap {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-self: stretch;
  }
  .hero-cover::before {
    content: "";
    position: absolute;
    inset: -18px;
    z-index: 0;
    pointer-events: none;
    background-image: url("../images/hero-thuis-portrait.jpg");
    background-repeat: no-repeat;
    background-size: 162%;
    background-position: 31% 40%;
    filter: blur(3.5px);
    animation: none;
    transform: none;
  }
  .hero-cover > picture {
    filter: none;
    opacity: 0;
    animation: none;
  }
  .hero-cover .hero-bg {
    object-fit: cover;
    object-position: 50% 40%;
    transform: none;
    animation: none;
    filter: none;
    z-index: 0;
  }
  .hero-cover::after {
    background: rgba(10, 18, 20, 0.2);
    z-index: 1;
  }
  .hero-lockup-mark {
    display: none;
  }
  .hero-lockup-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
  }
  .hero-lockup-portrait {
    width: 6.35rem;
  }
  .hero-lockup-sign {
    width: min(16.25rem, 92%);
    max-width: 16.25rem;
  }
  .hero-lede-mobile {
    display: none;
  }
  .hero-on-photo {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: calc(100dvh - var(--header-h));
    padding: 0.5rem 0 0;
    text-align: center;
  }
  .hero-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
  }
  .hero-on-photo .lede,
  .hero-copy {
    display: block;
    /* Same side inset as the hero buttons. */
    width: calc(100% + 2 * (var(--gutter) - 1.05rem));
    max-width: none;
    margin-top: 1.1rem;
    margin-left: calc(1.05rem - var(--gutter));
    margin-right: calc(1.05rem - var(--gutter));
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.45;
  }
  .hero-copy p {
    font-size: 0.98rem;
  }
  .hero-copy {
    text-shadow: 0 1px 2px rgba(10, 18, 20, 0.55), 0 10px 28px rgba(10, 18, 20, 0.45);
  }
  .hero-on-photo .actions {
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    margin: 3.5rem 0 calc(6.4rem + env(safe-area-inset-bottom, 0px));
    margin-left: calc(-1 * var(--gutter));
    padding-inline: 1.05rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 0.65rem;
  }
  .hero-on-photo .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 2.85rem;
    padding-inline: 0.85rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .hero-on-photo .btn-accent {
    min-height: 2.85rem;
    padding-inline: 0.85rem;
  }
  .care-room-caption {
    padding-right: 4.25rem;
  }
}

@media (max-width: 360px) {
  .hero-lockup-portrait {
    width: 5.35rem;
  }
  .hero-lockup-sign {
    width: min(14rem, 94%);
    max-width: 14rem;
  }
  .hero-on-photo .lede {
    font-size: 0.98rem;
  }
  .hero-on-photo .actions {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .hero-on-photo .btn,
  .hero-on-photo .btn-accent {
    font-size: 0.875rem;
    padding-inline: 0.55rem;
  }
}

@media (max-width: 639px) and (max-height: 640px), (max-height: 500px) and (max-width: 960px) {
  .hero-cover {
    height: auto;
    min-height: calc(100dvh - var(--header-h));
  }
  .hero-on-photo .actions {
    margin-top: 1.15rem;
    margin-bottom: calc(6.15rem + env(safe-area-inset-bottom, 0px));
  }
  .hero-lockup-portrait {
    width: 5.1rem;
  }
  .hero-on-photo .lede {
    margin-top: 0.7rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 640px) and (min-height: 501px) {
  .hero-cover {
    min-height: 34rem;
    align-items: center;
  }
  .hero-cover .hero-bg {
    object-position: 88% 50%;
    transform: scale(1.055);
    transform-origin: 88% 50%;
    animation: hero-settle 0.95s var(--ease-out) forwards;
  }
  .hero-cover::after {
    background: linear-gradient(
      90deg,
      color-mix(in oklch, var(--zorg) 64%, transparent) 0%,
      color-mix(in oklch, var(--zorg) 36%, transparent) 28%,
      color-mix(in oklch, var(--zorg) 12%, transparent) 48%,
      transparent 64%
    );
  }
  .hero-on-photo {
    width: min(21.625rem, 32vw);
    min-width: 21rem;
    max-width: 21.625rem;
    padding: var(--space-7) 0 var(--space-8);
  }
  .hero-on-photo .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: stretch;
  }
  .hero-on-photo .btn,
  .hero-on-photo .btn-accent {
    width: auto;
    min-width: 0;
    min-height: 3.1rem;
    padding-inline: var(--space-5);
    white-space: nowrap;
  }
  .hero-lockup {
    width: min(18.5rem, 100%);
  }
}

@media (min-width: 800px) and (min-height: 501px) {
  .hero-cover {
    min-height: max(38rem, calc(100vh - var(--header-h)));
  }
  .hero-cover .hero-bg {
    object-position: 88% 50%;
    transform-origin: 88% 50%;
  }
  .hero-on-photo {
    width: min(21.625rem, 28vw);
    max-width: 21.625rem;
    padding: var(--space-10) 0 var(--space-11);
  }
  .hero-lockup {
    width: min(19rem, 100%);
  }
}

/* Sections */
.section {
  padding-block: var(--space-11) var(--space-10);
}
.section-white { background: var(--surface); }
.section h2 { margin: 0; }
.section-intro {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  max-width: 40rem;
}

.section-head h2 {
  font-style: italic;
  letter-spacing: -0.03em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 2.4rem;
  height: 1.5px;
  margin-top: 0.5rem;
  background: var(--zorg);
}

/* Care rooms — three home-doorways, not a service catalogue */
.care-rooms {
  display: grid;
  gap: var(--space-3);
}

.care-room {
  position: relative;
  display: block;
  min-height: 19rem;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  isolation: isolate;
}

.care-room img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--motion-med) var(--ease-out);
}

.care-room-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 4.5rem var(--space-5) var(--space-5);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in oklch, var(--zorg) 82%, transparent) 78%
  );
  color: var(--creme);
}

.care-room-caption h3 {
  margin: 0;
  color: var(--on-zorg);
  background-image: linear-gradient(var(--goud), var(--goud));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 0.12em;
  transition: background-size var(--motion-med) var(--ease-out);
}

.care-room-caption p {
  margin-top: 0.4rem;
  color: var(--zand);
  font-size: var(--text-ui);
  line-height: 1.45;
  max-width: 28ch;
}

.care-room:hover img,
.care-room:focus-visible img {
  filter: brightness(1.06);
}

.care-room:hover .care-room-caption h3,
.care-room:focus-visible .care-room-caption h3 {
  background-size: 4.5rem 1px;
}

.care-room:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.care-more {
  margin-top: var(--space-6);
  color: var(--ink-muted);
}

.care-more a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 600;
  color: var(--zorg);
  text-decoration: none;
}

.care-more a:hover { text-decoration: underline; }

@media (min-width: 800px) {
  .care-rooms {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    gap: 0.45rem;
  }
  .care-room {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 0.4rem;
  }
  .care-room:nth-child(2) {
    aspect-ratio: 1 / 1;
  }
}

/* World — title and three photos share one screen, inside the text width */
.world {
  padding-block: var(--space-8) var(--space-7);
}

.world-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 1fr;
  gap: 0.45rem;
  height: clamp(16rem, calc(100dvh - var(--header-h) - 15rem), 22rem);
}

.world-photos .img-slot {
  position: relative;
  margin: 0;
  min-height: 0;
  height: auto;
  background: oklch(0.32 0.03 200);
}

.world-photos .img-slot:nth-child(1) { grid-column: 1 / -1; }
.world-photos .img-slot:nth-child(2) { grid-column: 1; }
.world-photos .img-slot:nth-child(3) { grid-column: 2; }

.world-photos .img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 720px) {
  .world-photos {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1.35fr 1fr;
    height: clamp(18rem, calc(100dvh - var(--header-h) - 14rem), 34rem);
  }
  .world-photos .img-slot:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
  .world-photos .img-slot:nth-child(2) { grid-column: 2; grid-row: 1; }
  .world-photos .img-slot:nth-child(3) { grid-column: 2; grid-row: 2; }
  .world-photos .img-slot:nth-child(2) img { object-position: center 28%; }
}

.visit-stage {
  position: relative;
}

.visit-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.visit-track,
.visit-draw {
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.visit-track {
  stroke: var(--line);
  stroke-width: 1.6;
  stroke-dasharray: 0.012 0.028;
}

.visit-draw {
  stroke: var(--goud-diep);
  stroke-width: 2.8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.visit {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0 0 0.35rem;
  display: grid;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

.visit-stop {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-4);
  align-items: start;
}

.visit-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--zorg);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--zorg);
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.visit-stop h3 { margin: var(--space-1) 0 0; }
.visit-stop p { margin-top: var(--space-1); color: var(--ink-muted); }

.visit-section.is-walking .visit-stop:nth-child(1) .visit-num,
.visit-section.is-complete .visit-stop:nth-child(1) .visit-num {
  animation: visit-fill 0.55s 0.28s var(--ease-out) both;
}
.visit-section.is-walking .visit-stop:nth-child(2) .visit-num,
.visit-section.is-complete .visit-stop:nth-child(2) .visit-num {
  animation: visit-fill 0.55s 1.2s var(--ease-out) both;
}
.visit-section.is-walking .visit-stop:nth-child(3) .visit-num,
.visit-section.is-complete .visit-stop:nth-child(3) .visit-num {
  animation: visit-fill 0.55s 2.25s var(--ease-out) both;
}

@keyframes visit-fill {
  from {
    background: var(--surface);
    color: var(--zorg);
    border-color: var(--zorg);
  }
  to {
    background: var(--zorg);
    color: var(--on-zorg);
    border-color: var(--zorg);
  }
}

@media (min-width: 800px) {
  .visit {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-7);
    padding: 2.1rem 0 0;
  }
  .visit-stop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.reviews .section-head {
  align-items: center;
  max-width: none;
  text-align: center;
}

.reviews .section-head h2::after {
  margin-inline: auto;
}

.review-stage {
  display: grid;
  justify-items: center;
  gap: var(--space-6);
}

.review-deck {
  display: grid;
  justify-items: center;
  width: min(100%, 36rem);
}

.review-viewport {
  display: grid;
  width: calc(100% + 1.3rem);
  margin-inline: -0.65rem;
  overflow: hidden;
  padding: 0.2rem 0.65rem 1.15rem;
}

.review-badge {
  position: relative;
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: var(--creme);
  border: 1px solid color-mix(in oklch, var(--goud-line) 48%, var(--line));
  border-radius: 1.15rem;
  box-shadow: 0 8px 16px color-mix(in oklch, var(--zorg) 10%, transparent);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(108%);
  transition:
    opacity 420ms ease,
    transform 680ms var(--ease-out);
}

.review-badge::before {
  content: "“";
  position: absolute;
  top: 0.55rem;
  right: 1.15rem;
  font-family: var(--serif);
  font-size: 5.75rem;
  line-height: 1;
  color: var(--goud);
  opacity: 0.38;
  pointer-events: none;
}

.review-deck:not([data-reviews]) .review-badge::before {
  content: none;
}

.review-note {
  margin: var(--space-5) 0 0;
  max-width: 36ch;
  line-height: 1.5;
  text-wrap: pretty;
}

.review-badge.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.review-deck:not([data-reviews]) .review-badge.is-current {
  position: relative;
}

.review-badge.is-leave-left {
  opacity: 0;
  visibility: visible;
  transform: translateX(-108%);
  z-index: 1;
}

.review-badge.is-leave-right {
  opacity: 0;
  visibility: visible;
  transform: translateX(108%);
  z-index: 1;
}

.review-badge.is-enter-left,
.review-badge.is-enter-right {
  visibility: visible;
  opacity: 0;
  transition: none;
  z-index: 2;
}

.review-badge.is-enter-left { transform: translateX(-108%); }
.review-badge.is-enter-right { transform: translateX(108%); }

.review-badge.is-leave-left .review-progress-bar,
.review-badge.is-leave-right .review-progress-bar {
  transform: scaleX(1);
  animation: none;
}

.google-cite-source {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0;
  padding-right: 2.75rem;
  font-size: var(--text-ui);
  font-weight: 600;
  color: var(--ink);
}

.google-mark {
  display: block;
  flex-shrink: 0;
}

.review-badge blockquote {
  margin: var(--space-5) 0 0;
}

.review-badge blockquote p {
  font-family: var(--serif);
  font-size: var(--text-lede);
  font-style: italic;
  line-height: 1.45;
  color: var(--zorg);
  padding-right: 2.75rem;
  text-wrap: pretty;
}

.review-badge footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: var(--space-4);
  font-size: var(--text-ui);
  color: var(--ink-muted);
}

.review-badge cite {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}

.google-stars {
  display: block;
  color: var(--goud-diep);
  line-height: 0;
}

.google-stars svg {
  display: block;
}

.review-progress {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: var(--space-5);
  background: linear-gradient(
    to bottom,
    transparent calc(100% - 2px),
    color-mix(in oklch, var(--goud) 28%, transparent) 0
  );
  overflow: hidden;
}

.review-progress-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--goud-diep);
  transform: scaleX(0);
  transform-origin: left center;
}

.review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-top: var(--space-3);
}

.review-dot {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.review-dot::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99px;
  background: color-mix(in oklch, var(--zorg) 32%, var(--line));
  transform: scaleX(1);
  transition: transform 280ms var(--ease-out), background-color var(--motion-fast) ease;
}

.review-dot.is-current::after {
  background: var(--zorg);
  transform: scaleX(2.15);
}

.review-dot:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 99px;
}

.review-all {
  margin-top: 0;
}

.muted { color: var(--ink-subtle); font-size: var(--text-meta); line-height: 1.5; }
.site-footer .muted,
.band .muted {
  color: var(--on-zorg-muted);
  margin-top: 0.6rem;
}

.dienst-index {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  min-width: 0;
}

.dienst-index ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.dienst-index a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.2rem 0 0.48rem;
  color: color-mix(in oklch, var(--zorg) 72%, var(--creme));
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.3125rem, 0.55rem + 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
  transform-origin: left bottom;
  transition:
    color 420ms var(--ease-out),
    transform 420ms var(--ease-out);
}

.dienst-index a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08rem;
  width: 100%;
  height: 2px;
  background: var(--goud);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}

.dienst-index a.is-current,
.dienst-index a:hover,
.dienst-index a:focus-visible {
  color: var(--zorg);
}

.dienst-index a.is-current::after,
.dienst-index a:hover::after,
.dienst-index a:focus-visible::after {
  transform: scaleX(1);
}

.dienst-index:hover a.is-current:not(:hover):not(:focus-visible) {
  color: color-mix(in oklch, var(--zorg) 72%, var(--creme));
}

.dienst-index:hover a.is-current:not(:hover):not(:focus-visible)::after {
  transform: scaleX(0);
}

.dienst-peek {
  display: none;
}

.diensten-open {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-8) calc(var(--space-7) + 3.6rem);
}

.diensten-open-inner {
  min-width: 0;
  display: grid;
  gap: 0;
}

.diensten-open-inner > h1 {
  margin: 0;
}

.diensten-open .lede {
  max-width: 38ch;
}

.diensten-leadin p + p {
  margin-top: var(--space-4);
}

.diensten-leadin .dienst-kicker {
  margin-top: var(--space-5);
}

@media (min-width: 880px) {
  .diensten-open {
    padding-block: var(--space-10) var(--space-8);
  }

  .diensten-open-inner {
    grid-template-columns: minmax(18rem, 1.08fr) minmax(16rem, 0.92fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "title ."
      "lede lede"
      "index peek";
    column-gap: var(--space-10);
    row-gap: 0;
    align-items: stretch;
  }

  .diensten-open-inner > h1 {
    grid-area: title;
    min-width: 0;
  }

  .diensten-open-inner > .diensten-leadin {
    grid-area: lede;
    max-width: 46rem;
    margin-bottom: var(--space-7);
  }

  .diensten-open .lede {
    max-width: none;
    margin-bottom: 0;
  }

  .dienst-index {
    grid-area: index;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    align-self: stretch;
  }

  .dienst-index ul {
    height: 100%;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .dienst-index a {
    min-height: 2.85rem;
    padding-block: 0.12rem 0.28rem;
    font-size: clamp(1.85rem, 1.2rem + 1.6vw, 2.6rem);
    transform: scale(0.9);
  }

  .dienst-index a.is-current,
  .dienst-index a:hover,
  .dienst-index a:focus-visible {
    transform: scale(1);
  }

  .dienst-index:hover a.is-current:not(:hover):not(:focus-visible) {
    transform: scale(0.9);
  }

  .dienst-index li:last-child a {
    padding-bottom: 0;
  }

  .dienst-index li:last-child a::after {
    bottom: 0;
  }

  .dienst-peek {
    grid-area: peek;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-self: stretch;
    min-width: 0;
    min-height: 0;
  }

  .dienst-index-preview {
    position: relative;
    width: 100%;
    margin: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background:
      linear-gradient(
        180deg,
        color-mix(in oklch, var(--aqua) 12%, var(--zand)),
        var(--creme)
      );
    filter: drop-shadow(0 18px 32px color-mix(in oklch, var(--zorg) 16%, transparent));
  }

  .dienst-index-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    opacity: 0;
    transform: scale(1.045);
    transition:
      opacity 420ms var(--ease-out),
      transform 700ms var(--ease-out);
  }

  .dienst-index-preview img.is-current {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }

  .dienst-peek-copy {
    position: relative;
    margin: 0 0 var(--space-5);
  }

  .dienst-peek-copy [data-peek] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 420ms var(--ease-out),
      visibility 420ms var(--ease-out);
  }

  .dienst-peek-copy [data-peek].is-current {
    position: relative;
    opacity: 1;
    visibility: visible;
  }

  .dienst-peek-title {
    margin: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: var(--text-title);
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--zorg);
  }

  .dienst-peek-summary {
    margin-top: var(--space-2);
    max-width: none;
    color: var(--ink-muted);
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes dienst-name-in {
    from {
      opacity: 0;
      transform: translateY(0.55rem);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes dienst-preview-in {
    from {
      opacity: 0;
      transform: translateY(0.7rem);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  .dienst-index li {
    animation: dienst-name-in 520ms var(--ease-out) both;
  }

  .dienst-index li:nth-child(1) { animation-delay: 40ms; }
  .dienst-index li:nth-child(2) { animation-delay: 80ms; }
  .dienst-index li:nth-child(3) { animation-delay: 120ms; }
  .dienst-index li:nth-child(4) { animation-delay: 160ms; }
  .dienst-index li:nth-child(5) { animation-delay: 200ms; }
  .dienst-index li:nth-child(6) { animation-delay: 240ms; }
  .dienst-index li:nth-child(7) { animation-delay: 280ms; }

  .dienst-peek {
    animation: dienst-preview-in 640ms var(--ease-out) 180ms both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dienst-index a,
  .dienst-index a::after,
  .dienst-index-preview img,
  .dienst-peek-copy [data-peek] {
    transition: none;
  }

  .dienst-index-preview img {
    transform: none;
  }
}

.dienst {
  scroll-margin-top: calc(var(--header-h) + var(--space-5));
  content-visibility: auto;
  contain-intrinsic-size: auto 28rem;
}

.reviews {
  content-visibility: auto;
  contain-intrinsic-size: auto 26rem;
}

.dienst-inner {
  display: grid;
  gap: var(--space-6);
  grid-template-areas:
    "copy"
    "photo";
  align-items: start;
}

.dienst-copy { grid-area: copy; min-width: 0; }
.dienst-inner > .img-slot {
  grid-area: photo;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
}
.dienst-inner > .img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dienst-copy h2 { margin: 0; text-wrap: balance; }
.dienst-copy p { margin-top: var(--space-4); max-width: 38rem; }

.dienst:target h2 {
  background-image: linear-gradient(var(--goud), var(--goud));
  background-size: 0.7em 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 0.22em;
}

.dienst-beat {
  margin-top: var(--space-5);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: var(--text-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
  color: var(--zorg);
  max-width: none;
}

.dienst-inner > .img-slot img {
  box-shadow: 0 18px 40px color-mix(in oklch, var(--zorg) 14%, transparent);
}

.dienst--flip .dienst-inner {
  grid-template-areas:
    "photo"
    "copy";
}

@media (min-width: 880px) {
  .dienst-inner {
    gap: var(--space-10);
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-template-areas: "copy photo";
  }

  .dienst--flip .dienst-inner {
    grid-template-areas: "photo copy";
  }
}
.owner p + p { margin-top: var(--space-4); }
.narrow { max-width: 60ch; }
.narrow p { margin-top: var(--space-4); }
.narrow .btn { margin-top: var(--space-6); }
.page-miss { text-align: center; max-width: 36rem; margin-inline: auto; }
.page-miss .lede { margin-inline: auto; }
.page-miss .actions { justify-content: center; }

.img-slot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.world .section-head { margin-bottom: var(--space-5); }

/* Band / CTA */
.band {
  background: var(--zorg);
  color: var(--zand);
  padding-block: var(--space-10);
  box-shadow: inset 0 2px 0 var(--goud);
}
.band h2 { color: var(--on-zorg); margin: 0; }
.band p {
  margin-top: var(--space-3);
  max-width: 34rem;
  letter-spacing: 0.012em;
  line-height: 1.65;
}
.band-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}
@media (min-width: 760px) {
  .band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Contact — sitting-room fills the viewport on desktop; the page scrolls on small screens */
body:has(.contact-desk) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
body:has(.contact-desk) main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
body:has(.contact-desk) #contact-form {
  padding-bottom: 0;
}

@media (min-width: 880px) {
  html:has(.contact-desk),
  body:has(.contact-desk) {
    height: 100%;
    overflow: hidden;
  }
  body:has(.contact-desk) main {
    min-height: 0;
  }
}

/* Contact — the bureau is the page */
.contact-desk {
  position: relative;
  isolation: isolate;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: var(--zorg);
}

.contact-desk-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.contact-desk .contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 78%;
  transform: scale(1.045);
  transform-origin: 52% 78%;
  animation: hero-settle 1.05s var(--ease-out) forwards;
}

.contact-desk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      color-mix(in oklch, var(--zorg) 66%, transparent) 0%,
      color-mix(in oklch, var(--zorg) 38%, transparent) 32%,
      color-mix(in oklch, var(--zorg) 10%, transparent) 58%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklch, var(--zorg) 18%, transparent) 0%,
      transparent 28%,
      color-mix(in oklch, var(--zorg) 22%, transparent) 100%
    );
}

.contact-desk-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-8);
  align-items: stretch;
  flex: 1;
  min-height: 0;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: var(--space-6);
  padding-bottom: calc(var(--space-6) + 3.4rem);
  box-sizing: border-box;
}

.contact-desk-copy {
  color: var(--creme);
  max-width: 28rem;
  align-self: center;
}

.contact-desk h1 {
  margin: 0;
  color: var(--creme);
  text-shadow: 0 1px 18px color-mix(in oklch, var(--zorg) 50%, transparent);
}

.contact-desk-copy .lede {
  color: var(--creme);
  max-width: 28rem;
  text-shadow: 0 1px 14px color-mix(in oklch, var(--zorg) 55%, transparent);
}

.phone-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: var(--space-5);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 1rem + 3.4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: lining-nums;
  color: var(--creme);
  text-decoration: none;
  background-image: linear-gradient(var(--goud), var(--goud));
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 0.12em;
}

.phone-lockup .desk-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.phone-lockup:hover { color: var(--on-zorg); }

.desk-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.desk-channels {
  list-style: none;
  margin: var(--space-4) 0 0;
  padding: 0;
}

.desk-channels a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.6rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--zand);
}

.desk-channels a:hover { text-decoration: underline; color: var(--creme); }

.form-paper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 32rem);
  min-height: 0;
  height: 100%;
  justify-self: end;
  background: var(--creme);
  border: 0;
  overflow: hidden;
  box-shadow: 0 22px 48px color-mix(in oklch, var(--zorg) 28%, transparent);
}

.form-paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--space-6);
  right: var(--space-6);
  height: 1.5px;
  background: var(--goud);
  transform: scaleX(1);
  transform-origin: left center;
  pointer-events: none;
  z-index: 1;
}

.form-paper .form-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--space-6);
}

.letter-title {
  display: grid;
  margin: 0.15rem 0 0;
  font-style: italic;
  color: var(--zorg);
}

.letter-title > span {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--motion-med) var(--ease-out),
    visibility 0s linear var(--motion-med);
}

.form-paper:has(#intent-aanmelden:checked) .letter-title .is-aanmelden,
.form-paper:has(#intent-bericht:checked) .letter-title .is-bericht,
.form-paper:has(#intent-klacht:checked) .letter-title .is-klacht {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.form-paper .form-note {
  margin: 0.35rem 0 1.1rem;
}

.letter-intent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 0 var(--space-5);
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.letter-ask {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-muted);
}

.letter-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.letter-choices::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.form-paper label.letter-mark {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 3.15rem;
  margin: 0;
  padding: 0.5rem 0.25rem 0.75rem;
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  white-space: normal;
  line-height: 1.25;
  cursor: pointer;
  transition: color var(--motion-fast) ease;
}

.letter-mark:hover { color: var(--zorg); }

.letter-mark:has(:checked) {
  color: var(--zorg);
  font-weight: 600;
}

.letter-mark::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0;
  height: 1.5px;
  background: var(--goud);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 340ms var(--ease-out);
  pointer-events: none;
}

.letter-mark:has(:checked)::after {
  transform: scaleX(1);
}

.letter-mark input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.letter-dot {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  border: 1.5px solid var(--zorg);
  border-radius: 99px;
  display: grid;
  place-items: center;
}

.letter-dot::after {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 99px;
  background: var(--zorg);
  transform: scale(0);
  transition: transform 200ms var(--ease-out);
}

.letter-mark:has(:checked) .letter-dot::after { transform: scale(1); }

.letter-mark:focus-within {
  outline: none;
}

.letter-mark:has(:focus-visible) .letter-dot {
  box-shadow: 0 0 0 2px var(--creme), 0 0 0 3.5px var(--goud);
}

.letter-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.form-paper .letter-sign {
  margin-top: 0.2rem;
  padding-top: var(--space-3);
  border-top: 0;
}

.form-paper .btn-accent {
  align-self: start;
  min-width: 11.5rem;
  padding-inline: var(--space-6);
}

.form-thanks {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  align-items: center;
  justify-items: stretch;
  padding: var(--space-6);
  perspective: 1100px;
}

.form-thanks[hidden] {
  display: none !important;
}

.form-thanks-veil {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--creme) 62%, transparent);
  opacity: 0;
  transition: opacity 280ms ease;
}

.form-paper.is-sent .form-thanks-veil {
  opacity: 1;
}

.form-thanks-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-4) var(--space-6);
  background: var(--creme);
  border: 1.5px solid var(--goud);
  border-radius: 1.15rem;
  box-shadow: 0 18px 40px color-mix(in oklch, var(--zorg) 22%, transparent);
  text-align: center;
  transform: rotateY(-88deg);
  transform-origin: center center;
  opacity: 0;
  transition:
    transform 640ms var(--ease-out),
    opacity 220ms ease;
}

.form-paper.is-sent .form-thanks-dialog {
  transform: rotateY(0deg);
  opacity: 1;
}

.form-ok-lead,
.form-ok-copy {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-lede);
  line-height: 1.4;
  color: var(--zorg);
  text-align: center;
}

.form-ok-lead {
  font-weight: 600;
}

.form-ok-copy {
  margin-top: var(--space-2);
  font-weight: 400;
}

@media (prefers-reduced-motion: no-preference) {
  .form-paper {
    animation: paper-arrive 780ms var(--ease-out) 0.12s both;
  }
  .form-paper::before {
    transform: scaleX(0);
    animation: hair-draw 1s var(--ease-out) 0.55s forwards;
  }
  .phone-lockup {
    animation: phone-rule 900ms var(--ease-out) 0.4s forwards;
  }
}

@keyframes paper-arrive {
  from {
    opacity: 0.4;
    transform: translateY(1.1rem);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hair-draw {
  to { transform: scaleX(1); }
}

@keyframes phone-rule {
  to { background-size: 100% 1.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-desk .contact-bg {
    animation: none;
    transform: none;
  }
  .phone-lockup { background-size: 100% 1.5px; }
  .letter-dot::after,
  .letter-mark::after { transition: none; }
  .letter-title > span {
    transition: opacity 160ms ease, visibility 0s linear 160ms;
  }
}

@media (max-width: 879px) {
  .contact-desk {
    min-height: calc(100dvh - var(--header-h));
    overflow: visible;
  }
  .contact-desk-photo,
  .contact-desk::after {
    bottom: auto;
    height: 100dvh;
  }
  .contact-desk .contact-bg {
    object-position: 48% 72%;
    transform: none;
    animation: none;
  }
  .contact-desk::after {
    background:
      linear-gradient(
        180deg,
        color-mix(in oklch, var(--zorg) 12%, transparent) 0%,
        transparent 22%,
        color-mix(in oklch, var(--zorg) 48%, transparent) 58%,
        color-mix(in oklch, var(--zorg) 78%, transparent) 100%
      );
  }
  .contact-desk-inner {
    grid-template-rows: auto auto;
    align-content: start;
    gap: var(--space-4);
    width: calc(100% - 2rem);
    padding-block: var(--space-4);
    padding-bottom: calc(var(--space-4) + 3.6rem + env(safe-area-inset-bottom, 0px));
    justify-items: stretch;
    flex: 1 0 auto;
    min-height: auto;
    overflow: visible;
  }
  .contact-desk-copy { align-self: start; max-width: none; }
  .contact-desk h1 { font-size: clamp(1.7rem, 6.5vw, 2.1rem); }
  .contact-desk-copy .lede {
    display: block;
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0.35rem 0 0;
    max-width: none;
  }
  .phone-lockup {
    margin-top: 0.55rem;
    font-size: clamp(1.7rem, 6.5vw, 2.15rem);
  }
  .desk-channels { margin-top: 0.2rem; }
  .desk-channels a { min-height: 2.1rem; }
  .form-paper {
    justify-self: stretch;
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .form-card.form-paper {
    padding: 0;
  }
  .form-paper::before {
    left: var(--space-5);
    right: var(--space-5);
  }
  .form-thanks { padding: var(--space-5); }
  .form-thanks-dialog { padding: var(--space-4) var(--space-5); }
  .form-ok-lead,
  .form-ok-copy { font-size: var(--text-lede); }
  .form-paper #contact-form {
    flex: none;
    overflow: visible;
  }
  .form-paper .form-body {
    flex: none;
    overflow: visible;
    padding: var(--space-5) var(--space-4);
  }
  .letter-title { font-size: 1.3125rem; }
  .form-paper .form-note { margin: 0.2rem 0 0.75rem; }
  .letter-intent { margin-bottom: var(--space-4); gap: 0.3rem; }
  .form-paper label.letter-mark {
    min-height: 2.85rem;
    padding: 0.35rem 0.25rem 0.6rem;
    gap: 0.28rem;
  }
  .form-paper .field-list { row-gap: 0.25rem; }
  .form-paper .field { margin-bottom: var(--space-3); }
  .form-paper .field-bericht {
    flex: none;
    min-height: 0;
  }
  .letter-sign { gap: var(--space-3); padding-top: var(--space-3); }
  .form-paper .btn-accent {
    align-self: stretch;
    min-width: 0;
    scroll-margin-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 879px) and (max-height: 520px) {
  .contact-desk-copy .lede,
  .desk-channels { display: none; }
  .contact-desk h1 { font-size: clamp(1.45rem, 4vw, 1.8rem); }
  .phone-lockup {
    margin-top: 0.2rem;
    font-size: clamp(1.45rem, 4vw, 1.9rem);
  }
  .contact-desk-inner {
    padding-block: var(--space-3);
    gap: var(--space-3);
  }
}

@media (max-width: 879px) and (min-width: 700px) and (max-height: 520px) {
  .contact-desk-inner {
    grid-template-columns: minmax(14rem, 1fr) minmax(22rem, 1.15fr);
    column-gap: var(--space-6);
    align-items: start;
  }
}

@media (max-width: 379px) {
  .desk-channels { display: none; }
  .phone-lockup { font-size: 1.55rem; }
}

@media (min-width: 880px) {
  .contact-desk {
    min-height: 0;
    overflow: hidden;
  }
  .contact-desk-inner {
    grid-template-columns: minmax(16rem, 1fr) minmax(24rem, 34rem);
    column-gap: var(--space-10);
    padding-block: var(--space-7);
    padding-bottom: calc(var(--space-6) + 3.2rem);
  }
  .form-paper .field-bericht {
    min-height: 0;
  }
}



.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
}
@media (min-width: 600px) { .form-card { padding: var(--space-7); } }

.form-card.form-paper {
  background: var(--creme);
  border: 0;
  padding: 0;
}
@media (min-width: 600px) {
  .form-paper::before {
    left: var(--space-7);
    right: var(--space-7);
  }
  .form-thanks {
    padding: var(--space-6) var(--space-7);
  }
  .form-paper .form-body {
    padding: var(--space-6) var(--space-7) var(--space-6);
  }
}

.form-paper #contact-form {
  display: flex;
  flex-direction: column;
}
@media (min-width: 880px) {
  .form-paper #contact-form {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
}
.form-paper .form-body > *:not(.field-bericht) {
  flex-shrink: 0;
}

.form-paper .field-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.4rem;
  row-gap: 0.45rem;
  align-items: baseline;
  margin-bottom: var(--space-4);
}

.form-paper .field-list .field {
  display: contents;
}

.form-paper .field-list label {
  display: block;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink-muted);
}

.form-paper .field-list input[type="text"],
.form-paper .field-list input[type="email"],
.form-paper .field-list input[type="tel"] {
  min-width: 0;
  width: auto;
  margin-top: 0;
  padding: 0;
  min-height: 0;
  height: 1.2em;
  line-height: 1.2;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: linear-gradient(
    color-mix(in oklch, var(--zorg) 32%, transparent),
    color-mix(in oklch, var(--zorg) 32%, transparent)
  );
  background-size: 100% 1.5px;
  background-position: 0 0.92em;
  background-repeat: no-repeat;
}

.form-paper .field-bericht label {
  font-weight: 400;
  color: var(--ink-muted);
}

.form-paper .field-bericht {
  flex: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: var(--space-3);
  overflow: visible;
}

.form-paper .field-bericht textarea {
  flex: none;
  height: 4lh;
  min-height: 4lh;
  resize: none;
  margin-top: 0.35rem;
  padding: 0 0.1rem;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.2em - 1.5px),
    color-mix(in oklch, var(--zorg) 32%, transparent) calc(1.2em - 1.5px),
    color-mix(in oklch, var(--zorg) 32%, transparent) 1.2em,
    transparent 1.2em,
    transparent 1.75em
  );
  background-attachment: local;
  line-height: 1.75;
  overflow-x: hidden;
  overflow-y: auto;
}

@media (min-width: 880px) {
  .form-paper .form-body {
    overflow-y: hidden;
  }
}

@media (max-width: 879px) {
  .form-paper .field-bericht {
    flex: none;
    min-height: 0;
    overflow: visible;
  }
  .form-paper .field-bericht textarea {
    flex: none;
    height: 4lh;
    min-height: 4lh;
  }
  .form-paper .letter-sign .check {
    gap: 0.5rem;
  }
  .form-paper .letter-sign .check span {
    font-size: 0.9375rem;
    white-space: nowrap;
  }
}

.form-paper .letter-sign .check {
  margin: 0;
}

.form-card label { display: block; font-size: var(--text-ui); font-weight: 600; }
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card select,
.form-card textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--input-line);
  border-radius: var(--radius);
  background: var(--creme);
  font: inherit;
  color: var(--ink);
  transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease;
}
.form-card input:focus-visible:not([type="radio"]):not([type="checkbox"]),
.form-card select:focus-visible,
.form-card textarea:focus-visible {
  border-color: var(--zorg);
  background: var(--surface);
}
.form-paper .form-body input[type="text"],
.form-paper .form-body input[type="email"],
.form-paper .form-body input[type="tel"],
.form-paper .form-body textarea {
  background-color: transparent;
}
.form-paper .field-list input:focus-visible,
.form-paper .field-bericht textarea:focus-visible,
.form-paper .letter-mark input:focus-visible,
.form-paper .check input:focus-visible {
  outline: none;
}
.form-paper .field-list input[type="text"]:focus-visible,
.form-paper .field-list input[type="email"]:focus-visible,
.form-paper .field-list input[type="tel"]:focus-visible {
  background-color: transparent;
  background-image: linear-gradient(var(--goud), var(--goud));
  background-size: 100% 1.5px;
  background-position: 0 0.92em;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.form-paper .field-bericht textarea:focus-visible {
  background-color: transparent;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.2em - 1.5px),
    var(--goud) calc(1.2em - 1.5px),
    var(--goud) 1.2em,
    transparent 1.2em,
    transparent 1.75em
  );
}
.form-paper .check input:focus-visible {
  box-shadow: 0 0 0 2px var(--creme), 0 0 0 3.5px var(--goud);
}
.form-paper .field-list input:user-invalid {
  background-image: linear-gradient(var(--error), var(--error));
}
.form-card .field { margin-bottom: var(--space-5); }
.form-card .check { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 400; }
.form-card .check input {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.form-note { margin: 0.35rem 0 1.25rem; color: var(--ink-subtle); font-size: var(--text-ui); }

.req { color: var(--zorg); }

.form-ok {
  color: var(--zorg);
}
.form-fail {
  margin-bottom: var(--space-5);
  padding: var(--space-5);
  background: var(--creme);
  color: var(--error);
  border: 1px solid var(--error);
  border-radius: var(--radius);
}
.form-paper .form-fail {
  margin: var(--space-4) var(--space-6) 0;
}
@keyframes form-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

#contact-form { padding-bottom: 5.5rem; }
@media (min-width: 768px) { #contact-form { padding-bottom: 0; } }

/* Footer */
.site-footer {
  background: var(--zorg);
  color: var(--zand);
  margin-top: 0;
  letter-spacing: 0.01em;
  box-shadow: inset 0 2px 0 var(--goud);
}
@media (max-width: 767px) {
  .site-footer { padding-bottom: 4.5rem; }
}
.footer-grid {
  display: grid;
  gap: var(--space-7);
  padding: var(--space-9) 0;
}
.site-footer a { color: var(--on-zorg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2, .site-footer .foot-brand {
  margin: 0;
  color: var(--on-zorg);
}
.foot-label {
  margin: 0 0 0.6rem;
  font-size: var(--text-meta);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.legal {
  border-top: 1px solid color-mix(in oklch, var(--goud) 38%, transparent);
  padding: 0.9rem 0 1.1rem;
  font-size: var(--text-meta);
}

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* FAB — only WhatsApp control besides footer text */
.wa-fab {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  width: 3.4rem;
  height: 3.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 2px 5px color-mix(in oklch, var(--houtskool) 18%, transparent);
  text-decoration: none;
  transition: background-color var(--motion-fast) ease, transform 80ms ease;
}
body.nav-open .wa-fab {
  visibility: hidden;
  pointer-events: none;
}
.wa-fab:hover { background: var(--wa-hover); }
.wa-fab:active { transform: translateY(1px); }
.wa-fab:focus-visible {
  outline: 2px solid var(--focus-on-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--creme), 0 2px 5px color-mix(in oklch, var(--houtskool) 18%, transparent);
}

#begeleiding, #aanmelden, #bericht, #inhoud,
#persoonlijke-verzorging, #verpleging, #diabetes, #huishoudelijk, #pgb {
  scroll-margin-top: calc(var(--header-h) + var(--space-5));
}

#wie-wij-zijn, #missie, #visie, #waarden {
  scroll-margin-top: calc(var(--header-h) + 7.25rem);
}

.prose { max-width: 60ch; }
.prose h2 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--text-subhead);
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.prose p { margin-top: var(--space-4); text-wrap: pretty; hyphens: auto; }
.prose a { color: var(--zorg); }
.prose ul,
.prose ol { margin: var(--space-4) 0 0; padding-left: 1.25rem; }
.prose li { margin-top: var(--space-2); }
.prose li ul { margin-top: var(--space-2); }

::placeholder {
  color: var(--ink-subtle);
  opacity: 1;
}

@media (prefers-contrast: more) {
  :root {
    --ink-muted: var(--ink);
    --ink-subtle: oklch(0.34 0.025 210);
    --line: color-mix(in oklch, var(--zorg) 42%, transparent);
    --input-line: var(--zorg);
  }

  .dienst-index a {
    color: var(--zorg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cover .hero-bg {
    animation: none;
    transform: none;
  }
  .nav-mobile {
    transition: none;
  }
  .form-thanks-veil,
  .form-thanks-dialog {
    transition: none;
  }
  .form-thanks-dialog {
    transform: none;
  }
  .btn:active,
  .wa-fab:active {
    transform: none;
  }
  .visit-section.is-walking .visit-draw,
  .visit-section.is-complete .visit-draw,
  .visit-section.is-walking .visit-num,
  .visit-section.is-complete .visit-num {
    animation: none;
    transition: none !important;
  }
  .visit-section.is-walking .visit-draw,
  .visit-section.is-complete .visit-draw {
    stroke-dashoffset: 0 !important;
  }
  .visit-section.is-walking .visit-num,
  .visit-section.is-complete .visit-num {
    background: var(--zorg);
    color: var(--on-zorg);
    border-color: var(--zorg);
  }
  .review-badge {
    transform: none;
    transition: opacity 200ms ease;
  }
  .review-badge.is-leave-left,
  .review-badge.is-leave-right,
  .review-badge.is-enter-left,
  .review-badge.is-enter-right {
    transform: none;
  }
  .review-progress-bar {
    animation: none;
    transform: none;
    width: 100%;
  }
  .care-room img { transition: none; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 639px),
  (prefers-reduced-motion: reduce) and (max-height: 500px) and (max-width: 960px) {
  .hero-cover .hero-bg {
    transform: none;
  }
}

/* Over ons — split curve */
.split {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
}

.split-rail {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  gap: 0;
  padding: var(--header-h) var(--gutter) 0;
  margin-top: calc(-1 * var(--header-h));
  background: transparent;
  color: var(--on-zorg);
  overflow: visible;
  pointer-events: none;
}

.split-logo {
  display: none;
}

.split-index {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--zorg);
  margin-inline: calc(-1 * var(--gutter));
  padding: var(--space-4) var(--gutter) var(--space-3);
  pointer-events: auto;
}

.split-index a {
  flex: 0 0 auto;
  max-width: none;
  white-space: nowrap;
  overflow: visible;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.02rem, 0.58rem + 2.2vw, 1.28rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: color-mix(in oklch, var(--zand) 62%, white);
  text-decoration: none;
  padding: 0.35rem 0 0.15rem;
  border-bottom: 2px solid transparent;
  transition:
    color 420ms var(--ease-out),
    transform 420ms var(--ease-out),
    border-color 420ms var(--ease-out),
    opacity 420ms var(--ease-out);
}

.split-index a:hover,
.split-index a:focus-visible {
  color: var(--on-zorg);
}

.split-index a:focus-visible {
  outline-color: var(--focus-on-dark);
}

.split-index a.is-current,
.split:not(:has(.split-index a.is-current)):not(:has(.split-page:target)) .split-index a[href="#wie-wij-zijn"],
.split:not(:has(.split-index a.is-current)):has(#missie:target) .split-index a[href="#missie"],
.split:not(:has(.split-index a.is-current)):has(#visie:target) .split-index a[href="#visie"],
.split:not(:has(.split-index a.is-current)):has(#waarden:target) .split-index a[href="#waarden"],
.split:not(:has(.split-index a.is-current)):has(#wie-wij-zijn:target) .split-index a[href="#wie-wij-zijn"] {
  color: var(--on-zorg);
  border-bottom-color: var(--goud);
}

.split-curve {
  display: block;
  width: 100%;
  overflow: visible;
  z-index: 1;
}

.split-curve-y { display: none; }

.split-curve-x {
  height: 3.6rem;
  width: calc(100% + 2 * var(--gutter));
  margin-inline: calc(-1 * var(--gutter));
  pointer-events: none;
}

.split-curve path[data-split-fill] {
  fill: var(--zorg);
}

.split-curve path[data-split-path] {
  stroke: var(--goud);
  stroke-width: 1.7;
  stroke-linecap: round;
}

.split-pages {
  padding: var(--space-4) var(--gutter) var(--space-10);
  background: transparent;
}

.split-page {
  max-width: 40rem;
  min-height: 72vh;
  padding-block: var(--space-6) var(--space-9);
  color: var(--ink);
}

.split-page + .split-page {
  border-top: 1px solid var(--line);
}

.split-page h2 {
  margin: 0;
  font-style: italic;
}

.split-page .lede {
  color: inherit;
}

.split-page p + p,
.split-page .lede + p,
.split-page .lede + ul {
  margin-top: var(--space-4);
}

.split-page a {
  color: var(--zorg);
}

.split-values {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.split-values li {
  margin: 0;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
}

.split-values h3 {
  margin: 0;
  font-style: italic;
}

.split-values p {
  margin-top: var(--space-2);
}

.split-practice-contact {
  margin-top: var(--space-5);
  font-weight: 600;
}

.split-practice-contact a { text-decoration: none; }
.split-practice-contact a:hover { text-decoration: underline; }



@media (min-width: 880px) {
  .split {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
    column-gap: 0;
  }

  .split-rail {
    position: sticky;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
    justify-content: start;
    align-items: center;
    column-gap: 2.8rem;
    padding: 0 2.0rem 0 var(--space-5);
    margin-top: 0;
    background: var(--zorg);
    color: var(--on-zorg);
    overflow: visible;
    z-index: 2;
    pointer-events: auto;
  }

  .split-rail > .sr-only {
    position: absolute;
  }

  .split-logo {
    display: block;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: clamp(8.75rem, 16vw, 14.5rem);
    height: auto;
    max-width: none;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    background: var(--creme);
    box-shadow: 0 16px 36px color-mix(in oklch, var(--zorg-dark) 34%, transparent);
    z-index: 3;
  }

  .split-index {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 1fr;
    justify-content: start;
    align-items: start;
    gap: var(--space-5);
    align-self: center;
    align-content: center;
    margin-inline: 0;
    padding: 0;
    background: transparent;
  }

  .split-index a {
    flex: none;
    font-size: clamp(1.85rem, 1.2rem + 1.6vw, 2.6rem);
    border-bottom-width: 0;
    transform: scale(0.78);
    transform-origin: left center;
    justify-self: start;
    text-align: left;
    padding: 0.15rem 0;
    opacity: 1;
    color: color-mix(in oklch, var(--zand) 58%, white);
  }

  .split-index a.is-current,
  .split:not(:has(.split-index a.is-current)):not(:has(.split-page:target)) .split-index a[href="#wie-wij-zijn"],
  .split:not(:has(.split-index a.is-current)):has(#missie:target) .split-index a[href="#missie"],
  .split:not(:has(.split-index a.is-current)):has(#visie:target) .split-index a[href="#visie"],
  .split:not(:has(.split-index a.is-current)):has(#waarden:target) .split-index a[href="#waarden"],
  .split:not(:has(.split-index a.is-current)):has(#wie-wij-zijn:target) .split-index a[href="#wie-wij-zijn"] {
    transform: scale(1);
    color: var(--on-zorg);
    border-bottom-width: 0;
  }

  .split-index a.is-current::after,
  .split:not(:has(.split-index a.is-current)):not(:has(.split-page:target)) .split-index a[href="#wie-wij-zijn"]::after,
  .split:not(:has(.split-index a.is-current)):has(#missie:target) .split-index a[href="#missie"]::after,
  .split:not(:has(.split-index a.is-current)):has(#visie:target) .split-index a[href="#visie"]::after,
  .split:not(:has(.split-index a.is-current)):has(#waarden:target) .split-index a[href="#waarden"]::after,
  .split:not(:has(.split-index a.is-current)):has(#wie-wij-zijn:target) .split-index a[href="#wie-wij-zijn"]::after {
    content: "";
    display: block;
    width: 0.7em;
    height: 1.5px;
    margin-top: 0.4rem;
    background: var(--goud);
  }

  .split-curve-x { display: none; }

  .split-curve-y {
    display: block;
    position: absolute;
    top: 0;
    right: -7.25rem;
    width: 12.5rem;
    height: 100%;
    pointer-events: none;
  }

  .split-pages {
    padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)) var(--space-10) 7.5rem;
    background: transparent;
    z-index: 0;
  }

  .split-page {
    min-height: calc(100svh - var(--header-h) - 2rem);
    padding-block: var(--space-8) var(--space-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #missie, #visie, #waarden, #wie-wij-zijn {
    scroll-margin-top: calc(var(--header-h) + 1rem);
  }

  .split-page:not(#wie-wij-zijn) h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  #wie-wij-zijn h2 {
    margin-bottom: var(--space-5);
  }

}

@media (prefers-reduced-motion: reduce) {
  .split-index a,
  .split-page {
    transition: none;
  }
}
