/* Physiopoint Pascal, Physiotherapie in Morbach
   Farben aus dem Logo (gemessen am PNG): Petrol #00445A im Signet, Grau #848586 in der Wortmarke.
   Schrift wie im Logo: Die Wortmarke ist eine klassische Serifenschrift. Überschriften in Crimson Pro (SIL OFL),
   Fließtext in Source Sans 3 (SIL OFL), beide selbst gehostet.
   Ruhig und hell im Apple-Stil: leichte Verläufe im Hintergrund, Glas-Navigation, Hierarchie über Größe und Gewicht,
   Listen mit feinen Linien. Kein KI-Look (siehe ~/.claude/CLAUDE.md „Gestaltung“). */

@font-face { font-family: "Source Sans 3"; src: url("../assets/fonts/SourceSans3-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("../assets/fonts/crimson-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --petrol: #00445A;
  --petrol-hover: #005A76;
  --petrol-tief: 0, 47, 62;     /* dunkles Petrol für Verläufe und dunkle Flächen, weiße Schrift bleibt gut lesbar */
  --petrol-hell: #E7EFF1;
  --grau: #848586;
  --schwarz: #142126;
  --text: #1E2A2E;
  --text-weich: #4D5A5E;
  --linie: #DDE4E6;
  --flaeche: #F3F6F6;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --rand: clamp(18px, 4vw, 40px);
  --radius: 16px;
  --kopf: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-size: 18px; line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.005em; color: var(--schwarz); overflow-wrap: break-word; }
h3, h4 { font-weight: 600; line-height: 1.25; color: var(--schwarz); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }
p + p, p + ul, ul + p, ul + ul { margin-top: 1em; }
ul, ol { margin: 0; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 400; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(0, 90, 118, .45); outline-offset: 2px; }
/* Entwurf: Angaben, die vom Kunden noch fehlen (build.py warnt, so nicht live schalten) */
mark.offen { background: #FFF1A8; color: var(--text); padding: 0 .2em; border-radius: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 760px; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn--haupt { background: var(--petrol); color: #fff; }
.btn--haupt:hover { background: var(--petrol-hover); }
.btn--hell { background: #fff; color: var(--petrol); }
.btn--hell:hover { background: var(--petrol-hell); }
.btn--glas { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glas:hover { background: rgba(255, 255, 255, .2); }
.btn--linie { border-color: var(--petrol); color: var(--petrol); }
.btn--linie:hover { background: var(--petrol); color: #fff; }
.btn .icon { flex: none; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.mehr { font-weight: 600; color: var(--petrol); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mehr:hover { text-decoration-thickness: 2px; }
.text a:not(.btn), .faq__antwort a, .einleitung a, .zeiten a { color: var(--petrol); font-weight: 600; }

.einleitung { font-size: clamp(1.1rem, 1.45vw, 1.25rem); line-height: 1.55; color: var(--text-weich); }

/* ---------- Kopf: Glas mit Weichzeichner ---------- */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 rgba(20, 33, 38, .08); transition: transform .35s ease, background .3s ease, box-shadow .3s ease; }
.kopf.is-weg { transform: translateY(-100%); }
.kopf__leiste { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--kopf); }
.kopf__logo { position: relative; display: block; flex: none; }
.kopf__logo img { width: clamp(200px, 21vw, 260px); }
.kopf__logo-weiss { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.kopf__logo-farbe { transition: opacity .3s ease; }
/* Ganz oben durchsichtig: über Fotos und dunklen Flächen mit weißer Wortmarke, auf hellen Seiten mit der grauen */
.kopf--transparent:not(.is-fest), .kopf--klar:not(.is-fest) { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.kopf--transparent:not(.is-fest) .kopf__logo-farbe { opacity: 0; }
.kopf--transparent:not(.is-fest) .kopf__logo-weiss { opacity: 1; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__liste { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__liste li + li { margin-top: 0; }
.nav__punkt { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-block; padding: 8px 0; font-weight: 600; font-size: 16.5px; white-space: nowrap; text-decoration: none; color: var(--schwarz); border-bottom: 2px solid transparent; transition: border-color .2s ease, color .3s ease; }
.nav__link:hover, .nav__link.is-aktiv { border-bottom-color: currentColor; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 15.5px; }
.kopf--transparent:not(.is-fest) .nav__link { color: #fff; }
.kopf--transparent:not(.is-fest) .nav__cta { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kopf--transparent:not(.is-fest) .nav__cta:hover { background: rgba(255, 255, 255, .26); }

.nav-toggle { display: none; position: relative; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--petrol); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 13px; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle span { top: 23px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Startseite): Foto über die ganze Breite, Text unten links ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1040px; overflow: hidden; background: rgb(var(--petrol-tief)); color: #fff; isolation: isolate; }
.hero__bild, .hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bild img { object-fit: cover; }
/* Neutraler dunkler Verlauf mit nur einem Hauch Petrol unten links, das Gesicht oben rechts bleibt frei */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 20, 24, .45) 0%, rgba(10, 20, 24, 0) 20%), linear-gradient(0deg, rgba(var(--petrol-tief), .86) 0%, rgba(var(--petrol-tief), .5) 30%, rgba(var(--petrol-tief), 0) 58%), linear-gradient(90deg, rgba(10, 20, 24, .35) 0%, rgba(10, 20, 24, 0) 55%); }
.hero__inhalt { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 104px); z-index: 2; }
.hero__inhalt > * { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6.4vw, 5.2rem); line-height: 1; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero__claim { margin-top: 20px; font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .92); }
.hero .knoepfe { margin-top: 30px; }

/* ---------- Seitenkopf der Unterseiten ---------- */
/* Dunkle Fläche in Petrol, Foto rechts, Text links senkrecht mittig (Physiotherapie) */
.seitenkopf { position: relative; overflow: hidden; isolation: isolate; }
.seitenkopf--dunkel { display: flex; align-items: center; min-height: min(86vh, 760px); padding: calc(var(--kopf) + 40px) 0 64px; background: linear-gradient(135deg, rgb(var(--petrol-tief)) 0%, #00394B 60%, #0B4A5E 100%); color: #fff; }
.seitenkopf--dunkel .seitenkopf__bild { position: absolute; top: 0; right: 0; bottom: 0; width: min(48%, 820px); z-index: -1; }
.seitenkopf--dunkel .seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.seitenkopf--dunkel .seitenkopf__text { max-width: min(600px, 46vw); }
.seitenkopf--dunkel h1 { color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.9rem); text-wrap: balance; }
.seitenkopf--dunkel .einleitung { margin-top: 22px; color: rgba(255, 255, 255, .86); }
/* Helle Fläche mit leichtem Verlauf, darunter ein Foto über die ganze Breite (Team, Kontakt, Rechtstexte) */
.seitenkopf--hell { padding: calc(var(--kopf) + clamp(40px, 6vw, 80px)) 0 clamp(40px, 5vw, 64px); background: radial-gradient(120% 140% at 85% 0%, #E3EDF0 0%, rgba(227, 237, 240, 0) 55%), linear-gradient(180deg, var(--flaeche) 0%, #fff 100%); }
.seitenkopf--hell h1 { text-wrap: balance; }
.seitenkopf--hell .einleitung { margin-top: 20px; max-width: 720px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt--flaeche { background: linear-gradient(180deg, var(--flaeche) 0%, #F8FAFA 100%); }
.abschnitt--dunkel { background: rgb(var(--petrol-tief)); color: rgba(255, 255, 255, .86); }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--eng { padding-top: 0; }
.abschnitt__kopf { max-width: 760px; margin-bottom: clamp(36px, 4.4vw, 56px); }
.abschnitt__kopf p { margin-top: 16px; }
/* Überschriften kleben nie an Bildern: direkt folgende Bilder, Raster und Listen bekommen Luft */
h2 + .mosaik, h2 + figure, h2 + .tabelle, h2 + .faq, h2 + .portraits { margin-top: clamp(32px, 4vw, 52px); }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.zweispaltig--oben { align-items: start; }
.zweispaltig--breit { grid-template-columns: 1.1fr .9fr; }
.zweispaltig--liste { grid-template-columns: 1.35fr .65fr; }
.zweispaltig__bild img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.zweispaltig__bild--hoch img { aspect-ratio: 4 / 5; }
.zweispaltig--gedreht .zweispaltig__bild { order: -1; }
.text h2 + p, .text h2 + ul, .text h3 + p { margin-top: 18px; }
.text p + h3, .text ul + h3 { margin-top: 28px; }
.text .knoepfe { margin-top: 30px; }
.text .liste { margin-top: 22px; }

/* Liste mit feinen Linien wie eine Tabelle, ohne Symbole */
.liste { list-style: none; padding: 0; border-bottom: 1px solid var(--linie); }
.liste li { margin: 0; padding: 12px 0; border-top: 1px solid var(--linie); }
.liste li + li { margin-top: 0; }

/* Behandlungen auf der Startseite: Titel verlinkt die Sprungmarke auf /physiotherapie */
.leistungsliste { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.leistungsliste li { display: grid; grid-template-columns: minmax(12rem, 16rem) 1fr; gap: 6px 32px; align-items: baseline; margin: 0; padding: 20px 0; border-top: 1px solid var(--linie); }
.leistungsliste h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.15; }
.leistungsliste h3 a { text-decoration: none; }
.leistungsliste h3 a:hover, .leistungsliste h3 a:focus-visible { color: var(--petrol); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.leistungsliste p { color: var(--text-weich); }

/* Physiotherapie: ein Abschnitt je Behandlung, Sprungziel aus Startseite und Fuß */
.leistung { padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--linie); }
.leistung:first-of-type { border-top: 0; }
.leistung h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.leistung__ablauf { margin-top: 24px; }
.zwei-texte { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); }

/* Tabelle mit feinen Linien (Kosten) */
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th, .tabelle td { padding: 18px 28px 18px 0; border-top: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 1px solid var(--linie); }
.tabelle tbody th { width: 34%; font-weight: 600; }
.tabelle td { color: var(--text-weich); }
.tabelle + p { margin-top: 24px; }

/* Team: Porträts in ruhigem Raster, ohne Hover-Effekt */
.portraits { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); list-style: none; margin: 0; padding: 0; }
.portraits li { margin: 0; }
.portraits img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--flaeche); }
.portraits figcaption { margin-top: 14px; }
.portraits figcaption strong { display: block; font-weight: 600; font-size: 1.05rem; }
.portraits figcaption span { display: block; color: var(--text-weich); font-size: 15.5px; }

/* Foto-Mosaik (Praxisräume) */
.mosaik { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 240px); grid-auto-flow: dense; gap: clamp(8px, 1.2vw, 14px); }
.mosaik figure { overflow: hidden; border-radius: 12px; }
.mosaik img { width: 100%; height: 100%; object-fit: cover; }
.mosaik .gross { grid-column: span 2; grid-row: span 2; }
.mosaik .breit { grid-column: span 2; }

/* Foto über die ganze Breite */
.bildband { height: clamp(300px, 50vw, 720px); overflow: hidden; }
.bildband img { width: 100%; height: 100%; object-fit: cover; }
.bildband--gerahmt { height: auto; overflow: visible; }
.bildband--gerahmt img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }

/* FAQ */
.faq { max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--linie); }
.faq__item:first-of-type { border-top: 1px solid var(--linie); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.faq__item summary .chevron { flex: none; width: 16px; height: 10px; color: var(--petrol); transition: transform .2s ease; }
.faq__item[open] summary .chevron { transform: rotate(180deg); }
.faq__antwort { padding: 0 0 24px; color: var(--text-weich); max-width: 760px; }

/* Öffnungszeiten */
.zeiten h2, .zeiten h3 { font-family: var(--font); font-weight: 600; font-size: 1.1rem; margin-bottom: 8px; }
.zeiten dl, .fuss__zeiten { margin: 0; }
.zeiten dl div, .fuss__zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.zeiten dt { font-weight: 600; }
.zeiten dd, .fuss__zeiten dd { margin: 0; text-align: right; }
.zeiten__hinweis { margin-top: 14px; font-size: 16px; color: var(--text-weich); }

/* Kontaktdaten: Zeilen mit feinen Linien */
.kontaktliste { margin: 0; border-top: 1px solid var(--linie); }
.kontaktliste div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.kontaktliste dt { font-weight: 600; }
.kontaktliste dd { margin: 0; }
.kontaktliste a { font-weight: 600; color: var(--petrol); }
.text .kontaktliste { margin: 26px 0 34px; }

/* Google Maps nach Einwilligung */
.karte { position: relative; min-height: 400px; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte__hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--text-weich); }
.karte__hinweis a { font-weight: 600; color: var(--petrol); }
.anfahrt { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(40px, 5vw, 64px); }
.anfahrt img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Formular ---------- */
.formkarte { padding: clamp(24px, 3.4vw, 44px); border-radius: 20px; background: rgba(255, 255, 255, .9); border: 1px solid var(--linie); box-shadow: 0 24px 60px rgba(20, 33, 38, .06); }
.formkarte__titel { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.formkarte__text { margin: 10px 0 26px; font-size: 16px; color: var(--text-weich); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--voll { grid-column: 1 / -1; }
.field label, .upload__label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #C9D3D6; border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23142126' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 18px center / 14px 9px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--petrol); outline: none; box-shadow: 0 0 0 3px rgba(0, 68, 90, .18); }
.req { color: var(--petrol); }
.upload { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 14px; }
.upload__label { grid-column: 1 / -1; }
.upload__input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.upload__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--petrol); border-radius: 999px; color: var(--petrol); font-weight: 600; font-size: 15px; cursor: pointer; }
.upload__input:focus-visible + .upload__btn { outline: 3px solid rgba(0, 90, 118, .45); outline-offset: 2px; }
.upload__info { font-size: 14px; color: var(--text-weich); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--text-weich); }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--petrol); }
.consent a { color: var(--petrol); font-weight: 600; }
.form__senden { justify-self: start; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-active { display: block; }
.form-status.is-ok { background: var(--petrol-hell); color: var(--schwarz); }
.form-status.is-error { background: #FCEBEA; color: #8A1C14; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Schnellkontakt am rechten Rand ---------- */
.schnellkontakt { position: fixed; right: 0; top: 50%; z-index: 90; display: flex; flex-direction: column; padding: 8px 0; background: rgba(0, 47, 62, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px 0 0 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); transform: translateY(-50%); }
.schnellkontakt__punkt { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: #fff; text-decoration: none; }
.schnellkontakt__icon { display: flex; transition: transform .2s ease; }
.schnellkontakt__icon svg { width: 24px; height: 24px; }
.schnellkontakt__punkt:hover .schnellkontakt__icon, .schnellkontakt__punkt:focus-visible .schnellkontakt__icon { transform: scale(1.1); }
.schnellkontakt__info { position: absolute; right: calc(100% + 10px); top: 50%; display: block; min-width: 230px; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--schwarz); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); white-space: nowrap; opacity: 0; visibility: hidden; transform: translate(8px, -50%); transition: opacity .2s ease, transform .2s ease, visibility .2s; pointer-events: none; }
.schnellkontakt__info strong { display: block; font-size: 17px; }
.schnellkontakt__info small { display: block; margin-top: 2px; font-size: 14px; color: var(--text-weich); }
.schnellkontakt__punkt:hover .schnellkontakt__info, .schnellkontakt__punkt:focus-visible .schnellkontakt__info { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.nav-open .schnellkontakt { display: none; }
.schnellkontakt__text { display: none; }
@media (min-width: 641px) and (max-width: 1360px) {
  .wrap { padding-right: max(var(--rand), 72px); }
  .kopf .wrap { padding-right: var(--rand); }
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 860px; }
.rechtstext h2 { margin-top: 48px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.rechtstext h3 { margin-top: 28px; font-size: 1.12rem; }
.rechtstext h2 + p, .rechtstext h3 + p, .rechtstext h2 + ul, .rechtstext h3 + ul { margin-top: 12px; }
.rechtstext a { color: var(--petrol); font-weight: 600; word-break: break-word; }

/* ---------- Fuß ---------- */
.fuss { padding: clamp(56px, 7vw, 88px) 0 28px; background: rgb(var(--petrol-tief)); color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1.1fr .8fr; gap: 36px clamp(20px, 3vw, 44px); }
.fuss__marke img { width: 240px; }
.fuss__marke p { margin-top: 18px; max-width: 290px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss__titel { margin-bottom: 14px; font-family: var(--font); font-weight: 600; font-size: 16.5px; line-height: 1.3; color: #fff; }
.fuss ul { list-style: none; padding: 0; }
.fuss li + li { margin-top: 8px; }
.fuss address p + p { margin-top: 12px; }
.fuss__zeiten div { border-bottom-color: rgba(255, 255, 255, .12); padding: 6px 0; }
.fuss__zeiten dt { font-weight: 400; }
.fuss mark.offen { background: rgba(255, 241, 168, .9); }
.fuss__klein { margin-top: 12px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.fuss__recht { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); }
.fuss__links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; }
.fuss__recht p + p { margin-top: 0; }

/* ---------- Datenschutz-Banner (Aufbau wie bei bohr.media: weiße Karte, Kopf nur mit Überschrift, graue Fußleiste; Farben nach Logo)
   Klassen bewusst ohne „cookie“: Werbeblocker blenden solche Container sonst aus.
   „Alles akzeptieren“ und „Ablehnen“ sind gleich gestaltet, keiner von beiden ist hervorgehoben. */
.priv-modal { --pv-accent: var(--petrol); --pv-accent-hover: var(--petrol-hover); --pv-schalter-aus: #CED7DA; position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.priv-modal.is-visible { display: flex; }
.priv-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 33, 38, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.priv-modal__card { position: relative; display: flex; flex-direction: column; width: min(600px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; background: #fff; color: var(--text); border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 33, 38, .22); animation: priv-ein .25s ease; }
@keyframes priv-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.priv-modal__card:focus { outline: none; }
.priv-head { flex: none; display: flex; align-items: center; justify-content: center; margin: 0 32px; padding: 26px 0 18px; border-bottom: 1px solid var(--linie); }
.priv-h { margin: 0; color: var(--schwarz); font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
.priv-panel { display: none; }
.priv-panel.is-active { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 20px 32px 24px; }
.priv-scroll { min-height: 0; overflow-y: auto; padding-right: 6px; font-size: .85rem; line-height: 1.6; color: var(--text); }
.priv-scroll::-webkit-scrollbar { width: 8px; }
.priv-scroll::-webkit-scrollbar-thumb { background: var(--linie); border-radius: 4px; }
.priv-scroll p { margin: 0; font-size: inherit; line-height: inherit; color: inherit; }
.priv-scroll p + p { margin-top: .8em; }
.priv-scroll a { color: var(--petrol); text-decoration: underline; }
.priv-cat { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: .75rem; font-weight: 400; line-height: 1.55; color: var(--text-weich); cursor: pointer; }
.priv-cat:first-child { padding-top: 0; }
.priv-cat b { display: block; margin-bottom: 2px; color: var(--schwarz); font-size: .85rem; font-weight: 600; }
.priv-cat input { position: absolute; opacity: 0; width: 0; height: 0; }
.priv-cat i { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; border-radius: 26px; background: var(--pv-schalter-aus); transition: background-color .2s ease; }
.priv-cat i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 33, 38, .25); transition: transform .2s ease; }
.priv-cat input:checked + i { background: var(--pv-accent); }
.priv-cat input:checked + i::after { transform: translateX(20px); }
.priv-cat input:disabled + i { opacity: .6; }
.priv-cat input:focus-visible + i { outline: 3px solid rgba(0, 90, 118, .45); outline-offset: 2px; }
.priv-actions { flex: none; display: grid; gap: 12px; margin-top: 22px; }
.priv-btn { min-height: 0; border: none; border-radius: 999px; background: var(--pv-accent); color: #fff; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.3; padding: 15px 20px; transition: background-color .2s ease; }
.priv-btn:hover { background: var(--pv-accent-hover); }
.priv-btn:focus-visible { outline: 3px solid rgba(0, 90, 118, .45); outline-offset: 2px; }
/* „Individuelle Einstellungen“ schlichter als Rahmen-Knopf: Akzeptieren und Ablehnen bleiben gleich auffällig */
.priv-btn--rahmen { background: #fff; color: var(--petrol); box-shadow: inset 0 0 0 1.5px var(--petrol); }
.priv-btn--rahmen:hover { background: var(--petrol-hell); }
.priv-foot { flex: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; margin: 0; padding: 16px 24px; background: var(--flaeche); font-size: .78rem; line-height: 1.4; }
.priv-foot a, .priv-foot button { color: var(--text-weich); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: none; }
.priv-foot a:hover, .priv-foot button:hover { color: var(--schwarz); text-decoration: underline; }
.priv-foot [hidden] { display: none; }
@media (max-width: 640px) {
  .priv-modal { align-items: flex-end; padding: 0; }
  .priv-modal__card { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .priv-head { margin: 0 18px; padding: 18px 0 14px; }
  .priv-h { font-size: 1.1rem; }
  .priv-panel.is-active { padding: 14px 18px 16px; }
  .priv-scroll { font-size: .8rem; line-height: 1.55; }
  .priv-actions { gap: 8px; margin-top: 14px; }
  .priv-btn { padding: 13px 16px; font-size: .85rem; }
  .priv-foot { gap: 6px 24px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); font-size: .74rem; }
}

/* ---------- 404 ---------- */
.fehler { min-height: 72vh; display: flex; align-items: center; padding: calc(var(--kopf) + 48px) 0 72px; background: linear-gradient(180deg, var(--flaeche) 0%, #fff 100%); }
.fehler__zahl { font-family: var(--serif); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--petrol); }
.abstand-oben { margin-top: 28px; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1100px) {
  .fuss__raster { grid-template-columns: 1fr 1fr 1fr; }
  .fuss__marke { grid-column: 1 / -1; }
  .portraits { grid-template-columns: repeat(2, 1fr); }
}

/* Menü als Klappmenü bis 940 px */
@media (max-width: 940px) {
  :root { --kopf: 72px; }
  .kopf__logo img { width: 210px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; top: var(--kopf); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 22px; padding: 20px var(--rand) 40px; overflow-y: auto; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .kopf { background: #fff; transform: none; }
  .nav-open .kopf .kopf__logo-farbe { opacity: 1; }
  .nav-open .kopf .kopf__logo-weiss { opacity: 0; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__punkt { border-bottom: 1px solid var(--linie); }
  .nav__link, .kopf--transparent:not(.is-fest) .nav__link { padding: 16px 0; font-size: 20px; color: var(--schwarz); border-bottom: 0; }
  .nav__link.is-aktiv { color: var(--petrol); }
  .nav__cta, .kopf--transparent:not(.is-fest) .nav__cta { align-self: stretch; min-height: 54px; background: var(--petrol); border-color: transparent; }
  .kopf--transparent:not(.is-fest) .nav-toggle { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .nav-open .kopf .nav-toggle { background: var(--petrol); }
}

@media (max-width: 1000px) {
  .zweispaltig, .zweispaltig--breit, .zweispaltig--liste, .zwei-texte { grid-template-columns: 1fr; }
  .zweispaltig--gedreht .zweispaltig__bild { order: 0; }
  .zweispaltig__bild img { aspect-ratio: 3 / 2; }
  .zweispaltig__bild--hoch img { aspect-ratio: 4 / 5; max-height: 640px; }
  .anfahrt { grid-template-columns: 1fr; }
  .anfahrt img { min-height: 0; aspect-ratio: 3 / 2; }
  /* Physiotherapie-Kopf: Foto oben, Text darunter auf Petrol, das Gesicht bleibt frei */
  .seitenkopf--dunkel { display: block; min-height: 0; padding: calc(min(100vw, 720px) + 32px) 0 56px; }
  .seitenkopf--dunkel .seitenkopf__bild { left: 0; width: auto; bottom: auto; height: min(100vw, 720px); }
  .seitenkopf--dunkel .seitenkopf__bild img { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .seitenkopf--dunkel .seitenkopf__text { max-width: 680px; }
}

@media (max-width: 640px) {
  body { font-size: 17px; padding-bottom: 60px; }
  h3, h4 { -webkit-hyphens: auto; hyphens: auto; }
  .leistungsliste li { grid-template-columns: 1fr; padding: 18px 0; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle th, .tabelle td { display: block; width: 100%; }
  .tabelle tbody th { padding: 16px 0 4px; }
  .tabelle td { padding: 0 0 16px; border-top: 0; }
  .tabelle tr:last-child th { border-bottom: 0; }
  .kontaktliste div { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; }
  .upload { grid-template-columns: 1fr; }
  .upload__btn { justify-self: start; }
  .mosaik { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .portraits { gap: 16px; }
  .schnellkontakt { top: auto; bottom: 0; left: 0; right: 0; flex-direction: row; padding: 0 0 env(safe-area-inset-bottom); border-radius: 0; transform: none; box-shadow: 0 -4px 18px rgba(0, 0, 0, .18); }
  .schnellkontakt__punkt { flex: 1; flex-direction: column; gap: 3px; width: auto; height: 60px; }
  .schnellkontakt__punkt + .schnellkontakt__punkt { border-left: 1px solid rgba(255, 255, 255, .14); }
  .schnellkontakt__icon svg { width: 21px; height: 21px; }
  .schnellkontakt__info { display: none; }
  .schnellkontakt__text { display: block; font-size: 13px; font-weight: 600; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__recht { flex-direction: column; }
  .hero { min-height: 600px; }
  .hero__inhalt { bottom: 88px; }
  .hero .btn { min-height: 48px; padding: 0 20px; }
  .bildband--gerahmt img { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.6rem; }
  .seitenkopf--dunkel h1, .seitenkopf--hell h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }
  .fuss__raster { grid-template-columns: 1fr; }
  .portraits { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kopf__logo img { width: 190px; }
}

/* Touch-Geräte: Links und Häkchen mit Tippflächen von etwa 44 px (Apple HIG), ohne das Layout zu verschieben */
@media (pointer: coarse) {
  .mehr, .kontaktliste a, .karte__hinweis a, .leistungsliste h3 a { display: inline-block; padding-block: 10px; margin-block: -10px; }
  .fuss li + li { margin-top: 0; }
  .fuss li a, .fuss__links a { display: inline-block; padding-block: 9px; }
  .fuss__links { row-gap: 0; }
  .consent input { width: 24px; height: 24px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kopf, .nav, .schnellkontakt__info { transition: none; }
}
