/* ============================================================
 * Jonas Peeters — gedeelde stijlen voor alle pagina's
 * ============================================================ */

/* ─── Self-hosted webfonts (GDPR-vriendelijk, geen Google Fonts CDN)
       Bron: Google Fonts WOFF2, latin subset, font-display: swap. ─── */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/manrope-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-normal.woff2') format('woff2');
}

:root {
  --bg: #F4EFE6;
  --bg-elev: #EAE3D5;
  --ink: #1A1814;
  --ink-soft: #5A574F;
  --accent: #3F5A4A;
  --rule: #D5CCB9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
 * HEADER + LOGO (Optie D — sage verticale lijn)
 * ============================================================ */
header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  transition: gap 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mark-rule {
  width: 1.5px;
  height: 1.55rem;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mark-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: color 0.2s, font-size 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mark:hover .mark-name { color: var(--accent); }

/* ── Homepagina (body.has-big-mark): sticky header + smooth
   scroll-morph van het grote hero-logo naar klein header-logo. ── */

/* Container left padding berekening voor fixed-positioned hero-mark */
:root {
  --container-left: max(2rem, calc((100vw - 1100px) / 2 + 2rem));
}

body.has-big-mark header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
  background: var(--bg);
}
body.has-big-mark.scrolled header {
  border-bottom-color: var(--rule);
}
/* Header-mark wordt niet gebruikt op homepagina — hero-mark vervangt 'm */
body.has-big-mark .mark { visibility: hidden; }

/* ── Hero-mark: fixed positie, transformeert via --sp ── */
/* Native maten = grote (sp=0) staat. Scale verkleint omlaag naar
   klein (sp=1). Tekst wordt gerasterd op de grote maat — Safari
   rendert dan vector-scherp. Klein-doel visueel: 1.4rem. */
body.has-big-mark .hero-mark {
  position: fixed;
  top: 1.5rem;
  left: var(--container-left);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  margin: 0;
  text-decoration: none;
  color: var(--ink);
  transform-origin: top left;
  transform:
    translate3d(0, calc((1 - var(--sp, 1)) * 9.5rem), 0)
    scale(calc(1 - var(--sp, 1) * 0.714));
  will-change: transform;
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}
body.has-big-mark .hero-mark:hover { color: var(--accent); }
body.has-big-mark .hero-mark-rule {
  width: 5px;
  height: 5.4rem;
  background: var(--accent);
  display: block;
  flex-shrink: 0;
}
body.has-big-mark .hero-mark-name {
  font-family: 'Instrument Serif', serif;
  font-size: 4.9rem;
  letter-spacing: -0.005em;
  line-height: 1;
  text-rendering: geometricPrecision;
}

/* Hero-foto: gelijk uitgelijnd met logo-hoogte; tekstkolom krijgt
   eigen padding-top zodat titel onder het logo blijft. */
body.has-big-mark .hero { padding-top: 8rem; }
body.has-big-mark .hero-text { padding-top: 9rem; }
@media (max-width: 900px) {
  body.has-big-mark .hero-text { padding-top: 0; }
  /* Vanaf tablet portretmodus al kleinere big-mark + dichter bij top,
     zodat 'Jonas Peeters' niet over de titel valt op iPad mini / Air. */
  body.has-big-mark .hero { padding-top: 7rem; }
  body.has-big-mark .hero-mark-name { font-size: 2.4rem; }
  body.has-big-mark .hero-mark-rule { height: 2.65rem; width: 3px; }
  body.has-big-mark .hero-mark { gap: 1.4rem; }
  body.has-big-mark .hero-mark {
    transform:
      translate3d(0, calc((1 - var(--sp, 1)) * 5rem), 0)
      scale(calc(1 - var(--sp, 1) * 0.52));
  }
}
@media (max-width: 720px) {
  :root { --container-left: 1.5rem; }
}

.header-right { display: flex; align-items: center; gap: 1.25rem; }
.header-cta {
  background: var(--accent);
  color: var(--bg);
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.1rem;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.header-cta:hover { background: var(--ink); transform: translateY(-1px); }
.lang-toggle { display: flex; gap: 0.25rem; font-size: 0.8rem; letter-spacing: 0.08em; }
.lang-toggle button {
  background: none; border: none; color: var(--ink-soft); cursor: pointer;
  font-family: inherit; font-size: inherit; padding: 0.4rem 0.6rem;
  text-transform: uppercase; transition: color 0.2s;
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* ============================================================
 * HERO (homepagina)
 * ============================================================ */
.hero { padding: 3rem 0 5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 2.25rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-photo {
  aspect-ratio: 3712 / 5504;
  overflow: hidden;
  background: var(--bg-elev);
  border-radius: 2px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero .meta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero .meta a {
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: color 0.2s;
}
.hero .meta a::before {
  content: "—";
  margin-right: 0.7rem;
  color: var(--accent);
}
.hero .meta a:hover { color: var(--ink); }

/* ============================================================
 * SECTIONS — algemeen
 * ============================================================ */
section { padding: 5rem 0; border-top: 1px solid var(--rule); }
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  max-width: 28ch;
}
.section-title em { font-style: italic; color: var(--accent); }
.about { padding: 6rem 0 5.5rem; }
.about .section-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 3rem;
}
.about p {
  font-size: 1.15rem;
  line-height: 1.65;
  max-width: 40rem;
  color: var(--ink);
}
.about p + p { margin-top: 1.25rem; }
.about p.lang-note {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 2rem;
}
.about .visie {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.about .visie-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.about .visie p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 38rem;
  margin-top: 0;
}

/* ============================================================
 * PRACTICES (cards op homepagina + afspraak-pagina)
 * ============================================================ */
.practices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.practice {
  background: var(--bg-elev);
  padding: 2.5rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.practice h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.practice .city {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.practice .details {
  font-size: 0.95rem;
  line-height: 1.85;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}
.practice .details a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s, color 0.2s;
}
.practice .details a:hover { border-color: var(--accent); color: var(--accent); }
.practice h3 a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  transition: color 0.2s;
}
.practice h3 a:hover { color: var(--accent); }
.practice h3 .arrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 0.62em;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.2s;
}
.practice h3 a:hover .arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}
.practice address {
  font-style: normal;
  margin-bottom: 0.85rem;
  line-height: 1.65;
}
.practice address a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.practice address a:hover { color: var(--accent); border-color: var(--accent); }
.practice .contact-row { line-height: 1.85; }
.practice .cta-group {
  margin-top: auto;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.practice .cta-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.practice .cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: left;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.practice .cta:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.practice .cta .arrow {
  font-weight: 300;
  transition: transform 0.25s ease;
}
.practice .cta:hover .arrow { transform: translateX(2px); }

/* ============================================================
 * INSTAGRAM
 * ============================================================ */
.instagram-section .insta-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s;
}
.insta-handle:hover { color: var(--accent); }
.insta-icon {
  width: 1.15em;
  height: 1.15em;
  color: var(--accent);
  flex-shrink: 0;
}
.insta-handle .arrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 0.5em;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.2s;
}
.insta-handle:hover .arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}
.insta-follow {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.insta-follow:hover { background: var(--ink); color: var(--bg); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 780px;
}
/* Eén-tegel-modus: links uitgelijnd, enkel vierkant.
   Dubbele class (.insta-grid.insta-grid-single) → hogere specificity
   dan de mobiele @media-override. */
.insta-grid.insta-grid-single {
  grid-template-columns: minmax(0, 340px);
  max-width: 340px;
}
.insta-tile {
  aspect-ratio: 1;
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.insta-tile:hover { transform: scale(1.015); }
.insta-tile svg {
  width: 32px;
  height: 32px;
  color: var(--ink-soft);
  opacity: 0.35;
  transition: opacity 0.25s ease, color 0.2s;
}
.insta-tile:hover svg { opacity: 0.7; color: var(--accent); }
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
 * BEHANDELINGEN-OVERZICHT (cards op homepagina)
 * ============================================================ */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.treatment-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  padding: 2.5rem;
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.treatment-card:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}
.treatment-card h3 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}
.treatment-card h3 .arrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 0.6em;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.2s;
}
.treatment-card:hover h3 .arrow { transform: translateX(3px); color: var(--bg); }
.treatment-card p {
  color: var(--ink-soft);
  flex-grow: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}
.treatment-card:hover p { color: var(--bg-elev); }
.treatment-card-foot {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s ease;
}
.treatment-card:hover .treatment-card-foot { color: var(--bg); }

/* ============================================================
 * SUBPAGINA — Behandelingen-detail + Afspraak-pagina
 * ============================================================ */
.subpage-hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--rule); }
.subpage-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 1.75rem;
}
.subpage-hero h1 em { font-style: italic; color: var(--accent); }
.subpage-hero .lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 45rem;
  line-height: 1.55;
}

.treatment-body { padding: 4rem 0 5rem; border-top: none; }
.treatment-body section {
  padding: 0;
  border: none;
  margin-bottom: 2.75rem;
}
.treatment-body section:last-child { margin-bottom: 0; }
.treatment-body h2 {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.treatment-body p {
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 46rem;
  color: var(--ink);
}
.treatment-body p + p { margin-top: 1rem; }
.treatment-body a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.treatment-body a:hover { color: var(--accent); border-color: var(--accent); }
.treatment-list {
  margin-top: 1.2rem;
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 46rem;
}
.treatment-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 1.4rem;
  position: relative;
}
.treatment-list li::before {
  content: "—";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.treatment-list li strong {
  color: var(--ink);
  font-weight: 500;
}

.subpage-cta { padding: 4rem 0 5rem; border-top: 1px solid var(--rule); }
.subpage-cta h2 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  max-width: 28ch;
}
.subpage-cta h2 em { font-style: italic; color: var(--accent); }
.subpage-cta p {
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.subpage-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-primary .arrow { font-weight: 300; transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(2px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  text-decoration: none;
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.link-secondary:hover { color: var(--accent); border-color: var(--accent); }
.link-secondary .arrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  transition: transform 0.25s ease;
}
.link-secondary:hover .arrow { transform: translateX(2px); }

/* ============================================================
 * FOOTER
 * ============================================================ */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-locations {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-locations a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-locations a:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.footer-locations .sep { color: var(--rule); }

/* ============================================================
 * AFSPRAAK-MODAL (slide-up panel met behandelingsopties)
 * ============================================================ */
.appointment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.appointment-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.55);
}
.modal-panel {
  position: relative;
  background: var(--bg);
  padding: 2.5rem 2.5rem 2.25rem;
  border-radius: 4px 4px 0 0;
  width: min(560px, calc(100% - 2rem));
  margin: 0 auto;
  transform: translateY(40px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 32px rgba(26, 24, 20, 0.18);
}
.appointment-modal[aria-hidden="false"] .modal-panel {
  transform: translateY(0);
}
@media (min-width: 720px) {
  .appointment-modal { align-items: center; }
  .modal-panel {
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(26, 24, 20, 0.22);
  }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover { color: var(--ink); background: var(--bg-elev); }
.modal-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.modal-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.modal-options { display: flex; flex-direction: column; gap: 0.6rem; }
.modal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elev);
  color: var(--ink);
  text-decoration: none;
  border-radius: 2px;
  font-size: 1rem;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.modal-option:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.modal-option .arrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  transition: transform 0.25s ease;
}
.modal-option:hover .arrow { transform: translateX(2px); }
body.modal-open { overflow: hidden; }

/* ============================================================
 * ANIMATIE
 * ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .meta, .hero-photo,
.subpage-hero h1, .subpage-hero .lead {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-photo { animation-delay: 0.1s; }
.hero .meta { animation-delay: 0.25s; }
.subpage-hero .lead { animation-delay: 0.15s; }

/* ============================================================
 * RESPONSIVE
 * ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo { max-width: 22rem; aspect-ratio: 3712 / 5504; margin: 0 auto; }
  /* Hero-text geen extra padding-top nodig op stacked layout —
     hero-padding regelt de afstand tot het zwevende grote logo. */
  body.has-big-mark .hero-text { padding-top: 0; }
}
@media (max-width: 720px) {
  .container { padding: 0 1.5rem; }
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 2.75rem 0; }
  .practices { grid-template-columns: 1fr; }
  .treatments-grid { grid-template-columns: 1fr; }
  .hero .meta { gap: 0.7rem; font-size: 0.85rem; }
  .hero .meta-row { gap: 0.6rem 1.5rem; }
  .practice, .treatment-card { padding: 1.75rem; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .instagram-section .insta-header { align-items: flex-start; }
  .header-right { gap: 0.85rem; }
  .header-cta { padding: 0.75rem 1rem; font-size: 0.7rem; letter-spacing: 0.12em; }
  .subpage-hero { padding: 2.5rem 0 2rem; }
  .treatment-body { padding: 2.5rem 0; }
  .treatment-body section { margin-bottom: 2rem; }

  /* === Compactere typografie op mobiel === */
  .hero h1 { font-size: clamp(1.5rem, 5.5vw, 2.5rem); margin-bottom: 1.5rem; }
  /* Op mobiel laten we titels doorlopen: max-width weg zodat ze
     met de natuurlijke regelbreuk wrappen. */
  .section-title { font-size: clamp(1.65rem, 5vw, 2.4rem); margin-bottom: 1.75rem; max-width: none; }
  .about { padding: 3.5rem 0 3rem; }
  .about .section-title { font-size: clamp(1.75rem, 6.5vw, 2.75rem); margin-bottom: 1.75rem; max-width: none; }
  .subpage-hero h1 { max-width: none; }
  .about p { font-size: 1rem; line-height: 1.55; }
  .about p + p { margin-top: 0.85rem; }
  .about .visie { margin-top: 2rem; padding-top: 1.75rem; }
  .about .visie p { font-size: clamp(1.15rem, 4vw, 1.45rem); line-height: 1.45; }
  .about .visie-eyebrow { margin-bottom: 0.75rem; }
  .subpage-hero h1 { font-size: clamp(1.85rem, 7vw, 3rem); margin-bottom: 1rem; }
  .subpage-hero .lead { font-size: 1.05rem; }
  .treatment-body p { font-size: 1rem; line-height: 1.55; }
  .treatment-body h2 { font-size: 1.4rem; margin-bottom: 0.75rem; }
  .treatment-list li { font-size: 0.98rem; line-height: 1.5; }
  .treatment-card h3 { font-size: 1.5rem; }
  .treatment-card p { font-size: 0.95rem; }
  .practice h3 { font-size: 1.55rem; }
  .practice .details { font-size: 0.9rem; line-height: 1.7; }

  /* === Accordion: praktijken + behandelingen op mobiel === */
  /* Headers worden tap-zones; chevron geeft expand-status. */
  .practice h3,
  .treatment-card h3 {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .practice h3 a,
  .treatment-card h3 > span:first-child {
    flex: 1 1 auto;
  }
  /* Verberg de bestaande arrow-iconen op mobiel; chevron neemt over. */
  .practice h3 a .arrow,
  .treatment-card h3 .arrow {
    display: none;
  }
  .practice .chevron,
  .treatment-card .chevron {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
  }
  .practice.expanded .chevron,
  .treatment-card.expanded .chevron {
    transform: rotate(180deg);
    color: var(--accent);
  }
  .treatment-card.expanded .chevron { color: var(--bg); }

  /* Collapse-paneel onder de header. */
  .practice .practice-content,
  .treatment-card .treatment-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  }
  .practice.expanded .practice-content,
  .treatment-card.expanded .treatment-content {
    max-height: 800px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 1.25rem;
  }
  /* CTA-groep niet meer naar onder pushen — content groeit organisch. */
  .practice.expanded .cta-group { margin-top: 1.25rem; padding-top: 0; }
}

/* Op desktop: chevron + accordion onzichtbaar, content gewoon zichtbaar. */
@media (min-width: 721px) {
  .practice .chevron, .treatment-card .chevron { display: none; }
}

  /* Foto compacter op mobiel — anders domineert hij verticaal */
  .hero-photo { max-width: 18rem; }

  /* Touch-targets ≥44px voor toetsenbord-loze toestellen.
     Apple HIG + Android Material Design baseline. */
  .lang-toggle button {
    padding: 0.75rem 0.85rem;
    min-height: 44px;
    font-size: 0.85rem;
  }
  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.65rem;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .practice .details a,
  .footer-locations a {
    /* Iets ruimere tap-zones, blijft visueel kalm */
    padding: 0.15rem 0;
    display: inline-block;
  }
  .insta-follow { padding: 0.95rem 1.2rem; }
}

/* Smalle phone (iPhone SE / mini) — extra compact */
@media (max-width: 480px) {
  .mark-name { font-size: 1.15rem; }
  .mark { gap: 0.65rem; }
  .mark-rule { height: 1.25rem; }
  .hero-photo { max-width: 16rem; }
  .container { padding: 0 1.25rem; }
  .header-cta { padding: 0.7rem 0.85rem; font-size: 0.65rem; letter-spacing: 0.1em; }
  .header-right { gap: 0.6rem; }
}
@media (max-width: 420px) {
  /* === Op iPhone SE / Galaxy S8+ / Z Fold 5 cover (≤420px) ===
     Voor homepage met big-mark: .mark uit layout, header-right rechts.
     Voor subpagina's (zonder big-mark): .mark blijft zichtbaar maar
     compact + nowrap, en knoppen kleiner zodat alles op één rij past. */
  body.has-big-mark .mark { display: none; }
  body.has-big-mark .header-inner { justify-content: flex-end; }

  /* Compact mark op subpagina's (kleinere naam, nowrap zodat hij
     niet over twee regels breekt). */
  .mark-name { font-size: 0.95rem; white-space: nowrap; }
  .mark { gap: 0.45rem; }
  .mark-rule { height: 1.1rem; }

  /* Compactere header-rechts zodat alles op smartphone past. */
  .header-cta {
    padding: 0.55rem 0.7rem;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .lang-toggle button {
    padding: 0.55rem 0.45rem;
    font-size: 0.7rem;
    min-height: 38px;
  }
  .lang-toggle { gap: 0.1rem; }
  .header-right { gap: 0.45rem; }
}
