/*
 * Neues HUBFitness und neue Coach-Seite Andi (Testseiten). Baut auf assets/startseite.css aus „Startseite (Neu)“ auf
 * (Variablen --phs-*, Hero, Abschnitte, Knöpfe, Schritte, FAQ, Handy-Leiste) und ergänzt nur die eigenen Bausteine.
 */

.ph-hubfit {
	--phs-bg: #121212;
	--phs-surface: #191919;
	--phs-surface-2: #202020;
	--phs-line: rgb(255 255 255 / 0.08);
	--phs-line-strong: rgb(255 255 255 / 0.16);
	--phs-text: #ffffff;
	--phs-muted: #bababa;
	--phs-red: #ef4444;
	--phs-red-soft: rgb(239 68 68 / 0.12);
	--phs-red-line: rgb(239 68 68 / 0.35);
	--phs-radius: 24px;
	--phs-radius-s: 14px;
}

.ph-hubfit .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ph-hubfit svg {
	width: 1.1em;
	height: 1.1em;
	flex-shrink: 0;
}

.ph-hubfit .ph-startseite-btn svg {
	width: 18px;
	height: 18px;
}

.ph-hubfit .ph-hubfit-small {
	color: var(--phs-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* Jeder zweite Abschnitt liegt auf einer Fläche, damit die lange Seite gegliedert bleibt. */
.ph-hubfit-band {
	border-block: 1px solid var(--phs-line);
	background: var(--phs-surface);
}

.ph-hubfit-icon {
	display: grid;
	flex: none;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 10px;
	background: var(--phs-red-soft);
	color: var(--phs-red);
}

.ph-hubfit .ph-hubfit-icon svg {
	width: 22px;
	height: 22px;
}

/* ---------- Hero ---------- */

/* Kleiner als auf der Startseite, damit „Dein Real-Life-Level-Up“ in eine Zeile passt. */
.ph-hubfit .ph-hubfit-hero-title {
	font-size: clamp(31px, 3.6vw, 52px);
	letter-spacing: -0.035em;
}

.ph-hubfit-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	list-style: none;
}

.ph-hubfit-tiles li {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.ph-hubfit-hero-img {
	position: relative;
	justify-self: center;
	width: 100%;
	max-width: 480px;
}

.ph-hubfit-hero-img > img:first-child {
	width: 100%;
	height: auto;
	border-radius: var(--phs-radius);
}

.ph-hubfit .ph-hubfit-symbol {
	position: absolute;
	top: -24px;
	right: -16px;
	width: 104px;
	height: 104px;
	border: 3px solid var(--phs-bg);
	border-radius: 50%;
}

.ph-hubfit-hero-badge {
	position: absolute;
	bottom: 24px;
	left: -20px;
	display: grid;
	padding: 12px 18px;
	border: 1px solid var(--phs-line-strong);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface);
	box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.9);
	color: var(--phs-muted);
	font-size: 13px;
	line-height: 1.4;
}

.ph-hubfit-hero-badge strong {
	color: var(--phs-text);
	font-size: 22px;
	font-weight: 800;
}

/* ---------- Bild + Text (Dein Coach, Mindset) ---------- */

.ph-hubfit-split {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(24px, 5vw, 56px);
	align-items: center;
}

.ph-hubfit-split-top {
	align-items: start;
}

.ph-hubfit-split > img {
	width: 100%;
	max-width: 420px;
	height: auto;
	aspect-ratio: 7 / 8;
	border-radius: var(--phs-radius);
	object-fit: cover;
	object-position: center 15%;
}

.ph-hubfit-split .ph-startseite-head {
	margin-bottom: 24px;
}

.ph-hubfit-split .ph-hubfit-small {
	margin-top: 14px;
}

/* Zahlen-Kacheln (HUBFitness „Dein Coach“, Coach-Seite) */
.ph-hubfit-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
	list-style: none;
}

.ph-hubfit-stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface-2);
}

.ph-hubfit-stats strong {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ph-hubfit-stats span {
	color: var(--phs-muted);
	font-size: 13px;
	line-height: 1.4;
}

/* ---------- Für wen ---------- */

.ph-hubfit-whom {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
	list-style: none;
}

.ph-hubfit-whom li {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 28px;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface);
}

.ph-hubfit-whom p {
	flex: 1;
	font-size: 16px;
}

.ph-hubfit-jumps {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ph-hubfit .ph-hubfit-jump {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	min-height: 44px;
	padding: 8px 16px;
	line-height: 1.3;
	border: 1px solid var(--phs-red-line);
	border-radius: 10px;
	background: var(--phs-red-soft);
	color: #fca5a5;
	font-size: 15px;
	font-weight: 800;
	transition: border-color 0.2s, color 0.2s;
}

.ph-hubfit .ph-hubfit-jump:hover {
	border-color: var(--phs-red);
	color: #fff;
}

/* ---------- Pakete ---------- */

.ph-hubfit-packages {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: stretch;
}

.ph-hubfit-package {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--phs-line-strong);
	border-radius: var(--phs-radius);
	background: var(--phs-surface-2);
	scroll-margin-top: 140px;
}

.ph-hubfit-package.is-featured {
	flex: 1.35 1 460px;
	border: 2px solid var(--phs-red);
	box-shadow: 0 24px 60px -30px rgb(239 68 68 / 0.6);
}

.ph-hubfit-package-top {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	padding: 18px 28px;
	background: rgb(255 255 255 / 0.05);
	color: var(--phs-muted);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ph-hubfit-package-top > span:nth-child(2) {
	flex: 1;
}

.ph-hubfit-package-top .ph-hubfit-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--phs-surface);
	color: var(--phs-muted);
}

.ph-hubfit .ph-hubfit-package-top svg {
	width: 26px;
	height: 26px;
}

.is-featured .ph-hubfit-package-top {
	background: var(--phs-red-soft);
	color: var(--phs-text);
}

.is-featured .ph-hubfit-package-top .ph-hubfit-icon,
.ph-hubfit-package-badge {
	background: var(--phs-red);
	color: #fff;
}

.ph-hubfit-package-badge {
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
}

.ph-hubfit-package-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
}

.ph-hubfit-package h3 {
	font-size: 24px;
	font-weight: 800;
}

.ph-hubfit-price {
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.ph-hubfit-price small {
	color: var(--phs-muted);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
}

.is-featured h3 {
	font-size: 28px;
}

.is-featured .ph-hubfit-price {
	font-size: 52px;
}

.ph-hubfit-package-plus {
	font-weight: 700;
}

.ph-hubfit-list {
	display: grid;
	gap: 10px;
	list-style: none;
}

.ph-hubfit-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.5;
}

.ph-hubfit-list svg {
	margin-top: 0.25em;
	color: var(--phs-red);
}

.ph-hubfit-package-foot {
	display: grid;
	gap: 14px;
	margin-top: auto;
	padding-top: 10px;
	color: var(--phs-muted);
	font-size: 14px;
}

.is-featured .ph-startseite-btn {
	min-height: 56px;
	font-size: 17px;
}

/* Vergleich */
.ph-hubfit-compare-head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	margin: clamp(40px, 5vw, 64px) 0 20px;
}

.ph-hubfit .ph-hubfit-subtitle {
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 800;
}

/* Schalter „Nur Unterschiede anzeigen“: blendet gleiche Zeilen per :has() aus, ohne JavaScript. */
.ph-hubfit-switch {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
}

.ph-hubfit-switch input {
	position: relative;
	flex: none;
	width: 44px;
	height: 24px;
	margin: 0;
	border: 1px solid var(--phs-line-strong);
	border-radius: 999px;
	background: var(--phs-surface-2);
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.ph-hubfit-switch input::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--phs-muted);
	transition: transform 0.2s, background-color 0.2s;
}

.ph-hubfit-switch input:checked {
	border-color: var(--phs-red);
	background: var(--phs-red);
}

.ph-hubfit-switch input:checked::before {
	background: #fff;
	transform: translateX(20px);
}

.ph-hubfit-switch input:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 3px;
}

.ph-hubfit-compare:has(.ph-hubfit-switch input:checked) .is-same {
	display: none;
}

.ph-hubfit-table-wrap {
	overflow-x: auto;
}

/* Getrennte Zellrahmen, damit die Ecken rund sein können. Der Rahmen des Themes (rot, rund um jede Zelle) ist abgeschaltet. */
.ph-hubfit-table {
	width: 100%;
	min-width: 560px;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 15px;
}

.ph-hubfit-table th,
.ph-hubfit-table td {
	padding: 13px 20px;
	border: 0;
	border-bottom: 1px solid var(--phs-line);
	background: var(--phs-surface-2);
	text-align: left;
	vertical-align: middle;
}

/* Grauer Rahmen um Leistung und Premium – rechts schließt die Pro-Spalte an. */
.ph-hubfit-table tr > :first-child {
	border-left: 1px solid var(--phs-line-strong);
}

.ph-hubfit-table thead th {
	border-top: 1px solid var(--phs-line-strong);
	font-size: 16px;
	font-weight: 800;
	vertical-align: bottom;
}

.ph-hubfit-table thead th:first-child {
	border-top-left-radius: var(--phs-radius-s);
}

.ph-hubfit-table tbody tr:last-child > * {
	border-bottom-color: var(--phs-line-strong);
}

.ph-hubfit-table tbody tr:last-child th {
	border-bottom-left-radius: var(--phs-radius-s);
}

.ph-hubfit-table tbody th {
	color: var(--phs-muted);
	font-weight: 400;
}

.ph-hubfit-table td {
	font-weight: 500;
}

/* Pro-Spalte: roter Rahmen rundum mit runden Ecken, rötliche Fläche (Rot zu 16 % bzw. 26 % auf der Fläche), fette Werte. */
.ph-hubfit-table .is-pro {
	border-inline: 2px solid var(--phs-red);
	background: #3a2323;
	font-weight: 700;
}

.ph-hubfit-table thead .is-pro {
	border-top: 2px solid var(--phs-red);
	border-radius: var(--phs-radius-s) var(--phs-radius-s) 0 0;
	background: #4d2626;
	font-size: 18px;
}

.ph-hubfit-table tbody tr:last-child .is-pro {
	border-bottom: 2px solid var(--phs-red);
	border-radius: 0 0 var(--phs-radius-s) var(--phs-radius-s);
}

.ph-hubfit-table .ph-hubfit-package-badge {
	display: table;
	margin-bottom: 8px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ph-hubfit-yes {
	color: #22c55e;
}

/* Der Haken steht sonst auf der Grundlinie und damit höher als der Text daneben. */
.ph-hubfit-yes svg {
	vertical-align: -0.22em;
}

.ph-hubfit-no {
	color: var(--phs-muted);
}

/* ---------- Ergebnisse ---------- */

.ph-hubfit-results {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
	list-style: none;
}

.ph-hubfit-results li,
.ph-hubfit-quote {
	padding: 24px;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface-2);
}

.ph-hubfit-results li {
	display: grid;
	gap: 6px;
	color: var(--phs-muted);
	text-align: center;
}

.ph-hubfit-results span:first-child {
	color: var(--phs-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ph-hubfit-results strong {
	color: var(--phs-text);
	font-size: clamp(40px, 5vw, 52px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.ph-hubfit-quote {
	display: grid;
	align-content: start;
	gap: 10px;
}

.ph-hubfit-quote blockquote {
	border: 0;
	font-size: 15px;
	line-height: 1.6;
}

.ph-hubfit-quote figcaption {
	color: var(--phs-muted);
	font-size: 13px;
}

/* ---------- Mindset ---------- */

.ph-hubfit-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	list-style: none;
}

.ph-hubfit-topics li {
	padding: 6px 14px;
	border: 1px solid var(--phs-line-strong);
	border-radius: 999px;
	font-size: 14px;
}

.ph-hubfit-offers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.ph-hubfit-offer {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface);
}

.ph-hubfit-offer-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
}

.ph-hubfit-offer h3 {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	font-size: 18px;
	letter-spacing: 0;
}

.ph-hubfit-offer h3 span {
	font-size: 20px;
	white-space: nowrap;
}

.ph-hubfit-offer-body p {
	flex: 1;
	color: var(--phs-muted);
	font-size: 15px;
	line-height: 1.55;
}

/* ---------- Und im Game? ---------- */

.ph-hubfit-banner-section {
	padding-bottom: clamp(48px, 6vw, 88px);
}

.ph-hubfit-banner {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: center;
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--phs-red-line);
	border-radius: var(--phs-radius);
	background: var(--phs-red-soft);
}

.ph-hubfit-banner .ph-startseite-head {
	flex: 999 1 480px;
	margin-bottom: 0;
}

.ph-hubfit-banner h2,
.ph-hubfit-promo h2 {
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.15;
}

/* ---------- Produktkacheln (Bootcamps, Teamcoaching) ---------- */

.ph-hubfit-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	list-style: none;
}

.ph-hubfit-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface-2);
}

.ph-hubfit-card-img {
	position: relative;
	margin-bottom: 6px;
	border-radius: 10px;
	background: var(--phs-bg);
}

.ph-hubfit-card-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	object-fit: contain;
}

.is-soldout .ph-hubfit-card-img img {
	opacity: 0.55;
}

.ph-hubfit-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #3a3a42;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ph-hubfit-card h3 {
	font-size: 17px;
	line-height: 1.35;
	letter-spacing: 0;
}

.ph-hubfit-card-price {
	font-weight: 700;
}

.ph-hubfit-card .ph-startseite-btn {
	margin-top: auto;
}

.ph-hubfit-coach .ph-hubfit-card {
	background: var(--phs-surface);
}

/* ---------- Warteliste (ausgeblendet, solange im Inhalt abgeschaltet) ---------- */

.ph-hubfit-form {
	display: grid;
	gap: 14px;
	max-width: 640px;
	margin-top: 24px;
}

.ph-hubfit-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.ph-hubfit-fields label {
	display: grid;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
}

.ph-hubfit-fields input {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--phs-line-strong);
	border-radius: 10px;
	background: var(--phs-surface-2);
	color: var(--phs-text);
	font: inherit;
}

.ph-hubfit-fields input:focus-visible,
.ph-hubfit-consent input:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 2px;
}

.ph-hubfit-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--phs-muted);
	font-size: 14px;
}

.ph-hubfit-consent input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--phs-red);
}

.ph-hubfit .ph-hubfit-consent a {
	text-decoration: underline;
}

.ph-hubfit-form .ph-startseite-btn {
	justify-self: start;
}

/* Honeypot für Bots: nicht sichtbar, nicht fokussierbar. */
.ph-hubfit-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ph-hubfit .ph-hubfit-notice {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: 10px;
	font-weight: 600;
}

.ph-hubfit-notice.is-ok {
	background: rgb(34 197 94 / 0.14);
	color: #4ade80;
}

.ph-hubfit-notice.is-error {
	background: var(--phs-red-soft);
	color: #fca5a5;
}

/* ---------- Gutschein ---------- */

.ph-hubfit-gift {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
	align-items: center;
	margin-top: clamp(32px, 4vw, 48px);
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--phs-line);
	border-radius: var(--phs-radius-s);
	background: var(--phs-surface-2);
}

.ph-hubfit-gift img {
	width: 150px;
	height: auto;
}

.ph-hubfit-gift > div {
	flex: 999 1 320px;
}

.ph-hubfit-gift h3 {
	font-size: 20px;
	letter-spacing: 0;
}

.ph-hubfit-gift p {
	margin-top: 6px;
	color: var(--phs-muted);
}

/* ---------- Schluss ---------- */

.ph-hubfit-final {
	padding-block: clamp(48px, 6vw, 80px);
	border-top: 1px solid var(--phs-red-line);
	background: var(--phs-red-soft);
	color: var(--phs-muted);
	text-align: center;
}

.ph-hubfit-final h2 {
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.1;
}

.ph-hubfit-final .ph-startseite-actions {
	justify-content: center;
	margin: 28px 0 16px;
}

.ph-hubfit .ph-hubfit-final p a,
.ph-hubfit .ph-hubfit-claim a {
	color: #fca5a5;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Coach-Seite Andi ---------- */

.ph-hubfit-coach-grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.ph-hubfit-coach-side {
	display: grid;
	gap: 20px;
}

.ph-hubfit-coach-book {
	display: grid;
	gap: 20px;
}

/*
 * Der Text rechts ist fast dreimal so lang wie die linke Spalte. Statt Leerraum zu lassen, bleibt die Buchung beim
 * Scrollen unter der Kopfzeile stehen; das Bild scrollt weg. Die Kopfzeile ist durch das Bewertungs-Widget rund
 * 20 px höher als --header-sticky-height des Themes, daher 44 px Abstand. Ist die Buchung höher als das Fenster,
 * bleibt ihr unteres Ende sichtbar (--ph-book-h setzt assets/coach.js).
 */
@media (min-width: 1025px) {
	.ph-hubfit-coach-side {
		grid-template-rows: auto 1fr;
		align-self: stretch;
	}

	.ph-hubfit-coach-book {
		position: sticky;
		top: min(calc(44px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px)), calc(100vh - var(--ph-book-h, 0px) - 24px));
		align-self: start;
	}
}

.ph-hubfit-coach-side > img {
	width: 100%;
	height: auto;
	border-radius: var(--phs-radius);
}

.ph-hubfit-coach-side .ph-startseite-selector {
	scroll-margin-top: 140px;
}

/* „Wähl dein Stundenpaket“ am Textende springt kaum noch, weil die Buchung daneben steht – sie leuchtet stattdessen kurz auf. */
.ph-hubfit-coach-side .ph-startseite-selector:target > * {
	animation: ph-hubfit-target 1.4s ease-out;
}

@keyframes ph-hubfit-target {
	from { box-shadow: 0 0 0 3px var(--phs-red); }
}

.ph-hubfit-coach-head {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.ph-hubfit-coach-head h1 {
	font-size: clamp(44px, 5.4vw, 64px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}

.ph-hubfit-coach-marks {
	display: flex;
	gap: 12px;
	align-items: center;
}

.ph-hubfit-coach-marks img {
	width: 88px;
	height: 88px;
	border-radius: 50%;
}

/* Fließtext ohne Boxen */
.ph-hubfit-prose > * + * {
	margin-top: 14px;
}

.ph-hubfit-prose h2 {
	font-size: clamp(24px, 2.8vw, 30px);
	font-weight: 800;
}

.ph-hubfit-prose h3,
.ph-hubfit-proof h3 {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ph-hubfit-prose > h3 {
	margin-top: 32px;
}

.ph-hubfit-prose p,
.ph-hubfit-prose li,
.ph-hubfit-proof > p:not(.ph-hubfit-small) {
	color: rgb(255 255 255 / 0.84);
	font-size: 16px;
	line-height: 1.7;
}

.ph-hubfit-prose ul,
.ph-hubfit-prose ol {
	padding-left: 22px;
}

.ph-hubfit-prose li + li {
	margin-top: 6px;
}

.ph-hubfit-prose strong {
	color: var(--phs-text);
}

.ph-hubfit-prose blockquote {
	padding-inline-start: 20px;
	border-inline-start: 3px solid var(--phs-red);
	font-style: italic;
}

.ph-hubfit .ph-hubfit-claim {
	color: var(--phs-text);
	font-size: clamp(18px, 2vw, 21px);
	font-weight: 800;
	line-height: 1.5;
}

/* Kunden-Screenshots als Rang-Leiter: Stufen oben, wischbare Reihe darunter, Groß-Ansicht im Dialog (assets/coach.js) */
.ph-hubfit-proof {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--phs-line);
}

.ph-hubfit-slider {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	margin-top: 10px;
}

.ph-hubfit-ladder {
	--ph-step: 58px;

	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	list-style: none;
}

.ph-hubfit-ladder li {
	position: relative;
}

/* Verbindung zur vorherigen Stufe, rot sobald die Stufe erreicht ist. Sie läuft nur zwischen den Kreisen, nicht dahinter. */
.ph-hubfit-ladder li + li::before {
	content: "";
	position: absolute;
	top: calc(var(--ph-step) / 2 - 1px);
	right: calc(50% + var(--ph-step) / 2 + 8px);
	width: calc(100% - var(--ph-step) - 16px);
	height: 2px;
	background: var(--phs-line-strong);
	transition: background-color 0.2s;
}

.ph-hubfit-ladder li.is-done::before {
	background: var(--phs-red);
}

.ph-hubfit-ladder button {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 6px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--phs-muted);
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.ph-hubfit-ladder img,
.ph-hubfit-ladder-mark {
	width: var(--ph-step);
	height: var(--ph-step);
	padding: 7px;
	border: 2px solid var(--phs-line-strong);
	border-radius: 50%;
	background: var(--phs-surface);
	transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.ph-hubfit-ladder-mark {
	display: grid;
	place-items: center;
	font-size: 20px;
	font-weight: 800;
}

/* Noch nicht erreichte Stufen sind entfärbt. */
.ph-hubfit-ladder li:not(.is-done) img {
	filter: grayscale(1) brightness(0.6);
}

.ph-hubfit-ladder li.is-done img,
.ph-hubfit-ladder li.is-done .ph-hubfit-ladder-mark,
.ph-hubfit-ladder button:hover img,
.ph-hubfit-ladder button:hover .ph-hubfit-ladder-mark {
	border-color: var(--phs-red);
}

.ph-hubfit-ladder [aria-current] {
	color: var(--phs-text);
}

.ph-hubfit-ladder [aria-current] img,
.ph-hubfit-ladder [aria-current] .ph-hubfit-ladder-mark {
	box-shadow: 0 0 0 5px var(--phs-red-soft);
}

.ph-hubfit-ladder button:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 4px;
	border-radius: 12px;
}

.ph-hubfit-stage {
	position: relative;
}

.ph-hubfit-slides {
	display: flex;
	overflow-x: auto;
	border: 1px solid var(--phs-line-strong);
	border-radius: var(--phs-radius-s);
	background: #0d0d0f;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ph-hubfit-slides::-webkit-scrollbar {
	display: none;
}

.ph-hubfit-slides:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 3px;
}

.ph-hubfit-slides li {
	flex: 0 0 100%;
	min-width: 0;
	scroll-snap-align: start;
}

.ph-hubfit-slides a {
	display: block;
	cursor: zoom-in;
}

.ph-hubfit-slides a img {
	width: 100%;
	height: clamp(300px, 46vw, 500px);
	object-fit: contain;
}

.ph-hubfit-slides figcaption {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 12px 16px;
	border-top: 1px solid var(--phs-line);
	background: var(--phs-surface);
	font-size: 15px;
}

.ph-hubfit-slides figcaption img {
	width: 30px;
	height: 30px;
}

.ph-hubfit-slides figcaption svg {
	color: var(--phs-muted);
}

.ph-hubfit-slides figcaption span {
	margin-left: auto;
	color: var(--phs-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}

.ph-hubfit-slider-btn {
	position: absolute;
	top: clamp(150px, 23vw, 250px);
	display: grid;
	width: 44px;
	height: 44px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--phs-line-strong);
	border-radius: 50%;
	background: rgb(18 18 18 / 0.85);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
}

.ph-hubfit-slider-btn:hover {
	border-color: var(--phs-red);
}

.ph-hubfit-slider-btn:focus-visible,
.ph-hubfit-zoom-close:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 2px;
}

.ph-hubfit-slider-btn[data-dir="-1"] {
	left: 10px;
}

.ph-hubfit-slider-btn[data-dir="1"] {
	right: 10px;
}

.ph-hubfit .ph-hubfit-slider-btn svg {
	width: 20px;
	height: 20px;
}

/* Groß-Ansicht: eingepasst, ein Klick aufs Bild zeigt die Originalgröße zum Verschieben. */
.ph-hubfit-zoom {
	max-width: min(96vw, 1100px);
	max-height: 94vh;
	padding: 0;
	overflow: auto;
	border: 1px solid var(--phs-line-strong);
	border-radius: var(--phs-radius-s);
	background: #0d0d0f;
}

.ph-hubfit-zoom::backdrop {
	background: rgb(0 0 0 / 0.85);
}

.ph-hubfit .ph-hubfit-zoom img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(94vh - 2px);
	cursor: zoom-in;
}

.ph-hubfit .ph-hubfit-zoom.is-zoomed img {
	max-width: none;
	max-height: none;
	cursor: zoom-out;
}

.ph-hubfit-zoom-close {
	position: fixed;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--phs-line-strong);
	border-radius: 50%;
	background: rgb(18 18 18 / 0.9);
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

/* Rückmeldungen der Schüler: Auswahl nach Einwänden sortiert, alle weiteren aufklappbar (Abstand und Trennlinie von .ph-hubfit-proof) */
.ph-hubfit-scores {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	color: var(--phs-muted);
	font-size: 14px;
}

.ph-hubfit-scores .ph-hubfit-topics {
	margin-bottom: 0;
}

.ph-hubfit-scores li {
	padding: 4px 12px;
	border-color: var(--phs-red);
	color: var(--phs-text);
	font-weight: 800;
}

.ph-hubfit-voices {
	scroll-margin-top: 140px;
}

/* h4 kennt der Reset aus startseite.css nicht, deshalb hier alles ausdrücklich. */
.ph-hubfit-voices h4 {
	margin: 18px 0 0;
	padding: 0;
	color: var(--phs-text);
	font-family: var(--phs-font);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.3;
}

/* Eine Stimme direkt an der Buchung, führt zu allen Rückmeldungen. */
.ph-hubfit a.ph-hubfit-coach-voice,
.ph-hubfit a.ph-hubfit-coach-voice:hover {
	display: grid;
	gap: 4px;
	padding-inline-start: 16px;
	border-inline-start: 3px solid var(--phs-red);
	color: var(--phs-text);
	font-size: 15px;
	line-height: 1.5;
}

.ph-hubfit-coach-voice span {
	display: flex;
	gap: 6px;
	align-items: center;
	color: var(--phs-muted);
	font-size: 13px;
}

.ph-hubfit-coach-voice:hover span {
	color: var(--phs-text);
}

.ph-hubfit-voice-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 12px;
	list-style: none;
}

.ph-hubfit-voices .ph-hubfit-quote {
	height: 100%;
	padding: 18px 20px;
	background: var(--phs-surface);
}

.ph-hubfit-voices .ph-hubfit-quote p + p {
	margin-top: 10px;
}

.ph-hubfit .ph-hubfit-voice-note {
	padding-inline-start: 20px;
	border-inline-start: 3px solid var(--phs-red);
	color: var(--phs-text);
	font-size: 15px;
}

.ph-hubfit-voice-all {
	margin-top: 14px;
	container-type: inline-size;
}

.ph-hubfit-voice-all summary {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border: 1px solid var(--phs-line-strong);
	border-radius: var(--phs-radius-s);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.ph-hubfit-voice-all summary::-webkit-details-marker {
	display: none;
}

/* Winkel wie im FAQ der Startseite */
.ph-hubfit-voice-all summary::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-top: -5px;
	border-right: 2px solid var(--phs-muted);
	border-bottom: 2px solid var(--phs-muted);
	transform: rotate(45deg);
}

.ph-hubfit-voice-all[open] summary::after {
	margin-top: 5px;
	transform: rotate(-135deg);
}

.ph-hubfit-voice-all summary:hover {
	border-color: var(--phs-red);
}

.ph-hubfit-voice-all summary:focus-visible {
	outline: 2px solid var(--phs-red);
	outline-offset: 3px;
}

/* Karten unterschiedlich lang: zwei Spalten, die von oben nach unten gefüllt werden. */
.ph-hubfit-voice-wall {
	margin-top: 12px;
	columns: 2 280px;
	column-gap: 12px;
	list-style: none;
}

.ph-hubfit-voice-wall li {
	margin-bottom: 12px;
	break-inside: avoid;
}

/* HUBFitness: Kunden-Reviews ohne Aufklappen, höchstens so breit wie die Screenshots selbst. */
.ph-hubfit-kunden {
	max-width: 905px;
	margin-block: 0 16px;
}

/* Breit: die drei Zahlen als Spalte links, die Reviews daneben in Originalbreite – zusammen füllen sie die Seitenbreite. */
@media (min-width: 1240px) {
	.ph-hubfit-proofs {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 905px);
		gap: 16px;
		align-items: start;
	}

	.ph-hubfit-proofs .ph-hubfit-results {
		position: sticky;
		top: calc(44px + var(--admin-bar, 0px) + var(--header-sticky-height, 0px));
		grid-template-columns: minmax(0, 1fr);
		margin-bottom: 0;
	}

	.ph-hubfit-proofs .ph-hubfit-results strong {
		font-size: 40px;
	}
}

.ph-hubfit-split .ph-hubfit-kunden {
	margin-top: 16px;
}

.ph-hubfit-kunden .ph-hubfit-voice-wall {
	margin-top: 0;
}

.ph-hubfit .ph-hubfit-voice-wall img {
	display: none;
}

/*
 * Ab 640 px Spaltenbreite ist die Schrift in den Original-Screenshots lesbar: dann untereinander wie im Discord-Channel
 * und ohne den abgetippten Text. Schmaler (Handy) bleibt es beim Text, das Bild wird dort gar nicht geladen.
 */
@container (min-width: 640px) {
	.ph-hubfit-voice-wall {
		columns: auto;
	}

	.ph-hubfit-voices .has-shot {
		padding: 0;
		overflow: hidden;
		background: #0b0b0c;
	}

	.ph-hubfit-voice-wall .has-shot blockquote,
	.ph-hubfit-voice-wall .has-shot figcaption {
		display: none;
	}

	.ph-hubfit .ph-hubfit-voice-wall img {
		display: block;
		height: auto;
	}
}

.ph-hubfit-coach .ph-hubfit-stats {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 32px 24px;
}

.ph-hubfit-coach .ph-hubfit-stats li {
	background: var(--phs-surface);
}

.ph-hubfit-coach-block {
	padding-bottom: clamp(40px, 5vw, 64px);
}

/* HUBFitness-Kachel */
.ph-hubfit-promo {
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	border: 1px solid var(--phs-red-line);
	border-radius: var(--phs-radius);
	background: var(--phs-red-soft);
}

.ph-hubfit-promo > img {
	flex: 1 1 280px;
	width: 280px;
	max-width: 360px;
	height: auto;
	min-height: 320px;
	object-fit: cover;
	object-position: center 20%;
}

.ph-hubfit-promo > div {
	display: flex;
	flex: 999 1 420px;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	justify-content: center;
	padding: clamp(24px, 4vw, 40px);
}

.ph-hubfit-promo .ph-hubfit-topics {
	margin-bottom: 0;
}

.ph-hubfit-promo .ph-hubfit-topics li {
	border-color: var(--phs-red-line);
}

.ph-hubfit-videos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.ph-hubfit-videos h3 {
	margin-bottom: 12px;
	font-size: 20px;
	letter-spacing: -0.01em;
}

.ph-hubfit .ph-hubfit-coach-back {
	margin-top: 32px;
}

/* ---------- Responsiv ---------- */

@media (max-width: 1024px) {
	.ph-hubfit-split,
	.ph-hubfit-coach-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ph-hubfit-split > img,
	.ph-hubfit-coach-side {
		max-width: 420px;
		margin-inline: auto;
	}

	.ph-hubfit-hero-img {
		max-width: 400px;
		margin-top: 16px;
	}

	.ph-hubfit-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	.ph-hubfit-tiles,
	.ph-hubfit-fields,
	.ph-hubfit-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.ph-hubfit .ph-hubfit-symbol {
		top: -20px;
		right: -8px;
		width: 80px;
		height: 80px;
	}

	.ph-hubfit-hero-badge {
		left: -8px;
	}

	.ph-hubfit-package-top,
	.ph-hubfit-package-body {
		padding-inline: 20px;
	}

	.ph-hubfit-price,
	.is-featured .ph-hubfit-price {
		font-size: 40px;
	}

	.ph-hubfit-coach-marks img {
		width: 64px;
		height: 64px;
	}

	/* Beide Pakete ohne Wischen nebeneinander lesbar. */
	.ph-hubfit-table {
		min-width: 0;
		font-size: 14px;
	}

	.ph-hubfit-table th,
	.ph-hubfit-table td {
		padding: 11px 10px;
	}

	.ph-hubfit-table thead th {
		font-size: 14px;
	}

	.ph-hubfit-table th:first-child {
		width: 38%;
	}

	/* Am Handy nur die Symbole, der Name der Stufe steht unter dem Bild. */
	.ph-hubfit-ladder button span:last-child {
		display: none;
	}

	/* Acht Stufen nebeneinander: Kreise so klein, dass zwischen ihnen noch eine Linie bleibt. */
	.ph-hubfit-ladder {
		--ph-step: 36px;
	}

	.ph-hubfit-ladder img,
	.ph-hubfit-ladder-mark {
		padding: 4px;
	}

	.ph-hubfit-ladder li + li::before {
		right: calc(50% + var(--ph-step) / 2 + 3px);
		width: calc(100% - var(--ph-step) - 6px);
	}

	.ph-hubfit-table .ph-hubfit-package-badge {
		padding: 4px 8px;
		font-size: 10px;
		letter-spacing: 0;
	}

	.ph-hubfit-table thead .is-pro {
		font-size: 15px;
	}

	/* Lange Paketnamen brechen in der Kachel um, dann passt die Pillenform nicht mehr. */
	.ph-hubfit-promo .ph-hubfit-topics li {
		border-radius: 14px;
	}

	.ph-hubfit-ladder-mark {
		font-size: 16px;
	}

	.ph-hubfit-promo > img {
		max-width: none;
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.ph-hubfit-form .ph-startseite-btn,
	.ph-hubfit-gift .ph-startseite-btn,
	.ph-hubfit-coach-back {
		width: 100%;
	}
}
