/*
 * KFO Abadei Core: Aussehen der Sonderelemente.
 * Farben und Schriften kommen als CSS-Variablen aus dem Child-Theme.
 * Die Ersatzwerte greifen, falls ein anderes Theme aktiv ist.
 */

/* ---------- Gemeinsames ---------- */

.kfo-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.kfo-btn,
.kfo-btn:hover,
.kfo-btn:focus {
	display: inline-block;
	border: 0;
	background: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
	padding: 16px 32px;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

/* ---------- Vorher-Nachher-Schieber ---------- */

.kfo-ba {
	--kfo-pos: 50%;
}

.kfo-ba-box {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: #12343F;
	cursor: ew-resize;
	touch-action: pan-y;
	user-select: none;
}

.kfo-ba-box img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.kfo-ba-v {
	clip-path: inset(0 calc(100% - var(--kfo-pos)) 0 0);
}

.kfo-ba-linie {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--kfo-pos);
	width: 2px;
	background: #FFFFFF;
}

.kfo-ba-griff {
	position: absolute;
	top: 50%;
	left: var(--kfo-pos);
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -19px;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--kfo-petrol, #0E2A33);
	display: flex;
	align-items: center;
	justify-content: center;
}

.kfo-ba-marke {
	position: absolute;
	top: 12px;
	font-size: 11.5px;
	line-height: 1.6;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.kfo-ba-marke--v {
	left: 12px;
	background: var(--kfo-petrol-tief, #0B2730);
	color: var(--kfo-hell, #E8F1F3);
}

.kfo-ba-marke--n {
	right: 12px;
	background: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
	font-weight: 700;
}

.kfo-ba-box.ohne-vorher .kfo-ba-marke--v,
.kfo-ba-box.ohne-nachher .kfo-ba-marke--n {
	opacity: 0;
}

.kfo-ba-label {
	display: block;
	margin-top: 10px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--kfo-text-grau, #4E666E);
}

/* Manche Themes gestalten alle Eingabefelder wie Textfelder. Der Regler bleibt ein normaler Regler. */
.kfo-ba .kfo-ba-label input[type="range"] {
	display: block;
	width: 100%;
	height: 44px;
	margin: 2px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	-webkit-appearance: auto;
	appearance: auto;
	accent-color: var(--kfo-cyan, #00B8DD);
	cursor: pointer;
}

/* Tastaturfokus am Regler: Rahmen um den Regler und um den Griff im Bild. */
.kfo-ba .kfo-ba-label input[type="range"]:focus-visible {
	outline: 2px solid var(--kfo-petrol-tief, #0B2730);
	outline-offset: 2px;
	border-radius: 4px;
}

.kfo-dk .kfo-ba .kfo-ba-label input[type="range"]:focus-visible {
	outline-color: var(--kfo-cyan, #00B8DD);
}

.kfo-ba:has(input:focus-visible) .kfo-ba-griff {
	box-shadow: 0 0 0 3px var(--kfo-petrol-tief, #0B2730), 0 0 0 5px #FFFFFF;
}

/* Große Darstellung auf der Startseite. */
.kfo-ba--gross .kfo-ba-griff {
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -21px;
}

.kfo-ba--gross .kfo-ba-marke {
	top: 16px;
	font-size: 12px;
	padding: 6px 12px;
}

.kfo-ba--gross .kfo-ba-marke--v {
	left: 16px;
}

.kfo-ba--gross .kfo-ba-marke--n {
	right: 16px;
}

.kfo-ba--gross .kfo-ba-label {
	margin-top: 20px;
	font-size: 14px;
}

.kfo-ba.kfo-ba--gross .kfo-ba-label input[type="range"] {
	margin-top: 4px;
}

.kfo-ba .kfo-ba-titel {
	margin: 8px 0 0;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 21px;
	line-height: 1.6;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-ba .kfo-ba-notiz {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--kfo-text-grau, #4E666E);
}

/* ---------- Beispielauswahl ---------- */

.kfo-auswahl-knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 440px;
}

.kfo-chip {
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--kfo-rand, #9DB3B9);
	background: transparent;
	color: var(--kfo-petrol-tief, #0B2730);
	font: inherit;
	font-weight: 600;
	line-height: inherit;
	cursor: pointer;
}

.kfo-chip:hover {
	border-color: var(--kfo-cyan-text, #00708A);
}

.kfo-chip.ist-an {
	border-color: var(--kfo-cyan, #00B8DD);
	background: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
	font-weight: 700;
}

.kfo-auswahl-alle {
	margin-top: 36px;
}

/* ---------- Beispielliste ---------- */

.kfo-beispiele {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kfo-beispiel {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 28px 40px;
	padding: 28px;
	background: var(--kfo-weiss, #FFFFFF);
	border: 1px solid var(--kfo-linie, #DCE6E9);
	border-radius: 4px;
}

.kfo-beispiel-kopf {
	flex: 1 1 100%;
	min-width: 0;
	margin-bottom: -8px;
}

.kfo-beispiel .kfo-beispiel-art {
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--kfo-messing-text, #7A6233);
}

.kfo-beispiel .kfo-beispiel-titel {
	margin: 4px 0 0;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-beispiel-schieber {
	flex: 0 1 520px;
	min-width: 0;
}

.kfo-beispiel-fotos {
	flex: 1 1 360px;
	min-width: 0;
	margin-top: -7px;
}

.kfo-beispiel .kfo-beispiel-zwischen {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.6;
	font-weight: 600;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-kacheln {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 26px;
}

.kfo-lb {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kfo-lb:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 39, 48, 0.22);
}

.kfo-kachel {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: 4px;
}

.kfo-kachel img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	border-radius: 4px;
}

.kfo-kachel--paar {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	overflow: hidden;
	background: #DCE8EB;
}

.kfo-kachel--paar img {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

/* Sprungmarken im Seitenkopf der Beispielseite. */
.kfo-sprungmarken {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.kfo-sprungmarken a {
	border: 1px solid var(--kfo-petrol-rand, #3A6674);
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 600;
}

/* Verweis auf die Beispiele (Seite Kombinierte Behandlung). */
.kfo-verweis,
.kfo-verweis:hover {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 40px;
	padding: 24px;
	background: var(--kfo-weiss, #FFFFFF);
	border: 1px solid var(--kfo-linie, #DCE6E9);
	border-radius: 12px;
	color: var(--kfo-text, #1B333B);
	text-decoration: none;
}

.kfo-verweis-bilder {
	flex: 1 1 320px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2px;
	border-radius: 8px;
	overflow: hidden;
}

.kfo-verweis-bilder img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.kfo-verweis-text {
	flex: 1 1 320px;
	min-width: 0;
}

.kfo-verweis-dachzeile {
	display: block;
	font-size: 12.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--kfo-messing-text, #7A6233);
}

.kfo-verweis-titel {
	display: block;
	margin-top: 8px;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 27px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-verweis-link {
	display: inline-block;
	margin-top: 16px;
	font-weight: 700;
	color: var(--kfo-cyan-text, #00708A);
}

/* ---------- Galerie ---------- */

.kfo-galerie-gross {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: 12px;
}

.kfo-galerie-gross img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.kfo-galerie-klein {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 10px;
	margin-top: 10px;
}

.kfo-galerie-kachel {
	display: block;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	border-radius: 8px;
}

.kfo-galerie-kachel img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

/* ---------- Lightbox ---------- */

dialog.kfo-lbx,
dialog.kfo-stelle {
	font-family: var(--kfo-schrift-text, Manrope, system-ui, sans-serif);
}

dialog.kfo-lbx::backdrop,
dialog.kfo-stelle::backdrop {
	background: rgba(6, 24, 30, 0.9);
}

dialog.kfo-lbx {
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	color: var(--kfo-hell, #E8F1F3);
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	overflow: hidden;
}

dialog.kfo-lbx[open] {
	display: flex;
	flex-direction: column;
}

.kfo-lbx-leiste {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 24px;
}

.kfo-lbx-titel {
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -0.02em;
}

.kfo-lbx-zaehler {
	margin-left: 14px;
	font-family: var(--kfo-schrift-text, Manrope, sans-serif);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--kfo-hell-3, #9FB8BF);
}

.kfo-lbx-knopf {
	flex: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--kfo-petrol-rand, #3A6674);
	background: var(--kfo-petrol, #0E2A33);
	color: var(--kfo-hell, #E8F1F3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.kfo-lbx-knopf:hover {
	background: var(--kfo-cyan, #00B8DD);
	border-color: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
}

.kfo-lbx-knopf:focus-visible {
	outline: 2px solid var(--kfo-cyan, #00B8DD);
	outline-offset: 3px;
}

.kfo-lbx-buehne {
	flex: 1;
	min-height: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 24px 28px;
}

.kfo-lbx-bilder {
	flex: 1;
	min-width: 0;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.kfo-lbx-bilder figure {
	position: relative;
	display: flex;
	min-width: 0;
	max-height: 100%;
	margin: 0;
}

.kfo-lbx-bilder img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 130px);
	border-radius: 6px;
	object-fit: contain;
}

.kfo-lbx-bilder.ist-paar figure {
	flex: 1 1 0;
	max-width: 760px;
}

.kfo-lbx-bilder.ist-paar img {
	width: 100%;
}

.kfo-lbx-bilder figcaption {
	position: absolute;
	left: 14px;
	top: 14px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--kfo-petrol-tief, #0B2730);
	color: var(--kfo-hell, #E8F1F3);
}

.kfo-lbx-bilder figure.ist-nachher figcaption {
	background: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
}

@media (max-width: 760px) {
	.kfo-lbx-bilder {
		flex-direction: column;
	}

	.kfo-lbx-bilder.ist-paar figure {
		flex: none;
		width: 100%;
	}

	.kfo-lbx-bilder img {
		max-height: calc(50vh - 90px);
	}

	.kfo-lbx-buehne {
		gap: 6px;
		padding: 0 8px 16px;
	}

	.kfo-lbx-knopf {
		width: 44px;
		height: 44px;
	}
}

/* ---------- Stellenanzeige ---------- */

.kfo-stelle-streifen {
	background: var(--kfo-petrol, #0E2A33);
	color: var(--kfo-hell, #E8F1F3);
	border-top: 1px solid var(--kfo-petrol-linie, #24505D);
	font-size: 17px;
	line-height: 1.6;
}

.kfo-stelle-streifen-innen {
	max-width: var(--kfo-breite, 1240px);
	margin: 0 auto;
	padding: 28px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
}

.kfo-stelle-streifen .kfo-stelle-streifen-innen p,
.kfo-stelle-kasten.kfo-stelle-kasten p {
	margin: 0;
}

.kfo-stelle-streifen strong,
.kfo-stelle-kasten strong {
	color: var(--kfo-messing, #C9AE78);
}

.kfo-stelle-streifen .kfo-stelle-streifen-innen a,
.kfo-stelle-streifen .kfo-stelle-streifen-innen a:hover {
	color: var(--kfo-hell, #E8F1F3);
	font-weight: 700;
	padding: 10px 0;
	border-bottom: 1px solid var(--kfo-messing, #C9AE78);
	text-decoration: none;
}

.kfo-stelle-streifen .kfo-stelle-streifen-innen a:hover {
	color: var(--kfo-cyan, #00B8DD);
}

.kfo-stelle-kasten .kfo-btn {
	margin-top: 28px;
}

dialog.kfo-stelle {
	border: 0;
	padding: 0;
	border-radius: 12px;
	overflow: hidden auto;
	width: calc(100% - 32px);
	max-width: 580px;
	max-height: calc(100dvh - 32px);
	color: var(--kfo-text, #1B333B);
	background: #FFFFFF;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	font-size: 17px;
	line-height: 1.6;
}

.kfo-stelle-kopf {
	position: relative;
	background: #FFFFFF;
	color: var(--kfo-petrol-tief, #0B2730);
	border-top: 6px solid var(--kfo-cyan, #00B8DD);
	padding: 34px 84px 0 40px;
}

.kfo-stelle-dachzeile {
	margin: 0;
	font-size: 12.5px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--kfo-messing-text, #7A6233);
	font-weight: 600;
}

.kfo-stelle-kopf h2 {
	margin: 10px 0 0;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-weight: 800;
	font-size: 38px;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-stelle-zu {
	position: absolute;
	right: 20px;
	top: 20px;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--kfo-rand, #9DB3B9);
	background: #FFFFFF;
	color: var(--kfo-petrol-tief, #0B2730);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.kfo-stelle-zu:hover {
	background: var(--kfo-cyan, #00B8DD);
	border-color: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
}

.kfo-stelle-inhalt {
	padding: 26px 40px 40px;
}

.kfo-stelle-rolle {
	margin: 0;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-stelle-fakten {
	margin: 22px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0 24px;
}

.kfo-stelle-fakten div {
	border-top: 2px solid var(--kfo-cyan, #00B8DD);
	padding: 12px 0;
}

.kfo-stelle-fakten dt {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--kfo-text-grau, #4E666E);
	font-weight: 700;
}

.kfo-stelle-fakten dd {
	margin: 2px 0 0;
	font-weight: 700;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-stelle-text > :first-child {
	margin-top: 0;
}

.kfo-stelle-text > :last-child {
	margin-bottom: 0;
}

.kfo-stelle-text p,
.kfo-stelle-text ul,
.kfo-stelle-text ol {
	margin: 0 0 14px;
}

.kfo-stelle-text ul,
.kfo-stelle-text ol {
	padding-left: 22px;
	list-style-position: outside;
}

.kfo-stelle-text ul {
	list-style-type: disc;
}

.kfo-stelle-aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: 28px;
}

.kfo-stelle-knopf,
.kfo-stelle-knopf:hover {
	background: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
	padding: 16px 30px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.kfo-stelle-tel,
.kfo-stelle-tel:hover {
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
	padding: 8px 0;
	text-decoration: none;
}

@media (max-width: 520px) {
	.kfo-stelle-kopf {
		padding: 28px 72px 0 24px;
	}

	.kfo-stelle-kopf h2 {
		font-size: 30px;
	}

	.kfo-stelle-inhalt {
		padding: 24px 24px 28px;
	}
}

/* ---------- Fotostreifen ---------- */

.kfo-streifen {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	padding: 0 32px 20px;
	cursor: grab;
	user-select: none;
}

.kfo-streifen.wird-gezogen {
	cursor: grabbing;
}

.kfo-streifen img {
	flex: none;
	width: auto;
	max-width: none;
	height: var(--kfo-streifen-hoehe, 400px);
	border-radius: 4px;
}

@media (max-width: 640px) {
	.kfo-streifen img {
		height: 260px;
	}
}

.kfo-pfeile {
	display: flex;
	gap: 10px;
}

.kfo-pfeil {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--kfo-rand, #9DB3B9);
	background: #FFFFFF;
	color: var(--kfo-petrol-tief, #0B2730);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.kfo-dk .kfo-pfeil {
	border-color: var(--kfo-petrol-rand, #3A6674);
	background: transparent;
	color: var(--kfo-hell, #E8F1F3);
}

.kfo-pfeil:hover,
.kfo-dk .kfo-pfeil:hover {
	background: var(--kfo-cyan, #00B8DD);
	border-color: var(--kfo-cyan, #00B8DD);
	color: var(--kfo-petrol-knopf, #06222A);
}

/* ---------- Bilddurchlauf ---------- */

.kfo-lauf {
	position: relative;
	margin: 0 20px 20px 0;
}

.kfo-lauf-rahmen {
	position: absolute;
	top: 20px;
	right: -20px;
	bottom: -20px;
	left: 20px;
	border: 1px solid var(--kfo-messing, #C9AE78);
	border-radius: 16px;
}

.kfo-lauf-bilder {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #17404C;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.kfo-lauf-bilder img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s linear;
}

.kfo-lauf-bilder img.ist-an {
	opacity: 1;
}

/* Knopf zum Anhalten des Bildwechsels (WCAG 2.2.2). Das Skript fügt ihn ein, sobald Bilder wechseln. */
.kfo-lauf-pause {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(11, 39, 48, 0.82);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.kfo-lauf-pause:hover {
	background: var(--kfo-petrol-tief, #0B2730);
}

.kfo-lauf .kfo-lauf-pause:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--kfo-petrol-tief, #0B2730);
}

@media (prefers-reduced-motion: reduce) {
	.kfo-lauf-bilder img,
	.kfo-lb,
	.kfo-ba-marke {
		transition: none;
	}

	.kfo-lb:hover {
		transform: none;
	}
}

/* ---------- Karte ---------- */

.kfo-karte {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	background: #DCE8EB;
	box-shadow: 0 18px 44px rgba(6, 24, 30, 0.28);
}

.kfo-karte--fuellen {
	flex: 1;
}

.kfo-karte iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.kfo-karte-frage {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	text-align: center;
	color: var(--kfo-text, #1B333B);
	font-size: 15.5px;
	line-height: 1.6;
}

.kfo-karte .kfo-karte-frage p {
	margin: 0;
	max-width: 380px;
}

.kfo-karte .kfo-karte-frage .kfo-karte-adresse {
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-karte-frage a,
.kfo-dk .kfo-karte-frage a {
	color: var(--kfo-cyan-text, #00708A);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kfo-karte-frage a:hover,
.kfo-dk .kfo-karte-frage a:hover {
	color: var(--kfo-petrol-tief, #0B2730);
}

.kfo-karte-frage .kfo-btn:focus-visible {
	outline: 2px solid var(--kfo-petrol-tief, #0B2730);
	outline-offset: 3px;
}

/* ---------- Praxisdaten ---------- */

.kfo-zeiten-leiste {
	border-top: 1px solid var(--kfo-petrol-linie, #24505D);
}

.kfo-zeiten-leiste-innen {
	max-width: var(--kfo-breite, 1240px);
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	flex-wrap: wrap;
}

.kfo-zeiten-tag {
	flex: 1 1 150px;
	padding: 22px 0;
}

.kfo-zeiten-name {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--kfo-messing, #C9AE78);
}

.kfo-zeiten-zeit {
	margin-top: 2px;
	font-size: 19px;
}

table.kfo-zeiten-tabelle.kfo-zeiten-tabelle {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.kfo-zeiten-tabelle tr {
	border-top: 1px solid var(--kfo-linie, #DCE6E9);
}

.kfo-zeiten-tabelle tr:last-child {
	border-bottom: 1px solid var(--kfo-linie, #DCE6E9);
}

.kfo-zeiten-tabelle th,
.kfo-zeiten-tabelle td {
	padding: 14px 0;
	border: 0;
	background: none;
}

.kfo-zeiten-tabelle th {
	text-align: left;
	font-weight: 600;
}

.kfo-zeiten-tabelle td {
	text-align: right;
}

.kfo-telefon-gross,
.kfo-dk .kfo-telefon-gross {
	display: block;
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: clamp(32px, 3.7vw, 51px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--kfo-cyan, #00B8DD);
	text-decoration: none;
}

.kfo-telefon-mittel {
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 27px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.kfo-email {
	display: inline-block;
	font-size: 20px;
	padding: 10px 0;
	text-decoration: none;
}

.kfo-adresse.kfo-adresse {
	margin: 0;
}

.kfo-route {
	display: block;
}

/* ---------- Kopf und Fuß ---------- */

.kfo-kopf-telefon,
.kfo-kopf-telefon:hover {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: var(--kfo-petrol-tief, #0B2730);
	text-decoration: none;
	line-height: 1.2;
}

.kfo-kopf-telefon-zeile {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--kfo-text-grau, #4E666E);
	font-weight: 700;
}

.kfo-kopf-telefon-nummer {
	font-family: var(--kfo-schrift-kopf, Archivo, sans-serif);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	padding: 4px 0;
}

/* ---------- Editor ---------- */

.kfo-editor-block {
	position: relative;
}
