/*
 * Ergänzende Regeln, die theme.json nicht abdeckt.
 * Farben, Schriften, Größen, Abstände und Schatten stehen in theme.json (Token-Bogen design/design-tokens.md vom 24.10.2026).
 * Grundlage: theme.css aus hno-lindemann 2.2.0, umgestellt auf die Entwürfe "Startseite HNOrdic MVZ" und "MVZ Standort Website".
 * Hier nur: Kopfbereich mit Logo, Einstieg, Karten, Kacheln, Laufband, Vergleich, Fragen, Sprechzeiten,
 * Standortkarte, Kartenplatzhalter, Handy-Leiste, Fokus-Darstellung. Symbole stehen in symbole.css.
 *
 * Klassen werden im Editor unter Block, Erweitert, Zusätzliche CSS-Klasse(n) gesetzt. Die Patterns bringen sie mit.
 * Farben, die nicht in der Palette stehen (Schatten, Grün für "geöffnet", Sterne, Google-G), stehen nur hier.
 */

:root {
	--wki-radius-knopf: var(--wp--custom--radius--knopf, 999px);
	--wki-radius-karte: var(--wp--custom--radius--karte, 30px);
	--wki-radius-karte-klein: var(--wp--custom--radius--karte-klein, 24px);
	--wki-radius-bild: var(--wp--custom--radius--bild, 20px);
	--wki-radius-feld: var(--wp--custom--radius--feld, 14px);
	--wki-rand: clamp(20px, 4vw, 48px);
	--wki-linie: rgba(15, 23, 31, 0.08);
	--wki-schatten-hover: 0 0 0 1px rgba(25, 81, 123, 0.14), 0 20px 50px rgba(52, 125, 180, 0.22);
	--wki-gruen: #3fb171;
}

body {
	-webkit-font-smoothing: antialiased;
}

/* Fokus sichtbar machen (Tastaturbedienung, Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.wp-element-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--wp--preset--color--akzent);
	outline-offset: 2px;
	/* Weißer Ring zwischen Element und Rahmen: Fokus auch auf Fotos und dunklen Flächen sichtbar (WCAG 2.4.7, 1.4.11).
	   !important, weil Knöpfe, Kärtchen und Kontaktwege eigene Schatten haben, die den Ring sonst überschreiben (Pia H-Ä1). */
	box-shadow: 0 0 0 2px #fff !important;
}

/* Karte nach "Karte laden": Behälter hält den Fokus (karte.js) */
.wki-karte:focus-visible {
	outline: 3px solid var(--wp--preset--color--akzent);
	outline-offset: 2px;
}

/* Auf der dunklen Fläche des Termin-Aufrufs ein heller Rahmen */
.wki-aufruf a:focus-visible,
.wki-aufruf .wp-element-button:focus-visible {
	outline-color: #9cc7e3;
}

/* Fokus nicht unter dem mitlaufenden Kopfbereich oder der Handy-Leiste verstecken (WCAG 2.2, 2.4.11) */
html {
	scroll-padding-top: 110px;
}

@media (max-width: 781px) {
	html {
		scroll-padding-bottom: 100px;
	}
}

/* ---- Schrift ---- */

/* Betonte Wörter in Überschriften = Newsreader aufrecht in Nordblau ("In guten Händen.").
   Im Editor: Wort markieren, Kursiv-Knopf (wird aufrecht angezeigt). */
h1 em, h2 em, h3 em, h4 em,
.wp-block-post-title em,
.wki-serif {
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-weight: 400;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--wp--preset--color--akzent);
}

h1, h2, h3, h4 {
	margin-top: 0;
	margin-bottom: 0.5em;
	text-wrap: balance;
	overflow-wrap: break-word;
	hyphens: manual;
}

/* Erst auf schmalen Bildschirmen lange Wörter in Überschriften trennen */
@media (max-width: 599px) {
	h1, h2 {
		hyphens: auto;
	}
}

p {
	text-wrap: pretty;
}

/* Überzeile über Überschriften ("UNSERE FACHRICHTUNGEN") */
.wki-ueberzeile {
	color: var(--wp--preset--color--akzent);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

/* Überzeile als echte Überschrift (h2/h3): gleiche Optik, Überschriften-Schrift zurücksetzen */
h2.wki-ueberzeile,
h3.wki-ueberzeile {
	font-family: var(--wp--preset--font-family--text);
	line-height: 1.5;
	margin-top: 0;
}

h2.wki-versprechen-satz {
	font-weight: 400;
}

.wki-ueberzeile-strich {
	text-transform: uppercase;
}

/* Pfeil hinter Knöpfen per CSS, damit Screenreader ihn nicht vorlesen (Pia Hinweis 6) */
.wki-pfeil-knopf .wp-block-button__link::after {
	content: " →";
}

/* Überzeile mit Strich davor ("— UNSER VERSPRECHEN") */
.wki-ueberzeile-strich {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--wp--preset--color--text-leise);
	font-size: 12px;
	letter-spacing: 0.32em;
}

.wki-ueberzeile-strich::before {
	content: "";
	flex: none;
	width: 36px;
	height: 1px;
	background: var(--wp--preset--color--text);
}

/* Einleitung unter H1 und H2 */
.wki-einleitung {
	font-size: 1.03125rem;
	line-height: 1.7;
	max-width: 520px;
}

/* Kleingedrucktes */
.wki-klein {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-leise);
}

/* Pfad über dem Titel (Startseite / Langenhagen / …) */
.wki-pfad {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-leise);
}

.wki-pfad a {
	color: inherit;
	text-decoration: none;
}

.wki-pfad a:hover,
.wki-pfad a:focus {
	text-decoration: underline;
}

/* Kopf eines Abschnitts: links Überzeile und Überschrift, rechts die Einleitung, unten bündig */
.wki-abschnitt-kopf {
	max-width: 760px;
	margin-bottom: var(--wp--preset--spacing--40);
}

.wki-kopf-zweispaltig {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 24px 64px !important;
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 56px);
}

.wki-kopf-zweispaltig > * {
	margin: 0 !important;
}

.wki-kopf-zweispaltig h2 {
	margin: 0;
}

/* Seitenkopf der Unterseiten (Leistungen, Ärzte, Kontakt) wie im Standort-Entwurf: abgerundete Fläche mit Verlauf
   Hellblau – Sand – Türkis, links Überzeile und H1 (Großbuchstaben, zweiter Teil kursiv in Serifenschrift), rechts
   die Einleitung (Abgleich LE1, LE2, A1, K1). */
.wki-seitenkopf {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 24px 64px !important;
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 64px) !important;
	padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 64px);
	border-radius: 32px;
	background: linear-gradient(120deg, #ebf3f7 0%, #f7f5ef 45%, #cfebee 100%);
}

.wki-seitenkopf > *,
.wki-seitenkopf-titel > * {
	margin: 0 !important;
}

.wki-seitenkopf-titel {
	display: flex !important;
	flex-direction: column;
	gap: 20px;
}

.wki-seitenkopf .wki-ueberzeile {
	color: #3d434a;
}

.wki-seitenkopf h1 {
	font-size: clamp(40px, 5.4vw, 80px) !important;
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.wki-seitenkopf h1 em {
	text-transform: none;
	letter-spacing: -0.01em;
}

.wki-seitenkopf .wki-einleitung {
	max-width: 520px;
	color: #2c3137;
}

/* H1 auf Unterseiten etwas kleiner als im Einstieg (Seitentitel, Leistungsübersicht) */
h1.wp-block-post-title,
.wki-h1-seite {
	font-size: clamp(2.375rem, 4.6vw, 4.25rem) !important;
}

/* Kleinere Zwischenüberschrift (Kassenleistungen, Selbstzahlerleistungen) */
.wki-h2-klein {
	font-size: clamp(1.625rem, 2.6vw, 2.125rem) !important;
}

.wp-block-column > .wki-kachel {
	height: 100%;
}

/* ---- Knöpfe ---- */

/* Zweiter Knopf: weiße Fläche, dunkle Schrift ("Unsere Leistungen →") */
.wp-block-button.is-style-hell .wp-block-button__link {
	background: rgba(255, 255, 255, 0.9);
	color: var(--wp--preset--color--text);
	box-shadow: 0 10px 30px rgba(38, 79, 113, 0.08);
}

.wp-block-button.is-style-hell .wp-block-button__link:hover,
.wp-block-button.is-style-hell .wp-block-button__link:focus {
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--text);
}

/* Akzent-Knopf: helle Fläche, blaue Schrift, feiner Rand ("Vertraulich Kontakt aufnehmen") */
.wp-block-button.is-style-akzent .wp-block-button__link {
	border: 1px solid rgba(25, 81, 123, 0.22);
	background: linear-gradient(160deg, #fff, var(--wp--preset--color--hell));
	color: var(--wp--preset--color--akzent-dunkel);
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(30, 90, 140, 0.14);
}

.wp-block-button.is-style-akzent .wp-block-button__link:hover,
.wp-block-button.is-style-akzent .wp-block-button__link:focus {
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--akzent-dunkel);
	box-shadow: 0 0 0 1px rgba(25, 81, 123, 0.3), 0 8px 34px rgba(70, 140, 190, 0.4);
}

/* Umriss-Knopf */
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1px solid var(--wp--preset--color--rahmen);
	background: transparent;
	color: var(--wp--preset--color--text);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	border-color: var(--wp--preset--color--knopf-hover);
}

/* Text-Link mit Pfeil ("Zum Standort →") */
.wki-pfeil-link a,
a.wki-pfeil-link {
	padding-block: 2px;
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.wki-pfeil-link a::after,
a.wki-pfeil-link::after {
	content: "";
	width: 1.1em;
	height: 1.1em;
	background-color: currentColor;
	-webkit-mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.wki-pfeil-link a:hover,
.wki-pfeil-link a:focus {
	color: var(--wp--preset--color--akzent);
}

.wki-pfeil-link a:hover::after,
a.wki-pfeil-link:hover::after {
	transform: translateX(3px);
}

/* ---- Logo (WordPress-Block "Logo"; austauschbar unter Design, Editor) ---- */

.wki-logo {
	flex: none;
	margin: 0;
	line-height: 0;
}

/* Die Breite kommt aus dem Logo-Block (Einstellung "Bildbreite" im Editor), hier nur die Grenzen. */
.wki-logo img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ---- Kopfbereich ---- */

.wki-kopf {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(25, 81, 123, 0.08);
	box-shadow: 0 10px 40px rgba(60, 110, 150, 0.06);
}

/* Hintergrund und Weichzeichner liegen auf einer eigenen Ebene. Am Kopf selbst würde backdrop-filter
   den Bezugsrahmen für das Handy-Menü (position: fixed) bilden, das Menü wäre dann nur so hoch wie der Kopf. */
.wki-kopf::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 249, 246, 0.82));
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.admin-bar .wki-kopf {
	top: var(--wp-admin--admin-bar--height, 0px);
}

/* Untermenüs als helle Karte mit weichem Schatten */
.wki-kopf .wp-block-navigation__submenu-container {
	min-width: 300px !important;
	padding: 10px !important;
	border: 1px solid rgba(15, 23, 31, 0.06) !important;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.97) !important;
	box-shadow: var(--wp--preset--shadow--schwebend);
}

.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 11px 14px !important;
	border-radius: 14px;
	font-weight: 600;
}

.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background: var(--wp--preset--color--hell);
}

/* Beschreibung unter dem Menüpunkt ("Erster Standort · geöffnet"): Feld "Beschreibung" des Menüpunkts */
.wki-kopf .wp-block-navigation-item__description {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--wp--preset--color--text-leise);
}

/* Untermenü als Karte wie im Entwurf: Titel und Unterzeile links, Pfeil rechts. Nur ab 1100 px, wo das Menü
   ausgeklappt im Kopf steht; darunter gilt das Handy- und Tablet-Menü (Overlay) weiter unten. */
@media (min-width: 1100px) {
	.wki-kopf .wp-block-navigation__submenu-container {
		box-sizing: border-box;
		width: min(300px, 86vw);
		padding: 12px !important;
		gap: 0;
		border-radius: 14px;
		box-shadow: 0 18px 40px -22px rgba(20, 40, 65, 0.28);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: grid !important;
		grid-template-columns: 1fr auto;
		column-gap: 12px;
		align-items: center;
		padding: 9px 12px !important;
		border-radius: 8px;
		line-height: 1.3;
		color: var(--wp--preset--color--text);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		grid-column: 1;
		font-size: 14.5px;
		font-weight: 500;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__description {
		grid-column: 1;
		margin-top: 1px;
		font-size: 12.5px;
		line-height: 1.35;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
		content: "→";
		grid-column: 2;
		grid-row: 1 / span 2;
		font-size: 12px;
		color: var(--wp--preset--color--akzent);
		opacity: 0.7;
	}

	/* Überschrift „Unsere Fachrichtungen“ über dem Untermenü Leistungen (Klasse am Menüpunkt in parts/header.html) */
	.wki-kopf .wki-menue-fachrichtungen > .wp-block-navigation__submenu-container::before {
		content: "Unsere Fachrichtungen";
		display: block;
		padding: 10px 14px 6px;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: var(--wp--preset--color--akzent);
	}

	/* Fachgebiet HNO-Heilkunde oben, seine Leistungen eingerückt darunter mit Linie links (Klassen in parts/header.html) */
	.wki-kopf .wki-menue-fachrichtungen > .wp-block-navigation__submenu-container {
		width: min(320px, 86vw);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-fach .wp-block-navigation-item__label {
		font-size: 14.5px;
		font-weight: 500;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-unter {
		margin-left: 22px;
		padding-left: 6px;
		border-left: 1px solid var(--wp--preset--color--rahmen);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-unter .wp-block-navigation-item__label {
		font-size: 14px;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-unter + li:not(.wki-menue-unter) {
		margin-top: 8px;
		padding-top: 8px;
		border-top: 1px solid var(--wki-linie);
	}
}

/* Standort-Menü filigran (ab 1100 px): Leistungen zweispaltig mit feinem Symbol ohne Kachel, Ärzte mit kleinen
   runden Porträts, unten jeweils ein schlichter Textlink unter einer Haarlinie („Alle Leistungen im Überblick“,
   „Unser Ärzteteam“). Klassen an den Menüpunkten in parts/header-standort.html. */
@media (min-width: 1100px) {
	.wki-kopf .wki-menue-leistungen > .wp-block-navigation__submenu-container,
	.wki-kopf .wki-menue-aerzte > .wp-block-navigation__submenu-container {
		box-sizing: border-box;
		padding: 16px !important;
		border-radius: 14px;
		box-shadow: 0 18px 40px -22px rgba(20, 40, 65, 0.28);
	}

	.wki-kopf .wki-menue-leistungen > .wp-block-navigation__submenu-container {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 16px !important;
		width: min(700px, calc(100vw - 96px)) !important;
		left: -220px !important;
	}

	.wki-kopf .wki-menue-aerzte > .wp-block-navigation__submenu-container {
		gap: 0 !important;
		width: min(340px, 90vw) !important;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-symbol > .wp-block-navigation-item__content,
	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-portraet > .wp-block-navigation-item__content {
		position: relative;
		display: grid !important;
		grid-template-columns: 20px minmax(0, 1fr) !important;
		column-gap: 14px;
		align-items: center;
		padding: 10px 12px !important;
		border-radius: 8px;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-portraet > .wp-block-navigation-item__content {
		grid-template-columns: 44px minmax(0, 1fr) !important;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-symbol .wp-block-navigation-item__label,
	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-portraet .wp-block-navigation-item__label {
		grid-column: 2;
		font-size: 14.5px;
		font-weight: 500;
		line-height: 1.3;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-symbol .wp-block-navigation-item__description,
	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-portraet .wp-block-navigation-item__description {
		grid-column: 2;
		margin-top: 1px;
		font-size: 12.5px;
		line-height: 1.35;
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-portraet > .wp-block-navigation-item__content::after {
		content: none !important;
	}

	/* Feines Symbol in Nordblau, auf Höhe der ersten Zeile (im Link selbst, am Listenpunkt setzt WordPress eigene Regeln) */
	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-symbol > .wp-block-navigation-item__content::after {
		content: "" !important;
		position: absolute;
		top: 11px;
		left: 12px;
		grid-column: auto !important;
		grid-row: auto !important;
		width: 20px;
		height: 20px;
		background-color: var(--wp--preset--color--akzent);
		-webkit-mask: var(--wki-symbol) center / contain no-repeat;
		mask: var(--wki-symbol) center / contain no-repeat;
		pointer-events: none;
	}

	/* Kleines rundes Porträt (Fotos im Theme: assets/bilder/fotos/menue-*.jpg) */
	.wki-kopf .wki-menue-portraet > .wp-block-navigation-item__content::before {
		content: "";
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: #eef3f6 center top / cover no-repeat;
	}

	.wki-kopf .wki-portraet-petrovski > .wp-block-navigation-item__content::before {
		background-image: url(../bilder/fotos/menue-petrovski.jpg);
	}

	.wki-kopf .wki-portraet-mueller > .wp-block-navigation-item__content::before {
		background-image: url(../bilder/fotos/menue-mueller.jpg);
	}

	/* Schlichter Textlink unter einer Haarlinie */
	.wki-kopf .wki-menue-alle {
		grid-column: 1 / -1;
		margin-top: 10px;
		padding-top: 6px;
		border-top: 1px solid rgba(15, 23, 31, 0.08);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-alle > .wp-block-navigation-item__content {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 10px 12px !important;
		border-radius: 8px;
		background: transparent;
		color: var(--wp--preset--color--akzent-dunkel);
	}

	.wki-kopf .wp-block-navigation__submenu-container .wki-menue-alle .wp-block-navigation-item__label {
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 0.02em;
	}
}

/* Instagram und Facebook: runde helle Knöpfe mit Symbol (Symbole lokal in assets/bilder/symbole/, reine Links,
   keine Verbindung zu den Diensten vor dem Klick). Im Kopf erst ab 1100 px, sonst im Fuß. */
.wki-social {
	display: flex;
	gap: 10px;
	margin: 0;
}

.wki-social a {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(150deg, #fff 0%, #eef2f6 55%, #dde5ec 100%);
	box-shadow: inset 0 1px 0 #fff, 0 10px 20px -12px rgba(30, 50, 80, 0.45);
}

.wki-social a::before {
	content: "";
	width: 22px;
	height: 22px;
	background-color: var(--wp--preset--color--akzent);
	-webkit-mask: var(--wki-social-symbol) center / contain no-repeat;
	mask: var(--wki-social-symbol) center / contain no-repeat;
}

.wki-social-instagram {
	--wki-social-symbol: url(../bilder/symbole/instagram.svg);
}

.wki-social-facebook {
	--wki-social-symbol: url(../bilder/symbole/facebook.svg);
}

.wki-social a:hover,
.wki-social a:focus-visible {
	box-shadow: 0 0 0 1px rgba(25, 81, 123, 0.3), 0 8px 24px rgba(70, 140, 190, 0.35);
}

.wki-fuss .wki-social {
	margin-top: 8px !important;
}

@media (max-width: 1099px) {
	.wki-social-kopf {
		display: none;
	}
}

/* Aktueller Menüpunkt: Linie darunter */
.wki-kopf .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wki-kopf .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-item__content {
	box-shadow: inset 0 -2px 0 currentColor;
}

/* Menü auf dem Handy (Overlay): linksbündig, Name und Unterzeile untereinander */
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	padding: 24px var(--wki-rand);
	background: rgb(249, 247, 245) !important;
	text-align: left;
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	align-items: flex-start !important;
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: flex !important;
	flex-direction: column;
}

/* Die Leiste unten würde sonst über dem geöffneten Menü liegen (WordPress setzt has-modal-open an html). */
html.has-modal-open .wki-handy-leiste,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .wki-handy-leiste {
	display: none !important;
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.25rem;
	font-weight: 500;
}

/* Untermenüs im Handy- und Tablet-Menü: keine schwebende Karte, sondern eine eingerückte Liste mit Linie,
   Name und Unterzeile klein darunter (bis 1099 px, siehe unten). */
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	min-width: 0 !important;
	margin: 6px 0 14px !important;
	padding: 2px 0 2px 16px !important;
	border: 0 !important;
	border-left: 1px solid var(--wp--preset--color--rahmen) !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	gap: 2px;
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 8px 0 !important;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus {
	background: transparent;
	color: var(--wp--preset--color--akzent);
}

.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__description {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 400;
}

/* Handy- und Tablet-Menü: Leistungen des Fachgebiets HNO eingerückt unter HNO-Heilkunde */
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wki-menue-unter {
	padding-left: 14px;
	border-left: 1.5px solid var(--wp--preset--color--rahmen);
}

/* Im Overlay zwischen den Hauptpunkten etwas Luft, damit sich die Punkte mit dem Finger gut treffen lassen */
.wki-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 10px !important;
}

.wki-kopf .wki-termin-knopf .wp-element-button {
	padding: 0.85rem 1.35rem;
}

/* Zwischen 600 und 1099 px klappt das Menü über das Symbol mit drei Strichen ein (wie hno-lindemann),
   damit Logo, Menü und Knopf nicht über den Rand laufen. */
@media (min-width: 600px) and (max-width: 1099px) {
	.wki-kopf .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.wki-kopf .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 599px) {
	.wki-kopf .wki-termin-knopf {
		display: none;
	}

	.wki-logo img {
		max-width: min(220px, 56vw);
	}
}

/* ---- Kopfbereich eines Standorts (parts/header-standort.html) ----
   Schmale Leiste oben mit dem Weg zurück zur MVZ-Startseite, darunter Logo mit Ortsname, Menü und Termin-Knopf. */
.wki-mvz-leiste {
	padding-top: 7px;
	padding-bottom: 7px;
	background: var(--wp--preset--color--hell);
	border-bottom: 1px solid rgba(25, 81, 123, 0.08);
}

.wki-mvz-leiste p {
	margin: 0;
	font-size: 13px;
	color: var(--wp--preset--color--text-leise);
}

.wki-zurueck-mvz a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 24px;
	font-weight: 500;
	color: var(--wp--preset--color--akzent);
	text-decoration: none;
}

.wki-zurueck-mvz a::before {
	content: "";
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	transform: rotate(180deg);
}

.wki-zurueck-mvz a:hover,
.wki-zurueck-mvz a:focus {
	color: var(--wp--preset--color--text);
	text-decoration: underline;
}

@media (max-width: 479px) {
	.wki-mvz-leiste p:first-child {
		display: none;
	}
}

/* Leiste unten auf dem Handy: E-Mail und Kontakt (solange es keine Telefonnummer und kein Doctolib gibt).
   body davor, damit die WordPress-Regel "body .is-layout-flex" die Leiste am Desktop nicht wieder einblendet. */
body .wki-handy-leiste {
	display: none;
}

@media (max-width: 781px) {
	.wki-handy-leiste {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: 12px;
		z-index: 70;
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px !important;
		margin: 0 !important;
		padding: 8px;
		border-radius: 22px;
		background: rgba(255, 255, 255, 0.92);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		box-shadow: 0 20px 40px -18px rgba(25, 50, 75, 0.45), 0 0 0 1px rgba(15, 23, 31, 0.06);
	}

	.wki-handy-leiste .wp-block-button,
	.wki-handy-leiste .wp-block-button__link {
		width: 100%;
	}

	.wki-handy-leiste .wp-block-button__link {
		min-width: 0;
		padding-inline: 10px;
		min-height: 48px;
		border-radius: 16px;
		text-transform: none;
		letter-spacing: 0;
		font-size: 0.9375rem;
	}

	/* Platz für die Leiste, damit der Fußbereich nicht verdeckt wird */
	body {
		padding-bottom: 84px;
	}
}

/* Doctolib: schmale Lasche am rechten Rand wie auf hno-lindemann.de und jovvin.de, nur auf den Seiten
   von Langenhagen (Kurzbefehl [wki_doctolib] in parts/footer-standort.html). Beim Darüberfahren oder mit
   der Tastatur (Tab) klappt „Termin buchen“ und „Nachricht“ auf. Geräte ohne Maus und das Handy zeigen die Auswahl immer. */
.wki-doctolib {
	position: fixed;
	right: 0;
	bottom: 22%;
	z-index: 71;
	display: flex;
	flex-direction: column;
	width: 180px;
	padding: 10px 40px 10px 14px;
	border-radius: 14px 0 0 14px;
	background: var(--wp--preset--color--knopf);
	color: var(--wp--preset--color--weiss);
	box-shadow: 0 12px 30px -14px rgba(15, 23, 31, 0.55);
	transform: translateX(30px);
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}

.wki-doctolib-lasche {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.wki-doctolib-lasche::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	transition: transform 0.3s;
}

/* Auswahl: zugeklappt, aber mit der Tastatur erreichbar (dann klappt sie über :focus-within auf) */
.wki-doctolib-auswahl {
	display: grid;
	gap: 6px;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.4s ease;
}

.wki-doctolib-auswahl a {
	display: flex;
	align-items: center;
	padding: 8px 10px;
	border-radius: 10px;
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.wki-doctolib-auswahl a::before {
	width: 1.15em;
	height: 1.15em;
	margin-right: 0.45em;
	vertical-align: 0;
	color: var(--wp--preset--color--akzent);
}

.wki-doctolib-auswahl a:hover,
.wki-doctolib-auswahl a:focus {
	background: var(--wp--preset--color--hell);
	color: var(--wp--preset--color--text);
}

.wki-doctolib-auswahl a:focus-visible {
	outline: 3px solid var(--wp--preset--color--akzent);
	outline-offset: 1px;
}

.wki-doctolib:hover,
.wki-doctolib:focus-within {
	transform: translateX(0);
	transition-delay: 0s;
}

.wki-doctolib:hover .wki-doctolib-lasche::after,
.wki-doctolib:focus-within .wki-doctolib-lasche::after {
	transform: rotate(90deg);
}

.wki-doctolib:hover .wki-doctolib-auswahl,
.wki-doctolib:focus-within .wki-doctolib-auswahl {
	max-height: 120px;
	margin-top: 10px;
	opacity: 1;
}

/* Ohne Maus (Tablet, Handy): kein Darüberfahren, deshalb Auswahl immer offen */
@media (hover: none) {
	.wki-doctolib {
		transform: none;
	}

	.wki-doctolib-lasche::after {
		display: none;
	}

	.wki-doctolib-auswahl {
		max-height: none;
		margin-top: 8px;
		opacity: 1;
	}
}

/* Am Computer: schmale senkrechte Lasche im Seitenrand, damit sie nicht über den Inhalten liegt.
   Die Auswahl klappt beim Darüberfahren oder mit der Tastatur links daneben auf. */
@media (hover: hover) and (min-width: 782px) {
	.wki-doctolib,
	.wki-doctolib:hover,
	.wki-doctolib:focus-within {
		width: auto;
		padding: 12px 8px;
		transform: none;
		transition: none;
	}

	.wki-doctolib-lasche {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		white-space: nowrap;
	}

	.wki-doctolib-lasche::after {
		display: none;
	}

	.wki-doctolib-auswahl {
		position: absolute;
		right: 100%;
		bottom: 0;
		box-sizing: border-box;
		width: 150px;
		border-radius: 14px 0 0 14px;
		background: var(--wp--preset--color--knopf);
	}

	.wki-doctolib:hover .wki-doctolib-auswahl,
	.wki-doctolib:focus-within .wki-doctolib-auswahl {
		margin-top: 0;
		padding: 10px;
	}
}

html.has-modal-open .wki-doctolib,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .wki-doctolib {
	display: none;
}

@media (max-width: 781px) {
	.wki-doctolib {
		bottom: 96px;
		width: auto;
		padding: 8px 10px;
		transform: none;
	}

	.wki-doctolib-lasche {
		display: none;
	}

	.wki-doctolib-auswahl {
		grid-template-columns: auto auto;
		max-height: none;
		margin-top: 0;
		opacity: 1;
	}

	.wki-doctolib-auswahl::before {
		content: "Doctolib";
		grid-column: 1 / -1;
		font-size: 11px;
		font-weight: 500;
		letter-spacing: 0.08em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wki-doctolib,
	.wki-doctolib-auswahl,
	.wki-doctolib-lasche::after {
		transition: none;
	}
}

/* Automatische Abschnitte der Startseite ([wki_ratgeber_auswahl], [wki_aktuelles_neu]):
   erscheinen erst, wenn es Ratgeberseiten oder Beiträge gibt */
.wki-auto-abschnitt {
	padding: clamp(70px, 8vw, 110px) var(--wki-rand);
}

.wki-auto-abschnitt > div {
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
}

.wki-auto-abschnitt .wki-kopf-zweispaltig {
	align-items: end;
	margin-bottom: clamp(28px, 3vw, 40px);
}

/* Ratgeberseite: schmale Lesespalte, Inhaltsverzeichnis als helle Karte, Prüfvermerk */
.wki-ratgeber-pruefung {
	margin-top: 14px;
	color: var(--wp--preset--color--text-leise);
}

.wki-inhalt-liste {
	margin-bottom: clamp(32px, 4vw, 48px) !important;
	padding: 22px 26px;
	border-radius: 22px;
	background: var(--wp--preset--color--hell);
}

.wki-inhalt-liste ol {
	margin: 6px 0 0;
	padding-left: 1.3em;
}

.wki-inhalt-liste li {
	margin: 4px 0;
}

.wki-ratgeber-text h2 {
	margin-top: clamp(36px, 4vw, 52px);
	scroll-margin-top: 110px;
}

/* Unternavigation auf den Standortseiten (Übersicht · Ärzte · Kontakt) */
.wki-unternav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	width: fit-content;
	margin: 0;
	padding: 5px;
	border-radius: var(--wki-radius-knopf);
	background: linear-gradient(180deg, #edf3f7 0%, #e3ecf2 100%);
	box-shadow: inset 0 1px 2px rgba(30, 50, 80, 0.1), 0 1px 0 rgba(255, 255, 255, 0.9);
	list-style: none;
}

.wki-unternav li {
	margin: 0;
}

.wki-unternav a {
	display: block;
	padding: 9px 18px;
	border-radius: var(--wki-radius-knopf);
	font-size: 14px;
	font-weight: 500;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.wki-unternav a:hover,
.wki-unternav a:focus,
.wki-unternav a[aria-current="page"] {
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--akzent);
	box-shadow: 0 6px 14px -8px rgba(30, 50, 80, 0.35);
}

/* ---- Abschnitte ---- */

/* Helle Fläche mit weichem Farbschein in der Ecke (Philosophie, Praxisabgabe, Standorte) */
.wki-flaeche {
	position: relative;
	overflow: hidden;
	border-top: 1px solid rgba(15, 23, 31, 0.05);
}

.wki-flaeche > * {
	position: relative;
	z-index: 1;
}

.wki-flaeche::before {
	content: "";
	position: absolute;
	top: -180px;
	left: -140px;
	z-index: 0;
	width: 560px;
	height: 460px;
	border-radius: 50%;
	background: #c9e0ef;
	filter: blur(110px);
	opacity: 0.7;
	pointer-events: none;
}

.wki-linie-unten {
	border-bottom: 1px solid rgba(15, 23, 31, 0.05);
}

.wki-flaeche-rechts::before {
	left: auto;
	right: -160px;
	top: -200px;
}

/* Verlauf von Eisblau zu warmem Sand (Gründer) */
.wki-flaeche-warm {
	background: linear-gradient(180deg, #f0f6fa 0%, #f9f2e9 45%, #f9f7f5 100%) !important;
}

.wki-flaeche-warm::before {
	top: 18%;
	left: auto;
	right: -180px;
	width: 640px;
	height: 560px;
	background: #f0dcc0;
	filter: blur(130px);
}

/* Bilder mit runden Ecken */
.wki-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--wki-radius-karte);
}

/* ---- Einstieg (Hero) ----
   Foto über die ganze Breite (Block "Cover"), Text unten links, Kärtchen unten rechts.
   wki-hero-links: heller Verlauf von links (Startseite). wki-hero-unten: heller Verlauf von unten (Standort). */
.wp-block-cover.wki-hero {
	min-height: clamp(600px, 82vh, 820px) !important;
	/* Seitlicher Abstand wie Logo und Abschnitte (breite Spalte 1280 px). Prozentwerte beziehen sich auf den
	   Seiteninhalt ohne den Seitenrand, deshalb kommt der Seitenrand links und rechts wieder dazu (Abgleich S1). */
	padding: clamp(24px, 4vw, 56px) max(var(--wki-rand), calc((100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px) - 1280px) / 2)) clamp(48px, 7vw, 88px);
	align-items: flex-end;
	background: var(--wp--preset--color--hintergrund);
	overflow: hidden;
}

.wp-block-post-content > .wki-hero:first-child {
	margin-top: 0;
}

/* Einstiegsfoto direkt unter dem Kopf, ohne den WordPress-Abstand zwischen Kopf und Inhalt (Abgleich S2) */
.wp-site-blocks > main:has(> .wp-block-post-content > .wki-hero:first-child) {
	margin-block-start: 0;
}

.wp-block-cover.wki-hero .wp-block-cover__background {
	opacity: 1 !important;
}

.wp-block-cover.wki-hero-links .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(249, 247, 245, 0.92) 0%, rgba(249, 247, 245, 0.55) 42%, rgba(249, 247, 245, 0) 70%) !important;
}

.wp-block-cover.wki-hero-unten .wp-block-cover__background {
	background:
		linear-gradient(0deg, rgba(240, 245, 248, 0.96) 0%, rgba(240, 245, 248, 0.8) 26%, rgba(240, 245, 248, 0) 52%),
		linear-gradient(120deg, rgba(225, 235, 242, 0.35) 0%, rgba(245, 244, 238, 0) 50%, rgba(205, 228, 235, 0.4) 100%) !important;
}

/* Der Cover-Block setzt den Inhalt bei eigener Position auf "auto"-Breite; hier volle Breite */
.wp-block-cover.wki-hero.has-custom-content-position .wp-block-cover__inner-container {
	width: 100% !important;
	margin: 0 !important;
	color: var(--wp--preset--color--text);
}

.wki-hero-innen {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px 40px;
}

.wki-hero-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex: 1 1 440px;
	min-width: 0;
	max-width: 680px;
}

.wki-hero-text > * {
	margin: 0 !important;
}

.wki-hero .wki-ueberzeile {
	color: #3c434a;
	letter-spacing: 0.2em;
}

.wki-hero .wki-einleitung {
	max-width: 500px;
	color: #3c434a;
}

.wki-hero-standort h1 {
	font-size: clamp(2.125rem, 4.4vw, 3.75rem);
}

/* Teamfoto im Einstieg Langenhagen: Ausschnitt nach oben, damit die Köpfe nicht abgeschnitten werden, und nach
   links, damit die beiden etwas weiter rechts stehen und der Text links nicht über den Gesichtern liegt (wirkt,
   wo das Foto seitlich beschnitten wird). Gilt nur, solange am Cover-Block kein eigener Fokuspunkt gesetzt ist. */
.wp-block-cover.wki-hero-standort .wp-block-cover__image-background:not([style*="object-position"]) {
	object-position: 25% 0%;
}

/* Ab 1100 px: Das Foto füllt den Einstieg über die ganze Breite, der Einstieg ist knapp so hoch wie das Foto bei
   voller Breite (62 vw statt 66,7 vw für 3 : 2, Wunsch der Nutzerin: unten etwas kürzer). Unten wird nur ein
   schmaler Streifen abgeschnitten, die Köpfe bleiben ganz. Höchstens 1100 px hoch. */
@media (min-width: 1100px) {
	.wp-block-cover.wki-hero-standort {
		min-height: min(62vw, 1100px) !important;
	}
}

/* Sehr breite Bildschirme: Das Foto rückt ein wenig nach rechts, sonst läge die Schrift am Kinn. Links läuft es
   kurz und weich in den Hintergrund aus. */
@media (min-width: 1600px) {
	.wp-block-cover.wki-hero-standort .wp-block-cover__image-background {
		left: auto !important;
		right: 0 !important;
		width: 90% !important;
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
		mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
	}
}

/* Handy und Tablet: Das Foto steht oben und läuft unter die Überzeile und die Überschrift, wie im Entwurf.
   Dort blendet es nach unten hell aus, damit der Text gut lesbar bleibt; Knöpfe und Kärtchen stehen darunter
   auf hellem Grund (Abgleich H2). */
@media (max-width: 899px) {
	.wp-block-cover.wki-hero {
		--wki-hero-foto: min(108vw, 600px);
		--wki-hero-ueber: min(36vw, 200px);
		min-height: 0 !important;
		padding-top: calc(var(--wki-hero-foto) - var(--wki-hero-ueber));
	}

	.wp-block-cover.wki-hero .wp-block-cover__image-background {
		bottom: auto !important;
		height: var(--wki-hero-foto) !important;
	}

	.wp-block-cover.wki-hero-standort .wp-block-cover__image-background:not([style*="object-position"]) {
		object-position: 50% 0%;
	}

	.wp-block-cover.wki-hero .wp-block-cover__background {
		background: linear-gradient(180deg,
			rgba(249, 247, 245, 0) 0,
			rgba(249, 247, 245, 0) calc(var(--wki-hero-foto) - var(--wki-hero-ueber) - 70px),
			rgba(249, 247, 245, 0.85) calc(var(--wki-hero-foto) - var(--wki-hero-ueber) * 0.45),
			#f9f7f5 var(--wki-hero-foto)) !important;
	}

	/* Startseite: Das Flurfoto ist unruhig (Sofa, Vase), deshalb ist der helle Schleier schon an der Überzeile
	   fast deckend (Pia 31.10.2026, Ä2). */
	.wp-block-cover.wki-hero-links .wp-block-cover__background {
		background: linear-gradient(180deg,
			rgba(249, 247, 245, 0) 0,
			rgba(249, 247, 245, 0) calc(var(--wki-hero-foto) - var(--wki-hero-ueber) - 130px),
			rgba(249, 247, 245, 0.92) calc(var(--wki-hero-foto) - var(--wki-hero-ueber)),
			#f9f7f5 var(--wki-hero-foto)) !important;
	}
}

/* Kärtchen rechts im Einstieg: Standorte (Startseite) oder Merkmale (Standort) */
.wki-hero-kaertchen {
	display: flex !important;
	flex-direction: column;
	gap: 8px !important;
	flex: 0 1 290px;
	min-width: min(100%, 240px);
	margin: 0 !important;
}

.wki-kaertchen {
	margin: 0 !important;
}

.wki-kaertchen a,
.wki-kaertchen > span {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border: 1px solid rgba(15, 23, 31, 0.06);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 14px 30px -22px rgba(20, 40, 65, 0.28);
	color: var(--wp--preset--color--text);
	text-decoration: none;
	line-height: 1.3;
	transition: box-shadow 0.3s ease;
}

.wki-kaertchen > span {
	background: rgba(255, 255, 255, 0.65);
}

.wki-kaertchen a:hover,
.wki-kaertchen a:focus {
	box-shadow: 0 16px 32px -20px rgba(20, 40, 65, 0.36);
	color: var(--wp--preset--color--text);
}

/* Geplanter Menüpunkt ohne Ziel: nicht klickbar, kein Pfeil, keine Hervorhebung */
.wki-kopf .wp-block-navigation__submenu-container .wki-menue-geplant > .wp-block-navigation-item__content {
	cursor: default;
	background: transparent !important;
}

.wki-kopf .wp-block-navigation__submenu-container .wki-menue-geplant > .wp-block-navigation-item__content::after {
	content: none !important;
}

/* Menü Standorte: grüner Punkt vor dem Standort, den es schon gibt (Klasse wki-menue-aktiv am Menüpunkt) */
.wki-kopf .wki-menue-aktiv .wp-block-navigation-item__label::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 7px;
	vertical-align: 0.12em;
	border-radius: 50%;
	background: var(--wki-gruen);
	box-shadow: 0 0 10px var(--wki-gruen);
}

/* Punkt vor dem Namen: grün = geöffnet, gestrichelt = geplant */
.wki-kaertchen a::before,
.wki-kaertchen > span::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wki-gruen);
}

.wki-kaertchen.wki-geplant a::before,
.wki-kaertchen.wki-geplant > span::before {
	background: none;
	border: 1px dashed var(--wp--preset--color--akzent);
	box-shadow: none;
}

/* Blau = Eröffnung steht fest (wie auf der Standortkarte); ab der Eröffnung Klasse wki-bald entfernen */
.wki-kaertchen.wki-bald a::before,
.wki-kaertchen.wki-bald > span::before {
	background: var(--wp--preset--color--akzent);
	box-shadow: none;
}

/* Pfeil rechts nur bei Links */
.wki-kaertchen a::after {
	content: "";
	flex: none;
	width: 13px;
	height: 13px;
	margin-left: auto;
	opacity: 0.7;
	background-color: var(--wp--preset--color--akzent);
	-webkit-mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
}

.wki-kaertchen strong {
	display: block;
	font-size: 14.5px;
	font-weight: 500;
}

.wki-kaertchen small {
	display: block;
	margin-top: 1px;
	font-size: 12.5px;
	color: var(--wp--preset--color--text-leise);
}

/* Merkmal-Kärtchen (Standort): feines Symbol statt Punkt (Klasse wki-symbol-NAME am Kärtchen setzt --wki-symbol) */
.wki-kaertchen.wki-merkmal > span {
	position: relative;
	min-width: 240px;
}

/* Platzhalter links, darauf liegt das Symbol */
.wki-kaertchen.wki-merkmal > span::before {
	width: 20px;
	height: 20px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.wki-kaertchen.wki-merkmal > span::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 50%;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background-color: var(--wp--preset--color--akzent);
	-webkit-mask: var(--wki-symbol) center / contain no-repeat;
	mask: var(--wki-symbol) center / contain no-repeat;
}

@media (max-width: 899px) {
	.wki-hero-standort .wki-hero-kaertchen {
		display: none !important;
	}
}

/* Google-Bewertung im Einstieg: farbiges G im weißen Kreis, daneben 5,0 mit Sternen, darunter die Anzahl.
   Kreis und Sterne kommen aus dem CSS (keine leeren Elemente, die der Editor entfernen würde). */
.wki-google-bewertung {
	width: fit-content;
	font-size: 1rem;
}

.wki-google-bewertung a,
.wki-google-bewertung > span {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 18px 8px 8px;
	border-radius: var(--wki-radius-knopf);
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(38, 79, 113, 0.1), inset 0 1px 0 #fff;
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

/* Google-Farben nur hier, nicht in der Palette. Das echte G im Text bleibt als Rückfall stehen. */
.wki-google {
	position: relative;
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #f2f5f8;
	font-weight: 700;
	font-size: 17px;
	line-height: 1;
	color: transparent;
}

.wki-google::after {
	content: "G";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: #4285f4;
	background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 25% 50%, #34a853 50% 75%, #fbbc05 75% 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.wki-bewertung-text {
	display: grid;
	gap: 3px;
	line-height: 1.1;
}

.wki-bewertung-text strong {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 15px;
	font-weight: 600;
}

/* Fünf Sterne hinter "5,0" */
.wki-bewertung-text strong::after {
	content: "";
	width: 69px;
	height: 13px;
	background-color: #e1a035;
	-webkit-mask: url(../bilder/symbole/stern.svg) left center / 13px 13px space no-repeat;
	mask: url(../bilder/symbole/stern.svg) left center / 13px 13px space no-repeat;
}

.wki-bewertung-klein {
	font-size: 12.5px;
	color: var(--wp--preset--color--text-leise);
}

/* ---- Laufband ---- */

/* Helles Band direkt unter dem Einstieg: kleine Großbuchstaben, Rauten dazwischen, feine Linien oben und unten */
.wki-laufband {
	position: relative;
	z-index: 3;
	overflow: hidden;
	margin-top: 0 !important;
	padding: 23px 0;
	background: linear-gradient(180deg, #fff, #f6f4f1);
	border-top: 1px solid rgba(15, 23, 31, 0.16);
	border-bottom: 1px solid rgba(15, 23, 31, 0.16);
	outline: 7px solid #fff;
	box-shadow: 0 -10px 30px rgba(15, 23, 31, 0.08), 0 12px 30px rgba(15, 23, 31, 0.05);
}

/* Weiche Ränder links und rechts */
.wki-laufband::before,
.wki-laufband::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: 6%;
	pointer-events: none;
}

.wki-laufband::before {
	left: 0;
	background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.wki-laufband::after {
	right: 0;
	background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.wki-laufband ul {
	display: flex;
	gap: 0;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: wkiLaufband 48s linear infinite;
}

.wki-laufband li {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 36px);
	padding-right: clamp(18px, 2.6vw, 36px);
	white-space: nowrap;
	font-size: 11.5px;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: #282f35;
}

/* Raute nach jedem Schlagwort */
.wki-laufband li::after {
	content: "";
	flex: none;
	width: 4px;
	height: 4px;
	transform: rotate(45deg);
	background: rgba(15, 23, 31, 0.35);
}

.wki-laufband:hover ul,
.wki-laufband.ist-angehalten ul {
	animation-play-state: paused;
}

/* Knopf "Anhalten" / "Weiterlaufen" (setzt assets/js/laufband.js, WCAG 2.2.2) */
.wki-laufband-knopf {
	position: absolute;
	right: var(--wki-rand);
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	margin: 0 !important;
	min-height: 32px;
	padding: 6px 14px;
	border: 1px solid #7a838c;
	border-radius: var(--wki-radius-knopf);
	background: var(--wp--preset--color--weiss);
	font: inherit;
	font-size: 0.8125rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--text);
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.wki-laufband-knopf {
		display: none;
	}
}

@keyframes wkiLaufband {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.wki-laufband ul {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		gap: 12px 32px;
		justify-content: center;
	}

	.wki-laufband::before,
	.wki-laufband::after {
		content: none;
	}
}

/* ---- Versprechen (Satz in Serifenschrift links, nummerierte Liste rechts) ---- */

.wki-versprechen {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(36px, 6vw, 96px) !important;
	align-items: center;
	padding-bottom: clamp(48px, 6vw, 80px);
	border-bottom: 1px solid rgba(15, 23, 31, 0.12);
}

.wki-versprechen > * {
	margin: 0 !important;
}

.wki-versprechen-satz {
	margin: 0;
	font-family: var(--wp--preset--font-family--akzent);
	font-size: clamp(2.125rem, 4.2vw, 3.625rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
	text-wrap: balance;
}

.wki-versprechen-satz em {
	font-style: normal;
}

.wki-liste-nummern {
	counter-reset: wki-nummer;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(15, 23, 31, 0.12);
	list-style: none;
}

.wki-liste-nummern li {
	counter-increment: wki-nummer;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 4px 18px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(15, 23, 31, 0.12);
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-leise);
}

.wki-liste-nummern li:last-child {
	border-bottom: 0;
}

.wki-liste-nummern li::before {
	content: counter(wki-nummer, decimal-leading-zero);
	grid-row: span 2;
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-size: 22px;
	line-height: 1.2;
	color: var(--wp--preset--color--text-leise);
}

.wki-liste-nummern strong {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--text);
}

/* ---- Karten ---- */

.wki-karten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 18px;
}

.wki-karten > * {
	margin: 0 !important;
}

.wki-karte-item {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 26px;
	border-radius: var(--wki-radius-karte-klein);
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--weich);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wki-karte-item > * {
	margin: 0 !important;
}

a.wki-karte-item:hover,
.wki-karte-item:has(a:hover) {
	transform: translateY(-4px);
	box-shadow: var(--wki-schatten-hover);
}

/* Überzeile in der Karte ("BILDGEBUNG IM HAUS") */
.wki-karte-kicker,
.wki-karte-item .wki-karte-kicker {
	font-size: 11.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--akzent);
}

.wki-karte-titel,
.wki-karte-item h3 {
	margin: 0;
	font-size: 23px;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.wki-karte-titel a,
.wki-karte-item h3 a {
	text-decoration: none;
	color: var(--wp--preset--color--text);
}

.wki-karte-text,
.wki-karte-item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* Titel in Karten nicht trennen ("Ambulante Operationen" bleibt ganz) */
.wki-karte-item h2,
.wki-karte-item h3,
.wki-standortkarte h3 {
	hyphens: manual;
}

.wki-karte-link {
	font-weight: 600;
}

/* Karte oder Kachel mit Symbol in einer gläsernen Kachel oben links (Leistungsübersicht, Ausstattung).
   Klassen: wki-karte-item (oder wki-kachel) wki-symbol wki-symbol-gross wki-symbol-NAME */
.wki-karte-item.wki-symbol-gross,
.wki-kachel.wki-symbol-gross {
	padding-top: calc(28px + 4.25rem);
}

.wki-karte-item.wki-symbol-gross::after,
.wki-kachel.wki-symbol-gross::after {
	top: 28px;
	left: 26px;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(150deg, #fff 0%, #eef2f6 50%, #d9e1e8 100%);
	box-shadow: inset 0 1px 0 #fff, inset 0 -6px 12px rgba(110, 130, 155, 0.18), 0 12px 20px -10px rgba(30, 50, 80, 0.4);
}

.wki-karte-item.wki-symbol-gross::before,
.wki-kachel.wki-symbol-gross::before {
	top: 40px;
	left: 38px;
	width: 28px;
	height: 28px;
}

/* Große Nummer in Serifenschrift oben in der Karte (Philosophie "01") */
.wki-karte-nummer,
.wki-karte-item .wki-karte-nummer {
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-size: 34px;
	line-height: 1;
	color: var(--wp--preset--color--akzent);
}

.wki-karte-item.wki-karte-gross {
	padding: 32px 28px;
}

.wki-karte-item.wki-karte-gross h3 {
	font-size: 22px;
}

/* Gläserne Karte auf Verlauf (Gründer) */
.wki-karte-glas {
	background: rgba(255, 255, 255, 0.75) !important;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 14px 40px rgba(130, 100, 60, 0.1) !important;
}

.wki-karte-glas h3 {
	font-size: 18px !important;
	font-weight: 600 !important;
}

.wki-karte-item.wki-karte-glas .wki-karte-nummer {
	font-size: 30px;
}

/* Hinweiskarte mit gestricheltem Rand ("Weitere Fachrichtungen · Bald mehr.") */
.wki-karte-geplant {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px !important;
	margin-top: 22px !important;
	padding: 28px 32px;
	border: 1px dashed rgba(25, 81, 123, 0.3);
	border-radius: var(--wki-radius-karte-klein);
	background: rgba(255, 255, 255, 0.5);
}

.wki-karte-geplant > * {
	margin: 0 !important;
}

.wki-karte-geplant .wki-serif {
	font-size: 30px;
}

.wki-karte-geplant p:not(.wki-serif):not(.wki-karte-kicker) {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
}

/* Etikett vor den Karten ("● Hals-Nasen-Ohrenheilkunde · Unsere erste Fachrichtung") */
.wki-etikett-zeile {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px !important;
	margin-bottom: 22px !important;
}

.wki-etikett-zeile > * {
	margin: 0 !important;
}

.wki-etikett-pille {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 16px;
	border-radius: var(--wki-radius-knopf);
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 8px 24px rgba(38, 79, 113, 0.08);
	font-size: 14px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

.wki-etikett-pille::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2579ab;
	box-shadow: 0 0 10px #478ebc;
}

/* Schlagwörter (HNO, DVT, IgE-Labor …) */
.wki-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wki-chips li {
	margin: 0;
	padding: 7px 13px;
	border-radius: var(--wki-radius-knopf);
	background: #e6f0f8;
	font-size: 13px;
	color: var(--wp--preset--color--akzent-dunkel);
}

/* Häkchen-Liste */
.wki-haken {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wki-haken li {
	position: relative;
	padding-left: 1.9em;
	margin-bottom: 0.6em;
}

.wki-haken li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1.3em;
	height: 1.3em;
	background-color: var(--wp--preset--color--akzent);
	-webkit-mask: url(../bilder/symbole/check_circle.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/check_circle.svg) center / contain no-repeat;
}

/* ---- Standortkarten (Foto oben, Etikett auf dem Foto, Name, Schlagwörter, Fußzeile) ---- */

.wki-standortkarte {
	display: flex !important;
	flex-direction: column;
	gap: 0 !important;
	height: 100%;
	margin: 0 !important;
	padding: 14px;
	border-radius: var(--wki-radius-karte);
	background: #fbfaf8;
	box-shadow: 0 18px 50px rgba(38, 79, 113, 0.1);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wki-standortkarte:has(a:hover) {
	transform: translateY(-4px);
	box-shadow: 0 0 0 1px rgba(25, 81, 123, 0.16), 0 24px 70px rgba(70, 140, 190, 0.3);
}

.wki-standortkarte.wki-geplant {
	border: 1px dashed rgba(25, 81, 123, 0.25);
	box-shadow: none;
}

.wki-standortkarte-bild {
	position: relative;
	margin: 0 !important;
}

.wki-standortkarte-bild img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--wki-radius-bild);
}

/* Etikett oben links auf dem Foto ("● GEÖFFNET", "ÜBERNAHME GEPLANT") */
.wki-standortkarte-bild .wki-etikett {
	font-size: 11.5px; /* sonst gilt die größere Schrift aus .wki-standortkarte p (Abgleich S8) */
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	margin: 0;
}

/* Karte noch ohne Foto: Etikett als eigene Zeile über dem Ortsnamen statt darüber gelegt */
.wki-standortkarte-bild:not(:has(img[src])) .wki-etikett {
	position: static;
	margin: 0 0 14px;
}

.wki-standortkarte-inhalt {
	display: flex !important;
	flex-direction: column;
	gap: 18px !important;
	flex: 1;
	padding: 26px 16px 14px;
}

.wki-standortkarte-inhalt > * {
	margin: 0 !important;
}

.wki-standortkarte h3 {
	margin: 0;
	font-size: clamp(1.875rem, 3vw, 2.375rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1;
}

.wki-standortkarte h3 a {
	color: var(--wp--preset--color--text);
	text-decoration: none;
}

.wki-standortkarte p {
	margin: 0;
	font-size: 15px;
}

.wki-standortkarte-fuss {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px !important;
	margin-top: auto !important;
	padding-top: 18px;
	border-top: 1px solid rgba(15, 23, 31, 0.07);
}

.wki-standortkarte-fuss > * {
	margin: 0 !important;
}

/* Etikett: weiße Pille mit Großbuchstaben */
.wki-etikett {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	padding: 8px 14px;
	border-radius: var(--wki-radius-knopf);
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--akzent);
}

.wki-etikett-offen {
	color: var(--wp--preset--color--text);
}

.wki-etikett-offen::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wki-gruen);
	box-shadow: 0 0 10px var(--wki-gruen);
}

/* Standortkarte als Bild (statt der Karte aus dem Entwurf, die fremde Server lädt) */
.wki-standortkarte-gross {
	margin-top: 22px !important;
	padding: 14px;
	border-radius: var(--wki-radius-karte);
	background: #fbfaf8;
	box-shadow: 0 18px 50px rgba(38, 79, 113, 0.1);
}

.wki-standortkarte-gross figure {
	margin: 0;
}

.wki-standortkarte-gross img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--wki-radius-bild);
}

/* ---- Gründerfoto mit Namensschildern ---- */

.wki-gruender-bild {
	padding: 14px;
	border-radius: 36px;
	background: rgba(255, 255, 255, 0.7);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	box-shadow: 0 40px 100px rgba(150, 120, 80, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.wp-block-cover.wki-gruender-foto {
	min-height: 0 !important;
	width: 100%; /* feste Breite: max-height kürzt sonst die Breite und lässt rechts einen Streifen (Abgleich S11) */
	aspect-ratio: 3 / 2;
	max-height: 760px;
	padding: clamp(14px, 2.5vw, 32px);
	border-radius: 26px;
	overflow: hidden;
	align-items: flex-end;
}

.wp-block-cover.wki-gruender-foto .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(0deg, rgba(55, 40, 25, 0.35) 0%, rgba(55, 40, 25, 0) 45%) !important;
}

.wp-block-cover.wki-gruender-foto .wp-block-cover__inner-container {
	width: 100% !important;
}

.wki-namensschilder {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px !important;
}

.wki-namensschilder > * {
	margin: 0 !important;
	min-width: 220px;
	padding: 16px 22px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	box-shadow: 0 12px 34px rgba(75, 55, 30, 0.18);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--text-leise);
}

.wki-namensschilder strong {
	display: block;
	font-size: 17px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

@media (max-width: 599px) {
	.wp-block-cover.wki-gruender-foto {
		aspect-ratio: auto;
		min-height: 420px !important;
	}
}

/* Zitat in Serifenschrift, mittig */
.wki-zitat {
	max-width: 820px;
	margin-inline: auto !important;
	text-align: center;
}

.wki-zitat .wp-block-quote,
.wki-zitat blockquote {
	margin: 0;
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-size: clamp(1.75rem, 3.4vw, 2.625rem);
	line-height: 1.2;
	color: #1a222b;
}

.wki-zitat p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: #1a222b;
}

.wki-zitat cite {
	display: block;
	margin-top: 18px;
	font-family: var(--wp--preset--font-family--text);
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-leise);
}

/* ---- Zweispaltige Liste (Klare Abläufe · Text) ---- */

.wki-liste-zweispaltig {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wki-linie);
	list-style: none;
}

.wki-liste-zweispaltig li {
	display: grid;
	grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
	gap: 20px;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--wki-linie);
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-leise);
}

.wki-liste-zweispaltig strong {
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

@media (max-width: 479px) {
	.wki-liste-zweispaltig li {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

/* Hochformat-Bild mit Schatten (Über das MVZ) */
.wki-bild-hoch img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--wki-radius-karte);
	box-shadow: 0 30px 80px rgba(38, 79, 113, 0.14);
}

/* ---- Voraussetzungen (Praxisabgabe) ---- */

.wki-voraussetzungen {
	padding: clamp(26px, 3vw, 40px);
	border-radius: 28px;
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 24px 60px rgba(38, 79, 113, 0.1);
}

.wki-voraussetzungen ol {
	counter-reset: wki-voraussetzung;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.wki-voraussetzungen ol li {
	counter-increment: wki-voraussetzung;
	position: relative;
	margin: 0;
	padding: 22px 0 22px 58px;
	border-bottom: 1px solid var(--wki-linie);
	font-size: 15px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-leise);
}

.wki-voraussetzungen ol li::before {
	content: counter(wki-voraussetzung);
	position: absolute;
	left: 0;
	top: 22px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--wp--preset--color--hell);
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-size: 20px;
	color: var(--wp--preset--color--akzent);
}

.wki-voraussetzungen ol strong {
	display: block;
	font-size: 17px;
	font-weight: 600;
	color: var(--wp--preset--color--text);
}

/* ---- Kacheln (Ausstattung, Vorteile) ---- */

.wki-kacheln {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 16px !important;
}

.wki-kacheln > * {
	margin: 0 !important;
}

.wki-kachel {
	padding: 26px 26px 28px;
	border-radius: 22px;
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 14px 40px rgba(38, 79, 113, 0.06);
}

.wki-kachel h3 {
	margin-bottom: 0.4rem;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.wki-kachel p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* ---- Vergleich: üblicher Weg und Weg bei uns ---- */

.wki-vergleich {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 10px !important;
}

@media (max-width: 599px) {
	.wki-vergleich {
		grid-template-columns: 1fr;
	}
}

.wki-vergleich > * {
	margin: 0 !important;
	padding: 16px 18px;
	border-radius: 18px;
	background: var(--wp--preset--color--hell);
	font-size: 0.9375rem;
}

.wki-vergleich > :last-child {
	background: #666c72; /* helles Graphit, weiße Schrift 5,3 zu 1 */
	color: #fff;
}

.wki-vergleich > :last-child * {
	color: #fff;
}

.wki-vergleich ol {
	margin: 0.5rem 0 0;
	padding-left: 1.2em;
}

/* Große Kennzahl ("1 Tag", "1–2 Wochen") */
.wki-kennzahl {
	margin: 0;
	font-family: var(--wp--preset--font-family--akzent);
	font-size: clamp(3.5rem, 6vw, 5.5rem);
	line-height: 0.9;
	color: var(--wp--preset--color--text);
}

.wki-kennzahl small {
	font-family: var(--wp--preset--font-family--text);
	font-size: 0.9rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--text-leise);
}

/* ---- Karten DVT und Schlafmessung (Diagnose aus einer Hand, Standort) ---- */

/* Beide Karten gleich hoch, auch wenn der Text unterschiedlich lang ist */
/* Titel der beiden Karten groß wie im Entwurf, das kursive Satzglied in Serifenschrift (Abgleich L5) */
.wki-diagnose-karte .wki-karte-titel {
	font-size: clamp(30px, 3vw, 43px);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.wp-block-column:has(> .wki-diagnose-karte) {
	display: flex;
	flex-direction: column;
}

.wp-block-column > .wki-diagnose-karte {
	flex: 1 1 auto;
}

.wki-diagnose-karte {
	--wki-karte-innen: clamp(22px, 2.6vw, 36px);
	gap: 22px !important;
	padding: 0 0 var(--wki-karte-innen) !important;
	border-radius: 32px !important;
	overflow: hidden;
	background: linear-gradient(180deg, #eef5fa 0%, #fff 60%) !important;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 40px 80px -56px rgba(30, 60, 90, 0.5) !important;
}

.wki-diagnose-karte > :not(.wki-diagnose-bild) {
	margin-left: var(--wki-karte-innen) !important;
	margin-right: var(--wki-karte-innen) !important;
}

.wki-diagnose-bild {
	position: relative;
	margin: 0 !important;
	background: #e3edf4;
}

.wki-diagnose-bild figure {
	margin: 0 !important;
}

.wki-diagnose-bild img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
}

.wki-diagnose-bild::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #eef5fa 100%);
}

/* Zahl im weißen Kreis oben rechts auf dem Bild */
.wki-diagnose-bild .wki-kennzahl {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 112px;
	height: 112px;
	margin: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 20px 40px -20px rgba(30, 60, 90, 0.55);
	font-size: 40px;
	line-height: 0.9;
	text-align: center;
	color: var(--wp--preset--color--akzent);
}

.wki-diagnose-bild .wki-kennzahl small {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
	color: var(--wp--preset--color--text-leise);
}

.wki-diagnose-karte .wki-ueberzeile.wki-symbol {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

@media (max-width: 599px) {
	.wki-diagnose-bild .wki-kennzahl {
		top: 14px;
		right: 14px;
		width: 88px;
		height: 88px;
		font-size: 32px;
	}
}

/* Hinweis ("Warum Warten keine gute Idee ist", "Gut zu wissen") */
.wki-hinweis {
	padding: 16px 18px;
	border-radius: 18px;
	background: var(--wp--preset--color--hell);
	font-size: 0.9375rem;
}

/* ---- Karriere (Pattern wki/karriere) ---- */

.wki-kacheln.wki-kacheln-drei {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 999px) {
	.wki-kacheln.wki-kacheln-drei {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.wki-kacheln.wki-kacheln-drei {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Offene Stellen: Bereich klein, Titel groß, Eckdaten darunter */
.wki-stellen summary {
	display: grid;
	gap: 4px;
}

.wki-stelle-gruppe {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--akzent);
}

.wki-stelle-titel {
	font-size: clamp(18px, 1.6vw, 21px);
	font-weight: 500;
}

.wki-stelle-eckdaten {
	font-size: 14px;
	font-weight: 400;
	color: var(--wp--preset--color--text-leise);
}

.wki-stelle-listen {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 20px 28px !important;
	margin-top: 18px !important;
}

.wki-stelle-listen > * {
	margin: 0 !important;
}

h3.wki-stelle-ueber {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
}

.wki-stelle-listen ul {
	margin: 0;
	padding-left: 1.1em;
	font-size: 15px;
	line-height: 1.55;
}

.wki-stellen .wp-block-buttons {
	margin-top: 22px !important;
}

/* ---- Schritte (Ihr Weg zu uns, für später) ---- */

.wki-schritte {
	counter-reset: wki-schritt;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: var(--wp--preset--spacing--20) !important;
}

.wki-schritte > * {
	counter-increment: wki-schritt;
	margin: 0 !important;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wki-radius-karte-klein);
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--weich);
}

.wki-schritte > *::before {
	content: counter(wki-schritt, decimal-leading-zero);
	display: block;
	margin-bottom: 0.75rem;
	font-family: var(--wp--preset--font-family--akzent);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--wp--preset--color--akzent);
}

.wki-schritte h3 {
	margin-bottom: 0.35rem;
	font-size: 1.125rem;
}

.wki-schritte p {
	margin: 0;
	font-size: 0.9375rem;
}

/* ---- Fragen und Antworten ---- */

.wki-fragen .wp-block-details {
	margin: 0 0 10px !important;
	transition: box-shadow 0.2s ease;
}

.wki-fragen .wp-block-details[open] {
	box-shadow: var(--wp--preset--shadow--weich);
}

.wp-block-details summary {
	position: relative;
	padding-right: 2.5rem;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

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

.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 1.5rem;
	height: 1.5rem;
	transform: translateY(-50%);
	background-color: currentColor;
	-webkit-mask: url(../bilder/symbole/expand_more.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/expand_more.svg) center / contain no-repeat;
	transition: transform 0.2s ease;
}

.wp-block-details[open] summary::after {
	transform: translateY(-50%) rotate(180deg);
}

.wp-block-details > :not(summary) {
	margin-top: 0.75rem;
}

/* ---- Ärzte ---- */

.wki-arzt-bild img,
.wki-team .wp-block-post-featured-image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top;
	border-radius: var(--wki-radius-karte);
}

.wki-team .wp-block-post-template {
	gap: clamp(32px, 4vw, 56px) !important;
}

.wki-team .wp-block-post-title {
	margin: 0;
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	font-weight: 500;
	letter-spacing: -0.02em;
}

.wki-team .wki-arzt-funktion {
	margin: 0 0 0.25rem;
}

.wki-team .wp-block-post-content > * {
	max-width: none;
}

/* Porträts auf der Ärzteseite /langenhagen/team/ (Pattern wki/team) und der Einzelseite (single-arzt.html)
   nie riesig: höchstens 520 px hoch; wenn die Spalten untereinander stehen (unter 782 px), höchstens 360 px breit. */
.wki-arzt-bild,
.wki-team .wp-block-columns .wp-block-post-featured-image {
	max-height: 520px;
	overflow: hidden;
}

.wki-arzt-bild img,
.wki-team .wp-block-columns .wp-block-post-featured-image img {
	max-height: 520px;
	width: 100%;
}

@media (max-width: 781px) {
	.wki-arzt-bild,
	.wki-team .wp-block-columns .wp-block-post-featured-image {
		max-width: 360px;
	}
}

/* Ärzteseite (Pattern wki/team): jede Ärztin, jeder Arzt als weiße Karte, Foto links randlos über die ganze
   Kartenhöhe, rechts Funktion, Name, Text, Schwerpunkte und Knopf (Abgleich A2). */
.wki-team .wki-arzt-karte {
	align-items: stretch !important;
	gap: 0 !important;
	margin: 0 0 16px !important;
	overflow: hidden;
	border-radius: 28px;
	background: var(--wp--preset--color--weiss);
	border: 1px solid rgba(22, 25, 29, 0.05);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 30px 60px -44px rgba(30, 50, 80, 0.4);
}

.wki-team .wki-arzt-karte > .wp-block-column {
	min-width: 0;
	align-self: stretch !important;
}

@media (min-width: 782px) {
	.wki-team .wki-arzt-karte > .wp-block-column {
		flex-basis: 50% !important;
	}
}

.wki-team .wki-arzt-karte > .wp-block-column:first-child {
	position: relative;
	min-height: 520px;
	background: #eef3f6;
}

.wki-team .wki-arzt-karte .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none;
	aspect-ratio: auto !important;
	margin: 0;
}

.wki-team .wki-arzt-karte .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: center 15%;
	border-radius: 0;
}

.wki-team .wki-arzt-karte > .wp-block-column:last-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	padding: clamp(28px, 4vw, 56px);
}

.wki-team .wki-arzt-karte > .wp-block-column:last-child > * {
	margin: 0 !important;
}

.wki-team .wki-arzt-karte .wp-block-post-title {
	font-size: clamp(34px, 3.6vw, 52px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.03em;
}

@media (max-width: 781px) {
	.wki-team .wki-arzt-karte > .wp-block-column:first-child {
		min-height: min(440px, 115vw);
	}
}

/* Teamfoto-Band auf der Ärzteseite: breites Foto beider Ärzte, unten links Überzeile und Überschrift in Weiß
   (Abgleich A3). Foto als Hintergrund im Theme: assets/bilder/fotos/team-band.jpg. */
.wki-team-band {
	position: relative;
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	height: max(360px, min(560px, 44vw)); /* etwa 16 : 7 wie im Entwurf, auf dem Handy mindestens 360 px hoch */
	margin-top: clamp(56px, 8vw, 104px) !important;
	padding: clamp(20px, 4vw, 48px);
	overflow: hidden;
	border-radius: 32px;
	background:
		linear-gradient(0deg, rgba(14, 22, 34, 0.8) 0%, rgba(14, 22, 34, 0.4) 35%, rgba(14, 22, 34, 0) 65%),
		url(../bilder/fotos/team-band.jpg) center 20% / cover no-repeat,
		#eef3f6;
}

.wki-team-band > * {
	margin: 0 !important;
}

.wki-team-band .wki-ueberzeile {
	color: #fff;
	text-shadow: 0 1px 8px rgba(14, 22, 34, 0.6);
}

.wki-team-band h2 {
	font-size: clamp(28px, 3.4vw, 48px) !important;
	color: #fff;
}

.wki-team-band h2 em {
	color: #fff;
}

/* Ärzte-Karten auf der Standortseite (Pattern wki/aerzte-kurz) wie im Entwurf:
   Foto links über die ganze Kartenhöhe, Funktion, Name und Kurztext rechts, zwei Karten nebeneinander. */
.wki-team .wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	gap: 16px !important;
}

.wki-team .wki-karte-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 28px;
	row-gap: 10px;
	min-height: 380px;
	padding: 0 28px 0 0;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 30px 60px -40px rgba(30, 50, 80, 0.35);
}

/* Das Bild liegt absolut im Rahmen, damit seine eigene Höhe (z. B. 1144 px) die Karte nicht aufbläht.
   Die Kartenhöhe bestimmen Text und min-height. */
.wki-team .wki-karte-item > .wp-block-post-featured-image {
	position: relative;
	grid-column: 1;
	grid-row: 1 / -1;
	aspect-ratio: auto !important;
	height: auto;
	min-height: 380px;
	overflow: hidden;
}

.wki-team .wki-karte-item > .wp-block-post-featured-image img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: none;
	aspect-ratio: auto !important;
	border-radius: 0;
	object-fit: cover;
	object-position: center 15%;
}

.wki-team .wki-karte-item > :not(.wp-block-post-featured-image) {
	grid-column: 2;
}

.wki-team .wki-karte-item > .wki-karte-kicker {
	padding-top: 32px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #5b6168;
}

.wki-team .wki-karte-item > .wp-block-post-title {
	font-size: 28px;
	line-height: 1.1;
}

.wki-team .wki-karte-item > .wp-block-post-excerpt {
	align-self: center;
	padding-bottom: 32px;
	font-size: 15px;
	line-height: 1.6;
}

/* Schmale Bildschirme: Foto oben, Text darunter */
@media (max-width: 560px) {
	.wki-team .wki-karte-item {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		min-height: 0;
		padding: 0 0 24px;
	}

	.wki-team .wki-karte-item > .wp-block-post-featured-image {
		grid-row: auto;
		min-height: 0;
		height: min(420px, 110vw);
	}

	.wki-team .wki-karte-item > :not(.wp-block-post-featured-image) {
		grid-column: 1;
		padding-inline: 24px;
	}

	.wki-team .wki-karte-item > .wki-karte-kicker {
		padding-top: 20px;
	}

	.wki-team .wki-karte-item > .wp-block-post-excerpt {
		padding-bottom: 0;
	}
}

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

.wki-zeiten {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wki-zeiten li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--wp--preset--color--rahmen);
}

.wki-zeiten li strong {
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

.wki-adresse {
	font-size: 1.25rem;
	line-height: 1.45;
	color: var(--wp--preset--color--text) !important;
}

/* ---- Termin-Aufruf auf dunkler Fläche ---- */

.wki-aufruf {
	border-radius: var(--wki-radius-karte);
	overflow: hidden;
}

.wki-aufruf h2 em {
	color: #9cc7e3;
}

.wki-aufruf .wki-knopf-hell-umriss .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.wki-aufruf .wki-knopf-hell-umriss .wp-block-button__link:hover,
.wki-aufruf .wki-knopf-hell-umriss .wp-block-button__link:focus {
	border-color: #fff;
	color: #fff;
}

/* Heller Termin-Aufruf mit Foto (L13/A4 im Abgleich 30.10.2026, wie im Standort-Entwurf):
   Foto als Hintergrund, von links hell überblendet, Text links, Knöpfe rechts unten. */
.wki-aufruf-hell {
	position: relative;
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	min-height: clamp(420px, 40vw, 520px);
	padding: clamp(32px, 5vw, 72px) clamp(24px, 6vw, 96px);
	border-radius: 32px;
	background:
		linear-gradient(0deg, rgba(248, 247, 245, 0.5) 0%, rgba(248, 247, 245, 0) 30%),
		linear-gradient(90deg, rgba(248, 247, 245, 0.97) 0%, rgba(248, 247, 245, 0.9) 30%, rgba(248, 247, 245, 0.55) 52%, rgba(248, 247, 245, 0.15) 75%, rgba(248, 247, 245, 0) 100%),
		url(../bilder/fotos/termin-empfang.jpg) center / cover no-repeat,
		#f4f2ef;
}

.wki-aufruf-hell > * {
	margin: 0 !important;
}

.wki-aufruf-hell .wki-aufruf-text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 640px;
	align-self: center;
}

.wki-aufruf-hell .wki-aufruf-text > * {
	margin: 0 !important;
}

.wki-aufruf-hell h2 {
	font-size: clamp(44px, 6vw, 92px) !important;
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.045em;
	color: #15171b;
}

.wki-aufruf-gold {
	color: #866032;
}

.wki-aufruf-hell p {
	max-width: 480px;
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.55;
	color: #3d434a;
}

.wki-aufruf-hell .wki-aufruf-knoepfe {
	flex: 0 1 320px;
	gap: 12px !important;
	min-width: min(100%, 300px);
}

.wki-aufruf-hell .wki-aufruf-knoepfe .wp-block-button,
.wki-aufruf-hell .wki-aufruf-knoepfe .wp-block-button__link {
	width: 100%;
}

.wki-aufruf-hell .is-style-outline .wp-block-button__link {
	border-color: #16191d;
	background: rgba(255, 255, 255, 0.92);
}

.wki-aufruf-hell a:focus-visible,
.wki-aufruf-hell .wp-element-button:focus-visible {
	outline-color: var(--wp--preset--color--akzent);
}

/* Bis 1023 px liegt der Text über dem ganzen Foto (auch über der dunklen Theke), deshalb gleichmäßig hell
   überblenden (Pia 30.10.2026, Ä2: bei 820 px sonst nur 2,9 : 1). */
@media (max-width: 1023px) {
	.wki-aufruf-hell {
		background:
			linear-gradient(180deg, rgba(248, 247, 245, 0.94) 0%, rgba(248, 247, 245, 0.86) 60%, rgba(248, 247, 245, 0.7) 100%),
			url(../bilder/fotos/termin-empfang.jpg) center / cover no-repeat,
			#f4f2ef;
	}
}

/* ---- Karten mit Foto (Leistungen, Anliegen; L1, L2, LE3 im Abgleich 30.10.2026) ---- */

.wki-foto-karten {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(220px, calc(25% - 24px))), 1fr));
	gap: clamp(20px, 2.4vw, 32px);
}

.wki-karte-item.wki-foto-karte {
	gap: 10px;
	padding: 12px 12px 26px;
	border-radius: 28px;
	border: 1px solid rgba(22, 25, 29, 0.05);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 24px 48px -40px rgba(30, 50, 80, 0.35);
	scroll-margin-top: 120px;
}

.wki-foto-karte > :not(.wki-foto-karte-bild) {
	padding-inline: 14px;
}

.wki-foto-karte-bild,
.wki-anliegen-bild {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0 0 10px !important;
	overflow: hidden;
	background: #eef3f6;
}

.wki-foto-karte-bild {
	border-radius: 20px;
}

.wki-foto-karte-bild img,
.wki-anliegen-bild img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.wki-foto-karte .wki-karte-kicker {
	display: flex;
	align-items: center;
	gap: 0;
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6a7077;
}

.wki-foto-karte .wki-karte-kicker::before {
	width: 22px;
	height: 22px;
	margin-right: 12px;
	color: var(--wp--preset--color--akzent);
	background-color: var(--wp--preset--color--akzent);
}

.wki-foto-karte .wki-karte-titel {
	font-size: 22px;
}

.wki-foto-karte .wki-karte-mehr {
	margin-top: auto !important;
	padding-top: 6px;
}

.wki-anliegen {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.wki-anliegen > * {
	margin: 0 !important;
}

.wki-anliegen-karte {
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
	padding-bottom: 26px;
	border-radius: 28px;
	background: var(--wp--preset--color--weiss);
	border: 1px solid rgba(22, 25, 29, 0.05);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 24px 48px -40px rgba(30, 50, 80, 0.4);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.wki-anliegen-karte:has(a:hover) {
	transform: translateY(-4px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 32px 64px -34px rgba(30, 50, 80, 0.5);
}

.wki-anliegen-karte > * {
	margin: 0 !important;
}

.wki-anliegen-karte > :not(.wki-anliegen-bild) {
	padding-inline: 24px;
}

.wki-anliegen-bild {
	margin-bottom: 10px !important;
}

.wki-anliegen-karte .wki-karte-kicker {
	font-size: 12px;
	letter-spacing: 0.14em;
	color: #6a7077;
}

h3.wki-anliegen-satz {
	font-family: var(--wp--preset--font-family--akzent);
	font-size: clamp(26px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	text-wrap: balance;
	hyphens: manual;
}

.wki-anliegen-karte .wki-karte-mehr {
	margin-top: auto !important;
}

.wki-anliegen-karte .wki-karte-mehr a {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--akzent);
}

/* Die ganze Karte ist klickbar: der Link spannt sich über die Karte */
.wki-foto-karte:has(.wki-karte-mehr),
.wki-anliegen-karte {
	position: relative;
}

.wki-foto-karte .wki-karte-mehr a::before,
.wki-anliegen-karte .wki-karte-mehr a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* Ausstattung (#praxis): eine Reihe aus drei Fotos und einem hellblauen Kreis, alle 240 px hoch (Abgleich L9) */
#praxis .wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px !important;
}

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

@media (max-width: 559px) {
	#praxis .wp-block-columns {
		grid-template-columns: minmax(0, 1fr);
	}
}

#praxis .wp-block-columns > .wp-block-column {
	flex-basis: auto !important;
	margin: 0 !important;
}

#praxis .wki-bild {
	width: 100%;
	margin: 0;
}

#praxis .wki-bild img {
	display: block;
	width: 100% !important;
	height: 240px !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	border-radius: 22px;
}

.wki-praxis-kreis {
	display: grid;
	place-items: center;
	height: 240px;
	margin: 0 !important;
	padding: 24px;
	border-radius: 999px;
	background: #d6e9ec;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	color: var(--wp--preset--color--text);
}

/* Häufige Fragen, linke Spalte: Foto (Empfang) mit aufgelegter Karte „Ihre Frage ist nicht dabei?“ (Abgleich L11) */
.wki-faq-bild {
	position: relative;
	display: flex !important;
	align-items: flex-end;
	aspect-ratio: 4 / 3;
	padding: 16px;
	overflow: hidden;
	border-radius: 28px;
	background: url(../bilder/fotos/termin-empfang.jpg) center / cover no-repeat, #eef3f6;
	box-shadow: 0 30px 60px -40px rgba(30, 50, 80, 0.45);
}

/* Die beiden Knöpfe unter dem Foto passen nebeneinander */
.wki-faq-bild + .wp-block-buttons {
	gap: 10px !important;
}

.wki-faq-bild + .wp-block-buttons .wp-block-button__link {
	padding-inline: 18px;
}

.wki-faq-karte {
	width: 100%;
	margin: 0 !important;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 16px 32px -20px rgba(30, 50, 80, 0.5);
	font-size: 15px;
	line-height: 1.45;
	color: #4a5057;
}

.wki-faq-karte {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 14px;
	align-items: center;
}

.wki-faq-karte::before {
	grid-row: 1 / span 2;
	justify-self: center;
	width: 30px !important;
	height: 30px !important;
	margin: 0 !important;
	background-color: var(--wp--preset--color--akzent) !important;
}

.wki-faq-karte strong {
	display: block;
	font-size: 17px;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

/* ---- Kontaktwege (E-Mail, Adresse, Sprechzeiten) ---- */

.wki-kontaktweg {
	margin: 0 !important;
}

.wki-kontaktweg a,
.wki-kontaktweg > div {
	display: block;
	box-sizing: border-box; /* sonst ragt die Karte um ihren Innenabstand in den Bereich darunter */
	height: 100%;
	padding: var(--wp--preset--spacing--30);
	border-radius: var(--wki-radius-karte-klein);
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--weich);
	color: var(--wp--preset--color--text);
	text-decoration: none;
	transition: box-shadow 0.2s ease;
}

.wki-kontaktweg a:hover,
.wki-kontaktweg a:focus {
	box-shadow: var(--wki-schatten-hover);
}

/* ---- Platzhalter für Formulare (bis ein Formular-Plugin angeschlossen ist) ---- */

.wki-formular-platzhalter {
	padding: var(--wp--preset--spacing--30);
	border: 1px dashed var(--wp--preset--color--rahmen);
	border-radius: var(--wki-radius-karte-klein);
	background: var(--wp--preset--color--weiss);
}

/* Felder sind gesperrt, solange das Formular nicht angeschlossen ist */
.wki-formular-felder {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

.wki-formular-felder label {
	display: grid;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--text);
}

/* Formularfelder (gilt auch für ein späteres Formular-Plugin) */
.wp-site-blocks input[type="text"],
.wp-site-blocks input[type="email"],
.wp-site-blocks input[type="tel"],
.wp-site-blocks select,
.wp-site-blocks textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #7a838c;
	border-radius: var(--wki-radius-feld);
	background: #f5f6f7;
	font: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--text);
}

.wki-formular-felder button:disabled,
.wp-site-blocks input:disabled,
.wp-site-blocks select:disabled,
.wp-site-blocks textarea:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.wp-site-blocks input:focus,
.wp-site-blocks select:focus,
.wp-site-blocks textarea:focus {
	border-color: var(--wp--preset--color--akzent);
	background: var(--wp--preset--color--weiss);
}

/* ---- Markierung RECHTLICH PRÜFEN ----
   Sichtbar im Editor. Auf der Webseite seit 1.5.2 ausgeblendet (siehe unten).
   Nach der rechtlichen Prüfung den Absatz löschen. */
.wki-rechtlich-pruefen {
	padding: 10px 14px;
	border: 2px solid #8a5a00;
	border-radius: 12px;
	background: #fff4d6;
	color: #3d2a00 !important;
	font-size: 0.875rem;
	font-weight: 600;
}

/* Livegang vor der rechtlichen Prüfung (Entscheidung der Nutzerin vom 27.10.2026): auf der Webseite
   ausgeblendet, im Editor (body.editor-styles-wrapper) weiter sichtbar. Die Aussagen selbst bleiben
   sichtbar und sind noch nicht geprüft. Nach der Prüfung die Absätze löschen und diese Regel entfernen. */
body:not(.editor-styles-wrapper) .wki-rechtlich-pruefen {
	display: none;
}

/* ---- Kartenplatzhalter: Karte lädt erst nach Klick ---- */

.wki-karte {
	background: var(--wp--preset--color--hell);
	border: 1px dashed var(--wp--preset--color--rahmen);
	border-radius: var(--wki-radius-karte-klein);
	min-height: 320px;
	padding: var(--wp--preset--spacing--30);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1rem;
}

.wki-karte-hinweis {
	margin: 0;
	font-size: 0.875rem;
}

.wki-karte iframe {
	width: 100%;
	height: 360px;
	border: 0;
	border-radius: var(--wki-radius-karte-klein);
	display: block;
	filter: grayscale(0.6) contrast(0.95) brightness(1.04);
}

.wki-karte.ist-geladen {
	padding: 0;
	border: 0;
	min-height: 0;
	display: block;
}

/* ---- Fußbereich ---- */

.wki-fuss {
	border-top: 1px solid rgba(15, 23, 31, 0.07);
}

.wki-fuss h2,
.wki-fuss h3 {
	margin-bottom: 0.75rem;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #282f35;
}

.wki-fuss p,
.wki-fuss li {
	font-size: 15px;
	color: #3c434a;
}

.wki-fuss a {
	color: #1a222b;
	text-decoration: none;
}

.wki-fuss a:hover,
.wki-fuss a:focus {
	color: var(--wp--preset--color--akzent);
	text-decoration: underline;
}

.wki-fuss .wki-leise {
	color: var(--wp--preset--color--text-leise);
}

.wki-fuss .wki-motto {
	font-family: var(--wp--preset--font-family--akzent);
	font-style: normal;
	font-size: 24px;
	color: #282f35;
}

.wki-fuss .wki-fuss-unten {
	border-top: 1px solid var(--wki-linie);
	font-size: 13.5px;
}

.wki-fuss .wki-fuss-unten p,
.wki-fuss .wki-fuss-unten a {
	font-size: 13.5px;
	color: var(--wp--preset--color--text-leise);
}

.wki-fuss-liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wki-fuss-liste li {
	margin: 0 0 12px;
}

/* ---- Rücksprung-Link und automatische Unterseiten (Kurzbefehl [wki_unterseiten]) ---- */

.wki-eltern-link {
	font-size: var(--wp--preset--font-size--klein);
	margin-bottom: 0;
}

.wki-eltern-link a::before {
	content: "\2190\00a0";
}

/* Bilder ohne Quelle (Platzhalter in Patterns) sollen auf der Seite nicht als leerer Rahmen stören */
.wp-block-image img:not([src]) {
	display: none;
}

/* Bewegung nur, wenn die Besucherin sie nicht abgeschaltet hat */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
	}

	a.wki-karte-item:hover,
	.wki-karte-item:has(a:hover),
	.wki-standortkarte:has(a:hover) {
		transform: none;
	}
}

/* Sprungmarken nicht unter dem festen Kopfbereich verstecken */
[id] {
	scroll-margin-top: 110px;
}

html {
	scroll-behavior: smooth;
}

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

/* Nur für Screenreader sichtbar (z. B. "öffnet in neuem Fenster") */
.wki-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---- Kontaktformular (Plugin Fluent Forms, Formular „Kontakt HNOrdic“) ----
   Optik nach dem Beispiel der Nutzerin (1.11.2026): oben die Themen als Kacheln in einer Reihe (Symbol, Titel,
   Unterzeile; gewählte Kachel dunkel), darunter Standort, Name, Telefon und E-Mail nebeneinander, Nachricht über
   die ganze Breite, unten links die Einwilligung, rechts der Knopf. Die Felder werden über ihren Feldtyp
   angesprochen (Auswahlknöpfe = Themen, Dropdown = Standort), nicht über den Feldnamen. */

/* Karte um das Formular: hell, ohne gestrichelten Rand */
.wki-formular-platzhalter:has(.fluentform) {
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid rgba(22, 25, 29, 0.05);
	border-radius: 32px;
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 30px 60px -48px rgba(30, 50, 80, 0.35);
}

/* Auf den Kontaktseiten steht das Formular über die ganze Breite, Karte und Notfall darunter */
.wp-block-columns:has(.fluentform) {
	flex-direction: column;
}

.wp-block-columns:has(.fluentform) > .wp-block-column {
	flex-basis: auto !important;
	width: 100%;
}

/* Raster der Felder */
.fluentform form > fieldset,
.fluentform form:not(:has(> fieldset)) {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 20px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.fluentform form > fieldset > *,
.fluentform form:not(:has(> fieldset)) > * {
	grid-column: 1 / -1;
	order: 4;
	min-width: 0;
}

.fluentform .ff-el-group {
	margin-bottom: 18px;
}

/* Reihenfolge: Hinweis, Themen, Hinweise je Thema, Kontaktdaten, Nachricht, Einwilligung und Knopf */
.fluentform form > fieldset > .ff-custom_html:first-of-type,
.fluentform form:not(:has(> fieldset)) > .ff-custom_html:first-of-type {
	order: 0;
}

.fluentform .ff-el-group:has(input[type="radio"]) {
	order: 1;
	margin-bottom: 26px;
}

.fluentform form > fieldset > .ff-custom_html:not(:first-of-type),
.fluentform form:not(:has(> fieldset)) > .ff-custom_html:not(:first-of-type) {
	order: 2;
}

.fluentform .ff-el-group:has(select),
.fluentform .ff-el-group:has(input[type="text"]),
.fluentform .ff-el-group:has(input[type="email"]),
.fluentform .ff-el-group:has(input[type="tel"]) {
	grid-column: span 1;
	order: 3;
}

.fluentform .ff-el-group:has(textarea) {
	order: 4;
}

.fluentform .ff-el-group:has(input[type="checkbox"]) {
	grid-column: span 3;
	order: 5;
	align-self: center;
	margin-bottom: 0;
}

.fluentform .ff_submit_btn_wrapper {
	grid-column: span 1;
	order: 5;
	align-self: center;
	justify-self: end;
	margin: 0;
}

/* Beschriftung und Felder */
.fluentform .ff-el-input--label {
	margin-bottom: 8px;
}

.fluentform .ff-el-input--label label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #3d434a;
}

.fluentform .ff-el-input--content .ff-el-form-control {
	min-height: 56px;
	padding: 14px 18px;
	border: 1px solid #e6e3de;
	border-radius: 16px;
	background: #f6f5f2;
	font: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--text);
	box-shadow: none;
}

.fluentform .ff-el-input--content textarea.ff-el-form-control {
	min-height: 160px;
}

.fluentform .ff-el-input--content .ff-el-form-control::placeholder {
	color: #8a8f95;
}

.fluentform .ff-el-input--content .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--akzent);
	background: var(--wp--preset--color--weiss);
	box-shadow: none;
}

.fluentform .ff-el-is-error .ff-el-input--content .ff-el-form-control {
	border-color: #b3261e;
}

.fluentform .error,
.fluentform .text-danger {
	margin-top: 6px;
	font-size: 0.875rem;
	color: #b3261e;
}

/* Hinweise im Formular als helle Fläche mit Info-Symbol */
.fluentform .ff-custom_html {
	position: relative;
	padding: 14px 18px 14px 50px;
	border-radius: 16px;
	background: #f7efe6;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.fluentform .ff-custom_html > *,
.fluentform .ff-custom_html p {
	margin: 0;
}

.fluentform .ff-custom_html::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 18px;
	width: 20px;
	height: 20px;
	background-color: var(--wp--preset--color--text);
	-webkit-mask: url(../bilder/symbole/info.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/info.svg) center / contain no-repeat;
}

/* Einwilligung */
.fluentform .ff-el-group:has(input[type="checkbox"]) {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #4a5057;
}

/* Absendeknopf wie die Knöpfe der Seite, mit Pfeil */
.fluentform .ff-btn-submit,
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--knopf) !important;
	color: #fff !important;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.fluentform .ff-btn-submit::after {
	content: "";
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
	mask: url(../bilder/symbole/arrow_forward.svg) center / contain no-repeat;
}

.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus {
	background: var(--wp--preset--color--knopf-hover) !important;
}

/* Dankeschön nach dem Absenden */
.ff-message-success {
	padding: 18px 20px !important;
	border: 0 !important;
	border-radius: 18px;
	background: var(--wp--preset--color--hell) !important;
	box-shadow: none !important;
	color: var(--wp--preset--color--text);
}

/* Themen als Kacheln in einer Reihe */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-input--label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-input--content {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check {
	position: relative;
	margin: 0 !important;
	border: 1px solid rgba(22, 25, 29, 0.05);
	border-radius: 24px;
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 22px 44px -34px rgba(30, 50, 80, 0.45);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Symbol-Kachel oben links */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 24px;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: #f7efe6;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label {
	position: relative;
	display: block !important;
	height: 100%;
	padding: 92px 24px 24px;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--wp--preset--color--text);
	hyphens: manual;
	overflow-wrap: normal; /* nicht mitten im Wort trennen; „Praxisabgabe / Praxiskooperation“ bricht an den Leerzeichen um */
	cursor: pointer;
}

/* Symbol */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label::before {
	content: "";
	position: absolute;
	top: 36px;
	left: 36px;
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--text);
	-webkit-mask: var(--wki-thema-symbol, url(../bilder/symbole/chat.svg)) center / contain no-repeat;
	mask: var(--wki-thema-symbol, url(../bilder/symbole/chat.svg)) center / contain no-repeat;
}

/* Unterzeile */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label::after {
	content: var(--wki-thema-text, "");
	display: block;
	margin-top: 8px;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.45;
	color: #5b6168;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input[value="Frage stellen"]) { --wki-thema-symbol: url(../bilder/symbole/chat.svg); --wki-thema-text: "Kurze Frage an das Praxisteam"; }
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input[value="Terminanfrage"]) { --wki-thema-symbol: url(../bilder/symbole/calendar_month.svg); --wki-thema-text: "Wunschtermin anfragen, ab 1. April 2027"; }
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input[value="Rückruf"]) { --wki-thema-symbol: url(../bilder/symbole/phone_callback.svg); --wki-thema-text: "Wir rufen Sie zurück"; }
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input[value="Bewerbung"]) { --wki-thema-symbol: url(../bilder/symbole/work.svg); --wki-thema-text: "Für unser Praxisteam"; }
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input[value^="Praxisabgabe"]) { --wki-thema-symbol: url(../bilder/symbole/groups.svg); --wki-thema-text: "Vertraulich an das MVZ"; }

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:hover {
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02), 0 28px 52px -30px rgba(30, 50, 80, 0.5);
}

/* Gewählte Kachel dunkel */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:checked) {
	background: #3a3d40;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:checked)::before {
	background: rgba(255, 255, 255, 0.14);
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:checked) .ff-el-form-check-label {
	color: #fff;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:checked) .ff-el-form-check-label::before {
	background-color: #fff;
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:checked) .ff-el-form-check-label::after {
	color: rgba(255, 255, 255, 0.82);
}

.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check:has(input:focus-visible) {
	outline: 3px solid var(--wp--preset--color--akzent);
	outline-offset: 2px;
}

/* Kein Umbruch mitten im Wort, auch nicht in den Textteilen, die das Formular-Plugin ausgibt */
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label,
.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label * {
	hyphens: manual !important;
	overflow-wrap: normal !important;
	word-break: normal !important;
}

/* Schmale Kacheln: „Praxiskooperation“ passt so in eine Zeile */
@media (min-width: 600px) and (max-width: 1399px) {
	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check::before {
		left: 16px;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label {
		padding-inline: 16px;
		font-size: 0.9375rem;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label::before {
		left: 28px;
	}
}

/* Tablet: drei Kacheln je Reihe, Kontaktdaten zu zweit */
@media (max-width: 1099px) {
	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-input--content {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.fluentform form > fieldset,
	.fluentform form:not(:has(> fieldset)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fluentform .ff-el-group:has(input[type="checkbox"]),
	.fluentform .ff_submit_btn_wrapper {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.fluentform .ff-el-group:has(input[type="checkbox"]) {
		margin-bottom: 18px;
	}
}

/* Für drei Kacheln wäre „Praxiskooperation“ hier zu breit */
@media (min-width: 600px) and (max-width: 719px) {
	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-input--content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Handy: Kacheln flach untereinander, Felder untereinander */
@media (max-width: 599px) {
	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-input--content {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check::before {
		top: 50%;
		left: 14px;
		margin-top: -22px;
		width: 44px;
		height: 44px;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label {
		padding: 14px 16px 14px 72px;
		font-size: 1rem;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label::before {
		top: 50%;
		left: 24px;
		margin-top: -12px;
	}

	.fluentform .ff-el-group:has(input[type="radio"]) .ff-el-form-check-label::after {
		margin-top: 2px;
		font-size: 0.875rem;
	}

	.fluentform form > fieldset,
	.fluentform form:not(:has(> fieldset)) {
		grid-template-columns: minmax(0, 1fr);
	}

	.fluentform .ff-el-group:has(select),
	.fluentform .ff-el-group:has(input[type="text"]),
	.fluentform .ff-el-group:has(input[type="email"]),
	.fluentform .ff-el-group:has(input[type="tel"]) {
		grid-column: 1 / -1;
	}
}

/* Startseite MVZ: Fachrichtungen statt einzelner Leistungen */
.wki-fach-raster {
	display: grid !important;
	grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
	gap: 22px !important;
}

.wki-fach-raster > *,
.wki-fach-karte > * {
	margin: 0 !important;
}

.wki-fach-karte {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 !important;
	overflow: hidden;
	border-radius: var(--wki-radius-karte-klein);
	background: var(--wp--preset--color--weiss);
	box-shadow: 0 12px 34px rgba(15, 23, 31, 0.06);
}

.wki-fach-foto,
.wki-fach-foto img {
	display: block;
	width: 100%;
	height: 100%;
}

.wki-fach-foto img {
	min-height: 300px;
	object-fit: cover;
}

.wki-fach-inhalt {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px !important;
	padding: clamp(28px, 3vw, 40px);
}

.wki-fach-inhalt > * {
	margin: 0 !important;
}

.wki-fach-inhalt .wp-block-buttons {
	margin-top: auto !important;
}

.wki-fach-inhalt .wki-etikett-pille {
	background: var(--wp--preset--color--hell);
	box-shadow: none;
	font-weight: 500;
}

.wki-fach-raster .wki-karte-geplant {
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding: clamp(28px, 3vw, 40px);
}

.wki-fach-staerken {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 56px) !important;
	margin-top: clamp(44px, 5vw, 64px) !important;
	padding-top: clamp(28px, 3vw, 36px);
	border-top: 1px solid var(--wp--preset--color--rahmen);
}

.wki-fach-staerken > * {
	margin: 0 !important;
}

.wki-fach-staerken h3 {
	margin: 0 0 6px;
	font-size: 21px;
}

.wki-fach-staerken p {
	margin: 0;
	font-size: 17px;
}

@media (max-width: 900px) {
	.wki-fach-raster {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.wki-fach-karte,
	.wki-fach-staerken {
		grid-template-columns: 1fr;
	}

	.wki-fach-foto img {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}
}

/* Leistungsseiten: Überschriften ohne Worttrennung. Die Spalte ist der Maßstab für --wki-breite (functions.php) */
.wki-leistungsseite :is(h1, h2, h3, h4) {
	hyphens: none !important;
	overflow-wrap: normal;
	word-break: normal;
}

.wki-leistungsseite .wp-block-post-content :is(.alignwide, .wp-block-column, .wki-seitenkopf-titel, .wki-abschnitt-kopf) {
	container-type: inline-size;
}

.wki-leistungsseite .wki-seitenkopf h1[style*="--wki-breite"] {
	font-size: min(clamp(34px, 4.8vw, 54px), calc(100cqi / var(--wki-breite))) !important;
}

.wki-leistungsseite .wp-block-post-content h2[style*="--wki-breite"] {
	font-size: min(var(--wp--preset--font-size--gross), calc(100cqi / var(--wki-breite)));
}

.wki-ungetrennt {
	white-space: nowrap;
}

/* Leistungsseiten rund ein Drittel kleiner (Wunsch der Nutzerin 08.11.2026). Schriftgrößen und Abstände nur innerhalb von main,
   Kopf und Fuß der Webseite bleiben unverändert. Fließtext mindestens 16 Pixel. */
.wki-leistungsseite main {
	--wp--preset--font-size--gross: clamp(30px, 5vw, 42px);
	--wp--preset--font-size--gross-karte: clamp(20px, 2vw, 22px);
	--wp--preset--spacing--40: clamp(22px, 2.7vw, 37px);
	--wp--preset--spacing--50: clamp(48px, 6vw, 80px);
	--wp--preset--spacing--60: clamp(48px, 6.6vw, 85px);
}

.wki-leistungsseite main .wki-h2-klein {
	font-size: clamp(23px, 2.5vw, 30px) !important;
}

.wki-leistungsseite main .wki-karte-titel {
	font-size: clamp(23px, 2.5vw, 30px) !important;
}

.wki-leistungsseite main .wki-serif {
	font-size: 21px;
	font-weight: 400;
}

.wki-leistungsseite main .wki-schritte > *::before {
	font-size: 1.5rem;
}

.wki-leistungsseite main h3,
.wki-leistungsseite main .wki-kachel h3,
.wki-leistungsseite main .wki-schritte h3 {
	font-size: 1.0625rem;
}

.wki-leistungsseite main .wp-block-details summary {
	font-size: 1.0625rem;
}

.wki-leistungsseite main :is(.wki-schritte p, .wki-kachel p, .wki-karte-item p:not(.wki-karte-kicker), .wki-karte-geplant p:not(.wki-serif):not(.wki-karte-kicker), .wp-block-details p, .wki-haken li) {
	font-size: 17px;
}

.wki-leistungsseite main .wki-abschnitt-kopf {
	margin-bottom: var(--wp--preset--spacing--40);
}

.wki-leistungsseite main .alignfull[style*="padding-bottom:clamp(70px"] {
	padding-bottom: clamp(46px, 5.3vw, 73px) !important;
}

.wki-leistungsseite main .alignfull[style*="padding-top:clamp(72px"] {
	padding-top: clamp(48px, 6.6vw, 85px) !important;
}

.wki-leistungsseite main [style*="margin-top:clamp(40px"] {
	margin-top: clamp(27px, 3.3vw, 43px) !important;
}

.wki-leistungsseite main [style*="margin-top:clamp(48px"] {
	margin-top: clamp(32px, 4vw, 53px) !important;
}

.wki-leistungsseite main .wp-block-post-content > .alignfull:first-child {
	padding-top: 24px !important;
}

.wki-leistungsseite main .wki-aufruf-hell {
	min-height: clamp(280px, 27vw, 350px);
	padding: clamp(24px, 3.3vw, 48px) clamp(24px, 4vw, 64px);
}

.wki-leistungsseite main .wki-aufruf-hell h2 {
	font-size: clamp(36px, 4.8vw, 60px) !important;
}

/* Kopfbereich: auf allen Leistungsseiten gleich hoch und gleich aufgebaut */
.wki-leistungsseite main .wki-seitenkopf {
	box-sizing: border-box;
	min-height: 430px;
	align-items: center;
	margin-bottom: clamp(27px, 3.3vw, 43px) !important;
	padding: clamp(28px, 3.6vw, 52px) clamp(24px, 4vw, 56px);
}

.wki-leistungsseite main .wki-seitenkopf-titel {
	gap: 14px;
}

.wki-leistungsseite main .wki-seitenkopf h1 {
	line-height: 1.02;
}

.wki-leistungsseite main .wki-seitenkopf .wp-block-buttons {
	gap: 10px;
}

@media (min-width: 782px) and (max-width: 1099px) {
	.wki-leistungsseite main .wki-seitenkopf {
		min-height: 515px;
	}
}

/* Handy: fester Rand für jeden Abschnitt, unabhängig von den Vorgaben des Block-Layouts */
@media (max-width: 781px) {
	.wki-leistungsseite main {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.wki-leistungsseite main > .wp-block-post-content {
		width: 100%;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.wki-leistungsseite main > :not(.wp-block-post-content),
	.wki-leistungsseite main > .wp-block-post-content > * {
		box-sizing: border-box;
		width: 100%;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.wki-leistungsseite main .wki-seitenkopf {
		min-height: max(520px, calc(1300px - 142vw));
		align-content: space-between;
		padding: 28px 22px;
		border-radius: 24px;
	}

	.wki-leistungsseite main .wki-aufruf-hell {
		padding: 24px 22px;
		border-radius: 24px;
	}
}

/* Schriftart und Größen der ganzen Webseite nach dem Vorbild MedNetz (Wunsch der Nutzerin 08.11.2026):
   Newsreader für Überschriften, Public Sans für Text. */
.wp-site-blocks main :is(h1, h2):not(.wki-h2-klein) {
	font-optical-sizing: auto;
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-transform: none;
}

.wp-site-blocks main :is(h1, h2) em {
	font-family: inherit;
	font-style: normal;
	font-weight: 300;
}

.wp-site-blocks main :is(h3, h4, .wki-h2-klein, .wki-karte-titel, .wp-block-details summary):not(.wki-stelle-ueber) {
	font-family: var(--wp--preset--font-family--ueberschrift);
	font-weight: 300 !important;
	line-height: 1.22;
	letter-spacing: 0;
	text-transform: none;
}

.wp-site-blocks main :is(.wki-h1-seite, .wki-seitenkopf h1, .wki-hero-standort h1):not([style*="--wki-breite"]) {
	font-size: clamp(34px, 4.8vw, 54px) !important;
}

.wp-site-blocks main :is(.wki-versprechen-satz, .wki-zitat blockquote, .wki-team-band h2) {
	font-size: clamp(30px, 5vw, 42px) !important;
	font-family: var(--wp--preset--font-family--ueberschrift);
	font-weight: 300;
	line-height: 1.12;
}

.wp-site-blocks main :is(.wki-h2-klein, .wki-standortkarte h3, .wki-diagnose-karte .wki-karte-titel, .wki-team .wp-block-post-title, h3.wki-anliegen-satz) {
	font-size: clamp(23px, 2.5vw, 30px) !important;
}

.wp-site-blocks main .wki-aufruf-hell h2 {
	font-size: clamp(36px, 4.8vw, 60px) !important;
}

.wp-site-blocks main .wki-serif,
.wki-fuss .wki-motto {
	font-size: 21px;
	font-weight: 400;
}

.wp-site-blocks main :is(.wki-karte-item p:not(.wki-karte-kicker), .wki-karte-geplant p:not(.wki-serif):not(.wki-karte-kicker), .wki-liste-nummern li, .wki-standortkarte p, .wki-liste-zweispaltig li, .wki-voraussetzungen ol li, .wki-kachel p, .wki-stelle-listen ul, .wki-schritte p, .wki-faq-karte, .wki-aufruf-hell p, .wp-block-details p, .wki-haken li, .wki-team .wp-block-post-excerpt) {
	font-size: 17px;
	line-height: 1.45;
}

.wp-site-blocks main .wki-einleitung {
	font-size: 19px;
	line-height: 1.42;
}

.wp-site-blocks main :is(table, th, td, .wki-vergleich > *) {
	font-size: 16px;
}

.wki-fuss h3 {
	font-family: var(--wp--preset--font-family--text);
}

/* Leistungsseiten: kleine Titel in Karten und Schritten */
.wki-leistungsseite main :is(h3, .wki-kachel h3, .wki-schritte h3, .wp-block-details summary) {
	font-size: 20px;
}

/* Keine kursive Schrift auf der Webseite (Wunsch der Nutzerin 08.11.2026) */
em,
i,
cite,
blockquote,
address,
.wp-block-quote,
.wp-block-pullquote {
	font-style: normal;
}

/* Leistungsseiten: Header-Bild liegt wie auf der Startseite hinter der Schrift (Beitragsbild der Seite).
   Ab 1100 px steht der Text links auf der hellen Bildseite, darunter läuft das Foto oben und blendet in den Text aus. */
.wki-leistungsseite main .wki-seitenkopf-mit-bild {
	position: relative;
	isolation: isolate;
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 22px !important;
	overflow: hidden;
	background: #f9f7f5;
}

.wki-leistungsseite main .wki-kopfbild {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.wki-leistungsseite main .wki-kopfbild::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(249, 247, 245, 0.96) 0%, rgba(249, 247, 245, 0.92) 40%, rgba(249, 247, 245, 0) 62%);
}

.wki-leistungsseite main .wki-kopfbild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 100% 20%;
}

@media (min-width: 1100px) {
	.wki-leistungsseite main .wki-seitenkopf-mit-bild {
		min-height: 700px;
	}

	.wki-leistungsseite main .wki-seitenkopf-mit-bild > :not(.wki-kopfbild) {
		max-width: min(46%, 560px);
	}
}

@media (max-width: 1099px) {
	.wki-leistungsseite main .wki-seitenkopf-mit-bild {
		justify-content: flex-start;
		min-height: max(880px, calc(1460px - 122vw));
		padding: 0 0 28px;
	}

	.wki-leistungsseite main .wki-kopfbild {
		position: relative;
		inset: auto;
		z-index: 0;
		height: clamp(260px, 62vw, 400px);
	}

	.wki-leistungsseite main .wki-kopfbild::after {
		bottom: -1px;
		background: linear-gradient(180deg, rgba(249, 247, 245, 0) 62%, #f9f7f5 97%);
	}

	.wki-leistungsseite main .wki-kopfbild img {
		object-position: 72% 20%;
	}

	.wki-leistungsseite main .wki-seitenkopf-mit-bild > :not(.wki-kopfbild) {
		position: relative;
		z-index: 1;
		padding-inline: clamp(22px, 5vw, 48px);
	}

	.wki-leistungsseite main .wki-seitenkopf-mit-bild > .wki-seitenkopf-titel {
		margin-top: -26px !important;
	}
}

/* Kleiner Hinweis auf den Bildern der Webseite (Wunsch der Nutzerin 08.11.2026). Immer unten rechts am Bildrand. */
.wki-mit-bildhinweis {
	position: relative;
}

.wki-bildhinweis {
	position: absolute;
	right: 14px;
	bottom: 6px;
	z-index: 3;
	margin: 0;
	padding: 1px 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	color: #0f171f;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.3;
	text-transform: none;
	white-space: nowrap;
}

/* Die Karte auf dem Foto bleibt frei */
.wki-faq-bild:has(.wki-bildhinweis) {
	padding-bottom: 26px;
}

/* Handy und Tablet: Das Foto blendet nach unten aus, der Hinweis steht deshalb am sichtbaren Bildende */
@media (max-width: 1099px) {
	.wki-leistungsseite main .wki-kopfbild .wki-bildhinweis {
		bottom: 34px;
	}
}

@media (max-width: 899px) {
	.wp-block-cover.wki-hero .wki-bildhinweis {
		top: calc(var(--wki-hero-foto) - var(--wki-hero-ueber) - 22px);
		bottom: auto;
	}
}

/* Symbole kleiner und feiner, auf allen Seiten gleich (Wunsch der Nutzerin 08.11.2026) */
.wp-site-blocks .wki-karte-item.wki-symbol-gross,
.wp-site-blocks .wki-kachel.wki-symbol-gross {
	padding-top: calc(26px + 3.5rem);
}

.wp-site-blocks .wki-karte-item.wki-symbol-gross::after,
.wp-site-blocks .wki-kachel.wki-symbol-gross::after {
	top: 26px;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	box-shadow: inset 0 1px 0 #fff, inset 0 -4px 8px rgba(110, 130, 155, 0.12), 0 8px 14px -10px rgba(30, 50, 80, 0.3);
}

.wp-site-blocks .wki-karte-item.wki-symbol-gross::before,
.wp-site-blocks .wki-kachel.wki-symbol-gross::before {
	top: 36px;
	left: 37px;
	width: 22px;
	height: 22px;
}

.wp-site-blocks .wki-symbol:not(.wki-symbol-gross)::before {
	width: 1.1em;
	height: 1.1em;
	vertical-align: -0.2em;
}

.wp-site-blocks .wp-block-button.wki-symbol .wp-block-button__link::before {
	width: 1.2em;
	height: 1.2em;
}

.wp-site-blocks .wki-kontaktweg.wki-symbol a::before {
	width: 1.25rem;
	height: 1.25rem;
}

.wp-site-blocks .wki-kaertchen.wki-merkmal > span::after {
	width: 20px;
	height: 20px;
	margin-top: -10px;
}

/* Telefonnummern im Bewerbungstext der Stellen nicht mitten in der Nummer umbrechen */
.wki-stelle-bewerbung a[href^="tel:"] {
	white-space: nowrap;
}
