/* IBM Plex Sans italic latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans italic latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* IBM Plex Sans normal latin-ext */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* IBM Plex Sans normal latin */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Sora normal latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/sora-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Sora normal latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/sora-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Künstliche Intelligenz (kuenstliche-intelligenz.biz) – Stilvorlage
   Quelle für assets/css/styles.css (bauen.py setzt die Schriften davor).
   Idee: ein feines Netz aus Knoten und Linien. Groß nur im Aufmacher,
   sonst als ruhiger Begleiter: Knoten auf einer Linie über Karten und Themen.
   ========================================================================== */

:root {
	--nacht: #1b1d4f;
	--nacht-tief: #15163f;
	--indigo: #3b3fc2;
	--indigo-dunkel: #2d309e;
	--peri: #7b83f6;
	--peri-hell: #a9afff;
	--peri-zart: #c9cdf7;
	--grund: #f3f5fb;
	--papier: #ffffff;
	--tint: #e8eafd;
	--tinte: #191b3d;
	--grau: #4f5479;
	--linie: #d5d9f1;
	--feld: #6b71ad;
	--fokus: #3b3fc2;
	--schrift-titel: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--schrift-text: "IBM Plex Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
	--rand: clamp(16px, 4vw, 40px);
	--breite: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--grund);
	color: var(--tinte);
	font-family: var(--schrift-text);
	font-size: 1.0625rem;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

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

a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--indigo-dunkel); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--schrift-titel);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.015em;
	color: var(--tinte);
}

p { margin: 0 0 1em; }

.nur-sr {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.nur-sr:focus {
	position: fixed; top: 12px; left: 12px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 10px 16px;
	background: var(--papier); color: var(--indigo);
	border-radius: 6px;
}

.bahn { width: min(var(--breite), calc(100% - 2 * var(--rand))); margin-inline: auto; }

/* ---------- Knöpfe ---------- */

.knopf {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 22px;
	border: 1.5px solid var(--indigo); border-radius: 8px;
	background: var(--indigo); color: #fff;
	font-family: var(--schrift-titel); font-weight: 600; font-size: .98rem; line-height: 1.2;
	text-decoration: none; text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.knopf:hover { background: var(--indigo-dunkel); border-color: var(--indigo-dunkel); color: #fff; text-decoration: none; }
.knopf--hell { background: var(--peri-hell); border-color: var(--peri-hell); color: var(--nacht); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--nacht); }
.knopf--leer { background: transparent; color: var(--indigo); }
.knopf--leer:hover { background: var(--indigo); color: #fff; }

/* ---------- Kopf und Menü ---------- */

.kopf { background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.kopf__marke { display: block; line-height: 0; border-radius: 6px; }
.logo { display: block; width: auto; height: 48px; }

.menue ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.menue a {
	position: relative; display: inline-block; padding-block: 6px;
	color: var(--tinte); font-weight: 500; font-size: .98rem; text-decoration: none;
}
.menue a:hover { color: var(--indigo); }
.menue a[aria-current="page"] { color: var(--indigo); }
.menue a[aria-current="page"]::after {
	content: ""; position: absolute; left: 50%; bottom: -5px;
	width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
	background: var(--peri);
}
.menue a.menue__beitrag { padding: 7px 14px; border: 1.5px solid var(--indigo); border-radius: 8px; color: var(--indigo); }
.menue a.menue__beitrag:hover { background: var(--indigo); color: #fff; }
.menue a.menue__beitrag[aria-current="page"] { background: var(--tint); }
.menue a.menue__beitrag[aria-current="page"]::after { display: none; }

@media (max-width: 860px) {
	.kopf__in { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 14px 12px; }
	.logo { height: 42px; }
	.menue ul { gap: 2px 18px; }
}

/* ---------- Aufmacher mit Netz ---------- */

.aufmacher { --fokus: var(--peri-hell); background: var(--nacht); color: #eef0ff; overflow: hidden; }
.aufmacher__in {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	gap: clamp(28px, 4.5vw, 64px); align-items: center;
	padding-block: clamp(44px, 6vw, 84px);
}
.aufmacher h1 {
	color: #f6f7ff;
	font-size: clamp(2.1rem, 1.15rem + 3.1vw, 3.45rem);
	line-height: 1.07; letter-spacing: -0.03em;
}
.aufmacher__vorspann { max-width: 34em; margin: 22px 0 30px; color: var(--peri-zart); font-size: 1.14rem; line-height: 1.6; }
.aufmacher__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.aufmacher__wege a:not(.knopf) { color: #eef0ff; font-weight: 500; }
.aufmacher__wege a:not(.knopf):hover { color: #fff; }

.netz { margin: 0; }
.netz svg { display: block; width: 100%; height: auto; overflow: visible; }

.netz__l {
	fill: none; stroke: var(--peri); stroke-width: 1; stroke-linecap: round;
	opacity: var(--o, .3);
	stroke-dasharray: 1;
	animation: ziehen .6s cubic-bezier(.3, .6, .3, 1) var(--v, 0s) both;
}
.netz__l--an { stroke: var(--peri-hell); stroke-width: 1.8; opacity: .95; }
.netz__k {
	fill: var(--nacht); stroke: var(--peri); stroke-width: 1.6;
	transform-box: fill-box; transform-origin: center;
	animation: auftauchen .45s cubic-bezier(.2, .9, .3, 1.3) var(--v, 0s) both;
}
.netz__k--ein { fill: var(--peri-hell); stroke: none; }
.netz__k--an { fill: var(--peri-hell); stroke: var(--peri-hell); }
.netz__k--aus { fill: #f3f4ff; stroke: var(--peri-hell); stroke-width: 3; }
.netz__schein { animation: einblenden 1.2s ease var(--v, 0s) both; }
.netz__ring {
	fill: none; stroke: var(--peri-hell); stroke-width: 1.5;
	transform-box: fill-box; transform-origin: center;
	opacity: 0;
	animation: puls 1.5s ease-out var(--v, 0s) both;
}
.netz__zeiger { fill: none; stroke: var(--peri-hell); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .75; animation: einblenden .5s ease var(--v, 0s) both; }
.netz__wort { fill: var(--peri-zart); font-family: var(--schrift-text); font-size: 15px; font-weight: 500; animation: einblenden .5s ease var(--v, 0s) both; }
.netz__wort--aus { fill: #fff; font-family: var(--schrift-titel); font-weight: 600; }

@keyframes ziehen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes auftauchen { from { opacity: 0; transform: scale(0); } }
@keyframes einblenden { from { opacity: 0; } }
@keyframes puls { 0% { opacity: 0; transform: scale(1); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(3.4); } }

@media (max-width: 900px) {
	.aufmacher__in { grid-template-columns: minmax(0, 1fr); }
	.netz { max-width: 620px; }
}
@media (max-width: 640px) {
	.netz__wort { font-size: 24px; }
	.aufmacher__vorspann { font-size: 1.06rem; }
}

/* ---------- Abschnitte der Startseite ---------- */

.abschnitt { padding-block: clamp(52px, 7vw, 96px); }
.abschnitt h2 { font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.02em; }
.abschnitt__einleitung { max-width: 60ch; margin: 14px 0 0; color: var(--grau); font-size: 1.08rem; }
.abschnitt__kopf { margin-bottom: 34px; }

/* Platzhalter, bis der erste Beitrag erscheint: ein leerer Knoten */
.leer {
	position: relative;
	max-width: 900px;
	padding: clamp(26px, 4vw, 44px);
	padding-left: calc(clamp(26px, 4vw, 44px) + 76px);
	background: var(--papier);
	border: 1px solid var(--linie); border-radius: 16px;
}
.leer::before {
	content: ""; position: absolute;
	left: clamp(26px, 4vw, 44px); top: clamp(30px, 4.2vw, 48px);
	width: 48px; height: 48px; border-radius: 50%;
	border: 2px dashed var(--peri);
}
.leer h3 { margin-bottom: 10px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); }
.leer p { max-width: 58ch; margin-bottom: 22px; }
@media (max-width: 600px) {
	.leer { padding-left: clamp(26px, 4vw, 44px); padding-top: 96px; }
}

/* Beitragsliste (füllt ~/Desktop/magazin-artikel.py) */
.liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.eintrag {
	position: relative;
	display: flex; flex-direction: column; gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--linie);
}
.eintrag::before {
	content: ""; position: absolute; top: -5px; left: 0;
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--peri);
}
.eintrag > a { display: block; border-radius: 10px; }
.eintrag img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
	background: var(--tint); border-radius: 10px;
}
.eintrag h3 { font-size: 1.18rem; line-height: 1.28; }
.eintrag h3 a { color: var(--tinte); text-decoration: none; }
.eintrag h3 a:hover { color: var(--indigo); text-decoration: underline; }
.eintrag__meta { margin-top: 8px; color: var(--grau); font-size: .9rem; }
.eintrag__anriss { margin: 10px 0 0; font-size: 1rem; }

.liste > .eintrag:first-child {
	grid-column: 1 / -1;
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(22px, 4vw, 52px); align-items: center;
	padding: clamp(16px, 2.2vw, 26px);
	background: var(--papier);
	border: 1px solid var(--linie); border-radius: 18px;
}
.liste > .eintrag:first-child::before { display: none; }
.liste > .eintrag:first-child img { border-radius: 12px; }
.liste > .eintrag:first-child h3 { font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.35rem); line-height: 1.12; letter-spacing: -0.025em; }
.liste > .eintrag:first-child .eintrag__meta { margin-top: 14px; }
.liste > .eintrag:first-child .eintrag__anriss { margin-top: 14px; font-size: 1.1rem; }

@media (max-width: 960px) {
	.liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.liste > .eintrag:first-child { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.liste { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* Themen */
.abschnitt--papier { background: var(--papier); border-block: 1px solid var(--linie); }
.themen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; margin: 0; padding: 0; list-style: none; }
.themen li { position: relative; padding-top: 22px; border-top: 1px solid var(--linie); }
.themen li::before {
	content: ""; position: absolute; top: -5px; left: 0;
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--peri);
}
.themen h3 { margin-bottom: 8px; font-size: 1.16rem; }
.themen p { margin: 0; color: var(--grau); }
@media (max-width: 900px) { .themen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .themen { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Ablauf: Knoten auf einer Leitung */
.mitmachen__kopf { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.mitmachen__kopf p { margin: 14px 0 0; max-width: 56ch; color: var(--grau); font-size: 1.08rem; }
.mitmachen__tun { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mitmachen__tun small { color: var(--grau); font-size: .92rem; }

.ablauf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.ablauf li { position: relative; padding-top: 60px; counter-increment: schritt; }
.ablauf li::before {
	content: counter(schritt);
	position: absolute; top: 0; left: 0;
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--grund); border: 1.5px solid var(--indigo);
	color: var(--indigo); font-family: var(--schrift-titel); font-weight: 600; font-size: .95rem;
}
.ablauf li:last-child::before { background: var(--indigo); color: #fff; }
.ablauf li:not(:last-child)::after {
	content: ""; position: absolute; top: 20.5px; left: 50px; right: -20px;
	height: 1.5px; background: var(--peri);
}
.ablauf h3 { margin-bottom: 6px; font-size: 1.04rem; }
.ablauf p { margin: 0; color: var(--grau); font-size: .97rem; }
.mitmachen__mehr { margin: 36px 0 0; }

@media (max-width: 900px) {
	.mitmachen__kopf { grid-template-columns: minmax(0, 1fr); align-items: start; }
	.ablauf { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ablauf li { min-height: 42px; padding: 6px 0 30px 62px; }
	.ablauf li:not(:last-child)::after { top: 50px; bottom: 8px; left: 20.5px; right: auto; width: 1.5px; height: auto; }
}

/* Newsletter */
.brief { background: var(--tint); }
.brief__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; align-items: center; padding-block: clamp(48px, 6vw, 76px); }
.brief h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; }
.brief__text p { margin: 12px 0 0; max-width: 46ch; }
.formular { display: flex; flex-wrap: wrap; gap: 10px; }
.formular label { width: 100%; font-weight: 500; font-size: .95rem; }
.formular input {
	flex: 1 1 220px; min-width: 0;
	padding: 13px 16px;
	border: 1.5px solid var(--feld); border-radius: 8px;
	background: #fff; color: var(--tinte);
	font: inherit;
}
.formular input::placeholder { color: #6a6f93; }
.formular-hinweis { margin: 12px 0 0; color: var(--grau); font-size: .9rem; }
@media (max-width: 860px) { .brief__in { grid-template-columns: minmax(0, 1fr); } }

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

.fuss { --fokus: var(--peri-hell); padding-block: 60px 30px; background: var(--nacht); color: var(--peri-zart); font-size: .98rem; }
.fuss a { color: #eef0ff; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.fuss .logo { height: 52px; margin-bottom: 18px; }
.fuss__ueber p { max-width: 38ch; margin: 0; }
.fuss__kopf { margin: 4px 0 14px; color: #fff; font-family: var(--schrift-titel); font-weight: 600; font-size: 1rem; }
.fuss ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fuss__sockel {
	display: flex; flex-wrap: wrap; gap: 8px 36px;
	margin-top: 48px; padding-top: 22px;
	border-top: 1px solid rgba(169, 175, 255, .28);
	font-size: .9rem;
}
@media (max-width: 860px) {
	.fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fuss__ueber { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .fuss__raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Unterseiten ---------- */

.seite__kopf .bahn { position: relative; padding-block: clamp(34px, 5vw, 60px) 30px; border-bottom: 1px solid var(--linie); }
.seite__kopf .bahn::after {
	content: ""; position: absolute; left: 0; bottom: -5px;
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--peri);
}
.pfad { margin: 0 0 18px; color: var(--grau); font-size: .92rem; }
.pfad a { color: var(--grau); }
.pfad span { margin-inline: 6px; }
.seite__kopf h1 { max-width: 24ch; font-size: clamp(1.95rem, 1.25rem + 2.4vw, 3rem); line-height: 1.1; letter-spacing: -0.028em; }

.seite__rumpf { padding-block: 44px 100px; }
.seite__rumpf--spalte { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.seite__spalte { position: sticky; top: 24px; }
@media (max-width: 960px) {
	.seite__rumpf--spalte { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.seite__spalte { position: static; }
}

.kasten { padding: 26px; background: var(--papier); border: 1px solid var(--linie); border-radius: 16px; }
.kasten h2 { margin-bottom: 12px; font-size: 1.15rem; }
.kasten p { margin-bottom: 12px; }
.kasten ul { margin: 0 0 20px; padding: 0; list-style: none; }
.kasten li { position: relative; margin-bottom: 8px; padding-left: 22px; font-size: .98rem; }
.kasten li::before {
	content: ""; position: absolute; left: 2px; top: .62em;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--peri);
}
.kasten .knopf { width: 100%; }

/* Fließtext (Unterseiten und Beitragsseiten) */
.text { max-width: 70ch; }
.text > :first-child { margin-top: 0; }
.text p { margin: 0 0 1.05em; }
.text h2 { margin: 2.1em 0 .6em; font-size: clamp(1.4rem, 1.15rem + .8vw, 1.75rem); letter-spacing: -0.02em; }
.text h3 { margin: 1.8em 0 .5em; font-size: 1.2rem; }
.text ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.text ul li { position: relative; margin-bottom: .55em; padding-left: 26px; }
.text ul li::before {
	content: ""; position: absolute; left: 4px; top: .62em;
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--peri);
}
.text ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.text ol li { margin-bottom: .55em; padding-left: 4px; }
.text blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 24px;
	border-left: 3px solid var(--peri);
	font-size: 1.12rem;
}
.text blockquote p:last-child { margin-bottom: 0; }
.text strong { font-weight: 600; }
.text .vorspann { font-size: 1.22rem; line-height: 1.55; }

.text ul.pruefliste li::before {
	left: 3px; top: .45em;
	width: 11px; height: 6px; border-radius: 0;
	background: none;
	border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
	transform: rotate(-45deg);
}

.text ol.schritte { margin: 1.5em 0 1.8em; padding: 0; list-style: none; counter-reset: schritt; }
.text ol.schritte li { position: relative; min-height: 42px; margin: 0; padding: 7px 0 28px 62px; counter-increment: schritt; }
.text ol.schritte li::before {
	content: counter(schritt);
	position: absolute; top: 0; left: 0;
	display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--grund); border: 1.5px solid var(--indigo);
	color: var(--indigo); font-family: var(--schrift-titel); font-weight: 600; font-size: .95rem;
}
.text ol.schritte li:last-child { padding-bottom: 0; }
.text ol.schritte li:last-child::before { background: var(--indigo); color: #fff; }
.text ol.schritte li:not(:last-child)::after {
	content: ""; position: absolute; top: 50px; bottom: 8px; left: 20.5px;
	width: 1.5px; background: var(--peri);
}

.aufruf {
	--fokus: var(--peri-hell);
	margin: 2.6em 0;
	padding: clamp(26px, 4vw, 42px);
	background: var(--nacht); color: var(--peri-zart);
	border-radius: 18px;
}
.text .aufruf h2 { margin: 0 0 .5em; color: #fff; }
.aufruf p { color: var(--peri-zart); }
.aufruf .knopf { background: var(--peri-hell); border-color: var(--peri-hell); color: var(--nacht); }
.aufruf .knopf:hover { background: #fff; border-color: #fff; color: var(--nacht); }
.aufruf small { display: block; margin-top: 16px; font-size: .92rem; }
.aufruf a:not(.knopf) { color: #fff; }

.fragen { margin-top: 1em; border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary {
	position: relative;
	padding: 18px 44px 18px 0;
	font-family: var(--schrift-titel); font-weight: 600; font-size: 1.04rem; line-height: 1.35;
	list-style: none; cursor: pointer;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
	content: ""; position: absolute; right: 8px; top: 50%;
	width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
	border: 2px solid var(--indigo);
	transition: background-color .2s ease;
}
.fragen details[open] summary::after { background: var(--indigo); }
.fragen details p { margin: 0 0 20px; }

.herausgeber {
	display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: start;
	margin: 1em 0 1.6em; padding: 20px;
	background: var(--papier); border: 1px solid var(--linie); border-radius: 14px;
}
.herausgeber img { width: 140px; border-radius: 10px; }
.herausgeber p { margin: 0; }
@media (max-width: 520px) { .herausgeber { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */

.fehler { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; padding-block: clamp(52px, 8vw, 104px); }
.fehler h1 { margin-bottom: 16px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.028em; }
.fehler p { max-width: 50ch; margin-bottom: 26px; }
.fehler svg { width: 100%; max-width: 360px; height: auto; justify-self: center; }
@media (max-width: 760px) { .fehler { grid-template-columns: minmax(0, 1fr); } .fehler svg { max-width: 260px; justify-self: start; } }

/* ---------- Beitragsseiten (erzeugt ~/Desktop/magazin-artikel.py) ---------- */

main.bahn { padding-bottom: 96px; }

.beitragskopf { max-width: 920px; padding-top: clamp(36px, 5vw, 64px); }
.marke {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 5px 13px 5px 11px;
	background: var(--tint); color: var(--indigo-dunkel);
	border-radius: 999px;
	font-family: var(--schrift-titel); font-weight: 600; font-size: .86rem; letter-spacing: 0;
}
.marke::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.beitragskopf h1 { margin: 18px 0 16px; font-size: clamp(2rem, 1.3rem + 2.5vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; }
.beitragskopf__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; color: var(--grau); font-size: .95rem; }
.beitragskopf__meta span { display: inline-flex; align-items: center; gap: 18px; }
.beitragskopf__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--peri); }

.grossbild { margin: clamp(26px, 4vw, 40px) 0 clamp(32px, 5vw, 52px); }
.grossbild img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: contain;
	background: var(--tint); border-radius: 16px;
}

.koerper { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 5vw, 64px); align-items: start; }
.koerper .text { font-size: 1.08rem; line-height: 1.7; }
.spalte { position: sticky; top: 24px; display: grid; gap: 22px; }
.spalte__block { padding: 24px; background: var(--papier); border: 1px solid var(--linie); border-radius: 16px; }
.spalte__block h4 { margin-bottom: 10px; font-size: 1.05rem; }
.spalte__block p { margin: 0 0 14px; font-size: .97rem; }
.spalte__block p:last-child { margin-bottom: 0; }
.spalte__liste { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.spalte__liste li { position: relative; padding-left: 20px; font-size: .96rem; line-height: 1.4; }
.spalte__liste li::before {
	content: ""; position: absolute; left: 1px; top: .45em;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--peri);
}
.spalte__liste a { color: var(--tinte); text-decoration: none; }
.spalte__liste a:hover { color: var(--indigo); text-decoration: underline; }

.weiter { margin-top: clamp(56px, 7vw, 88px); padding-top: 34px; border-top: 1px solid var(--linie); }
.weiter > .marke { margin-bottom: 26px; padding: 0; background: none; color: var(--tinte); font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem); letter-spacing: -0.02em; }
.weiter > .marke::before { width: 9px; height: 9px; background: var(--peri); }
.weiter__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.weiter__karte a { display: block; color: var(--tinte); text-decoration: none; border-radius: 10px; }
.weiter__karte img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--tint); border-radius: 10px; }
.weiter__karte h3 { margin-top: 14px; font-size: 1.08rem; line-height: 1.3; }
.weiter__karte a:hover h3 { color: var(--indigo); text-decoration: underline; }

@media (max-width: 960px) {
	.koerper { grid-template-columns: minmax(0, 1fr); }
	.spalte { position: static; }
	.weiter__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .weiter__raster { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bewegung nur, wenn erwünscht ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.netz, .netz * { animation: none !important; }
	.knopf, .fragen summary::after { transition: none; }
}
