/* ==========================================================================
   Praxis Kohrmeyer – main.css
   Mobile First. Farben und Schriften kommen aus theme.json (--wp--preset--*).
   ========================================================================== */

:root {
	--papier: var(--wp--preset--color--papier, #FAF8F4);
	--sand-hell: var(--wp--preset--color--sand-hell, #F2EDE4);
	--sand: var(--wp--preset--color--sand, #E6DCCB);
	--tanne: var(--wp--preset--color--tanne, #2D4A3B);
	--tanne-dunkel: var(--wp--preset--color--tanne-dunkel, #1F3529);
	--apfel: var(--wp--preset--color--apfel, #8DA73D);
	--tinte: var(--wp--preset--color--tinte, #252A28);
	--tinte-weich: var(--wp--preset--color--tinte-weich, #56605B);
	--linie: #DCD3C3;
	--gold: #97761E;          /* Logo-Krone, nur Grafik (4,0:1 auf Papier) */
	--weiss: #FFFFFF;

	--serif: var(--wp--preset--font-family--serif, "Newsreader", Georgia, serif);
	--sans: var(--wp--preset--font-family--sans, "Hanken Grotesk", system-ui, sans-serif);

	--gutter: clamp(1.25rem, 4.5vw, 3rem);
	--max: 76rem;
	--header-h: 4.25rem;
	--radius: 0.25rem;
	--section-y: clamp(4rem, 9vw, 7.5rem);
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

@media (min-width: 64em) {
	:root { --header-h: 5.25rem; }
}

/* ---------- Basis ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--tinte);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

@media (min-width: 64em) {
	body { font-size: 1.125rem; }
}

img { display: block; max-width: 100%; height: auto; }

figure { margin: 0; }

.page-content :where(p, ul, ol, dl, address) { margin: 0 0 1rem; }
.page-content :where(p, ul, ol):last-child { margin-bottom: 0; }

address { font-style: normal; }

a { color: var(--tanne); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--tanne-dunkel); text-decoration-thickness: 2px; }

:focus-visible {
	outline: 2px solid var(--tanne);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4,
.page-content :where(h1, h2, h3, h4) {
	font-family: var(--serif);
	font-weight: 420;
	line-height: 1.15;
	letter-spacing: -0.012em;
	color: var(--tinte);
	margin: 0 0 1rem;
	text-wrap: balance;
}

.page-content h2, h2 { font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem); }
.page-content h3, h3 { font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.5rem); line-height: 1.25; }

p { text-wrap: pretty; }

strong { font-weight: 650; }

.visually-hidden,
.screen-reader-text {
	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 {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--tanne);
	color: var(--weiss);
	font-weight: 600;
	border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--weiss); }

/* ---------- Layout --------------------------------------------------------- */

.container {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
}
.container--wide { width: min(100% - 2 * var(--gutter), 90rem); }
.container--medium { width: min(100% - 2 * var(--gutter), 60rem); }
.container--narrow { width: min(100% - 2 * var(--gutter), 44rem); }

.page-content .section { padding-block: var(--section-y); }
.page-content .section--tight { padding-block: calc(var(--section-y) * 0.6); }
.page-content .section--flush-top { padding-top: 0; }
.section--sand { background: var(--sand-hell); }
.section--sand-deep { background: var(--sand); }

.center { text-align: center; }
.center .wp-block-buttons { justify-content: center; }

.page-content .section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 40rem; }
.section-head h2 { margin-bottom: 0; }

.page-content .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tanne);
}
.eyebrow::before {
	content: "";
	width: 0.55rem; height: 0.55rem;
	border-radius: 50%;
	background: var(--apfel);
	flex: none;
}

.page-content .lead {
	font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	line-height: 1.55;
	color: var(--tinte-weich);
	max-width: 40rem;
}

.page-content .small { font-size: 0.9375rem; }
.muted { color: var(--tinte-weich); }
.break-all { overflow-wrap: anywhere; }

.link-arrow {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.link-arrow::after {
	content: "→";
	transition: transform 0.2s ease;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }

.link-list { list-style: none; padding: 0; }
.link-list li + li { margin-top: 0.5rem; }

/* ---------- Buttons ------------------------------------------------------- */

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}
.page-content .wp-block-buttons { margin: 1.75rem 0 0; }
.wp-block-button { margin: 0; }

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.7rem 1.4rem;
	border: 1.5px solid var(--tanne);
	border-radius: var(--radius);
	background: var(--tanne);
	color: var(--weiss);
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover,
.wp-block-button__link:hover {
	background: var(--tanne-dunkel);
	border-color: var(--tanne-dunkel);
	color: var(--weiss);
	text-decoration: none;
}

.btn--ghost,
.is-style-outline .wp-block-button__link,
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--tanne);
}
.btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--tanne);
	color: var(--weiss);
}

.btn--small { min-height: 2.625rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header -------------------------------------------------------- */

.site-header-wrap {
	position: sticky;
	top: var(--admin-bar);
	z-index: 50;
}

.site-header {
	background: var(--papier);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.site-header.is-scrolled,
.site-header.is-open { border-bottom-color: var(--linie); }

.site-header__inner {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
}

.wordmark {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: var(--tinte);
	line-height: 1.1;
	margin-right: auto;
	padding-block: 0.5rem;
}
.wordmark:hover { color: var(--tinte); }
.wordmark__text { display: flex; flex-direction: column; }

/* Logo: Zahn mit Krone (nach dem bisherigen Praxislogo) */
.logo-mark {
	flex: none;
	width: auto;
	height: 3.2rem;
	margin-block: -0.5rem;
	overflow: visible;
}
.logo-mark__zahn { fill: var(--weiss); stroke: #A3AAAF; stroke-width: 24; stroke-linejoin: round; }
.logo-mark__krone { fill: var(--gold); }
.logo-mark__linie { fill: none; stroke: var(--gold); stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 64em) {
	.logo-mark { height: 3.75rem; }
}
.wordmark__name {
	white-space: nowrap;
	font-family: var(--serif);
	font-size: 1.375rem;
	font-weight: 450;
	letter-spacing: -0.01em;
}
.wordmark__sub {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tinte-weich);
	margin-top: 0.3rem;
}
@media (min-width: 64em) {
	.wordmark__name { font-size: 1.5rem; }
}
@media (max-width: 29.99em) {
	.wordmark__ort { display: none; }
	.wordmark { gap: 0.5rem; }
	.site-header .logo-mark { height: 2.4rem; margin-block: -0.25rem; }
	.site-header .wordmark__name { font-size: 1.125rem; }
	.site-header__inner { column-gap: 0.75rem; }
	.has-js .site-header__inner { flex-wrap: nowrap; }
	.hero__actions .wp-block-button,
	.cta-band__actions .wp-block-button { flex: 1 1 100%; }
	.hero__actions .wp-block-button__link,
	.cta-band__actions .wp-block-button__link { width: 100%; }
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding-inline: 0.5rem;
	color: var(--tanne);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border-radius: var(--radius);
}
.header-phone:hover { background: var(--sand-hell); }
.header-phone__number { display: none; }
@media (min-width: 40em) and (max-width: 63.99em), (min-width: 75em) {
	.header-phone__number { display: inline; }
}

.header-cta { display: none; white-space: nowrap; }
@media (min-width: 48em) {
	.header-cta { display: inline-flex; }
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	background: transparent;
	border: 1.5px solid var(--linie);
	border-radius: var(--radius);
	color: var(--tinte);
	font: 600 0.9375rem/1 var(--sans);
	cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Navigation – Grundzustand (ohne JS: einfache Linkzeile) */
.site-nav { order: 3; width: 100%; }
.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0 0 0.75rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
}
.site-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: var(--tinte);
	font-weight: 550;
	text-decoration: none;
}
.site-nav__link:hover { color: var(--tanne); text-decoration: underline; }
.site-nav__link[aria-current] {
	color: var(--tanne);
	text-decoration: underline;
	text-decoration-color: var(--apfel);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.45em;
}
.site-nav__sub,
.site-nav__mobile-info { display: none; }
.site-nav__subtoggle[hidden] { display: none; }

/* Mobil mit JS: aufklappbares Menü */
@media (max-width: 63.99em) {
	.has-js .site-nav {
		display: none;
		position: fixed;
		inset: calc(var(--header-h) + var(--admin-bar)) 0 0 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--papier);
		padding: 1rem var(--gutter) 2.5rem;
		border-top: 1px solid var(--linie);
	}
	.has-js.is-open .site-nav { display: block; }
	.nav-open body { overflow: hidden; }

	.has-js .site-nav__list { display: block; padding: 0; }
	.has-js .site-nav__item { border-bottom: 1px solid var(--linie); }
	.has-js .site-nav__link {
		font-family: var(--serif);
		font-size: 1.625rem;
		font-weight: 420;
		min-height: 3.5rem;
		width: 100%;
	}
	.has-js .site-nav__subtoggle { display: none; }
	.has-js .site-nav__sub {
		display: block;
		padding: 0 0 1.25rem;
	}
	.site-nav__subgroup + .site-nav__subgroup { margin-top: 1rem; }
	.site-nav__subtitle {
		margin: 0 0 0.25rem;
		font-size: 0.75rem;
		font-weight: 650;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--tinte-weich);
	}
	.site-nav__sub ul { list-style: none; margin: 0; padding: 0; }
	/* Mobil steht der Hauptlink direkt darüber, der Übersichtslink wäre doppelt. */
	.site-nav__sub--einfach li:first-child { display: none; }
	.site-nav__sub a {
		display: flex;
		align-items: center;
		min-height: 2.75rem;
		color: var(--tinte);
		text-decoration: none;
	}
	.has-js .site-nav__mobile-info {
		display: grid;
		gap: 0.75rem;
		margin-top: 2rem;
	}
	.site-nav__mobile-label {
		margin: 0;
		font-size: 0.75rem;
		font-weight: 650;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--tinte-weich);
	}
	.site-nav__mobile-info .hours { margin-bottom: 0.5rem; }
}

/* Desktop */
@media (min-width: 64em) {
	.site-header__inner { flex-wrap: nowrap; gap: 2rem; }
	.site-nav { order: 0; width: auto; }
	.site-nav__list { padding: 0; gap: 0 2rem; flex-wrap: nowrap; }
	.site-nav__item { position: relative; display: flex; align-items: center; }
	.site-nav__link { white-space: nowrap; }
	.wordmark__sub { white-space: nowrap; }
	.nav-toggle { display: none !important; }

	.site-nav__subtoggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 1.75rem;
		height: 2.75rem;
		margin-left: 0.15rem;
		padding: 0;
		background: none;
		border: 0;
		color: var(--tinte-weich);
		cursor: pointer;
	}
	.site-nav__subtoggle svg { transition: transform 0.2s ease; }
	.site-nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }

	.site-nav__item.is-open .site-nav__sub {
		display: grid;
		grid-template-columns: repeat(3, minmax(12rem, 1fr));
		gap: 2rem;
		position: absolute;
		top: calc(100% + 0.9rem);
		left: -2rem;
		width: max-content;
		padding: 2rem;
		background: var(--papier);
		border: 1px solid var(--linie);
		border-radius: var(--radius);
		box-shadow: 0 18px 40px -24px rgba(31, 53, 41, 0.35);
	}
	.site-nav__subtitle {
		margin: 0 0 0.75rem;
		font-size: 0.75rem;
		font-weight: 650;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--tinte-weich);
	}
	.site-nav__sub ul { list-style: none; margin: 0; padding: 0; }
	.site-nav__sub li + li { margin-top: 0.15rem; }
	.site-nav__sub a {
		display: block;
		padding: 0.35rem 0;
		color: var(--tinte);
		font-size: 1rem;
		text-decoration: none;
	}
	.site-nav__sub a:hover { color: var(--tanne); text-decoration: underline; }
	.site-nav__item.is-open .site-nav__sub--einfach {
		grid-template-columns: minmax(12rem, 1fr);
		padding: 1.25rem 2rem;
	}
}
/* Kleine Desktops: Logo, zwei Untermenüs und Aktionen passen sonst nicht in eine Zeile. */
@media (min-width: 64em) and (max-width: 79.99em) {
	.site-header__inner { gap: 1.25rem; }
	.site-nav__list { gap: 0 1.25rem; }
	.site-header .wordmark__ort { display: none; }
}

/* ---------- Sprechzeiten ------------------------------------------------- */

.hours { margin: 0; }
.hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px dotted var(--linie);
}
.hours__row:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Hero (Startseite) -------------------------------------------- */

.page-content .hero { padding-top: clamp(2rem, 5vw, 4rem); }

.hero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: end;
}
.page-content .hero__title {
	font-size: clamp(2.5rem, 1.55rem + 3.9vw, 4.6rem);
	line-height: 1.04;
	letter-spacing: -0.022em;
	font-weight: 400;
	max-width: 17ch;
	margin-bottom: 1.5rem;
}
.hero__text .lead { max-width: 36rem; }

.hero__facts {
	border-top: 2px solid var(--tanne);
	padding-top: 1.25rem;
}
.page-content .hero__facts-title {
	font-size: 0.8125rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tinte-weich);
	margin-bottom: 0.75rem;
}
.hero__facts-list {
	list-style: none;
	padding: 0;
	font-size: 1rem;
}
.hero__facts-list li {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--linie);
}
.hero__facts-list li:last-child { border-bottom: 0; }

.hero__media { margin-top: clamp(2.5rem, 4.5vw, 3.75rem); }
.hero__image {
	position: relative;
}
.hero__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 12% 60%;
	border-radius: var(--radius);
}
@media (min-width: 40em) {
	.hero__image img { aspect-ratio: 16 / 9; }
}
@media (min-width: 64em) {
	.hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
	.hero__image img { aspect-ratio: 1920 / 700; object-position: center; }
}

/* ---------- Haltung -------------------------------------------------------- */

.principles {
	display: grid;
	gap: 2.5rem;
}
.principle {
	border-top: 1px solid var(--linie);
	padding-top: 1.5rem;
}
.page-content .principle__num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.125rem;
	color: var(--tanne);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.principle__num::after {
	content: "";
	width: 0.45rem; height: 0.45rem;
	border-radius: 50%;
	background: var(--apfel);
}
.page-content .principle__title { margin-bottom: 0.75rem; }
.principle p:last-child { color: var(--tinte-weich); }

@media (min-width: 48em) {
	.principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

/* ---------- Leistungen (Indexliste) --------------------------------------- */

.services {
	display: grid;
	gap: 3rem;
}
.services__intro p:not(.eyebrow) { color: var(--tinte-weich); }
.services__intro .link-arrow { color: var(--tanne); }

.services__groups { display: grid; gap: 3.5rem; }
.service-group__head { margin-bottom: 1rem; }
.page-content .service-group__title { margin-bottom: 0.5rem; }
.page-content .service-group__intro { color: var(--tinte-weich); max-width: 36rem; }

.index-list { border-top: 1px solid var(--linie); }

.index-row {
	position: relative;
	padding: 1.15rem 3rem 1.15rem 0;
	border-bottom: 1px solid var(--linie);
	transition: background-color 0.15s ease;
}
.index-row::after {
	content: "→";
	position: absolute;
	right: 0.75rem;
	top: 1.2rem;
	color: var(--tanne);
	font-size: 1.125rem;
	transition: transform 0.2s ease;
}
.index-row:hover::after { transform: translateX(4px); }
.index-row:hover { background: color-mix(in srgb, var(--sand) 35%, transparent); }
.section--sand .index-row:hover { background: var(--papier); }

.page-content .index-row__title {
	font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
	margin: 0 0 0.25rem;
}
.index-row__title a {
	color: var(--tinte);
	text-decoration: none;
}
.index-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.index-row__title a:focus-visible { outline: none; }
.index-row:has(a:focus-visible) { outline: 2px solid var(--tanne); outline-offset: 2px; }

.page-content .index-row__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0.15rem 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tanne);
}
.index-row__tag::before {
	content: "";
	width: 0.45rem; height: 0.45rem;
	border-radius: 50%;
	background: var(--apfel);
}
.page-content .index-row__text { color: var(--tinte-weich); margin: 0; font-size: 1rem; }

.index-list--compact .index-row { padding-block: 1rem; }

@media (min-width: 64em) {
	.services { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
	.services__intro { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 2rem); }
	.services__groups--page { gap: 4.5rem; }
}

/* ---------- Praxis (Split & Collage) -------------------------------------- */

.split {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.collage {
	position: relative;
	padding-bottom: 18%;
	max-width: 34rem;
}
.collage__main { width: 72%; }
.collage__main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.collage__second {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 56%;
	border: 0.5rem solid var(--papier);
	border-radius: calc(var(--radius) + 0.25rem);
	background: var(--papier);
}
.collage__second img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.timeline {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 !important;
	border-left: 2px solid var(--sand);
}
.timeline li {
	position: relative;
	padding: 0.25rem 0 0.25rem 1.25rem;
}
.timeline li::before {
	content: "";
	position: absolute;
	left: -0.4rem;
	top: 0.75rem;
	width: 0.7rem; height: 0.7rem;
	border-radius: 50%;
	background: var(--papier);
	border: 2px solid var(--tanne);
}
.timeline strong { font-family: var(--serif); font-weight: 500; font-size: 1.15em; margin-right: 0.4rem; color: var(--tanne); }

@media (min-width: 64em) {
	.split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 6rem; }
}

/* ---------- Statement (Angstpatienten) ------------------------------------ */

.page-content .statement {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--tinte);
	margin: 0.5rem auto 1.75rem;
	text-wrap: balance;
}
.section--sand-deep p:not(.statement):not(.eyebrow) { max-width: 36rem; margin-inline: auto; }

.page-content .quote {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.45;
	border-left: 3px solid var(--apfel);
	padding-left: 1.25rem;
	margin: 1.75rem 0;
}

/* ---------- Patienteninformationen --------------------------------------- */

.info-grid { display: grid; gap: 2.5rem; }
.info-card { border-top: 2px solid var(--tanne); padding-top: 1.25rem; }
.page-content .info-card__title { font-size: 1.375rem; margin-bottom: 1rem; }
@media (min-width: 48em) {
	.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
	.info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

.page-content .steps {
	list-style: none;
	counter-reset: schritt;
	padding: 0;
}
.steps > li {
	counter-increment: schritt;
	position: relative;
	padding-left: 2.6rem;
	min-height: 1.8rem;
}
.steps > li + li { margin-top: 0.85rem; }
.steps > li::before {
	content: counter(schritt);
	position: absolute;
	left: 0;
	top: 0.05rem;
	width: 1.75rem; height: 1.75rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tanne);
	color: var(--weiss);
	font-size: 0.875rem;
	font-weight: 650;
}

.page-content .check-list { list-style: none; padding: 0; }
.check-list > li {
	position: relative;
	padding-left: 1.9rem;
}
.check-list > li + li { margin-top: 0.6rem; }
.check-list > li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.45em;
	width: 1.05rem; height: 0.6rem;
	border-left: 2px solid var(--tanne);
	border-bottom: 2px solid var(--tanne);
	transform: rotate(-45deg) scale(0.85);
	transform-origin: center;
}

/* ---------- FAQ ----------------------------------------------------------- */

.faq { display: grid; gap: 2rem; }
@media (min-width: 64em) {
	.faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
}
.faq__list { border-top: 1px solid var(--linie); }

.faq__item { border-bottom: 1px solid var(--linie); }
.faq__item summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.15rem 3rem 1.15rem 0;
	font-family: var(--serif);
	font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
	line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before,
.faq__item summary::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	top: 50%;
	width: 0.9rem; height: 1.5px;
	background: var(--tanne);
	transition: transform 0.2s ease;
}
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover { color: var(--tanne); }
.faq__item > p,
.faq__item > :not(summary) { padding: 0 3rem 1.25rem 0; color: var(--tinte-weich); }

/* ---------- Abschluss-Band ------------------------------------------------ */

.cta-band {
	background: var(--tanne);
	color: var(--papier);
}
.page-content .cta-band__title { color: var(--papier); font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); }
.cta-band p { color: color-mix(in srgb, var(--papier) 85%, transparent); }
.cta-band .wp-block-button__link {
	background: var(--papier);
	border-color: var(--papier);
	color: var(--tanne-dunkel);
}
.cta-band .wp-block-button__link:hover { background: var(--sand); border-color: var(--sand); }
.cta-band .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--papier);
	border-color: color-mix(in srgb, var(--papier) 60%, transparent);
}
.cta-band .is-style-outline .wp-block-button__link:hover { background: var(--papier); color: var(--tanne-dunkel); }
.cta-band :focus-visible { outline-color: var(--papier); }

/* ---------- Unterseiten --------------------------------------------------- */

.page-content .page-hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-content .page-hero__title {
	font-size: clamp(2.25rem, 1.6rem + 2.7vw, 3.75rem);
	letter-spacing: -0.02em;
	font-weight: 400;
	line-height: 1.08;
	margin-bottom: 1.25rem;
}

.page-content .breadcrumb {
	font-size: 0.875rem;
	color: var(--tinte-weich);
	margin-bottom: 1.75rem;
}
.breadcrumb a { color: var(--tinte-weich); }
.breadcrumb a:hover { color: var(--tanne); }
.breadcrumb__sep { margin-inline: 0.35rem; color: var(--linie); }

.article-grid { display: grid; gap: 2.5rem; align-items: start; }
.article-grid > .facts { order: -1; }
@media (min-width: 64em) {
	.article-grid { grid-template-columns: minmax(0, 1fr) 16.5rem; gap: 4.5rem; }
	.article-grid > .facts { order: 0; }
	.facts { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 2rem); }
}

.prose { max-width: 40rem; }
.page-content .prose h2 {
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
	margin: 2.75rem 0 0.85rem;
}
.page-content .prose > h2:first-child { margin-top: 0; }
.page-content .prose ul:not([class*="list-"]):not(.steps):not(.check-list):not(.columns-list) { padding-left: 1.25rem; }
.prose ul li::marker { color: var(--apfel); }
.prose li + li { margin-top: 0.35rem; }
.prose--columns { max-width: none; }
@media (min-width: 48em) {
	.prose--columns { columns: 2; column-gap: 3rem; }
	.prose--columns p { break-inside: avoid; }
}

.page-content .columns-list { padding-left: 1.25rem; }
@media (min-width: 40em) {
	.page-content .columns-list { columns: 2; column-gap: 2.5rem; }
	.columns-list li { break-inside: avoid; }
}

.facts {
	background: var(--sand-hell);
	border-top: 2px solid var(--tanne);
	padding: 1.5rem;
	border-radius: 0 0 var(--radius) var(--radius);
}
.page-content .facts__title {
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tinte-weich);
	margin-bottom: 1rem;
}
.facts__row { padding: 0.65rem 0; border-top: 1px solid var(--linie); }
.facts__row:first-of-type { border-top: 0; padding-top: 0; }
.page-content .facts__label { margin: 0; font-size: 0.8125rem; color: var(--tinte-weich); }
.page-content .facts__value { margin: 0; font-weight: 600; line-height: 1.4; }

.media-frame { position: relative; margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.media-frame img { width: 100%; border-radius: var(--radius); }
.container--medium > .media-frame { max-width: 37.5rem; }
.page-kontakt .container--medium > .media-frame,
.section-image .media-frame { max-width: none; }
.section-image { padding-block: var(--section-y); }

.termin-box-wrap { margin-block: clamp(1rem, 3vw, 2rem) var(--section-y); }
.termin-box {
	display: grid;
	gap: 1.75rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	background: var(--sand-hell);
	border-left: 4px solid var(--apfel);
	border-radius: var(--radius);
}
.termin-box p { margin: 0 0 0.75rem; }
.termin-box .eyebrow { margin-bottom: 0.75rem; }
.termin-box__title { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem) !important; margin-bottom: 0.75rem !important; }
.termin-box__text p:last-child { color: var(--tinte-weich); margin: 0; }
.termin-box__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-content: start; }
.termin-box__hours { flex-basis: 100%; font-size: 0.875rem; color: var(--tinte-weich); margin: 0.25rem 0 0 !important; }
@media (min-width: 56em) {
	.termin-box { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
}

.related { border-top: 1px solid var(--linie); }
.page-content .related__title { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* Kontaktseite */
.contact-options { display: grid; gap: 2.5rem; }
.contact-option { border-top: 2px solid var(--tanne); padding-top: 1.25rem; }
.page-content .contact-option__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.page-content .contact-option .wp-block-buttons { margin-top: 1rem; margin-bottom: 1rem; }
.big-link {
	font-family: var(--serif);
	font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
	text-decoration: none;
	white-space: nowrap;
}
@media (min-width: 56em) {
	.contact-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

.two-col { display: grid; gap: 3.5rem; }
@media (min-width: 56em) {
	.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}
.two-col h2 { font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); }

/* Praxisseite */
.split--portrait { align-items: start; }
.portrait { max-width: 26rem; }
.portrait .platzhalter { aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 64em) {
	.split--portrait { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}
.gallery__item { display: flex; flex-direction: column; }
.gallery__item img {
	width: 100%;
	flex: 1;
	min-height: 0;
	object-fit: cover;
	aspect-ratio: 1;
	border-radius: var(--radius);
}
.gallery__item--d img, .gallery__item--e img { aspect-ratio: 3 / 2; }
.gallery__item--c { grid-column: span 2; }
.gallery__item--c img { aspect-ratio: 3 / 2; object-position: center 70%; }
.wp-element-caption {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--tinte-weich);
}
@media (min-width: 48em) {
	.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
	.gallery__item--c { grid-column: 3; grid-row: 1 / span 2; }
	.gallery__item--c img { aspect-ratio: auto; height: 100%; object-position: center; }
}

/* ---------- Platzhalter (offene Punkte, vor Livegang entfernen) ---------- */

.platzhalter {
	border: 2px dashed var(--apfel);
	background: #F6F8EE;
	border-radius: var(--radius);
	padding: 1.1rem 1.25rem;
	margin: 1.5rem 0;
	font-size: 0.9375rem;
	color: var(--tinte);
}
.page-content .platzhalter p { margin: 0; }
.page-content .platzhalter__label {
	font-size: 0.75rem !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #4E6118;
	margin-bottom: 0.35rem !important;
}
.platzhalter--recht { border-color: #B07D2B; background: #FBF4E8; }
.platzhalter--recht .platzhalter__label { color: #7A5418; }

/* ---------- Footer -------------------------------------------------------- */

.site-footer {
	background: var(--tanne-dunkel);
	color: color-mix(in srgb, var(--papier) 88%, transparent);
	font-size: 0.9875rem;
	padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.site-footer a { color: var(--papier); }
.site-footer a:hover { color: var(--weiss); }
.site-footer :focus-visible { outline-color: var(--papier); }

.site-footer__inner {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin-inline: auto;
	display: grid;
	gap: 2.5rem;
}
@media (min-width: 40em) {
	.site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
	.site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 3rem; }
}

.wordmark--light, .wordmark--light:hover { color: var(--papier); margin: 0; padding: 0; }
.wordmark--light .wordmark__sub { color: color-mix(in srgb, var(--papier) 70%, transparent); }
.wordmark--light { --gold: #C9A44A; }
.wordmark--light .logo-mark { height: 3.6rem; }
.wordmark--light .logo-mark__zahn { stroke: none; }
.site-footer .site-footer__claim { margin: 1.25rem 0 0; max-width: 18rem; color: color-mix(in srgb, var(--papier) 75%, transparent); }

.site-footer__title {
	font-family: var(--sans) !important;
	font-size: 0.75rem !important;
	font-weight: 650 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--papier) 70%, transparent) !important;
	margin: 0 0 1rem !important;
}
.site-footer address, .site-footer p { margin: 0 0 1rem; }
.site-footer .hours__row { border-bottom-color: rgba(250, 248, 244, 0.18); padding: 0.3rem 0; }
.site-footer .hours dt { font-weight: 550; }
.site-footer__note { font-size: 0.875rem; margin-top: 0.75rem !important; color: color-mix(in srgb, var(--papier) 70%, transparent); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li + li { margin-top: 0.4rem; }
.site-footer__links a, .site-footer__legal a { text-decoration: none; }
.site-footer__links a:hover, .site-footer__legal a:hover { text-decoration: underline; }
.site-footer .link-arrow { color: var(--papier); }

.site-footer__bottom {
	width: min(100% - 2 * var(--gutter), var(--max));
	margin: clamp(3rem, 6vw, 4.5rem) auto 0;
	padding: 1.5rem 0 2rem;
	border-top: 1px solid rgba(250, 248, 244, 0.18);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	font-size: 0.875rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* ---------- Entwurfsmodus (nur auf Vorschau-Installationen) ------------- */

.entwurf-hinweis {
	padding: 0.5rem var(--gutter);
	background: #B07D2B;
	color: var(--weiss);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

/* ---------- Rechtlicher Pflichthinweis (z. B. Art. 21 DSGVO) ------------- */

.rechtshinweis {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--sand-hell);
	border-left: 4px solid var(--tanne);
}
.page-content .rechtshinweis__titel { font-family: var(--sans); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; margin: 0 0 0.5rem; }
.page-content .rechtshinweis p { margin: 0; }

/* ---------- WordPress-Feinheiten ------------------------------------------ */

.wp-site-blocks { padding: 0 !important; }
.site-main, .page-content { margin: 0 !important; }
.page-content > .section:first-child { margin-top: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

@media print {
	.site-header-wrap, .site-footer, .termin-box-wrap, .related, .cta-band { display: none; }
	body { font-size: 11pt; }
}
