:root
{
	--schiefer: #aab4b6;
	--schiefer-hell: #c2caca;
	--kalk: #eef1ee;
	--tinte: #18211f;
	--tinte-weich: #3d4a46;
	--heide: #33452f;
	--heide-tief: #1f2b1c;
	--malve: #8a5c80;
	--malve-hell: #c39dba;
	--linie: rgba(24, 33, 31, .26);
}

*
{
	box-sizing: border-box;
}

html
{
	-webkit-text-size-adjust: 100%;
}

body
{
	margin: 0;
	background: var(--schiefer);
	color: var(--tinte);
	font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
	font-size: clamp(1rem, .95rem + .22vw, 1.07rem);
	line-height: 1.74;
	letter-spacing: .002em;
}

/* Auf dieser Seite ist nichts fett. Die Hierarchie kommt aus der Spalte,
   in der ein Text steht — links groß, rechts klein. */
h1, h2, h3, strong, b
{
	font-weight: 400;
	margin: 0;
}

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

a
{
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--malve);
	text-underline-offset: .19em;
}

a:hover,
a:focus-visible
{
	text-decoration-color: var(--tinte);
}

.bahn
{
	max-width: 74rem;
	margin-inline: auto;
	padding-inline: clamp(1.15rem, 4vw, 3rem);
}

/* ---------- Die Blickachse: sehr schmale Spalte gegen sehr weite ---------- */

.achse
{
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: .9rem;
	padding-block: clamp(2.2rem, 6vw, 4.2rem);
}

.blick
{
	color: var(--tinte);
	font-size: clamp(1.4rem, 5vw, 2.15rem);
	line-height: 1.06;
	letter-spacing: -.012em;
	max-width: 22rem;
}

.blick .punkt
{
	display: block;
	width: 1.7rem;
	height: 1px;
	margin-bottom: .8rem;
	background: var(--malve);
}

.satz
{
	min-width: 0;
	max-width: 40rem;
}

.satz p
{
	margin: 0 0 1.15em;
}

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

.marke
{
	display: block;
	font-size: .74rem;
	line-height: 1.5;
	letter-spacing: .19em;
	text-transform: uppercase;
	color: var(--malve);
}

@media (min-width: 58rem)
{
	.achse
	{
		grid-template-columns: 13rem minmax(0, 40rem);
		column-gap: clamp(1.8rem, 4vw, 3.4rem);
		align-items: start;
	}

	.blick
	{
		text-align: right;
		font-size: clamp(1.5rem, 2.5vw, 2.15rem);
		padding-top: .28rem;
		max-width: none;
	}

	.blick .punkt
	{
		margin-left: auto;
	}

	.satz
	{
		border-left: 1px solid var(--linie);
		padding-left: clamp(1.6rem, 3vw, 2.8rem);
	}

	.blick--marke
	{
		text-align: right;
		padding-top: .5rem;
		font-size: .74rem;
		line-height: 1.5;
	}
}

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

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

.kopf h1
{
	font-size: clamp(1.85rem, 5.2vw, 3.3rem);
	line-height: 1.1;
	letter-spacing: -.02em;
	margin-bottom: .7em;
	max-width: 22ch;
}

.kopf .vorspann
{
	color: var(--tinte-weich);
}

/* ---------- Bilder: die weite Kolumne ---------- */

.weit
{
	margin: 0;
	padding-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.4rem);
}

.weit img
{
	width: 100%;
}

.weit figcaption
{
	margin-top: .9rem;
	font-size: .84rem;
	line-height: 1.6;
	color: var(--tinte-weich);
	max-width: 34rem;
}

@media (min-width: 58rem)
{
	.weit figcaption
	{
		margin-left: calc(13rem + clamp(1.8rem, 4vw, 3.4rem) + clamp(1.6rem, 3vw, 2.8rem));
	}
}

/* ---------- Der Zettel, der im Blick bleibt ---------- */

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

.zettel
{
	margin: clamp(2rem, 6vw, 3.4rem) 0 0;
	padding: 1.05rem 1.15rem 1.15rem;
	background: var(--heide);
	color: var(--kalk);
	border-top: 2px solid var(--malve);
	font-size: .84rem;
	line-height: 1.55;
	max-width: 26rem;
}

.zettel .marke
{
	color: var(--malve-hell);
	margin-bottom: .5rem;
}

.zettel q
{
	quotes: "„" "“";
	display: block;
	font-size: 1.02rem;
	line-height: 1.42;
}

.zettel .leise
{
	display: block;
	margin-top: .7rem;
	color: #a9b9a4;
}

@media (min-width: 58rem)
{
	.haftbereich
	{
		grid-template-columns: 13rem minmax(0, 40rem);
		column-gap: clamp(1.8rem, 4vw, 3.4rem);
		align-items: start;
	}

	.haftbereich > .achse,
	.haftbereich > .schluss
	{
		grid-column: 2;
		grid-template-columns: minmax(0, 40rem);
	}

	.haftbereich > .achse > .blick
	{
		text-align: left;
		padding-top: 0;
	}

	.haftbereich > .achse > .blick .punkt
	{
		margin-left: 0;
	}

	.haftbereich > .achse > .satz
	{
		border-left: 0;
		padding-left: 0;
	}

	.zettel
	{
		grid-column: 1;
		grid-row: 1 / span 2;
		position: sticky;
		top: clamp(2rem, 26vh, 12rem);
		margin-top: clamp(2.2rem, 6vw, 4.2rem);
		max-width: none;
	}
}

/* ---------- Merksatz auf Heidegrün ---------- */

.merksatz
{
	background: var(--heide);
	color: var(--kalk);
	padding-block: clamp(2.8rem, 8vw, 5.2rem);
	margin-top: clamp(2.5rem, 7vw, 4.5rem);
}

.merksatz .gross
{
	font-size: clamp(1.4rem, 3.4vw, 2.3rem);
	line-height: 1.22;
	letter-spacing: -.014em;
	max-width: 30ch;
	margin: 0 0 1.1em;
}

.merksatz .klein
{
	max-width: 40rem;
	margin: 0;
	color: #c6d1c1;
}

/* ---------- Schluss ---------- */

.schluss .karte
{
	background: var(--kalk);
	padding: clamp(1.4rem, 4vw, 2.4rem);
	margin-top: clamp(1.6rem, 4vw, 2.4rem);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
	gap: clamp(1.2rem, 3vw, 2.2rem);
	align-items: center;
}

.schluss .karte > *
{
	min-width: 0;
}

.knopf
{
	display: inline-block;
	background: var(--heide);
	color: var(--kalk);
	padding: .78rem 1.5rem;
	text-decoration: none;
	font-size: .95rem;
	letter-spacing: .02em;
}

.knopf:hover,
.knopf:focus-visible
{
	background: var(--malve);
}

.siegel
{
	margin: 0;
	text-align: center;
}

.siegel img
{
	width: 8.4rem;
	margin-inline: auto;
}

.siegel figcaption
{
	margin-top: .7rem;
	font-size: .8rem;
	line-height: 1.55;
	color: var(--tinte-weich);
}

/* ---------- Querlinks: gesperrte Zeilen, die sich beim Überfahren
              zusammenziehen — keine Marke, keine Linie ---------- */

.themen
{
	padding-block: clamp(2.6rem, 7vw, 4.6rem);
	border-top: 1px solid var(--linie);
	margin-top: clamp(2.6rem, 7vw, 4.6rem);
}

.themen h2
{
	font-size: .74rem;
	letter-spacing: .19em;
	text-transform: uppercase;
	color: var(--malve);
	margin-bottom: 1.5rem;
}

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

.themenliste
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
	column-gap: clamp(1.8rem, 5vw, 4rem);
	align-content: start;
}

/* Ruhezustand: weit gesperrt, klein, blass — die Liste liegt da wie ein
   Registerband. Beim Überfahren zieht sich die Zeile zusammen. */
.themenliste li
{
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 3.4rem;
	padding-block: .3rem;
	font-size: .78rem;
	line-height: 1.62;
	letter-spacing: .085em;
	color: var(--tinte-weich);
	transition: letter-spacing .34s ease, color .34s ease;
}

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

.themenliste li:hover,
.themenliste li:focus-within
{
	letter-spacing: .015em;
	color: var(--malve);
}

.themenliste a
{
	min-width: 0;
	color: inherit;
	text-decoration-color: transparent;
	transition: text-decoration-color .34s ease;
}

.themenliste li:hover a,
.themenliste a:focus-visible
{
	text-decoration-color: var(--malve);
}

/* ---------- Fuß: die Beschriftung steht senkrecht an der linken
              Kante ihres Blocks, von unten nach oben gelesen ---------- */

.fuss
{
	background: var(--heide-tief);
	color: #cbd5c6;
	padding-block: clamp(2.4rem, 6vw, 3.8rem);
	font-size: .86rem;
	line-height: 1.65;
}

.fuss__bau
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: clamp(1.4rem, 4vw, 2.6rem);
}

.fuss__bau > div
{
	min-width: 0;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 1rem;
	align-items: start;
}

.fuss p
{
	margin: 0;
}

.fuss .marke
{
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	align-self: start;
	font-size: .66rem;
	line-height: 1;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--malve-hell);
	white-space: nowrap;
}

.fuss a
{
	text-decoration-color: var(--malve-hell);
}

.fuss a:hover,
.fuss a:focus-visible
{
	text-decoration-color: #cbd5c6;
}

/* ---------- Weitergeben: flächige Knöpfe mit runden Ecken ---------- */

.weitergeben
{
	padding-block: 0 clamp(2.6rem, 7vw, 4.4rem);
}

.weitergeben__satz
{
	max-width: 40rem;
	margin: 0;
	color: var(--tinte-weich);
}

.weitergeben__reihe
{
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: clamp(1.2rem, 3vw, 1.7rem) 0 0;
	max-width: 48rem;
}

.weiterkn
{
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	padding: .62rem 1.15rem;
	border: 0;
	border-radius: 2rem;
	background: var(--kalk);
	color: var(--tinte);
	font: inherit;
	font-size: .88rem;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background .28s ease, color .28s ease;
}

.weiterkn[hidden]
{
	display: none;
}

.weiterkn__sym
{
	flex: none;
	color: var(--malve);
	transition: color .28s ease;
}

.weiterkn:hover,
.weiterkn:focus-visible
{
	background: var(--heide);
	color: var(--kalk);
}

.weiterkn:hover .weiterkn__sym,
.weiterkn:focus-visible .weiterkn__sym
{
	color: var(--malve-hell);
}

.weiterkn:focus-visible
{
	outline: 2px solid var(--malve);
	outline-offset: 2px;
}

/* ---------- Leiste: rechts, Spalte runder Flächen ---------- */

.leiste
{
	display: none;
}

@media (min-width: 92rem)
{
	.leiste
	{
		position: fixed;
		right: 1.4rem;
		top: 50%;
		transform: translateY(-50%);
		z-index: 5;
		display: flex;
		flex-direction: column;
		gap: .4rem;
	}

	.leiste__el
	{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 2.7rem;
		height: 2.7rem;
		border: 0;
		border-radius: .95rem;
		background: var(--kalk);
		color: var(--tinte-weich);
		text-decoration: none;
		cursor: pointer;
		transition: background .28s ease, color .28s ease;
	}

	.leiste__el[hidden]
	{
		display: none;
	}

	.leiste__el:hover,
	.leiste__el:focus-visible,
	.leiste__el.ist-kopiert
	{
		background: var(--heide);
		color: var(--kalk);
	}

	.leiste__el:focus-visible
	{
		outline: 2px solid var(--malve);
		outline-offset: 2px;
	}
}
