/* ---------- Bühne ---------- */
.stage { position: relative; overflow: hidden; border-bottom: 1px solid var(--l); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 640px at var(--mx) var(--my), rgba(245,197,24,0.13), rgba(245,197,24,0.04) 45%, transparent 70%); pointer-events: none; transition: background 80ms linear; }
.orb { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -120px; top: -180px; background: radial-gradient(circle, rgba(245,197,24,0.55), rgba(245,197,24,0.12) 45%, transparent 70%); filter: blur(30px); pointer-events: none; transform: translate(calc((var(--mxn, 0.7) - 0.7) * 60px), calc((var(--myn, 0.3) - 0.3) * 60px)); transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
.hero { position: relative; padding: 84px 0 0; min-height: 640px; }
.hero .container { position: relative; }
.num-bg { position: absolute; right: -10px; top: -30px; font-family: var(--fd); font-weight: 900; font-size: clamp(180px, 26vw, 400px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(245,197,24,0.38); pointer-events: none; user-select: none; }
.hero h1 { position: relative; z-index: 2; font-family: var(--fd); font-weight: 900; font-size: clamp(44px, 7.2vw, 110px); line-height: 0.92; letter-spacing: -0.045em; margin: 26px 0 0; max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 900; color: var(--y); }
.hero .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 34px; position: relative; z-index: 2; }
@media (max-width: 800px) { .hero .row { grid-template-columns: 1fr; } }
.hero .sub { font-size: 19px; line-height: 1.5; color: var(--t2); max-width: 52ch; }
.hero .sub b { color: var(--t); font-weight: 600; }
.sigwrap { position: relative; height: 220px; margin-top: 10px; }
/* Nur die Bühnen-Signatur liegt absolut; Zeilenlinien (.rowsig) fliessen normal. */
.sigwrap .sig { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
@media (max-width: 800px) { .sigwrap { height: 140px; } .num-bg { font-size: 34vw; top: 0; } }

/* ---------- Sektionen ---------- */
.sec { padding: 72px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; gap: 20px; }
.sec-head h2 { font-family: var(--fd); font-weight: 800; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1; }
.sec-head h2 span { color: var(--y); }
.sec-head a { font-family: var(--fm); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t2); border-bottom: 1px solid var(--l2); padding-bottom: 4px; white-space: nowrap; }
.sec-head a:hover { color: var(--t); border-color: var(--y); }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about h2 { font-family: var(--fd); font-weight: 800; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.about p { color: var(--t2); font-size: 18px; max-width: 58ch; }
.about p b { color: var(--t); font-weight: 600; }
.about p + p { margin-top: 14px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--l); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--l); font-size: 15px; }
.facts span { font-family: var(--fm); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3); padding-top: 4px; }
.facts b { font-weight: 500; }

/* ---------- Beitrag ---------- */
.phead { position: relative; overflow: hidden; border-bottom: 1px solid var(--l); }
.phead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 560px at var(--mx) var(--my), rgba(245,197,24,0.11), transparent 70%); pointer-events: none; }
.phead .container { position: relative; padding-top: 72px; }
.phead h1 { font-family: var(--fd); font-weight: 900; font-size: clamp(40px, 6vw, 92px); line-height: 0.94; letter-spacing: -0.045em; margin-top: 22px; max-width: 16ch; position: relative; z-index: 2; }
.phead h1 em { color: var(--y); font-style: italic; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--t2); max-width: 44ch; margin-top: 26px; position: relative; z-index: 2; }
.metarow { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 28px; font-family: var(--fm); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3); position: relative; z-index: 2; }
.metarow b { color: var(--t); font-weight: 500; }
.metarow .stamp { transform: rotate(-3deg); margin-left: 6px; }
/* padding als Longhand: das Kurzformat würde das horizontale Padding von .container
   auf 0 setzen und der Artikeltext klebte am Viewport-Rand (Prototyp-Versehen). */
.body { display: grid; grid-template-columns: minmax(0, 680px) 1fr; gap: 64px; padding-top: 56px; padding-bottom: 80px; }
@media (max-width: 1000px) { .body { grid-template-columns: 1fr; } .aside { display: none; } }
.kurz { border-left: 3px solid var(--y); padding: 6px 0 6px 22px; margin-bottom: 36px; font-size: 18px; line-height: 1.5; }
.kurz b { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--y); font-weight: 700; margin-bottom: 8px; }
.body p { font-size: 18px; line-height: 1.7; margin-bottom: 22px; }
.body p a { color: var(--t); text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: background 150ms; }
.body p a:hover { background: var(--y); color: var(--g); text-decoration: none; }
.body h2 { font-family: var(--fd); font-weight: 800; font-size: 32px; letter-spacing: -0.035em; line-height: 1.05; margin: 44px 0 16px; }
.body h2::before { content: attr(data-n); font-family: var(--fm); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; color: var(--y); display: block; margin-bottom: 10px; }
.pull { font-family: var(--fd); font-weight: 800; font-style: italic; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; color: var(--y); margin: 44px 0; max-width: 20ch; position: relative; padding-left: 26px; }
.pull::before { content: "«"; position: absolute; left: 0; top: 0; color: var(--t3); }
pre { font-family: var(--fm); font-size: 14px; line-height: 1.6; background: var(--g2); border: 1px solid var(--l); border-radius: 6px; padding: 20px 22px; overflow-x: auto; margin: 0 0 24px; color: var(--t2); }
pre .k { color: var(--ib); } pre .s { color: var(--y); } pre .c { color: var(--t3); }
.urteil-box { margin: 48px 0 0; padding: 32px 0 0; border-top: 1px solid var(--l); display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.urteil-box .stamp { font-size: 15px; padding: 18px 22px; transform: rotate(-5deg); }
.urteil-box p { margin: 0; color: var(--t2); font-size: 16px; max-width: 40ch; }
.aside { padding-top: 6px; }
.aside .box { border-top: 1px solid var(--l); padding: 16px 0; font-size: 14px; color: var(--t2); }
.aside .box b { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3); margin-bottom: 8px; font-weight: 500; }
.aside .toc a { display: block; padding: 6px 0; color: var(--t2); border-left: 2px solid var(--l); padding-left: 12px; transition: all 150ms; }
.aside .toc a:hover, .aside .toc a.on { color: var(--t); border-color: var(--y); }
.aside .share { display: flex; gap: 8px; flex-wrap: wrap; }
.aside .share a, .aside .share button { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--l2); border-radius: 999px; padding: 7px 11px; color: var(--t2); cursor: pointer; background: transparent; }
.aside .share a:hover, .aside .share button:hover { border-color: var(--y); color: var(--y); }
.next { border-top: 1px solid var(--l); }
.next a { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px 0; }
.next .k { font-family: var(--fm); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t3); }
.next .t { font-family: var(--fd); font-weight: 800; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.05; }
.next .n { font-family: var(--fd); font-weight: 900; font-size: 64px; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px var(--t3); }
.next a:hover .n { color: var(--co); -webkit-text-stroke: 0; }
/* Fix (Task 8): der Stempel als dritte "auto"-Spur erzwang bei 375px eine
   Mindestbreite über den Viewport hinaus (horizontales Scrollen). Stempel
   bekommt eine eigene Zeile, wie .hero .row es bei 800px bereits vormacht. */
@media (max-width: 600px) { .next a { grid-template-columns: auto 1fr; row-gap: 14px; } .next .stamp { grid-column: 1 / -1; justify-self: start; } }

.phead .metarow .stamp { margin-left: 6px; }
.body p.lead-in { font-size: 19px; }
.body .fig { margin: 0 0 24px; }
.body .fig img { display: block; border-radius: 6px; border: 1px solid var(--l); }
.body .fig figcaption { font-family: var(--fm); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t3); margin-top: 8px; }
.body .cite { font-family: var(--fm); font-size: 12px; color: var(--t3); margin: -32px 0 32px 26px; }
.body ul, .body ol { padding-left: 22px; margin: 0 0 22px; font-size: 18px; line-height: 1.7; }
.body li + li { margin-top: 6px; }
.body hr { border: 0; border-top: 1px solid var(--l); margin: 36px 0; }
.body h3 { font-family: var(--fd); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 30px 0 10px; }
.seitenhieb { border: 1px solid var(--c, var(--y)); border-radius: 6px; padding: 14px 16px 14px 18px; margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: var(--t); background: color-mix(in srgb, var(--c, var(--y)) 6%, transparent); }
.seitenhieb .k { display: block; font-family: var(--fm); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c, var(--y)); margin-bottom: 6px; }
.aside .linkedin textarea { width: 100%; font: 14px/1.5 var(--fb); background: var(--g2); color: var(--t); border: 1px solid var(--l2); border-radius: 6px; padding: 12px; resize: vertical; margin-bottom: 10px; }
.kurz b { display: block; }

/* base.css nimmt Listen global die Aufzählungszeichen; im Fliesstext gehören sie zurück. */
.body ul, .prose ul { list-style: disc; padding-left: 22px; }
.body ol, .prose ol { list-style: decimal; padding-left: 22px; }
.prose ul, .prose ol { margin: 0 0 16px; }

/* Anker landen sonst unter der klebenden Navigation. */
.body h2[id], .body h3[id], #urteil { scroll-margin-top: 88px; }

/* ---------- Anpassungen gegenüber dem Prototyp ---------- */

/* Betonung folgt der Serienfarbe statt fix Gelb */
.hero h1 em, .phead h1 em { font-style: italic; font-weight: 900; color: var(--c, var(--y)); }
.num-bg { -webkit-text-stroke-color: color-mix(in srgb, var(--c, var(--y)) 38%, transparent); }
.stamp { background: var(--c, var(--y)); box-shadow: 0 0 28px color-mix(in srgb, var(--c, var(--y)) 35%, transparent), inset 0 0 0 2px var(--g), inset 0 0 0 4px var(--c, var(--y)); }
.eb .chip { background: var(--c, var(--y)); }
.eb { color: var(--c, var(--y)); }
/* Ohne den Riegel bliebe die Kontur der Zahl beim Überfahren stehen: die
   Regel weiter oben setzt sie auf 0, diese hier gewinnt aber die Farbe –
   beides gehört in dieselbe Deklaration, sonst hängt der Zustand daran,
   welche Datei zuletzt geladen wurde. */
.next a:hover .n { -webkit-text-stroke: 0; color: var(--c, var(--co)); }

/* Vier Serien: vier Spalten ab 1100 px, zwei mal zwei darunter, eine Spalte mobil */
.serien { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1100px) { .serien { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .serien { grid-template-columns: 1fr; } }
.serie h2 { font-size: clamp(26px, 2.4vw, 36px); }

/* Über-Block: Betonung im Titel */
.about h2 em { color: var(--y); font-style: italic; }
.about .facts a:hover { color: var(--y); }

/* Laufband pausiert bei Hover */
.ticker:hover div { animation-play-state: paused; }

/* Seitenköpfe (Archiv, Über mich, Newsletter, Suche, Rechtliches) */
.page-head { padding-top: 72px; }
.page-head h1 { font-family: var(--fd); font-weight: 900; font-size: clamp(40px, 6vw, 92px); line-height: 0.94; letter-spacing: -0.045em; margin-top: 22px; }
.page-head h1 em { font-style: italic; color: var(--c, var(--y)); }
.page-head .intro { font-size: clamp(18px, 2vw, 22px); color: var(--t2); max-width: 52ch; margin-top: 22px; line-height: 1.5; }
.page-head .ctas { margin-top: 26px; }

/* Archiv */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.filter a { font-family: var(--fm); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--l2); color: var(--t2); transition: all 150ms; }
.filter a:hover { color: var(--t); border-color: var(--t2); }
.filter a.on { background: var(--c, var(--t)); color: var(--g); border-color: var(--c, var(--t)); }
.year { font-family: var(--fd); font-weight: 900; font-size: 56px; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.2px var(--t3); margin: 24px 0 8px; }
.empty { color: var(--t2); padding: 24px 0; }

/* Serienseite */
.series-head { position: relative; overflow: hidden; background: var(--c); color: var(--g); border-bottom: 1px solid var(--l); }
.series-head .container { position: relative; padding-top: 80px; padding-bottom: 64px; }
.series-head .cnt { position: absolute; right: 32px; top: -20px; font-family: var(--fd); font-weight: 900; font-size: clamp(200px, 26vw, 400px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(13,15,18,0.35); pointer-events: none; }
.series-head .eb, .series-head .eb .chip { color: var(--g); }
.series-head .eb .chip { background: var(--g); color: var(--c); }
.series-head h1 { font-family: var(--fd); font-weight: 900; font-size: clamp(44px, 7vw, 110px); line-height: 0.92; letter-spacing: -0.045em; margin-top: 20px; }
.series-head .tag { font-size: clamp(18px, 2vw, 24px); margin-top: 18px; max-width: 40ch; line-height: 1.4; }
.series-head .desc { max-width: 56ch; margin-top: 12px; font-size: 17px; line-height: 1.55; opacity: 0.85; }

/* Über mich */
.about-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero .portrait, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--l); }
.portrait-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--g2), var(--g3)); color: var(--t3); font-family: var(--fm); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; line-height: 1.8; }
.about-body { display: grid; grid-template-columns: minmax(0, 680px) 1fr; gap: 64px; padding-bottom: 40px; align-items: start; }
@media (max-width: 1000px) { .about-body { grid-template-columns: 1fr; } }
.about-body h2 { font-family: var(--fd); font-weight: 800; font-size: 32px; letter-spacing: -0.035em; margin: 36px 0 14px; }
.about-body h2:first-child { margin-top: 0; }
.about-body h2 em { color: var(--y); font-style: italic; }
.about-body p { font-size: 18px; line-height: 1.7; margin-bottom: 18px; color: var(--t); }
.career { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--l); }
.career li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--l); }
.career .y { font-family: var(--fm); font-size: 12px; letter-spacing: 0.1em; color: var(--y); padding-top: 4px; }
.career b { font-weight: 600; }
.career p { margin: 4px 0 0; font-size: 15px; color: var(--t2); }

/* Newsletter-Seite: der Block zeigt dort nur das Formular */
.news.compact .container { grid-template-columns: minmax(0, 620px); }
.hint-sec { padding: 30px 0 48px; }
.hint { font-size: 15px; line-height: 1.6; color: var(--t2); max-width: 60ch; }
.hint a { color: var(--t); text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: 3px; }

/* Suche */
.search { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 640px; margin-top: 30px; }
.search input { font: 500 17px var(--fb); padding: 16px 18px; border-radius: 999px; border: 1.5px solid var(--l2); background: var(--g2); color: var(--t); outline: none; min-width: 0; }
.search input:focus { border-color: var(--y); }

/* Fehlerseite */
.error .phead .ctas { margin-top: 30px; position: relative; z-index: 2; }
.error .phead { min-height: 60vh; }

/* Rechtliches */
.prose { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--t2); }
.prose h2 { font-family: var(--fd); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; color: var(--t); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose a { color: var(--t); text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: 3px; }

/* Werkzeuge einer Serie («Gratis zum Mitnehmen»): was zu einem Take gebaut
   wurde und für sich allein nützlich bleibt. Der Abschnitt erscheint nur,
   wenn die Serie welche hat. */
.tools-sec h2 { font-family: var(--fd); font-weight: 900; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 26px; }
.tools-sec h2 em { font-style: italic; color: var(--c, var(--y)); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tools a { display: block; height: 100%; background: var(--g2); border: 1px solid var(--l); border-left: 3px solid var(--c, var(--y)); border-radius: 8px; padding: 18px 20px; transition: border-color .15s ease, background .15s ease; }
.tools a:hover { background: var(--g3); border-color: var(--l2); border-left-color: var(--c, var(--y)); }
.tools .t { display: block; font-family: var(--fd); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.tools .t .ext { color: var(--t3); margin-left: 6px; font-size: 15px; }
.tools .d { display: block; color: var(--t2); font-size: 15px; line-height: 1.5; margin-top: 6px; }
.tools .from { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .tools a { transition: none; } }

/* Beschriftungen in der Newsletter-Box (nur für angemeldete Benutzer sichtbar) */
.box .nl-label { display: block; font-family: var(--fm); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3); margin: 12px 0 5px; }
.box .nl-label:first-of-type { margin-top: 8px; }
