/* Lernsafari — Kartenpapier, Fichtentinte, Wegzeichen-Gelb.
   Gelb nur für Wegweiser, Etappenpunkte und die eine Handlung je Ansicht. */

@font-face { font-family: "Overpass"; src: url(../fonts/overpass-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url(../fonts/literata-latin-wght-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url(../fonts/literata-latin-wght-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Overpass Mono"; src: url(../fonts/overpass-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
	--papier: #f1f4ef;
	--papier-hell: #f8faf6;
	--tinte: #17302b;
	--tinte-weich: #4c615b;
	--linie: #b9cbbf;
	--linie-fein: #d8e2da;
	--wegzeichen: #f4c430;
	--wegzeichen-tief: #c99a12;
	--wasser: #1f5f7a;
	--nacht: #10231f;
	--code-grund: #e3ebe5;

	/* Themenfarben wie in einer Kartenlegende: Regal, Legende, Steckbriefe */
	--t-programmieren-lernen: #2f6f8f;
	--t-architektur-clean-code: #5b4b8a;
	--t-data-science-ki: #2e7d5b;
	--t-it-sicherheit: #8c3b3b;
	--t-game-design: #7a3e6b;
	--t-weiterbildung: #55642f;
	--t-praxis-karriere: #3d4f5c;

	--schrift-ui: "Overpass", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--schrift-text: "Literata", Georgia, "Times New Roman", serif;
	--schrift-code: "Overpass Mono", ui-monospace, Menlo, Consolas, monospace;

	--rand: clamp(16px, 4vw, 40px);
	--raster: 1200px;
	--lesebreite: 42rem;
	--abschnitt: clamp(48px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--papier);
	color: var(--tinte);
	font: 400 1rem/1.55 var(--schrift-ui);
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--wasser); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--wasser); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--schrift-ui); color: var(--tinte); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.022em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 750; line-height: 1.15; letter-spacing: -.012em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }

.raster { max-width: var(--raster); margin-inline: auto; padding-inline: var(--rand); }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--wegzeichen); color: var(--tinte); padding: 10px 14px; font-weight: 700; }
.sprung:focus { top: 12px; }

/* Knöpfe */
.knopf {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: 0 1.25em; border-radius: 4px; border: 2px solid transparent;
	font: 700 1rem/1 var(--schrift-ui); text-decoration: none; cursor: pointer;
}
.knopf--gelb { background: var(--wegzeichen); color: var(--tinte); border-color: var(--tinte); }
.knopf--gelb:hover { background: #ffd34d; }
.knopf--rand { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf--rand:hover { background: var(--tinte); color: var(--papier); }

/* -------------------------------------------------------------------------
 * Kopf
 * ---------------------------------------------------------------------- */
.kopf { background: var(--papier); border-bottom: 1px solid var(--linie); position: relative; z-index: 20; }
.kopf__zeile { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; flex-shrink: 0; }
.marke__zeichen { width: 30px; height: 30px; }
.marke__zeichen rect { fill: var(--wegzeichen); stroke: var(--tinte); stroke-width: 2; }
.marke__zeichen path { fill: none; stroke: var(--tinte); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.marke__name { font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }

.menue { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.menue-liste { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menue-liste a { display: block; white-space: nowrap; padding: 8px 9px; color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.menue-liste a:hover { border-bottom-color: var(--linie); }
.menue-liste a[aria-current] { border-bottom-color: var(--wegzeichen); }
.menue-regal a { border: 1.5px solid var(--tinte); border-radius: 4px; margin-left: 6px; }
.menue-regal a:hover, .menue-regal a[aria-current] { background: var(--tinte); color: var(--papier); border-bottom-color: var(--tinte); }

.kopf-suche { display: flex; align-items: center; border: 1.5px solid var(--linie); border-radius: 4px; background: var(--papier-hell); }
.kopf-suche input { border: 0; background: transparent; font: inherit; padding: 8px 10px; width: 11rem; color: var(--tinte); }
.kopf-suche input:focus { outline: none; }
.kopf-suche:focus-within { border-color: var(--wasser); box-shadow: 0 0 0 2px var(--wasser); }
.kopf-suche button { border: 0; background: none; padding: 6px 10px; cursor: pointer; color: var(--tinte); }
.kopf-suche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.menue-knopf { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--tinte); border-radius: 4px; padding: 8px 12px; font: 700 .95rem var(--schrift-ui); color: var(--tinte); cursor: pointer; }
.menue-knopf__striche, .menue-knopf__striche::before, .menue-knopf__striche::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.menue-knopf__striche::before { position: absolute; top: -6px; }
.menue-knopf__striche::after { position: absolute; top: 6px; }

@media (max-width: 1200px) {
	.kopf__zeile { flex-wrap: wrap; }
	.menue-knopf { display: inline-flex; }
	.menue { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 18px; }
	.kopf.ist-offen .menue { display: flex; }
	.menue-liste { flex-direction: column; }
	.menue-liste a { padding: 12px 4px; border-bottom: 1px solid var(--linie-fein); }
	.menue-regal a { margin: 8px 0 0; text-align: center; }
	.kopf-suche input { width: 100%; }
}

/* -------------------------------------------------------------------------
 * Bühne mit Wegweiser
 * ---------------------------------------------------------------------- */
.buehne {
	background: var(--papier) url(../img/hoehenlinien.svg) no-repeat right -120px top -40px / 900px auto;
	border-bottom: 1px solid var(--linie);
	padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px);
}
.buehne__raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.buehne h1 { max-width: 13ch; font-size: clamp(2.4rem, 5.6vw, 4.3rem); }
.buehne__unterzeile { font: 400 clamp(1.1rem, 1.6vw, 1.28rem)/1.55 var(--schrift-text); color: var(--tinte-weich); max-width: 34rem; margin: 20px 0 30px; }
.buehne__suche label { display: block; font-weight: 700; margin-bottom: 8px; }
.suchzeile { display: flex; gap: 8px; max-width: 32rem; }
.suchzeile input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 2px solid var(--tinte); border-radius: 4px; background: var(--papier-hell); font: 1rem var(--schrift-ui); color: var(--tinte); }
.buehne__weg-kopf { font-size: .92rem; color: var(--tinte-weich); margin: 0 0 42px; text-align: center; }

.wegweiser { position: relative; padding: 6px 0 40px; }
.wegweiser__pfosten { position: absolute; left: 50%; top: -18px; bottom: 0; width: 14px; margin-left: -7px; background: #5e4a32; border-radius: 3px 3px 0 0; box-shadow: inset -4px 0 0 rgba(0,0,0,.18); }
.wegweiser__pfosten::before { content: ""; position: absolute; top: -14px; left: -3px; width: 20px; height: 20px; background: var(--wegzeichen); border: 2px solid var(--tinte); transform: rotate(45deg); }
.wegweiser ul { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 10px; }
.schild a {
	--spitze: 22px;
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	width: calc(50% + 3.2rem); margin-left: calc(50% - 3.2rem); min-width: 0;
	padding: 12px calc(var(--spitze) + 10px) 11px 18px;
	background: var(--wegzeichen); color: var(--tinte); text-decoration: none;
	clip-path: polygon(0 0, calc(100% - var(--spitze)) 0, 100% 50%, calc(100% - var(--spitze)) 100%, 0 100%);
	transition: transform .18s ease;
}
.schild--links a { margin-left: 0; padding: 12px 18px 11px calc(var(--spitze) + 10px); clip-path: polygon(var(--spitze) 0, 100% 0, 100% 100%, var(--spitze) 100%, 0 50%); }
.schild { filter: drop-shadow(0 3px 0 rgba(16, 35, 31, .28)); }
.schild__ziel { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
.schild__zeit { font-weight: 600; font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.schild a:hover { transform: translateX(5px); background: #ffd34d; }
.schild--links a:hover { transform: translateX(-5px); }
.schild a:focus-visible { outline-offset: 4px; }

@media (max-width: 860px) {
	.buehne { background-size: 640px auto; background-position: right -260px top -60px; }
	.buehne__raster { grid-template-columns: 1fr; }
	.schild a { width: 84%; margin-left: 16%; }
	.schild--links a { margin-left: 0; }
}

/* -------------------------------------------------------------------------
 * Abschnitte, Themen, Karten
 * ---------------------------------------------------------------------- */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--hell { background: var(--papier-hell); border-block: 1px solid var(--linie-fein); }
.abschnitt__titel { margin-bottom: 28px; }

.themen__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 0 40px; border-top: 2px solid var(--tinte); }
.thema a { display: grid; grid-template-columns: 18px 1fr; column-gap: 14px; padding: 18px 0 20px; border-bottom: 1px solid var(--linie); color: var(--tinte); text-decoration: none; height: 100%; }
.thema a::before { content: ""; grid-row: 1 / span 3; width: 18px; height: 18px; margin-top: 3px; background: var(--farbe, var(--tinte)); border-radius: 2px; }
.thema__name { font-weight: 800; font-size: 1.2rem; }
.thema__text { color: var(--tinte-weich); font-size: .97rem; margin-top: 4px; }
.thema__zahl { font-size: .88rem; color: var(--tinte-weich); margin-top: 8px; }
.thema a:hover .thema__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

.thema--programmieren-lernen, .ruecken--programmieren-lernen, .steckbrief--programmieren-lernen, .filter__knopf--programmieren-lernen { --farbe: var(--t-programmieren-lernen); }
.thema--architektur-clean-code, .ruecken--architektur-clean-code, .steckbrief--architektur-clean-code, .filter__knopf--architektur-clean-code { --farbe: var(--t-architektur-clean-code); }
.thema--data-science-ki, .ruecken--data-science-ki, .steckbrief--data-science-ki, .filter__knopf--data-science-ki { --farbe: var(--t-data-science-ki); }
.thema--it-sicherheit, .ruecken--it-sicherheit, .steckbrief--it-sicherheit, .filter__knopf--it-sicherheit { --farbe: var(--t-it-sicherheit); }
.thema--game-design, .ruecken--game-design, .steckbrief--game-design, .filter__knopf--game-design { --farbe: var(--t-game-design); }
.thema--weiterbildung, .ruecken--weiterbildung, .steckbrief--weiterbildung, .filter__knopf--weiterbildung { --farbe: var(--t-weiterbildung); }
.thema--praxis-karriere, .ruecken--praxis-karriere, .steckbrief--praxis-karriere, .filter__knopf--praxis-karriere { --farbe: var(--t-praxis-karriere); }

.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.karte { display: flex; flex-direction: column; }
.karte__bild { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--linie-fein); margin-bottom: 14px; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; }
.karte__rubrik { font-size: .88rem; font-weight: 600; color: var(--tinte-weich); margin: 0 0 4px; }
.karte__titel { font-size: 1.18rem; line-height: 1.28; margin-bottom: 8px; }
.karte__titel a { color: var(--tinte); text-decoration: none; }
.karte__titel a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.karte__anriss { color: var(--tinte-weich); font-size: .97rem; margin: 0; }

.regal-auszug { border-top: 1px solid var(--linie); }
.regal-auszug__raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.regal-auszug p { color: var(--tinte-weich); max-width: 30rem; margin-bottom: 24px; }
@media (max-width: 860px) { .regal-auszug__raster { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
 * Rubrikkopf, Brotkrumen, Leerzustände
 * ---------------------------------------------------------------------- */
.rubrik-kopf { background: var(--papier) url(../img/hoehenlinien.svg) no-repeat right -200px top -200px / 820px auto; border-bottom: 1px solid var(--linie); padding-block: clamp(32px, 5vw, 64px); }
.rubrik-kopf h1 { max-width: 20ch; }
.rubrik-kopf__text { font: 400 1.15rem/1.6 var(--schrift-text); color: var(--tinte-weich); max-width: 40rem; margin-top: 16px; }
.rubrik-kopf .buehne__suche { margin-top: 24px; }
.pfadleiste { display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; margin-bottom: 18px; }
.pfadleiste a { color: var(--tinte-weich); }
.pfadleiste a + a::before { content: "/"; display: inline-block; margin-right: 6px; color: var(--linie); }
.leer { font-size: 1.08rem; max-width: 40rem; }
.leer__themen { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.leer__themen a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--tinte); border-radius: 4px; color: var(--tinte); text-decoration: none; font-weight: 600; }
.leer__themen a:hover { background: var(--tinte); color: var(--papier); }
.nav-links { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1.5px solid var(--linie); border-radius: 4px; color: var(--tinte); text-decoration: none; }
.nav-links .current { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }

/* -------------------------------------------------------------------------
 * Artikel
 * ---------------------------------------------------------------------- */
.artikel-seite { padding-top: clamp(24px, 4vw, 48px); }
.artikel__kopf { max-width: 50rem; margin-bottom: 28px; }
.artikel__kopf h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.artikel__zeile { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-size: .95rem; color: var(--tinte-weich); }
.artikel__zeile a { color: inherit; }
.artikel__bild { margin: 0 auto 40px; }
.artikel__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.raster--breit { max-width: calc(var(--raster) + 2 * var(--rand)); }
.artikel__raster { display: block; padding-bottom: var(--abschnitt); }
.artikel__raster--etappen { display: grid; grid-template-columns: 15rem minmax(0, var(--lesebreite)); gap: clamp(32px, 5vw, 72px); justify-content: start; }
.artikel { min-width: 0; max-width: var(--lesebreite); }

.etappen { position: relative; }
.etappen__klappe { position: sticky; top: 24px; }
.etappen summary { font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none; padding-bottom: 12px; }
.etappen summary::-webkit-details-marker { display: none; }
.etappen ol { list-style: none; margin: 0; padding: 2px 0 0 14px; position: relative; max-height: calc(100vh - 120px); overflow: auto; }
.etappen ol::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 16px; border-left: 2px dashed var(--linie); }
.etappen li { position: relative; padding: 0 0 12px 8px; }
.etappen li::before { content: ""; position: absolute; left: -14px; top: .42em; width: 12px; height: 12px; border-radius: 50%; background: var(--papier); border: 2px solid var(--linie); }
.etappen a { color: var(--tinte-weich); text-decoration: none; font-size: .93rem; line-height: 1.35; display: block; }
.etappen a:hover { color: var(--tinte); text-decoration: underline; }
.etappen li.ist-erreicht::before { background: var(--tinte); border-color: var(--tinte); }
.etappen li.ist-hier::before { background: var(--wegzeichen); border-color: var(--tinte); }
.etappen li.ist-hier a { color: var(--tinte); font-weight: 700; }

@media (max-width: 960px) {
	.artikel__raster--etappen { grid-template-columns: minmax(0, 1fr); }
	.etappen__klappe { position: static; border: 1.5px solid var(--linie); border-radius: 4px; padding: 14px 16px 4px; background: var(--papier-hell); }
	.etappen summary::after { content: " anzeigen"; font-weight: 400; color: var(--tinte-weich); }
	.etappen__klappe[open] summary::after { content: ""; }
	.etappen ol { max-height: none; }
}

/* Lesetext */
.text { font: 400 1.125rem/1.75 var(--schrift-text); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.text > * + * { margin-top: 1.15em; }
.text p { margin: 0; }
.text h2 { margin-top: 2.3em; font-size: clamp(1.45rem, 2.4vw, 1.8rem); scroll-margin-top: 24px; hyphens: manual; }
.text h3 { margin-top: 1.9em; font-size: 1.24rem; hyphens: manual; }
.text h2 + *, .text h3 + * { margin-top: .6em; }
.text ul, .text ol { padding-left: 1.3em; margin-bottom: 0; }
.text li + li { margin-top: .4em; }
.text ul li::marker { color: var(--tinte-weich); }
.text ol li::marker { font-family: var(--schrift-ui); font-weight: 700; }
.text strong { font-weight: 650; }
.text blockquote { margin-left: 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--linie); color: var(--tinte-weich); font-style: italic; }
.text figure { margin: 2em 0; }
.text figure img, .text > p > img { border-radius: 4px; width: 100%; height: auto; }
.text figcaption { font: 400 .9rem/1.5 var(--schrift-ui); color: var(--tinte-weich); margin-top: 10px; }
.text hr { border: 0; border-top: 1px solid var(--linie); margin: 2.4em 0; }
.text code { font: .9em var(--schrift-code); background: var(--code-grund); padding: .1em .35em; border-radius: 3px; }
.text pre { background: var(--nacht); color: #e6efe9; padding: 18px 20px; border-radius: 4px; overflow-x: auto; font: .92rem/1.6 var(--schrift-code); hyphens: none; }
.text pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.tabelle { overflow-x: auto; border: 1px solid var(--linie); border-radius: 4px; }
.text table { width: 100%; border-collapse: collapse; font: 400 .95rem/1.45 var(--schrift-ui); }
.text th, .text td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--linie-fein); vertical-align: top; }
.text th { background: var(--papier-hell); font-weight: 700; border-bottom: 2px solid var(--tinte); }
.text tr:last-child td { border-bottom: 0; }
.text--seite { max-width: var(--lesebreite); padding-bottom: var(--abschnitt); }

.redaktion { margin-top: 56px; padding: 22px 24px; border-left: 4px solid var(--wegzeichen); background: var(--papier-hell); font-size: .97rem; color: var(--tinte-weich); }
.redaktion__name { font-weight: 800; color: var(--tinte); margin-bottom: 6px; }

/* -------------------------------------------------------------------------
 * Regal und Steckbriefe
 * ---------------------------------------------------------------------- */
.regal__reihe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 28px; }
.regal__platz { padding: 0 2px; border-bottom: 10px solid #5e4a32; box-shadow: 0 4px 0 -1px #3e3122; }
.regal__platz:first-child { padding-left: 14px; }
.regal__platz[hidden] { display: none; }
.ruecken {
	display: flex; align-items: center; justify-content: center;
	writing-mode: vertical-rl; transform: rotate(180deg);
	width: 2.75rem; height: 12rem; padding: 14px 0;
	background: var(--farbe, var(--tinte)); color: #fff; text-decoration: none;
	border-radius: 2px 2px 1px 1px;
	box-shadow: inset 0 10px 0 -7px rgba(255,255,255,.55), inset 0 -10px 0 -7px rgba(255,255,255,.55), inset 3px 0 0 rgba(0,0,0,.18);
	transition: transform .15s ease;
}
.ruecken--niedrig { height: 10rem; }
.ruecken--hoch { height: 14.5rem; width: 3rem; }
.ruecken__titel { font: 700 .82rem/1.15 var(--schrift-ui); letter-spacing: .01em; max-height: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }
.ruecken:hover { transform: rotate(180deg) translateY(10px); }
.ruecken:focus-visible { outline: 3px solid var(--wegzeichen); outline-offset: 2px; }
.regal__legende { font-size: .92rem; color: var(--tinte-weich); margin-top: 22px; }
.abschnitt--regal { padding-bottom: 24px; }
.abschnitt--regal + .abschnitt { padding-top: 32px; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter__knopf { font: 600 .95rem var(--schrift-ui); padding: 8px 14px; border-radius: 4px; border: 1.5px solid var(--linie); background: var(--papier-hell); color: var(--tinte); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.filter__knopf[data-filter]:not([data-filter=""])::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--farbe); }
.filter__knopf[aria-pressed="true"] { border-color: var(--tinte); background: var(--tinte); color: var(--papier); }

.steckbriefe { display: grid; gap: 56px; }
.steckbriefe__gruppe[hidden] { display: none; }
.steckbriefe__gruppe h2 { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--tinte); }
.steckbriefe__gruppe { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; }
.steckbriefe__gruppe h2 { grid-column: 1 / -1; }
.steckbrief { padding: 18px 0 18px 18px; border-left: 4px solid var(--farbe); border-bottom: 1px solid var(--linie-fein); scroll-margin-top: 24px; }
.steckbrief:target { background: #fff6d6; box-shadow: inset 0 0 0 2px var(--wegzeichen-tief); }
.steckbrief__titel { font-size: 1.12rem; }
.steckbrief__autoren { color: var(--tinte-weich); font-size: .95rem; margin: 4px 0 8px; }
.steckbrief__niveau { margin: 0 0 8px; }
.niveau { display: inline-block; font-size: .82rem; font-weight: 700; padding: 2px 8px; border-radius: 3px; border: 1.5px solid var(--tinte); }
.niveau--einstieg { background: var(--papier-hell); }
.niveau--mittel { background: #dfe8e1; }
.niveau--fortgeschritten { background: var(--tinte); color: var(--papier); }
.steckbrief__notiz { font: 400 1rem/1.6 var(--schrift-text); margin-bottom: 8px; }
.steckbrief__weg { font-size: .93rem; margin: 0; }

/* -------------------------------------------------------------------------
 * Fuß
 * ---------------------------------------------------------------------- */
.fuss { background: var(--nacht); color: #c9d6cf; padding-top: clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.fuss a { color: #eef4f0; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss :focus-visible { outline-color: var(--wegzeichen); }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 96px; position: relative; z-index: 1; }
.fuss__name { font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.fuss__marke p:not(.fuss__name) { max-width: 26rem; font-size: .95rem; }
.fuss__kopf { font-weight: 700; color: #fff; margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.fuss__linien { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; fill: none; stroke: #2c4740; stroke-width: 1.5; }
@media (max-width: 760px) { .fuss__raster { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
