/*
 * Hausärztin 22 – Design-System (Frontend)
 * ---------------------------------------------------------------------------
 * Tokens: theme.json (gemessene Originalfarben der bisherigen Website).
 * Layout: Seiten-Shell = 80 vw (max. 1680 px), responsive abgestuft.
 * Schriften: Public Sans (Überschriften, selbst gehostet), Poppins (Fließtext/UI).
 *
 * Grundsätze:
 *  - Bilder sind an den Inhalt gekoppelt (max. 45 % Spaltenbreite, max. 560 px;
 *    Porträts 420 px), nur der Hero ist ein bildfüllendes Band mit max. 72 vh.
 *  - Fließtext max. 72 ch, Zeilenlänge ≤ ~75 Zeichen.
 *  - mobile first, Touch-Ziele ≥ 44 × 44 px, sichtbarer Fokus,
 *    prefers-reduced-motion wird respektiert.
 *  - keine externen Requests: Schriften und Bilder liegen im Theme.
 */

/* ==========================================================================
   1. Schriften (selbst gehostet)
   ========================================================================== */
   Poppins – SIL Open Font License 1.1 (OFL.txt)
   Public Sans – SIL Open Font License 1.1 (OFL-PublicSans.txt)

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-600-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Public Sans liegt als Variable Font vor (wght 100–900). */
@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/public-sans-var-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Public Sans";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/public-sans-var-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Tokens, Basis, Barrierefreiheit
   ========================================================================== */

:root {
	/* Gemessene Originalfarben (theme.json-Palette) */
	--ha-primary: var(--wp--preset--color--primary, #c3006b);
	--ha-primary-alt: var(--wp--preset--color--primary-alt, #cc006c);
	--ha-primary-mid: var(--wp--preset--color--primary-mid, #cc5594);
	--ha-primary-bright: var(--wp--preset--color--primary-bright, #d100b5);
	--ha-rose: var(--wp--preset--color--rose, #edbde4);
	--ha-gold: var(--wp--preset--color--gold, #edbb5f);
	--ha-ink: var(--wp--preset--color--ink, #000000);
	--ha-gray: var(--wp--preset--color--gray, #666666);
	--ha-line: var(--wp--preset--color--line, #eeeeee);
	--ha-line-strong: var(--wp--preset--color--line-strong, #dddddd);
	--ha-white: var(--wp--preset--color--white, #ffffff);
	--ha-cream: var(--wp--preset--color--cream, #fdf9f7);

	/* Abgeleitete Werte (nicht gemessen) – ausschließlich via color-mix */
	--ha-rose-mist: #fbedf5;
	--ha-rose-mist: color-mix(in srgb, var(--ha-primary) 7%, var(--ha-white));
	--ha-rose-soft: #f7e3f4;
	--ha-rose-soft: color-mix(in srgb, var(--ha-rose) 42%, var(--ha-white));
	--ha-gold-soft: #faeacf;
	--ha-gold-soft: color-mix(in srgb, var(--ha-gold) 30%, var(--ha-white));
	--ha-gold-deep: #d1a554;
	--ha-gold-deep: color-mix(in srgb, var(--ha-gold) 88%, var(--ha-ink));
	--ha-ink-82: rgba(0, 0, 0, 0.82);
	--ha-ink-66: rgba(0, 0, 0, 0.66);
	--ha-ink-42: rgba(0, 0, 0, 0.42);
	--ha-white-92: rgba(255, 255, 255, 0.92);
	--ha-white-78: rgba(255, 255, 255, 0.78);

	/* Funktionsfarben (Status „geöffnet") – bewusst nur hier, nicht als Palette */
	--ha-status-open: #145c3e;
	--ha-status-open-dot: #1c7c54;
	--ha-status-bg: #e8f3ec;

	--ha-radius-sm: var(--wp--custom--radius--sm, 8px);
	--ha-radius-md: var(--wp--custom--radius--md, 14px);
	--ha-radius-lg: var(--wp--custom--radius--lg, 22px);
	--ha-radius-xl: var(--wp--custom--radius--xl, 32px);
	--ha-radius-pill: var(--wp--custom--radius--pill, 999px);

	--ha-shadow-sm: var(--wp--preset--shadow--sm, 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.04));
	--ha-shadow-md: var(--wp--preset--shadow--md, 0 10px 28px -18px rgba(0, 0, 0, 0.25));
	--ha-shadow-lg: var(--wp--preset--shadow--lg, 0 30px 70px -36px rgba(0, 0, 0, 0.32));

	--ha-transition-fast: var(--wp--custom--transition--fast, 140ms ease);
	--ha-transition-base: var(--wp--custom--transition--base, 220ms cubic-bezier(0.2, 0.7, 0.3, 1));

	--ha-header-height: var(--wp--custom--header--height, 88px);
	--ha-header-height-compact: var(--wp--custom--header--heightCompact, 68px);

	--ha-focus-color: var(--wp--custom--focus--color, #000000);
	--ha-focus-width: var(--wp--custom--focus--width, 3px);
	--ha-focus-offset: var(--wp--custom--focus--offset, 3px);

	/* Layout-Shell: 80 vw, max. 1680 px – siehe Abschnitt 20 (responsive Stufen) */
	--ha-shell: min(80vw, 1680px);
	--ha-prose: 72ch;
	--ha-gutter: clamp(1rem, 2vw, 2rem);
	--ha-section-padding: clamp(2.5rem, 5vw, 5rem);
	--ha-section-padding-tight: clamp(1.75rem, 3.5vw, 3rem);

	--ha-adminbar-offset: 0px;
}

.admin-bar {
	--ha-adminbar-offset: 32px;
}

html {
	overflow-x: clip;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background-color: var(--ha-cream);
	color: var(--ha-ink);
	font-family: var(--wp--preset--font-family--poppins, "Poppins", system-ui, sans-serif);
	font-size: var(--wp--preset--font-size--base, 1.0625rem);
	font-weight: 400;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background-color: var(--ha-rose);
	color: var(--ha-ink);
}

h1,
h2 {
	font-family: var(--wp--preset--font-family--public-sans, "Public Sans", "Segoe UI", sans-serif);
	color: var(--ha-ink);
	text-wrap: balance;
}

h3,
h4,
h5,
h6 {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	color: var(--ha-ink);
	text-wrap: balance;
}

p,
li {
	text-wrap: pretty;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--ha-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--ha-primary-alt);
}

:focus-visible {
	outline: var(--ha-focus-width) solid var(--ha-focus-color);
	outline-offset: var(--ha-focus-offset);
	border-radius: 2px;
}

.has-ink-background-color :focus-visible,
.has-primary-background-color :focus-visible,
.has-primary-alt-background-color :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible {
	outline-color: #ffffff;
}

/* Skip-Link: erst bei Tastaturfokus sichtbar. */
.skip-link {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--ha-white);
	color: var(--ha-ink);
	border: 2px solid var(--ha-primary);
	border-radius: var(--ha-radius-sm);
	box-shadow: var(--ha-shadow-md);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
	transform: translateY(0);
	color: var(--ha-ink);
}

/* Nur für Screenreader. */
.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;
}

/* Ankerziel nicht unter dem Sticky-Header verstecken. */
:target,
.anchor-target[id] {
	scroll-margin-top: calc(var(--ha-header-height) + 1.5rem + var(--ha-adminbar-offset));
}

/* ==========================================================================
   3. Layout-Shell, Sektionen, Textbreiten
   ========================================================================== */

.wp-site-blocks {
	position: relative;
}

.site-main {
	display: block;
}

.wp-site-blocks .alignfull,
.site-main .alignfull {
	width: 100%;
	max-width: 100%;
}

.section {
	padding-block: var(--ha-section-padding);
	position: relative;
}

.section-tight {
	padding-block: var(--ha-section-padding-tight);
}

.section-flush-top {
	padding-block-start: 0;
}

.section-cream {
	background-color: var(--ha-cream);
}

.section-white {
	background-color: var(--ha-white);
}

.section-rose {
	background-color: var(--ha-rose-mist);
}

.section-rose-strong {
	background-color: var(--ha-rose-soft);
}

.section-ink {
	background-color: var(--ha-ink);
	color: var(--ha-white);
}

.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink h4,
.section-ink p,
.section-ink li {
	color: var(--ha-white);
}

.section-ink a {
	color: var(--ha-rose);
}

.section-ink a:hover {
	color: var(--ha-gold);
}

.section-primary {
	background-color: var(--ha-primary);
	color: var(--ha-white);
}

.section-primary h1,
.section-primary h2,
.section-primary h3,
.section-primary h4,
.section-primary p,
.section-primary li {
	color: var(--ha-white);
}

.section-primary a {
	color: var(--ha-white);
}

/* Zentrierter Innenbereich: die Shell trägt die 80-vw-Breite. */
.section-inner,
.page-header__inner,
.header-inner,
.footer-inner,
.footer-bottom,
.cta-band__inner,
.quickfacts__inner,
.hero__content {
	width: var(--ha-shell);
	max-width: none;
	margin-inline: auto;
}

.section-inner {
	display: block;
}

/* Fließtext bleibt lesbar, auch wenn die Shell breit ist. */
.section-inner > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, .wp-block-quote, .wp-block-paragraph) {
	max-width: var(--ha-prose);
}

.section-inner > :where(figure.wp-block-image, .wp-block-table, .wp-block-columns, .wp-block-buttons, .wp-block-details) {
	max-width: none;
}

/* Einzelbilder im Text max. 680 px breit. */
.section-inner > .wp-block-image {
	max-width: 680px;
}

.wp-block-post-content > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote) {
	max-width: var(--ha-prose);
}

/* Goldene Haarlinie als Markenakzent. */
.gold-rule {
	display: block;
	width: 64px;
	height: 3px;
	border: 0;
	margin: 0;
	background: var(--ha-gold);
	border-radius: 2px;
}

.gold-rule-center {
	margin-inline: auto;
}

/* ==========================================================================
   4. Typo-Bausteine
   ========================================================================== */

.eyebrow {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ha-primary);
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	background: var(--ha-gold);
	border-radius: 2px;
}

.section-primary .eyebrow,
.section-ink .eyebrow {
	color: var(--ha-gold);
}

.lead {
	font-size: var(--wp--preset--font-size--md, 1.1875rem);
	line-height: 1.6;
	color: var(--ha-gray);
	max-width: var(--ha-prose);
}

.note {
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	color: var(--ha-gray);
	max-width: 70ch;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.8rem;
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid var(--ha-line-strong);
}

.badge-primary {
	background-color: var(--ha-primary);
	color: var(--ha-white);
	border-color: var(--ha-primary);
}

.badge-gold {
	background-color: var(--ha-gold-soft);
	color: var(--ha-ink);
	border-color: var(--ha-gold);
}

.num-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
	counter-reset: numlist;
}

.num-list li {
	position: relative;
	padding-left: 2.5rem;
	min-height: 1.9rem;
}

.num-list li::before {
	counter-increment: numlist;
	content: counter(numlist);
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 1.7rem;
	height: 1.7rem;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ha-rose-mist);
	color: var(--ha-primary);
	font-size: 0.8125rem;
	font-weight: 600;
	border: 1px solid var(--ha-line-strong);
}

.check-list {
	list-style: none;
	padding: 0;
}

.check-list li {
	position: relative;
	padding-left: 1.9rem;
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.85rem;
	height: 0.5rem;
	border-left: 2px solid var(--ha-primary);
	border-bottom: 2px solid var(--ha-primary);
	transform: rotate(-45deg);
}

.list-plain {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.45rem;
}

.list-plain li {
	position: relative;
	padding-left: 1.35rem;
}

.list-plain li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background-color: var(--ha-primary);
}

.text-center {
	text-align: center;
}

.text-center .eyebrow {
	width: fit-content;
	margin-inline: auto;
}

.text-center .lead {
	margin-inline: auto;
}

/* ==========================================================================
   5. Header (sticky, Telefon-CTA, Mobile-Menü)
   ========================================================================== */

.site-header {
	position: sticky;
	top: var(--ha-adminbar-offset);
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.97);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--ha-line);
	transition: box-shadow var(--ha-transition-base), background-color var(--ha-transition-base);
}

.site-header::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ha-gold) 0%, var(--ha-primary) 45%, var(--ha-primary-alt) 100%);
}

.site-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.99);
	box-shadow: 0 10px 30px -24px rgba(0, 0, 0, 0.45);
}

.header-inner {
	padding: 0.7rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--ha-header-height);
}

.site-header.is-scrolled .header-inner {
	min-height: var(--ha-header-height-compact);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	min-height: 44px;
	text-decoration: none;
	flex-shrink: 0;
}

.site-brand .wp-block-image {
	margin: 0;
	line-height: 0;
}

.site-brand img,
.site-logo img {
	height: 80px;
	max-height: 80px;
	width: auto;
	max-width: none;
	display: block;
	transition: height var(--ha-transition-base);
}

.site-logo {
	flex: 0 0 auto;
	margin: 0;
}

.site-header.is-scrolled .site-brand img,
.site-header.is-scrolled .site-logo img {
	height: 64px;
	max-height: 64px;
}

.site-brand__name {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	gap: 0.1rem;
}

.site-brand__name p {
	margin: 0;
}

.site-brand__name strong {
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--ha-ink);
	line-height: 1.2;
}

.site-brand__name p {
	margin: 0;
}

.site-brand__name span {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ha-gray);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-nav {
	display: flex;
	align-items: center;
}

.header-nav .wp-block-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-nav .wp-block-list li {
	margin: 0;
}

.header-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 0.7rem;
	border-radius: var(--ha-radius-pill);
	font-size: 0.975rem;
	font-weight: 500;
	color: var(--ha-ink);
	text-decoration: none;
	transition: color var(--ha-transition-fast), background-color var(--ha-transition-fast);
}

.header-nav a:hover,
.header-nav a:focus-visible {
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
}

.header-nav a[aria-current="page"] {
	color: var(--ha-primary);
	background-color: var(--ha-rose-mist);
	font-weight: 600;
}

/* Telefon-Button im Header */
.header-cta .wp-block-button__link,
.header-cta a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.55rem 1.1rem;
	background-color: var(--ha-primary);
	color: var(--ha-white);
	border-radius: var(--ha-radius-pill);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 8px 18px -12px rgba(195, 0, 107, 0.75);
	transition: background-color var(--ha-transition-fast), transform var(--ha-transition-fast);
}

.header-cta .wp-block-button__link,
.header-cta a {
	white-space: nowrap;
}

.header-cta .wp-block-button__link:hover,
.header-cta a:hover {
	background-color: var(--ha-primary-alt);
	color: var(--ha-white);
	transform: translateY(-1px);
}

.header-cta .wp-block-button__link::before,
.header-cta a::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-cta__label {
	font-weight: 400;
	opacity: 0.85;
}

/* Mobilmenü-Button (wird nur mit JavaScript eingefügt). */
.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-white);
	color: var(--ha-ink);
	cursor: pointer;
}

.nav-toggle__bars {
	position: relative;
	width: 20px;
	height: 2px;
	background-color: currentColor;
	border-radius: 2px;
	transition: background-color var(--ha-transition-fast);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px;
	height: 2px;
	background-color: currentColor;
	border-radius: 2px;
	transition: transform var(--ha-transition-base), top var(--ha-transition-base);
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

.site-header[data-nav-open="true"] .nav-toggle__bars {
	background-color: transparent;
}

.site-header[data-nav-open="true"] .nav-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.site-header[data-nav-open="true"] .nav-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

/* ==========================================================================
   6. Hero – bildfüllendes Band mit Höhenbegrenzung (max. 72 vh / 760 px)
   ========================================================================== */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	isolation: isolate;
	overflow: hidden;
	height: auto;
	min-height: min(64vh, 680px);
	max-height: none;
	padding-block: clamp(2rem, 4vh, 3rem) clamp(4rem, 8vh, 6rem);
	background-color: var(--ha-ink);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	margin: 0 !important;
	width: 100%;
	height: 100%;
}

.hero__bg .ha-picture,
.hero__bg picture {
	display: block;
	width: 100%;
	height: 100%;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 32% 22%;
	display: block;
	border-radius: 0;
}

/* Dezentes dunkles Overlay: Text links erreicht Kontrast > 7:1. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		100deg,
		rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.74) 38%,
		rgba(0, 0, 0, 0.5) 68%,
		rgba(0, 0, 0, 0.32) 100%
	);
	pointer-events: none;
}

.hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(0.7rem, 1.4vw, 1.1rem);
	padding-block: 0;
}

.hero__content > * {
	margin-block: 0 !important;
	max-width: 37.5rem; /* ≈ 600 px: Text endet ≥ 40 px vor dem Gesicht */
}

.hero__title {
	font-size: clamp(2.25rem, 1.35rem + 3.2vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--ha-white);
	text-wrap: balance;
}

.hero__subtitle {
	font-size: var(--wp--preset--font-size--md, 1.1875rem);
	font-weight: 500;
	color: var(--ha-gold);
	/* 17 px + balance: verhindert den unschönen Umbruch
	   „… Familienmedizin ·\nAlle Kassen" im 600-px-Textblock (Desktop). */
	font-size: 1.0625rem;
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.hero__subtitle {
		white-space: nowrap;
	}
}


.hero__text {
	color: var(--ha-white-92);
	max-width: 52ch;
}

.hero .eyebrow {
	color: var(--ha-gold);
}

.hero .eyebrow::before {
	background: var(--ha-gold);
}

.hero .hours-status {
	color: var(--ha-white);
}

.hero .hours-status::before {
	background-color: var(--ha-gold);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.hero .hours-status[data-state="open"] {
	color: #b6efcf;
}

.hero .hours-status[data-state="open"]::before {
	background-color: #b6efcf;
}

.hero .hours-meta {
	color: var(--ha-white-78) !important;
}

/* Eine Zeile zusätzlicher Abstand vor der Hero-Buttonzeile */
.hero .hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-block-start: 1.4rem !important;
	max-width: none !important;
}

.hero__actions .wp-block-button,
.hero__actions .wp-block-button__link {
	margin: 0;
}

.hero__actions .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}

/* ==========================================================================
   7. Quick-Facts-Leiste
   ========================================================================== */

.quickfacts {
	position: relative;
	z-index: 3;
	margin-block-start: clamp(-3.25rem, -3vw, -2rem);
	padding-inline: 0;
}

.quickfacts__inner {
	background-color: var(--ha-white);
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-lg);
	box-shadow: var(--ha-shadow-md);
	padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.7rem);
	position: relative;
	overflow: hidden;
}

.quickfacts__inner::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--ha-primary) 0%, var(--ha-primary-alt) 55%, var(--ha-gold) 100%);
}

.quickfacts .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem 1.5rem;
	margin: 0;
}

.quickfacts .wp-block-column {
	margin: 0;
	min-width: 0;
}

.fact {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	padding-inline-start: 0.85rem;
	border-inline-start: 2px solid var(--ha-gold);
}

.fact > * {
	margin-block: 0;
}

.fact__label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ha-gray);
	margin: 0;
}

.fact__value {
	font-size: 1rem;
	font-weight: 600;
	color: var(--ha-ink);
	margin: 0;
	line-height: 1.4;
}

.fact__value a {
	color: var(--ha-ink);
	text-decoration: none;
	min-height: 24px;
	display: inline-block;
}

.fact__value a:hover {
	color: var(--ha-primary);
	text-decoration: underline;
}

.fact__meta {
	font-size: 0.8125rem;
	color: var(--ha-gray);
	margin: 0;
}

/* Status „heute geöffnet" */
.hours-status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	margin: 0;
	color: var(--ha-primary);
}

.hours-status::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background-color: var(--ha-primary);
	box-shadow: 0 0 0 3px var(--ha-rose-mist);
	flex: 0 0 0.6rem;
}

.hours-status[data-state="closed"] {
	color: var(--ha-gray);
}

.hours-status[data-state="closed"]::before {
	background-color: var(--ha-gray);
	box-shadow: 0 0 0 3px var(--ha-line);
}

.hours-status[data-state="open"] {
	color: var(--ha-status-open);
}

.hours-status[data-state="open"]::before {
	background-color: var(--ha-status-open-dot);
	box-shadow: 0 0 0 3px var(--ha-status-bg);
}

/* ==========================================================================
   8. Karten, Grids, Zweispalter, Bildregeln
   ========================================================================== */

.card {
	background-color: var(--ha-white);
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-lg);
	padding: clamp(1.25rem, 2vw, 1.8rem);
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	transition: box-shadow var(--ha-transition-base), transform var(--ha-transition-base), border-color var(--ha-transition-base);
}

.card > * {
	margin-block: 0;
	max-width: none;
}

.card:hover {
	border-color: var(--ha-rose);
	box-shadow: var(--ha-shadow-md);
	transform: translateY(-2px);
}

.card-soft {
	background-color: var(--ha-rose-mist);
	border-color: transparent;
}

.card-ink {
	background-color: var(--ha-ink);
	color: var(--ha-white);
	border-color: transparent;
}

.card-ink h3,
.card-ink h4,
.card-ink p,
.card-ink li {
	color: var(--ha-white);
}

.card__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
	border: 1px solid var(--ha-line-strong);
	font-weight: 600;
	font-size: 0.9rem;
	margin-block-end: 0.25rem;
}

.card h3,
.card h4 {
	font-size: var(--wp--preset--font-size--lg, 1.375rem);
	margin: 0;
}

.card p {
	color: var(--ha-gray);
	font-size: 0.975rem;
}

/* 3er-Grid für Leistungen */
.grid-services.wp-block-columns,
.grid-services .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 1.8vw, 1.5rem);
	margin: 0;
	align-items: stretch;
}

.grid-services > .wp-block-column,
.grid-services .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
}

.grid-services .card {
	width: 100%;
}

/* Leistungs-Karte: Liste etwas kompakter */
.service-card h3 {
	font-size: var(--wp--preset--font-size--md, 1.1875rem);
	margin: 0;
}

.service-card .wp-block-list {
	font-size: 0.975rem;
	color: var(--ha-gray);
	padding-inline-start: 1.15rem;
	display: grid;
	gap: 0.4rem;
	max-width: none;
}

.service-card .wp-block-list li::marker {
	color: var(--ha-primary);
}

/* Zweispalter: zentriertes Paar, Bildspalte max. 416 px, Paar-Breite 1060 px */
.split.wp-block-columns,
.split .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
	gap: clamp(2rem, 3.5vw, 3.5rem); /* 32–56 px, Ziel 40–56 px */
	align-items: center;
	width: 100%;
	max-width: 1060px;
	margin-inline: auto;
}

.split-media-left.wp-block-columns,
.split-media-left .wp-block-columns {
	grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
}

.split > .wp-block-column,
.split .wp-block-column {
	margin: 0;
	min-width: 0;
}

.split__text > * {
	max-width: 56ch;
}

.split__media {
	max-width: 416px;
}

.split__media img,
.split__media .ha-picture,
.split__media picture {
	display: block;
	width: 100%;
}

.split__media img {
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 50% 28%;
	border-radius: var(--ha-radius-lg);
}

.split__media-portrait {
	max-width: 420px;
}

.split__media-portrait img {
	aspect-ratio: 3 / 4;
	object-position: 50% 16%;
}

.split__media-map {
	max-width: 560px;
}

.split__media-map img {
	aspect-ratio: auto;
	object-fit: contain;
	background-color: var(--ha-white);
	border: 1px solid var(--ha-line-strong);
}

.split-content {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.split-content > * {
	margin-block: 0;
	max-width: 56ch;
}

/* Freistehende Bilder */
.img-frame {
	margin: 0;
	position: relative;
	border-radius: var(--ha-radius-lg);
	overflow: hidden;
}

.img-frame img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 50% 28%;
	border-radius: var(--ha-radius-lg);
}

.img-frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: inherit;
	pointer-events: none;
}

figure.wp-block-image {
	margin: 0;
}

figcaption {
	margin-block-start: 0.6rem;
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	color: var(--ha-gray);
}

.ha-picture {
	display: block;
	line-height: 0;
}

/* ==========================================================================
   9. Öffnungszeiten
   ========================================================================== */

.hours-card {
	background-color: var(--ha-white);
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-lg);
	padding: clamp(1.25rem, 2vw, 1.9rem);
	box-shadow: var(--ha-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}

.hours-card > * {
	margin-block: 0;
	max-width: none;
}

.hours-table table,
table.hours-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.975rem;
}

.hours-table th,
.hours-table td {
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--ha-line);
	text-align: left;
	vertical-align: top;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
	border-bottom: 0;
}

.hours-table th {
	font-weight: 600;
	width: 45%;
	color: var(--ha-ink);
}

.hours-table td {
	color: var(--ha-gray);
	white-space: nowrap;
	text-align: right;
}

.hours-table .hours-note {
	display: block;
	font-size: 0.8125rem;
	color: var(--ha-primary);
	white-space: normal;
	font-weight: 500;
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
	background-color: var(--ha-rose-mist);
}

.hours-table tr.is-today th {
	padding-inline-start: 0.6rem;
	border-radius: var(--ha-radius-sm) 0 0 var(--ha-radius-sm);
}

.hours-table tr.is-today td {
	padding-inline-end: 0.6rem;
	border-radius: 0 var(--ha-radius-sm) var(--ha-radius-sm) 0;
}

.hours-closed {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--ha-gray);
	margin: 0;
	padding: 0.7rem 0.85rem;
	background-color: var(--ha-rose-mist);
	border-radius: var(--ha-radius-sm);
}

.hours-closed strong {
	color: var(--ha-primary);
}

.hours-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
	font-size: 0.9rem;
	color: var(--ha-gray);
	margin: 0;
}

.hours-inline strong {
	color: var(--ha-ink);
	font-weight: 600;
}

/* ==========================================================================
   10. Hinweise / Notices
   ========================================================================== */

.notice {
	background-color: var(--ha-rose-mist);
	border-inline-start: 4px solid var(--ha-primary);
	border-radius: var(--ha-radius-sm);
	padding: clamp(1rem, 1.8vw, 1.4rem) clamp(1rem, 2vw, 1.6rem);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.notice > * {
	margin-block: 0;
	max-width: 72ch;
}

.notice h2,
.notice h3 {
	font-size: var(--wp--preset--font-size--lg, 1.375rem);
}

.notice-gold {
	background-color: var(--ha-gold-soft);
	border-inline-start-color: var(--ha-gold);
}

.notice-ink {
	background-color: var(--ha-ink);
	color: var(--ha-white);
	border-inline-start-color: var(--ha-gold);
}

.notice-ink h2,
.notice-ink h3,
.notice-ink p,
.notice-ink li {
	color: var(--ha-white);
}

.notice-alert {
	background-color: var(--ha-rose-soft);
	border-inline-start-color: var(--ha-primary);
}

.notice__kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ha-primary);
	margin: 0;
}

.notice-ink .notice__kicker {
	color: var(--ha-gold);
}

/* ==========================================================================
   11. Akkordeon (core/details)
   ========================================================================== */

.accordion {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.accordion > * {
	margin-block: 0 !important;
}

.wp-block-details {
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-md);
	background-color: var(--ha-white);
	padding: 0.15rem clamp(0.9rem, 1.8vw, 1.35rem);
	transition: border-color var(--ha-transition-fast), box-shadow var(--ha-transition-fast);
}

.wp-block-details[open] {
	border-color: var(--ha-rose);
	box-shadow: var(--ha-shadow-sm);
}

.wp-block-details summary {
	cursor: pointer;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 600;
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	color: var(--ha-ink);
	list-style: none;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 50%;
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
	font-weight: 600;
	font-size: 1.1rem;
	line-height: 1;
	transition: transform var(--ha-transition-base), background-color var(--ha-transition-base);
}

.wp-block-details[open] summary::after {
	content: "−";
	transform: rotate(180deg);
	background-color: var(--ha-primary);
	color: var(--ha-white);
}

.wp-block-details > *:not(summary) {
	color: var(--ha-gray);
	max-width: 72ch;
}

.wp-block-details > *:not(summary):last-child {
	margin-block-end: 1rem;
}

/* ==========================================================================
   12. Tabellen
   ========================================================================== */

.wp-block-table {
	margin: 0;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
	padding: 0.65rem 0.5rem;
	border-bottom: 1px solid var(--ha-line);
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead th {
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ha-gray);
	border-bottom: 2px solid var(--ha-line-strong);
}

.wp-block-table tbody tr:hover td {
	background-color: var(--ha-rose-mist);
}

.wp-block-table caption {
	caption-side: top;
	text-align: left;
	font-size: var(--wp--preset--font-size--sm, 0.875rem);
	color: var(--ha-gray);
	padding-block-end: 0.5rem;
}

.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tarif-table td:last-child {
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   13. Timeline (Team-Seite)
   ========================================================================== */

.timeline {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
	position: relative;
	padding-inline-start: 1.8rem;
}

.timeline::before {
	content: "";
	position: absolute;
	inset-block: 0.4rem;
	inset-inline-start: 0.45rem;
	width: 2px;
	background: linear-gradient(180deg, var(--ha-gold) 0%, var(--ha-rose) 100%);
}

.timeline__item {
	position: relative;
	margin: 0 !important;
}

.timeline__item::before {
	content: "";
	position: absolute;
	inset-inline-start: -1.8rem;
	inset-block-start: 0.55rem;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--ha-white);
	border: 2px solid var(--ha-primary);
}

.timeline__year {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ha-primary);
	margin: 0;
}

.timeline__text {
	color: var(--ha-gray);
	margin: 0;
	max-width: 68ch;
}

/* ==========================================================================
   14. CTA-Bänder
   ========================================================================== */

.cta-band {
	background: linear-gradient(135deg, var(--ha-primary-alt) 0%, var(--ha-primary) 100%);
	color: var(--ha-white);
	position: relative;
	overflow: hidden;
	padding-block: var(--ha-section-padding);
}

.cta-band::after {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: var(--ha-gold);
}

.cta-band h2,
.cta-band h3,
.cta-band p {
	color: var(--ha-white);
}

.cta-band .eyebrow {
	color: var(--ha-gold);
}

.cta-band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
}

.cta-band__content {
	max-width: 58ch;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.cta-band__content > * {
	margin-block: 0;
	max-width: 58ch;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cta-band__actions .wp-block-button__link {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
}

/* Button-Varianten (abgeleitete Zustände gekennzeichnet) */
.wp-block-button.is-style-outline .wp-block-button__link,
.btn-outline .wp-block-button__link {
	background-color: transparent !important;
	color: var(--ha-primary) !important;
	border: 2px solid var(--ha-primary) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.btn-outline .wp-block-button__link:hover {
	background-color: var(--ha-primary) !important;
	color: var(--ha-white) !important;
}

.btn-light .wp-block-button__link {
	background-color: var(--ha-white) !important;
	color: var(--ha-primary) !important;
	border: 1px solid var(--ha-white) !important;
}

.btn-light .wp-block-button__link:hover {
	background-color: var(--ha-gold) !important;
	color: var(--ha-ink) !important;
	border-color: var(--ha-gold) !important;
}

.btn-ghost .wp-block-button__link {
	background-color: transparent !important;
	color: var(--ha-white) !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
}

.btn-ghost .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.14) !important;
	border-color: var(--ha-white) !important;
}

.btn-gold .wp-block-button__link {
	background-color: var(--ha-gold) !important;
	color: var(--ha-ink) !important;
	border: 1px solid var(--ha-gold) !important;
}

.btn-gold .wp-block-button__link:hover {
	background-color: var(--ha-gold-deep) !important;
	color: var(--ha-ink) !important;
}

/* ==========================================================================
   15. Seitenkopf (Unterseiten)
   ========================================================================== */

.page-header {
	background:
		radial-gradient(120% 140% at 0% 0%, var(--ha-white) 0%, rgba(253, 249, 247, 0) 62%),
		var(--ha-cream);
	border-bottom: 1px solid var(--ha-line);
	padding-block: clamp(2rem, 4vw, 3.5rem);
	position: relative;
}

.page-header::after {
	content: "";
	position: absolute;
	inset-block-end: -1px;
	inset-inline-start: calc((100vw - var(--ha-shell)) / 2);
	width: 64px;
	height: 3px;
	background: var(--ha-gold);
}

.page-header__inner {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.page-header__inner > * {
	margin-block: 0;
}

.wp-block-post-title {
	font-size: var(--wp--preset--font-size--3-xl, 2.75rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0;
	max-width: 26ch;
}

.page-header .wp-block-post-title {
	max-width: 22ch;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.site-footer {
	background-color: var(--ha-ink);
	color: var(--ha-white);
	position: relative;
	padding-block: var(--ha-section-padding-tight) 0;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--ha-gold) 0%, var(--ha-primary) 55%, var(--ha-primary-alt) 100%);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer li {
	color: var(--ha-white);
}

.site-footer a {
	color: var(--ha-rose);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--ha-gold);
	text-decoration: underline;
}

.site-footer .wp-block-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.site-footer .wp-block-list a {
	display: inline-block;
	padding-block: 0.15rem;
	min-height: 28px;
}

.footer-grid .wp-block-columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
	gap: clamp(1.5rem, 2.5vw, 3rem);
	margin: 0;
}

.footer-grid .wp-block-column {
	margin: 0;
	min-width: 0;
}

.footer-brand__mark {
	font-family: var(--wp--preset--font-family--public-sans, "Public Sans", sans-serif);
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	color: var(--ha-white);
}

.footer-brand__mark strong {
	color: var(--ha-gold);
	font-weight: 600;
}

.footer-heading {
	font-family: var(--wp--preset--font-family--poppins, "Poppins", sans-serif);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ha-gold);
	margin: 0 0 0.6rem;
}

.footer-hours {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.3rem;
	font-size: 0.9rem;
}

.footer-hours li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-block: 0.3rem;
}

.footer-hours li span:last-child {
	color: rgba(255, 255, 255, 0.82);
	white-space: nowrap;
}

.footer-note {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.72) !important;
	max-width: 34ch;
}

.footer-bottom {
	margin-block: clamp(1.5rem, 3vw, 2.5rem) 0;
	padding-block: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.72) !important;
}

.footer-bottom p {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.72) !important;
	margin: 0;
}

.footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.1rem;
}

/* ==========================================================================
   17. Reveal-Animationen (progressive enhancement)
   ========================================================================== */

.reveal-ready .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 640ms cubic-bezier(0.2, 0.7, 0.3, 1), transform 640ms cubic-bezier(0.2, 0.7, 0.3, 1);
	will-change: opacity, transform;
}

.reveal-ready .reveal.is-visible {
	opacity: 1;
	transform: none;
}

.reveal-ready .reveal[data-reveal-delay="1"] {
	transition-delay: 90ms;
}

.reveal-ready .reveal[data-reveal-delay="2"] {
	transition-delay: 180ms;
}

.reveal-ready .reveal[data-reveal-delay="3"] {
	transition-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-ready .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   18. Formulare und Suche
   ========================================================================== */

.wp-block-search__inside-wrapper {
	display: flex;
	gap: 0.5rem;
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-white);
	padding: 0.3rem 0.4rem;
	max-width: 34ch;
}

.wp-block-search__input {
	flex: 1 1 auto;
	min-height: 44px;
	border: 0;
	background: transparent;
	padding-inline: 1rem;
	font: inherit;
	color: var(--ha-ink);
	border-radius: var(--ha-radius-pill);
}

.wp-block-search__input:focus-visible {
	outline-offset: 0;
}

.wp-block-search__button {
	min-height: 44px;
	margin: 0;
	border: 0;
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-primary);
	color: var(--ha-white);
	font-family: inherit;
	font-weight: 600;
	padding-inline: 1.25rem;
	cursor: pointer;
}

.wp-block-search__button:hover {
	background-color: var(--ha-primary-alt);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
	min-height: 44px;
	border: 1px solid var(--ha-gray);
	border-radius: var(--ha-radius-sm);
	padding: 0.6rem 0.85rem;
	font: inherit;
	color: var(--ha-ink);
	background-color: var(--ha-white);
	max-width: 100%;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	border-color: var(--ha-primary);
}

label {
	font-weight: 500;
}

/* ==========================================================================
   19. Spezielle Bausteine
   ========================================================================== */

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.9rem;
}

.contact-list li {
	display: grid;
	gap: 0.1rem;
	margin: 0;
}

.contact-list .contact-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ha-primary);
}

.contact-list .contact-value {
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--ha-ink);
	overflow-wrap: anywhere;
}

.contact-list a {
	color: var(--ha-ink);
	text-decoration: none;
}

.contact-list a:hover {
	color: var(--ha-primary);
	text-decoration: underline;
}

.map-card {
	background-color: var(--ha-white);
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-lg);
	padding: 0.75rem;
	box-shadow: var(--ha-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.map-card figure {
	margin: 0;
}

.map-card img {
	width: 100%;
	height: auto;
	border-radius: var(--ha-radius-md);
}

/* Hinweis „Aufnahme-Stopp" */
.status-stopp {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--ha-primary);
}

.status-stopp::before {
	content: "!";
	display: inline-grid;
	place-items: center;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background-color: var(--ha-primary);
	color: var(--ha-white);
	font-size: 0.85rem;
	flex: 0 0 1.4rem;
}

/* 404 / Suche */
.not-found {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 62ch;
	margin-inline: auto;
	text-align: center;
	align-items: center;
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.not-found .wp-block-search {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* Post-Liste (index, search) */
.post-list {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-list .wp-block-post {
	border-bottom: 1px solid var(--ha-line);
	padding-block-end: 1.5rem;
}

.post-list .wp-block-post-title {
	font-size: var(--wp--preset--font-size--xl, 1.625rem);
}

.post-meta {
	font-size: 0.8125rem;
	color: var(--ha-gray);
	letter-spacing: 0.02em;
	margin: 0;
}

/* ==========================================================================
   20. Responsive: Shell-Stufen und Layout-Anpassungen
   ========================================================================== */

/* Shell-Stufen laut Design-Vorgabe:
   ≥ 1440 px: 80 vw (max. 1680 px) · 1024–1439 px: 88 vw
   768–1023 px: 92 vw · < 768 px: 100 % minus 2 × 22 px Padding */
@media (max-width: 1439px) {
	:root {
		--ha-shell: 88vw;
	}
}

@media (max-width: 1080px) {
	.quickfacts .wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid-services.wp-block-columns,
	.grid-services .wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid .wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	:root {
		--ha-shell: 92vw;
	}

	.split.wp-block-columns,
	.split .wp-block-columns,
	.split-media-left.wp-block-columns,
	.split-media-left .wp-block-columns {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 3vw, 2rem);
	}

	.split__media,
	.split__media-portrait {
		order: -1;
		margin-inline: 0;
	}
}

@media (max-width: 900px) {
	:root {
		--ha-header-height: 84px;
		--ha-header-height-compact: 68px;
	}

	.site-brand img,
	.site-logo img {
		height: 58px;
		max-height: 58px;
	}

	.header-cta .wp-block-button__link .header-cta__label,
	.header-cta a .header-cta__label {
		display: none;
	}

	/* Ohne JavaScript bleibt die Navigation sichtbar und nutzbar. */
	html.js .header-nav {
		display: none;
	}

	html.js .site-header[data-nav-open="true"] .header-nav {
		display: flex;
		position: absolute;
		inset-block-start: 100%;
		inset-inline: 0;
		background-color: var(--ha-white);
		border-bottom: 1px solid var(--ha-line);
		box-shadow: var(--ha-shadow-md);
		padding: 0.75rem calc((100vw - var(--ha-shell)) / 2) 1rem;
		justify-content: center;
	}

	html.js .site-header[data-nav-open="true"] .header-nav .wp-block-list {
		flex-direction: column;
		align-items: stretch;
		width: var(--ha-shell);
		max-width: none;
		gap: 0.15rem;
	}

	html.js .site-header[data-nav-open="true"] .header-nav a {
		border-radius: var(--ha-radius-sm);
		font-size: 1.05rem;
		min-height: 48px;
	}

	html.js .nav-toggle {
		display: inline-flex;
	}

	/* Hero: etwas flacher, Overlay kräftiger */
	.hero {
		height: auto;
		max-height: none;
		min-height: min(56vh, 520px);
		padding-block: 1.75rem 3.5rem;
	}

	.hero__bg img {
		object-position: 40% 20%;
	}

	.hero::before {
		background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.55) 0%,
			rgba(0, 0, 0, 0.78) 100%
		);
	}

	.split__media img {
		aspect-ratio: 4 / 3;
		max-height: 420px;
	}

	.split__media-portrait img {
		aspect-ratio: 3 / 4;
		max-width: 420px;
		max-height: 520px;
		margin-inline: 0;
	}

	.cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.hero__content > * {
		max-width: min(37.5rem, 55vw);
	}
}

@media (max-width: 767px) {
	:root {
		--ha-shell: calc(100% - 44px);
		--ha-section-padding: clamp(2rem, 7vw, 2.75rem);
		--ha-section-padding-tight: 1.75rem;
	}

	.quickfacts {
		margin-block-start: -1.5rem;
	}

	.quickfacts__inner {
		border-radius: var(--ha-radius-md);
	}

	.quickfacts .wp-block-columns {
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.grid-services.wp-block-columns,
	.grid-services .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.hours-table td {
		white-space: normal;
	}

	.footer-grid .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.wp-block-post-title {
		font-size: var(--wp--preset--font-size--2-xl, 2.125rem);
	}

	.hero {
		height: auto;
		max-height: none;
		min-height: 0;
		padding-block: 2.25rem 3rem;
		align-items: stretch;
	}

	.hero__content > * {
		max-width: none;
	}

	.hero__content {
		padding-block: 0;
	}

	.hero__title {
		font-size: clamp(1.75rem, 1rem + 4vw, 2.35rem);
	}

	.hero__title {
		font-size: clamp(1.9rem, 1.1rem + 4.2vw, 2.6rem);
	}

	.hero__actions .wp-block-button,
	.hero__actions .wp-block-button__link {
		width: 100%;
		justify-content: center;
	}

	.split__media img,
	.split__media-portrait img {
		max-height: 360px;
	}

	.section-inner > :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote) {
		max-width: none;
	}
}


/* ==========================================================================
   22. Header-Route, Footer (Magenta), Zwei-Karten-Grid
   ========================================================================== */

.nowrap {
	white-space: nowrap;
}

/* „Anfahrt & Route" im Header – auf jeder Seite sichtbar */
.header-route .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: 44px;
	min-height: 44px;
	padding: 0.5rem 0.9rem;
	background-color: transparent !important;
	color: var(--ha-ink) !important;
	border: 1px solid var(--ha-line-strong) !important;
	border-radius: var(--ha-radius-pill);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	box-shadow: none;
	white-space: nowrap;
}

.header-route .wp-block-button__link::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11a7 7 0 1 0-14 0c0 4.9 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-route .wp-block-button__link:hover,
.header-route .wp-block-button__link:focus-visible {
	background-color: var(--ha-rose-mist) !important;
	color: var(--ha-primary) !important;
	border-color: var(--ha-rose) !important;
}

/* Zwei gleich breite Karten (Was mitbringen, Qualifikationen) */
.split-equal.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	margin: 0;
	align-items: stretch;
}

.split-equal > .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
}

.split-equal .card {
	width: 100%;
}

/* Footer: Magenta-Grund (gemessene Originalfarbe), weiße Schrift, goldene Akzente */
.site-footer {
	background-color: var(--ha-primary);
	color: var(--ha-white);
}

.site-footer::before {
	height: 4px;
	background: var(--ha-gold);
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer li,
.site-footer .wp-block-post-title {
	color: var(--ha-white);
}

.site-footer a {
	color: var(--ha-white);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.55);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--ha-white);
	text-decoration-color: var(--ha-gold);
	text-decoration-thickness: 2px;
}

.footer-logo {
	margin: 0 0 0.4rem;
}

.footer-logo img {
	height: 88px;
	max-height: 88px;
	width: auto;
	max-width: none;
	display: block;
}

.footer-claim {
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.35;
	margin: 0;
}

.footer-heading {
	color: var(--ha-white);
	position: relative;
	padding-block-end: 0.55rem;
	margin: 0 0 0.35rem;
}

.footer-heading::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-end: 0;
	width: 32px;
	height: 3px;
	border-radius: 2px;
	background: var(--ha-gold);
}

.site-footer .wp-block-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.site-footer .wp-block-list a {
	display: inline-block;
	min-height: 28px;
	padding-block: 0.15rem;
}

.footer-hours li {
	border-bottom-color: rgba(255, 255, 255, 0.28);
}

.footer-hours li span:last-child {
	color: var(--ha-white);
}

.footer-note {
	color: var(--ha-white) !important;
	font-size: 0.85rem;
	max-width: 36ch;
}

.footer-note a {
	color: var(--ha-white);
}

.footer-bottom {
	border-top-color: rgba(255, 255, 255, 0.35);
	color: var(--ha-white) !important;
	align-items: center;
}

.footer-bottom p {
	color: var(--ha-white) !important;
	font-size: 0.8125rem;
	margin: 0;
}

.footer-top a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
}

@media (max-width: 1023px) {
	.split-equal.wp-block-columns {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.header-route .wp-block-button__link {
		width: 44px;
		padding: 0;
		justify-content: center;
		gap: 0;
	}

	.header-route .wp-block-button__link::before {
		width: 18px;
		height: 18px;
		flex-basis: 18px;
	}

	.header-route__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;
	}
}

@media (max-width: 767px) {
	.split-equal.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.footer-logo img {
		height: 72px;
		max-height: 72px;
	}
}


@media (max-width: 767px) {
	.site-brand__name {
		display: none;
	}

	.site-brand {
		gap: 0;
	}
}


/* Komponenten-Gruppen: WordPress-Block-Gap darf Flex-Layouts nicht aufblähen */
.header-inner > *,
.site-brand > *,
.site-brand__name > *,
.header-actions > *,
.header-nav > *,
.footer-bottom > *,
.footer-grid .wp-block-column > *,
.hero__content > *,
.split-content > *,
.fact > * {
	margin-block: 0 !important;
}


/* Textspalten im Zweispalter konsequent linksbündig */
.split__text,
.split__text .split-content,
.split-content {
	text-align: left;
}

.split__text .eyebrow {
	margin-inline: 0;
}


.footer-top a::after {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-inline-start: 0.35rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Ohne JavaScript (Mobile): Navigation sichtbar und umbrechend, kein Überlauf */
@media (max-width: 900px) {
	html:not(.js) .header-inner {
		flex-wrap: wrap;
		row-gap: 0.5rem;
	}

	html:not(.js) .header-actions {
		flex-wrap: wrap;
		width: 100%;
		justify-content: space-between;
		row-gap: 0.4rem;
	}

	html:not(.js) .header-nav {
		width: 100%;
	}

	html:not(.js) .header-nav .wp-block-list {
		flex-wrap: wrap;
		width: 100%;
		row-gap: 0.2rem;
	}
}


/* HEUTE-Status in der Quick-Facts-Karte: größer, fett, kontrastreich (≥ 7:1) */
.quickfacts .hours-status {
	color: var(--ha-ink);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
}

.quickfacts .hours-status[data-state] {
	color: var(--ha-ink);
}

.quickfacts .hours-status::before {
	width: 10px;
	height: 10px;
	flex-basis: 10px;
}

.quickfacts .hours-meta {
	display: block;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--ha-gray);
}

@media (max-width: 767px) {
	.quickfacts .hours-status {
		font-size: 1rem;
	}

	.quickfacts .hours-meta {
		font-size: 0.9375rem;
	}
}


/* Eine Zeile Luft zwischen Subline/Überschrift und dem folgenden Karten-Grid */
.section-inner > .lead + .wp-block-columns,
.section-inner > .wp-block-heading + .wp-block-columns,
.section-inner > .text-center + .wp-block-columns {
	margin-block-start: 2rem !important;
}


/* Eine Zeile Abstand vor Button-Zeilen in Karten (z. B. „Bitte mitbringen") */
.card > .wp-block-buttons,
.card .wp-block-buttons {
	margin-block-start: 1rem !important;
}


/* Tablet-breit (901–1150 px): Header ohne Textzeile, damit nichts überläuft */
@media (max-width: 1150px) {
	.site-brand__name {
		display: none;
	}

	.site-brand {
		gap: 0;
	}
}


/* ==========================================================================
   23. Kontakt-Trio, Kontaktformular, Callout, Maps-Links, Nach-oben
   ========================================================================== */

/* Kontakt | Formular | Anfahrt/Karte – bis ~1300 px, zentriert */
.contact-trio.wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 320px);
	gap: clamp(1.5rem, 2vw, 2rem);
	width: 100%;
	max-width: 1300px;
	margin-inline: auto;
	align-items: start;
}

.contact-trio > .wp-block-column {
	margin: 0;
	min-width: 0;
}

.contact-trio .card,
.contact-trio .map-card {
	height: auto;
	margin: 0;
}

@media (max-width: 1023px) {
	.contact-trio.wp-block-columns {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 3vw, 2rem);
	}
}

/* Kontaktformular */
.h22-form-card {
	padding: clamp(1.1rem, 1.8vw, 1.5rem);
}

.h22-form-wrap {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-block-start: 0.5rem;
}

.h22-form-status {
	margin: 0;
	border-radius: var(--ha-radius-sm);
}

.h22-form-status:empty {
	display: none;
}

.h22-form-status p {
	margin: 0;
	padding: 0.8rem 1rem;
	font-size: 0.9375rem;
}

.h22-form-status.is-success p {
	background-color: var(--ha-status-bg);
	color: var(--ha-status-open);
	border-inline-start: 4px solid var(--ha-status-open-dot);
	border-radius: var(--ha-radius-sm);
}

.h22-form-status.is-error p {
	background-color: var(--ha-rose-mist);
	color: var(--ha-ink);
	border-inline-start: 4px solid var(--ha-primary-alt);
	border-radius: var(--ha-radius-sm);
}

.h22-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.h22-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1rem;
}

.h22-field {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.h22-field > label,
.h22-label,
.h22-fieldset > legend {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ha-ink);
}

.h22-field input[type="text"],
.h22-field input[type="email"],
.h22-field input[type="tel"],
.h22-field textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--ha-gray);
	border-radius: var(--ha-radius-sm);
	padding: 0.6rem 0.8rem;
	font: inherit;
	color: var(--ha-ink);
	background-color: var(--ha-white);
}

.h22-field textarea {
	min-height: 7rem;
	resize: vertical;
}

.h22-field input:focus-visible,
.h22-field textarea:focus-visible {
	border-color: var(--ha-primary);
}

.h22-field input[aria-invalid="true"],
.h22-field textarea[aria-invalid="true"] {
	border-color: var(--ha-primary-alt);
	border-width: 2px;
}

.h22-hint {
	font-size: 0.8125rem;
	line-height: 1.45;
	color: var(--ha-gray);
}

.h22-count {
	float: inline-end;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.h22-req {
	color: var(--ha-primary);
	font-weight: 700;
}

/* Honeypot: für Menschen unsichtbar, für Bots auffindbar */
.h22-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.h22-fieldset {
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-md);
	padding: 0.8rem 1rem;
	margin: 0;
	min-width: 0;
}

.h22-fieldset > legend {
	padding-inline: 0.4rem;
}

.h22-service-groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.2rem;
	margin-block-start: 0.5rem;
}

.h22-service-heading {
	margin: 0 0 0.2rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ha-gray);
}

.h22-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-height: 32px;
	padding-block: 0.2rem;
	cursor: pointer;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.h22-check input {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin-block-start: 0.2rem;
	accent-color: var(--ha-primary);
}

.h22-radio-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 1rem;
	border: 0;
	padding: 0;
}

.h22-radio-field > legend {
	width: 100%;
	margin-block-end: 0.2rem;
}

.h22-radio {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	font-size: 0.9375rem;
	cursor: pointer;
}

.h22-radio input {
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--ha-primary);
}

.h22-consent {
	min-height: 44px;
	align-items: center;
	font-size: 0.9375rem;
}

.h22-submit-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin: 0;
}

.h22-submit {
	min-height: 48px;
	padding: 0.8rem 1.5rem;
	border: 0;
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-primary);
	color: var(--ha-white);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color var(--ha-transition-fast);
}

.h22-submit:hover,
.h22-submit:focus-visible {
	background-color: var(--ha-primary-alt);
	color: var(--ha-white);
}

/* Callout (z. B. Blutabnahme) */
.callout {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.9rem 1rem;
	border-radius: var(--ha-radius-md);
	background-color: var(--ha-rose-mist);
	border-inline-start: 4px solid var(--ha-gold);
}

.callout-gold {
	background-color: var(--ha-gold-soft);
}

.callout > * {
	margin-block: 0 !important;
}

.callout__label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ha-primary);
}

.callout__label::before {
	content: "";
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 1.15rem;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5l3 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5l3 2'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.callout__text {
	font-size: 1.0625rem !important;
	font-weight: 600;
	line-height: 1.45;
	color: var(--ha-ink);
}

/* Google-Maps-Links als ganze klickbare Zeile */
.map-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-weight: 600;
	color: var(--ha-primary);
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.map-link:hover,
.map-link:focus-visible {
	color: var(--ha-primary-alt);
}

.map-link__arrow {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Schwebender „Nach oben"-Button */
.to-top {
	position: fixed;
	inset-block-end: calc(1.25rem + env(safe-area-inset-bottom, 0px));
	inset-inline-end: calc(1.25rem + env(safe-area-inset-right, 0px));
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--ha-primary);
	color: var(--ha-white);
	box-shadow: var(--ha-shadow-md);
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--ha-transition-base), transform var(--ha-transition-base), visibility var(--ha-transition-base), background-color var(--ha-transition-fast);
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover,
.to-top:focus-visible {
	background-color: var(--ha-primary-alt);
	color: var(--ha-white);
}

.to-top__icon {
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
	.to-top {
		transition: none;
	}
}

/* Footer-„Nach oben" als richtiger Button */
.site-footer .footer-top__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.55rem 1rem;
	border-radius: var(--ha-radius-pill);
	background-color: var(--ha-white);
	color: var(--ha-primary) !important;
	font-weight: 600;
	text-decoration: none;
}

.site-footer .footer-top__btn:hover,
.site-footer .footer-top__btn:focus-visible {
	background-color: var(--ha-gold);
	color: var(--ha-ink) !important;
	text-decoration: none;
}

.footer-top__arrow {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='m5 12 7-7 7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 767px) {
	.h22-grid,
	.h22-service-groups {
		grid-template-columns: 1fr;
	}

	.h22-form-card {
		padding: 1rem;
	}

	.contact-trio .map-card {
		max-width: none;
	}
}


/* Button-Zustände: Text bleibt auf jedem Hintergrund sichtbar (Hover + Fokus) */
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	color: var(--ha-white) !important;
	background-color: var(--ha-primary-alt) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus-visible,
.btn-outline .wp-block-button__link:hover,
.btn-outline .wp-block-button__link:focus-visible {
	color: var(--ha-white) !important;
	background-color: var(--ha-primary) !important;
	border-color: var(--ha-primary) !important;
}

.btn-light .wp-block-button__link:hover,
.btn-light .wp-block-button__link:focus-visible {
	color: var(--ha-ink) !important;
	background-color: var(--ha-gold) !important;
	border-color: var(--ha-gold) !important;
}

.btn-ghost .wp-block-button__link:hover,
.btn-ghost .wp-block-button__link:focus-visible {
	color: var(--ha-white) !important;
	background-color: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--ha-white) !important;
}

.btn-gold .wp-block-button__link:hover,
.btn-gold .wp-block-button__link:focus-visible {
	color: var(--ha-ink) !important;
	background-color: var(--ha-gold-deep) !important;
	border-color: var(--ha-gold-deep) !important;
}

.header-cta .wp-block-button__link:hover,
.header-cta .wp-block-button__link:focus-visible,
.header-cta a:hover,
.header-cta a:focus-visible {
	color: var(--ha-white) !important;
	background-color: var(--ha-primary-alt) !important;
}

.h22-submit:hover,
.h22-submit:focus-visible {
	color: var(--ha-white) !important;
	background-color: var(--ha-primary-alt) !important;
}


/* ==========================================================================
   24. Leistungs-Icons, Termin-Callout, Footer-Link-Kontrast
   ========================================================================== */

/* Inline-SVG-Icons in den Leistungs-Karten */
.service-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
	margin: 0 0 0.35rem;
	flex: 0 0 46px;
}

.service-icon svg {
	width: 28px;
	height: 28px;
	display: block;
}

/* Termin-Callout (z. B. Blutabnahme) */
.callout-appointment {
	margin-block-start: 2rem;
	max-width: 100%;
}

.callout__title {
	font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.6rem) !important;
	font-weight: 700;
	line-height: 1.25;
	color: var(--ha-ink);
	letter-spacing: -0.01em;
}

.callout-appointment .callout__text {
	font-weight: 500;
}

@media (max-width: 767px) {
	.callout-appointment {
		width: 100%;
		max-width: none;
	}
}

/* Footer-Links: Hover/Fokus bleibt weiß (Gold nur als Unterstreichung),
   damit der Kontrast auf Magenta ≥ 4,5:1 bleibt */
.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--ha-white) !important;
	text-decoration-color: var(--ha-gold);
	text-decoration-thickness: 2px;
}

.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible {
	color: var(--ha-white) !important;
}


/* Ghost-Button: Hover/Fokus mit dunklem Schleier (Kontrast ≥ 4,5:1 auf Magenta) */
.btn-ghost .wp-block-button__link:hover,
.btn-ghost .wp-block-button__link:focus-visible {
	color: var(--ha-white) !important;
	background-color: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--ha-white) !important;
}


/* Header dauerhaft sticky: der Template-Part-Wrapper ist der Sticky-Träger,
   weil .site-header allein (Elternhöhe = Headerhöhe) nicht haften könnte. */
header.wp-block-template-part {
	position: sticky;
	top: var(--ha-adminbar-offset);
	z-index: 100;
}

.site-header {
	position: relative;
	top: auto;
}

/* Kein Höhensprung beim Scrollen (CLS): nur Farbe/Schatten ändern */
.site-header.is-scrolled .header-inner {
	min-height: var(--ha-header-height);
}

.site-header.is-scrolled .site-brand img,
.site-header.is-scrolled .site-logo img {
	height: 80px;
	max-height: 80px;
}

/* Anker (z. B. #kontaktformular) nicht unter dem Sticky-Header verstecken */
:target,
.anchor-target[id] {
	scroll-margin-top: calc(var(--ha-header-height) + 1rem + var(--ha-adminbar-offset));
}

@media (max-width: 900px) {
	.site-header.is-scrolled .site-brand img,
	.site-header.is-scrolled .site-logo img {
		height: 58px;
		max-height: 58px;
	}

	.site-header.is-scrolled .header-inner {
		min-height: var(--ha-header-height);
	}
}

/* ==========================================================================
   21. Druck
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.cta-band,
	.skip-link,
	.nav-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11pt;
	}

	.section {
		padding-block: 0.5cm;
	}

	.hero {
		height: auto;
		min-height: 0;
	}

	.hero::before {
		display: none;
	}

	.hero__bg {
		position: static;
		height: auto;
	}

	.hero__bg img {
		height: auto;
	}

	a {
		color: #000;
		text-decoration: underline;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
	}

	.reveal-ready .reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ==========================================================================
   22. Feinschliff 2026-11-02: größere Marke, Leistungen/Team in Spalten,
       schwimmender Termin-Button
   ========================================================================== */

/* --- Marke im Header etwas größer (Logo + Name) -------------------------- */

:root {
	/* gemessene Header-Höhe nach der Vergrößerung (Logo 96 px + Innenabstand) */
	--ha-header-height: 120px;
	--ha-header-height-compact: 100px;
}

.site-brand {
	gap: 1rem;
}

.site-brand img,
.site-logo img {
	height: 96px;
	max-height: 96px;
}

.site-header.is-scrolled .site-brand img,
.site-header.is-scrolled .site-logo img {
	height: 76px;
	max-height: 76px;
}

.site-brand__name strong {
	font-size: 1.25rem;
	line-height: 1.2;
}

@media (max-width: 900px) {
	:root {
		--ha-header-height: 92px;
		--ha-header-height-compact: 86px;
	}

	.site-brand img,
	.site-logo img {
		height: 68px;
		max-height: 68px;
	}

	.site-header.is-scrolled .site-brand img,
	.site-header.is-scrolled .site-logo img {
		height: 62px;
		max-height: 62px;
	}
}

/* --- Leistungen: Vorsorge und Mutter-Kind-Pass nebeneinander ------------- */

.notice-pair.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	align-items: stretch;
	margin: 0;
}

.notice-pair > .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
}

.notice-pair .notice {
	flex: 1 1 auto;
}

.notice-pair .notice > * {
	max-width: 46ch;
}

/* --- Termine: Text links, Hinweis-Karte rechts ---------------------------- */

.termine-split.wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: stretch;
	margin: 0;
}

.termine-split > .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.termine-intro {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.termine-intro > * {
	margin-block: 0;
}

.termine-card {
	width: 100%;
	height: 100%;
}

.termine-card > * {
	margin-block: 0;
}

.termine-card .wp-block-buttons {
	margin-block-start: auto !important;
	padding-block-start: 0.75rem;
}

/* --- Team: Bild, Person und Werdegang in drei Spalten -------------------- */

.team-grid.wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: stretch;
	margin: 0;
}

.team-grid > .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.team-grid__media .wp-block-image {
	margin: 0;
}

.team-grid__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: 50% 18%;
	border-radius: var(--ha-radius-lg);
}

.team-grid__intro .split-content {
	gap: 1rem;
}

.team-grid__career .card {
	width: 100%;
	height: 100%;
}

.team-career .timeline {
	gap: 1rem;
}

.team-career .timeline__text {
	font-size: 0.95rem;
	line-height: 1.55;
}

.team-career .timeline__year {
	font-size: 0.75rem;
}

/* --- Schwimmender Termin-Button (rechts, erscheint beim Scrollen) -------- */

.call-float {
	position: fixed;
	z-index: 90;
	inset-inline-end: clamp(0.75rem, 1.4vw, 1.35rem);
	inset-block-start: 50%;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 1rem;
	background-color: var(--ha-primary);
	color: var(--ha-white);
	border-radius: var(--ha-radius-pill);
	box-shadow: 0 20px 45px -24px rgba(122, 0, 67, 0.75);
	text-decoration: none;
	font-weight: 600;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-50%) translateX(calc(100% + 2rem));
	transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1), visibility 200ms ease;
}

.call-float.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(-50%) translateX(0);
}

.call-float:hover,
.call-float:focus-visible {
	background-color: var(--ha-primary-alt);
	color: var(--ha-white);
}

.call-float:focus-visible {
	outline: var(--ha-focus-width) solid var(--ha-focus-color);
	outline-offset: var(--ha-focus-offset);
}

.call-float__icon {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.call-float__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.call-float__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.call-float__number {
	font-size: 0.95rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

@media (max-width: 1439px) {
	.call-float {
		width: 54px;
		height: 54px;
		justify-content: center;
		padding: 0;
	}

	.call-float__text {
		display: none;
	}
}

@media (max-width: 1023px) {
	.call-float {
		inset-block-start: auto;
		inset-block-end: clamp(0.9rem, 2.4vh, 1.4rem);
		width: 56px;
		height: 56px;
		transform: translateY(1.5rem);
	}

	.call-float.is-visible {
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.call-float {
		transition: none;
	}
}

/* --- Umbruch der neuen Spalten-Layouts ----------------------------------- */

@media (max-width: 1099px) {
	.team-grid.wp-block-columns {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.team-grid__media {
		max-width: 420px;
	}
}

@media (max-width: 900px) {
	.termine-split.wp-block-columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.notice-pair.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.call-float__icon {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}
}

@media print {
	.call-float {
		display: none !important;
	}
}

/* --- Deep-Links: dezentes Link-Symbol an Abschnitts-Überschriften -------- */

.section-anchor {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.7em;
	height: 1.7em;
	margin-inline-start: 0.35em;
	font-size: 0.55em;
	vertical-align: 0.12em;
	color: var(--ha-primary);
	text-decoration: none;
	opacity: 0.35;
	border-radius: 50%;
	transition: opacity var(--ha-transition-fast), background-color var(--ha-transition-fast);
}

.has-section-anchor:hover .section-anchor,
.section-anchor:focus-visible {
	opacity: 1;
	background-color: var(--ha-rose-mist);
}

.section-anchor:focus-visible {
	outline: var(--ha-focus-width) solid var(--ha-focus-color);
	outline-offset: 2px;
}

.section-anchor__icon {
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.07 0l3-3a5 5 0 0 0-7.07-7.07l-1.5 1.5'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.07 0l-3 3a5 5 0 0 0 7.07 7.07l1.5-1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media print {
	.section-anchor {
		display: none !important;
	}
}

/* --- Impfungen: kompakte Preistabelle + drei Infokarten ------------------ */

#impfungen .tarif-table {
	max-width: 680px;
	margin-block: 1.25rem 0;
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-md);
	overflow: hidden;
	background-color: var(--ha-white);
}

#impfungen .tarif-table table {
	width: 100%;
	border-collapse: collapse;
}

#impfungen .tarif-table thead th {
	background-color: var(--ha-cream);
	padding: 0.7rem 1.1rem;
	border-bottom: 1px solid var(--ha-line-strong);
}

#impfungen .tarif-table thead th:last-child {
	text-align: right;
}

#impfungen .tarif-table tbody th {
	padding: 0.72rem 1.1rem;
	font-weight: 600;
	text-align: left;
	color: var(--ha-ink);
}

#impfungen .tarif-table tbody td {
	padding: 0.72rem 1.1rem;
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: var(--ha-ink);
}

#impfungen .tarif-table tbody tr:nth-child(even) {
	background-color: var(--ha-cream);
}

#impfungen .tarif-table tbody tr:hover {
	background-color: var(--ha-rose-mist);
}

#impfungen .tarif-table tbody tr:hover td {
	background-color: transparent;
}

#impfungen .tarif-table tbody tr:last-child th,
#impfungen .tarif-table tbody tr:last-child td {
	border-bottom: 0;
}

#impfungen .note {
	max-width: 680px;
	margin-block: 0.9rem 0;
	padding: 0.7rem 1rem;
	background-color: var(--ha-cream);
	border-inline-start: 3px solid var(--ha-gold);
	border-radius: var(--ha-radius-sm);
}

.info-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
	margin: 1.75rem 0 0;
}

.info-grid > .wp-block-column {
	margin: 0;
	min-width: 0;
	display: flex;
}

.info-grid .info-card {
	width: 100%;
	height: 100%;
	padding: clamp(1rem, 1.6vw, 1.35rem);
	gap: 0.45rem;
}

.info-grid .info-card h3 {
	font-size: 1.0625rem;
	line-height: 1.3;
	margin: 0;
}

.info-grid .info-card p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--ha-gray);
}

@media (max-width: 900px) {
	.info-grid.wp-block-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.info-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	#impfungen .tarif-table thead th,
	#impfungen .tarif-table tbody th,
	#impfungen .tarif-table tbody td {
		padding-inline: 0.75rem;
	}
}

/* ==========================================================================
   25. Header final: dauerhaft sticky, konstante Höhe (kein CLS)
   ========================================================================== */

header.wp-block-template-part {
	position: sticky;
	top: var(--ha-adminbar-offset);
	z-index: 100;
}

.site-header {
	position: relative;
	top: auto;
}

/* Beim Scrollen kein Höhensprung (auch nicht durch ältere is-scrolled-Regeln) */
.site-header.is-scrolled .header-inner {
	min-height: var(--ha-header-height);
}

.site-header.is-scrolled .site-brand img,
.site-header.is-scrolled .site-logo img {
	height: var(--ha-logo-height);
	max-height: var(--ha-logo-height);
}

/* Logo-Größe zentral (Desktop 96 px, mobil 68 px) */
:root {
	--ha-logo-height: 96px;
}

@media (max-width: 900px) {
	:root {
		--ha-logo-height: 68px;
	}

	.site-header.is-scrolled .header-inner {
		min-height: var(--ha-header-height);
	}

	.site-header.is-scrolled .site-brand img,
	.site-header.is-scrolled .site-logo img {
		height: var(--ha-logo-height);
		max-height: var(--ha-logo-height);
	}
}

/* Anker-Links (z. B. #kontaktformular) nicht unter dem Header verstecken */
:target,
.anchor-target[id] {
	scroll-margin-top: calc(var(--ha-header-height) + 1rem + var(--ha-adminbar-offset));
}

/* ==========================================================================
   26. Formular-Feinschliff (Trio breiter, Details, Touch-Ziele, mobil 16px)
   ========================================================================== */

/* Trio: 1360 px, ausgewogene Spalten (Formular bekommt den Großteil) */
.contact-trio.wp-block-columns {
	grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.6fr) minmax(0, 0.68fr);
	max-width: 1360px;
	gap: clamp(1.5rem, 2vw, 2rem);
}

@media (max-width: 1023px) {
	.contact-trio.wp-block-columns {
		grid-template-columns: 1fr;
	}
}

/* Leistungs-Checkboxen: auto-fit, keine Wortfragmente */
.h22-service-groups {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.h22-check,
.h22-check span {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

@media (max-width: 767px) {
	.h22-service-groups {
		grid-template-columns: 1fr;
	}

	/* iOS zoomt bei < 16 px → alle Felder mobil 16 px */
	.h22-contact-form input,
	.h22-contact-form select,
	.h22-contact-form textarea {
		font-size: 16px !important;
		line-height: 1.4;
	}

	/* Touch-Ziele: ganze Label-Zeile, Checkbox 22 px */
	.h22-check {
		min-height: 44px;
		padding-block: 0.35rem;
		align-items: flex-start;
	}

	.h22-check input {
		width: 22px;
		height: 22px;
		margin-block-start: 0.1rem;
	}

	.h22-radio-field {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}

	.h22-radio {
		min-height: 44px;
	}

	.h22-grid {
		grid-template-columns: 1fr;
	}

	/* Footer-Links: komfortable Touch-Ziele */
	.site-footer .wp-block-list a,
	.site-footer .footer-bottom a,
	.site-footer .footer-top__btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
}

.site-footer .wp-block-list a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding-block: 0.2rem;
}

/* Leistungen als <details> */
.h22-services {
	border: 1px solid var(--ha-line-strong);
	border-radius: var(--ha-radius-md);
	background: var(--ha-white);
	padding: 0 1rem;
}

.h22-services > summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem 0.8rem;
	min-height: 48px;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ha-ink);
	list-style: none;
}

.h22-services > summary::-webkit-details-marker {
	display: none;
}

.h22-services > summary::after {
	content: "+";
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	margin-inline-start: auto;
	border-radius: 50%;
	background-color: var(--ha-rose-mist);
	color: var(--ha-primary);
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1;
}

.h22-services[open] > summary::after {
	content: "−";
	background-color: var(--ha-primary);
	color: var(--ha-white);
}

.h22-services__count {
	font-weight: 500;
	font-size: 0.8125rem;
	color: var(--ha-primary);
}

.h22-services .h22-service-groups {
	padding-block: 0.4rem 1rem;
}

/* Statusmeldung mit Icon */
.h22-form-status {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.h22-form-status p {
	padding: 0;
	margin: 0;
	background: none;
	border: 0;
}

.h22-form-status.is-success,
.h22-form-status.is-error {
	padding: 0.8rem 1rem;
	border-radius: var(--ha-radius-sm);
}

.h22-form-status.is-success {
	background-color: var(--ha-status-bg);
	color: var(--ha-status-open);
	border-inline-start: 4px solid var(--ha-status-open-dot);
}

.h22-form-status.is-success p {
	color: var(--ha-status-open);
}

.h22-form-status.is-error {
	background-color: var(--ha-rose-mist);
	color: var(--ha-ink);
	border-inline-start: 4px solid var(--ha-primary-alt);
}

.h22-form-status__icon {
	display: none;
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 1.25rem;
	margin-block-start: 0.15rem;
	background-color: currentColor;
}

.h22-form-status.is-success .h22-form-status__icon {
	display: block;
	color: var(--ha-status-open);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.h22-form-status.is-error .h22-form-status__icon {
	display: block;
	color: var(--ha-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 17h.01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 17h.01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.h22-form-status:not(.is-success):not(.is-error) .h22-form-status__icon {
	display: none;
}

/* Sichtbarer Fokus für alle Formularelemente */
.h22-contact-form input:focus-visible,
.h22-contact-form textarea:focus-visible,
.h22-contact-form select:focus-visible,
.h22-contact-form button:focus-visible {
	outline: 3px solid var(--ha-focus-color);
	outline-offset: 2px;
}
/* Footer-Links: Zielgrößen (WCAG 2.2 AA) */
.site-footer .wp-block-list a,
.site-footer p a,
.site-footer .footer-bottom a,
.site-footer .footer-top__btn {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
}

@media (max-width: 767px) {
	.site-footer .wp-block-list a,
	.site-footer .footer-bottom a,
	.site-footer .footer-top__btn {
		min-height: 44px;
	}
}
/* Runde 7: Lange Wörter in Überschriften/Texten umbrechen (kein Überlauf) */
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
td,
th,
summary {
	overflow-wrap: break-word;
	word-break: normal;
}

/* Callout-Text auf /leistungen: 600 wie auf /kontakt/ (Vorgabe 600–700) */
.callout-appointment .callout__text {
	font-weight: 600;
}

/* Footer-„Nach oben" bleibt ein 44-px-Button */
.site-footer .footer-top__btn {
	min-height: 44px;
}

/* Anker-Ziel ohne Header-Überdeckung */
:target {
	scroll-margin-top: calc(var(--ha-header-height) + 1rem + var(--ha-adminbar-offset));
}

/* Footer-Nach-oben: final 44 px (überschreibt alle früheren Regeln) */
.site-footer .footer-bottom .footer-top__btn {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Kontakt-E-Mail: lesbarer Umbruch (weicher Umbruch nach @, nie mitten im Wort) */
.contact-list .contact-value--mail,
.contact-list a[href^="mailto:"] {
	font-size: 0.9375rem;
	letter-spacing: 0;
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
}

/* Impfungen: 3 Info-Karten nach der Preistabelle */
.impf-info-grid.wp-block-columns {
	margin-block-start: 2rem;
}

.impf-info-grid .info-card .service-icon {
	margin-block-end: 0.1rem;
}

.impf-info-grid .info-card h3 {
	margin-block: 0.1rem 0.3rem;
}
