/* Sektionen und Komponenten. Mobile first, Aufweitung ueber min-width. */

/* --- Kopfleiste --------------------------------------------------------- */

.kopf {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in oklab, var(--flaeche) 88%, transparent);
	backdrop-filter: blur(14px) saturate(130%);
	border-bottom: 1px solid var(--linie);
}

.kopf__innen {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--kopf-h);
}

.kopf__marke {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	/* 44 Pixel Mindesthoehe: der Logo-Link ist eine Antippflaeche. */
	min-height: 44px;
	text-decoration: none;
	flex: none;
}
.kopf__marke .logo { width: clamp(104px, 26vw, 132px); height: auto; }

.kopf__sparten {
	display: none;
	color: var(--ink-3);
	font-family: var(--font-kopf);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.kopf__nav { display: none; }

.kopf__tel {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--linie-orange);
	border-radius: var(--radius);
	color: var(--ink);
	font-family: var(--font-kopf);
	font-weight: 700;
	font-size: 0.94rem;
	text-decoration: none;
	transition: background-color var(--dauer) var(--kurve), border-color var(--dauer) var(--kurve);
}
.kopf__tel svg { fill: var(--orange); }
.kopf__tel:hover {
	background: color-mix(in oklab, var(--orange) 16%, transparent);
	border-color: var(--orange);
}
.kopf__tel span { display: none; }

@media (min-width: 640px) {
	.kopf__sparten { display: block; }
	.kopf__tel span { display: inline; }
}

@media (min-width: 980px) {
	.kopf__nav {
		display: flex;
		gap: clamp(1rem, 2.4vw, 2rem);
		font-size: 0.93rem;
		font-weight: 500;
	}
	.kopf__nav a {
		position: relative;
		padding-block: 0.4rem;
		color: var(--ink-2);
		text-decoration: none;
		transition: color var(--dauer) var(--kurve);
	}
	.kopf__nav a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: 2px;
		background: var(--orange);
		scale: 0 1;
		transform-origin: left;
		transition: scale var(--dauer) var(--kurve);
	}
	.kopf__nav a:hover { color: var(--ink); }
	.kopf__nav a:hover::after { scale: 1 1; }
}

/* --- Hero --------------------------------------------------------------- */

.hero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: min(88svh, 780px);
	padding-block: clamp(3.5rem, 12vw, 6rem);
	/* clip, nicht hidden: hidden macht das Element zum Scroll-Container, und
	   `animation-timeline: view()` misst dann gegen diesen Container statt
	   gegen die Seite. Der Reveal darin friert ein. Siehe motion.css. */
	overflow: clip;
	isolation: isolate;
}

.hero__bild {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.hero__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Auf dem Handy sitzt der Text unten, deshalb den Ausschnitt nach oben
	 * ziehen: sonst steht die Bohrkrone genau hinter der Headline und man
	 * sieht weder das eine noch das andere richtig. */
	object-position: 50% 46%;
}

@media (min-width: 701px) {
	.hero__bild img { object-position: 62% 50%; }
}

/* Der Schleier ist auf das Motiv abgestimmt, nicht pauschal gesetzt. Seit
 * dem 06.08.2026 bringt das Hero-Bild seine eigene dunkle Haelfte mit, ein
 * zweiter kraeftiger Verlauf darueber hat es auf dem Handy fast ausgeloescht.
 * Deshalb deckt er jetzt dort, wo der Text steht, und laesst das Motiv
 * darunter stehen. */
.hero__schleier {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, var(--flaeche) 1%, color-mix(in oklab, var(--flaeche) 82%, transparent) 34%, color-mix(in oklab, var(--flaeche) 22%, transparent) 78%),
		linear-gradient(to right, color-mix(in oklab, var(--tief) 52%, transparent), color-mix(in oklab, var(--tief) 10%, transparent) 70%);
}

@media (min-width: 760px) {
	/* Auf breiten Viewports steht der Text links, das Motiv rechts.
	   Dort darf der Schleier deutlich duenner sein. */
	.hero__schleier {
		background:
			linear-gradient(to top, var(--flaeche) 2%, color-mix(in oklab, var(--flaeche) 72%, transparent) 34%, color-mix(in oklab, var(--flaeche) 14%, transparent) 78%),
			linear-gradient(to right, color-mix(in oklab, var(--tief) 82%, transparent), transparent 62%);
	}
}

.hero__innen { position: relative; }

.hero__claim {
	margin-bottom: 1.2rem;
	color: var(--orange);
	font-family: var(--font-kopf);
	font-size: clamp(1rem, 0.9rem + 0.6vw, 1.3rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}

.hero__titel { max-width: 19ch; }

.hero__lede {
	max-width: 54ch;
	margin-top: 1.3rem;
	color: var(--ink-2);
	font-size: var(--t-lede);
	line-height: 1.56;
}

.hero__marker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	margin-top: 1.8rem;
	padding: 0;
	list-style: none;
	font-size: var(--t-klein);
	color: var(--ink-3);
	font-family: var(--font-kopf);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.hero__marker li {
	position: relative;
	padding-left: 1.1rem;
}
.hero__marker li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--orange);
}

.hero__runter {
	position: absolute;
	left: 50%;
	bottom: 1.1rem;
	translate: -50% 0;
	display: none;
	padding: 0.5rem;
	color: var(--ink-3);
}
.hero__runter svg { width: 26px; height: 26px; fill: currentColor; }

@media (min-width: 900px) {
	.hero__runter { display: block; }
}

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

.leistung--gross {
	display: grid;
	gap: clamp(1.4rem, 3vw, 2.6rem);
	margin-bottom: var(--lueck);
	padding: clamp(1.4rem, 3vw, 2.4rem);
	/* Die Hauptleistung hebt sich ueber Groesse, Bild und eine hellere
	 * Flaeche ab. Der fruehere orange Balken an der linken Kante war eine
	 * dritte Ansage fuer dieselbe Sache und dazu das abgegriffenste
	 * Karten-Ornament ueberhaupt. */
	background: var(--karte-hoch);
	border: 1px solid var(--linie-2);
	border-radius: var(--radius);
}
.leistung--gross .leistung__text { align-self: center; }
.leistung--gross h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.leistung--gross p { margin-top: 0.8rem; max-width: 48ch; }
.leistung--gross img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius);
}

.leistung-raster {
	display: grid;
	gap: var(--lueck);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.leistung.karte {
	display: flex;
	flex-direction: column;
	transition: border-color var(--dauer) var(--kurve), background-color var(--dauer) var(--kurve), translate var(--dauer) var(--kurve);
}
.leistung.karte:hover {
	background: var(--karte-hoch);
	border-color: var(--linie-orange);
	translate: 0 -3px;
}
.leistung.karte p { margin-top: 0.7rem; font-size: var(--t-klein); }
.leistung.karte .haken { padding-top: 0.3rem; }

@media (min-width: 900px) {
	.leistung--gross { grid-template-columns: 1fr 1fr; }
	/* Zwei Schwerpunkte nebeneinander, nicht drei oder vier: mit auto-fit
	   waeren sie schmaler geworden als die Randnotiz darunter. */
	.leistung-raster { grid-template-columns: repeat(2, 1fr); }
}

/* --- Was der Betrieb ausserdem macht ------------------------------------ */

/* Bewusst keine Karte. Eine Karte haette dasselbe Gewicht wie die
 * Schwerpunkte, und genau das soll sie nicht haben: der Kunde will fuer
 * Bohren, Saegen und Abfangen stehen, nicht fuer alles gleichzeitig. */
.dazu {
	margin-top: clamp(2rem, 4vw, 3.2rem);
	padding-top: clamp(1.6rem, 3vw, 2.4rem);
	border-top: 1px solid var(--linie);
}

.dazu__titel {
	margin-bottom: 1.2rem;
	color: var(--ink-3);
	font-family: var(--font-kopf);
	font-size: var(--t-kicker);
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.dazu__liste {
	display: grid;
	gap: clamp(1.2rem, 3vw, 2.6rem);
}

.dazu__punkt h3 {
	font-size: 1.02rem;
	letter-spacing: -0.01em;
}
.dazu__punkt p {
	margin-top: 0.4rem;
	max-width: 52ch;
	color: var(--ink-3);
	font-size: var(--t-klein);
	line-height: 1.6;
}

@media (min-width: 760px) {
	.dazu__liste { grid-template-columns: repeat(2, 1fr); }
}

/* --- Anwendungsfaelle --------------------------------------------------- */

.fall-raster {
	display: grid;
	gap: var(--lueck);
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

@media (min-width: 900px) {
	/* Hoechstens drei Spalten. Mit auto-fit wurden auf breiten Schirmen
	   vier daraus, und die sechs Faelle brachen zu 4 + 2. Zwei Reihen zu
	   dritt lesen sich als Aufzaehlung, 4 + 2 als abgeschnittene Liste. */
	.fall-raster { grid-template-columns: repeat(3, 1fr); }
}

.fall {
	position: relative;
	padding-top: clamp(1.5rem, 2.8vw, 2rem);
	transition: border-color var(--dauer) var(--kurve), translate var(--dauer) var(--kurve);
}
.fall::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 3px;
	background: var(--orange);
}
.fall:hover { border-color: var(--linie-orange); translate: 0 -3px; }
.fall p { margin-top: 0.55rem; font-size: var(--t-klein); }

/* --- Ablauf ------------------------------------------------------------- */

.ablauf {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.schritte {
	display: grid;
	gap: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.schritt {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.1rem;
	padding-block: 1.35rem;
	border-top: 1px solid var(--linie);
}
.schritt:last-child { border-bottom: 1px solid var(--linie); }

.schritt__nr {
	font-family: var(--font-kopf);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--orange);
	letter-spacing: 0.02em;
	padding-top: 0.1rem;
}
.schritt p { margin-top: 0.35rem; font-size: var(--t-klein); }

@media (min-width: 960px) {
	.ablauf { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
	/* Kein sticky mehr: mit dem Begleitbild wird die Spalte hoeher als der
	   Viewport, und eine sticky Spalte, die nicht hineinpasst, klebt fest,
	   statt mitzulaufen. */
	.ablauf .sektion__kopf { margin-bottom: 0; }
}

/* --- Waermepumpe --------------------------------------------------------- */

.pumpe {
	display: grid;
	gap: clamp(1.8rem, 3.5vw, 3rem);
}

.pumpe .sektion__kopf { margin-bottom: 0; }

.pumpe__text {
	display: grid;
	gap: 1.1rem;
	max-width: 62ch;
	color: var(--ink-2);
	font-size: var(--t-body);
	line-height: 1.68;
}
.pumpe__text .cta-paar { margin-top: 0.7rem; }

.pumpe__fakten {
	display: grid;
	gap: 0;
	margin: 0;
	align-self: start;
}

.pumpe__fakt {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem 0;
	border-top: 1px solid var(--linie);
}
.pumpe__fakt:last-child { border-bottom: 1px solid var(--linie); }

.pumpe__fakt dt {
	color: var(--ink-3);
	font-family: var(--font-kopf);
	font-size: var(--t-kicker);
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}
.pumpe__fakt dd {
	margin: 0;
	color: var(--ink);
	font-size: var(--t-body);
	line-height: 1.45;
}

@media (min-width: 900px) {
	/* Kopf ueber beide Spalten, darunter Text und Fakten nebeneinander.
	   Die Faktenspalte bleibt schmal: sie ist Nachschlagewerk, nicht
	   zweite Textspalte. */
	.pumpe {
		grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
		column-gap: clamp(2.5rem, 5vw, 4.5rem);
	}
	.pumpe .sektion__kopf { grid-column: 1 / -1; }
}

/* --- Staerkenband ------------------------------------------------------- */

.staerken {
	display: grid;
	gap: clamp(1.3rem, 3vw, 2.2rem);
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.staerke h3 {
	font-size: 1.02rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid var(--linie-orange);
	margin-bottom: 0.65rem;
}
.staerke p { font-size: var(--t-klein); color: var(--ink-3); }

/* --- Zielgruppen -------------------------------------------------------- */

.zg { display: grid; gap: clamp(2rem, 4vw, 3.4rem); }

.zg__liste {
	display: grid;
	gap: var(--lueck);
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.zg__eintrag {
	padding: 1.3rem 1.4rem;
	background: var(--karte);
	border: 1px solid var(--linie);
	border-top: 2px solid var(--linie-orange);
	border-radius: var(--radius);
}
.zg__eintrag p { margin-top: 0.5rem; font-size: var(--t-klein); }

@media (min-width: 960px) {
	.zg { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

/* --- Zahlenband --------------------------------------------------------- */

.zahlen {
	display: grid;
	gap: clamp(1.4rem, 3vw, 2rem);
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(auto-fit, minmax(min(50%, 160px), 1fr));
	text-align: center;
}
.zahlen__wert {
	display: block;
	font-family: var(--font-kopf);
	font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.03em;
	line-height: 1;
}
.zahlen__einheit { font-size: 0.42em; color: var(--orange); margin-left: 0.15em; }
.zahlen__label {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.8rem;
	color: var(--ink-3);
	letter-spacing: 0.03em;
}

/* --- Einsatzgebiet ------------------------------------------------------ */

.gebiet { display: grid; gap: clamp(2rem, 4vw, 3.4rem); }

.gebiet__label {
	margin-bottom: 0.9rem;
	font-family: var(--font-kopf);
	font-size: var(--t-kicker);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.gebiet__staedte ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
}
.gebiet__staedte li {
	padding: 0.42rem 0.85rem;
	background: var(--karte);
	border: 1px solid var(--linie);
	border-radius: var(--radius);
	font-size: var(--t-klein);
	color: var(--ink-2);
}
.gebiet__mehr { color: var(--ink-3) !important; border-style: dashed !important; }

@media (min-width: 960px) {
	.gebiet { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* --- Abschlussband ------------------------------------------------------ */

.abschluss {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7rem);
	overflow: clip;            /* nicht hidden, Begruendung siehe .hero */
	isolation: isolate;
	text-align: center;
}
.abschluss__bild {
	position: absolute;
	inset: 0;
	z-index: -2;
}
/* Der Ausschnitt sitzt hoch im Bild: mittig beschnitten stand der Mann
 * ohne Kopf im Band, und ein kopfloser Mensch ist kein Motiv. Das Bild
 * rutscht dadurch nach unten, der Bohrende wird ganz sichtbar. */
.abschluss__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

@media (max-width: 700px) {
	/* Schmal beschnitten faellt der Mann sonst aus dem Bild: er steht im
	   Motiv rechts. */
	.abschluss__bild img { object-position: 68% 22%; }
}
.abschluss__schleier {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		/* Oben und unten voll deckend, damit das Band ohne sichtbare Kante
		   aus der Seite auftaucht und wieder darin verschwindet. */
		linear-gradient(to bottom,
			var(--flaeche) 0%,
			color-mix(in oklab, var(--flaeche) 84%, transparent) 14%,
			color-mix(in oklab, var(--tief) 60%, transparent) 45%,
			color-mix(in oklab, var(--flaeche) 88%, transparent) 86%,
			var(--flaeche) 100%),
		color-mix(in oklab, var(--tief) 24%, transparent);
}
.abschluss .kicker, .abschluss .lede { margin-inline: auto; }
.abschluss .lede { margin-top: 1rem; max-width: 50ch; }
.abschluss .cta-paar { justify-content: center; }

.abschluss__nummer {
	margin-top: 1.8rem;
	font-family: var(--font-kopf);
	font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem);
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.02em;
}

/* --- Fuss --------------------------------------------------------------- */

.fuss {
	background: var(--tief);
	border-top: 1px solid var(--linie);
	padding-top: clamp(2.6rem, 5vw, 4rem);
	font-size: var(--t-klein);
}

.fuss__innen {
	display: grid;
	gap: clamp(1.8rem, 4vw, 2.6rem);
	padding-bottom: clamp(2rem, 4vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}

.fuss__marke .logo { width: 180px; height: auto; }
.fuss__claim { margin-top: 0.9rem; color: var(--orange); font-family: var(--font-kopf); font-weight: 700; }

.fuss__titel {
	margin-bottom: 0.9rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.fuss__adresse { font-style: normal; display: grid; gap: 0.28rem; justify-items: start; }
.fuss__firma { color: var(--ink); font-weight: 600; }
.fuss__adresse a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink-2);
	text-decoration: none;
}
.fuss__adresse a:hover { color: var(--orange-hell); }
.fuss__zeiten { margin-top: 0.5rem; color: var(--ink-3); }

.fuss__liste { padding: 0; list-style: none; display: grid; }
.fuss__liste a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink-2);
	text-decoration: none;
}
.fuss__liste a:hover { color: var(--orange-hell); }

.fuss__gebiet { color: var(--ink-3); }

.fuss__unten {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.6rem;
	justify-content: space-between;
	align-items: center;
	padding-block: 1.2rem;
	border-top: 1px solid var(--linie);
	color: var(--ink-3);
	font-size: 0.84rem;
}
.fuss__recht { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
/* Rechtstext-Links sind Antippflaechen, nicht nur Text. */
.fuss__recht a, .fuss__signatur a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
.fuss__recht a { color: var(--ink-2); text-decoration: none; }
.fuss__recht a:hover { color: var(--orange-hell); }
.fuss__signatur a { color: var(--ink-3); text-underline-offset: 3px; }
.fuss__signatur a:hover { color: var(--orange-hell); }

/* --- Feste Aktionsleiste (nur schmal) ----------------------------------- */

.rufleiste {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 1px;
	background: var(--linie);
	border-top: 1px solid var(--linie);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.rufleiste__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--rufleiste-h);
	background: var(--karte);
	color: var(--ink);
	font-family: var(--font-kopf);
	font-weight: 700;
	font-size: 0.94rem;
	text-decoration: none;
}
.rufleiste__btn--primaer { background: var(--orange); color: var(--auf-orange); }
.rufleiste__btn--wa svg { fill: var(--wa); }

/* Drei Ziele auf schmalen Geraeten: Beschriftungen kuerzen statt umbrechen. */
@media (max-width: 380px) {
	.rufleiste__btn { font-size: 0.82rem; gap: 0.35rem; }
}

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

/* --- Nebelebene hinter einer Sektion -------------------------------------
 *
 * Die Motive im Ablauf und bei den Zielgruppen sollen nicht als Abbildung
 * auftreten, sondern als Textur: gerade so viel, dass die Flaeche lebt.
 * Deshalb stark abgeschwaecht, entsaettigt, leicht unscharf und ueber eine
 * Maske an allen Kanten auslaufend. Kein Rahmen, keine Kante, kein Rechteck.
 */

.sektion--ambient {
	position: relative;
	overflow: clip;            /* nicht hidden, Begruendung siehe .hero */
	isolation: isolate;
}

.sektion__ambient {
	position: absolute;
	z-index: -1;
	inset: 0;
	pointer-events: none;
	/* Heller als bisher (war 0.14): der Kunde wollte die Motive sehen,
	 * nicht erahnen. Die Deckkraft haengt am Motiv, nicht an einem festen
	 * Wert: das Saegemotiv ist deutlich heller als das Bohrmotiv, bei
	 * gleicher Deckkraft waere der Fliesstext darueber unter 4,5 zu 1
	 * gelandet. Gerechnet ist auf einen hellsten Bildpunkt von RGB 70,
	 * das ergibt rund 4,8 zu 1 auf --ink-2. */
	opacity: var(--ambient-op, 0.24);
}
.sektion__ambient img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.4) contrast(0.9) blur(1.2px);
	/* Laeuft nach allen Seiten weit aus, damit nirgends eine Bildkante
	   steht. Die Verlaeufe sind bewusst lang: kurze Verlaeufe erzeugen
	   genau die harte Linie, die hier nicht sein soll. */
	mask-image:
		linear-gradient(to top, transparent 0%, #000 32%, #000 62%, transparent 100%),
		linear-gradient(to right, #000 0%, #000 30%, transparent 92%);
	mask-composite: intersect;
	-webkit-mask-composite: source-in;
}

@media (min-width: 960px) {
	/* Auf breiten Viewports nur die linke Haelfte: rechts stehen die
	   Schritte beziehungsweise die Zielgruppenkarten.
	 *
	 * Die Ebene haengt am Textraster, nicht am Fensterrand. Vorher stand
	 * sie auf inset:0, damit klebte sie auf einem 2560er Schirm ganz links
	 * am Glas, waehrend der Text erst 600 Pixel weiter innen anfing: das
	 * Motiv gehoerte sichtbar nicht zum Inhalt. Jetzt setzt sie eine
	 * Handbreit vor der Spalte an und laeuft nach aussen aus. */
	.sektion__ambient {
		left: max(0px, calc(50% - var(--maxw) / 2 - 4.5rem));
		right: auto;
		width: min(62%, 860px);
		opacity: var(--ambient-op-breit, 0.26);
	}
	.sektion__ambient img {
		object-position: 42% 60%;
		mask-image:
			linear-gradient(to top, transparent 0%, #000 30%, #000 66%, transparent 100%),
			linear-gradient(to right, #000 0%, #000 26%, transparent 96%);
	}
}

/* Das Zielgruppen-Motiv (Wandsaege im hellen Altbau) bringt viel mehr
   Licht mit als das Ablauf-Motiv, deshalb liegt es duenner. */
#zielgruppen {
	--ambient-op: 0.18;
	--ambient-op-breit: 0.20;
}

/* --- Hinweis auf KI-generierte Motive ------------------------------------ */

/* Wrapper um Sektionsbilder, damit das Badge im Bild sitzt. */
.bild-rahmen {
	position: relative;
	display: block;
}

.ki-badge {
	position: absolute;
	right: 0.6rem;
	bottom: 0.6rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	padding: 0.28rem 0.6rem;
	background: color-mix(in oklab, var(--tief) 74%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
	border-radius: 3px;
	color: var(--ink-2);
	font-family: var(--font-kopf);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	pointer-events: none;
}
.ki-badge svg {
	width: 11px;
	height: 11px;
	fill: var(--orange);
	flex: none;
}

/* Vollflaechige Hintergrundbilder: Badge sitzt am Rand der Sektion, nicht
   im Bildwrapper. Der liegt auf z-index -2 hinter dem Schleier. */
.hero > .ki-badge,
.abschluss > .ki-badge {
	right: var(--rand);
	bottom: 0.9rem;
}

@media (min-width: 900px) {
	.hero > .ki-badge { bottom: 1.2rem; }
}

/* Auf sehr schmalen Viewports wuerde das Badge im Hero mit dem
   Weiterscroll-Pfeil kollidieren. Der ist dort ohnehin ausgeblendet. */
@media (max-width: 400px) {
	.ki-badge { font-size: 0.63rem; padding: 0.24rem 0.5rem; }
}
