@font-face {
  font-family: "Onest";
  src: url("/beispiel/physio/fonts/onest.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f4f6f1;
  --surface: #ffffff;
  --text: #13241f;
  --muted: #4a5a55;
  --line: #d8dfd8;
  --control: #6d7c76;
  --primary: #0e5e56;
  --primary-text: #ffffff;
  --pop: #d6f36d;
  --pop-text: #13241f;
  --soft: #e3efe9;
  --focus: #b4460f;
  --error: #b42318;
  --shadow: 0 1px 2px rgb(19 36 31 / 0.06), 0 18px 40px -22px rgb(19 36 31 / 0.35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1613;
    --surface: #13211d;
    --text: #e9f1ed;
    --muted: #a9bab3;
    --line: #26372f;
    --control: #7f918a;
    --primary: #6fd6c4;
    --primary-text: #06201b;
    --soft: #173029;
    --focus: #ffb37a;
    --error: #ff9b91;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 18px 40px -22px rgb(0 0 0 / 0.8);
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Onest", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4.5rem); font-weight: 750; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 3rem); letter-spacing: -0.04em; }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
h1, h2, h3, p, li, dd, label, legend { overflow-wrap: break-word; }
p, li, dd { hyphens: auto; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 36rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: 0; transform: translateY(-120%); background: var(--primary); color: var(--primary-text); padding: 0.75rem 1rem; z-index: 30; border-radius: 999px; font-weight: 600; }
.skip:focus { transform: translateY(1rem); }
.demo-note { background: var(--text); color: var(--bg); font-size: 0.9375rem; }
.demo-note p { margin: 0; padding-block: 0.5rem; }
.demo-note a { font-weight: 600; }
.demo-note a:focus-visible { outline-color: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font: inherit; font-weight: 650; background: var(--primary); color: var(--primary-text); border: 2px solid var(--primary); border-radius: 999px; padding: 0.75rem 1.5rem; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, filter 0.2s ease; }
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn-pop { background: var(--pop); border-color: var(--pop); color: var(--pop-text); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; filter: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 0.875rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; line-height: 1.1; }
.brand-mark { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; inset: 0.625rem 0.625rem 0.625rem 1.125rem; border-radius: 50%; background: var(--pop); }
.brand strong { display: block; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand small { display: block; color: var(--muted); font-size: 0.8125rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.375rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; display: inline-block; padding-block: 0.5rem; font-weight: 500; }
.site-nav a:hover { text-decoration: underline; }
.header-cta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.open-status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; padding: 0.375rem 0.75rem; border-radius: 999px; background: var(--soft); }
.open-status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--control); }
.open-status.is-open::before { background: #22a35a; box-shadow: 0 0 0 4px color-mix(in srgb, #22a35a 25%, transparent); }

/* Hero */
.hero { padding-block: 3rem 5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 58rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; } }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--pop) 62%, var(--pop) 92%, transparent 92%); padding-inline: 0.05em; }
@media (prefers-color-scheme: dark) { .hero h1 em { background: none; color: var(--pop); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.trust { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-weight: 600; font-size: 0.9375rem; }
.trust li { display: flex; align-items: center; gap: 0.5rem; }
.trust li::before { content: ""; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--pop); box-shadow: inset 0 0 0 0.1875rem var(--primary); flex: none; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2rem 2rem 8rem 2rem; }
.float { position: absolute; background: var(--surface); color: var(--text); border-radius: 1.25rem; padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.float-slot { left: -1.5rem; bottom: 2rem; max-width: 17rem; }
.float-slot p { margin: 0; }
.float-slot .kicker { font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.float-slot strong { display: block; font-size: 1.25rem; letter-spacing: -0.02em; margin-block: 0.125rem 0.5rem; }
.float-slot a { font-weight: 650; }
.float-late { right: -1rem; top: 2rem; background: var(--pop); color: var(--pop-text); font-weight: 700; border-radius: 999px; padding: 0.625rem 1.125rem; }
@media (max-width: 40rem) { .float-slot { left: 0.75rem; bottom: 0.75rem; } .float-late { right: 0.75rem; top: 0.75rem; } }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
  .float-late { animation-delay: 0.35s; }
  @keyframes rise { from { opacity: 0; translate: 0 1rem; } }
}

.section { padding-block: 5rem; }
.section-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: 2.75rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.125rem; }

/* Where does it hurt */
.pain { --primary: #0e5e56; --primary-text: #ffffff; background: #0e5e56; color: #ffffff; }
.pain .pain-panel { --primary: #0e5e56; --primary-text: #ffffff; }
.pain .section-head p { color: inherit; opacity: 0.85; }
.pain-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 58rem) { .pain-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }
.figure { position: relative; max-width: 20rem; margin-inline: auto; width: 100%; }
.figure svg { width: 100%; height: auto; display: block; }
.figure .body { fill: color-mix(in srgb, var(--primary-text) 16%, transparent); }
.figure .dot { fill: var(--primary-text); opacity: 0.35; transition: opacity 0.2s ease, r 0.2s ease; }
.figure .dot.on { fill: var(--pop); opacity: 1; }
.figure .ring { fill: none; stroke: var(--pop); stroke-width: 2; opacity: 0; }
.figure .ring.on { opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) { .figure .ring.on { animation: pulse 1.8s ease-out 2; transform-box: fill-box; transform-origin: center; } @keyframes pulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } } }
.pain-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.pain-chips button { font: inherit; font-weight: 600; color: inherit; background: transparent; border: 2px solid color-mix(in srgb, var(--primary-text) 55%, transparent); border-radius: 999px; padding: 0.5rem 1.125rem; cursor: pointer; }
.pain-chips button:hover { border-color: var(--primary-text); }
.pain-chips button[aria-pressed="true"] { background: var(--pop); border-color: var(--pop); color: var(--pop-text); }
.pain-chips button:focus-visible { outline-color: var(--pop); }
.pain-panel { background: var(--surface); color: var(--text); border-radius: 1.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.pain-panel h3 { font-size: 1.75rem; }
.pain-panel p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { background: var(--soft); border-radius: 999px; padding: 0.25rem 0.875rem; font-weight: 600; font-size: 0.9375rem; }

/* Treatments */
.treat-grid { display: grid; gap: 3rem; }
@media (min-width: 58rem) { .treat-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 4rem; align-items: start; } }
.treat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.treat-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.375rem 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.treat-list h3 { font-size: 1.375rem; }
.treat-list p { grid-column: 1 / -1; margin: 0; color: var(--muted); max-width: 42rem; }
.treat-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: end; align-items: start; }
.treat-meta span { font-size: 0.8125rem; font-weight: 650; padding: 0.1875rem 0.625rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.treat-aside img { border-radius: 1.5rem; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.treat-aside p { color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 58rem) { .treat-aside { position: sticky; top: 7rem; } }

/* First visit */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 50rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.steps li { position: relative; padding-top: 3.75rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--pop); color: var(--pop-text); font-weight: 750; }
@media (min-width: 50rem) { .steps li::after { content: ""; position: absolute; top: 1.375rem; left: 3.5rem; right: -1.75rem; height: 2px; background: var(--line); } .steps li:last-child::after { display: none; } }
.steps p { color: var(--muted); margin: 0.5rem 0 0; }
.steps small { display: inline-block; margin-top: 0.75rem; font-weight: 650; color: var(--text); }

/* Booking */
.booking { background: var(--soft); }
.booking-grid { display: grid; gap: 2rem; }
@media (min-width: 58rem) { .booking-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 2.5rem; align-items: start; } }
.wizard { background: var(--surface); border-radius: 1.75rem; padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem); box-shadow: var(--shadow); }
.progress { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.progress li { font-size: 0.875rem; font-weight: 600; color: var(--muted); padding-top: 0.75rem; border-top: 4px solid var(--line); }
.progress li[aria-current="step"] { color: var(--text); border-color: var(--primary); }
.progress li.done { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); color: var(--text); }
.wizard h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.wizard fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.wizard legend { font-weight: 650; padding: 0; margin-bottom: 0.75rem; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.75rem; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: grid; gap: 0.125rem; height: 100%; padding: 0.875rem 1rem; border: 2px solid var(--line); border-radius: 1rem; transition: border-color 0.15s ease, background-color 0.15s ease; }
.opt strong { font-weight: 650; }
.opt small { color: var(--muted); font-size: 0.875rem; }
.opt:hover span { border-color: var(--control); }
.opt input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); box-shadow: inset 0 0 0 1px var(--primary); }
.opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.days { grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); }
.days span { text-align: center; white-space: nowrap; }
.slots { grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); }
.slots span { text-align: center; padding: 0.625rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.wizard-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.375rem; align-content: start; margin-bottom: 1.25rem; }
.field label { font-weight: 600; }
input[type="text"], input[type="tel"], select, textarea { font: inherit; color: var(--text); background: var(--bg); width: 100%; border: 2px solid var(--control); border-radius: 0.75rem; padding: 0.6875rem 0.875rem; }
textarea { min-height: 6rem; resize: vertical; }
.hint { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.req { font-weight: 400; color: var(--muted); }
.error { margin: 0; color: var(--error); font-weight: 600; font-size: 0.9375rem; }
.error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 1.375rem; height: 1.375rem; margin-top: 0.1875rem; accent-color: var(--primary); flex: none; }
.summary { background: var(--surface); border-radius: 1.5rem; padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 58rem) { .summary { position: sticky; top: 7rem; } }
.summary h3 { font-size: 1.25rem; }
.summary dl { margin: 1rem 0 0; display: grid; gap: 0.875rem; }
.summary dt { font-size: 0.8125rem; color: var(--muted); font-weight: 600; }
.summary dd { margin: 0; font-weight: 650; }
.summary .call { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.summary .call p { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.9375rem; }
.tel { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; white-space: nowrap; }
.done { text-align: left; }
.done-badge { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--pop); display: grid; place-items: center; margin-bottom: 1.25rem; }
.done-badge::after { content: ""; width: 1.25rem; height: 0.625rem; border-left: 3px solid var(--pop-text); border-bottom: 3px solid var(--pop-text); transform: rotate(-45deg) translate(1px, -2px); }

/* Hours and directions */
.visit-grid { display: grid; gap: 2.5rem; }
@media (min-width: 58rem) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 3rem; align-items: start; } }
table { border-collapse: collapse; width: 100%; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; color: var(--muted); font-size: 0.9375rem; margin-bottom: 0.5rem; }
th, td { text-align: left; padding: 0.625rem 0.5rem; border-bottom: 1px solid var(--line); }
td { white-space: nowrap; }
th[scope="row"] { font-weight: 600; }
tr.today th, tr.today td { background: var(--soft); font-weight: 700; }
tr.today th { border-radius: 0.5rem 0 0 0.5rem; }
tr.today td { border-radius: 0 0.5rem 0.5rem 0; }
.today-label { display: inline-block; margin-left: 0.5rem; font-size: 0.75rem; background: var(--primary); color: var(--primary-text); border-radius: 999px; padding: 0 0.5rem; vertical-align: middle; }
.visit ul { padding-left: 1.125rem; margin: 1.25rem 0 0; }
.visit li + li { margin-top: 0.625rem; }
.visit-photo img { border-radius: 1.5rem 1.5rem 1.5rem 5rem; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

.site-footer { background: #0b1a16; color: #e9f1ed; padding-block: 3rem 2rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 50rem) { .site-footer .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.site-footer p { margin: 0; opacity: 0.8; font-size: 0.9375rem; }
.site-footer .brand small { color: inherit; opacity: 0.75; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9375rem; }
.site-footer a { display: inline-block; padding-block: 0.25rem; }
.site-footer :focus-visible { outline-color: currentColor; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.step h3:focus { outline: none; }
