/* ==========================================================================
   Colorativ Hörner GmbH
   Design: "Handwerk in Farbe" – Apple-Keynote-Anmutung, ein Akzent, viel Ruhe.
   Wird auf allen Seiten geladen (Navigation + Basis), die Homepage nutzt
   zusaetzlich die ch-* Sektionen.
   ========================================================================== */

:root {
	--ink: #1d1d1f;
	--bg: #ffffff;
	--surface: #f5f5f7;
	--muted: #6e6e73;

	/* Markenakzent laut Design-System. Fuer Flaechen und grosse Typo. */
	--accent: #ef5a00;
	/* Abgedunkelte Stufe derselben Farbe. Noetig, weil Weiss auf #ef5a00 nur
	   3,4:1 erreicht – zu wenig fuer Fliesstext und Buttons (WCAG will 4,5:1).
	   Diese Stufe liegt bei 4,7:1 und sieht praktisch identisch aus. */
	--accent-strong: #cc4a00;
	--accent-on-dark: #ff8a3d;

	--grad: linear-gradient(130deg, #ef5a00 0%, #8a1fc0 100%);

	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
		"Helvetica Neue", Helvetica, Arial, sans-serif;

	--max: 1120px;
	--gutter: 22px;
	--radius: 22px;
	--radius-sm: 8px;

	--nav-h: 64px;

	/* Kurz und knapp – die Zielgruppe reicht bis 80 und teilweise auf alte
	   Geraete. Lieber praezise als ausladend. */
	--ease: cubic-bezier(0.16, 0.84, 0.44, 1);
	--dur: 0.4s;

	color-scheme: light;
}

@media (min-width: 900px) {
	:root {
		--nav-h: 76px;
	}
}

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

.ch-scope {
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

.ch-scope h1,
.ch-scope h2,
.ch-scope h3,
.ch-scope h4 {
	font-family: var(--font);
	color: var(--ink);
	text-transform: none;
	letter-spacing: -0.022em;
	line-height: 1.06;
	font-weight: 700;
	text-wrap: balance;
	margin: 0;
}

.ch-scope p {
	margin: 0;
	text-wrap: pretty;
}

/* Ankerziele duerfen nicht unter der klebenden Leiste verschwinden.
   Gilt fuer die ganze Seite, nicht nur fuer unsere Bereiche. */
[id] {
	scroll-margin-top: calc(var(--nav-h) + 16px);
}

/* Avada gibt dem Inhaltsbereich 90 px Innenabstand als Ausgleich fuer seine
   eigene Kopfzeile. Die ist ersetzt, der Abstand wuerde nur eine weisse
   Luecke unter der Navigation hinterlassen. */
.ch-has-nav #main {
	padding-top: 0 !important;
}

/* Ein sichtbarer Fokusring – global, nicht nur in unseren Bereichen.
   Das Theme setzt die Body-Klasse "fusion-disable-outline" und entfernt den
   Fokusring damit auf der ganzen Seite. Wer per Tastatur navigiert, sieht
   dann nicht mehr, wo er ist. Das holen wir hier zurueck. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--accent-strong) !important;
	outline-offset: 3px !important;
	border-radius: 6px;
}

.ch-scope a,
.ch-scope button {
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(239, 90, 0, 0.18);
}

.ch-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 2000;
	background: var(--ink);
	color: #fff;
	padding: 14px 20px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	text-decoration: none;
	transition: top 0.2s var(--ease);
}

.ch-skip:focus {
	top: 12px;
	color: #fff;
}

.ch-doc .ch-wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.ch-doc .ch-sec {
	padding: 96px 0;
}

@media (min-width: 900px) {
	.ch-doc .ch-sec {
		padding: 120px 0;
	}
}

.ch-doc .ch-surface {
	background: var(--surface);
}

.ch-doc .ch-dark {
	background: var(--ink);
	color: #fff;
}

.ch-doc .ch-dark h2,
.ch-doc .ch-dark h3 {
	color: #fff;
}

.ch-doc .ch-eyebrow {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-strong);
	margin: 0 0 14px;
}

.ch-doc .ch-dark .ch-eyebrow {
	color: var(--accent-on-dark);
}

.ch-doc .ch-lead {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.6;
	color: var(--muted);
	max-width: 62ch;
}

.ch-doc .ch-dark .ch-lead {
	color: rgba(255, 255, 255, 0.76);
}

/* --------------------------------------------------------------------------
   Buttons und Links
   -------------------------------------------------------------------------- */

.ch-doc .ch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 50px;
	padding: 13px 28px;
	border: none;
	border-radius: 980px;
	font-family: var(--font);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
		opacity var(--dur) var(--ease);
}

.ch-doc .ch-btn-primary {
	background: var(--accent-strong);
	color: #fff;
}

.ch-doc .ch-btn-primary:hover {
	background: #b03f00;
	color: #fff;
	transform: scale(1.03);
}

.ch-doc .ch-btn-dark {
	background: var(--ink);
	color: #fff;
}

.ch-doc .ch-btn-dark:hover {
	background: #000;
	color: #fff;
	transform: scale(1.03);
}

.ch-doc .ch-btn-light {
	background: #fff;
	color: var(--accent-strong);
}

.ch-doc .ch-btn-light:hover {
	color: var(--accent-strong);
	transform: scale(1.03);
}

.ch-doc .ch-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	min-height: 44px;
	color: var(--accent-strong);
	font-weight: 600;
	font-size: 1.02rem;
	text-decoration: none;
}

.ch-doc .ch-link:hover {
	color: #b03f00;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ch-doc .ch-dark .ch-link,
.ch-doc .ch-onmedia .ch-link {
	color: #fff;
}

.ch-doc .ch-ctarow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
}

/* --------------------------------------------------------------------------
   Navigation – identisch auf allen Seiten, immer oben, immer erreichbar
   -------------------------------------------------------------------------- */

.ch-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	color: #fff;
	padding-top: env(safe-area-inset-top);
}

/* Hintergrund und Weichzeichner liegen auf einem Pseudoelement, nicht auf
   .ch-nav selbst.
   Grund: backdrop-filter macht ein Element – genau wie filter oder transform –
   zum Bezugsrahmen fuer position:fixed-Kinder. Laege der Filter auf .ch-nav,
   wuerde sich das ausgeklappte Mobilmenue an der 56 px hohen Leiste ausrichten
   statt am Bildschirm und waere auf eine Zeile zusammengequetscht. */
.ch-nav::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(29, 29, 31, 0.86);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.ch-nav::before {
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
	}
}

.ch-nav-bar {
	max-width: var(--max);
	margin: 0 auto;
	height: var(--nav-h);
	padding: 0 var(--gutter);
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
	display: flex;
	align-items: center;
	gap: 16px;
}

.ch-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}

/* Werte gelten fuer logo-nav.png (324x85, ohne transparenten Rand).
   Weil der Rand fehlt, entspricht diese Hoehe optisch rund dem Doppelten
   der frueheren Darstellung mit der Originaldatei. */
.ch-logo img {
	height: 34px;
	width: auto;
	display: block;
}

@media (min-width: 900px) {
	.ch-logo img {
		height: 44px;
	}
}

.ch-nav-spacer {
	flex: 1 1 auto;
}

/* Eigener Telefon-Button fuer das ausgeklappte Mobilmenue.
   Bewusst nicht .ch-btn: die Button-Stile gehoeren zur Startseite und sind
   dort auf .ch-doc begrenzt, weil die Unterseiten dieselben Klassennamen
   bereits im Inhalt verwenden. */
.ch-nav-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	padding: 13px 24px;
	border-radius: 980px;
	background: var(--accent-strong);
	color: #fff;
	font-family: var(--font);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color var(--dur) var(--ease);
}

.ch-nav-phone:hover {
	background: #b03f00;
	color: #fff;
}

.ch-burger {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0;
}

.ch-burger-box {
	position: relative;
	width: 20px;
	height: 14px;
	display: block;
}

.ch-burger-box span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--dur) var(--ease), opacity 0.2s linear;
}

.ch-burger-box span:nth-child(1) {
	top: 0;
}

.ch-burger-box span:nth-child(2) {
	top: 6px;
}

.ch-burger-box span:nth-child(3) {
	top: 12px;
}

.ch-nav[data-open="true"] .ch-burger-box span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.ch-nav[data-open="true"] .ch-burger-box span:nth-child(2) {
	opacity: 0;
}

.ch-nav[data-open="true"] .ch-burger-box span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.ch-nav-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 18px;
	border-radius: 980px;
	background: var(--accent-strong);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--dur) var(--ease);
}

.ch-nav-cta:hover {
	background: #b03f00;
	color: #fff;
}

/* Der Zusatz faellt unterhalb von 900 px weg – display:none nimmt ihn auch
   aus der Vorlesereihenfolge, es bleibt sauber "Kontakt". */
.ch-nav-cta-long {
	display: none;
}

@media (min-width: 900px) {
	.ch-nav-cta-long {
		display: inline;
	}
}

.ch-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ch-menu a {
	color: #fff;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 500;
}

.ch-menu .current-menu-item > a,
.ch-menu .current_page_item > a {
	color: var(--accent-on-dark);
}

/* Untermenue-Schalter: eigener Button, damit der Elternlink klickbar bleibt
   und die Tastaturbedienung funktioniert (reines :hover taete das nicht). */
.ch-sub-toggle {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ch-sub-toggle svg {
	width: 11px;
	height: 11px;
	fill: currentColor;
	transition: transform var(--dur) var(--ease);
}

.ch-menu li[data-open="true"] > * > .ch-sub-toggle svg,
.ch-menu li[data-open="true"] > .ch-sub-toggle svg {
	transform: rotate(180deg);
}

/* ---- Desktop-Navigation ---- */

@media (min-width: 900px) {
	.ch-burger {
		display: none;
	}

	/* Telefon-Button und Adressblock gehoeren nur ins ausgeklappte Mobilmenue.
	   Der Abstandhalter wird ebenfalls nur mobil gebraucht – am Desktop
	   uebernimmt .ch-navwrap das Ausrichten. */
	.ch-nav-mobile-cta,
	.ch-nav-mobile-meta,
	.ch-nav-spacer {
		display: none;
	}

	.ch-navwrap {
		flex: 1 1 auto;
		display: flex;
		justify-content: flex-end;
	}

	.ch-menu {
		display: flex;
		align-items: center;
		gap: 26px;
	}

	.ch-menu > li {
		position: relative;
	}

	.ch-menu > li > .ch-item {
		display: flex;
		align-items: center;
		gap: 5px;
		height: var(--nav-h);
	}

	.ch-menu > li > .ch-item > a {
		display: flex;
		align-items: center;
		height: 100%;
	}

	.ch-menu > li > .ch-item > a:hover {
		color: var(--accent-on-dark);
	}

	.ch-menu .sub-menu {
		position: absolute;
		top: calc(var(--nav-h) - 8px);
		left: -14px;
		min-width: 250px;
		list-style: none;
		margin: 0;
		padding: 8px;
		background: rgba(38, 38, 42, 0.96);
		border-radius: 14px;
		box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
			visibility 0.2s linear;
	}

	@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
		.ch-menu .sub-menu {
			-webkit-backdrop-filter: saturate(180%) blur(20px);
			backdrop-filter: saturate(180%) blur(20px);
		}
	}

	/* Maus, Tastatur und explizites Aufklappen fuehren zum selben Ergebnis. */
	.ch-menu > li:hover > .sub-menu,
	.ch-menu > li:focus-within > .sub-menu,
	.ch-menu > li[data-open="true"] > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.ch-menu .sub-menu a {
		display: block;
		padding: 11px 14px;
		border-radius: 9px;
		font-size: 0.95rem;
		color: rgba(255, 255, 255, 0.86);
	}

	.ch-menu .sub-menu a:hover {
		background: rgba(255, 255, 255, 0.09);
		color: #fff;
	}
}

/* ---- Mobile Navigation ---- */

@media (max-width: 899px) {
	/* Klappt unter der Leiste auf und waechst nur so weit wie noetig –
	   hoechstens bis zum unteren Bildschirmrand. */
	.ch-navwrap {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - var(--nav-h) - env(safe-area-inset-top));
		background: rgba(29, 29, 31, 0.97);
		padding: 8px var(--gutter) calc(28px + env(safe-area-inset-bottom));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
		display: none;
	}

	@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
		.ch-navwrap {
			-webkit-backdrop-filter: blur(20px);
			backdrop-filter: blur(20px);
		}
	}

	.ch-nav[data-open="true"] .ch-navwrap {
		display: block;
	}

	.ch-menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.ch-menu .ch-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.ch-menu .ch-item > a {
		flex: 1 1 auto;
		display: flex;
		align-items: center;
		min-height: 54px;
		font-size: 1.08rem;
		font-weight: 500;
	}

	.ch-sub-toggle {
		width: 54px;
		min-height: 54px;
		flex: 0 0 auto;
	}

	.ch-sub-toggle svg {
		width: 13px;
		height: 13px;
	}

	/* Untermenues starten eingeklappt – sonst ist das Menue 900 px lang. */
	.ch-menu .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0 0 10px 14px;
		display: none;
	}

	.ch-menu li[data-open="true"] > .sub-menu {
		display: block;
	}

	.ch-menu .sub-menu a {
		display: flex;
		align-items: center;
		min-height: 46px;
		font-size: 1rem;
		color: rgba(255, 255, 255, 0.8);
	}

	.ch-nav-mobile-cta {
		display: flex;
		margin-top: 24px;
	}

	.ch-nav-mobile-cta .ch-btn {
		width: 100%;
	}

	.ch-nav-mobile-meta {
		margin-top: 18px;
		color: rgba(255, 255, 255, 0.6);
		font-size: 0.92rem;
		line-height: 1.7;
	}
}

/* Die Kopfzeile des Themes wird durch diese Navigation ersetzt. */
.fusion-header-wrapper,
.fusion-tb-header,
.fusion-secondary-header {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Hero mit Scroll-Skalierung
   Portiert aus der React-Vorlage: das Video startet als Karte und waechst
   beim Scrollen auf volle Groesse. Nur transform, kein Layout-Reflow.
   -------------------------------------------------------------------------- */

.ch-doc .ch-hero {
	position: relative;
	height: 155vh;
	background: var(--surface);
}

@media (min-width: 900px) {
	.ch-doc .ch-hero {
		height: 170vh;
	}
}

.ch-doc .ch-hero-pin {
	position: sticky;
	top: var(--nav-h);
	height: calc(100vh - var(--nav-h));
	height: calc(100svh - var(--nav-h));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Auf dem Handy fuellt die Karte die Buehne fast vollstaendig – eine kleine
   Karte mitten auf grauem Grund waere hier weder lesbar noch eindrucksvoll.
   Das Wachsen bleibt trotzdem spuerbar, nur dezenter. Ab Tablet bekommt die
   Karte ihr 16:9-Format und den grossen Skalierungsweg. */
.ch-doc .ch-hero-stage {
	position: relative;
	width: min(94vw, var(--max));
	height: calc(100% - 26px);
}

@media (min-width: 700px) {
	.ch-doc .ch-hero-stage {
		/* Bewusst ohne die 1120-px-Grenze des uebrigen Layouts: der Hero soll
		   die Flaeche ausfuellen. Gedeckelt wird erst bei 1920 px, der
		   Aufloesung der Videodatei – daraus wuerde nur Unschaerfe. */
		width: min(94vw, 1920px);
		height: auto;
		aspect-ratio: 16 / 9;
		max-height: calc(100% - 48px);
	}
}

/* Das ist das einzige Element, das die Skalierung bekommt. */
.ch-doc .ch-hero-media {
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #111;
	transform-origin: center center;
	will-change: transform;
	box-shadow: 0 30px 80px rgba(29, 29, 31, 0.22);
}

.ch-js .ch-doc .ch-hero-media {
	transform: scale(0.93);
}

@media (min-width: 700px) {
	.ch-js .ch-doc .ch-hero-media {
		transform: scale(0.78);
	}
}

.ch-doc .ch-hero-media video,
.ch-doc .ch-hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Verlauf von oben nach unten reicht hier nicht – die Kopfzeile sitzt mittig.
   Deshalb ein gleichmaessiger Schleier plus Verstaerkung unten. */
.ch-doc .ch-hero-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.46) 0%,
		rgba(0, 0, 0, 0.38) 45%,
		rgba(0, 0, 0, 0.62) 100%
	);
	pointer-events: none;
}

.ch-doc .ch-hero-copy {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 86%;
	max-width: 760px;
	max-height: 100%;
	text-align: center;
	color: #fff;
	pointer-events: none;
}

@media (min-width: 700px) {
	.ch-doc .ch-hero-copy {
		/* Muss innerhalb der auf 0,78 verkleinerten Karte bleiben, sonst steht
		   der Text zu Beginn auf dem grauen Hintergrund statt auf dem Video. */
		width: 66%;
	}
}

.ch-doc .ch-hero-copy > * {
	pointer-events: auto;
}

.ch-doc .ch-hero-copy .ch-eyebrow {
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 10px;
}

.ch-doc .ch-hero-copy h1 {
	color: #fff;
	font-size: clamp(1.55rem, 6.2vw, 4.4rem);
	margin: 0 0 12px;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.ch-doc .ch-hero-copy .ch-hero-sub {
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(0.92rem, 1.9vw, 1.35rem);
	line-height: 1.42;
	margin: 0 auto 20px;
	max-width: 30em;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.ch-doc .ch-hero-cta {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* Im Hero etwas kompakter als im Seitenfluss – der Platz auf der Karte ist
   begrenzt, 44 px Zielgroesse bleiben erhalten. */
.ch-doc .ch-hero-cta .ch-btn {
	min-height: 46px;
	padding: 11px 22px;
	font-size: 0.97rem;
}

@media (min-width: 700px) {
	.ch-doc .ch-hero-cta .ch-btn {
		min-height: 50px;
		padding: 13px 28px;
		font-size: 1.02rem;
	}
}

/* Der Hinweis zum Weiterscrollen verschwindet, sobald es losgeht.
   Er steht unterhalb der Karte auf hellem Grund, deshalb dunkle Schrift. */
.ch-doc .ch-hero-hint {
	position: absolute;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	z-index: 3;
	margin: 0;
	color: var(--muted);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: opacity 0.3s linear;
}

/* --------------------------------------------------------------------------
   Einleitung – bewusst asymmetrisch, nicht wieder alles mittig
   -------------------------------------------------------------------------- */

.ch-doc .ch-intro-grid {
	display: grid;
	gap: 28px;
}

@media (min-width: 900px) {
	.ch-doc .ch-intro-grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 64px;
		align-items: start;
	}
}

.ch-doc .ch-intro h2 {
	font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.ch-doc .ch-intro-facts {
	margin: 28px 0 0;
	padding: 0;
}

.ch-doc .ch-intro-facts > div {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid rgba(29, 29, 31, 0.12);
	font-size: 1rem;
}

.ch-doc .ch-intro-facts > div:last-child {
	border-bottom: 1px solid rgba(29, 29, 31, 0.12);
}

.ch-doc .ch-intro-facts dt {
	margin: 0;
	color: var(--muted);
	font-weight: 500;
}

.ch-doc .ch-intro-facts dd {
	margin: 0;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	min-width: 0;
	overflow-wrap: break-word;
}

@media (max-width: 520px) {
	.ch-doc .ch-intro-facts > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */

.ch-doc .ch-head {
	max-width: 720px;
	margin: 0 0 52px;
}

.ch-doc .ch-head h2 {
	font-size: clamp(1.9rem, 4.2vw, 3.1rem);
	margin: 0 0 14px;
}

.ch-doc .ch-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 620px) {
	.ch-doc .ch-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.ch-doc .ch-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ch-doc .ch-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 8px 30px rgba(29, 29, 31, 0.07);
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.ch-doc .ch-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 56px rgba(29, 29, 31, 0.14);
}

.ch-doc .ch-card-img {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--surface);
}

.ch-doc .ch-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s var(--ease);
}

.ch-doc .ch-card:hover .ch-card-img img {
	transform: scale(1.05);
}

.ch-doc .ch-card-body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1 1 auto;
	min-width: 0;
}

.ch-doc .ch-card h3 {
	font-size: 1.24rem;
	font-weight: 600;
	margin: 0;
	overflow-wrap: break-word;
}

.ch-doc .ch-card p {
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.5;
	margin: 0;
	overflow-wrap: break-word;
}

.ch-doc .ch-card-more {
	margin-top: auto;
	padding-top: 12px;
	color: var(--accent-strong);
	font-weight: 600;
	font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   Vorher / Nachher
   Der Regler ist ein echtes input[type=range]: Tastatur, Touch und
   Screenreader funktionieren damit ohne Zusatzcode.
   -------------------------------------------------------------------------- */

.ch-doc .ch-compare-grid {
	display: grid;
	gap: 34px;
}

@media (min-width: 820px) {
	.ch-doc .ch-compare-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
	}
}

.ch-doc .ch-compare figcaption {
	margin-top: 14px;
	color: var(--muted);
	font-size: 0.98rem;
}

.ch-doc .ch-compare-stage {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	aspect-ratio: 3 / 4;
	touch-action: pan-y;
}

.ch-doc .ch-compare-stage img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

/* Das "Nachher"-Bild liegt oben und wird von rechts her aufgedeckt. */
.ch-compare-after {
	clip-path: inset(0 0 0 var(--pos, 50%));
}

.ch-doc .ch-compare-label {
	position: absolute;
	top: 12px;
	z-index: 3;
	padding: 5px 12px;
	border-radius: 980px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	pointer-events: none;
}

.ch-doc .ch-compare-label.is-before {
	left: 12px;
}

.ch-doc .ch-compare-label.is-after {
	right: 12px;
}

.ch-doc .ch-compare-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos, 50%);
	width: 2px;
	background: #fff;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
	z-index: 4;
	pointer-events: none;
	transform: translateX(-1px);
}

.ch-doc .ch-compare-knob {
	position: absolute;
	top: 50%;
	left: var(--pos, 50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.ch-doc .ch-compare-knob svg {
	width: 20px;
	height: 20px;
	fill: var(--ink);
}

.ch-doc .ch-compare-range {
	position: absolute;
	inset: 0;
	z-index: 6;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
}

.ch-doc .ch-compare-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 44px;
	height: 100%;
}

.ch-doc .ch-compare-range::-moz-range-thumb {
	width: 44px;
	height: 100%;
	border: none;
	opacity: 0;
}

.ch-doc .ch-compare-stage:focus-within .ch-compare-knob {
	outline: 3px solid var(--accent-strong);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Redaktioneller Block (Material / Little Greene)
   -------------------------------------------------------------------------- */

.ch-doc .ch-split {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 900px) {
	.ch-doc .ch-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 64px;
	}

	.ch-doc .ch-split.is-flipped .ch-split-media {
		order: 2;
	}
}

.ch-doc .ch-split-media {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	aspect-ratio: 4 / 3;
}

.ch-doc .ch-split-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ch-doc .ch-split h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   Abschluss-Aufruf – der einzige Ort, an dem der Marken-Verlauf auftaucht
   -------------------------------------------------------------------------- */

.ch-doc .ch-cta {
	background: var(--grad);
	color: #fff;
	text-align: center;
}

.ch-doc .ch-cta h2 {
	color: #fff;
	font-size: clamp(1.9rem, 4.4vw, 3.2rem);
	margin: 0 0 14px;
}

.ch-doc .ch-cta p {
	color: rgba(255, 255, 255, 0.95);
	font-size: clamp(1rem, 1.7vw, 1.2rem);
	margin: 0 auto 30px;
	max-width: 46ch;
}

.ch-doc .ch-cta .ch-ctarow {
	justify-content: center;
}

.ch-doc .ch-cta-phone {
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Fusszeile
   -------------------------------------------------------------------------- */

.ch-foot {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.72);
	padding: 64px var(--gutter) 0;
	padding-left: max(var(--gutter), env(safe-area-inset-left));
	padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.ch-foot-grid {
	max-width: var(--max);
	margin: 0 auto;
	display: grid;
	gap: 32px;
}

@media (min-width: 760px) {
	.ch-foot-grid {
		grid-template-columns: 2fr 1.2fr 1fr;
		gap: 44px;
	}
}

.ch-foot h4 {
	color: #fff;
	font-size: 1.02rem;
	font-weight: 600;
	margin: 0 0 12px;
}

.ch-foot p {
	line-height: 1.8;
	margin: 0;
}

.ch-foot a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.ch-foot a:hover {
	color: var(--accent-on-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ch-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ch-foot li a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.ch-foot-bar {
	max-width: var(--max);
	margin: 44px auto 0;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
	padding: 18px 0 calc(20px + env(safe-area-inset-bottom));
	font-size: 0.86rem;
	color: rgba(255, 255, 255, 0.55);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Scroll-Animationen
   Kurz (0,4 s) und knapp (14 px) – spuerbar, aber nie im Weg.
   -------------------------------------------------------------------------- */

.ch-doc .ch-reveal {
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ch-js .ch-doc .ch-reveal {
	opacity: 0;
	transform: translateY(14px);
}

.ch-js .ch-doc .ch-reveal.is-in {
	opacity: 1;
	transform: none;
}

.ch-js .ch-doc .ch-stagger > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.ch-js .ch-doc .ch-stagger.is-in > * {
	opacity: 1;
	transform: none;
}

.ch-js .ch-doc .ch-stagger.is-in > *:nth-child(2) {
	transition-delay: 60ms;
}

.ch-js .ch-doc .ch-stagger.is-in > *:nth-child(3) {
	transition-delay: 120ms;
}

.ch-js .ch-doc .ch-stagger.is-in > *:nth-child(4) {
	transition-delay: 40ms;
}

.ch-js .ch-doc .ch-stagger.is-in > *:nth-child(5) {
	transition-delay: 100ms;
}

.ch-js .ch-doc .ch-stagger.is-in > *:nth-child(6) {
	transition-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {
	.ch-scope *,
	.ch-scope *::before,
	.ch-scope *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.ch-js .ch-doc .ch-reveal,
	.ch-js .ch-doc .ch-stagger > * {
		opacity: 1 !important;
		transform: none !important;
	}

	.ch-js .ch-doc .ch-hero-media {
		transform: none !important;
	}

	.ch-doc .ch-hero {
		height: auto !important;
	}

	.ch-doc .ch-hero-pin {
		position: static !important;
		height: auto !important;
		padding: 40px 0;
	}
}

/* Instagram in der Fusszeile. Reine Verlinkung – an Meta geht erst dann
   etwas raus, wenn jemand klickt. */
.ch-foot-social {
	margin-top: 18px;
}

.ch-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: rgba(255, 255, 255, 0.78);
	font-weight: 600;
	text-decoration: none;
}

.ch-social svg {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.ch-social:hover {
	color: var(--accent-on-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}
