/*
 Theme Name:   Physio Neu
 Description:  Relaunch-Theme der Physiotherapie Schelfstadt – modern, barrierearm, ohne externe Abhängigkeiten.
 Author:       Physiotherapie Schelfstadt
 Version:      2.0.0
 Requires at least: 6.5
 Requires PHP: 8.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  physio-neu
*/

/* ---------- Schrift (lokal, SIL OFL 1.1) ---------- */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/source-sans-3-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Gestaltungswerte ---------- */
:root {
	--blue: #005680;        /* Praxisblau aus dem Logo */
	--blue-dark: #004166;
	--red: #b10508;         /* Signalrot aus dem Logo */
	--red-dark: #8f0406;
	--ink: #0b2433;         /* Überschriften, dunkle Flächen */
	--text: var(--ink);
	--muted: #3a5466;
	--subtle: #4a6273;
	--line: #e3ebf1;
	--tint: #f2f7fa;
	--tint-blue: #e6f0f6;
	--tint-red: #fdecec;
	--white: #fff;
	--radius: 20px;
	--shadow: 0 12px 32px rgba(11, 36, 51, .14);
	--container: 1176px;
	--gutter: clamp(20px, 4vw, 32px);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; scroll-padding-bottom: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: var(--white); color: var(--blue); font-weight: 700; border-radius: 12px; box-shadow: var(--shadow);
}

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
/* Rot ist den Haupt-Buttons und Fehlermeldungen vorbehalten; Auszeichnungen in Praxisblau */
.eyebrow { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.h2 { font-size: clamp(32px, 4vw, 42px); font-weight: 800; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.section-head .lead { margin-top: 12px; }
.text-link { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
	font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn svg { flex-shrink: 0; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 16px 32px; padding-block: 14px; }
.site-logo img { height: 56px; width: auto; }
.main-nav { flex: 1 1 auto; order: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.main-nav a { display: block; padding: 10px 0; color: var(--text); font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--blue); }
/* Sprungmarken (/#…) würde WordPress auf der Startseite alle als „aktuell“ markieren – nur echte Seiten hervorheben */
.main-nav .current-menu-item:not(.menu-item-type-custom) > a { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; order: 2; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink); }

/* Ab dieser Breite passt das Menü (6 Punkte + Telefon + Button) nicht mehr in eine Zeile → Ausklappmenü */
@media (max-width: 1199px) {
	.header-inner { flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; }
	.site-logo img { height: 46px; }
	.nav-toggle { display: inline-flex; order: 3; }
	/* Telefon (nur Symbol) und Termin-Button bleiben neben dem Menüknopf sichtbar */
	.header-actions { order: 2; margin-left: auto; gap: 8px; }
	.header-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
	.header-phone .phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.header-actions .btn { min-height: 44px; padding: 0 18px; }
	.main-nav { order: 4; flex-basis: 100%; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
	.main-nav a { padding: 14px 4px; border-top: 1px solid var(--line); font-size: 19px; }
}
/* Auf dem Smartphone übernimmt die feste Leiste unten Anrufen/Termin */
@media (max-width: 640px) {
	.header-actions { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 64px); }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
/* Die Hauptüberschrift (h1) trägt den Suchbegriff als Dachzeile, der große Werbesatz ist ein Absatz */
.hero .hero-title { margin: 0; text-wrap: balance; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero .eyebrow { margin: 0; line-height: 1.4; }
.faq { max-width: 860px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.check-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.check-list li { display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; order: 0; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.hero-badge { position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 330px; background: var(--white); border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; font-size: 16px; line-height: 1.4; }
.hero-badge strong { display: block; font-size: 16px; color: var(--ink); }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
@media (max-width: 960px) { .hero-media { order: -1; } }

/* ---------- Hinweisleiste ---------- */
.notice { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 20px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.notice p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 19px; }
.notice a { color: var(--white); font-weight: 600; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
/* Etikett auf dunklem Grund (z. B. „Aktuell“) */
.pill-light { background: var(--white); color: var(--blue-dark); text-transform: uppercase; letter-spacing: .06em; }
.pill-soft-blue { background: var(--tint-blue); color: var(--blue-dark); }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 20px; }
/* Feste Spaltenzahlen, damit Reihen aufgehen (8 Leistungen: 4/2, 3 Kurse: 3/1) */
.grid-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 899px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.grid-team { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1020px) { .grid-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon-box { width: 48px; height: 48px; border-radius: 12px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 8px 24px rgba(11, 36, 51, .08); }
a.card:hover h3 { color: var(--blue); }

.course { background: var(--white); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.course img { width: 100%; aspect-ratio: 13 / 8; object-fit: cover; }
.course-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.course-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.course h3 { font-size: 24px; font-weight: 700; }
.course p { margin: 0; color: var(--muted); font-size: 16px; }
.course .btn { margin-top: auto; }

.person { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.person img, .person .avatar { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
/* Teammitglieder ohne Foto: schlichte Textkarten unter der Fotoreihe */
.team-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 40px; }
.team-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; background: var(--white); }
.team-card strong { display: block; font-size: 19px; color: var(--ink); }
.team-card .role { display: block; font-size: 16px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.team-card .since { display: block; font-size: 14px; color: var(--subtle); margin-top: 6px; }
.person strong { display: block; font-size: 19px; color: var(--ink); }
.person .role { display: block; font-size: 16px; color: var(--muted); line-height: 1.45; }
.person .since { display: block; font-size: 14px; color: var(--subtle); margin-top: 4px; }

/* ---------- Preise ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px 56px; align-items: start; }
.split-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split-text .eyebrow { margin: 0; }

/* ---------- Standorte & Formular ---------- */
.location { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.location h3 { font-size: 24px; font-weight: 700; }
.location p { margin: 0; }
.location .meta { display: flex; gap: 10px; align-items: flex-start; }
.location .meta svg { margin-top: 4px; flex-shrink: 0; color: var(--blue); }
.location .phone { font-weight: 600; }
.location .route { margin-top: auto; padding-top: 6px; font-weight: 600; }

.contact-form { background: var(--ink); color: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact-form h3 { color: var(--white); font-size: 24px; font-weight: 700; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea {
	min-height: 46px; border-radius: 12px; border: 1px solid #47637a; background: var(--white);
	padding: 10px 14px; font: inherit; font-size: 16px; color: var(--text); width: 100%;
}
.contact-form textarea { min-height: 90px; resize: vertical; }
.contact-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: #dce6ec; }
.contact-form .consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.contact-form .consent a { color: var(--white); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; }
.form-status { border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.form-status.ok { background: #e3f4ea; color: #12512f; }
.form-status.error { background: var(--tint-red); color: var(--red-dark); }

/* ---------- Unterseiten ---------- */
.page-hero { background: var(--tint); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { margin-top: 14px; max-width: 760px; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 48px 0 14px; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

.therapy-group { margin-top: 56px; }
.therapy-group:first-child { margin-top: 0; }
.therapy-group > h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 18px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.accordion details[open] { border-color: var(--blue); }
.accordion summary {
	list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
	font-size: 19px; font-weight: 600; color: var(--ink); min-height: 44px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion .acc-body { padding: 0 22px 22px; color: var(--muted); }
.accordion .acc-body p { margin-bottom: .9em; }

.legal-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-bottom: 48px; }
.legal-facts .card p { color: var(--text); }
.legal-facts .card h2 { font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: #dce6ec; padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; font-size: 16px; line-height: 1.7; }
.footer-grid strong { display: block; color: var(--white); font-size: 16px; }
.footer-grid .brand strong { font-size: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 32px; border-top: 1px solid #23435a; font-size: 16px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #bfe0f2; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Schnellkontakt Smartphone ---------- */
.quick-contact { display: none; }
@media (max-width: 640px) {
	.quick-contact {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
		box-shadow: 0 -8px 24px rgba(11, 36, 51, .08);
	}
	.quick-contact .btn { min-height: 50px; padding: 0 12px; }
	body { padding-bottom: 84px; }
	.notice p { font-size: 16px; }
	.hero-media img { aspect-ratio: 4 / 3; }
	.hero-badge { left: 12px; right: auto; bottom: 12px; padding: 10px 14px; gap: 10px; font-size: 14px; }
	.hero-badge .icon-box { width: 36px; height: 36px; }
}

/* ===========================================================================
 * UX-Überarbeitung (Review November 2026)
 * ======================================================================== */

/* Kopfzeile: auf schmalen Tablets nur „Termin“ */
@media (max-width: 800px) { .btn-long { display: none; } }
.header-actions .btn { gap: 0; }

/* Leistungskarten: sichtbarer Hinweis, dass die Karte klickbar ist */
.card-more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; color: var(--blue); }
a.card:hover .card-more { color: var(--blue-dark); }
/* Smartphone: kompakte Kacheln (Symbol, Titel, Pfeil) – Beschreibung auf der Therapie-Seite */
@media (max-width: 640px) {
	.grid-services { gap: 12px; }
	.grid-services .card { padding: 16px; gap: 10px; border-radius: 20px; }
	.grid-services .card p, .grid-services .card-more .label { display: none; }
	.grid-services .card h3 { font-size: 16px; line-height: 1.25; hyphens: auto; }
	.grid-services .card .icon-box { width: 40px; height: 40px; border-radius: 12px; }
	.grid-services .card-more { padding-top: 0; }
}

/* Kurse: auf Tablets Bild links, Text rechts statt drei schmaler Spalten */
@media (min-width: 641px) and (max-width: 899px) {
	.course { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
	.course img { width: 100%; height: 0; min-height: 100%; aspect-ratio: auto; }
}
/* Smartphone: kompakte Kurskarten (kleines Bild neben dem Titel), spart rund einen Bildschirm */
@media (max-width: 640px) {
	.grid-3 { gap: 16px; }
	.course { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto auto; border-radius: 20px; }
	/* height 0 + min-height 100 %: das Bild bestimmt die Kartenhöhe nicht, füllt sie aber aus */
	.course img { grid-row: 1 / span 2; width: 112px; height: 0; min-height: 100%; aspect-ratio: auto; }
	.course-body { padding: 14px 16px 16px; gap: 8px; }
	.course h3 { font-size: 19px; }
	.course p { font-size: 16px; line-height: 1.45; }
	.course .btn { min-height: 44px; padding: 0 14px; font-size: 16px; }
}

/* Telefonnummern in den Standortkarten: ausreichend große Klickfläche */
.location .phone { display: inline-flex; align-items: center; min-height: 44px; margin-block: -10px; }

/* Kontakt: Standorte links untereinander, Formular rechts */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.locations { display: grid; gap: 24px; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 641px) and (max-width: 899px) { .locations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Formular: Pflichtfelder kennzeichnen, Fehler direkt am Feld */
.contact-form .req { color: #9fd0ee; font-weight: 700; }
.contact-form .form-note { margin: -4px 0 0; font-size: 14px; color: #c9d7e1; }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border: 2px solid #ff8a8a; outline-color: #ff8a8a; }
.contact-form .consent input { width: 24px; min-height: 24px; height: 24px; margin-top: 0; accent-color: var(--blue); }

/* Einstieg: Infokarte mit Link */
.hero-badge a { font-weight: 600; }

/* Heller Hinweisbalken (z. B. Stellenangebot), damit er nicht mit „Aktuell“ konkurriert */
.notice-light { background: var(--tint-blue); color: var(--ink); }
.notice-light a { color: var(--blue); }
.pill-blue { background: var(--blue); color: var(--white); text-transform: uppercase; letter-spacing: .06em; }

/* Einzeln stehende Textlinks: Klickfläche mindestens 44 px hoch */
.text-link, .notice a, .location .route { display: inline-flex; align-items: center; min-height: 44px; }

/* Therapie-Seite: Sprunglinks zu den Bereichen, Lesebreite für aufgeklappte Texte */
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 8px; }
.chip-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--tint-blue); color: var(--blue-dark); font-weight: 600; text-decoration: none; }
.chip-nav a:hover { background: var(--blue); color: var(--white); }
.therapy-group { max-width: 860px; scroll-margin-top: 96px; }

/* ===========================================================================
 * Design-Review (November 2026): Markenmotiv „Bogen“ aus dem Logo-Signet
 * ======================================================================== */

/* Einstieg: das echte Signet (Schwung mit Figur) groß und angeschnitten als zarte Fläche */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
	content: ""; position: absolute; z-index: -1; pointer-events: none;
	right: -6%; bottom: -18%; width: min(62vw, 760px); aspect-ratio: 21.206 / 19.478;
	background: var(--blue); opacity: .06;
	-webkit-mask: url(assets/img/signet.svg?v=2) no-repeat center / contain; mask: url(assets/img/signet.svg?v=2) no-repeat center / contain;
}
@media (max-width: 960px) { .hero::before { right: -30%; bottom: auto; top: 6%; width: 110vw; opacity: .05; } }

/* Einstiegsbild: geschwungene Ecke oben links greift den Schwung auf */
.hero-media img { border-radius: 120px 20px 20px 20px; }
@media (max-width: 640px) { .hero-media img { border-radius: 72px 20px 20px 20px; } }

/* Fußzeile: Logo als Markenabschluss */
.footer-logo { display: block; height: 48px; width: auto; margin-bottom: 16px; }

/* Kontakt: helles Formular im Gleichgewicht mit den Standortkarten */
.contact-form { background: var(--tint); color: var(--ink); border: 1px solid var(--line); }
.contact-form h3 { color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { border-color: #6b8396; }
.contact-form .form-note, .contact-form .consent { color: var(--muted); }
.contact-form .consent a { color: var(--blue); }
.contact-form .req { color: var(--blue); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: var(--red); outline-color: var(--red); }

/* Unterseiten: hervorgehobene Einleitung und Hinweisbox */
.prose > p.lead:first-child { font-size: 19px; color: var(--ink); }
.info-box { display: flex; gap: 16px; align-items: flex-start; background: var(--tint-blue); border-radius: 20px; padding: 20px 24px; margin: 24px 0; }
.info-box .icon-box { background: var(--white); }
.info-box p { margin: 0; }
.info-box strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Karriere-Seite */
.job-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 56px; }
.job-intro img { width: 100%; aspect-ratio: 13 / 8; object-fit: cover; border-radius: 120px 20px 20px 20px; }
.job-intro h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; text-wrap: balance; }
.job-intro .hero-actions { margin-top: 24px; }
@media (max-width: 899px) { .job-intro { grid-template-columns: minmax(0, 1fr); } .job-intro img { order: -1; border-radius: 72px 20px 20px 20px; } }
.job-section { margin-top: 48px; }
.job-section > h3 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.grid-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) { .grid-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-benefits { grid-template-columns: minmax(0, 1fr); } }
.grid-benefits .card h4 { font-size: 19px; font-weight: 700; margin: 0; color: var(--ink); }
.check-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.check-items li { display: flex; gap: 12px; align-items: flex-start; }
.check-items li svg { flex-shrink: 0; margin-top: 4px; color: var(--blue); }
.apply-box { margin-top: 56px; background: var(--ink); color: var(--white); border-radius: 20px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.apply-box h3 { color: var(--white); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.apply-box p { margin: 0; color: #dce6ec; max-width: 620px; }
.apply-box a:not(.btn) { color: var(--white); }
.apply-box .small-note { margin-top: 10px; font-size: 14px; }

/* ===========================================================================
 * Einheitliche Bildsprache (Darstellungsfilter, Originalbilder unverändert)
 * ======================================================================== */
:root {
	/* Teamfotos (Schwarz-Weiß-Vorlagen): zarte Tönung in Praxisblau */
	--img-tone-mono: grayscale(1) sepia(.22) hue-rotate(168deg) saturate(1.15) brightness(.96) contrast(1.02);
	/* Farbfotos: etwas ruhiger und kühler, passend zur blauen Farbwelt */
	--img-tone-color: saturate(.82) contrast(1.03) brightness(1.02) hue-rotate(-4deg);
}
/* Teamfotos sind koloriert; noch nicht kolorierte Schwarz-Weiß-Fotos tragen die Klasse is-mono */
.person img, .hero-media img, .course img, .job-intro img { filter: var(--img-tone-color); }
.person img.is-mono { filter: var(--img-tone-mono); }

/* Leistungen: kräftige Symbole in vollem Praxisblau statt blasser Kästchen */
.grid-services .icon-box { width: 56px; height: 56px; border-radius: 12px; background: var(--blue); color: var(--white); }
@media (max-width: 640px) { .grid-services .icon-box { width: 44px; height: 44px; } }

/* Team: warmer, sandfarbener Grundton – holt die Wärme der Hauttöne in die Fläche */
:root { --warm: #f6f1ea; }
.section-warm { background: var(--warm); }
.section-warm .team-card { border-color: #e7dfd3; }

/* Kopfbild auf Unterseiten (z. B. Therapie), mit geschwungener Ecke wie im Einstieg */
.page-banner { display: block; width: 100%; aspect-ratio: 1448 / 620; object-fit: cover; border-radius: 120px 20px 20px 20px; margin-bottom: 48px; filter: var(--img-tone-color); }
@media (max-width: 640px) { .page-banner { aspect-ratio: 16 / 10; border-radius: 72px 20px 20px 20px; margin-bottom: 32px; } }

/* ---------- Korrekturen Finalreview (Barrierefreiheit) ---------- */
/* Fokusrahmen auf dunklem Grund weiß (Blau hätte dort nur 2:1 Kontrast) */
.site-footer :focus-visible, .apply-box :focus-visible, .notice-dark :focus-visible { outline-color: var(--white); }
/* Feste Kontaktleiste darf fokussierte Elemente nicht verdecken; bei sehr niedriger Höhe (Querformat, Zoom) nicht fixieren */
@media (max-width: 640px) {
	html { scroll-padding-bottom: 104px; }
	.quick-contact .btn { white-space: normal; text-align: center; line-height: 1.2; height: auto; padding-block: 8px; }
}
@media (max-width: 640px) and (max-height: 500px) {
	.quick-contact { position: static; }
	body { padding-bottom: 0; }
}
/* Lange Wörter (z. B. „Wirbelsäulengymnastik“) bei 320 px und großen Textabständen umbrechen statt abschneiden */
.course h3, .card h3, .team-card strong, .person strong { hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 400px) { .course h3 { overflow-wrap: anywhere; } }
/* Formular: Hinweise und Fehlermeldungen am Feld */
.contact-form .field-hint { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.contact-form .field-error { display: block; font-weight: 600; font-size: 14px; color: var(--red-dark); margin-top: 4px; }
.contact-form [aria-invalid="true"] { border: 2px solid var(--red); }
.contact-form .consent [aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }
/* Hinweis auf Symbolbilder im Footer */
.footer-note { margin: 20px 0 0; font-size: 14px; color: #b9cad6; }

/* ---------- Gestaltung nach Finalreview ---------- */
/* Startbild im vollen 3:2-Format: beide Griffe der Therapeutin bleiben sichtbar.
   Die Info-Box sitzt nicht mehr im Bild, sondern hängt an der unteren Bildkante bzw. steht mobil darunter. */
.hero-media img, .hero-media img[width] { aspect-ratio: 3 / 2; object-position: 50% 40%; }
.hero-media { margin-bottom: 36px; }
.hero-badge { left: -16px; bottom: -36px; right: auto; }
@media (max-width: 960px) {
	.hero-badge { left: 16px; }
}
@media (max-width: 640px) {
	.hero-media { margin-bottom: 0; }
	.hero-media img { aspect-ratio: 3 / 2; }
	.hero-badge { position: static; max-width: none; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); padding: 12px 16px; font-size: 16px; }
}
/* Stellen-Hinweis dunkel, damit er sich von „Aktuell“ unterscheidet; Fokus dort weiß */
.notice:not(.notice-light) :focus-visible { outline-color: var(--white); }
/* Anrufen-Auswahl in der Schnellkontakt-Leiste */
.call-choice { position: relative; display: grid; }
.call-menu { position: absolute; left: 0; bottom: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 8px; display: grid; gap: 4px; }
.call-menu[hidden] { display: none; }
.call-menu a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); min-height: 48px; }
.call-menu a:hover, .call-menu a:focus-visible { background: var(--tint-blue); }
.call-menu strong { font-size: 16px; }
.call-menu span { color: var(--blue); font-weight: 600; font-size: 17px; }
/* Zitat der Inhaberinnen im Teambereich */
.founders-quote { margin: 0 0 40px; padding: 28px 32px; background: var(--white); border-radius: 20px; border-left: 4px solid var(--blue); }
.founders-quote blockquote { margin: 0; }
.founders-quote blockquote p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); }
.founders-quote figcaption { margin-top: 16px; font-size: 16px; color: var(--muted); }
.founders-quote figcaption strong { display: block; color: var(--ink); font-size: 17px; }
@media (max-width: 640px) { .founders-quote { padding: 20px; margin-bottom: 28px; } .founders-quote blockquote p { font-size: 17px; } }
/* Hinweisleiste zwischen zwei farbigen Abschnitten: eigener Luftraum, damit sie nicht an den Flächen klebt */
.notice-band { padding-block: clamp(40px, 6vw, 64px); }
/* Zitat über die volle Rasterbreite (bündig mit Fotos und Karten), Text bleibt in lesbarer Zeilenlänge */
.founders-quote blockquote p, .founders-quote figcaption { max-width: 72ch; }
/* Inhaberinnen: Bild links, Zitat rechts; mobil untereinander */
.founders { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center; margin-bottom: 40px; }
.founders .founders-quote { margin: 0; }
.founders-photo { margin: 0; }
.founders-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 120px 20px 20px 20px; filter: var(--img-tone-color); }
/* KI-Kennzeichnung als dezentes Etikett unten rechts im Bild (Art. 50 Abs. 4 KI-VO) */
.founders-photo { position: relative; }
.founders-photo .ki-label { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 3px 10px; border-radius: 999px; background: rgba(11, 36, 51, .78); color: var(--white); font-size: 14px; font-weight: 600; line-height: 1.4; }
@media (max-width: 899px) {
	.founders { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 28px; }
	.founders-photo img { border-radius: 72px 20px 20px 20px; }
}
/* Kopfbild der Unterseiten: sitzt an der Kante des Titelbands statt nach einer großen Lücke und bleibt flacher,
   damit der Inhalt früher beginnt */
.page-banner {
	position: relative; z-index: 1;
	aspect-ratio: 1448 / 500; max-height: 440px;
	margin-top: calc(-1 * clamp(56px, 8vw, 96px) - 40px);
}
@media (max-width: 640px) {
	.page-banner { aspect-ratio: 16 / 9; max-height: none; margin-top: calc(-1 * clamp(56px, 8vw, 96px) - 12px); }
}
/* Kopfbild flacher: breiter Streifen, Ausschnitt auf die Hände ausgerichtet */
.page-banner { aspect-ratio: 1448 / 360; max-height: 300px; object-position: 50% 45%; }
@media (max-width: 640px) { .page-banner { aspect-ratio: 16 / 7; max-height: none; } }

/* ---------- Korrekturen unabhängiges Review ---------- */
/* Aktive Seite im Menü (Menüpunkte sind Links; WordPress setzt aria-current nur bei echten Seiten) */
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
/* Geöffnetes Menü bei großem Zoom bzw. geringer Fensterhöhe scrollbar statt abgeschnitten */
@media (max-width: 1199px) {
	.main-nav.is-open { max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
}
/* Smartphone: Kursbild oben über die volle Breite statt schmalem Hochkant-Streifen */
@media (max-width: 640px) {
	.course { display: flex; flex-direction: column; }
	.course img { grid-row: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
/* Lange Wörter in Therapietexten umbrechen (z. B. „…=schmerzlindernd“) */
.acc-body { overflow-wrap: anywhere; }
/* Schnellkontakt: Spalten dürfen schrumpfen (vergrößerte Textabstände) */
@media (max-width: 640px) { .quick-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* Fehler- und Hinweistexte stehen jetzt neben (nicht im) Label */
.contact-form .field-error { margin-top: -6px; }
.contact-form p.field-hint { margin: -6px 0 0; }
/* Kopfbild Therapien (Gleichgewichtsübung): Ausschnitt nach oben – Gesichter und Raum, Hände nur angeschnitten */
.page-banner { object-position: 50% 12%; }
/* Smartphone, endgültig: kompakte Kurskarte – quadratisches Bild (96 px) oben links neben dem Titel,
   Text und Button darunter über die volle Breite. Klein wie vorher, Motiv aber erkennbar. */
@media (max-width: 640px) {
	.course { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto; column-gap: 0; }
	.course img { grid-column: 1; grid-row: 1; width: 96px; height: 96px; min-height: 0; aspect-ratio: 1 / 1; margin: 16px 0 0 16px; border-radius: 12px; }
	.course-body { display: contents; }
	.course-body > .course-head { grid-column: 2; grid-row: 1; align-self: center; padding: 16px 16px 0 16px; }
	.course-body > p { grid-column: 1 / -1; margin: 12px 16px 0; }
	.course-body > .btn { grid-column: 1 / -1; margin: 12px 16px 16px; justify-self: start; }
}

/* ---------- Weiche Seitenwechsel ----------
   Beim Wechsel zwischen den Seiten blendet der Inhalt kurz über, statt hart umzuspringen.
   Kopfzeile und Kontaktleiste bleiben dabei stehen. Browser ohne Unterstützung wechseln wie bisher.
   Wer im Betriebssystem „Bewegung reduzieren“ eingestellt hat, bekommt keinen Übergang. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	.site-header { view-transition-name: kopfzeile; }
	.quick-contact { view-transition-name: schnellkontakt; }
	::view-transition-old(root) { animation: 180ms ease-out both seitenwechsel-aus; }
	::view-transition-new(root) { animation: 260ms ease-out 60ms both seitenwechsel-ein; }
}
@keyframes seitenwechsel-aus { to { opacity: 0; } }
@keyframes seitenwechsel-ein { from { opacity: 0; transform: translateY(6px); } }
