/* Richtung 3, Fassung 3: Abschnitte der GEO-Seite. Hero mit Kachel-Mosaik, Aussagen als dunkle und grüne
   Kacheln, Listen mit Haarlinien. Punktzeichen bei „Warum“, in der Ergebniskette, bei jeder Leistung und im Claim.
   Die Route aus 3-kraeftig trägt den Hero und „So arbeiten wir“. */

/* Route: eckige Wegpunkte auf einer Linie, der grüne Punkt geht voraus */

.route {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.route polyline {
	fill: none;
	stroke: var(--wald);
	stroke-width: 2;
	vector-effect: non-scaling-stroke;
}

.route rect {
	fill: var(--weiss);
	stroke: var(--wald);
	stroke-width: 2;
}

.route__punkt {
	fill: var(--gruen);
}

/* Weiter: ein Satz und der Aufruf als dunkler Knopf, wie in der Kopfzeile der Leistungen. Die Haarlinie darüber
   liefern die Listen selbst, deshalb hier keine eigene. */

.weiter {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	align-items: center;
	justify-content: space-between;
	margin-top: clamp(2rem, 4vw, 3rem);
	color: var(--wald);
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: 600;
	line-height: 1.35;
}

/* Hero: große Überschrift mittig, darunter das Mosaik */

.hero {
	padding-top: clamp(2.5rem, 6vw, 5rem);
}

.hero__kopf {
	text-align: center;
}

.hero__titel {
	margin-inline: auto;
	font-size: clamp(2.75rem, 7.6vw, 7.25rem);
}

.hero__text {
	max-width: 34rem;
	margin: 1.75rem auto 0;
	color: var(--wald-80);
	font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.mosaik {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.65fr) minmax(0, 1fr) minmax(0, 1.1fr);
	grid-template-rows: minmax(13rem, auto) 15rem;
	grid-template-areas:
		"zahlen zahlen bild aktion"
		"team team bild route";
	gap: var(--luecke);
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.mosaik__zahlen {
	grid-area: zahlen;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.zahlen {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 2rem;
	margin: 0;
}

.zahlen dt {
	color: var(--weiss);
	font-family: var(--schrift-gross);
	font-size: clamp(2.25rem, 3.4vw, 3.25rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 1;
}

.zahlen dd {
	margin: 0.375rem 0 0;
	font-size: 0.875rem;
	line-height: 1.4;
}

.mosaik__bild {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mosaik__bild--hoch {
	grid-area: bild;
	object-position: 66% 50%;
}

.mosaik__bild--team {
	grid-area: team;
	object-position: 50% 35%;
}

.mosaik__aktion {
	display: flex;
	flex-direction: column;
	grid-area: aktion;
	justify-content: space-between;
	gap: 1.5rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	font-family: var(--schrift-gross);
	font-size: clamp(1.75rem, 2.6vw, 2.5rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 1.05;
	text-decoration: none;
}

.mosaik__aktion:hover {
	background: var(--gruen-80);
}

.mosaik__aufruf {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.mosaik__zeile {
	max-width: 21rem;
	font-family: var(--schrift-text);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.45;
}

.mosaik__pfeil {
	align-self: flex-end;
	width: clamp(2.5rem, 3.5vw, 3.25rem);
	height: clamp(2.5rem, 3.5vw, 3.25rem);
	background: currentColor;
	mask: var(--pfeil) center / contain no-repeat;
}

/* Die Kachel zum Vorgehen trägt Text und darunter die Route */

.mosaik__route {
	display: flex;
	flex-direction: column;
	grid-area: route;
	justify-content: space-between;
	gap: 1.25rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	color: var(--wald);
	text-decoration: none;
}

.mosaik__route .etikett {
	color: var(--wald-80);
}

.mosaik__route .route {
	max-width: 18rem;
}

.mosaik__schritte {
	font-weight: 600;
	line-height: 1.35;
}

.mosaik__route:hover .mosaik__schritte {
	text-decoration: underline;
	text-decoration-thickness: 0.125rem;
	text-underline-offset: 0.3em;
}

/* Kundenlogos */

.logos {
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.logos__liste {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.logos__liste li {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 4rem;
}

.logos__liste img {
	width: auto;
	max-width: min(100%, 8rem);
	height: auto;
	max-height: 2.5rem;
	filter: grayscale(1);
	mix-blend-mode: multiply;
	opacity: 0.7;
}

/* Lage: dunkle Kachel mit großer Aussage */

.lage {
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.lage__block {
	padding: clamp(2rem, 5vw, 4.5rem);
}

.lage__titel {
	max-width: 56rem;
	color: var(--weiss);
	font-size: clamp(2.25rem, 4.8vw, 4.25rem);
}

.lage__unten {
	display: grid;
	grid-template-columns: minmax(0, 30rem) auto;
	gap: 2.5rem 4rem;
	align-items: end;
	justify-content: space-between;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.lage__zahlen {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 3rem;
	margin: 0;
}

.lage__zahlen div {
	max-width: 15rem;
}

.lage__zahlen dt {
	color: var(--gruen);
	font-family: var(--schrift-gross);
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 1;
}

.lage__zahlen dd {
	margin: 0.75rem 0 0;
	font-size: 0.9375rem;
}

/* Warum: hohe Motivkachel links, nummerierte Liste rechts */

.warum__raster {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.warum__grafik {
	align-self: start;
	aspect-ratio: 4 / 5;
}

/* Route auf dunkler Fläche: helle Linie, Wegpunkte in der Fläche ausgespart */

.route--hell polyline {
	stroke: var(--wald-40);
}

.route--hell rect {
	fill: var(--wald);
	stroke: var(--grund);
}

.warum__route {
	width: 100%;
	height: 100%;
}

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

.nummernliste li {
	display: grid;
	grid-template-columns: 4.5rem minmax(0, 1fr);
	gap: 1rem;
	padding-block: clamp(1.5rem, 2.5vw, 2rem);
	border-bottom: 0.0625rem solid var(--wald-20);
}

.nummernliste li:first-child {
	padding-top: 0;
}

.nummernliste__nr,
.leistung__nr {
	color: var(--moss);
	font-family: var(--schrift-gross);
	font-size: clamp(1.75rem, 2.4vw, 2.25rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 1;
}

.nummernliste h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.nummernliste p {
	max-width: 36rem;
	margin-top: 0.625rem;
}

/* Video: große Vorschau, Text daneben */

.video__raster {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--luecke);
}

.video__vorschau {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
}

.video__vorschau img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video__start {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: clamp(4.5rem, 7vw, 6rem);
	height: clamp(4.5rem, 7vw, 6rem);
	border-radius: 50%;
	background: var(--gruen);
	transform: translate(-50%, -50%);
}

.video__dreieck {
	width: 0;
	height: 0;
	margin-left: 0.375rem;
	border-top: 0.9375rem solid transparent;
	border-bottom: 0.9375rem solid transparent;
	border-left: 1.5rem solid var(--wald);
}

.video__vorschau:hover .video__start {
	background: var(--gruen-80);
}

.video__text {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 1.25rem;
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

/* Vorgehen: über den drei Kacheln die Route, je Schritt ein Wegpunkt. Mobil läuft sie senkrecht am linken Rand. */

.route--breit {
	margin-bottom: 1.5rem;
}

.route--breit rect {
	fill: var(--grund);
}

.schritte,
.kette__stufen {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--luecke);
	margin: 0;
	padding: 0;
	list-style: none;
}

.schritt {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.schritt__nr {
	margin-bottom: 1.5rem;
	color: var(--moss);
	font-family: var(--schrift-gross);
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 1;
}

.schritt h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.schritt p {
	font-size: 1rem;
}

/* Ergebniskette als Treppe: jede Stufe höher. Oben in jeder Stufe ein Zeichen: ein voller Punkt unter neun
   Ringen, dann eine ganze volle Reihe, am Ende der eine große grüne Punkt. */

.kette__stufen {
	align-items: end;
}

.stufe {
	--stufe-innen: clamp(1.75rem, 3vw, 2.5rem);
	display: flex;
	flex-direction: column;
	padding: var(--stufe-innen);
}

.stufe--2 .stufe__nr,
.stufe--2 .stufe__zahl + p {
	color: var(--wald-80);
}

.stufe__zeichen {
	display: block;
	flex: none;
	width: clamp(4.5rem, 6vw, 5.5rem);
	height: auto;
	margin-bottom: 2rem;
}

.stufe--1 {
	min-height: 23rem;
}

.stufe--2 {
	min-height: 29rem;
}

.stufe--3 {
	min-height: 35rem;
}

.stufe__kopf {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
}

.stufe__nr {
	color: var(--moss);
	font-size: 0.875rem;
	font-weight: 600;
}

.stufe__zahl {
	margin-top: auto;
	color: var(--wald);
	font-family: var(--schrift-gross);
	font-size: clamp(4rem, 8vw, 7.5rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: var(--gross-spur);
	line-height: 0.9;
}

.stufe__zahl + p {
	max-width: 22rem;
	margin-top: 1.25rem;
	font-size: 1rem;
}

.stufe--3 h3,
.stufe--3 .stufe__zahl {
	color: var(--weiss);
}

.stufe--3 .stufe__nr {
	color: var(--gruen-40);
}

/* Leistungen: zwei Spalten, je Leistung ein eigenes Motiv links, Nummer, Titel und ein kurzer Absatz rechts.
   Jede Leistung gleich gebaut, nichts zum Aufklappen. */

.leistungen__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(2rem, 4vw, 4rem);
	margin: 0;
	padding: 0;
	border-bottom: 0.0625rem solid var(--wald-20);
	list-style: none;
}

.leistung {
	display: grid;
	grid-template-columns: clamp(9rem, 15.5vw, 14rem) minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: clamp(1.25rem, 2vw, 2rem);
	padding-block: clamp(2rem, 3vw, 2.75rem);
	border-top: 0.0625rem solid var(--wald-20);
}

.leistung__motiv {
	grid-column: 1;
	grid-row: 1 / -1;
	align-self: start;
	aspect-ratio: 1;
}

.leistung__nr {
	grid-column: 2;
	margin-bottom: 0.875rem;
}

.leistung h3 {
	grid-column: 2;
	font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
}

.leistung__text {
	grid-column: 2;
	max-width: 40rem;
	margin-top: 0.875rem;
	font-size: 1rem;
}

/* Kundenstimmen: dunkles Band, darin der Aufruf als grüne Kachel */

.stimme {
	padding-block: var(--abstand) clamp(1rem, 4vw, 3rem);
	background: var(--wald);
	color: var(--wald-20);
}

.stimme a:focus-visible {
	outline-color: var(--gruen);
}

.stimme__etikett {
	margin-bottom: 2rem;
	color: var(--gruen-40);
	font-family: var(--schrift-text);
}

.stimme__haupt {
	max-width: 64rem;
	margin: 0;
}

.stimme__haupt blockquote {
	margin: 0;
}

.stimme__haupt p {
	color: var(--weiss);
	font-family: var(--schrift-gross);
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	font-weight: var(--gross-gewicht);
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.person {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-top: 2rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.person img {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	object-fit: cover;
}

.person strong {
	display: block;
	color: var(--weiss);
	font-size: 1rem;
	font-weight: 600;
}

.person span span {
	color: var(--wald-40);
}

.stimmen {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 64rem;
	gap: 3rem 2.5rem;
	margin: clamp(3.5rem, 7vw, 6rem) 0 3rem;
	padding: 0;
	list-style: none;
}

/* Zitat und Person je Reihe auf einer Linie: Listenpunkt und figure übernehmen die Zeilen des Rasters */

.stimmen li,
.stimmen figure {
	display: grid;
	grid-row: span 2;
	grid-template-rows: subgrid;
	row-gap: 1.5rem;
}

.stimmen li {
	padding-top: 1.5rem;
	border-top: 0.0625rem solid var(--wald-80);
}

.stimmen figure {
	margin: 0;
}

.stimmen blockquote {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.stimmen blockquote p + p {
	margin-top: 0.75rem;
}

.person--klein {
	align-self: start;
	margin-top: 0;
}

.person--klein img {
	width: 2.75rem;
	height: 2.75rem;
}

.mehr--hell {
	color: var(--weiss);
}

/* Aufruf: der Claim links, rechts das Motiv dazu. Euer Ziel ist der große grüne Punkt, unsere Route die Punkte davor. */

.ruf {
	margin-top: clamp(4rem, 8vw, 6.5rem);
	padding: clamp(2rem, 5vw, 4.5rem);
}

.ruf a:focus-visible {
	outline-color: var(--wald);
}

.ruf__oben {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 2rem;
	align-items: end;
}

.ruf__claim {
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 3vw, 2.5rem);
	align-items: flex-start;
}

.ruf__titel {
	color: var(--wald);
	font-size: clamp(3rem, 7.5vw, 7rem);
}

.ruf__motiv {
	width: clamp(10rem, 19vw, 16rem);
	aspect-ratio: 1;
}

.ruf__unten {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 4rem;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 2rem;
	border-top: 0.0625rem solid var(--wald);
}

.ruf__unterzeile {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: 600;
	line-height: 1.45;
}

/* FAQ */

.faq__raster {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 2.5rem 5rem;
}

.faq .gross {
	font-size: clamp(2.5rem, 4.6vw, 4rem);
}

.faq__liste {
	border-bottom: 0.0625rem solid var(--wald-20);
}

.faq details {
	border-top: 0.0625rem solid var(--wald-20);
}

.faq summary {
	position: relative;
	padding: 1.5rem 3.75rem 1.5rem 0;
	color: var(--wald);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

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

.faq summary::after {
	content: "+";
	position: absolute;
	top: 1.125rem;
	right: 0;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--weiss);
	color: var(--wald);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1;
}

.faq summary:hover::after,
.faq details[open] summary::after {
	background: var(--gruen);
}

.faq details[open] summary::after {
	content: "−";
}

.faq__weiter {
	grid-column: 2;
	margin-top: 0;
}

.faq details p {
	max-width: 42rem;
	padding-bottom: 1.5rem;
	font-size: 1rem;
}

/* Tablet */

@media (max-width: 64rem) {
	.mosaik {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: minmax(12rem, auto) 18rem;
		grid-template-areas:
			"zahlen zahlen aktion"
			"team bild route";
	}

	.faq__weiter {
		grid-column: auto;
	}

	.warum__raster,
	.faq__raster {
		grid-template-columns: 1fr;
	}

	.warum__grafik {
		aspect-ratio: 2 / 1;
	}

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

	.leistung {
		grid-template-columns: 11rem minmax(0, 1fr);
	}

}

/* Mobil */

@media (max-width: 48rem) {
	.mosaik {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: auto auto minmax(14rem, auto) 12rem;
		grid-template-areas:
			"zahlen zahlen"
			"aktion aktion"
			"bild route"
			"team team";
	}

	.mosaik__aktion {
		flex-direction: row;
		align-items: flex-end;
	}

	.mosaik__pfeil {
		flex: none;
	}

	.mosaik__route {
		padding: 1.25rem;
		font-size: 0.9375rem;
	}

	.mosaik__route .etikett {
		font-size: 0.75rem;
	}

	.logos__liste {
		grid-template-columns: repeat(3, 1fr);
	}

	.lage__unten,
	.video__raster,
	.ruf__unten {
		grid-template-columns: 1fr;
	}

	.warum__grafik {
		aspect-ratio: 5 / 4;
	}

	.schritte,
	.kette__stufen,
	.stimmen {
		grid-template-columns: 1fr;
	}

	.stufe--1,
	.stufe--2,
	.stufe--3 {
		min-height: 0;
	}

	/* Die Route senkrecht: eine Linie am linken Rand, je Schritt ein eckiger Wegpunkt, am Ende der grüne Punkt */

	.route--breit {
		display: none;
	}

	.schritte {
		position: relative;
		padding-left: 2.25rem;
	}

	.schritt {
		position: relative;
		overflow: visible;
	}

	/* Wegpunkt auf Höhe der Nummer, die Linie läuft von dort bis zum Wegpunkt des nächsten Schritts */

	.schritt::before {
		content: "";
		position: absolute;
		z-index: 1;
		top: 2.5rem;
		left: -2.25rem;
		width: 1rem;
		height: 1rem;
		border: 0.125rem solid var(--wald);
		background: var(--grund);
	}

	.schritt:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 3rem;
		bottom: calc(-1 * var(--luecke) - 3rem);
		left: -1.8125rem;
		width: 0.125rem;
		background: var(--wald);
	}

	.schritt:last-child::before {
		top: 2.25rem;
		left: -2.5rem;
		width: 1.5rem;
		height: 1.5rem;
		border: 0;
		border-radius: 50%;
		background: var(--gruen);
	}

	.schritt__nr {
		margin-bottom: 1rem;
		font-size: 2.5rem;
	}

	.stufe__zahl {
		margin-top: 2.5rem;
	}

	.nummernliste li {
		grid-template-columns: 2.75rem minmax(0, 1fr);
	}

	.leistung {
		grid-template-columns: 8rem minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		column-gap: 1.25rem;
	}

	.leistung__motiv {
		grid-row: 1 / 3;
	}

	.leistung__nr {
		align-self: end;
		margin-bottom: 0.5rem;
	}

	.leistung h3 {
		align-self: start;
	}

	.leistung__text {
		grid-column: 1 / -1;
		margin-top: 1.25rem;
	}

	.ruf__oben {
		grid-template-columns: minmax(0, 1fr);
	}

	.ruf__motiv {
		order: -1;
		width: 8rem;
	}
}
