/* ==========================================================================
   Kine Kruibeke Kerckhoeck – opmaak voor de hele site

   Bovenaan staan de ontwerptokens (kleuren, lettertype, maten). Pas je daar
   iets aan, dan verandert het overal. Daaronder volgen de bouwstenen in de
   volgorde waarin ze op een pagina voorkomen.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kleuren uit het logo */
  --blue: #2f6e9a;          /* het blauwe vlak van het logo: header, footer, knoppen */
  --blue-deep: #24587d;     /* knoppen bij hover */
  --sky: #50c4f4;           /* de lichtblauwe chevrons: alleen voor kleine accenten */

  /* Neutrale kleuren */
  --ink: #13263a;           /* tekst en titels */
  --ink-soft: #475a6b;      /* inleidingen, bijschriften */
  --line: #dbe4eb;          /* fijne scheidingslijnen */
  --mist: #f2f6f9;          /* heel lichte achtergrond, bv. achter de kaart */
  --white: #fff;
  --on-blue-soft: #e4f1fa;  /* kleine tekst op het blauw van header en footer */

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Maten */
  --container: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 40rem;                         /* maximale breedte van lopende tekst */
  --space-section: clamp(3.5rem, 7vw, 6rem); /* witruimte tussen secties */
  --radius: 4px;                            /* knoppen */
  --radius-img: 6px;                        /* foto's */
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgb(47 110 154 / 0.12);
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 64em) {
  body {
    font-size: 1.125rem;
  }
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.55rem + 3vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue-deep);
}

/* Een telefoonnummer nooit over twee regels splitsen */
a[href^="tel:"] {
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

strong {
  font-weight: 650;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
}

.skip-link:focus {
  top: 0.75rem;
}

/* Pictogrammen uit /assets/img/icons.svg */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Met JavaScript tonen we de knoppen, zonder JavaScript de gewone links */
.js .nojs-only,
html:not(.js) .js-only {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Kleine bouwstenen: label, inleiding, knoppen, links, lijsten
   -------------------------------------------------------------------------- */

/* Klein label in hoofdletters boven een titel, met een lichtblauw streepje */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}

.lead {
  max-width: 36em;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn--secondary {
  border-color: currentColor;
  background: transparent;
  color: var(--blue);
}

.btn--secondary:hover {
  background: var(--mist);
  color: var(--blue-deep);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow .icon {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.2s;
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* Lijst met kleine lichtblauwe chevrons, zoals in het logo */
.list {
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1.6rem;
}

.list li + li {
  margin-top: 0.55em;
}

.list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0.1rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: translateY(-50%) rotate(-45deg);
}

/* Kader "Goed om te weten": enkel een lichtblauwe lijn links */
.note {
  padding: 0.15rem 0 0.15rem 1.35rem;
  border-left: 2px solid var(--sky);
}

.note__title {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-weight: 700;
}

/* Lopende tekst */
.prose {
  max-width: var(--measure);
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h3 {
  margin-top: 2em;
}

.prose h3 + * {
  margin-top: 0.5em;
}

.prose ul:not(.list),
.prose ol {
  padding-left: 1.25rem;
}

.prose ul:not(.list) li + li,
.prose ol li + li {
  margin-top: 0.4em;
}

/* --------------------------------------------------------------------------
   Header en menu
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--blue);
  color: var(--white);
}

.site-header :focus-visible {
  outline-color: var(--white);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: 4.5rem;
}

.site-header__logo {
  display: block;
  flex: none;
  padding-block: 0.85rem;
}

.site-header__logo img {
  width: auto;
  height: 2.75rem;
}

.nav-toggle {
  display: none;
}

.main-nav__list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 0.9688rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.main-nav__link:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
}

.main-nav__link[aria-current="page"],
.main-nav__link.is-current {
  box-shadow: inset 0 -2px 0 var(--sky);
  border-radius: 0;
}

.main-nav__link .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.main-nav__link[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.submenu {
  display: none;
}

.submenu.is-open {
  display: block;
}

.submenu__list {
  padding: 0;
  list-style: none;
}

.submenu__list a,
.submenu__all {
  color: var(--ink);
  text-decoration: none;
}

.submenu__list a:hover,
.submenu__all:hover,
.submenu__list a[aria-current="page"] {
  color: var(--blue);
}

.submenu__list a[aria-current="page"] {
  font-weight: 650;
}

.submenu :focus-visible {
  outline-color: var(--blue);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.55);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.9688rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.header-call:hover {
  background: var(--white);
  color: var(--blue);
}

.header-call .icon {
  width: 1.05rem;
  height: 1.05rem;
}

/* Gsm en tablet: menu achter de knop "Menu" */
@media (max-width: 55.99em) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgb(255 255 255 / 0.55);
    border-radius: var(--radius);
    background: none;
    color: var(--white);
    font: inherit;
    font-size: 0.9688rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .nav-toggle[aria-expanded="true"] .icon--menu,
  .nav-toggle[aria-expanded="false"] .icon--close {
    display: none;
  }

  /* Zonder JavaScript: de links gewoon onder het logo */
  html:not(.js) .main-nav {
    width: 100%;
    padding-bottom: 0.75rem;
  }

  html:not(.js) .main-nav__list {
    margin-left: -0.85rem;
  }

  html:not(.js) .header-call {
    margin-top: 0.5rem;
  }

  /* Met JavaScript: een wit paneel onder de header */
  .js .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 24px 40px -28px rgb(19 38 58 / 0.45);
  }

  .js .main-nav.is-open {
    display: block;
  }

  .js .main-nav :focus-visible {
    outline-color: var(--blue);
  }

  .js .main-nav__list {
    display: block;
  }

  .js .main-nav__item {
    border-bottom: 1px solid var(--line);
  }

  .js .main-nav__link {
    justify-content: space-between;
    width: 100%;
    padding: 1rem 0;
    border-radius: 0;
    color: var(--ink);
    font-size: 1.0625rem;
  }

  .js .main-nav__link:hover {
    background: none;
    color: var(--blue);
  }

  .js .main-nav__link[aria-current="page"],
  .js .main-nav__link.is-current {
    box-shadow: none;
    color: var(--blue);
    font-weight: 650;
  }

  .submenu {
    padding-bottom: 1rem;
  }

  .submenu__list a,
  .submenu__all {
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
  }

  .submenu__list a {
    color: var(--ink-soft);
  }

  .submenu__all {
    font-weight: 600;
  }

  .js .header-call {
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: 1.5rem;
    border: 0;
    background: var(--blue);
    color: var(--white);
  }
}

/* Desktop: menu naast het logo, "Behandelingen" klapt open */
@media (min-width: 56em) {
  .site-header__inner {
    flex-wrap: nowrap;
    min-height: 5.25rem;
  }

  .site-header__logo img {
    height: 3.5rem;
  }

  /* Het paneel hangt rechts onder het menu, zodat het nooit buiten beeld valt */
  .main-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  .submenu {
    position: absolute;
    top: calc(100% + 0.9rem);
    right: 0;
    width: min(34rem, calc(100vw - 2 * var(--gutter)));
    padding: 1.5rem 1.75rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-img);
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 22px 44px -26px rgb(19 38 58 / 0.4);
  }

  /* Brug over de opening tussen knop en paneel, zodat hover niet wegvalt */
  .submenu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 1rem;
  }

  .submenu__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .submenu__list a {
    display: block;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9688rem;
    font-weight: 500;
  }

  .submenu__all {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--blue);
    font-size: 0.9688rem;
    font-weight: 600;
  }

  /* Zonder JavaScript: openen bij hover of focus */
  html:not(.js) .main-nav__item--sub:hover .submenu,
  html:not(.js) .main-nav__item--sub:focus-within .submenu {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Secties en titels
   -------------------------------------------------------------------------- */

.section {
  padding-block: var(--space-section);
}

/* Een fijne lijn tussen opeenvolgende secties, even breed als de inhoud */
.section + .section {
  padding-top: 0;
}

.section + .section > .container {
  padding-top: var(--space-section);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head p:not(.eyebrow) {
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.title-sm {
  margin-bottom: 1.5rem;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  max-width: none;
}

.section-head--split > div {
  max-width: 46rem;
}

/* --------------------------------------------------------------------------
   Startpagina: hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: clamp(2.25rem, 6vw, 4.5rem);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__text .lead {
  margin-top: 1.5rem;
}

.hero__text .actions {
  margin-top: 2.25rem;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 78%;
  border-radius: var(--radius-img);
}

@media (min-width: 56em) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .hero__media img {
    aspect-ratio: 4 / 5;
    object-position: 50% 50%;
  }
}

/* --------------------------------------------------------------------------
   Kaartjes met behandelingen
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-content: start;
  align-items: start;
}

.cards > .card + .card {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.card__img {
  grid-row: span 2;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-img);
}

/* Brandpunt per foto: toont meer van de bovenkant (bv. een gezicht) bij het bijsnijden */
.img--top {
  object-position: 50% 12%;
}

.card__title {
  font-size: 1.125rem;
}

.card__link {
  color: var(--ink);
  text-decoration: none;
}

/* De hele kaart is klikbaar via de link in de titel */
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card__link:focus-visible {
  outline: none;
}

.card__link:focus-visible::after {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
  border-radius: var(--radius-img);
}

.card:hover .card__link,
.member-card:hover .card__link,
.person:hover .card__link {
  color: var(--blue);
}

.card__text {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9688rem;
  line-height: 1.6;
}

@media (min-width: 40em) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1.75rem;
  }

  .card {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards > .card + .card {
    padding-top: 0;
    border-top: 0;
  }

  .card__img {
    grid-row: auto;
    aspect-ratio: 3 / 2;
    margin-bottom: 1.15rem;
  }
}

@media (min-width: 64em) {
  .cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Stappen ("Zo werken we")
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 2.25rem;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.step__nr {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-bottom: 0.55rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

@media (min-width: 52em) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   Team (startpagina en kaartjes "Bij wie kan je terecht?")
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  gap: 1.75rem;
  padding: 0;
  list-style: none;
}

.member-card {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0 1.25rem;
  align-content: start;
  align-items: center;
}

.member-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: var(--radius-img);
}

.member-card__name {
  font-size: 1.1875rem;
}

.member-card__role {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.member-card__tags {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.55;
}

@media (min-width: 44em) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .member-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .member-card img {
    margin-bottom: 1.25rem;
  }
}

/* Kleine portretten met naam, bv. onderaan een behandeling */
.people {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

* + .people {
  margin-top: 1.5rem;
}

.person {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.person img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 26%;
}

.person__name {
  font-weight: 650;
}

.person__note {
  color: var(--ink-soft);
  font-size: 0.9063rem;
  line-height: 1.5;
}

@media (min-width: 40em) {
  .people--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Tekst naast een foto (praktijk)
   -------------------------------------------------------------------------- */

.feature {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.feature__text .prose {
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

@media (min-width: 56em) {
  .feature {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 6vw, 6rem);
  }

  .feature__media img {
    aspect-ratio: 4 / 5;
  }
}

/* --------------------------------------------------------------------------
   Contact, kaart en praktische info
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 56em) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
  }
}

.contact-intro {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.contact-list {
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.title-sm + .contact-list {
  margin-top: 0;
}

.contact-more {
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9688rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line);
}

.contact-list .icon {
  margin-top: 0.2rem;
  color: var(--blue);
}

.contact-list__label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-list__value {
  font-size: 1.0625rem;
  font-weight: 500;
}

.map {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-img);
  background: var(--mist);
  text-align: center;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__placeholder {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  max-width: 27rem;
  padding: 2rem 1.5rem;
}

.map__placeholder > .icon {
  width: 2rem;
  height: 2rem;
  color: var(--blue);
}

.map__placeholder p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.map__address {
  color: var(--ink) !important;
  font-size: 1.0625rem !important;
  font-weight: 600;
}

.map__note {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* Korte praktische punten */
.facts {
  display: grid;
  gap: 1.5rem;
}

.facts dt {
  font-weight: 650;
}

.facts dd {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

@media (min-width: 44em) {
  .facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

/* Veelgestelde vragen */
.faq {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__question:hover {
  color: var(--blue);
}

.faq__answer {
  max-width: var(--measure);
  padding-bottom: 1.35rem;
  color: var(--ink-soft);
}

.faq__answer > * + * {
  margin-top: 0.8em;
}

/* --------------------------------------------------------------------------
   Subpagina's: kruimelpad en paginatitel
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.875rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--sky);
  font-weight: 700;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.page-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.page-hero__text .lead {
  margin-top: 1.5rem;
}

.page-hero__text .actions {
  margin-top: 2rem;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-img);
}

@media (min-width: 56em) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 6vw, 5.5rem);
  }

  .page-hero__media img {
    aspect-ratio: 1;
  }
}

.page-hero--plain .page-hero__text {
  max-width: 48rem;
}

/* --------------------------------------------------------------------------
   Inhoud van een behandeling: titel links, tekst rechts
   -------------------------------------------------------------------------- */

/* De eerste rij (of therapeut) heeft zelf een lijn bovenaan */
.section + .section > .rows,
.section + .section > .members {
  padding-top: 0;
  border-top: 0;
}

.rows > .row:last-child,
.members > .member:last-child {
  padding-bottom: 0;
}

.row {
  display: grid;
  gap: 1rem 4rem;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.row__title {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.row__body {
  max-width: var(--measure);
}

@media (min-width: 56em) {
  .row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

/* Links naar andere behandelingen */
.link-list {
  display: grid;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--blue);
}

.link-list .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--blue);
  transition: transform 0.2s;
}

.link-list a:hover .icon {
  transform: translateX(3px);
}

@media (min-width: 40em) {
  .link-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 64em) {
  .link-list--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   Teampagina
   -------------------------------------------------------------------------- */

.member {
  display: grid;
  gap: 2rem;
  padding-block: var(--space-section);
  border-top: 1px solid var(--line);
  scroll-margin-top: 0.5rem;
}

.member__photo img {
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.member__role {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}

.member__bio {
  margin-top: 1.5rem;
}

.member__block {
  margin-top: 2.25rem;
}

.member__block h3 {
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline > div {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.timeline dt {
  color: var(--blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.timeline dd {
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9063rem;
}

.tags a {
  text-decoration: none;
}

@media (min-width: 52em) {
  .member {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(3rem, 6vw, 5.5rem);
    align-items: start;
  }

  .member__photo img {
    max-width: none;
  }
}

/* Overige specialisaties (overzicht behandelingen) */
.defs > div {
  display: grid;
  gap: 0.25rem 2rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.defs {
  border-top: 1px solid var(--line);
}

.defs dt {
  font-weight: 650;
}

.defs dd {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 48em) {
  .defs > div {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

/* --------------------------------------------------------------------------
   Oproep tot afspraak (onderaan subpagina's)
   -------------------------------------------------------------------------- */

.cta__inner {
  display: grid;
  gap: 1.75rem 4rem;
  align-items: end;
}

.cta__text p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

@media (min-width: 56em) {
  .cta__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .cta .actions {
    justify-content: flex-end;
  }
}

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

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.9688rem;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

.footer-brand img {
  width: auto;
  height: 3.25rem;
}

.footer-brand p {
  max-width: 21rem;
  margin-top: 1.25rem;
  color: var(--on-blue-soft);
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--on-blue-soft);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-list {
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.footer-list--icons a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-list--icons .icon {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.22em;
}

.footer-social {
  margin-top: 1.5rem;
}

.footer-address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  color: var(--on-blue-soft);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--on-blue-soft);
}

@media (min-width: 40em) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1.15fr 0.8fr;
  }
}

/* --------------------------------------------------------------------------
   Minder beweging voor wie dat instelde
   -------------------------------------------------------------------------- */

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