/* Voorstel 11 november 2026: strakkere opbouw voor Team, De praktijk en Tarieven.
   Laadt ná styles.css en skin-2026.css op de volledige website.
   Zelfde huisstijl; elke pagina krijgt een indeling die past bij haar functie. */

/* ---------- Gedeelde compacte kop ---------- */
.sp-hero { padding: clamp(36px, 4.4vw, 64px) 0 clamp(40px, 5vw, 72px); }
.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "head media" "body media";
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.sp-head { grid-area: head; }
.sp-body { grid-area: body; }
.sp-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); max-width: 12em; }
.sp-hero .breadcrumb { margin-bottom: 14px; }
.sp-hero .lead { margin-top: 18px; }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.sp-actions .button { min-height: 52px; }
.sp-call { color: #fff; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(114,213,208,.6); text-underline-offset: 5px; }
.sp-call:hover { text-decoration-color: var(--sky-on-dark); }
.sp-visit-label { margin: 0 0 10px; color: var(--sky-on-dark); font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Team: Soumaya in het eerste scherm ---------- */
.sp-portrait { grid-area: media; margin: 0; }
.sp-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: min(600px, calc(100vh - 220px)); object-fit: cover; object-position: 50% 12%; border-radius: 24px; }
.sp-portrait figcaption { margin-top: 12px; color: #c9d3e2; font-size: .88rem; font-weight: 700; }
.sp-facts { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.14); max-width: 32em; }
.sp-facts li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 700; }
.sp-facts small { color: var(--sky-on-dark); font-size: .8rem; font-weight: 800; letter-spacing: .04em; padding-top: 2px; }

.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.sp-split .content-heading { margin-bottom: 0; }
.sp-split--media { align-items: center; }
.sp-steps { margin: 0; padding: 0; list-style: none; counter-reset: sp; border-top: 1px solid var(--line); }
.sp-steps li { counter-increment: sp; display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sp-steps li::before { content: counter(sp); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky-pale); color: var(--sky-dark); font-weight: 850; }
.sp-steps strong { font-size: 1.15rem; }
.sp-steps span { color: var(--muted); }

/* ---------- De praktijk: foto's en bereikbaarheid samen ---------- */
.sp-practice-sun { color: var(--sun); }
.sp-practice-quick { display: none; }
.sp-photo { grid-area: media; margin: 0; }
.sp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.2; max-height: min(520px, calc(100vh - 200px)); object-fit: cover; object-position: 50% 60%; border-radius: 24px; }
.sp-visit { margin-top: 26px; padding: 24px 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.05); }
.sp-address { display: grid; gap: 2px; margin: 0; color: #fff; }
.sp-address strong { font-size: 1.35rem; letter-spacing: -.01em; }
.sp-address span { color: #c9d3e2; }
.sp-visit-note { margin: 12px 0 0; color: #c9d3e2; font-size: .95rem; line-height: 1.55; }
.sp-visit .sp-actions { margin-top: 18px; }
.sp-visit-spoed { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); color: #c9d3e2; font-size: .9rem; }
.sp-visit-spoed a { color: var(--sky-on-dark); font-weight: 750; }

.sp-tour-head { max-width: 760px; }
.sp-tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .82fr);
  grid-template-areas: "main a film" "main b film";
  gap: 18px;
}
.sp-tour-grid figure { position: relative; margin: 0; min-height: 0; }
.sp-tour-grid figure img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.sp-tour-main { grid-area: main; }
.sp-tour-main img { aspect-ratio: auto; min-height: 460px; }
.sp-tour-a { grid-area: a; } .sp-tour-b { grid-area: b; }
.sp-tour-a img, .sp-tour-b img { aspect-ratio: 4 / 3; }
.sp-tour-grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--navy); font-size: .82rem; font-weight: 750; }
.sp-tour-film { grid-area: film; display: flex; flex-direction: column; padding: 18px; }
.sp-tour-film h3 { margin-bottom: 12px; font-size: 1.1rem; }
.sp-tour-film video { max-width: 100%; max-height: 360px; }
.sp-tour-film .tdc-video-toggle { margin-bottom: 12px; }
.sp-film-more { margin: 12px 0 0; font-size: .88rem; color: var(--muted); }
.sp-film-more a { font-weight: 750; }
.practice-gallery .sp-tour-film { max-width: 36rem; margin: 24px auto 0; }

/* ---------- Tarieven: rekentool eerder en duidelijk ---------- */
.sp-calc-teaser { grid-area: media; padding: 26px 28px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.sp-calc-teaser ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sp-calc-teaser li { display: grid; gap: 3px; padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.sp-calc-teaser li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.sp-calc-teaser strong { color: #fff; }
.sp-calc-teaser span { color: #c9d3e2; font-size: .92rem; }
.sp-teaser-note { margin: 14px 0 0; color: #93a1b8; font-size: .82rem; }
.sp-calc { padding-top: clamp(48px, 6vw, 84px); }
.sp-calc-head { max-width: 760px; margin-bottom: 30px; }
.sp-calc-head h2 { margin-top: 6px; }
.sp-calc-head p:last-child { color: var(--muted); font-size: .92rem; }
#tdc-cost-tool { scroll-margin-top: 100px; }
.sp-quote { margin-top: 20px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); }
.sp-quote strong { display: block; color: #fff; font-size: 1.02rem; }
.sp-quote p { margin: 8px 0 14px; color: #c9dce3; font-size: .88rem; line-height: 1.5; }
.sp-quote .button { width: 100%; min-height: 48px; justify-content: center; }
.sp-quote-link { display: block; margin-top: 12px; color: var(--sky-on-dark); font-size: .9rem; font-weight: 750; }
.sp-cost-info .info-grid { margin-top: 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .sp-tour-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "main main" "a b" "film film"; }
  .sp-tour-main img { min-height: 0; aspect-ratio: 16 / 10; }
  .sp-tour-film { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 0 22px; align-items: start; }
  .sp-tour-film h3, .sp-tour-film .tdc-video-toggle, .sp-tour-film .sp-film-more, .sp-tour-film .tdc-video-enlarge { grid-column: 2; }
  .sp-tour-film video { grid-column: 1; grid-row: 1 / span 4; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
  .sp-hero { padding: 26px 0 34px; }
  .sp-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; grid-template-rows: auto; }
  .sp-hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .sp-hero .breadcrumb { margin-bottom: 10px; }
  .sp-portrait, .sp-photo { margin-top: 20px; }
  .sp-portrait img { aspect-ratio: 16 / 11; max-height: none; object-position: 50% 14%; border-radius: 18px; }
  .sp-portrait figcaption { margin-top: 8px; font-size: .8rem; }
  .sp-photo img { aspect-ratio: 16 / 9; max-height: none; border-radius: 18px; }
  .sp-hero .lead { margin-top: 16px; font-size: 1.02rem; }
  .sp-facts { margin-top: 18px; }
  .sp-facts li { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .sp-actions { margin-top: 20px; gap: 12px 18px; }
  .sp-actions .button { flex: 1 1 100%; justify-content: center; }
  .sp-visit { margin-top: 18px; padding: 18px; }
  .sp-practice-quick { display: grid; justify-items: start; gap: 10px; margin-top: 16px; }
  .sp-practice-quick p { margin: 0; color: #fff; font-weight: 750; }
  .sp-practice-quick .button { min-height: 46px; }
  .sp-address strong { font-size: 1.15rem; }
  .sp-cost .sp-hero-grid { grid-template-areas: "head" "body" "media"; }
  .sp-calc-teaser { margin-top: 26px; padding: 20px; }
  .sp-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sp-tour-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "a" "b" "film"; gap: 14px; }
  .sp-tour-a img, .sp-tour-b img { aspect-ratio: 16 / 10; }
  .sp-tour-film { grid-template-columns: minmax(0, 132px) 1fr; gap: 0 16px; padding: 16px; }
  .sp-calc-head { margin-bottom: 22px; }
}

.sp-team-copy .content-heading { max-width: 44rem; }

/* =====================================================================
   Kopsysteem voor alle subpagina's (ronde 3).
   Compacte kop; rechts een paneel dat past bij het paginatype:
   behandeling = "In het kort", informatie = "Op deze pagina", spoed = direct bellen.
   ===================================================================== */
.sp-auto .sp-hero-grid { grid-template-areas: "head panel" "body panel"; }
.sp-auto .sp-photo { grid-area: panel; }
.sp-panel { grid-area: panel; align-self: start; padding: 24px 26px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.05); }
.sp-auto h1 { max-width: 13em; }
.sp-auto .sp-body .button { margin-top: 22px; }
.sp-auto .sp-body > .button + .button { margin-left: 10px; }

/* Op deze pagina */
.sp-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.sp-toc li { counter-increment: toc; border-bottom: 1px solid rgba(255,255,255,.12); }
.sp-toc li:last-child { border-bottom: 0; }
.sp-toc a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 0; color: #fff; font-weight: 700; text-decoration: none; }
.sp-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--sky-on-dark); font-size: .74rem; font-weight: 850; letter-spacing: .04em; }
.sp-toc a::after { content: "↓"; color: #93a1b8; transition: transform .25s var(--ease-out, ease), color .2s ease; }
@media (hover: hover) and (pointer: fine) { .sp-toc a:hover::after { color: var(--sun); transform: translateY(3px); } }
.sp-toc--many ol { columns: 2; column-gap: 22px; }
.sp-toc--many li { break-inside: avoid; }
.sp-toc--many a { font-size: .9rem; }

/* In het kort (behandelingen) */
.sp-brief { display: grid; gap: 0; margin: 0 0 4px; }
.sp-brief div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sp-brief dt { color: var(--sky-on-dark); font-size: .8rem; font-weight: 800; padding-top: 2px; }
.sp-brief dd { margin: 0; color: #fff; font-weight: 700; }
.sp-panel-actions { display: grid; gap: 10px; margin-top: 18px; }
.sp-panel-actions .button { justify-content: center; min-height: 50px; }
.sp-panel-link { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(114,213,208,.55); text-underline-offset: 4px; }
.sp-panel-note { margin: 14px 0 0; color: #c9d3e2; font-size: .92rem; }

/* Spoed: direct bellen, praktijk eerst */
.sp-dial { display: grid; gap: 2px; padding: 14px 16px; margin-top: 10px; border-radius: 16px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; transition: transform .16s var(--ease-out, ease), background-color .2s ease; }
.sp-dial small { color: #c9d3e2; font-size: .82rem; font-weight: 700; }
.sp-dial strong { font-size: 1.5rem; letter-spacing: -.01em; }
.sp-dial--main { background: var(--sky-on-dark); color: var(--navy-deep); }
.sp-dial--main small { color: var(--navy-deep); opacity: .8; }
.sp-dial--alarm strong { color: #ffb4a8; }
.sp-dial:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .sp-dial:not(.sp-dial--main):hover { background: rgba(255,255,255,.12); } }

/* Ankers landen onder de vaste kop */
main:has(.sp-auto) [id] { scroll-margin-top: 110px; }

/* Base the long treatment title on the width of its own column. */
.sp-long-title .sp-head { container-type: inline-size; }
.sp-long-title h1 { font-size: clamp(1.125rem, 7.25cqi, 3.4rem); }
.sp-long-title h1 .word { max-width: 100%; overflow-wrap: anywhere; }

/* Overige subpagina's met een eigen kop: alleen compacter */
.subhero:not(.sp-hero) { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(44px, 5.5vw, 84px); }

@media (max-width: 1080px) {
  .sp-toc--many ol { columns: 1; }
}
@media (max-width: 760px) {
  .sp-auto .sp-hero-grid { grid-template-areas: "head" "body" "panel"; }
  .sp-auto .sp-photo { margin-top: 22px; }
  .sp-panel { margin-top: 22px; padding: 18px; }
  .sp-spoed .sp-hero-grid { grid-template-areas: "head" "panel" "body"; }
  .sp-spoed .sp-panel { margin-top: 16px; }
  .sp-auto .sp-body > .button { width: 100%; justify-content: center; }
  .sp-auto .sp-body > .button + .button { margin-left: 0; margin-top: 10px; }
  .sp-toc--many ol { columns: 1; }
  .sp-toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .sp-toc li { min-width: 0; max-width: 100%; border: 0; }
  .sp-toc a { display: inline-flex; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; font-size: .88rem; gap: 8px; overflow-wrap: anywhere; }
  .sp-toc a::after { content: none; }
  .sp-brief div { grid-template-columns: 6.4em 1fr; padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-dial, .sp-toc a::after { transition: none; }
  .sp-dial:active { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .sp-team .sp-portrait img, .js .sp-practice .sp-photo img { animation: sp-photo-enter .55s var(--ease-out, ease) both; }
  @keyframes sp-photo-enter { from { opacity: .65; transform: translateY(8px); } }
}

.sp-brand-film { max-width: 510px; margin: 24px 0 0; scroll-margin-top: 110px; }
.sp-brand-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--navy); }

/* Scheid opeenvolgende inhoudsblokken binnen de breedte van de tekst. */
main > .content-section + .content-section.alt {
  position: relative;
  background: transparent;
}

main > .content-section + .content-section.alt::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
  pointer-events: none;
}
