/* Physiotherapie Aa — 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 { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }
[hidden] { display: none !important; }

:root {
  --hdr-h: 74px;
  --gut: clamp(18px, 5vw, 84px);
  --t-lab: 12px; --t-cap: 11.5px; --t-lead: 18px; --t-body: 16px; --t-small: 14.5px;
  --h2s: clamp(2.6rem, min(4.3vw, 7.6svh), 5rem);
  --h3m: clamp(1.6rem, min(2.1vw, 3.8svh), 2.15rem);
  --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));
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 999px) { :root { --hdr-h: 58px; } }
@media (max-width: 719px) {
  :root { --t-lab: 11px; --t-cap: 10.5px; --t-lead: 15.5px; --t-body: 15px; --t-small: 13.5px; --h3m: 1.5rem;
    --h2s: clamp(2rem, 8.6vw, 2.5rem); --scr-t: 18px; }
}

/* ---------- type system: display caps (their logo's light grotesque) + text ---------- */
.titel { font: 500 var(--h2s)/.98 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.titel .z { display: block; }
.titel em { font-style: normal; color: var(--gruen-d); }
.is-dark .titel { color: #fff; }
.is-dark .titel em { color: var(--gruen-l); }
.untertitel { font: 500 var(--h3m)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.marke { display: block; font: 700 var(--t-lab)/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gruen-d); }
.is-dark .marke { color: var(--gruen-l); }
.vor { font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); }
.is-dark .vor { color: rgba(255, 255, 255, .82); }
.klein { font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.is-dark .klein { color: rgba(255, 255, 255, .72); }
b, strong { font-weight: 700; }

/* ---------- buttons ---------- */
.knopf { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 999px; font: 600 15px/1.1 var(--sans); letter-spacing: .01em; 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; }
.knopf::after { content: ''; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; transition: opacity .25s ease; }
.knopf:hover::after { opacity: .12; }
.knopf:active { transform: scale(.97); }
.knopf svg { width: 19px; height: 19px; flex: none; }
.knopf--gruen { background: var(--gruen); color: #fff; border-color: var(--gruen); }
.knopf--gruen::after { background: #fff; }
.knopf--weiss { background: #fff; color: var(--ink); border-color: #fff; }
.knopf--weiss::after { background: var(--ink); }
.knopf--linie { border-color: currentColor; color: var(--ink); }
.is-dark .knopf--linie { color: #fff; }
.knopf--gross { min-height: 56px; padding: 0 28px; font-size: 16px; }
.knopf--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }

/* ---------- logo ---------- */
.lg { width: 100%; height: auto; overflow: visible; }
.lg__disc { fill: var(--gruen); }
.lg__dark { fill: #424546; }
.lg__white { fill: #fff; }
.lg__claimg { fill: var(--gruen); }
.lg--mono .lg__disc, .lg--mono .lg__claimg { fill: currentColor; }

/* ---------- header ---------- */
.leiste { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: var(--hdr-h); display: flex; align-items: center; gap: 18px;
  padding: 0 var(--gut); background: rgba(255, 255, 255, 0); border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), border-color .3s, background .3s; }
.leiste.is-scrolled { background: #fff; border-bottom-color: var(--line); }
.leiste.is-hidden { transform: translateY(-101%); }
.leiste__logo { display: block; width: 128px; flex: none; transition: opacity .35s, visibility .35s; }
.leiste.has-crest .leiste__logo { opacity: 0; visibility: hidden; }
.leiste__nav { display: flex; gap: 2px; margin-left: auto; }
.leiste__nav a { position: relative; padding: 10px 12px; font: 600 14.5px/1 var(--sans); text-decoration: none; color: var(--ink); }
.leiste__nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gruen); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.leiste__nav a:hover::after { transform: scaleX(1); }
.leiste__ruf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; font: 700 15px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.leiste__ruf svg { width: 18px; height: 18px; }
.leiste__termin { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (max-width: 999px) {
  .leiste { gap: 10px; }
  .leiste__nav, .leiste__termin { display: none; }
  .leiste__logo { width: 104px; }
  .leiste__ruf { margin-left: auto; padding: 0 4px 0 10px; font-size: 15px; }
}

/* ---------- screens layer ---------- */
main > section:not(.kopf) { padding-top: var(--scr-t); padding-bottom: var(--scr-b); overflow-anchor: none; }
@media (min-width: 900px) { main > section:not(.kopf) { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; } }
@media (max-width: 899px) { :root { --scr-b: 22px; } }
@media (max-width: 719px) { main > section { scroll-margin-top: var(--hdr-h); } }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- hero: the scene ---------- */
.kopf { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; overflow-anchor: none; background: var(--paper-2); isolation: isolate; }
.buehne { position: absolute; inset: 0; overflow: hidden; z-index: 0; contain: strict; }
.szene { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.szene__bild { position: absolute; inset: 0; width: 100%; height: 100%; }
.szene__bild img { width: 100%; height: 100%; object-fit: fill; }
/* a soft veil keeps the text readable on the sunlit wall */
.kopf::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 246, 240, .72) 0%, rgba(250, 246, 240, .45) 34%, rgba(250, 246, 240, 0) 54%); }
.kopf__text, .kopf__cta { position: relative; z-index: 3; }
.kopf__h1 { margin-top: clamp(18px, 3svh, 30px); font: 500 clamp(2.3rem, min(3.9vw, 7svh), 4.3rem)/.98 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.kopf__h1 .z { display: block; }
.kopf__h1 em { font-style: normal; color: var(--gruen-d); }
.kopf__line { margin-top: 18px; font: 400 var(--t-lead)/1.5 var(--sans); color: var(--ink-2); max-width: 34ch; }
.kopf__line b { display: block; font-weight: 600; color: var(--ink); }
.kopf__status { margin-top: 10px; font: 600 var(--t-small)/1.4 var(--sans); color: var(--gruen-d); }
.kopf__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.kopf__ruf { background: rgba(255, 255, 255, .7); }
.kopf__ruf svg { width: 20px; height: 20px; }
.lg--kopf { width: min(100%, 420px, calc((100svh - var(--hdr-h) - 470px) * 1.87)); }

@media (min-width: 1000px) {
  .kopf { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 2svh) 0 8svh; }
  .kopf__text, .kopf__cta { margin-left: var(--gut); width: min(38vw, 520px); }
  .kopf__cta { margin-top: clamp(22px, 4svh, 40px); }
}
@media (max-width: 999px) {
  .kopf { display: flex; flex-direction: column; padding: calc(var(--hdr-h) + 8px) 0 16px; }
  .kopf::before { background: linear-gradient(180deg, rgba(250, 246, 240, .78) 0%, rgba(250, 246, 240, .5) 26%, rgba(250, 246, 240, 0) 40%, rgba(250, 246, 240, 0) 76%, rgba(250, 246, 240, .55) 100%); }
  .kopf__text { padding: 0 18px; }
  .lg--kopf { width: clamp(132px, min(44vw, calc((100svh - 560px) * 1.1)), 260px); }
  .kopf__h1 { margin-top: 10px; font-size: clamp(1.55rem, 7.4vw, 2.2rem); }
  .kopf__line { margin-top: 6px; font-size: 14px; }
  .kopf__line b { display: inline; }
  .kopf__cta { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 0 16px; }
  .kopf__cta .knopf--gruen { min-width: 0; }
  .kopf__ruf { width: 56px; padding: 0; }
  .kopf__ruf span { display: none; }
}
@media (min-width: 720px) and (max-width: 999px) { .kopf__text, .kopf__cta { padding: 0 var(--gut); } .kopf__cta { max-width: 560px; } }

/* ---------- the slip (Zuweisung) in the scene: 840 × 592 element px, placed by JS (CSS 3D, the render's camera) ---------- */
.lage { position: absolute; left: 0; top: 0; width: 840px; height: 592px; transform-origin: 0 0; transform-style: preserve-3d; z-index: 2; }
.lage__schatten { position: absolute; inset: 0; border-radius: 6px; background: rgba(40, 30, 20, .55); filter: blur(var(--sb, 4px)); opacity: var(--so, .18);
  transform: translate3d(var(--sx, 0px), var(--sy, 0px), -1px); transition: filter .9s var(--ease), opacity .9s, transform .9s var(--ease); pointer-events: none; }
.schein { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: 50% 50%; }
.schein__seite { position: absolute; inset: 0; border-radius: 5px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(118deg, #f7f9f4 0%, var(--schein) 46%, #e4eae0 100%); color: var(--ink); isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(60, 70, 60, .1), inset 0 -40px 60px -40px rgba(60, 50, 30, .12); }
.schein__seite::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 70%, rgba(40, 30, 10, .05)); }
.schein__hinten { transform: rotateX(180deg); visibility: hidden; }
.schein.is-back .schein__hinten { visibility: visible; }
.schein.is-back .schein__vorne { visibility: hidden; }
.schein__band { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 96px; padding: 0; background: var(--gruen); color: #fff; mix-blend-mode: multiply; }
.schein__art { margin-left: 46px; font: 600 46px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.schein__sub { margin-right: 46px; font: 500 22px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
.schein__stempel { position: absolute; right: 40px; top: 30px; width: 150px; height: 150px; rotate: -11deg; z-index: 4; mix-blend-mode: multiply; opacity: .9; pointer-events: none;
  -webkit-mask: radial-gradient(circle at 30% 30%, #000 60%, rgba(0, 0, 0, .55) 100%); mask: radial-gradient(circle at 30% 30%, #000 60%, rgba(0, 0, 0, .55) 100%); }
.schein__stempel .lg { width: 100%; height: 100%; }
.schein__zeilen { position: absolute; left: 46px; right: 46px; top: 110px; }
.schein__zeile { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: end; gap: 10px; width: 100%; min-height: 108px; padding: 0;
  border: 0; border-bottom: 2px dotted rgba(47, 50, 51, .35); background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.schein__zeile:last-child { border-bottom: 0; }
.schein__k { margin-bottom: 18px; font: 600 23px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.schein__v { min-height: 1.3em; margin-bottom: 8px; font: 500 42px/1.3 var(--display); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schein__v.is-leer { color: rgba(47, 50, 51, .42); font-weight: 400; }
.schein__v.is-new { animation: tinte .6s var(--ease); }
@keyframes tinte { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.schein__zeile:hover .schein__v.is-leer { color: var(--gruen-d); }
.schein__tage { display: flex; gap: 6px; }
.schein__tag { display: inline-flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 500 30px/1 var(--display); color: var(--ink); -webkit-tap-highlight-color: transparent; }
.schein__tag i { position: relative; width: 38px; height: 38px; border: 3px solid var(--ink); border-radius: 4px; flex: none; }
.schein__tag i::after { content: ''; position: absolute; left: 4px; top: -10px; width: 44px; height: 44px; opacity: 0; transform: scale(.4) rotate(-12deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M5 24c5 3 8 8 10 13 5-13 13-24 24-33' fill='none' stroke='%2352795c' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: opacity .2s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.schein__tag[aria-pressed="true"] i::after { opacity: 1; transform: none; }
.schein__tag:hover i { border-color: var(--gruen-d); }
.schein__fuss { position: absolute; left: 46px; right: 46px; bottom: 26px; font: 600 23px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.schein__komplett { position: absolute; right: 52px; top: 150px; padding: 12px 22px; border: 4px solid var(--ok); border-radius: 6px; color: #1f7a45;
  font: 700 27px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; rotate: -8deg; opacity: 0; scale: 1.6; pointer-events: none; z-index: 6; }
.schein.is-done .schein__komplett, .zettel.is-done .schein__komplett { opacity: 1; scale: 1; transition: opacity .2s, scale .45s cubic-bezier(.3, 1.6, .5, 1); }
/* back */
.schein__rueck { position: absolute; left: 46px; right: 46px; top: 128px; }
.schein__rt { font: 500 44px/1.05 var(--display); }
.schein__rs { margin-top: 10px; font: 400 26px/1.35 var(--sans); color: var(--ink-2); }
.schein__docs { margin-top: 20px; }
.schein__docs li { display: flex; align-items: center; gap: 22px; padding: 15px 0; border-bottom: 2px dotted rgba(47, 50, 51, .3); font: 500 35px/1.15 var(--display); }
.schein__docs li:last-child { border-bottom: 0; }
.schein__docs i { width: 46px; height: 46px; border-radius: 50%; background: var(--ok); flex: none; display: grid; place-items: center; }
.schein__docs i svg { width: 30px; height: 30px; color: #fff; }
.schein__note { position: absolute; left: 46px; right: 46px; bottom: 30px; font: 500 25px/1.35 var(--sans); color: var(--gruen-d); }
/* the turn button rides on the slip's corner */
.lage__dreh { position: absolute; right: -34px; bottom: -46px; z-index: 7; display: inline-flex; align-items: center; gap: 14px; height: 84px; padding: 0; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font: 600 30px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transform: translateZ(4px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); -webkit-tap-highlight-color: transparent; }
.lage__dreh svg { width: 38px; height: 38px; margin-left: 28px; transition: transform .5s var(--ease); }
.lage__dreh span { margin-right: 34px; }
.lage__dreh:hover svg { transform: rotate(-150deg); }
.lage.is-rest .lage__dreh { opacity: 0; pointer-events: none; }
.lage__dreh { transition: opacity .5s .2s; }

/* ---------- Termin anfragen (painkiller) ---------- */
.termin { background: var(--paper-2); }
.termin__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.termin__in > * { min-width: 0; }
.termin__head .titel { margin-top: 12px; }
.termin__head .vor { margin-top: 14px; max-width: 42ch; }
.zettel-box { margin-top: clamp(22px, 4svh, 40px); width: min(100%, 440px, calc(var(--scr-h) * .6)); }
.zettel-wrap { position: relative; width: 100%; aspect-ratio: 840 / 592; rotate: -1.6deg; }
.zettel { position: absolute; left: 0; top: 0; width: 840px; height: 592px; transform-origin: 0 0; transform: scale(var(--k, .5));
  box-shadow: 0 2px 3px rgba(0, 0, 0, .12), 0 30px 50px -28px rgba(0, 0, 0, .45); border-radius: 5px; }
.zettel .schein__seite { position: absolute; }
.zettel .schein__zeile { cursor: default; }
.zettel .schein__tag { cursor: default; }
.tel-zeile { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; max-width: 46ch; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.tel-zeile svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--gruen-d); }
.tel-zeile b { color: var(--ink); font-weight: 600; }
.tel-zeile .jetzt { color: #1f7a45; font-weight: 600; }
.form { background: #fff; border-radius: 8px; padding: clamp(18px, 2.6vw, 34px); box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px rgba(0, 0, 0, .3); }
.form__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
.form__tab { position: relative; padding: 0 0 10px; border: 0; background: none; text-align: left; font: 700 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.form__tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--line); }
.form__tab.is-done::after { background: var(--ink); }
.form__tab.is-on { color: var(--ink); }
.form__tab.is-on::after { background: var(--gruen); }
.form__tab:disabled { cursor: default; }
.form__p { display: none; }
.form__p.is-on { display: block; animation: p-in .45s var(--ease); }
@keyframes p-in { from { opacity: 0; } to { opacity: 1; } }
.form__q { font: 500 var(--h3m)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 14px; }
.form__k { display: block; margin: 16px 0 8px; font: 700 var(--t-cap)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.form__k:first-of-type { margin-top: 0; }
.wahlen { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: 600 14.5px/1.1 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.wahl:hover { border-color: var(--gruen-d); }
.wahl[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.wahl.is-ok { animation: wahl-ok .42s var(--ease); }
@keyframes wahl-ok { 40% { transform: scale(.94); } }
.wahlen--tage .wahl { min-width: 58px; justify-content: center; padding: 0 12px; }
.wahl small { font-size: 12.5px; font-weight: 500; opacity: .72; }
.form__hint { margin-top: 12px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.form__hint a { font-weight: 600; color: var(--gruen-d); text-underline-offset: 3px; }
.fld { display: block; margin-top: 14px; }
.fld span { display: block; margin-bottom: 7px; font: 700 var(--t-cap)/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fld input, .fld textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink);
  font: 400 16px/1.4 var(--sans); -webkit-appearance: none; appearance: none; resize: none; }
.fld textarea { height: 76px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gruen); }
.fld.is-warn input { border-color: #b3501a; }
.form__warn { display: none; margin-top: 10px; font: 600 var(--t-small)/1.4 var(--sans); color: #b3501a; }
.form__warn.is-on { display: block; }
.form__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.form__nav .knopf--gruen { margin-left: auto; min-width: 150px; }
.form__done { display: none; }
.form.is-done .form__done { display: block; animation: p-in .5s var(--ease); }
.form.is-done .form__tabs, .form.is-done .form__p, .form.is-done .form__nav { display: none; }
.form__ok { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.form__ok svg { width: 28px; height: 28px; }
.form__done p { margin-top: 12px; }
.form__sum { margin-top: 16px; display: grid; gap: 6px; font-size: var(--t-small); }
.form__sum div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.form__sum dt { font-weight: 700; color: var(--ink-2); }
.form__sum dd { margin: 0; }
.form__done .knopf { margin-top: 18px; }
@media (min-width: 1000px) { .termin__in { grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; } }
@media (max-width: 999px) { .zettel-box { width: 100%; max-width: 430px; margin-top: 18px; } }
@media (max-width: 719px) {
  .termin__head .vor { display: none; }
  .zettel-box { display: none; }
  .termin.is-done .zettel-box { display: block; margin-top: 14px; max-width: 360px; }
  .tel-zeile { margin-top: 10px; font-size: 12.5px; }
  .termin.is-done .tel-zeile { display: none; }
  .form__sum { display: none; }
  .termin__in { gap: 12px; }
  .form { padding: 14px; margin: 0 -4px; }
  .form__tabs { margin-bottom: 12px; }
  .form__p[data-i="0"] .form__hint { display: none; }
  .form__p[data-i="0"] .wahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__p[data-i="0"] .wahl { padding: 0 10px; line-height: 1.15; justify-content: center; }
  .form__k { margin: 10px 0 7px; }
  .form__hint { margin-top: 10px; font-size: 13px; }
  .form__tab { font-size: 10.5px; letter-spacing: .08em; }
  .form__q { font-size: 1.35rem; margin-bottom: 8px; }
  .wahl { min-height: 44px; padding: 0 13px; font-size: 14px; }
  .wahlen--tage .wahl { min-width: 0; flex: 1 1 0; padding: 0 6px; }
  .wahlen--zeit .wahl small { display: none; }
  .fld { margin-top: 10px; }
  .fld textarea { height: 62px; }
  .form__nav { margin-top: 14px; }
}
@media (max-width: 379px) { .form__tab { font-size: 9.8px; letter-spacing: .04em; } }

/* ---------- Angebot ---------- */
.angebot__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.angebot__in > * { min-width: 0; }
.angebot__bild { position: relative; overflow: hidden; border-radius: 8px; background: var(--paper-2); aspect-ratio: 4 / 3; }
.angebot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.angebot__img.is-on { opacity: 1; }
.angebot__head .titel { margin-top: 12px; }
.angebot__head .vor { margin-top: 12px; max-width: 42ch; }
.reiter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.reiter .wahl { flex: none; }
.tafel { margin-top: 20px; }
.tafel__p { display: none; }
.tafel__p.is-on { display: block; animation: p-in .45s var(--ease); }
.tafel__p.is-again { animation: tinte .5s var(--ease); }
.punkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; border-top: 1px solid var(--line); }
.punkte li { position: relative; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--line); font: 500 15px/1.35 var(--sans); }
.punkte li::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }
.tafel__lead { font: 400 17px/1.5 var(--sans); color: var(--ink-2); max-width: 44ch; }
.tafel__fact { display: flex; gap: 10px; align-items: baseline; margin-top: 14px; font: 600 var(--t-small)/1.45 var(--sans); max-width: 52ch; }
.tafel__fact::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); flex: none; translate: 0 -1px; }
.tafel__go { margin-top: 20px; }
@media (min-width: 1000px) {
  .angebot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
  .angebot__bild { aspect-ratio: auto; height: clamp(420px, var(--scr-h), 760px); }
}
@media (max-width: 999px) { .angebot__col { display: contents; } .angebot__bild { order: 2; } .angebot__body { order: 3; } .angebot__head { order: 1; } }
@media (max-width: 719px) {
  .angebot__in { gap: 14px; }
  .angebot__head .vor { display: none; }
  .angebot__bild { aspect-ratio: auto; height: clamp(120px, 21svh, 240px); margin: 0 -4px; }
  .reiter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; }
  .reiter::-webkit-scrollbar { display: none; }
  .tafel { margin-top: 12px; }
  .punkte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .punkte li { padding: 7px 0 7px 14px; font-size: 13px; }
  .punkte li::before { top: 13px; width: 6px; height: 6px; }
  .tafel__lead { font-size: 14.5px; }
  .tafel__fact { margin-top: 10px; font-size: 13px; }
  .tafel__go { margin-top: 14px; }
}

/* ---------- Wahlpraxis: their six steps on the logo disc ---------- */
.wahlpraxis { background: var(--gruen-t); color: #fff; }
.wp__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.wp__in > * { min-width: 0; }
.wp__head .titel { margin-top: 12px; }
.wp__head .vor { margin-top: 14px; max-width: 44ch; }
.schritte { margin-top: 22px; display: grid; border-top: 1px solid rgba(255, 255, 255, .18); }
.schritt { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff;
  text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.schritt__n { font: 600 15px/1.35 var(--display); color: var(--gruen-l); }
.schritt__t { font: 600 16px/1.35 var(--sans); }
.schritt:not(.is-on) .schritt__t { color: rgba(255, 255, 255, .72); }
.schritt:hover .schritt__t { color: #fff; }
.schritt__d { grid-column: 2; display: none; margin-top: 5px; font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255, 255, 255, .86); }
.schritt.is-on .schritt__d { display: block; animation: p-in .45s var(--ease); }
.wp__oegk { margin-top: 16px; font: 400 var(--t-small)/1.5 var(--sans); color: rgba(255, 255, 255, .8); max-width: 60ch; }
.wp__oegk b { color: #fff; }
.wp__src { display: inline-block; margin-top: 8px; font: 600 12.5px/1.4 var(--sans); color: rgba(255, 255, 255, .8); text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.wp__src:hover { color: #fff; }
.wp__mob { display: none; }
.scheibe { position: relative; justify-self: center; width: min(100%, var(--scr-h), 560px); aspect-ratio: 1; }
.scheibe svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scheibe__seg { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 34; transition: stroke .5s; cursor: pointer; }
.scheibe__seg.is-past { stroke: var(--gruen); }
.scheibe__seg.is-on { stroke: var(--gruen-l); }
.scheibe__disc { fill: var(--gruen); }
.scheibe__mitte { position: absolute; inset: 22%; display: grid; place-content: center; text-align: center; border-radius: 50%; }
.scheibe__nr { font: 600 15px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.scheibe__wort { margin-top: 12px; font: 500 clamp(1.6rem, min(3.2vw, 5.6svh), 3rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.scheibe__zahl { font: 500 clamp(3rem, min(7vw, 12svh), 6.4rem)/.9 var(--display); }
.scheibe__klein { margin: 10px auto 0; max-width: 16ch; font: 500 13px/1.35 var(--sans); letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.scheibe__mitte.is-swap { animation: tinte .5s var(--ease); }
@media (min-width: 1000px) {
  .wp__in { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
}
@media (max-width: 999px) { .wp__col { display: contents; } .scheibe { order: 2; max-width: 420px; } .wp__head { order: 1; } .wp__body { order: 3; } }
@media (max-width: 719px) {
  .wp__head .vor { display: none; }
  .wp__in { gap: 12px; }
  .scheibe { width: min(74vw, 27svh); }
  .scheibe__wort { font-size: 1.2rem; margin-top: 8px; }
  .scheibe__nr { font-size: 11px; }
  .scheibe__zahl { font-size: 2.6rem; }
  .scheibe__klein { font-size: 10.5px; margin-top: 6px; }
  .schritte { display: none; }
  .wp__mob { display: block; }
  .wp__tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .wp__tabs button { min-height: 44px; padding: 0; border: 0; border-bottom: 3px solid rgba(255, 255, 255, .22); background: none; color: rgba(255, 255, 255, .75); font: 600 15px/1 var(--display); cursor: pointer; }
  .wp__tabs button.is-on { color: #fff; border-bottom-color: var(--gruen-l); }
  .wp__tabs button.is-past { border-bottom-color: rgba(255, 255, 255, .7); }
  .wp__txt { margin-top: 10px; min-height: 6.4em; font: 400 14px/1.5 var(--sans); color: rgba(255, 255, 255, .9); }
  .wp__oegk { margin-top: 6px; font-size: 12.5px; }
}

/* ---------- Ihr Ersttermin + team ---------- */
.erst__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.erst__in > * { min-width: 0; }
.erst__head .titel { margin-top: 12px; }
.items { margin-top: 22px; display: grid; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.item__ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--gruen-d); }
.item__ic svg { width: 28px; height: 28px; }
.item__t { font: 600 17px/1.3 var(--sans); }
.item__d { margin-top: 2px; font: 400 var(--t-small)/1.45 var(--sans); color: var(--ink-2); }
.team { background: var(--paper-2); border-radius: 10px; padding: clamp(18px, 2.4vw, 32px); }
.team__t { font: 700 var(--t-lab)/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gruen-d); }
.team__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
.mensch { min-width: 0; }
.mensch img { width: 100%; max-width: 132px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #e8e4dc; }
.mensch b { display: block; margin-top: 10px; font: 600 15px/1.25 var(--sans); }
.mensch span { display: block; margin-top: 3px; font: 400 13px/1.35 var(--sans); color: var(--ink-2); }
.erst__go { margin-top: 22px; }
@media (min-width: 1000px) { .erst__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; } }
@media (max-width: 719px) {
  .erst__in { gap: 14px; }
  .items { margin-top: 12px; }
  .item { padding: 9px 0; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .item__ic { width: 40px; height: 40px; }
  .item__ic svg { width: 22px; height: 22px; }
  .item__t { font-size: 15px; }
  .item__d { font-size: 12.5px; }
  .erst__go { display: none; }
  .team { padding: 14px 0 12px 14px; margin: 0 -4px; }
  .team__grid { display: flex; overflow-x: auto; gap: 12px; margin-top: 10px; padding-right: 14px; scrollbar-width: none; }
  .team__grid::-webkit-scrollbar { display: none; }
  .mensch { flex: 0 0 108px; }
  .mensch img { width: 76px; }
  .mensch b { font-size: 13px; margin-top: 6px; }
  .mensch span { font-size: 11.5px; }
}

/* ---------- Kontakt ---------- */
.kontakt { background: var(--grau); color: #fff; }
.kontakt__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.kontakt__in > * { min-width: 0; }
.kontakt__head .titel { margin-top: 12px; }
.kontakt__look { margin-top: 14px; max-width: 42ch; }
.kontakt__foto { position: relative; overflow: hidden; border-radius: 8px; background: #2c2e2f; }
.kontakt__foto img { width: 100%; height: 100%; object-fit: cover; }
.kv { margin-top: 22px; display: grid; border-top: 1px solid rgba(255, 255, 255, .16); }
.kv div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.kv dt { font: 700 var(--t-cap)/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); padding-top: 2px; }
.kv dd { margin: 0; font: 500 15.5px/1.45 var(--sans); }
.kv dd small { display: block; font-size: 13.5px; font-weight: 400; color: rgba(255, 255, 255, .72); }
.kv .jetzt { color: #8fe0b0; }
.kontakt__go { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (min-width: 1000px) {
  .kontakt__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 90px); align-items: center; }
  .kontakt__foto { height: clamp(380px, calc(var(--scr-h) * .88), 680px); }
}
@media (max-width: 999px) { .kontakt__col { display: contents; } .kontakt__foto { order: 2; aspect-ratio: 16 / 8; } .kontakt__head { order: 1; } .kontakt__body { order: 3; } }
@media (max-width: 719px) {
  .kontakt__in { gap: 14px; }
  .kontakt__look { display: none; }
  .kontakt__foto { aspect-ratio: auto; height: clamp(84px, 12.5svh, 170px); margin: 0 -4px; }
  .kv { margin-top: 0; }
  .kv div { grid-template-columns: 9.6em minmax(0, 1fr); gap: 8px; padding: 6px 0; }
  .kv dt { font-size: 10px; letter-spacing: .1em; }
  .kv dd { font-size: 14px; }
  .kv dd small { font-size: 12.5px; }
  .kontakt__go { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .kontakt__go .knopf { padding: 0 8px; min-height: 50px; font-size: 13.5px; gap: .4em; }
  .kontakt__go .knopf svg { width: 17px; height: 17px; }
}

/* ---------- footer ---------- */
.fuss { background: var(--grau); color: #fff; padding: clamp(36px, 6svh, 70px) var(--gut) 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.fuss__in { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.fuss__in > * { min-width: 0; }
.fuss .lg { width: 168px; }
.fuss h3 { font: 700 var(--t-cap)/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.fuss p { margin-top: 8px; font-size: var(--t-small); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.fuss__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.fuss__legal a { display: inline-flex; align-items: center; min-height: 40px; font: 600 14px/1 var(--sans); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; color: #fff; }
.fuss__legal a:hover { text-decoration-color: #fff; }
@media (min-width: 900px) { .fuss__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); } }
@media (max-width: 899px) { .fuss { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* ---------- draft note, dock ---------- */
.notiz__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(--grau); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; opacity: .9; }
.notiz__tab:hover { opacity: 1; }
.notiz { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(47, 50, 51, .5); }
.notiz__panel { position: relative; width: min(440px, 100%); background: #fff; color: var(--ink); border-radius: 10px; padding: 26px 24px 22px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5); }
.notiz__t { font: 400 15px/1.55 var(--sans); padding-right: 30px; }
.notiz__vc { margin-top: 16px; }
.notiz__s { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.notiz__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.notiz__x::before, .notiz__x::after { content: ''; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--ink); rotate: 45deg; }
.notiz__x::after { rotate: -45deg; }
.notiz__x:hover { background: var(--paper-2); }
.griff { display: none; }
@media (max-width: 899px) {
  .notiz__tab { display: none; }
  .griff { position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) 54px auto; gap: 8px; align-items: center;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: #fff; 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: 999px; color: var(--ink); }
  .griff__ruf svg { width: 21px; height: 21px; }
  .griff__notiz { height: 50px; padding: 0 10px; border: 0; background: none; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
}

/* ---------- intro (JS adds .is-in to the hero; .no-anim / .is-static show everything) ---------- */
.js .lg--kopf .lg__disc { transform: scale(.7); opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.js .lg--kopf .lg__a { transform: translateY(60px); opacity: 0; transform-box: fill-box; }
.js .lg--kopf .lg__w, .js .lg--kopf .lg__c { opacity: 0; }
.js .kopf__cta { opacity: 0; transform: translateY(14px); }
.js .lage { opacity: 0; }
.kopf.is-in .lg--kopf .lg__disc { transform: none; opacity: 1; transition: transform 1.1s var(--ease) .1s, opacity .5s ease .1s; }
.kopf.is-in .lg--kopf .lg__a { transform: none; opacity: 1; transition: transform 1s var(--ease) calc(.35s + var(--i, 0) * .12s), opacity .4s ease calc(.35s + var(--i, 0) * .12s); }
.kopf.is-in .lg--kopf .lg__w { opacity: 1; transition: opacity .8s ease .75s; }
.kopf.is-in .lg--kopf .lg__c { opacity: 1; transition: opacity .8s ease 1s; }

.kopf.is-in .kopf__cta { opacity: 1; transform: none; transition: opacity .8s ease 1.05s, transform .9s var(--ease) 1.05s; }
.kopf.has-szene .lage { opacity: 1; transition: opacity .5s ease .2s; }
.no-anim .lg--kopf *, .no-anim .kopf__line, .no-anim .kopf__cta, .no-anim .szene__bild, .no-anim .lage,
.is-static .lg--kopf *, .is-static .kopf__line, .is-static .kopf__cta, .is-static .szene__bild, .is-static .lage
{ opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .lage, .is-static .lage { transform: var(--pose) !important; }

/* short desktop viewports: compact through the tokens */
@media (min-width: 1000px) and (max-height: 800px) {
  :root { --h2s: clamp(2.4rem, min(4vw, 7.2svh), 4.2rem); --t-lead: 16.5px; }
  .punkte li { padding: 7px 0 7px 18px; font-size: 14px; }
  .punkte li::before { top: 14px; }
  .item { padding: 11px 0; }
  .schritt { padding: 8px 0; }
  .mensch img { max-width: 104px; }
  .team__grid { gap: 14px 14px; }
}
@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; } }
