/* ==========================================================
   Feet & Body Wellness — stylesheet
   Direction (taste-skill): "The place carries it". The room at Ramen 36, with its old
   oak beams and the window onto the Ramen, opens the page full-bleed; the rest stays
   quiet: short text, large photographs, flat fields of the brand colours.
   ========================================================== */

/* Self-hosted fonts (SIL Open Font License), Latin subset incl. é/ë */
@font-face {
  font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Colour: soft rose (from the towels in the treatment room), beige and a warm dark grey (the logo) */
  --bg: #f8f2ef;
  --surface: #ffffff;
  --rose-soft: #f3ddd3;
  --blush: #faeee8;
  --sand: #eee3dd;
  --rose: #d9a090;
  --rose-deep: #a85f4d;
  --charcoal: #3d3835;
  --charcoal-deep: #2b2725;
  --ink: #35302d;
  --muted: #6b5f58;
  --on-dark: #f8f2ef;
  --on-dark-soft: #ddd1ca;
  --scrim: 22, 18, 16;

  /* Type: Nunito for display and headings, Nunito Sans for text. Five sizes, far apart. */
  --display: "Nunito", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(3.5rem, 10.2vw, 13rem);
  --fs-h2: clamp(2.125rem, 1.45rem + 2.7vw, 3.75rem);
  --fs-lead: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  --fs-body: 1.125rem;
  --fs-small: 1rem;

  /* Layout: tight margins, large things run to the edges */
  --m: clamp(1rem, 2.6vw, 2.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.55;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0 0 1em; text-wrap: pretty; overflow-wrap: break-word; }
ul, ol, dl, dd { margin: 0; padding: 0; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
em, i, cite, address { font-style: normal; } /* Huisregel: geen cursieve tekst */
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(61, 56, 53, .12); }
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; }
.hero :focus-visible, .header:not(.is-solid) :focus-visible, .footer :focus-visible { outline-color: var(--on-dark); }
main:focus { outline: none; }
.nowrap { white-space: nowrap; }
.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; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--charcoal); color: var(--on-dark); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--m); }
.h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: -.03em; color: var(--charcoal); margin-bottom: .45em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; }
.textlink { font-weight: 700; color: var(--charcoal); text-underline-offset: 4px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Buttons: flat, one shape (pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.5rem; border-radius: 999px; border: 0;
  font-size: var(--fs-body); font-weight: 700; text-decoration: none; text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--charcoal); color: var(--on-dark); }
.btn--primary:hover { background: #57504c; }
.btn--paper { background: var(--bg); color: var(--charcoal); }
.btn--paper:hover { background: #fff; }
.btn--ghost { background: var(--rose-soft); color: var(--charcoal); }
.btn--ghost:hover { background: var(--rose); }
.btn--small { min-height: 2.75rem; padding: .5rem 1.15rem; font-size: var(--fs-small); }

/* ---------- Header: plain, solid; white over the hero photograph ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background-color .3s var(--ease), color .3s var(--ease); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: .75rem var(--m); max-width: 1600px; margin-inline: auto; }
.header.is-solid { background: var(--bg); color: var(--charcoal); }
.brand { display: block; margin-right: auto; text-decoration: none; }
.brand__logo { height: 3rem; width: auto; }
.brand__logo--dark, .header.is-solid .brand__logo--light { display: none; }
.header.is-solid .brand__logo--dark { display: block; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; }
.nav__list a { font-size: var(--fs-small); font-weight: 700; text-decoration: none; padding-block: .6rem; text-underline-offset: 6px; }
.nav__list a:hover { text-decoration: underline; }
.header__cta { background: var(--bg); color: var(--charcoal); }
.header.is-solid .header__cta { background: var(--charcoal); color: var(--on-dark); }
.nav__contact { display: none; }
/* Menu button: three bars that turn into a cross while the menu is open */
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; margin-right: -.5rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 1.75rem; height: .1875rem; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.menu-toggle__bars { position: relative; margin-inline: auto; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -.5rem; }
.menu-toggle__bars::after { top: .5rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background-color: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(.5rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-.5rem) rotate(-45deg); }

/* ---------- Hero: the room fills the screen, the name sits on the bottom edge ---------- */
.hero { position: relative; height: 100svh; min-height: 34rem; overflow: hidden; background: var(--charcoal-deep); color: var(--on-dark); }
.hero__media, .hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: 50% 42%; }
.hero__img { opacity: 0; transition: opacity 1.6s ease-in-out; }
.hero__img.is-active { opacity: 1; }
/* Neutral scrims behind the text only: a thin band at the top, the lower 48% at the bottom */
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.hero::before { top: 0; height: 10rem; background: linear-gradient(rgba(var(--scrim), .72), rgba(var(--scrim), 0)); } /* taste-skill-ignore: neutral scrim under text on a photo */
.hero::after { bottom: 0; height: 48%; background: linear-gradient(rgba(var(--scrim), 0), rgba(var(--scrim), .66)); } /* taste-skill-ignore: neutral scrim under text on a photo */
.hero__content {
  position: absolute; inset: auto 0 0; z-index: 2; padding: 0 var(--m) .25rem;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; row-gap: .15rem;
}
.hero__lead, .hero__rotator { font-size: var(--fs-lead); line-height: 1.3; margin: 0; max-width: 32rem; position: relative; z-index: 1; } /* above the name, whose glyph box reaches up past its line box */
.hero__lead { font-family: var(--sans); font-weight: 700; text-wrap: pretty; overflow-wrap: normal; hyphens: manual; } /* de h1: zoekwoorden voor Google, ziet eruit als gewone tekst */
.hero__rotator { display: grid; color: var(--on-dark-soft); }
.hero__hl { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero__hl.is-active { opacity: 1; transform: none; }
.hero__name {
  margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; overflow-wrap: break-word; hyphens: auto;
  grid-column: 1 / -1; font-size: var(--fs-display); line-height: .8; letter-spacing: -.055em;
  white-space: nowrap; margin-left: -.04em; padding-bottom: .12em; margin-top: .15em; /* room for the descender of the y */
}

/* Grid children may shrink below their content (large text settings, long words) */
.medisch__grid > *, .over__grid > *, .faq__grid > *, .hero__content > * { min-width: 0; }

/* ---------- Medisch pedicure: navy field, text left, ProVoet seal right ---------- */
.medisch { background: var(--rose-soft); color: var(--ink); padding-block: var(--section); }
.medisch__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; align-items: start; }
.medisch__text { grid-column: 1 / span 6; }
.medisch__text .lead { max-width: 38rem; }
.medisch__list { grid-column: 8 / span 5; align-self: end; list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem 2rem; font-weight: 700; }
.medisch__list li { padding-left: 1.4rem; position: relative; }
.medisch__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rose-deep); }
.seal { background: var(--rose-soft); color: var(--ink); padding: clamp(1.75rem, 3vw, 2.5rem); }
.seal__title { font-size: var(--fs-lead); line-height: 1.2; color: var(--charcoal); margin: 0 0 .75rem; }
.seal p { font-size: var(--fs-small); }
.seal__note { color: var(--muted); }
.seal__link { font-weight: 700; color: var(--charcoal); font-size: var(--fs-small); text-underline-offset: 4px; }

/* ---------- Behandelingen & prijzen: one printed sheet on a sky field ---------- */
.menu { background: var(--sand); padding: var(--section) var(--m); }
.sheet { max-width: 46rem; margin-inline: auto; background: var(--surface); padding: clamp(2rem, 5vw, 4rem); }
.sheet__title, .sheet__group-title { text-align: center; }
.sheet__group { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.sheet__group-title { font-size: var(--fs-lead); color: var(--charcoal); margin-bottom: 1.5rem; }
.sheet__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: 34rem; margin-inline: auto; }
.sheet__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 1rem; }
.sheet__name { font-family: var(--sans); font-size: var(--fs-body); min-width: 0; overflow-wrap: anywhere; }
.sheet__price { font-weight: 700; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; color: var(--charcoal); }
.sheet__item p { margin: .15rem 0 0; font-size: var(--fs-small); color: var(--muted); max-width: 30rem; }

/* ---------- De praktijk: a sideways row of photographs ---------- */
.praktijk { padding-block: var(--section) 0; }
.praktijk__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 1rem; }
.praktijk__head .h2 { min-width: 0; }
.praktijk__intro { flex-basis: 100%; max-width: 40rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.praktijk__intro a { font-weight: 700; color: var(--charcoal); text-underline-offset: 4px; }
.row {
  list-style: none; display: flex; gap: .75rem; height: 68svh; min-height: 22rem; max-height: 52rem;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-inline: 6vw; scroll-padding-inline: 6vw; cursor: grab;
}
.row::-webkit-scrollbar { display: none; }
.row.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.row.is-hinting .row__item { animation: row-hint 1.4s var(--ease) both; }
.row.is-hinting .row__item:nth-child(2) { animation-delay: .05s; }
.row.is-hinting .row__item:nth-child(n+3) { animation-delay: .1s; }
@keyframes row-hint { 0%, 100% { transform: none; } 45% { transform: translateX(-4.5rem); } }
.row__item { flex: 0 0 auto; height: 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
.row__item:nth-child(3n+2) { aspect-ratio: 4 / 5; }
.row__item picture, .row__item img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }

/* ---------- Over Monique: large photo of Monique at work, text and the ProVoet block beside it ---------- */
.over { padding-block: var(--section); }
.over__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; align-items: center; }
.over__photo { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.over__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.over__text { grid-column: 7 / span 6; grid-row: 1; align-self: end; }
.over .seal { grid-column: 7 / span 6; grid-row: 2; align-self: start; max-width: 38rem; }
.over__text .lead { max-width: 38rem; }
.over__text p:last-child { margin-bottom: 0; max-width: 38rem; }

/* ---------- FAQ: questions beside a tall photograph ---------- */
.faq { background: var(--rose-soft); padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 2.5rem; align-items: start; }
.faq__intro { grid-column: 1 / span 5; grid-row: 1; }
.faq__list { grid-column: 7 / span 6; grid-row: 1; }
/* The visit card: address, hours and phone on the page colour, with the call button */
.faq__card { margin-top: 1.5rem; background: var(--bg); padding: min(clamp(1.5rem, 3vw, 2.25rem), 6vw); }
.faq__info { display: grid; gap: 1.1rem; margin: 0 0 1.75rem; }
.faq__info dt { font-size: var(--fs-small); color: var(--muted); }
.faq__info dd { margin: 0; font-weight: 700; color: var(--charcoal); }
.faq__info a { color: var(--charcoal); text-underline-offset: 4px; }
.faq__list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: .5rem; }
/* Each question on its own soft surface; the open one turns white */
.faq__item { background: var(--bg); padding-inline: min(1.25rem, 5vw); transition: background-color .25s var(--ease); }
.faq__item[open] { background: var(--surface); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; display: flex; align-items: center; min-height: 2.75rem;
  padding: .9rem min(2.25rem, 9vw) .9rem 0; font-family: var(--display); font-weight: 700; color: var(--charcoal); overflow-wrap: anywhere; hyphens: auto;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: .6rem; height: .6rem; margin-top: -.45rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(.3rem) rotate(-135deg); }
.faq__item summary:hover { color: var(--rose-deep); }
.faq__item p { margin: .1rem 0 1.25rem; color: var(--ink); max-width: 36rem; }
.faq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* ---------- Contact: a visit card on a photograph of the window ---------- */
.contact { position: relative; min-height: 100svh; }
.contact__photo, .contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__photo img { object-fit: cover; object-position: 30% 55%; }
.card {
  position: absolute; top: 4rem; right: var(--m); width: min(24rem, calc(100% - var(--m) * 2));
  background: var(--bg); padding: 2rem 2rem 0; display: flex; flex-direction: column;
}
.card__title { font-size: var(--fs-h2); line-height: 1; letter-spacing: -.03em; color: var(--charcoal); margin-bottom: 1.25rem; }
.card a { text-underline-offset: 4px; }
.card__small { font-size: var(--fs-small); color: var(--muted); }
.hours { list-style: none; display: grid; gap: .15rem; margin-bottom: 1.25rem; font-variant-numeric: tabular-nums; }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; }
.card__contact a { display: inline-block; padding-block: .3rem; font-weight: 700; color: var(--charcoal); overflow-wrap: anywhere; }
.card__btn { margin: .5rem -2rem 0; border-radius: 0; min-height: 3.5rem; }

/* ---------- Footer: inverted, columns above, the name across the width below ---------- */
.footer { background: var(--charcoal); color: var(--on-dark-soft); font-size: var(--fs-small); padding-top: 3rem; min-height: 70svh; display: flex; flex-direction: column; justify-content: space-between; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer__cols p { margin: 0; }
.footer__cols .footer__first { color: var(--on-dark); font-weight: 700; margin-bottom: .4rem; }
.footer a { color: var(--on-dark-soft); text-decoration: none; display: inline-block; padding-block: .2rem; overflow-wrap: anywhere; }
.footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer__bottom { padding-top: 4rem; padding-bottom: 1.25rem; }
.footer__word { width: 100%; height: auto; fill: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: 112px; letter-spacing: -2px; }
.footer__legal { margin: 1rem 0 0; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal (content is visible without JS; see .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible, .no-reveal .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__rotator { display: block; }
  .hero__hl { display: none; }
  .hero__hl:first-child { display: block; opacity: 1; transform: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--bg); color: var(--charcoal);
    display: flex; flex-direction: column; justify-content: flex-start; padding: 5.5rem var(--m) 2rem;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
  /* Each menu item is its own white, tappable row with an arrow */
  .nav__list { flex-direction: column; gap: .5rem; }
  .nav__list a {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .75rem 1.25rem;
    background: var(--surface); font-family: var(--display); font-size: var(--fs-lead); line-height: 1.25; text-decoration: none;
  }
  .nav__list a::after { content: ""; flex-shrink: 0; width: .55rem; height: .55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
  .nav__list a:hover, .nav__list a:active { background: var(--rose-soft); text-decoration: none; }
  .nav__contact { display: grid; gap: .75rem; margin-top: 2rem; }
  .nav__contact .btn { white-space: normal; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; order: 3; }
  .header__cta { order: 2; }
  .brand { position: relative; z-index: 2; }
  .header__cta { position: relative; z-index: 2; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { color: var(--charcoal); }
  body.menu-open .brand__logo--light { display: none; }
  body.menu-open .brand__logo--dark { display: block; }
  /* Once the call/WhatsApp bar takes over, the header button fades and slides away (opacity/transform only: no layout shift, no repaint cost) */
  .header__cta { transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s, background-color .3s var(--ease), color .3s var(--ease); }
  body.menu-open .header__cta, .bar-visible .header__cta { opacity: 0; transform: translateY(-.5rem); visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s, background-color .3s var(--ease), color .3s var(--ease); }
  /* …and right after, the menu button slides a little inwards into the space it frees up */
  .menu-toggle { transition: transform .45s var(--ease); }
  body.menu-open .menu-toggle, .bar-visible .menu-toggle { transform: translateX(-.75rem); transition: transform .45s var(--ease) .2s; }

  .medisch__grid, .faq__grid, .over__grid { grid-template-columns: minmax(0, 1fr); }
  .medisch__text, .medisch__list, .faq__intro, .faq__list { grid-column: 1 / -1; grid-row: auto; }
  .medisch__list { grid-template-columns: 1fr 1fr; }
  .over__text, .over__photo, .over .seal { grid-column: 1 / -1; grid-row: auto; }
  .over__photo, .over .seal { max-width: 34rem; }

  /* The call/WhatsApp bar appears once the hero is scrolled past (JS); without JS it is always there */
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
    padding: .5rem var(--m) calc(.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--bg); transition: transform .35s var(--ease);
  }
  .bar-ready .mobile-bar:not(.is-visible), body.menu-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar__btn {
    display: flex; align-items: center; justify-content: center; gap: .45rem; min-width: 0; min-height: 2.75rem; padding-inline: .5rem;
    border-radius: 999px; text-decoration: none; font-weight: 700; font-size: min(var(--fs-small), max(5.2vw, 16px)); background: var(--charcoal); color: var(--on-dark);
  }
  .mobile-bar__btn--wa { background: var(--rose-soft); color: var(--charcoal); }
  .mobile-bar__btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
  .footer { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: 4.5rem; }
}

/* Small laptops and tablets in landscape: tighter navigation so the header stays on one line */
@media (min-width: 961px) and (max-width: 1100px) {
  .header__inner { column-gap: 1rem; }
  .nav__list { gap: .9rem; }
  .brand__logo { height: 2.6rem; }
}

/* Tablet: text across, then the photo of Monique and the ProVoet block side by side */
@media (min-width: 641px) and (max-width: 960px) {
  .faq__info { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
  .over__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .over__text { grid-column: 1 / -1; grid-row: 1; }
  .over__photo { grid-column: 1; grid-row: 2; }
  .over .seal { grid-column: 2; grid-row: 2; align-self: end; }
}

@media (max-width: 640px) {
  :root { --fs-body: 1.0625rem; }
  /* Narrow columns: fill each line and break long Dutch compounds with a hyphen ("kruidenstempel-massage"), instead of leaving short lines */
  p, li, dd { text-wrap: wrap; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
  .header__inner { gap: .75rem; padding-block: .6rem; }
  .brand__logo { height: min(2.6rem, 11.5vw); }
  .hero { min-height: 30rem; }
  .hero__img img { object-position: 46% 50%; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__name { font-size: 15.5vw; white-space: normal; line-height: .86; margin-top: .2em; }
  .hero__name span { display: block; white-space: nowrap; }
  .hero__rotator { order: 3; margin-top: .25rem; }

  .medisch__list { grid-template-columns: 1fr; }
  .menu { padding-inline: .6rem; }
  .sheet { padding: 2rem 1.25rem; }
  .row { height: min(62svh, 105vw); min-height: 18rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem; gap: .5rem; } /* the next photo always shows, so the row reads as swipeable */
  .faq__actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; }
  .contact { min-height: 0; display: flex; flex-direction: column; padding-bottom: 3.5rem; }
  .contact__photo { position: relative; height: 70svh; }
  .card { position: relative; top: auto; right: auto; width: auto; margin: -5rem var(--m) 0; }
  .footer { min-height: 0; }
  .footer__cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: 2rem 1.25rem; }
  .footer__bottom { padding-top: 5rem; }
}

/* Phones in landscape: compact header and bar */
@media (max-height: 520px) and (max-width: 960px) and (orientation: landscape) {
  .header__inner { padding-block: .35rem; }
  .brand__logo { height: 2.3rem; }
  .nav { padding-top: 4rem; }
  .nav__list a { min-height: 2.75rem; padding-block: .5rem; }
  .mobile-bar { padding-block: .4rem calc(.4rem + env(safe-area-inset-bottom, 0px)); }
  .hero { min-height: 24rem; }
  .hero__name { font-size: 9vw; }
}

/* 404 page */
.notfound { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.25rem; padding-block: 3rem; padding-inline: var(--m); max-width: 40rem; margin-inline: auto; }
.notfound p { color: var(--muted); margin: 0; }
.notfound .h2 { margin: 1rem 0 0; }
.notfound .brand__logo { height: 3rem; }
.legal { justify-content: flex-start; padding-block: clamp(3rem, 8vw, 6rem); }
.legal h2 { font-size: var(--fs-lead); color: var(--charcoal); margin: 1rem 0 -.75rem; }
.legal a:not(.btn):not(.brand) { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Keuzehulp: twee vragen onder de prijskaart, eindigt bij WhatsApp of bellen ---------- */
.sheet__help { text-align: center; margin: -.25rem 0 0; font-size: var(--fs-small); }
.medisch__help { margin: 2rem 0 0; }
/* The start block under the price list: dark, so it stands out; the button opens the keuzehulp in a pop-up */
.kh-start { max-width: 46rem; margin: clamp(1rem, 2vw, 1.5rem) auto 0; background: var(--charcoal); color: var(--on-dark); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem); text-align: center; scroll-margin-top: 5rem; }
.kh-start__title { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.02em; color: var(--on-dark); margin-bottom: .75rem; }
.kh-start__text { max-width: 30rem; margin: 0 auto 1.75rem; color: var(--on-dark-soft); }
.kh-start__btn { display: none; }
.js .kh-start__btn { display: inline-flex; }
.kh-start__fallback { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.5rem; }
.kh-start__fallback .textlink { color: var(--on-dark); }
.js .kh-start__fallback { display: none; }
/* The pop-up: a centred panel on larger screens, a sheet from the bottom on phones */
.keuzehulp { background: var(--rose-soft); }
.kh-dialog { box-sizing: border-box; width: min(40rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 3.5rem clamp(1.25rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem); border: 0; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.kh-dialog::backdrop { background: rgba(var(--scrim), .6); }
.kh-dialog[open] { animation: kh-pop .4s var(--ease) both; }
.kh-dialog[open]::backdrop { animation: kh-fade .4s var(--ease) both; }
@keyframes kh-pop { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes kh-fade { from { opacity: 0; } to { opacity: 1; } }
.kh-dialog__close { position: absolute; top: .5rem; right: .5rem; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--charcoal); cursor: pointer; }
.kh-dialog__close::before, .kh-dialog__close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 1.25rem; height: .1875rem; margin: -.09rem 0 0 -.625rem; border-radius: 2px; background: currentColor; }
.kh-dialog__close::before { transform: rotate(45deg); }
.kh-dialog__close::after { transform: rotate(-45deg); }
.kh-dialog__close:hover { background: var(--bg); }
html.kh-open { overflow: hidden; }
.keuzehulp__title { font-size: var(--fs-lead); line-height: 1.2; color: var(--charcoal); text-align: center; margin-bottom: 1.75rem; }
.keuzehulp__body { max-width: 38rem; margin-inline: auto; }
.js:not(.no-reveal) .keuzehulp:not(.is-visible) .keuzehulp__body > *, .js:not(.no-reveal) .keuzehulp:not(.is-visible) .keuzehulp__opt { opacity: 0; }
.keuzehulp.is-visible .keuzehulp__body > * { animation: kh-in .55s var(--ease) both; }
.keuzehulp.is-visible .keuzehulp__body > :nth-child(2) { animation-delay: .08s; }
.keuzehulp.is-visible .keuzehulp__body > :nth-child(n+3) { animation-delay: .16s; }
.keuzehulp.is-visible .keuzehulp__opt { animation: kh-in .55s var(--ease) both; animation-delay: .14s; }
.keuzehulp.is-visible .keuzehulp__opt:nth-child(2) { animation-delay: .22s; }
.keuzehulp.is-visible .keuzehulp__opt:nth-child(3) { animation-delay: .3s; }
.keuzehulp.is-visible .keuzehulp__opt:nth-child(n+4) { animation-delay: .38s; }
@keyframes kh-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.keuzehulp__q { font-family: var(--display); font-weight: 700; font-size: var(--fs-body); color: var(--charcoal); margin: 0 0 1rem; }
.keuzehulp__q:focus { outline: none; }
.keuzehulp__q:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 4px; }
.keuzehulp__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
.keuzehulp__opt { background: var(--bg); white-space: normal; text-align: center; line-height: 1.3; }
.keuzehulp__opt:hover { background: var(--surface); }
.keuzehulp__back { display: inline-block; min-height: 2.75rem; margin-top: 1.25rem; padding: .5rem 0; background: none; border: 0; color: var(--charcoal); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.keuzehulp__result { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1.25rem 1.5rem; background: var(--bg); }
.keuzehulp__result li { flex-wrap: wrap; column-gap: 1rem; }
.keuzehulp__name { font-weight: 700; min-width: 0; overflow-wrap: break-word; }
.keuzehulp__why { margin: 1.25rem 0 0; }
.keuzehulp__body > .keuzehulp__why:first-child { margin-top: 0; text-align: center; }
.keuzehulp__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.keuzehulp__body > .keuzehulp__why:first-child + .keuzehulp__actions { justify-content: center; }
.keuzehulp__actions .btn { flex: 1 1 14rem; }
.keuzehulp__actions .btn--ghost { background: var(--bg); }
.keuzehulp__actions .btn--ghost:hover { background: var(--surface); }
.keuzehulp__note { margin: .75rem 0 0; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 640px) {
  .kh-dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 3.5rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0px)); }
  @keyframes kh-pop { from { transform: translateY(100%); } to { transform: none; } }
  .keuzehulp__result { padding: 1rem; }
}

/* Narrow phones (iPhone SE/mini with larger text, or Safari page zoom): logo and Menu only; the call/WhatsApp bar follows after the hero */
@media (max-width: 370px) {
  .header__cta { display: none; }
  .menu-toggle, body.menu-open .menu-toggle, .bar-visible .menu-toggle { transform: translateX(-.75rem); transition: none; }
}
/* Very narrow (Safari page zoom 150–300 %): let long words and fixed pairs give way rather than run off the screen */
@media (max-width: 300px) {
  body, body *, .keuzehulp__name { overflow-wrap: anywhere; hyphens: auto; }
  .nowrap, .sheet__price { white-space: normal; }
  .btn { padding-inline: 1rem; }
  .header__inner { padding-inline: .75rem; gap: .5rem; }
  .hero__name span { white-space: normal; }
  :root { --fs-h2: clamp(1.5rem, 12.5vw, 2.125rem); }
  .card { padding: 1.5rem 1rem 0; margin-inline: .5rem; }
  .card__btn { margin-inline: -1rem; }
  .mobile-bar__btn { gap: 0; padding-inline: .5rem; overflow-wrap: normal; }
  .mobile-bar__btn svg { display: none; }
}
/* Keep the phone number on one line where it fits */
@media (min-width: 190px) and (max-width: 300px) {
  a[href^="tel:"]:not(.btn) { white-space: nowrap; overflow-wrap: normal; }
}
/* Tiniest (Safari page zoom 175–300 %): the call/WhatsApp bar shows large icons only, with the words kept for screen readers */
@media (max-width: 240px) {
  .mobile-bar__btn svg { display: block; width: 1.5rem; height: 1.5rem; }
  .mobile-bar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Temporarily closed (html.is-closed, set by the build) ---------- */
.closed-bar { position: relative; z-index: 60; background: var(--charcoal); color: var(--on-dark); padding: .75rem var(--m); text-align: center; font-weight: 700; font-size: var(--fs-small); line-height: 1.4; }
.closed-bar p { margin: 0; }
.is-closed .hero { height: calc(100svh - var(--closed-h, 0px)); }
@media (max-width: 960px) { .is-closed .nav { padding-top: calc(5.5rem + var(--header-top, 0px)); } }
.hours-closed { margin: 0 0 1.25rem; font-weight: 700; color: var(--charcoal); }
.is-closed .keuzehulp__note { display: none; }
.closed-dialog { width: min(32rem, calc(100% - 2rem)); background: var(--rose-soft); }
.closed-dialog__title { font-size: var(--fs-lead); line-height: 1.2; color: var(--charcoal); margin-bottom: 1rem; }
.closed-dialog__ok { margin-top: .75rem; min-width: 8rem; }
@media (max-width: 640px) { .closed-dialog { width: 100%; } }
