/* Physiotherapie Fröis — layout and components. Colours and fonts: brand.css. Content: data.js. */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 0; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
[hidden] { display: none !important; }

:root {
  --hdr-h: 76px;
  --gut: clamp(18px, 4.6vw, 80px);
  --t-lab: 11px; --t-lead: 18px; --t-body: 16px; --t-small: 14.5px;
  --h1s: clamp(1.5rem, min(2.55vw, 5svh), 2.7rem);
  --h2s: clamp(1.45rem, min(2.4vw, 4.9svh), 2.85rem);
  --scr-t: calc(var(--hdr-h) + clamp(10px, 2.6svh, 40px));
  --scr-b: clamp(18px, 3.6svh, 48px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 999px) { :root { --hdr-h: 60px; } }
@media (max-width: 719px) {
  :root { --t-lab: 10px; --t-lead: 15.5px; --t-body: 15px; --t-small: 13.5px; --h1s: min(6.1vw, 26px); --h2s: min(5.9vw, 25px); --scr-t: 18px; }
}

/* ---------- type system: their logo's extended caps (Michroma) + Saira for reading ---------- */
.schlagzeile { font: 400 var(--h2s)/1.12 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.schlagzeile .z { display: block; }
.schlagzeile em { font-style: normal; color: var(--green-d); }
.schlagzeile--start { font-size: var(--h1s); }
.schlagzeile--start .z { white-space: nowrap; }
.is-dunkel .schlagzeile { color: #fff; }
.is-dunkel .schlagzeile em { color: var(--green-l); }
.ueber { display: block; margin-bottom: 14px; font: 400 var(--t-lab)/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--green-d); }
.is-dunkel .ueber { color: var(--green-l); }
.einleitung { margin-top: 16px; font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); max-width: 36em; }
.is-dunkel .einleitung { color: rgba(255, 255, 255, .8); }
.fein { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.is-dunkel .fein { color: rgba(255, 255, 255, .7); }
b, strong { font-weight: 650; }
@media (max-width: 719px) { .ueber { margin-bottom: 9px; } .einleitung { margin-top: 10px; } }

/* ---------- buttons ---------- */
.taste { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 3px; font: 600 15px/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; text-align: center;
  cursor: pointer; overflow: hidden; isolation: isolate; background: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; transition: transform .14s ease; }
.taste::after { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .25s ease; }
.taste:hover::after { opacity: .12; }
.taste:active { transform: scale(.97); }
.taste svg { width: 19px; height: 19px; flex: none; }
.taste--gruen { background: var(--green); color: var(--ink); border-color: var(--green); }
.taste--dunkel { background: var(--ink); color: #fff; border-color: var(--ink); }
.taste--linie { color: var(--ink); border-color: currentColor; }
.taste--hell { color: #fff; border-color: rgba(255, 255, 255, .6); }
.is-dunkel .taste--linie { color: #fff; }
.taste--gross { min-height: 54px; padding: 0 26px; font-size: 16px; }
.taste--klein { min-height: 40px; padding: 0 14px; font-size: 14px; }
.taste--klein svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.leiste { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr-h); display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px);
  padding: 0 var(--gut); transition: transform .45s var(--ease), background-color .3s ease, box-shadow .3s ease; }
.leiste.is-scrolled { background: rgba(245, 243, 238, .97); box-shadow: 0 1px 0 var(--line); }
.leiste.is-hidden { transform: translateY(-100%); }
.leiste__logo { display: block; margin-right: auto; }
.lg { fill: var(--green); }
.leiste .lg { height: 38px; width: auto; }
.leiste__nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.leiste__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font: 600 14.5px/1 var(--sans); letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.leiste__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.leiste__nav a:hover::after { transform: none; }
.leiste__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 15px/1 var(--sans); text-decoration: none; color: var(--ink); white-space: nowrap; }
.leiste__tel svg { width: 18px; height: 18px; }
.leiste__cta { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
@media (max-width: 1180px) { .leiste__nav { display: none; } }
@media (max-width: 719px) {
  .leiste { gap: 10px; }
  .leiste .lg { height: 30px; }
  .leiste__tel span, .leiste__cta { display: none; }
  .leiste__tel { width: 44px; justify-content: center; border: 1.5px solid var(--ink); border-radius: 50%; }
}

/* ---------- hero: the studio scene with the five stations ---------- */
.start { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; overflow-anchor: none; background: #c9d3db; }
.raum { position: absolute; inset: 0; }
.raum__bild, .raum__bild img { display: block; width: 100%; height: 100%; }
.raum__bild img { object-fit: cover; object-position: 62% 55%; }
.start::before { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(98deg, rgba(245, 243, 238, .9) 0%, rgba(245, 243, 238, .72) 26%, rgba(245, 243, 238, .2) 44%, rgba(245, 243, 238, 0) 54%); }
.start::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 150px; pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 243, 238, .86) 0%, rgba(245, 243, 238, .5) 52%, rgba(245, 243, 238, 0) 100%); }
.raum__licht { position: absolute; z-index: 2; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(circle 560px at var(--sx, 50%) var(--sy, 50%), rgba(18, 22, 20, 0) 0, rgba(18, 22, 20, 0) 100px, rgba(18, 22, 20, .42) 380px); }
.raum__licht.is-on { opacity: 1; }
.raum__weg { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.raum__pfad { fill: none; stroke: rgba(255, 255, 255, .92); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .1 10; }
.raum__maske { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1; stroke-dashoffset: 1; }
.start.is-weg .raum__maske { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s cubic-bezier(.45, 0, .2, 1) .1s; }
.raum__stationen { position: absolute; z-index: 3; inset: 0; pointer-events: none; }

.station { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding: 0; border: 0; background: none; cursor: pointer;
  pointer-events: auto; transform: translate(-50%, calc(-100% + 4px)); -webkit-tap-highlight-color: transparent; }
.station__nr, .station__name { pointer-events: none; }
.station::before { content: ''; order: 2; width: 1.5px; height: 16px; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12); }
.station::after { content: ''; order: 3; width: 9px; height: 9px; margin-top: -1px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(119, 184, 42, .55), 0 2px 6px rgba(0, 0, 0, .3); }
.station > span { order: 1; }
.station__nr { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; background: var(--green); color: var(--ink);
  font: 400 12px/1 var(--display); }
.station { --chip-bg: rgba(245, 243, 238, .96); }
.station__nr, .station__name { order: 1; }
.station > .station__nr { position: absolute; z-index: 1; left: 6px; top: 6px; }
.station__name { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px 0 46px; border-radius: 999px; background: var(--chip-bg); color: var(--ink);
  font: 600 14.5px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 10px 28px -12px rgba(0, 0, 0, .45), 0 0 0 1px rgba(27, 34, 30, .06);
  transition: background-color .25s ease, color .25s ease, transform .3s var(--ease); }
.station:hover .station__name, .station:focus-visible .station__name { transform: translateY(-3px); }
.station:focus-visible { outline: none; }
.station:focus-visible .station__name { outline: 2px solid var(--green); outline-offset: 3px; }
.station.is-gewaehlt .station__name { background: var(--ink); color: #fff; }
.station.is-gewaehlt::after { background: var(--green); }
.station.is-ok .station__name { animation: tap .35s ease; }
@keyframes tap { 50% { transform: translateY(-3px) scale(1.04); } }
/* the first and last stations near the edges keep their chip inside the frame */
.station.is-links { align-items: flex-end; transform: translate(calc(-100% + 22px), calc(-100% + 4px)); }
.station.is-links::before, .station.is-links::after { margin-right: 18px; }

.start__text { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; width: calc(min(580px, 44vw) + var(--gut));
  padding: calc(var(--hdr-h) + clamp(18px, 7svh, 90px)) 0 0 var(--gut); pointer-events: none; }
.start__text > * { pointer-events: auto; }
.start__lead { max-width: 28em; font-size: var(--t-lead); color: var(--ink); }
.start__lead .kurz { display: none; }
.start__status { margin-top: 12px; font: 600 14px/1.4 var(--sans); color: var(--green-d); }
.start__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3.4svh, 34px); }
.start__tel { background: rgba(245, 243, 238, .9); }

@media (max-width: 1100px) and (min-width: 720px) { .start__text { width: min(520px, 50vw); } .start__lead .lang { display: none; } .start__lead .kurz { display: inline; } }
@media (min-width: 1000px) and (max-height: 760px) { .start__text { padding-top: calc(var(--hdr-h) + 3svh); } :root { --t-lead: 16.5px; } }

/* phone: title over the sky, stations in the middle, the buttons at the bottom */
@media (max-aspect-ratio: 4/5) {
  .start::before { background: linear-gradient(180deg, rgba(245, 243, 238, .86) 0%, rgba(245, 243, 238, .62) 26%, rgba(245, 243, 238, 0) 40%),
    linear-gradient(0deg, rgba(20, 24, 22, .55) 0%, rgba(20, 24, 22, 0) 22%); }
  .start__text { position: absolute; inset: 0; width: auto; padding: calc(var(--hdr-h) + 10px) var(--gut) calc(16px + env(safe-area-inset-bottom)); }
  .start__lead .lang { display: none; } .start__lead .kurz { display: inline; }
  .start__lead { max-width: 30em; font-size: var(--t-lead); }
  .start__cta { width: 100%; margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .start__cta .taste--gross { min-height: 52px; }
  .start__tel span { display: none; }
  .start__tel { width: 52px; padding: 0; border-color: rgba(255, 255, 255, .9); color: var(--ink); }
  .station__name { min-height: 36px; padding: 0 12px 0 40px; font-size: 13.5px; }
  .station > .station__nr { width: 26px; height: 26px; left: 5px; top: 5px; font-size: 11px; }
  .station::before { height: 10px; }
}
@media (max-width: 379px) { .station__name { font-size: 12.5px; padding-right: 10px; } }
@media (max-width: 399px) { .reiter { gap: 4px; } .reiter__b { justify-content: center; padding: 0 2px; } .reiter__b span { display: none; } }

/* intro */
.js .start__text > * { opacity: 0; transform: translateY(14px); }
.js .station { opacity: 0; }
.start.is-in .start__text > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease); }
.start.is-in .start__text > :nth-child(2) { transition-delay: .08s; }
.start.is-in .start__text > :nth-child(3) { transition-delay: .18s; }
.start.is-in .start__text > :nth-child(5) { transition-delay: .3s; }
.start.is-weg .station { opacity: 1; transition: opacity .45s ease calc(.25s + var(--i) * .34s); }
.start.is-weg .station .station__name { animation: auftauchen .7s var(--ease) calc(.25s + var(--i) * .34s) both; }
@keyframes auftauchen { from { transform: translateY(10px) scale(.92); } to { transform: none; } }
.no-anim .start__text > *, .is-static .start__text > *, .no-anim .station, .is-static .station { opacity: 1 !important; transform: none; transition: none !important; }
.no-anim .station, .is-static .station { transform: translate(-50%, calc(-100% + 4px)); }
.no-anim .station.is-links, .is-static .station.is-links { transform: translate(calc(-100% + 22px), calc(-100% + 4px)); }
.no-anim .raum__maske, .is-static .raum__maske { stroke-dashoffset: 0; }

/* ---------- common screen frame ---------- */
[data-screen] { position: relative; padding: var(--scr-t) 0 var(--scr-b); scroll-margin-top: 0; }
.rahmen { width: 100%; padding: 0 var(--gut); }
.is-dunkel { background: var(--ink); color: #fff; }
@media (min-width: 1000px) { [data-screen] { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; } }

/* ---------- 2 · Termin anfragen (evening studio) ---------- */
.anfrage { overflow: hidden; isolation: isolate; }
.abend { position: absolute; z-index: -1; inset: 0; }
.abend__bild, .abend__bild img { display: block; width: 100%; height: 100%; }
.abend__bild img { object-fit: cover; object-position: 50% 40%; }
.abend::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 26, 23, .9) 0%, rgba(20, 26, 23, .5) 46%, rgba(20, 26, 23, .32) 100%), linear-gradient(0deg, rgba(20, 26, 23, .72) 0%, rgba(20, 26, 23, 0) 50%); }
.anfrage__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.anfrage__links { display: grid; gap: clamp(16px, 3svh, 34px); align-content: center; min-width: 0; }
.plan { position: relative; width: min(100%, 440px); padding: 16px 18px 14px; border-radius: var(--r);
  background: var(--paper); color: var(--ink); box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .7); }
.plan__top { display: flex; align-items: center; gap: 10px; }
.plan__lg { width: auto; height: 24px; }
.plan__lab { font: 400 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.plan__karte { width: 100%; height: auto; max-height: 30svh; margin: 10px 0 6px; overflow: visible; }
.pl__raum { fill: #ebe7de; stroke: rgba(27, 34, 30, .25); stroke-width: 3; }
.pl__fenster { stroke: #8fb3cf; stroke-width: 10; }
.pl__sprosse rect { fill: var(--ink); }
.pl__weg { fill: none; stroke: var(--ink-2); stroke-width: 4; stroke-dasharray: 1 14; stroke-linecap: round; }
.pl__pflanze { fill: #a9bf8c; }
.pl__st rect, .pl__st circle:not(.pl__nr), .pl__st line { fill: #cfc9bd; stroke: #8d877c; stroke-width: 3; }
.pl__st .pl__base { fill: #e3ded4; }
.pl__st line { stroke: #6d675d; stroke-width: 6; }
.pl__st .pl__ball { fill: var(--green); stroke: none; }
.pl__nr { fill: #fff; stroke: var(--ink); stroke-width: 3; transition: fill .3s ease; }
.pl__st text { font: 400 30px/1 var(--display); text-anchor: middle; fill: var(--ink); }
.pl__st.is-on .pl__nr { fill: var(--green); stroke: var(--ink); }
.pl__st.is-on rect, .pl__st.is-on circle:not(.pl__nr):not(.pl__ball) { fill: #bfe08f; stroke: var(--green-d); }
.pl__blick { font: 600 26px/1 var(--sans); text-anchor: middle; fill: var(--ink-2); letter-spacing: .04em; }
.plan__zeilen { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.plan__zeilen div { min-width: 0; padding: 6px 0; border-top: 1px solid var(--line); }
.plan__zeilen dt { font: 600 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.plan__zeilen dd { min-height: 1.4em; font: 600 14.5px/1.35 var(--sans); }
.plan__zeilen dd .leer { color: rgba(27, 34, 30, .38); font-weight: 500; }
.plan__zeilen dd.is-neu { animation: neu .6s ease; }
@keyframes neu { from { background: rgba(119, 184, 42, .35); } to { background: transparent; } }
.plan__stempel { position: absolute; right: 14px; top: 14px; padding: 5px 10px; border: 2px solid var(--ok); border-radius: 3px; color: var(--ok);
  font: 400 10px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: scale(1.3) rotate(-6deg); transition: opacity .3s ease, transform .4s var(--ease); }
.plan.is-fertig .plan__stempel { opacity: 1; transform: rotate(-6deg); }

.formular { position: relative; min-width: 0; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r); background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .08); }
.reiter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: clamp(14px, 2.4svh, 24px); }
.reiter__b { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .16); background: none; color: rgba(255, 255, 255, .6);
  font: 600 14px/1 var(--sans); cursor: pointer; text-align: left; }
.reiter__b span { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; font: 400 10px/1 var(--display); }
.reiter__b.is-on { color: #fff; border-bottom-color: var(--green); }
.reiter__b.is-fertig { color: var(--green-l); }
.reiter__b:disabled { cursor: default; opacity: .55; }
.schritt { display: none; }
.schritt.is-on { display: block; }
.frage { font: 600 clamp(18px, 1.5vw, 22px)/1.25 var(--sans); }
.frage__k { display: block; margin: 14px 0 8px; font: 600 11.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.wahlen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.frage__k + .wahlen { margin-top: 0; }
.wahl { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; background: none;
  color: #fff; font: 600 14.5px/1 var(--sans); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
.wahl:hover { border-color: #fff; }
.wahl i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .14); font: 400 10px/1 var(--display); font-style: normal; }
.wahl i.leer { background: none; border: 1.5px dashed rgba(255, 255, 255, .5); }
.wahl small { font-size: 12.5px; font-weight: 500; opacity: .75; }
.wahl[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }
.wahl[aria-pressed="true"] i { background: var(--ink); color: var(--green); }
.wahl.is-ok { animation: tap2 .35s ease; }
@keyframes tap2 { 50% { transform: scale(1.05); } }
.wahlen--tage .wahl { min-width: 54px; justify-content: center; }
.feld { display: block; margin-top: 14px; }
.feld span { display: block; margin-bottom: 6px; font: 600 13px/1.3 var(--sans); color: rgba(255, 255, 255, .75); }
.feld input, .feld textarea { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 3px; background: rgba(0, 0, 0, .18);
  color: #fff; font: 500 16px/1.4 var(--sans); resize: none; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--green); }
.feld.is-warn input { border-color: #ff9b7a; }
.hinweis { margin-top: 14px; font-size: var(--t-small); line-height: 1.5; color: rgba(255, 255, 255, .75); }
.hinweis a { color: var(--green-l); }
.hinweis b { color: #fff; }
.hinweis[data-fr] { color: #ffd79a; }
.warnung { display: none; margin-top: 10px; font-size: var(--t-small); color: #ffb39a; }
.warnung.is-on { display: block; }
.formular__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(16px, 2.6svh, 26px); }
.quittung { display: none; }
.formular.is-fertig > :not(.quittung) { display: none; }
.formular.is-fertig .quittung { display: block; animation: rein .5s var(--ease); }
@keyframes rein { from { opacity: 0; transform: translateY(10px); } }
.quittung__ok { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--ok); color: #fff; }
.quittung__ok svg { width: 24px; height: 24px; }
.quittung__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 14px 0; }
.quittung__liste div { min-width: 0; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .14); }
.quittung__liste dt { font: 600 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.quittung__liste dd { font: 600 14.5px/1.35 var(--sans); overflow-wrap: anywhere; }
.quittung .fein { margin-bottom: 14px; }

@media (max-width: 999px) {
  .anfrage__in { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .abend::after { background: linear-gradient(180deg, rgba(20, 26, 23, .55) 0%, rgba(20, 26, 23, .92) 34%, rgba(20, 26, 23, .96) 100%); }
  .abend__bild img { object-position: 50% 0; height: 46%; }
  .plan { width: 100%; margin: 0; padding: 10px 14px; }
  .plan__karte, .plan__top { display: none; }
  .plan__zeilen { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 10px; }
  .plan__zeilen div { border-top: 0; padding: 2px 0; }
  .plan__stempel { top: auto; bottom: 8px; right: 10px; }
}
@media (max-width: 719px) {
  .plan__zeilen { grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .plan__zeilen dd { font-size: 13.5px; }
  .formular { padding: 14px; }
  .reiter__b { padding: 0 4px; gap: 5px; font-size: 12.5px; }
  .reiter__b span { width: 20px; height: 20px; }
  .wahl { min-height: 42px; padding: 0 12px; font-size: 14px; }
  .frage__k { margin: 10px 0 6px; }
  .feld { margin-top: 10px; }
  .feld textarea { min-height: 44px; }
  .anfrage .einleitung { display: none; }
}

/* ---------- 3 · Unsere Praxis: five Schwerpunkte ---------- */
.praxis__in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "kopf sp" "bilder sp"; gap: clamp(18px, 3svh, 34px) clamp(28px, 5vw, 88px); align-items: start; }
.praxis__kopf { grid-area: kopf; }
.sp { grid-area: sp; counter-reset: sp; align-self: center; }
.sp__z { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: clamp(10px, 1.8svh, 18px) 0; border-top: 1px solid var(--line); }
.sp__z:last-child { border-bottom: 1px solid var(--line); }
.sp__nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--ink); font: 400 14px/1 var(--display); }
.sp__txt h3 { font: 400 clamp(14px, 1.15vw, 17px)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sp__txt p { margin-top: 4px; font-size: var(--t-small); line-height: 1.45; color: var(--ink-2); }
.bilder { grid-area: bilder; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(180px, 30svh, 320px); }
.bilder__f { min-height: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.bilder__f--0 { grid-row: 1 / 3; }
.bilder__f img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 999px) {
  .praxis__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "sp" "bilder"; }
  .bilder { height: 150px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr; }
  .bilder__f--0 { grid-row: auto; }
}
@media (max-width: 719px) {
  .praxis .einleitung { font-size: 14.5px; }
  .sp__z { grid-template-columns: 34px minmax(0, 1fr) 44px; gap: 10px; padding: 8px 0; }
  .sp__nr { width: 32px; height: 32px; font-size: 12px; }
  .sp__txt p { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sp__z .taste--klein { width: 44px; height: 44px; padding: 0; font-size: 0; gap: 0; }
  .sp__z .taste--klein svg { width: 18px; height: 18px; }
  .bilder { height: 92px; gap: 6px; }
}

/* ---------- 4 · Kosten und Rückerstattung ---------- */
.kosten__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.kosten__genau { margin-top: clamp(14px, 2.4svh, 24px); padding-left: 14px; border-left: 3px solid var(--green); font: 600 var(--t-lead)/1.45 var(--sans); }
.kosten__text .fein { margin-top: 12px; }
.quelle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; font: 600 14px/1.3 var(--sans); color: var(--green-l); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(155, 212, 90, .4); }
.quelle svg { width: 16px; height: 16px; flex: none; }
.weg { min-width: 0; }
.weg__halte { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.weg__halte::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 38px; border-top: 2px dotted rgba(255, 255, 255, .35); }
.weg__halt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 0 8px; border: 0; background: none; color: rgba(255, 255, 255, .7); cursor: pointer; }
.weg__ic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, .3); transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease); }
.weg__ic svg { width: 32px; height: 32px; }
.weg__nr { position: absolute; top: 0; left: calc(50% + 20px); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ink); font: 400 10px/1 var(--display); }
.weg__t { font: 600 14.5px/1.2 var(--sans); }
.weg__halt:hover .weg__ic { border-color: #fff; }
.weg__halt.is-vorbei { color: #fff; }
.weg__halt.is-vorbei .weg__ic { border-color: var(--green); color: var(--green-l); }
.weg__halt.is-on { color: #fff; }
.weg__halt.is-on .weg__ic { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.06); }
.weg__halt.is-on .weg__nr { background: var(--ink); color: var(--green-l); box-shadow: 0 0 0 2px var(--green); }
.weg__halt.is-ok .weg__ic { animation: tap2 .35s ease; }
.weg__tafel { margin-top: clamp(16px, 3svh, 30px); padding: clamp(18px, 2.2vw, 28px); border-radius: var(--r); background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .08); }
.weg__d { min-height: 4.5em; font: 500 var(--t-lead)/1.5 var(--sans); }
.weg__d.is-neu { animation: rein .45s var(--ease); }
.balken { margin-top: 18px; font: 600 13px/1.3 var(--sans); }
.balken__hn, .balken__tarif, .balken__pct { position: relative; display: flex; align-items: center; height: 40px; border-radius: 3px; padding: 0 12px; }
.balken__hn { width: 100%; background: rgba(255, 255, 255, .1); border: 1px dashed rgba(255, 255, 255, .35); }
.balken__tarif { width: 74%; margin-top: 8px; background: rgba(255, 255, 255, .16); flex-direction: column; align-items: stretch; height: auto; padding: 10px 12px 0; }
.balken__tarif > span { padding-bottom: 8px; }
.balken__pct { width: 80%; margin: 0 -12px 0; padding: 0 12px; background: var(--green); color: var(--ink); white-space: nowrap; transform-origin: left; transform: scaleX(.02); transition: transform 1s var(--ease); }
.balken__pct > span { transition: opacity .4s ease .5s; opacity: 0; }
.balken__pct .kurz { display: none; }
.weg[data-step="pct"] .balken__pct { transform: none; }
.weg[data-step="pct"] .balken__pct > span { opacity: 1; }
.balken__note { margin-top: 10px; font: 500 12.5px/1.45 var(--sans); color: rgba(255, 255, 255, .62); }
@media (max-width: 999px) { .kosten__in { grid-template-columns: minmax(0, 1fr); gap: 18px; } .kosten__text { display: contents; } .kosten__kopf { order: 1; } .weg { order: 2; } .kosten__genau { order: 3; margin-top: 0; } .kosten__text .fein { order: 4; margin: 0; } .quelle { order: 5; margin: -8px 0 0; } }
@media (max-width: 719px) {
  .kosten .einleitung { font-size: 14px; }
  .weg__ic { width: 56px; height: 56px; } .weg__ic svg { width: 24px; height: 24px; }
  .weg__halte::before { top: 28px; }
  .weg__nr { left: calc(50% + 14px); width: 20px; height: 20px; }
  .weg__t { font-size: 12.5px; }
  .weg__tafel { margin-top: 10px; padding: 12px 14px; }
  .weg__d { min-height: 6em; font-size: 14px; }
  .balken { margin-top: 10px; font-size: 11.5px; }
  .balken__hn, .balken__pct { height: 32px; }
  .balken__tarif { padding-top: 7px; } .balken__tarif > span { padding-bottom: 6px; }
  .balken__note { font-size: 11px; }
  .kosten__genau { font-size: 14.5px; }
}

/* ---------- 5 · Unser Team + zum ersten Termin ---------- */
.leute { background: var(--paper-2); }
.leute__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "kopf mit" "namen mit"; gap: clamp(18px, 3svh, 34px) clamp(28px, 5vw, 88px); align-items: start; }
.leute__kopf { grid-area: kopf; }
.leute__namen { grid-area: namen; display: grid; gap: 14px; }
.kollege { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px; border-radius: var(--r); background: var(--paper); }
.kollege img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; }
.kollege h3 { font: 400 clamp(14px, 1.1vw, 16px)/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.kollege h3 small { display: block; margin-top: 3px; font: 600 13px/1.3 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--green-d); }
.kollege__rolle { margin-top: 2px; font: 600 13px/1.3 var(--sans); color: var(--ink-2); }
.kollege__cv { margin-top: 10px; display: grid; gap: 4px; }
.kollege__cv div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: var(--t-small); line-height: 1.4; }
.kollege__cv dt { font-weight: 650; color: var(--ink); }
.kollege__cv dd { color: var(--ink-2); }
.mitbringen { grid-area: mit; align-self: center; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r); background: var(--ink); color: #fff; }
.mitbringen__t { font: 400 12px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green-l); }
.mitbringen ul { margin: 10px 0 20px; }
.mitbringen li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.mitbringen__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(119, 184, 42, .16); color: var(--green-l); }
.mitbringen__ic svg { width: 24px; height: 24px; }
.mitbringen b { display: block; font-size: 16px; }
.mitbringen li span:not(.mitbringen__ic) { display: block; margin-top: 2px; font-size: var(--t-small); line-height: 1.45; color: rgba(255, 255, 255, .75); }
@media (max-width: 999px) { .leute__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "namen" "mit"; } }
@media (max-width: 719px) {
  .kollege { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .kollege img { width: 64px; height: 64px; }
  .kollege__cv div { grid-template-columns: 70px minmax(0, 1fr); font-size: 12.5px; }
  .kollege__cv { margin-top: 6px; gap: 2px; }
  .mitbringen { padding: 14px; }
  .mitbringen ul { margin: 4px 0 12px; }
  .mitbringen li { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 7px 0; }
  .mitbringen__ic { width: 34px; height: 34px; } .mitbringen__ic svg { width: 19px; height: 19px; }
  .mitbringen b { font-size: 14.5px; }
  .mitbringen li span:not(.mitbringen__ic) { font-size: 12.5px; }
  .leute__in { gap: 12px; }
}

/* ---------- 6 · Kontakt ---------- */
.anreise__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.zeiten { margin-top: clamp(18px, 3svh, 30px); max-width: 440px; }
.zeiten h3 { font: 400 11px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--green-l); }
.zeiten dl { margin-top: 8px; }
.zeiten dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.zeiten dt { font-weight: 650; }
.zeiten dd { color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.zeiten dd span { display: inline-block; margin-left: 12px; }
.zeiten .fein { margin-top: 8px; }
.anreise__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(18px, 3svh, 30px); }
.anreise__bild { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; max-height: 62svh; }
.anreise__bild img { width: 100%; height: 100%; object-fit: cover; }
.anreise__bild figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 3px; background: rgba(27, 34, 30, .86); font: 600 13px/1.2 var(--sans); }
@media (max-width: 999px) { .anreise__in { grid-template-columns: minmax(0, 1fr); gap: 18px; } .anreise__bild { max-height: 34svh; aspect-ratio: auto; height: 34svh; } }
@media (max-width: 719px) { .anreise__bild { height: 22svh; } .zeiten dl div { padding: 7px 0; } .anreise__go .taste { flex: 1 1 auto; } }
@media (max-width: 899px) { .anreise { min-height: 100vh; min-height: 100svh; } }

/* ---------- footer ---------- */
.abschluss { padding: clamp(36px, 6svh, 64px) 0 0; }
.abschluss__in { display: grid; gap: 26px; padding: 0 var(--gut); }
.abschluss__in > * { min-width: 0; }
.abschluss__lg { width: 220px; height: auto; }
.abschluss h3 { font: 400 11px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.abschluss p { margin-top: 8px; font-size: var(--t-small); line-height: 1.55; color: rgba(255, 255, 255, .82); }
.abschluss p a { color: #fff; }
.abschluss__recht { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.abschluss__recht a { display: inline-flex; align-items: center; min-height: 40px; font: 600 14px/1 var(--sans); color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.abschluss__recht a:hover { text-decoration-color: #fff; }
@media (min-width: 900px) { .abschluss__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); } }
@media (max-width: 899px) { .abschluss { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ---------- draft note, dock ---------- */
.entwurf__tab { position: fixed; z-index: 55; left: 0; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; rotate: 180deg; padding: 14px 7px; border: 0; border-radius: 0 4px 4px 0;
  background: var(--ink); color: #fff; font: 400 10px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; opacity: .88; }
.entwurf__tab:hover { opacity: 1; }
.entwurf { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(27, 34, 30, .5); }
.entwurf__panel { position: relative; width: min(440px, 100%); background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 26px 24px 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5); }
.entwurf__t { font: 400 15px/1.55 var(--sans); padding-right: 30px; }
.entwurf__vc { margin-top: 16px; }
.entwurf__s { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.entwurf__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.entwurf__x::before, .entwurf__x::after { content: ''; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--ink); rotate: 45deg; }
.entwurf__x::after { rotate: -45deg; }
.entwurf__x:hover { background: var(--paper-2); }
.griff { display: none; }
@media (max-width: 899px) {
  .entwurf__tab { display: none; }
  .griff { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) 52px auto; gap: 8px; align-items: center;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(105%); transition: transform .4s var(--ease); }
  .griff.is-on { transform: none; }
  .griff__termin { min-height: 50px; }
  .griff__ruf { display: grid; place-items: center; height: 50px; border: 1.5px solid var(--ink); border-radius: 3px; color: var(--ink); }
  .griff__ruf svg { width: 21px; height: 21px; }
  .griff__notiz { height: 50px; padding: 0 10px; border: 0; background: none; font: 400 9.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
}

/* short desktop viewports: compact through the tokens */
@media (min-width: 1000px) and (max-height: 800px) {
  :root { --t-lead: 16.5px; }
  .sp__z { padding: 8px 0; }
  .kollege { padding: 12px; } .kollege img { width: 88px; height: 88px; } .kollege { grid-template-columns: 88px minmax(0, 1fr); }
  .mitbringen li { padding: 8px 0; }
  .weg__ic { width: 64px; height: 64px; } .weg__halte::before { top: 32px; }
  .plan__karte { max-height: 22svh; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* VCSLV credit (templates/credit) */
.vc-credit-row {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  display: flex; justify-content: center;
  grid-column: 1 / -1; flex: 0 0 100%; width: 100%; box-sizing: border-box;
}
.vc-credit {
  --vc-dot: #D2664A;
  display: inline-flex; align-items: center; gap: .7em; min-height: 44px; padding: 0 6px;
  color: inherit; text-decoration: none; font-size: 12px; line-height: 1; letter-spacing: .04em;
  opacity: .72; transition: opacity .4s ease;
}
.vc-credit--light { --vc-dot: #A8452F; }
.vc-credit__mark { display: block; height: .92em; width: auto; overflow: visible; }
.vc-credit__dot { fill: var(--vc-dot); transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.2, .9, .25, 1.35) .15s, filter .4s ease; }
.vc-credit__line { padding-left: .7em; border-left: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.vc-credit.is-arm .vc-credit__dot { transform: scale(0); }
.vc-credit.is-arm.is-in .vc-credit__dot { transform: scale(1); }
.vc-credit:hover, .vc-credit:focus-visible { opacity: 1; }
.vc-credit:hover .vc-credit__dot, .vc-credit:focus-visible .vc-credit__dot { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--vc-dot) 80%, transparent)); }
.vc-credit:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 520px) {
  .vc-credit { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 10px 6px; }
  .vc-credit__line { flex-basis: 100%; text-align: center; padding-left: 0; border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .vc-credit.is-arm .vc-credit__dot { transform: none; transition: none; } }

/* ---------- phones: every screen in one viewport (fit.mjs sizes 375x740, 414x718, 390x664) ---------- */
@media (max-width: 719px) {
  .mitbringen .taste { display: none; }
  .mitbringen ul { margin-bottom: 0; }
  .mitbringen li:last-child { border-bottom: 0; }
  .kollege h3 { font-size: 13px; }
  .kollege h3 small, .kollege__rolle { font-size: 12px; }
  .kollege__cv dd { font-size: 12px; line-height: 1.3; }
  .kollege__cv dt { font-size: 12px; }
  .plan { padding: 8px 12px; }
  .plan__zeilen { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 8px; }
  .plan__zeilen dt { font-size: 9.5px; letter-spacing: .06em; }
  .plan__zeilen dd { font-size: 12.5px; line-height: 1.25; overflow-wrap: anywhere; }
  .reiter { margin-bottom: 10px; }
  .reiter__b { min-height: 40px; }
  .wahlen { gap: 6px; margin-top: 8px; }
  .wahl { min-height: 40px; padding: 0 11px; font-size: 13.5px; gap: 6px; }
  .wahl i { width: 20px; height: 20px; }
  .feld span { font-size: 12px; margin-bottom: 4px; }
  .formular__nav { margin-top: 12px; }
  .formular__nav .taste { min-height: 44px; }
  .anfrage__in { gap: 10px; }
  .kosten .einleitung { font-size: 13.5px; line-height: 1.45; }
  .weg__d { min-height: 5.6em; font-size: 13.5px; line-height: 1.45; }
  .balken__hn, .balken__pct { height: 28px; }
  .balken__pct .lang { display: none; } .balken__pct .kurz { display: inline; }
  .balken__tarif { margin-top: 6px; }
  .kosten__in { gap: 12px; }
  .kosten__genau { font-size: 13.5px; padding-left: 10px; }
  .kosten__text .fein { font-size: 12.5px; }
  .praxis .einleitung { font-size: 13.5px; line-height: 1.45; }
  .praxis__in { gap: 12px; }
}
@media (max-width: 719px) and (max-height: 760px) {
  .anfrage .ueber, .kosten .ueber, .praxis .ueber, .leute .ueber { display: none; }
  .mitbringen li span:not(.mitbringen__ic) { display: none; }
  .mitbringen li { align-items: center; padding: 6px 0; }
  .kollege__cv div:first-child { display: none; }
  .balken__note { display: none; }
  .bilder { height: 76px; }
  .sp__z { padding: 6px 0; }
  .sp__txt p { -webkit-line-clamp: 1; line-clamp: 1; }
  .anreise__bild { height: 18svh; }
  .zeiten { margin-top: 12px; } .anreise__go { margin-top: 12px; }
  .feld textarea { min-height: 42px; height: 42px; }
}
@media (max-width: 719px) and (max-height: 690px) {
  .praxis .einleitung { display: none; }
  .kosten .einleitung { display: none; }
  .leute__kopf .schlagzeile .z + .z { display: inline; }
  .kollege { padding: 10px; }
  .weg__d { min-height: 4.5em; }
}
