:root
{
	--gewitter: #16212e;
	--gewitter-hoch: #101a25;
	--gewitter-tief: #354a60;
	--himmel-schrift: #e6ecf3;
	--himmel-leise: #c2d0dc;
	--gold-oben: #b09a6e;
	--gold-unten: #f0e4c7;
	--tinte: #26200f;
	--tinte-leise: #5d5237;
	--halm: #9a7a33;
}

*
{
	box-sizing: border-box;
}

html
{
	background: var(--gewitter-hoch);
}

body
{
	margin: 0;
	background: var(--gewitter);
	color: var(--himmel-schrift);
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(1rem, .66rem + .44vw, 1.09rem);
	line-height: 1.78;
	-webkit-text-size-adjust: 100%;
}

img
{
	display: block;
	max-width: 100%;
	height: auto;
}

.bahn
{
	width: min(100% - 2.4rem, 72rem);
	margin-inline: auto;
}

.spalte
{
	max-width: 36rem;
}

p
{
	margin: 0 0 1.2em;
}

p:last-child
{
	margin-bottom: 0;
}

/* ---- Typografie: die Überschriften stehen treppenförmig.
   Jede Folgezeile rückt weiter ein — der Blick geht dabei in die Weite,
   und die Hierarchie kommt aus der Staffelung, nicht aus dem Schriftgrad. ---- */

h1, h2
{
	margin: 0 0 1.3rem;
	font-weight: 650;
	letter-spacing: -.022em;
	line-height: 1.1;
}

h1
{
	font-size: clamp(1.85rem, 1.1rem + 3.1vw, 3.3rem);
}

h2
{
	font-size: clamp(1.35rem, 1rem + 1.5vw, 2.05rem);
}

h1 span,
h2 span
{
	display: block;
}

h1 span:nth-child(2),
h2 span:nth-child(2)
{
	margin-left: clamp(.9rem, 3.4vw, 3.4rem);
}

h1 span:nth-child(3),
h2 span:nth-child(3)
{
	margin-left: clamp(1.8rem, 6.8vw, 6.8rem);
}

.marke
{
	display: block;
	margin-bottom: 1.4rem;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
}

figure
{
	margin: 0;
}

figcaption
{
	margin-top: .7rem;
	font-size: .8rem;
	line-height: 1.62;
}

/* ---- Der Himmel: alles oberhalb des Horizonts ---- */

.himmel
{
	background: linear-gradient(180deg, var(--gewitter-hoch) 0%, var(--gewitter) 42%, var(--gewitter-tief) 100%);
	padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.6rem, 6vw, 5rem);
}

.himmel .marke
{
	color: #c8a55e;
}

.himmel__lead
{
	font-size: clamp(1.05rem, .9rem + .6vw, 1.24rem);
	line-height: 1.66;
	color: #d3dde6;
	max-width: 33rem;
}

.himmel__weite
{
	margin-top: clamp(2.2rem, 5vw, 3.6rem);
	color: var(--himmel-leise);
}

.himmel__weite h2
{
	color: var(--himmel-schrift);
}

/* ---- Der Horizont: das Bild übernimmt den Farbwechsel der Seite.
   Oben Gewitter, unten Präriegold — deshalb braucht die Seite an keiner
   Stelle eine sichtbare Sektionskante. ---- */

.horizont
{
	background: var(--gewitter-tief);
}

.horizont img
{
	width: 100%;
}

.horizont figcaption
{
	background: linear-gradient(180deg, #85663b 0%, #a68f65 2.2rem, var(--gold-oben) 100%);
	color: #2f2609;
	margin: 0;
	padding: 2.6rem 0 1.2rem;
}

.horizont figcaption > span
{
	display: block;
	width: min(100% - 2.4rem, 72rem);
	margin-inline: auto;
}

.horizont figcaption > span > span
{
	display: block;
	max-width: 44rem;
}

/* Das Wetter dreht: das Bild kommt kalt herein und geht in warmes Gold über. */
.js .horizont img
{
	filter: saturate(.42) brightness(.86) contrast(1.06) hue-rotate(-12deg);
	transition: filter 2.1s cubic-bezier(.3, .04, .2, 1);
}

.js .horizont.gedreht img
{
	filter: none;
}

/* ---- Der Boden: alles unterhalb des Horizonts ---- */

.boden
{
	background: linear-gradient(180deg, var(--gold-oben) 0%, #c9b285 16%, #ddc99c 42%, #e9dbb5 70%, var(--gold-unten) 100%);
	color: var(--tinte);
	padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}

.boden .marke
{
	color: #6c4f16;
}

.boden a
{
	color: #2c3f55;
}

.block
{
	padding: clamp(1.6rem, 4vw, 3rem) 0;
}

.block--breit
{
	display: grid;
	gap: clamp(1.6rem, 4vw, 3rem);
	align-items: start;
}

@media (min-width: 56rem)
{
	.block--breit
	{
		grid-template-columns: minmax(min(20rem, 100%), 1fr) minmax(min(17rem, 100%), .78fr);
	}
}

.block--breit > *
{
	min-width: 0;
}

.block--breit figcaption
{
	color: var(--tinte-leise);
}

.satz
{
	font-size: clamp(1.25rem, .96rem + 1.25vw, 1.85rem);
	line-height: 1.34;
	font-weight: 650;
	letter-spacing: -.022em;
	max-width: 26ch;
	margin: 0 0 1.4rem;
}

.leise
{
	color: var(--tinte-leise);
	font-size: .93rem;
	line-height: 1.7;
}

.boden a.knopf
{
	display: inline-block;
	margin-top: .5rem;
	padding: .85rem 1.8rem;
	background: var(--gewitter);
	color: #f2e6c6;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: .01em;
	border-radius: 1px;
}

.boden a.knopf:hover
{
	background: var(--gewitter-tief);
}

/* ---- Das Siegel im Abschluss.
   Es steht ohne Rahmen und ohne Kachel auf dem Präriegold: Diese Seite kennt
   keine einzige Sektionskante, also bekommt auch das Siegel keine. Die
   schwarzen Linien tragen auf dem hellen Gold von selbst. ---- */

.siegel
{
	max-width: 14.5rem;
	justify-self: start;
}

.siegel a
{
	display: block;
}

.siegel img
{
	width: 100%;
}

/* ---- Querlinks: die Halmkante.
   Vor jeder Zeile steht ein Halm unterschiedlicher Höhe; beim Überfahren
   richtet er sich auf. ---- */

.themen
{
	padding-top: clamp(2.4rem, 5vw, 3.6rem);
}

.themen:not(:has(a))
{
	display: none;
}

.themen h2
{
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: #6c4f16;
	margin-bottom: 1.6rem;
}

.halme
{
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: clamp(1.4rem, 4vw, 3.4rem);
}

@media (max-width: 46rem)
{
	.halme
	{
		columns: 1;
	}
}

.halme li
{
	display: block;
	position: relative;
	padding: .3rem 0 .3rem 1.5rem;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
}

.halme li[hidden]
{
	display: none;
}

.halme li::before
{
	content: "";
	position: absolute;
	left: .45rem;
	bottom: .55rem;
	width: 2px;
	height: .5rem;
	background: var(--halm);
	transition: height .35s cubic-bezier(.25, .7, .2, 1);
}

.halme li:nth-child(3n+2)::before { height: .95rem; }
.halme li:nth-child(4n+3)::before { height: .72rem; }
.halme li:nth-child(5n+1)::before { height: 1.2rem; }

.halme li:hover::before
{
	height: 1.9rem;
	background: var(--gewitter);
}

.halme a
{
	font-size: .93rem;
	line-height: 1.5;
	color: var(--tinte);
	text-decoration: none;
	border-bottom: 1px solid rgba(154, 122, 51, .5);
}

.halme a:hover
{
	border-bottom-color: var(--gewitter);
}

/* ---- Fuß: der Himmel kehrt zurück. Die Angaben stehen in vier Feldern,
   die Beschriftung jeweils unter dem Wert. ---- */

.fuss
{
	background: var(--gewitter);
	color: #b9c6d3;
	padding: clamp(2.6rem, 5.5vw, 4.2rem) 0 clamp(2.8rem, 6vw, 4.6rem);
	font-size: .86rem;
	line-height: 1.7;
}

.fuss__felder
{
	display: grid;
	gap: clamp(1.5rem, 3.4vw, 2.6rem);
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
}

.fuss__feld
{
	min-width: 0;
}

.fuss__wert
{
	color: #eaf0f6;
}

.fuss__name
{
	display: block;
	margin-top: .6rem;
	padding-top: .5rem;
	border-top: 1px solid #34485d;
	font-size: .68rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #86a2ba;
}

.fuss a
{
	color: #eaf0f6;
	text-decoration: none;
	border-bottom: 1px solid #c8a55e;
}

.fuss a:hover
{
	border-bottom-color: #eaf0f6;
}

@media (prefers-reduced-motion: reduce)
{
	.js .horizont img,
	.halme li::before
	{
		transition: none;
	}

	.js .horizont img
	{
		filter: none;
	}
}

/* ---- Empfehlung: Dachzeile klein, die Wege gross und treppenförmig.
   Die Fläche setzt das helle Ende des Präriegold-Verlaufs fort, damit
   zwischen Inhalt und Fuß weiterhin keine Sektionskante entsteht. ---- */

.empfehlung
{
	background: var(--gold-unten);
	color: var(--tinte);
	padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(2.8rem, 6vw, 4.4rem);
}

.empfehlung__dach
{
	max-width: 40rem;
	margin: 0 0 clamp(1.6rem, 3.6vw, 2.6rem);
	font-size: .84rem;
	line-height: 1.68;
	color: var(--tinte-leise);
}

.empfehlung__wege
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .1rem;
}

.weg
{
	display: inline-flex;
	align-items: center;
	gap: .8rem;
	padding: .42rem 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--tinte);
	text-decoration: none;
	font-size: clamp(1.12rem, .95rem + .9vw, 1.7rem);
	font-weight: 650;
	letter-spacing: -.02em;
	line-height: 1.2;
	cursor: pointer;
	text-align: left;
}

.weg:nth-child(2) { margin-left: clamp(.9rem, 3.4vw, 3.4rem); }
.weg:nth-child(3) { margin-left: clamp(1.8rem, 6.8vw, 6.8rem); }
.weg:nth-child(4) { margin-left: clamp(2.7rem, 10.2vw, 10.2rem); }
.weg:nth-child(5) { margin-left: clamp(3.6rem, 13.6vw, 13.6rem); }

.weg__zeichen
{
	flex: none;
	width: 1em;
	height: 1em;
	color: var(--halm);
}

.weg span
{
	border-bottom: 1px solid rgba(154, 122, 51, .45);
}

.weg:hover span,
.weg:focus-visible span
{
	border-bottom-color: var(--tinte);
}

.weg[hidden]
{
	display: none;
}

/* ---- Die mitscrollende Leiste, linker Rand.
   Erst ab 1300 px — darunter reicht die Bahn zu nah an den Rand. ---- */

.randleiste
{
	display: none;
}

@media (min-width: 1300px)
{
	.randleiste
	{
		display: flex;
		position: fixed;
		left: clamp(1rem, calc((100vw - 72rem) / 2 - 3.6rem), 3rem);
		top: 50%;
		transform: translateY(-50%);
		flex-direction: column;
		gap: .35rem;
		z-index: 20;
	}

	.randleiste__knopf
	{
		display: grid;
		place-items: center;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0;
		border: 1px solid rgba(200, 165, 94, .45);
		border-radius: 1px;
		background: rgba(22, 33, 46, .82);
		color: #e6d3a6;
		cursor: pointer;
		transition: background .25s ease, color .25s ease, border-color .25s ease;
	}

	.randleiste__knopf:hover,
	.randleiste__knopf:focus-visible
	{
		background: #c8a55e;
		border-color: #c8a55e;
		color: var(--gewitter);
	}

	.randleiste__knopf[hidden]
	{
		display: none;
	}
}
