:root
{
	--sand:      #f5efe6;
	--sand-tief: #e8dcc9;
	--terra:     #a8563a;
	--terra-hell:#c97b57;
	--erde:      #4a3428;
	--tinte:     #2b1f18;
	--greige:    #b9ac9c;
	--schoko:    #3d2419;

	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
	--sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*
{
	box-sizing: border-box;
}

html
{
	scroll-behavior: smooth;
}

html,
body
{
	/* Sicherheitsnetz gegen seitliches Überlaufen am Smartphone */
	max-width: 100%;
	overflow-x: clip;
}

body
{
	margin: 0;
	background: var(--sand);
	color: var(--tinte);
	font-family: var(--sans);
	font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

/* ---------- Titelbereich ---------- */

.titel
{
	position: relative;
	min-height: min(88vh, 46rem);
	display: grid;
	align-items: center;
	overflow: hidden;
}

.titel__bild
{
	position: absolute;
	inset: 0;
	z-index: 0;
}

.titel__bild img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 28% center;
	transform: scale(1.08);
	will-change: transform;
}

.titel::after
{
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(100deg,
			rgba(43,31,24,.62) 0%,
			rgba(43,31,24,.34) 34%,
			rgba(43,31,24,.06) 58%,
			rgba(43,31,24,0) 75%);
}

@media (max-width: 46rem)
{
	.titel::after
	{
		background: linear-gradient(180deg,
			rgba(43,31,24,.28) 0%,
			rgba(43,31,24,.58) 45%,
			rgba(43,31,24,.86) 100%);
	}

	.titel__bild img
	{
		object-position: 34% 30%;
	}
}

.titel__text
{
	position: relative;
	z-index: 2;
	width: min(92%, 78rem);
	margin: 0 auto;
	padding: 6rem 0 4rem;
}

.titel__inner
{
	max-width: 34rem;
	color: #fdf8f1;
}

.marke
{
	display: inline-block;
	margin-bottom: 1.6rem;
	padding: .35rem .9rem;
	border: 1px solid rgba(253,248,241,.5);
	border-radius: 2rem;
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
}

h1
{
	margin: 0 0 1.2rem;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
	line-height: 1.04;
	letter-spacing: -.02em;
}

h1 em
{
	display: block;
	font-style: italic;
	color: #f0c9ac;
}

.titel__inner p
{
	margin: 0;
	font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
	color: rgba(253,248,241,.9);
	text-wrap: pretty;
}

/* ---------- Textabschnitte ---------- */

.bahn
{
	width: min(92%, 78rem);
	margin: 0 auto;
}

.abschnitt
{
	padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.kolumne
{
	max-width: 40rem;
}

.kolumne--versetzt
{
	margin-left: auto;
}

h2
{
	margin: 0 0 1.6rem;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
	line-height: 1.15;
	letter-spacing: -.015em;
	color: var(--erde);
}

.vorspann
{
	margin: 0 0 .9rem;
	font-size: .74rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--terra);
}

p
{
	margin: 0 0 1.3rem;
	text-wrap: pretty;
}

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

.gross
{
	font-family: var(--serif);
	font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem);
	line-height: 1.5;
	color: var(--erde);
}

/* ---------- Varietäten ---------- */

.varietaeten
{
	background: var(--sand-tief);
}

.paar
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
	gap: clamp(2rem, 4vw, 4rem);
	margin-top: 3rem;
}

.variante
{
	min-width: 0;
}

.variante figure
{
	margin: 0;
}

.variante img
{
	width: 100%;
	height: auto;
	border-radius: 2px;
	filter: saturate(1.02);
}

.variante figcaption
{
	margin-top: 1.4rem;
}

.variante h3
{
	margin: 0 0 .5rem;
	font-family: var(--serif);
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--erde);
}

.variante h3 span
{
	display: block;
	margin-top: .3rem;
	font-family: var(--sans);
	font-size: .72rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--terra);
}

.variante p
{
	font-size: .98rem;
}

/* ---------- ZEUS ---------- */

.zeus
{
	background: var(--erde);
	color: #f3e9dd;
}

.zeus h2
{
	color: #fdf8f1;
}

.zeus .vorspann
{
	color: var(--terra-hell);
}

.zeus .gross
{
	color: #fdf8f1;
}

.zeus__raster
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	gap: 2.5rem;
	margin-top: 3.5rem;
	padding-top: 3rem;
	border-top: 1px solid rgba(243,233,221,.22);
}

.zeus__raster h3
{
	margin: 0 0 .6rem;
	font-size: .78rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--terra-hell);
}

.zeus__raster p
{
	margin: 0;
	font-size: .98rem;
	color: rgba(243,233,221,.85);
}

/* Das Siegel steht auf dunklem Erdton — daher eine helle Sandkachel
   darunter, in derselben Kantigkeit wie der Knopf (2px Radius). */
.siegel
{
	display: grid;
	gap: 1.6rem;
	align-items: center;
	margin: 3.5rem 0 0;
	padding: 1.6rem 1.8rem;
	background: var(--sand);
	border: 1px solid var(--terra-hell);
	border-radius: 2px;
}

@media (min-width: 34rem)
{
	.siegel
	{
		grid-template-columns: 8.5rem 1fr;
	}
}

.siegel a
{
	display: block;
	justify-self: start;
	width: 8.5rem;
	max-width: 100%;
}

.siegel img
{
	width: 100%;
	height: auto;
}

.siegel figcaption
{
	margin: 0;
	font-size: .92rem;
	line-height: 1.6;
	color: var(--erde);
	text-wrap: pretty;
}

.knopf
{
	display: inline-block;
	margin-top: 3rem;
	padding: 1rem 2.2rem;
	background: var(--terra);
	color: #fff;
	font-size: .82rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	transition: background .25s ease, transform .25s ease;
}

.knopf:hover,
.knopf:focus-visible
{
	background: var(--terra-hell);
	transform: translateY(-2px);
}

/* ---------- Weitere Themen ---------- */

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

.themen ul
{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(16rem, 100%), 1fr));
	gap: .2rem 2.5rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.themen li
{
	border-bottom: 1px solid var(--greige);
}

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

.themen a
{
	display: block;
	padding: .8rem 0;
	color: var(--erde);
	text-decoration: none;
	font-size: .95rem;
}

.themen a:hover,
.themen a:focus-visible
{
	color: var(--terra);
}

/* ---------- Fuß ---------- */

footer
{
	padding: 3.5rem 0 4rem;
	background: var(--tinte);
	color: rgba(245,239,230,.62);
	font-size: .82rem;
	line-height: 1.7;
}

footer .bahn
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	gap: 2rem 3rem;
}

footer a
{
	color: rgba(245,239,230,.92);
	text-decoration: none;
	border-bottom: 1px solid rgba(201,123,87,.6);
	transition: color .2s ease, border-color .2s ease;
}

footer a:hover,
footer a:focus-visible
{
	color: #fff;
	border-color: var(--terra-hell);
}

footer strong
{
	display: block;
	margin-bottom: .35rem;
	color: rgba(245,239,230,.92);
	font-weight: 600;
}

footer .rollen
{
	font-style: normal;
}

footer .rollen span
{
	display: block;
	margin-bottom: .8rem;
}

/* ---------- Effekte ---------- */

.auf
{
	opacity: 0;
	transform: translateY(1.6rem);
	transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
}

.auf.da
{
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce)
{
	html
	{
		scroll-behavior: auto;
	}

	.auf
	{
		opacity: 1;
		transform: none;
		transition: none;
	}

	.titel__bild img
	{
		transform: none;
	}
}

/* ---------- Weitergeben: breiter Balken im Terrakotta der Seite ---------- */

.balken
{
	background: var(--terra);
	color: #fdf3ea;
	padding: clamp(2.6rem, 5vw, 4rem) 0;
}

.balken__innen
{
	display: grid;
	gap: clamp(1.8rem, 4vw, 3.5rem);
	align-items: center;
}

@media (min-width: 58rem)
{
	.balken__innen
	{
		grid-template-columns: 1fr auto;
	}
}

.balken__satz
{
	max-width: 38rem;
}

.balken__satz .vorspann
{
	color: rgba(253,243,234,.72);
}

.balken__satz h2
{
	margin-bottom: .8rem;
	color: #fdf3ea;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}

.balken__satz p:last-child
{
	font-size: .98rem;
	color: rgba(253,243,234,.9);
}

.balken__reihe
{
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.balken__reihe a,
.balken__reihe button
{
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .62rem .95rem;
	background: rgba(253,243,234,.08);
	border: 1px solid rgba(253,243,234,.34);
	border-radius: 2px;
	color: #fdf3ea;
	font: inherit;
	font-size: .8rem;
	letter-spacing: .05em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease;
}

.balken__reihe a:hover,
.balken__reihe a:focus-visible,
.balken__reihe button:hover,
.balken__reihe button:focus-visible
{
	background: rgba(253,243,234,.2);
	border-color: #fdf3ea;
}

.balken__reihe svg
{
	width: 1.05rem;
	height: 1.05rem;
	flex: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (min-width: 58rem)
{
	.balken__reihe
	{
		flex-direction: column;
		width: 13.5rem;
	}
}

/* ---------- Mitscrollende Leiste: rechts, gestapelte Sandkacheln ---------- */

.stange
{
	display: none;
}

@media (min-width: 90rem)
{
	.stange
	{
		display: grid;
		position: fixed;
		right: max(1rem, calc((100vw - 78rem) / 2 - 3.4rem));
		top: 46%;
		transform: translateY(-50%);
		z-index: 30;
		background: var(--sand-tief);
		border-radius: 2px;
		overflow: hidden;
	}

	.stange a,
	.stange button
	{
		display: grid;
		place-items: center;
		width: 2.6rem;
		height: 2.6rem;
		padding: 0;
		background: none;
		border: 0;
		border-bottom: 1px solid rgba(74,52,40,.16);
		color: var(--erde);
		cursor: pointer;
		transition: background .2s ease, color .2s ease;
	}

	.stange > *:last-child
	{
		border-bottom: 0;
	}

	.stange svg
	{
		width: 1.15rem;
		height: 1.15rem;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.stange a:hover,
	.stange a:focus-visible,
	.stange button:hover,
	.stange button:focus-visible,
	.stange .kopiert
	{
		background: var(--terra);
		color: #fdf3ea;
	}
}

/* Die zwei JavaScript-Elemente bleiben ohne Skript verborgen */
.balken__reihe [hidden],
.stange [hidden]
{
	display: none;
}
