:root
{
	--akte: #dedcd8;
	--akte-hell: #f0efec;
	--akte-tief: #c9c6c1;
	--tinte: #26262a;
	--grau: #6a6a70;
	--rot: #c0261f;
	--rot-tief: #8e1b16;
	--linie: #b8b5b0;
}

*
{
	box-sizing: border-box;
}

body
{
	margin: 0;
	background: var(--akte-hell);
	color: var(--tinte);
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(1rem, .6rem + .5vw, 1.1rem);
	line-height: 1.76;
	-webkit-text-size-adjust: 100%;
}

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

a
{
	color: var(--rot-tief);
}

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

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

h1
{
	margin: 0;
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-size: clamp(2rem, .9rem + 4.2vw, 3.8rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.014em;
}

p
{
	margin: 0 0 1.2em;
}

figure
{
	margin: 0;
}

figcaption
{
	margin-top: .7rem;
	font-size: .8rem;
	line-height: 1.6;
	color: var(--grau);
}

/* ---- Kopf ---- */

.kopf
{
	padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.kopf__marke
{
	margin: 0 0 1.3rem;
	font-size: .74rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--rot);
	font-weight: 700;
}

.kopf__lead
{
	max-width: 40rem;
	margin-top: 1.7rem;
	font-size: 1.1em;
	color: #3c3c42;
}

.kopf__bild
{
	margin-top: clamp(2rem, 4vw, 3.2rem);
}

/* ---- Die Trennung: zwei Gebiete, eine durchgehende Linie ---- */

.trennung
{
	position: relative;
	margin: clamp(2.6rem, 5vw, 4.4rem) 0;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 58rem)
{
	.trennung
	{
		grid-template-columns: 1fr 1fr;
		column-gap: clamp(3rem, 7vw, 6rem);
	}

	/* Die Linie läuft in der Mitte durch und wächst beim Scrollen nach unten. */
	.trennung::before
	{
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		width: 2px;
		background: var(--rot);
		transform: scaleY(0);
		transform-origin: top center;
	}

	.js .trennung::before
	{
		transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
	}

	.trennung.gezogen::before,
	html:not(.js) .trennung::before
	{
		transform: none;
	}
}

.gebiet h2
{
	margin: 0 0 .3rem;
	font-size: clamp(1.4rem, 1rem + 1.3vw, 1.9rem);
	line-height: 1.22;
	font-weight: 600;
	letter-spacing: -.008em;
}

.gebiet__marke
{
	display: block;
	margin-bottom: 1.5rem;
	font-size: .72rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--rot);
}

/* Links Serif (Tierschutz), rechts Grotesk (Steuer). Die Trennung wird
   typografisch geführt, nicht nur räumlich. */
.gebiet--recht
{
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

.gebiet--recht h2
{
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-weight: 400;
}

.gebiet--geld
{
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.stufe
{
	border-top: 1px solid var(--linie);
	padding: 1.2rem 0 .4rem;
}

.stufe b
{
	display: block;
	font-size: .75rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--grau);
	font-weight: 700;
	margin-bottom: .4rem;
	font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.stufe p:last-child
{
	margin-bottom: .9rem;
}

.para
{
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: .84em;
	color: var(--rot-tief);
	white-space: nowrap;
}

/* ---- Der Irrtum ---- */

.irrtum
{
	background: var(--akte);
	padding: clamp(2.6rem, 5vw, 4.4rem) 0;
	margin: clamp(2.6rem, 5vw, 4.4rem) 0;
	border-top: 1px solid var(--linie);
	border-bottom: 1px solid var(--linie);
}

.irrtum__satz
{
	margin: 0 0 1.6rem;
	padding-left: clamp(1rem, 3vw, 1.6rem);
	border-left: 3px solid var(--rot);
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-size: clamp(1.35rem, .9rem + 1.6vw, 2rem);
	line-height: 1.3;
	color: var(--grau);
}

/* ---- Bild und Text nebeneinander ---- */

.zwei
{
	display: grid;
	gap: clamp(1.6rem, 4vw, 3rem);
	align-items: center;
	margin: clamp(2.6rem, 5vw, 4.4rem) 0;
}

@media (min-width: 54rem)
{
	.zwei
	{
		grid-template-columns: 1fr 1.15fr;
	}
}

.zwei h2
{
	margin: 0 0 1rem;
	font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem);
	font-weight: 600;
	line-height: 1.26;
}

/* ---- Schlussblock quer über beide Gebiete ---- */

.schluss
{
	background: var(--tinte);
	color: #e6e5e2;
	padding: clamp(2.8rem, 6vw, 4.6rem) 0;
}

.schluss h2
{
	margin: 0 0 1.2rem;
	font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(1.5rem, 1rem + 1.7vw, 2.2rem);
	line-height: 1.24;
	color: #fff;
}

.schluss a
{
	color: #fff;
}
.schluss strong
{
	font-weight: 600;
	letter-spacing: .05em;
	color: #fff;
}
.schluss em
{
	font-style: normal;
	border-bottom: 2px solid var(--rot);
	padding-bottom: 1px;
}

/* Das ZEUS-Siegel im Schlussblock. Die Fläche ist sehr dunkel, das Siegel
   besteht aus schwarzen Linien — es steht deshalb auf einer hellen Aktenkarte
   mit roter Oberkante: dieselbe Linie, dieselbe eine Farbe wie auf der ganzen
   Seite. Beleg links, Beschriftung rechts, wie in den Aktenblöcken oben. */
.siegelkarte
{
	display: grid;
	gap: clamp(1.1rem, 3vw, 1.7rem);
	align-items: center;
	margin-top: 2rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

@media (min-width: 38rem)
{
	.siegelkarte
	{
		grid-template-columns: 11.5rem 1fr;
	}
}

.siegelkarte a
{
	display: block;
	max-width: 11.5rem;
	padding: 1rem;
	background: var(--akte-hell);
	border-top: 3px solid var(--rot);
}

.siegelkarte img
{
	width: 100%;
}

.siegelkarte figcaption
{
	margin-top: 0;
	font-size: .84rem;
	line-height: 1.66;
	color: #a9a8a4;
}

.hinweis
{
	margin-top: 2rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
	font-size: .84rem;
	line-height: 1.66;
	color: #a9a8a4;
}

.knopf
{
	display: inline-block;
	margin-top: .6rem;
	padding: .8rem 1.7rem;
	background: var(--rot);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	border-radius: 2px;
}

.knopf:hover
{
	background: var(--rot-tief);
}

/* ---- Querlinks: Zebrazeilen, ohne Marke ---- */

.themen
{
	padding: clamp(3rem, 6vw, 4.6rem) 0 clamp(2.4rem, 4vw, 3.4rem);
}

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

.themen h2
{
	margin: 0 0 1.4rem;
	font-size: .74rem;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--rot);
	font-weight: 700;
}

.themenliste
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0 clamp(1.6rem, 4vw, 3rem);
}

@media (min-width: 52rem)
{
	.themenliste
	{
		grid-template-columns: 1fr 1fr;
	}
}

.themenliste li
{
	display: block;
	padding: .58rem .8rem;
}

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

.themenliste li:nth-child(odd)
{
	background: var(--akte);
}

.themenliste li:hover
{
	background: var(--tinte);
}

.themenliste a
{
	font-size: .92rem;
	line-height: 1.5;
	color: var(--tinte);
	text-decoration: none;
}

.themenliste li:hover a
{
	color: #fff;
}

/* ---- Fuß: durch dieselbe Linie geteilt wie die Seite ---- */

.fuss
{
	border-top: 1px solid var(--linie);
	padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(2.6rem, 5vw, 4rem);
	font-size: .84rem;
	line-height: 1.74;
	color: #45454b;
}

.fuss__paar
{
	display: grid;
	gap: 1.8rem clamp(3rem, 7vw, 6rem);
	position: relative;
}

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

	.fuss__paar::before
	{
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		width: 2px;
		background: var(--rot);
	}
}

.fuss b
{
	display: block;
	font-size: .7rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--rot);
	margin-bottom: .35rem;
}

.fuss a
{
	color: var(--tinte);
	text-decoration: none;
	border-bottom: 1px solid var(--rot);
}

@media (prefers-reduced-motion: reduce)
{
	.trennung::before
	{
		transform: none !important;
		transition: none !important;
	}
}

/* ---- Weitergeben: Kasten mit sichtbarem Gitter ----
   Die Seite ist eine Ablage aus Karten und Linien. Der Block ist
   deshalb ein Kasten, dessen Zellen durch offenliegende Fugen
   getrennt sind — das Gitter selbst ist das Gestaltungsmittel. */

.ablage
{
	padding: clamp(2.4rem, 5vw, 3.6rem) 0 clamp(2.6rem, 5vw, 4rem);
}

.ablage__kasten
{
	max-width: 46rem;
	border: 1px solid var(--linie);
	border-top: 3px solid var(--rot);
	background: var(--akte-hell);
}

.ablage__satz
{
	margin: 0;
	padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1.1rem, 3vw, 1.5rem) clamp(1rem, 2.6vw, 1.4rem);
	font-size: .96rem;
	line-height: 1.7;
	color: #3c3c42;
}

.ablage__gitter
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--linie);
	border-top: 1px solid var(--linie);
}

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

@media (min-width: 56rem)
{
	.ablage__gitter { grid-template-columns: repeat(3, 1fr); }
}

.ablage__gitter li
{
	min-width: 0;
	background: var(--akte-hell);
}

.ablage__gitter a,
.ablage__gitter button
{
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: .85rem 1rem;
	border: 0;
	background: none;
	font: inherit;
	font-size: .89rem;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;
	color: var(--tinte);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

.ablage__gitter a:hover,
.ablage__gitter button:hover,
.ablage__gitter a:focus-visible,
.ablage__gitter button:focus-visible
{
	background: var(--akte);
	color: var(--rot-tief);
}

.ablage__gitter svg { flex: none; color: var(--rot); }

.ablage__gitter [hidden] { display: none; }

/* ---- Mitlaufende Leiste, links ----
   Die Bahn misst 76rem; erst ab 1440 px bleibt links freier Rand. */

.reiter { display: none; }

@media (min-width: 1440px)
{
	.reiter
	{
		position: fixed;
		left: 1.4rem;
		top: 50%;
		transform: translateY(-50%);
		z-index: 40;
		display: grid;
		gap: .3rem;
	}

	.reiter__el
	{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		padding: 0;
		border: 1px solid var(--linie);
		border-left: 3px solid var(--rot);
		background: var(--akte-hell);
		color: var(--tinte);
		cursor: pointer;
		transition: background-color .2s ease, color .2s ease;
	}

	.reiter__el:hover,
	.reiter__el:focus-visible,
	.reiter__el.ist-kopiert
	{
		background: var(--akte);
		color: var(--rot-tief);
	}

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

/* Nicht unterstützte Elemente bekommen keine leere Zelle im Gitter. */
.ablage__gitter li:has([hidden])
{
	display: none;
}
