/* Zahnarztpraxis Dr. Luise Krause · Entwurf VCSLV
   Brand: their card and sign (blue gradient, white serif wordmark), their half-ring favicon, the waiting room. */

@font-face { font-family: 'Playfair Display'; src: url(../fonts/playfair-display-normal.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url(../fonts/playfair-display-italic.woff2) format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(../fonts/figtree-normal.woff2) format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --sky: #3aa0d8;
  --brand: #1d5fae;
  --deep: #163f85;
  --night: #0f2a57;
  --ink: #13284b;
  --muted: #55657f;
  --paper: #f5f8fc;
  --paper-2: #eaf1f8;
  --white: #ffffff;
  --line: rgba(19, 40, 75, .12);
  --line-2: rgba(19, 40, 75, .22);
  --line-inv: rgba(255, 255, 255, .22);
  --cyan: #8fdcef;
  --live: #2fbf8f;
  --wait: #f2b630;
  --sun: #f3c623;
  --grad: linear-gradient(150deg, #3197d4 0%, #1d5fae 52%, #163f85 100%);
  --grad-btn: linear-gradient(135deg, #2a8ed0, #1d5fae);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 68px;
  --gutter: clamp(48px, 4.4vw, 72px);
  --r-card: 18px;
  --r-ph: 22px;
  --shadow: 0 24px 60px -28px rgba(15, 42, 87, .45), 0 2px 8px -2px rgba(15, 42, 87, .08);
}
@media (max-width: 899px) { :root { --gutter: 22px; } }
@media (max-width: 719px) { :root { --hdr-h: 58px; --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 0; overflow-anchor: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; }
b, strong { font-weight: 600; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
svg { flex: none; }
.btn svg, .dock svg, .rbtn svg, .note__x svg, .asst-btn svg, .asst__x svg { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h, 48px); padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .18s var(--ease), box-shadow .3s var(--ease); -webkit-touch-callout: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: currentColor; opacity: 0; transition: opacity .25s var(--ease); }
.btn:hover::after { opacity: .12; }
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--grad-btn); color: var(--white); box-shadow: 0 10px 24px -12px rgba(29, 95, 174, .8); }
.btn--brand::after { background: #fff; }
.btn--brand:hover::after { opacity: .14; }
.btn--light { background: var(--white); color: var(--deep); }
.btn--line { border: 1.5px solid currentColor; color: var(--brand); }
.btn--line::after { background: currentColor; }

.rbtn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; color: inherit; transition: background-color .25s var(--ease), transform .18s var(--ease); }
.rbtn:hover { background: rgba(255, 255, 255, .12); }
.rbtn:active { transform: scale(.95); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font: 500 15px/1.2 var(--sans); transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.chip:hover { border-color: var(--brand); }
.chip:active { transform: scale(.97); }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.chip--pain.is-on { background: var(--night); border-color: var(--night); }
.chip:disabled { opacity: .4; cursor: default; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--hdr-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); color: var(--white); transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.hdr.is-solid { background: rgba(245, 248, 252, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid.is-dark { background: rgba(15, 42, 87, .96); color: var(--white); box-shadow: 0 1px 0 var(--line-inv); }
.hdr.is-up { transform: translateY(-100%); }
.hdr__brand { display: block; transition: opacity .4s var(--ease); }
.hdr__brand .wm { width: 104px; height: auto; fill: currentColor; display: block; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.nav { display: flex; gap: clamp(16px, 1.8vw, 30px); margin-left: auto; font: 500 15px/1 var(--sans); }
.nav a { position: relative; padding: 8px 0; opacity: .86; transition: opacity .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-on { opacity: 1; }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.hdr__book { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.hdr.is-solid:not(.is-dark) .hdr__book { background: var(--grad-btn); color: var(--white); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 4px 0 12px; font: 600 14.5px/1 var(--sans); }
.menu-btn i { position: relative; width: 22px; height: 12px; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i::before { top: 2px; } .menu-btn i::after { top: 9px; }
.menu-btn[aria-expanded="true"] i::before { top: 5.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 5.5px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 39; background: var(--night); color: var(--white); padding: calc(var(--hdr-h) + 18px) var(--gutter) calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet__nav { display: grid; gap: 2px; }
.sheet__nav a { font: 500 clamp(1.5rem, 6.4vw, 2rem)/1.25 var(--serif); padding: 6px 0; border-bottom: 1px solid var(--line-inv); }
.sheet__foot { display: grid; gap: 4px; margin: 20px 0 0; font-size: 15px; color: rgba(255, 255, 255, .78); }
.sheet__foot a { font-weight: 600; font-size: 18px; color: var(--white); }
.is-menu .hdr { background: var(--night); color: var(--white); box-shadow: none; }
.is-menu .hdr__brand { opacity: 1; pointer-events: auto; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__book { margin-left: auto; }
}
@media (max-width: 719px) {
  .hdr { gap: 12px; }
  .hdr__brand .wm { width: 84px; }
  .hdr__book { --h: 38px; padding: 0 14px; font-size: 13.5px; }
  .menu-btn__l { display: none; }
}

/* ---------- type ---------- */
.h2 { margin: 0; font: 500 var(--h2s)/1.08 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.h2 em { font-style: italic; color: var(--brand); }
[data-tone="dark"] .h2 em { color: var(--cyan); }
.h-label { margin: 0 0 12px; font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
[data-tone="dark"] .h-label { color: var(--cyan); }
.lead { margin: 14px 0 0; font: 400 var(--t-lead)/1.5 var(--sans); color: var(--muted); max-width: 46ch; }
[data-tone="dark"] .lead { color: rgba(255, 255, 255, .78); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "brand photo" "desk photo"; column-gap: clamp(32px, 4.4vw, 80px); min-height: 100vh; min-height: 100svh; padding: calc(var(--hdr-h) + 8px) var(--gutter) clamp(20px, 3.4svh, 40px); background: var(--grad); color: var(--white); overflow: hidden; overflow-anchor: none; }
.hero::before { content: ''; position: absolute; left: -12%; top: 62%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.hero__brand { grid-area: brand; align-self: center; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2svh, 22px); padding-top: 2svh; }
.hero__mark { width: clamp(260px, min(30vw, 48svh), 470px); }
.lk { display: block; width: 100%; height: auto; overflow: visible; }
.lk__wm, .lk__za { fill: var(--white); }
.lk__smile { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.hero__place { display: flex; align-items: center; gap: 14px; margin: 0; font: 600 var(--t-lab)/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.hero__place i { width: 36px; height: 1px; background: rgba(255, 255, 255, .5); transform-origin: center; }
.hero__photo { grid-area: photo; position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #c9d6e4; box-shadow: 0 40px 80px -40px rgba(4, 18, 48, .7); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__img--m { display: none; }
.hero__photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(15, 42, 87, .78); color: var(--white); font: 500 13px/1 var(--sans); letter-spacing: .02em; }
.desk { grid-area: desk; justify-self: center; width: min(560px, 100%); margin-top: clamp(14px, 3svh, 34px); background: var(--white); color: var(--ink); border-radius: 22px; padding: 18px 20px 20px; box-shadow: 0 30px 60px -30px rgba(4, 18, 48, .65); }
.desk__status { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.desk__s { display: flex; align-items: center; gap: 9px; margin: 0; font: 500 14.5px/1.35 var(--sans); }
.desk__s b { font-weight: 600; }
.desk__s--ord { color: var(--muted); }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--wait); flex: none; }
.dot.is-live { background: var(--live); }
.dot.is-live::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: var(--live); opacity: .35; animation: pulse 2.2s ease-out infinite; }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { from { transform: scale(.4); opacity: .5; } to { transform: scale(1.6); opacity: 0; } }
.desk__q { margin: 14px 0 12px; font: 500 var(--h3s)/1.25 var(--serif); }
.desk__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.desk__btns .btn { padding: 0 14px; }

/* ---------- screens layer ---------- */
:root {
  --scr-t: calc(var(--hdr-h) + clamp(14px, 3.4svh, 46px));
  --scr-b: clamp(18px, 3.8svh, 50px);
  --scr-h: calc(100svh - var(--scr-t) - var(--scr-b));
  --h2s: clamp(2.1rem, min(3.4vw, 5.6svh), 3.6rem);
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 17px; --t-body: 15px; --t-small: 14px;
  --h3m: clamp(1.6rem, 2.1vw, 1.95rem);
  --h3s: clamp(1.25rem, min(1.6vw, 2.8svh), 1.5rem);
}
@media (max-width: 899px) { :root { --scr-b: calc(86px + env(safe-area-inset-bottom)); } }
@media (max-width: 719px) { :root { --scr-t: calc(var(--hdr-h) + 14px); --h2s: clamp(1.8rem, 7.8vw, 2.3rem); --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15px; --t-small: 13.5px; --h3m: 1.5rem; --h3s: 1.2rem; } }
@media (max-height: 800px) and (min-width: 900px) { :root { --h2s: clamp(2rem, min(3.2vw, 5.4svh), 3.2rem); --t-lead: 16px; } }
main > section:not(.hero) { position: relative; padding: var(--scr-t) var(--gutter) var(--scr-b); }
@media (min-width: 900px) {
  main > section:not(.hero) { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; }
}
[data-tone="dark"] { color: var(--white); }

/* ---------- 2 · Terminwunsch ---------- */
.termin { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "head slip" "flow slip"; column-gap: clamp(36px, 6vw, 110px); background: var(--paper); }
.termin__head { grid-area: head; align-self: end; }
.flow { grid-area: flow; margin-top: clamp(18px, 3.4svh, 36px); background: var(--white); border-radius: var(--r-card); padding: clamp(18px, 2.6svh, 26px) clamp(18px, 2vw, 28px); box-shadow: var(--shadow); max-width: 640px; transition: box-shadow .4s var(--ease); }
.flow.is-nudge { box-shadow: 0 0 0 3px rgba(58, 160, 216, .5), var(--shadow); }
.flow__dots { display: flex; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.flow__dots li { height: 4px; flex: 1; border-radius: 2px; background: var(--paper-2); transition: background-color .35s var(--ease); }
.flow__dots li.is-on { background: var(--brand); }
.flow__steps { position: relative; }
.step { display: none; }
.step.is-on { display: block; }
.step__q { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font: 500 var(--h3s)/1.25 var(--serif); color: var(--ink); }
.step__n { font: 600 13px/1 var(--sans); color: var(--brand); letter-spacing: .08em; }
.step__n .ok { width: 18px; height: 18px; vertical-align: -3px; }
.step__lab { margin: -6px 0 10px; font: 500 var(--t-small)/1.4 var(--sans); color: var(--muted); }
.chips--days { margin-bottom: 10px; }
.chips--days .chip { min-width: 62px; }
.step__hint { margin: 12px 0 0; font: 400 var(--t-small)/1.45 var(--sans); color: var(--muted); min-height: 1.45em; }
.step__hint.is-warn { color: #9a5b00; }
.step__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.step__row--wrap { flex-wrap: wrap; justify-content: flex-start; }
.step__back { margin-top: 14px; padding: 6px 0; font: 500 14.5px/1 var(--sans); color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.step__row .step__back { margin-top: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; font: 500 var(--t-small)/1.3 var(--sans); color: var(--muted); }
.field input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--paper); font: 400 16px/1 var(--sans); color: var(--ink); min-width: 0; width: 100%; }
.field input:focus { outline: none; border-color: var(--brand); background: var(--white); }
.pain__now { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 15.5px/1.4 var(--sans); }
.pain__t { margin: 0; font: 400 var(--t-body)/1.5 var(--sans); color: var(--muted); max-width: 52ch; }
.pain .btn { --h: 44px; padding: 0 18px; }
.flow__sum { margin: 14px 0 0; font: 500 var(--t-small)/1.4 var(--sans); color: var(--brand); min-height: 1.4em; }
.flow__sum:empty { display: none; }
.slip { grid-area: slip; align-self: center; justify-self: end; position: relative; width: min(430px, 100%); background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); transition: transform .6s var(--ease); }
.slip.is-sent { transform: rotate(0); }
.slip__top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: var(--grad); color: var(--white); font: 600 var(--t-lab)/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.slip__top .wm { width: 92px; fill: currentColor; }
.slip__rows { margin: 0; padding: 8px 22px; }
.slip__rows div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.slip__rows dt { font: 600 var(--t-cap)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slip__rows dd { margin: 0; font: 500 15.5px/1.4 var(--sans); overflow-wrap: anywhere; }
.slip__rows dd.is-new { animation: ink .7s var(--ease); }
@keyframes ink { from { color: var(--sky); } to { color: var(--ink); } }
.slip__foot { display: grid; gap: 2px; padding: 12px 22px 20px; font: 400 13.5px/1.45 var(--sans); color: var(--muted); }
.slip__stamp { position: absolute; right: 18px; top: 72px; padding: 6px 12px; border: 2px solid rgba(29, 95, 174, .55); border-radius: 8px; color: rgba(29, 95, 174, .7); font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; transform: rotate(-8deg) scale(1.6); opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.slip.is-sent .slip__stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
.slip__done { padding: 0 22px 22px; }
.slip__done p { margin: 0 0 12px; font: 400 var(--t-small)/1.5 var(--sans); color: var(--muted); }
.slip__done b { color: var(--ink); }
.slip__done .btn { --h: 42px; }

/* ---------- 3 · Zeiten ---------- */
.zeiten { background: var(--white); grid-template-columns: minmax(0, 1fr); }
.zeiten__head { max-width: 760px; }
.week { position: relative; margin-top: clamp(22px, 4svh, 46px); display: grid; gap: clamp(8px, 1.4svh, 14px); --w0: 7; --span: 10; }
.week__axis { position: relative; height: 22px; margin-left: var(--lab-w); }
.week__axis span { position: absolute; top: 0; transform: translateX(-50%); font: 500 12.5px/1 var(--sans); color: var(--muted); }
.week__day { position: relative; display: grid; grid-template-columns: var(--lab-w) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 0; row-gap: 4px; align-items: center; padding: clamp(4px, .8svh, 8px) 0; border-top: 1px solid var(--line); }
.week { --lab-w: clamp(110px, 12vw, 170px); }
.week__day > b { grid-row: 1 / 3; font: 500 var(--h3s)/1.2 var(--serif); }
.week__day.is-today > b::after { content: 'heute'; display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 999px; background: var(--sun); color: var(--ink); font: 600 10.5px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.bar { grid-column: 2; position: relative; display: flex; align-items: center; height: clamp(24px, 3.4svh, 30px); margin-left: calc((var(--a) - var(--w0)) / var(--span) * 100%); width: calc((var(--b) - var(--a)) / var(--span) * 100%); padding: 0 12px; border-radius: 8px; font: 500 13.5px/1 var(--sans); white-space: nowrap; overflow: hidden; transform-origin: left; }
.bar--o { background: var(--paper-2); color: var(--deep); box-shadow: inset 0 0 0 1px rgba(29, 95, 174, .18); }
.bar--t { background: var(--grad-btn); color: var(--white); }
.week__none, .week__note { grid-column: 2; font: 500 13.5px/30px var(--sans); color: var(--muted); }
.week__day.is-off { opacity: .55; }
.week__now { position: absolute; top: 18px; bottom: 0; width: 2px; margin-left: -1px; background: var(--sun); border-radius: 1px; pointer-events: none; }
.week__now::before { content: attr(data-t); position: absolute; top: -20px; left: 50%; transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; background: var(--sun); color: var(--ink); font: 700 11.5px/1 var(--sans); white-space: nowrap; }
.zeiten__src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: clamp(16px, 3svh, 28px) 0 0; font: 500 var(--t-small)/1.4 var(--sans); }
.zeiten__src small { flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
.key { width: 22px; height: 12px; border-radius: 4px; }
.key--o { background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(29, 95, 174, .25); }
.key--t { background: var(--grad-btn); margin-left: 10px; }

/* ---------- 4 · Leistungen ---------- */
.leist { background: var(--paper); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head card" "list card"; column-gap: clamp(36px, 6vw, 110px); }
.leist__head { grid-area: head; align-self: end; }
.leist__list { grid-area: list; margin: clamp(16px, 3svh, 30px) 0 0; padding: 0; list-style: none; counter-reset: l; }
.leist__list button { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: clamp(7px, 1.25svh, 12px) 0; border-bottom: 1px solid var(--line); text-align: left; font: 500 clamp(1.05rem, min(1.35vw, 2.4svh), 1.3rem)/1.3 var(--serif); color: var(--muted); transition: color .25s var(--ease), padding-left .35s var(--ease); }
.leist__list button span { font: 600 12px/1 var(--sans); letter-spacing: .1em; color: var(--brand); opacity: .7; }
.leist__list button:hover { color: var(--ink); }
.leist__list button[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.leist__list button[aria-selected="true"] span { opacity: 1; }
.leist__card { grid-area: card; align-self: center; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); border-radius: var(--r-ph); overflow: hidden; box-shadow: var(--shadow); max-width: 520px; justify-self: end; width: 100%; }
.leist__ph { height: clamp(220px, calc(var(--scr-h) - 210px), 520px); overflow: hidden; background: var(--paper-2); }
.leist__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.leist__card figcaption { padding: 18px 22px 22px; display: grid; gap: 8px; justify-items: start; }
.leist__n { margin: 0; font: 500 var(--h3m)/1.15 var(--serif); }
.leist__t { margin: 0; font: 400 var(--t-body)/1.5 var(--sans); color: var(--muted); min-height: 3em; }
.leist__card .btn { --h: 44px; margin-top: 4px; }

/* ---------- 5 · Wahlzahnärztin ---------- */
.kasse { background: var(--grad); grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); column-gap: clamp(36px, 6vw, 110px); align-items: center; }
.kasse { color: var(--white); }
.kasse .h-label, .kasse .h2 em { color: var(--cyan); }
.kasse__ph { margin: 0; border-radius: var(--r-ph); overflow: hidden; height: min(var(--scr-h), 620px); box-shadow: 0 40px 80px -40px rgba(4, 18, 48, .7); }
.kasse__ph img { width: 100%; height: 100%; object-fit: cover; }
.kasse__steps { position: relative; margin: clamp(20px, 4svh, 40px) 0 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: clamp(14px, 2.6svh, 26px); }
.kasse__steps::before { content: ''; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 1.5px; background: rgba(255, 255, 255, .3); transform-origin: top; }
.kasse__steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; counter-increment: k; }
.kasse__steps li::before { content: counter(k); grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--deep); font: 600 16px/1 var(--sans); }
.kasse__steps b { font: 500 var(--h3s)/1.3 var(--serif); }
.kasse__steps span { font: 400 var(--t-body)/1.5 var(--sans); color: rgba(255, 255, 255, .82); max-width: 46ch; }
.kasse__fine { margin: clamp(16px, 3svh, 28px) 0 0; font: 500 var(--t-small)/1.4 var(--sans); color: rgba(255, 255, 255, .7); }

/* ---------- 6 · Ärztin ---------- */
.dr { background: var(--paper); grid-template-columns: minmax(0, auto) minmax(0, 1fr); column-gap: clamp(36px, 6vw, 110px); align-items: center; }
.dr__ph { margin: 0; height: min(var(--scr-h), 700px); aspect-ratio: 2 / 3; width: calc(min(var(--scr-h), 700px) * 2 / 3); border-radius: 220px 220px var(--r-ph) var(--r-ph); overflow: hidden; background: var(--paper-2); }
.dr__ph img { width: 100%; height: 100%; object-fit: cover; }
.dr__q { margin: clamp(16px, 3svh, 28px) 0 0; padding-left: 18px; border-left: 2px solid var(--sky); font: italic 400 var(--quote)/1.45 var(--serif); color: var(--ink); max-width: 40ch; }
:root { --quote: clamp(1.15rem, min(1.5vw, 2.6svh), 1.45rem); }
.path { margin-top: clamp(22px, 4.4svh, 44px); }
.path__rail { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.path__rail::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: var(--line-2); }
.path__rail button { position: relative; padding: 8px 6px; font: 600 13.5px/1 var(--sans); color: var(--muted); background: var(--paper); transition: color .25s var(--ease); }
.path__rail button::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--line-2); transition: background-color .25s, transform .3s var(--ease); }
.path__rail button:hover { color: var(--ink); }
.path__rail button[aria-selected="true"] { color: var(--brand); }
.path__rail button[aria-selected="true"]::after { background: var(--brand); transform: scale(1.5); }
.path__card { margin-top: 22px; padding: 18px 22px; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow); max-width: 560px; min-height: 120px; }
.path__y { margin: 0; font: 500 clamp(1.7rem, min(2.6vw, 4.4svh), 2.4rem)/1.1 var(--serif); color: var(--brand); }
.path__w { margin: 8px 0 0; font: 500 var(--t-lead)/1.4 var(--sans); }
.path__o { margin: 2px 0 0; font: 400 var(--t-small)/1.4 var(--sans); color: var(--muted); }

/* ---------- 7 · Team ---------- */
.team { background: var(--white); grid-template-columns: minmax(0, 1fr); }
.team__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab lab" "h2 chips" "line line"; align-items: end; column-gap: 32px; }
.team__head .h-label { grid-area: lab; }
.team__head .h2 { grid-area: h2; }
.team__chips { grid-area: chips; display: flex; gap: 8px; }
.team__chips button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); font: 500 14.5px/1 var(--sans); white-space: nowrap; transition: background-color .22s, color .22s, border-color .22s; }
.team__chips button:hover { border-color: var(--brand); }
.team__chips button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.team__line { grid-area: line; margin: 12px 0 0; font: 400 var(--t-lead)/1.45 var(--sans); color: var(--muted); min-height: 1.45em; }
.team__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); margin: clamp(18px, 3.4svh, 36px) 0 0; padding: 0; list-style: none; }
.team__grid li { transition: opacity .4s var(--ease), filter .4s var(--ease); }
.team__grid li.is-dim { opacity: .28; }
.team__grid figure { margin: 0 0 10px; border-radius: 999px 999px var(--r-card) var(--r-card); overflow: hidden; background: var(--paper-2); aspect-ratio: 2 / 3; max-height: calc(var(--scr-h) - 250px); }
.team__grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.team__grid b { display: block; font: 500 var(--h3s)/1.2 var(--serif); }
.team__grid small { display: block; margin-top: 3px; font: 400 13px/1.35 var(--sans); color: var(--muted); hyphens: auto; }

/* ---------- 8 · Rundgang ---------- */
.tour { background: var(--night); color: var(--white); grid-template-columns: minmax(0, 1fr); }
.tour .h-label, .tour .h2 em { color: var(--cyan); }
.tour__stage { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(32px, 5vw, 90px); align-items: end; margin-top: clamp(16px, 3svh, 30px); }
.tour__fig { margin: 0; width: min(46vw, calc(var(--scr-h) - 150px)); aspect-ratio: 1; border-radius: var(--r-ph); overflow: hidden; background: #1b3a6e; }
.tour__fig img { width: 100%; height: 100%; object-fit: cover; }
.tour__side { display: grid; gap: 16px; align-content: end; }
.tour__count { margin: 0; font: 500 14px/1 var(--sans); color: rgba(255, 255, 255, .6); letter-spacing: .08em; }
.tour__count b { color: var(--white); font-weight: 600; }
.tour__t { margin: 0; font: 500 var(--h3m)/1.2 var(--serif); min-height: 2.4em; }
.tour__nav { display: flex; gap: 10px; }
.tour__thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; max-width: 560px; }
.tour__thumbs button { display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; opacity: .45; outline-offset: 2px; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.tour__thumbs button:hover { opacity: .8; }
.tour__thumbs button[aria-selected="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--cyan); }
.tour__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9 · Kontakt ---------- */
.kontakt { background: var(--paper); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(36px, 6vw, 110px); align-items: center; }
.kontakt__adr { margin: clamp(14px, 2.6svh, 24px) 0 0; font: normal 400 var(--t-lead)/1.5 var(--sans); }
.ways { margin: clamp(16px, 3svh, 28px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ways button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 11px 6px; border-bottom: 1px solid var(--line); text-align: left; transition: background-color .25s var(--ease); }
.ways button:hover { background: rgba(29, 95, 174, .05); }
.ways i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--brand); color: var(--brand); font: 700 13px/1 var(--sans); font-style: normal; transition: background-color .25s, color .25s; }
.ways button[aria-selected="true"] i { background: var(--brand); color: var(--white); }
.ways span { font: 500 16px/1.3 var(--sans); }
.ways b { display: grid; justify-items: end; font: 600 16px/1.2 var(--sans); white-space: nowrap; }
.ways small { display: flex; align-items: center; gap: 4px; font: 500 12.5px/1.2 var(--sans); color: var(--muted); }
.ways small svg { width: 14px; height: 14px; }
.kontakt__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px, 3svh, 28px); }
.map { position: relative; margin: 0; height: min(var(--scr-h), 760px); border-radius: var(--r-ph); overflow: hidden; background: #eef2f6; box-shadow: var(--shadow); }
.map__svg { display: block; width: 100%; height: 100%; }
.map__bg { fill: #f1f4f7; }
.map__green { fill: #dfeee0; }
.map__water { fill: none; stroke: #a9d3ea; stroke-width: 4; }
.map__bld { fill: #dfe4ea; }
.map__fab { fill: #c9d6e6; }
.map__small { fill: none; stroke: #ffffff; stroke-width: 2.4; }
.map__minor { fill: none; stroke: #ffffff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map__major { fill: none; stroke: #fff6dc; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.map__rail { fill: none; stroke: #9aa6b4; stroke-width: 3; stroke-dasharray: 10 6; }
.map__j { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.map__route { opacity: 0; transition: opacity .45s var(--ease); }
.map__route.is-on { opacity: 1; }
.map__route.is-peek { opacity: .45; }
.map__case { fill: none; stroke: #fff; stroke-width: 10px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.map__line { fill: none; stroke: var(--sky); stroke-width: 5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.map__s { transform: scale(var(--k, 1)); }
.map__jl { fill: var(--deep); font: 700 14px/1 var(--sans); text-anchor: end; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map__dot { fill: var(--deep); stroke: #fff; stroke-width: 3px; }
.map__home .map__pulse { fill: var(--sky); stroke: none; opacity: .28; }
.map__pin circle { fill: #fff; stroke: var(--brand); stroke-width: 2.5px; }
.map__n { fill: var(--brand); font: 700 13px/1 var(--sans); text-anchor: middle; }
.map__pin.is-on circle { fill: var(--brand); }
.map__pin.is-on .map__n { fill: #fff; }
.map__tip { opacity: 0; transition: opacity .35s var(--ease); }
.map__pin.is-on .map__tip { opacity: 1; }
.map__tip rect { fill: var(--deep); }
.map__tip text { fill: #fff; font: 600 12.5px/1 var(--sans); }
.map__label { position: absolute; padding: 6px 10px; border-radius: 8px; background: var(--deep); color: #fff; font: 600 12.5px/1 var(--sans); white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; }
.map__credit { position: absolute; left: 10px; bottom: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(255, 255, 255, .85); font: 400 11px/1.2 var(--sans); color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, .82); padding: clamp(48px, 9svh, 96px) var(--gutter) calc(28px + env(safe-area-inset-bottom)); }
.foot__in { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__brand .wm { width: min(220px, 60vw); fill: var(--white); }
.foot__brand p { margin: 14px 0 0; font-size: 14px; }
.foot .h-label { color: var(--cyan); margin-bottom: 8px; }
.foot__col p { margin: 0; font: 400 14.5px/1.6 var(--sans); }
.foot__col a:hover { color: var(--white); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 44px 0 0; padding-top: 18px; border-top: 1px solid var(--line-inv); font-size: 13px; color: rgba(255, 255, 255, .6); }
.foot__base a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- dock (phones) ---------- */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 42, 87, .97); transform: translateY(140%); transition: transform .45s var(--ease); }
  .dock.is-on { transform: none; }
  .dock__book { flex: 1; min-width: 0; display: grid; place-items: center; height: 50px; border-radius: 999px; background: var(--white); color: var(--deep); font: 600 15.5px/1 var(--sans); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
  .dock__book:active { transform: scale(.98); }
  .dock__ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--white); border: 1px solid var(--line-inv); flex: none; }
  .dock__ico svg { width: 20px; height: 20px; }
  .dock__note { display: grid; justify-items: center; align-content: center; gap: 5px; width: 50px; height: 50px; border-radius: 14px; color: rgba(255, 255, 255, .8); border: 1px solid var(--line-inv); flex: none; font: 600 8.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
  .dock__note i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
  .dock__note[aria-expanded="true"] { background: rgba(255, 255, 255, .12); }
  .is-menu .dock { transform: translateY(140%); }
}

/* ---------- draft note ---------- */
.note-tab { position: fixed; left: 10px; top: 50%; z-index: 44; display: inline-flex; align-items: center; gap: 10px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); width: 28px; padding: 14px 0 12px; border-radius: 6px; background: rgba(15, 42, 87, .9); color: var(--white); font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 0 0 1px var(--line-inv); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.note-tab i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.note-tab.is-shown { opacity: 1; visibility: visible; }
.note { position: fixed; left: 48px; top: 50%; z-index: 60; width: min(360px, calc(100vw - 32px)); margin-top: -150px; background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 24px 22px 20px; box-shadow: 0 30px 70px -20px rgba(4, 18, 48, .45), 0 0 0 1px var(--line); display: grid; gap: 10px; font: 400 14.5px/1.5 var(--sans); }
.note[hidden] { display: none; }
.note > b { font: 500 1.5rem/1.2 var(--serif); padding-right: 36px; }
.note p { margin: 0; }
.note .btn { --h: 44px; justify-self: start; margin-top: 4px; }
.note__fine { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.note__fine a { text-decoration: underline; text-underline-offset: 2px; }
.note__x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.note__x:hover { background: var(--paper-2); color: var(--ink); }
@media (max-width: 899px) {
  .note-tab { display: none; }
  .note { left: 12px; right: 12px; top: auto; bottom: calc(82px + env(safe-area-inset-bottom)); width: auto; margin: 0; }
}

/* ---------- assistant sample ---------- */
.asst-btn { position: fixed; right: 22px; bottom: 22px; z-index: 46; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--grad-btn); color: var(--white); font: 600 14.5px/1 var(--sans); box-shadow: 0 16px 34px -14px rgba(15, 42, 87, .75); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s var(--ease), visibility .4s, transform .4s var(--ease); -webkit-tap-highlight-color: transparent; }
.asst-btn svg { width: 22px; height: 22px; }
.asst-btn.is-shown { opacity: 1; visibility: visible; transform: none; }
.asst-btn:not(.is-shown) { pointer-events: none; }
.asst-btn__dot { position: absolute; right: 6px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px var(--brand); }
.asst-btn.is-seen .asst-btn__dot { display: none; }
.asst-btn:active { transform: scale(.97); }
.asst { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(8, 20, 44, .55); }
.asst[hidden] { display: none; }
.asst__panel { position: relative; width: min(420px, calc(100vw - 32px)); height: min(780px, calc(100svh - 48px)); border-radius: 22px; overflow: hidden; background: var(--night); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.asst__panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.asst__x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); }
@media (max-width: 899px) {
  .asst-btn { right: 14px; bottom: calc(84px + env(safe-area-inset-bottom)); height: 48px; width: 48px; padding: 0; justify-content: center; }
  .asst-btn__label { display: none; }
  .asst-btn.is-low { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .asst__panel { width: 100vw; height: 100svh; border-radius: 0; }
}

/* ---------- phones and tablets ---------- */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; gap: 12px; padding: calc(var(--hdr-h) + 6px) var(--gutter) 16px; }
  .hero::before { display: none; }
  .hero__brand { padding-top: 0; gap: 8px; }
  .hero__mark { width: min(250px, 62vw, calc(25svh * 4 / 3)); }
  .hero__photo { height: clamp(108px, 22svh, 260px); flex: 1 1 auto; max-height: 34svh; border-radius: 18px; }
  .hero__img--d { display: none; }
  .hero__img--m { display: block; }
  .hero__photo figcaption { left: 10px; bottom: 10px; font-size: 12px; padding: 6px 10px; }
  .desk { margin-top: 0; padding: 14px 14px 14px; border-radius: 18px; width: 100%; max-width: 560px; }
  .desk__status { flex-direction: column; gap: 4px; padding-bottom: 10px; }
  .desk__s { font-size: 14px; }
  .desk__q { margin: 10px 0 10px; font-size: 1.12rem; }
  .desk__btns .btn { --h: 46px; font-size: 14px; padding: 0 10px; }

  main > section:not(.hero) { display: grid; align-content: start; }
  .termin { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "flow" "slip"; }
  .flow { margin-top: 16px; max-width: none; padding: 16px; }
  .flow__dots { margin-bottom: 12px; }
  .slip { display: none; justify-self: stretch; width: 100%; transform: none; margin-top: 16px; }
  .termin.is-done .flow { display: none; }
  .termin.is-done .slip { display: block; }
  .slip__rows div { padding: 9px 0; grid-template-columns: 90px minmax(0, 1fr); }
  .slip__top { padding: 14px 18px; }
  .slip__rows { padding: 4px 18px; }
  .slip__foot { padding: 10px 18px 14px; }
  .slip__stamp { top: 54px; }
  .slip__done { padding: 0 18px 16px; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step__q { margin-bottom: 12px; }
  .chip { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
  .chips { gap: 8px; }

  .week { --lab-w: 44px; margin-top: 18px; }
  .week__day > b { font-size: 0; }
  .week__day > b::before { content: attr(data-s); font: 500 1.05rem/1 var(--serif); }
  .week__day.is-today > b::after { display: none; }
  .week__day.is-today { background: linear-gradient(90deg, rgba(243, 198, 35, .18), transparent 70%); }
  .bar { height: 22px; padding: 0 8px; font-size: 12px; border-radius: 6px; }
  .week { gap: 4px; margin-top: 12px; }
  .week__day { padding: 5px 0; row-gap: 3px; }
  .week__none, .week__note { font-size: 12.5px; line-height: 22px; }
  .week__axis { height: 16px; }
  .zeiten .lead { margin-top: 10px; }
  .zeiten__src { margin-top: 12px; font-size: 13px; }
  .zeiten__src small { font-size: 11.5px; }
  .bar .l { display: none; }
  .week__axis span { font-size: 11.5px; }

  .leist { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "list"; }
  .leist__list { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 12px calc(var(--gutter) * -1) 0; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .leist__list::-webkit-scrollbar { display: none; }
  .leist__list li { flex: none; scroll-snap-align: start; }
  .leist__list button { align-items: center; width: auto; padding: 0 16px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 999px; font: 500 14.5px/1 var(--sans); white-space: nowrap; color: var(--ink); }
  .leist__list button span { display: none; }
  .leist__list button[aria-selected="true"] { padding-left: 16px; background: var(--brand); border-color: var(--brand); color: var(--white); }
  .leist__card { margin-top: 14px; max-width: none; grid-template-columns: 38% minmax(0, 1fr); justify-self: stretch; }
  .leist__ph { height: auto; min-height: 210px; }
  .leist__card figcaption { padding: 14px 14px 16px; align-content: start; }
  .leist__n { font-size: 1.2rem; }
  .leist__card figcaption { min-width: 0; justify-items: stretch; }
  .leist__card figcaption > p { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .leist__card .btn { justify-self: start; }
  .leist__t { font-size: 14px; min-height: 0; }
  .leist__card .btn { --h: 42px; padding: 0 14px; font-size: 13.5px; white-space: normal; text-align: left; line-height: 1.15; }

  .kasse { grid-template-columns: minmax(0, 1fr); }
  .kasse__ph { height: clamp(100px, 18svh, 220px); order: 2; margin-top: 16px; }
  .kasse__txt { order: 1; }
  .kasse__steps { margin-top: 16px; gap: 12px; }
  .kasse__steps li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .kasse__steps li::before { width: 36px; height: 36px; font-size: 14px; }
  .kasse__steps::before { left: 17.5px; }
  .kasse__steps span { font-size: 14px; }
  .kasse__fine { margin-top: 12px; }

  .dr { grid-template-columns: minmax(0, 1fr); }
  .dr__ph { float: left; width: 34%; height: auto; aspect-ratio: 4 / 5; margin: 0 16px 8px 0; border-radius: 120px 120px 14px 14px; }
  .dr__txt { display: block; }
  .dr__txt::after { content: ''; display: block; clear: both; }
  main > section.dr { display: block; }
  .dr__q { clear: both; margin-top: 12px; font-size: 1.05rem; }
  .path { margin-top: 18px; }
  .path__rail { overflow-x: auto; justify-content: flex-start; gap: 4px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .path__rail::-webkit-scrollbar { display: none; }
  .path__rail::before { left: var(--gutter); right: auto; width: 640px; top: calc(50% - 6px); }
  .path__rail button { padding: 8px 8px; }
  .path__rail button::after { bottom: -3px; }
  .path__card { margin-top: 10px; padding: 14px 16px; min-height: 0; }

  .team__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lab" "h2" "chips" "line"; }
  .team__chips { margin-top: 14px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 2px; scrollbar-width: none; }
  .team__chips::-webkit-scrollbar { display: none; }
  .team__line { font-size: 14.5px; min-height: 2.9em; margin-top: 10px; }
  .team__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .team__grid::-webkit-scrollbar { display: none; }
  .team__grid li { flex: none; width: 40%; scroll-snap-align: start; }
  .team__grid figure { max-height: none; aspect-ratio: 3 / 4; }
  .team__grid small { font-size: 12.5px; }

  .tour__stage { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 14px; }
  .tour__fig { width: 100%; aspect-ratio: auto; height: clamp(180px, calc(var(--scr-h) - 230px), 420px); }
  .tour__side { gap: 10px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tour__count { grid-column: 1; }
  .tour__t { grid-column: 1; min-height: 0; font-size: 1.2rem; }
  .tour__nav { grid-column: 2; grid-row: 1 / 3; }
  .tour__thumbs { grid-column: 1 / -1; margin-top: 2px; gap: 6px; }
  .tour__thumbs button { border-radius: 8px; }

  .kontakt { grid-template-columns: minmax(0, 1fr); }
  .kontakt__adr { display: none; }
  .map { order: 2; height: clamp(220px, calc(var(--scr-h) - 196px), 460px); margin-top: 12px; }
  .kontakt__txt { order: 1; }
  .ways { display: flex; gap: 8px; overflow-x: auto; margin: 12px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 2px; border: 0; scrollbar-width: none; }
  .ways::-webkit-scrollbar { display: none; }
  .ways li { flex: none; }
  .ways button { display: flex; align-items: center; gap: 8px; width: auto; height: 44px; padding: 0 14px 0 7px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white); white-space: nowrap; }
  .ways button[aria-selected="true"] { border-color: var(--brand); }
  .ways i { width: 28px; height: 28px; }
  .ways span { font-size: 14px; }
  .ways b { display: flex; gap: 4px; align-items: center; font-size: 14px; }
  .ways small { font-size: 0; }
  .ways small svg { width: 15px; height: 15px; }
  .kontakt__btns { margin-top: 12px; gap: 8px; }
  .kontakt__btns { flex-wrap: nowrap; }
  .kontakt__btns .btn { --h: 44px; padding: 0 16px; font-size: 14px; }
  .kontakt__btns .btn--line { width: 44px; padding: 0; }
  .kontakt__btns .btn--line .lbl { display: none; }
  .kontakt { min-height: 100vh; min-height: 100svh; }

  .foot__in { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) and (min-width: 600px) {
  .hero__mark { width: min(300px, 50vw, calc(26svh * 4 / 3)); }
  .team__grid li { width: 26%; }
}
@media (max-width: 380px) {
  .desk__btns .btn { font-size: 13.5px; }
  .kontakt__btns .btn { padding: 0 13px; }
}

/* ---------- motion states ---------- */
.js .lk__smile { stroke-dashoffset: 1; }
.js .lk__za path, .js .lk__wm path { opacity: 0; }
.js .hero__photo, .js .desk, .js .hero__place, .js .hdr { opacity: 0; }
.no-anim .lk__smile, .is-static .lk__smile { stroke-dashoffset: 0 !important; }
.no-anim .lk__za path, .no-anim .lk__wm path, .no-anim .hero__photo, .no-anim .desk, .no-anim .hero__place, .no-anim .hdr,
.is-static .lk__za path, .is-static .lk__wm path, .is-static .hero__photo, .is-static .desk, .is-static .hero__place, .is-static .hdr { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
