/* Zahnarzt Thomas Kogler · Götzis — Entwurf VCSLV
   Farben aus Logo (Orange-Ball) und Praxis (Lindgrün-Wände). Schriften: League Spartan (Logo-nah, geometrisch) + Fraunces italic (Akzentwort). */

@font-face { font-family: 'League Spartan'; src: url('../fonts/league-spartan-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #f4f6ef;
  --lime: #9dc10e;
  --lime-2: #b7d43a;
  --lime-soft: #edf3d5;
  --leaf: #4c6a06;
  --orange: #ec6a00;
  --orange-d: #cf5b00;
  --ink: #2c3032;
  --grey: #6b7073;
  --line: #e2e6da;
  --sans: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --hdr-h: 76px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --r: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@media (max-width: 899px) { :root { --hdr-h: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; overflow-anchor: none; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
b, strong { font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-weight: 380; letter-spacing: -.005em; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.show-s { display: none; }
@media (max-width: 719px) { .hide-s { display: none; } .show-s { display: inline; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter); }
svg { display: block; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; border: 1.5px solid transparent; transition: transform .2s var(--ease), background-color .25s, border-color .25s; -webkit-touch-callout: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--orange); color: #fff; padding-top: 2px; }
.btn--main::after { background: var(--orange-d); }
.btn--line { border-color: currentColor; color: var(--ink); padding-top: 2px; }
.btn--line::after { background: currentColor; opacity: .1; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); padding-inline: var(--gutter); background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s; }
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; transition: opacity .35s; }
.hdr.has-crest .hdr__brand { opacity: 0; pointer-events: none; }
.hdr__word { display: flex; flex-direction: column; align-items: flex-end; font: 300 21px/1 var(--sans); letter-spacing: .1em; color: #55595c; padding-top: 4px; }
.hdr__word small { font: 400 8.5px/1 var(--sans); letter-spacing: .42em; margin: 0 -.42em 3px 0; color: var(--grey); }
.hdr__ball { width: 34px; height: 34px; flex: none; }
.hdr__nav { display: flex; gap: clamp(14px, 1.6vw, 28px); }
.hdr__nav a { font: 500 14px/1 var(--sans); letter-spacing: .04em; text-decoration: none; padding: 8px 0 6px; position: relative; color: var(--ink); }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__call { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); letter-spacing: .03em; text-decoration: none; padding: 8px 4px; }
.hdr__call svg { width: 17px; height: 17px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linejoin: round; }
.hdr__book { min-height: 44px; padding-inline: 20px; font-size: 14px; }
.hdr__menu { display: none; grid-template-columns: auto 22px; align-items: center; column-gap: 10px; height: 44px; padding: 0 2px; }
.hdr__menu span { grid-column: 2; grid-row: 1; display: block; width: 22px; height: 1.6px; background: var(--ink); transform: translateY(-3.8px); transition: transform .3s var(--ease); }
.hdr__menu span + span { transform: translateY(3.8px); }
.hdr__menu b { grid-column: 1; grid-row: 1; font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding-top: 2px; }
.menu-open .hdr__menu span:first-child { transform: rotate(45deg); }
.menu-open .hdr__menu span:nth-child(2) { transform: rotate(-45deg); }
@media (max-width: 1180px) { .hdr__nav { display: none; } .hdr__menu { display: grid; } }
@media (max-width: 899px) {
  .hdr__call span, .hdr__book { display: none; }
  .hdr__word { font-size: 17px; } .hdr__word small { font-size: 7.5px; }
  .hdr__ball { width: 28px; height: 28px; }
}

.menu { position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; background: var(--paper); padding: clamp(20px, 5svh, 56px) var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden], [hidden] { display: none !important; }
.menu nav { display: grid; gap: 2px; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; padding: clamp(8px, 1.6svh, 14px) 0; border-bottom: 1px solid var(--line); font: 300 clamp(1.6rem, 4.2svh, 2.4rem)/1.1 var(--sans); text-decoration: none; }
.menu nav a i { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--leaf); font-style: normal; }
.menu__foot { font-size: 15px; color: var(--grey); padding-top: 24px; }
.menu__foot a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); overflow: hidden; overflow-anchor: none; background: var(--paper); }
.hero__media { grid-column: 2; grid-row: 1; position: relative; overflow: hidden; clip-path: ellipse(100% 138% at 100% 50%); }
.hero__media picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero__img { will-change: transform; }
.hero__body { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4.2svh, 48px); padding: calc(var(--hdr-h) + 2svh) clamp(16px, 2.4vw, 40px) clamp(24px, 5svh, 64px) var(--gutter); position: relative; z-index: 2; }
.crest { display: flex; flex-direction: column; align-items: flex-start; }
.crest__ball { width: clamp(92px, 15svh, 148px); height: auto; aspect-ratio: 1; margin-bottom: clamp(14px, 2.6svh, 30px); overflow: visible; }
.crest__disc { transform-box: fill-box; transform-origin: 50% 50%; }
.crest__draw { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js .crest__draw { stroke-dashoffset: 1; }
.crest__lab { font: 400 clamp(11px, .9vw, 13px)/1 var(--sans); letter-spacing: .5em; color: var(--grey); margin: 0 0 12px .1em; }
.crest__name { font: 250 clamp(2.6rem, 4.4vw, 4.6rem)/.95 var(--sans); letter-spacing: .08em; color: #4f5356; white-space: nowrap; padding-top: .08em; }
.crest__name .ch { display: inline-block; will-change: transform; }
.crest__name .ln-m { display: inline-block; overflow: hidden; padding: .06em .12em .1em; margin: -.06em -.12em -.1em; vertical-align: top; }
.crest__line { margin-top: clamp(12px, 2svh, 20px); font: 400 clamp(1.05rem, 1.25vw, 1.25rem)/1.3 var(--sans); color: var(--grey); }
.crest__line em { color: var(--ink); font-size: 1.12em; }

.desk { width: min(100%, 470px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; box-shadow: 0 18px 48px -28px rgba(44, 48, 50, .28); }
.desk__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.desk__day { font: 500 var(--t-cap)/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.desk__state { margin: 8px 0 14px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 400 clamp(1.3rem, 1.6vw, 1.55rem)/1.15 var(--sans); }
.desk__state b { font-weight: 500; }
.desk__state [data-state-sub] { color: var(--grey); font-size: .78em; }
.dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--grey); flex: none; align-self: center; }
.dot.is-open { background: var(--lime); }
.dot.is-open::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: var(--lime); opacity: 0; animation: pulse 2.4s ease-out infinite; }
.dot.is-soon { background: var(--orange); }
.dot.is-off::after { animation-play-state: paused; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
.bar { position: relative; height: 34px; margin: 0 4px 16px; }
.bar__track { position: absolute; left: 0; right: 0; top: 8px; height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.bar__seg { position: absolute; top: 0; bottom: 0; background: var(--lime); border-radius: 4px; }
.bar__now { position: absolute; top: 2px; width: 2px; height: 20px; margin-left: -1px; background: var(--orange); border-radius: 1px; left: calc(var(--now, -10) * 100%); opacity: 0; transition: opacity .4s; }
.bar__now.is-on { opacity: 1; }
.bar__t { position: absolute; top: 22px; left: calc(var(--x) * 100%); transform: translateX(-50%); font: 500 11px/1 var(--sans); color: var(--grey); letter-spacing: .04em; }
.bar__t[style*="--x:0"] { transform: none; } .bar__t[style*="--x:1"] { transform: translateX(-100%); }
.desk__go { display: flex; gap: 10px; flex-wrap: wrap; }
.desk__go .btn { flex: 1 1 auto; }

/* ---------- Sections ---------- */
main > section:not(.hero) { position: relative; }
.zeiten { background: var(--mist); }
.leist { background: var(--paper); }
.ablauf { background: var(--mist); }
.praxis { background: var(--paper); }
.team { background: var(--mist); }
.termin { background: var(--paper); }
.kontakt { background: var(--mist); }

.h2 { font: 300 var(--h2s)/1.04 var(--sans); letter-spacing: -.012em; color: var(--ink); }
.h2 em { color: var(--leaf); font-weight: 360; }
.ln .ln-m { display: block; overflow: hidden; padding: 0 .16em .14em; margin: 0 -.16em -.14em; }
.lead { font: 400 var(--t-lead)/1.45 var(--sans); color: var(--grey); max-width: 34ch; }
.h-label { font: 600 var(--t-lab)/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 14px; }
.x__cap { font: 500 var(--t-cap)/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }

/* Zeiten */
.zeiten__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.zeiten__head .lead { margin-top: 18px; }
.zeiten__call { margin-top: 28px; }
.week { background: var(--paper); border-radius: 18px; padding: clamp(18px, 2.6svh, 30px) clamp(18px, 2.2vw, 34px); box-shadow: 0 24px 60px -40px rgba(44, 48, 50, .35); }
.week__scale { position: relative; height: 18px; margin-left: 64px; margin-right: 8px; }
.week__scale span { position: absolute; left: calc(var(--x) / 1.2 * 100%); transform: translateX(-50%); font: 500 11px/1 var(--sans); letter-spacing: .06em; color: var(--grey); }
.week__rows { display: grid; gap: 2px; }
.wrow { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 8px; padding: clamp(8px, 1.5svh, 14px) 8px clamp(8px, 1.5svh, 14px) 0; border-radius: 10px; text-align: left; transition: background-color .25s; }
.wrow b { grid-row: 1 / 3; font: 500 1.3rem/1 var(--sans); padding-left: 10px; }
.wrow__line { position: relative; height: 14px; border-radius: 7px; background: var(--mist); }
.wrow__line i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 420) / 720 * 100%); width: calc((var(--b) - var(--a)) / 720 * 100%); background: var(--lime); border-radius: 7px; transform-origin: left; }
.wrow__line .now { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--orange); border-radius: 1px; left: calc(var(--now) * 100%); }
.wrow__line .now::before { content: attr(data-t); position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font: 600 10.5px/1 var(--sans); color: var(--orange); white-space: nowrap; letter-spacing: .04em; }
.wrow__txt { font: 400 var(--t-small)/1.2 var(--sans); color: var(--grey); }
.wrow.is-today b { color: var(--leaf); }
.wrow.is-sel { background: var(--lime-soft); }
.week__info { margin-top: clamp(10px, 2svh, 18px); padding-top: clamp(10px, 2svh, 16px); border-top: 1px solid var(--line); font: 400 var(--t-body)/1.4 var(--sans); min-height: 2.8em; }
.week__info b { font-weight: 600; }

/* Leistungen */
.leist__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: clamp(18px, 3svh, 36px) clamp(28px, 5vw, 96px); align-items: start; }
.leist__head { grid-column: 1; }
.leist__list { grid-column: 1; grid-row: 2; display: grid; }
.leist__list button { display: flex; align-items: baseline; gap: 16px; padding: clamp(9px, 1.55svh, 15px) 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.1rem, 1.35vw, 1.3rem)/1.2 var(--sans); text-align: left; color: var(--grey); transition: color .25s, padding .35s var(--ease); }
.leist__list button i { font: 500 12px/1 var(--sans); font-style: normal; letter-spacing: .12em; color: var(--grey); width: 22px; }
.leist__list button:hover { color: var(--ink); padding-left: 6px; }
.leist__list button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.leist__list button[aria-selected="true"] i { color: var(--orange); }
.svc { grid-column: 2; grid-row: 1 / 3; align-self: stretch; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(560px, var(--scr-h)); background: var(--lime-soft); border-radius: 22px; padding: clamp(24px, 4svh, 52px) clamp(24px, 3.4vw, 56px); overflow: hidden; }
.svc::before { content: ''; position: absolute; right: -14%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); opacity: .9; }
.svc__in { position: relative; z-index: 1; }
.svc__no { position: absolute; right: clamp(24px, 3.4vw, 56px); top: clamp(22px, 4svh, 52px); font: 200 clamp(6rem, min(13vw, 24svh), 13rem)/.8 var(--sans); color: #fff; letter-spacing: -.04em; }
.svc__t { font: 300 var(--h3m)/1.1 var(--sans); margin-bottom: 18px; }
.svc__pts { display: grid; gap: 10px; }
.svc__pts li { position: relative; padding-left: 26px; font: 400 var(--t-lead)/1.35 var(--sans); max-width: 40ch; }
.svc__pts li::before { content: ''; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-bottom: 2px solid var(--leaf); border-radius: 0 0 12px 12px; }
.svc__note { position: relative; margin-top: clamp(16px, 3svh, 30px); font: 400 var(--t-small)/1.4 var(--sans); color: var(--leaf); }
.svc__go { position: relative; margin-top: 18px; align-self: flex-start; }

/* Ablauf */
.ablauf__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.ablauf__fig { position: relative; height: clamp(320px, var(--scr-h), 760px); border-radius: 0 0 0 120px; overflow: hidden; }
.ablauf__fig img { width: 100%; height: 100%; object-fit: cover; }
figcaption { position: absolute; left: 16px; bottom: 14px; font: 500 var(--t-cap)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: rgba(255, 255, 255, .92); padding: 8px 12px 6px; border-radius: 999px; }
.ablauf__fig figcaption { left: auto; right: 16px; }
.steps { margin-top: clamp(16px, 3svh, 32px); display: grid; border-top: 1px solid var(--line); }
.steps li { border-bottom: 1px solid var(--line); }
.steps button { width: 100%; display: flex; align-items: center; gap: 18px; padding: clamp(10px, 1.7svh, 16px) 0; text-align: left; }
.steps button i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--lime); font: 500 15px/1 var(--sans); font-style: normal; padding-top: 2px; transition: background-color .3s, color .3s; }
.steps button b { font: 400 var(--h3s)/1.15 var(--sans); }
.steps li.is-on button i { background: var(--lime); color: #fff; }
.steps p { overflow: hidden; padding-left: 56px; font: 400 var(--t-body)/1.45 var(--sans); color: var(--grey); max-height: 0; transition: max-height .45s var(--ease), padding .45s var(--ease); }
.steps li.is-on p { max-height: 6em; padding-bottom: clamp(10px, 1.7svh, 16px); }
.kasse { margin-top: clamp(16px, 3svh, 30px); padding: 16px 20px; border-left: 3px solid var(--orange); background: var(--paper); border-radius: 0 10px 10px 0; }
.kasse p + p { margin-top: 6px; font: 400 var(--t-body)/1.45 var(--sans); max-width: 52ch; }

/* Praxis-Rundgang */
.praxis__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 3svh, 32px); }
.tour { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.tour__stage { position: relative; height: clamp(300px, calc(var(--scr-h) - 7.5rem), 720px); border-radius: 22px; overflow: hidden; background: var(--mist); }
.tour__fig { position: absolute; inset: 0; opacity: 0; }
.tour__fig.is-on { opacity: 1; }
.tour__fig img { width: 100%; height: 100%; object-fit: cover; }
.tour__side { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 6px; }
.tour__no { font: 200 clamp(8rem, min(15vw, 32svh), 17rem)/.78 var(--sans); color: var(--lime); letter-spacing: -.05em; margin-bottom: clamp(12px, 3svh, 36px); display: block; min-width: 1ch; }
.tour__t { font: 300 var(--h3m)/1.1 var(--sans); }
.tour__s { margin-top: 8px; font: 400 var(--t-body)/1.4 var(--sans); color: var(--grey); min-height: 2.8em; }
.tour__ctl { display: flex; align-items: center; gap: 14px; margin-top: clamp(14px, 3svh, 30px); }
.rbtn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .25s, transform .2s; -webkit-tap-highlight-color: transparent; }
.rbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rbtn:hover { background: var(--lime-soft); }
.rbtn:active { transform: scale(.94); }
.tour__count { font: 500 14px/1 var(--sans); letter-spacing: .1em; min-width: 3.4em; text-align: center; }
.tour__dots { display: flex; gap: 6px; margin-top: 18px; }
.tour__dots button { width: 30px; height: 30px; display: grid; place-items: center; }
.tour__dots button::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--line); transition: background-color .3s, width .3s; }
.tour__dots button[aria-current="true"]::before { background: var(--lime); width: 26px; }

/* Team */
.team__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.doc { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.doc__pic { width: clamp(150px, min(17vw, 30svh), 280px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--lime); }
.doc__pic img { width: 100%; height: 100%; object-fit: cover; }
.doc__role { margin-top: 14px; font: 400 var(--t-body)/1.45 var(--sans); color: var(--grey); max-width: 34ch; }
.doc__q { grid-column: 1 / -1; margin-top: clamp(8px, 2svh, 20px); padding-top: clamp(16px, 3svh, 28px); border-top: 1px solid var(--line); font: 360 var(--quote)/1.35 var(--serif); font-style: italic; color: var(--ink); max-width: 46ch; }
.crew { background: var(--paper); border-radius: 22px; padding: clamp(18px, 3svh, 32px) clamp(18px, 2.4vw, 36px); }
.crew__cap { margin-bottom: clamp(10px, 2svh, 18px); }
.crew__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 1.6svh, 16px) 18px; }
.crew__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.crew__pic { grid-row: 1 / 3; width: clamp(40px, 6svh, 52px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--lime-soft); }
.crew__pic img { width: 100%; height: 100%; object-fit: cover; }
.crew__pic--i { display: grid; place-items: center; font: 300 1.25rem/1 var(--sans); color: var(--leaf); border: 1.5px solid var(--lime); background: var(--paper); padding-top: 3px; }
.crew__list b { font: 500 var(--t-body)/1.2 var(--sans); align-self: end; }
.crew__list small { font: 400 var(--t-small)/1.2 var(--sans); color: var(--grey); align-self: start; }
.crew__job { margin-top: clamp(14px, 2.6svh, 24px); padding-top: clamp(12px, 2svh, 18px); border-top: 1px solid var(--line); font: 400 var(--t-small)/1.45 var(--sans); color: var(--grey); }

/* Termin */
.termin__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: end; }
.termin__fig { position: relative; margin-top: clamp(18px, 3.4svh, 36px); height: clamp(200px, calc(var(--scr-h) - 9rem), 520px); border-radius: 22px 22px 22px 0; overflow: hidden; }
.termin__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.form { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: min(560px, calc(var(--scr-h) - 2rem)); gap: clamp(14px, 2.6svh, 28px); background: var(--mist); border-radius: 22px; padding: clamp(18px, 3.2svh, 36px) clamp(18px, 2.6vw, 40px); }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips__gap { width: 10px; }
.chip { min-height: 46px; padding: 2px 18px 0; border-radius: 999px; border: 1.5px solid #cfd5c4; background: var(--paper); font: 500 15.5px/1 var(--sans); transition: background-color .25s, border-color .25s, color .25s, opacity .25s; -webkit-tap-highlight-color: transparent; }
.chip:hover { border-color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #fff; }
.chip--pain[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }
.chips.is-warn .chip { animation: warn 1.2s ease-out; }
@keyframes warn { 0%, 40% { border-color: var(--orange); } 100% { border-color: #cfd5c4; } }
.chip[aria-disabled="true"] { opacity: .38; cursor: not-allowed; border-style: dashed; }
.form__hint { margin-top: 8px; font: 400 var(--t-small)/1.4 var(--sans); color: var(--grey); }
.form__hint.is-warn { color: var(--orange-d); }
.form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field input { width: 100%; min-height: 50px; padding: 4px 16px 0; border-radius: 12px; border: 1.5px solid #cfd5c4; background: var(--paper); font: 400 16px/1 var(--sans); color: var(--ink); transition: border-color .25s; }
.field input:focus { outline: none; border-color: var(--lime); }
.field.is-err input { border-color: var(--orange); }
.form__demo { margin-left: auto; font: 400 var(--t-small)/1.3 var(--sans); color: var(--grey); }
.form__prog { display: flex; align-items: center; gap: 14px; }
.form__bar { flex: 1; height: 3px; border-radius: 2px; background: #dfe4d4; overflow: hidden; }
.form__bar i { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(.3333); transition: transform .5s var(--ease); }
.fsteps { display: grid; align-items: center; }
.fstep { grid-area: 1 / 1; display: grid; align-content: start; gap: clamp(14px, 2.4svh, 22px); visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .35s; }
.fstep.is-on { visibility: visible; opacity: 1; transform: none; transition: opacity .35s .05s, transform .45s .05s var(--ease), visibility 0s; }
.fstep--pain { padding: 16px 18px; border-radius: 14px; background: var(--paper); border-left: 3px solid var(--orange); gap: 8px; }
.pain__t { font: 400 var(--h3s)/1.25 var(--sans); }
.pain__s { font: 400 var(--t-small)/1.45 var(--sans); color: var(--grey); }
.pain__go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.pain__go .btn { min-height: 44px; }
.form__nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.form__nav .btn[hidden] { display: none !important; }
.ticket { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; background: var(--paper); border-radius: 22px; padding: clamp(22px, 4svh, 48px) clamp(22px, 3vw, 48px); border: 1.5px solid var(--lime); }
.ticket[hidden] { display: none; }
.ticket__main { font: 300 var(--h3m)/1.2 var(--sans); max-width: 26ch; }
.ticket__sub { font: 400 var(--t-body)/1.45 var(--sans); color: var(--grey); max-width: 44ch; }

/* Kontakt */
.kontakt__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.kontakt__fig { position: relative; height: clamp(320px, var(--scr-h), 720px); border-radius: 22px; overflow: hidden; }
.kontakt__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.adr { font-style: normal; display: grid; gap: 2px; margin-top: 18px; font: 400 var(--t-lead)/1.4 var(--sans); }
.kanal { margin-top: clamp(14px, 2.6svh, 26px); display: grid; border-top: 1px solid var(--line); }
.kanal li { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: clamp(8px, 1.4svh, 12px) 0; border-bottom: 1px solid var(--line); }
.kanal a { font: 500 var(--t-body)/1.3 var(--sans); text-decoration: none; overflow-wrap: anywhere; }
.kanal a:hover { color: var(--leaf); }
.sos { margin-top: clamp(14px, 2.6svh, 26px); padding: 14px 18px; background: var(--paper); border-radius: 12px; border-left: 3px solid var(--orange); }
.sos p + p { margin-top: 4px; font: 400 var(--t-small)/1.45 var(--sans); }
.kontakt__go { display: flex; gap: 10px; flex-wrap: wrap; margin-top: clamp(14px, 2.6svh, 26px); }

/* Footer */
.foot { background: #2c3032; color: #d9dcd4; padding: clamp(40px, 8svh, 80px) 0 calc(28px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.foot__ball { width: 54px; height: 54px; }
.foot__word { margin-top: 16px; font: 250 clamp(1.8rem, 3vw, 2.6rem)/1 var(--sans); letter-spacing: .08em; color: #fff; }
.foot__lab { margin-top: 10px; font: 400 var(--t-small)/1.4 var(--sans); color: #a9aea3; }
.foot__col p:last-child { margin-top: 8px; font: 400 var(--t-small)/1.55 var(--sans); }
.foot .x__cap { color: var(--lime-2); }
.foot__base { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font: 400 13px/1.4 var(--sans); color: #a9aea3; }
.foot__base span { margin-right: auto; }
.foot__base a { text-decoration: none; }
.foot__base a:hover { color: #fff; }

/* Entwurf note */
.note-tab { position: fixed; left: 0; top: 50%; z-index: 40; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; padding: 14px 7px; background: var(--ink); color: #fff; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-radius: 0 6px 6px 0; opacity: .82; }
.note-tab:hover { opacity: 1; }
.note { position: fixed; left: 16px; top: 50%; transform: translateY(-50%); z-index: 60; width: min(360px, calc(100vw - 32px)); background: var(--paper); border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); display: grid; gap: 12px; }
.note[hidden] { display: none; }
.note p { font: 400 var(--t-small)/1.45 var(--sans); }
.note .btn { min-height: 44px; font-size: 13.5px; justify-self: start; }
.note__small { color: var(--grey); font-size: 12.5px !important; }
.note__x { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; display: grid; place-items: center; }
.note__x svg, .asst__x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* Assistent */
.asst-btn { position: fixed; right: 18px; bottom: 22px; z-index: 41; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .06em; box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); transform: translateY(8px); }
.asst-btn.is-on { opacity: 1; pointer-events: auto; transform: none; }
.asst-btn.is-on.is-end { opacity: 0; pointer-events: none; transform: translateY(8px); }
.asst-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--lime-2); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.asst-btn span { padding-top: 2px; }
.asst { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: min(420px, calc(100vw - 24px)); height: min(760px, calc(100svh - 36px)); background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55); display: flex; flex-direction: column; }
.asst[hidden] { display: none; }
.asst__bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 18px; border-bottom: 1px solid var(--line); }
.asst__x { width: 44px; height: 44px; display: grid; place-items: center; }
.asst iframe { flex: 1; width: 100%; border: 0; }

/* Phone dock */
.dock { display: none; }
@media (max-width: 899px) {
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(44, 48, 50, .96); transform: translateY(140%); transition: transform .45s var(--ease); }
  .dock.is-on { transform: none; }
  .dock__main { flex: 1; display: grid; place-items: center; min-height: 50px; border-radius: 999px; background: var(--orange); color: #fff; font: 600 15px/1 var(--sans); text-decoration: none; padding-top: 2px; }
  .dock__ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); }
  .dock__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  .asst-btn { display: none; }
  .dock__asst svg { stroke: var(--lime-2); }
  .asst { inset: 0; width: auto; height: auto; border-radius: 0; }
}

/* ---------- 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.8rem);
}
@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) + 18px); --h2s: clamp(1.95rem, 8.6vw, 2.4rem); } }
main > section:not(.hero) { padding-top: var(--scr-t); padding-bottom: var(--scr-b); }
@media (min-width: 900px) { main > section:not(.hero) { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; } }

/* ---------- Type system ---------- */
:root {
  --t-lab: 11.5px; --t-cap: 11px; --t-lead: 18px; --t-body: 15.5px; --t-small: 14px;
  --h3m: clamp(1.7rem, 2.2vw, 2.1rem);
  --h3s: clamp(1.25rem, min(1.6vw, 2.8svh), 1.5rem);
  --quote: clamp(1.25rem, min(1.55vw, 2.6svh), 1.6rem);
}
@media (max-width: 719px) { :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 16px; --t-body: 15px; --t-small: 13.5px; --h3m: 1.55rem; --h3s: 1.15rem; --quote: 1.12rem; } }
@media (max-height: 800px) and (min-width: 900px) { :root { --h2s: clamp(2rem, min(3vw, 5.4svh), 3.2rem); --t-lead: 16.5px; } }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1100px) and (min-width: 900px) {
  .crest__name { font-size: clamp(2.2rem, 4.2vw, 3rem); }
}
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; grid-template-columns: none; }
  .hero__media { order: 0; flex: none; height: clamp(180px, calc(100svh - 462px), 46svh); clip-path: ellipse(120% 100% at 50% 0%); margin-top: var(--hdr-h); }
  .hero__media picture, .hero__img { object-position: 50% 62%; }
  .hero__body { order: 1; flex: 1; justify-content: space-between; gap: 16px; padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom)); }
  .crest { align-items: center; text-align: center; margin-top: calc(-1 * clamp(34px, 5.5svh, 46px)); }
  .crest__ball { width: clamp(68px, 11svh, 92px); margin-bottom: clamp(8px, 1.6svh, 16px); }
  .crest__lab { font-size: 10.5px; margin: 0 0 8px .5em; }
  .crest__name { font-size: clamp(2rem, 9.6vw, 2.7rem); }
  .crest__line { margin-top: 8px; font-size: 1rem; }
  .desk { width: 100%; padding: 14px 16px 16px; border-radius: 16px; }
  .desk__state { font-size: 1.22rem; margin: 6px 0 10px; }
  .bar { margin-bottom: 12px; }
  .desk__go .btn { min-height: 48px; padding-inline: 16px; }

  .zeiten__grid, .leist__grid, .ablauf__grid, .team__grid, .termin__grid, .kontakt__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .zeiten__head .lead { margin-top: 10px; }
  .zeiten__call { display: none; }
  .week { padding: 14px 12px 14px; border-radius: 16px; }
  .week__scale { margin-left: 46px; margin-right: 4px; }
  .week__scale span:nth-child(even) { display: none; }
  .wrow { grid-template-columns: 40px minmax(0, 1fr); padding-block: 9px; }
  .wrow b { font-size: 1.1rem; padding-left: 6px; }

  .leist__list { grid-row: auto; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scroll-snap-type: x proximity; }
  .leist__list::-webkit-scrollbar { display: none; }
  .leist__list button { flex: none; border: 1.5px solid #cfd5c4; border-radius: 999px; padding: 11px 16px 9px; font-size: 15px; scroll-snap-align: start; }
  .leist__list button:hover { padding-left: 16px; }
  .leist__list button i { display: none; }
  .leist__list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
  .svc { grid-column: 1; grid-row: auto; min-height: 0; padding: 22px 20px 22px; border-radius: 18px; justify-content: flex-start; }
  .svc::before { width: 46%; right: -10%; top: -14%; }
  .svc__no { position: relative; z-index: 1; top: auto; bottom: auto; right: auto; display: block; font-size: 4.2rem; margin-bottom: 8px; color: #fff; text-align: right; margin-top: -8px; }
  .svc__t { margin-bottom: 12px; }
  .svc__go { width: 100%; }

  .ablauf__fig { display: none; }
  .kasse { padding: 12px 14px; }

  .tour { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tour__stage { height: clamp(190px, calc(100svh - 440px), 440px); }
  .tour__side { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; }
  .tour__no { grid-row: 1 / 3; font-size: 4.6rem; margin: 0; }
  .tour__t { align-self: end; }
  .tour__s { align-self: start; min-height: 0; margin-top: 4px; }
  .tour__ctl { grid-column: 1 / -1; margin-top: 10px; }
  .tour__dots { display: none; }

  .doc { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
  .doc__pic { width: clamp(96px, 28vw, 128px); }
  .doc__role { margin-top: 8px; font-size: 13.5px; }
  .doc__q { margin-top: 4px; padding-top: 14px; }
  .crew { padding: 16px 14px; }
  .crew__list { gap: 10px 10px; }
  .crew__pic { width: 38px; }

  .termin__fig { display: none; }
  .form { padding: 18px 16px; gap: 14px; min-height: 0; }
  .form__fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chip { min-height: 40px; padding-inline: 13px; font-size: 14.5px; }
  .form__demo { flex-basis: 100%; margin-left: 0; }
  .form__nav .btn { flex: 1; }

  .kontakt__grid { gap: 0; }
  .kontakt__fig { order: 2; float: none; width: 96px; height: 96px; border-radius: 50%; position: absolute; right: var(--gutter); top: calc(var(--scr-t) + 64px); }
  .kontakt__fig figcaption { display: none; }
  .kontakt__txt .h2 { padding-right: 104px; }
  .adr { padding-right: 104px; margin-top: 12px; }
  .kanal li { padding: 7px 0; }
  .sos { padding: 10px 14px; }
  .kanal li { grid-template-columns: 74px minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .kontakt { min-height: 100vh; min-height: 100svh; }
  .note-tab { display: none; }
}
@media (max-width: 899px) and (max-height: 780px) {
  .wrow { padding-block: 6px; }
  .week__info { margin-top: 8px; padding-top: 8px; }
  .steps button { padding: 7px 0; gap: 14px; }
  .steps button i { width: 32px; height: 32px; font-size: 14px; }
  .steps { margin-top: 12px; }
  .kasse { margin-top: 12px; padding: 10px 12px; }
  .crew__job { display: none; }
  .crew__list { gap: 7px 10px; }
  .crew__pic { width: 34px; }
  .doc__q { font-size: 1.04rem; padding-top: 10px; }
  .doc__pic { width: 92px; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .crest__ball { width: 62px; }
}
@media (max-width: 899px) and (max-height: 620px) {
  .desk .bar { display: none; }
}
@media (max-width: 380px) {
  .desk__go .btn { font-size: 14px; padding-inline: 12px; }
}

/* ---------- Motion states ---------- */
.js .crest__disc, .js .crest__lab, .js .crest__line, .js .desk, .js .hero__media { opacity: 0; }
.no-anim .crest__disc, .no-anim .crest__lab, .no-anim .crest__line, .no-anim .desk, .no-anim .hero__media,
.is-static .crest__disc, .is-static .crest__lab, .is-static .crest__line, .is-static .desk, .is-static .hero__media { opacity: 1 !important; transform: none !important; }
.no-anim .crest__draw, .is-static .crest__draw { stroke-dashoffset: 0 !important; }
.no-anim .crest__name .ch { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .dot.is-open::after { animation: none; } }
