/* ---------------------------------------------------------------------------
   beobachtet.css - gemeinsames Stylesheet fuer thx4data.de

   ERZEUGT von build_beobachtet_css.ps1 aus den Hifi-Referenzen des Redesigns.
   Nicht von Hand aendern - Aenderungen gehen beim naechsten Lauf verloren.
   Seitenspezifisches CSS bleibt im <style>-Block der jeweiligen Seite.

   Regeln der Form  body.page-landing .hero  sind bewusste Abweichungen eines
   Seitentyps vom gemeinsamen Stand. Dafuer traegt jede Seite ihre Typklasse
   am body-Tag: page-landing, page-hub oder page-artikel.

   Erzeugt am 27.08.2026
   --------------------------------------------------------------------------- */

/* ==========================================================================
   SCHRIFTEN
   IBM Plex wird per <link> eingebunden, nicht von hier aus.
   ========================================================================== */

/* Bewusst KEIN @import fuer plex.css.
   Ein @import wird erst entdeckt, wenn diese Datei geladen und geparst ist -
   die Schriften kaemen also eine Runde zu spaet. Stattdessen laedt jede Seite
   beide Dateien nebeneinander, plex.css zuerst:

     <link rel="stylesheet" href="/fonts/plex.css">
     <link rel="stylesheet" href="/css/beobachtet.css">

   Die Vorlage in vorlagen\ hat beide Zeilen bereits drin. */

/* ==========================================================================
   DESIGN-TOKENS
   Werte aus dem Handoff, 1:1 uebernommen
   ========================================================================== */

:root {
  /* Flaechen */
  --bg: #0b0b0e;
  --bg2: #131318;
  --bg3: #181820;
  --grid: rgba(255,255,255,0.035);
  /* Schrift */
  --ink: #e7e5df;
  --ink-soft: #bcb9b1;
  --dim: #6e6c66;
  --dim2: #3d3c38;
  /* Akzente */
  --signal: #ff5630;
  --calm: #6a8cff;
  --warn: #ffcc66;
  /* Abstaende */
  --pad-x: clamp(24px, 5vw, 80px);
  --pad-y: clamp(56px, 8vw, 112px);
  /* Schriftgrad */
  --type-display: 132px;
  --type-h1: 84px;
  --type-h2: 56px;
  --type-h3: 24px;
  --type-body: 18px;
  --type-small: 13px;
  --type-mono: 12px;
}

/* ==========================================================================
   BASIS
   Reset, Grundtypografie, Hintergrundraster
   ========================================================================== */

* {
  box-sizing: border-box;
}
::selection {
  background: var(--signal);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
  font-size: var(--type-body);
  line-height: 1.55;
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  background-attachment: fixed;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
html, body {
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   TEXTAUSZEICHNUNG
   Schriftschnitt- und Farbklassen, Abschnittslabel
   ========================================================================== */

.calm {
  color: var(--calm);
}
.dim {
  color: var(--dim);
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--type-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}
.mono {
  font-family: "IBM Plex Mono", "IBM Plex Mono", monospace;
}
.sig {
  color: var(--signal);
}

/* ==========================================================================
   MARKEN-MOTIVE
   Blinkender Cursor und Ladepunkte. Cursor nur EINMAL pro Seite verwenden.
   ========================================================================== */

.cursor {
  display: inline-block;
  color: var(--signal);
  margin-left: 0.04em;
  animation: cursorBlink 1.1s steps(2, jump-none) infinite;
  font-weight: 500;
}
.cursor.calm {
  color: var(--calm);
}
.cursor::before {
  content: "_";
}
.dots {
  display: inline-block;
  min-width: 1.4em;
  text-align: left;
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
}
.dots i {
  font-style: normal;
  opacity: 0;
}
.dots i:nth-child(1) {
  animation: d1 1.5s infinite;
}
.dots i:nth-child(2) {
  animation: d2 1.5s infinite;
}
.dots i:nth-child(3) {
  animation: d3 1.5s infinite;
}
.dots.calm {
  color: var(--calm);
}
.dots.ink {
  color: var(--ink);
}
@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}
@keyframes d1 {
  0%,22% {
    opacity: 1;
  }
  25%,100% {
    opacity: 0;
  }
}
@keyframes d2 {
  0%,22% {
    opacity: 0;
  }
  25%,47% {
    opacity: 1;
  }
  50%,100% {
    opacity: 0;
  }
}
@keyframes d3 {
  0%,47% {
    opacity: 0;
  }
  50%,72% {
    opacity: 1;
  }
  75%,100% {
    opacity: 0;
  }
}

/* ==========================================================================
   KOPFLEISTE
   Sticky Topbar mit Breadcrumb, Status, Navigation, Lesefortschritt
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: rgba(11,11,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
body.page-landing .topbar {
  grid-template-columns: 1fr 2fr 1fr;
  font-size: var(--type-mono);
  gap: 0;
}
.topbar .crumbs {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  overflow: hidden;
}
body.page-hub .topbar .crumbs {
  gap: 18px;
}
.topbar .crumbs .back {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar .crumbs .back:hover {
  color: var(--signal);
}
.topbar .crumbs .here {
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar .crumbs .here em {
  color: var(--signal);
  font-style: normal;
}
.topbar .crumbs .sep {
  color: var(--dim2);
}
.topbar .crumbs a {
  color: var(--ink);
}
.topbar .crumbs a:hover {
  color: var(--signal);
}
.topbar .logo {
  color: var(--ink);
  font-weight: 500;
}
.topbar .logo .v {
  color: var(--dim);
  margin-left: 6px;
  font-weight: 400;
}
.topbar .menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topbar .menu-btn::before {
  content: "\2261";
  font-size: 16px;
  line-height: 1;
}
.topbar .progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
  margin-top: 18px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.topbar .progress i {
  display: block;
  height: 100%;
  background: var(--signal);
  width: 0%;
  transition: width 0.1s linear;
}
.topbar .read-meta {
  text-align: center;
}
.topbar .read-meta b {
  color: var(--ink);
  font-weight: 500;
}
.topbar .status {
  text-align: center;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
body.page-landing .topbar .status {
  gap: 18px;
}
.topbar .status b {
  color: var(--ink);
  font-weight: 500;
}
.topbar .tools {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.topbar .tools a {
  color: var(--ink);
}
.topbar .tools a:hover {
  color: var(--signal);
}
.topbar nav {
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}
.topbar nav a {
  color: var(--ink);
}
.topbar nav a:hover {
  color: var(--signal);
}

/* ==========================================================================
   HERO-RAHMEN
   Gerahmter Kopfbereich mit Eckmarken - Landing und Hubseiten
   ========================================================================== */

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--signal);
}
.corner.bl {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}
.corner.br {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}
.corner.tl {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.corner.tr {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}
.hero {
  padding: clamp(64px, 8vw, 112px) var(--pad-x) clamp(36px, 5vw, 64px);
}
body.page-landing .hero {
  padding: clamp(72px, 10vw, 128px) var(--pad-x) var(--pad-y);
}
.hero .cta-row {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--type-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero .intro-card {
  margin-top: 40px;
  border-left: 2px solid var(--signal);
  padding: 4px 0 4px 24px;
  max-width: 820px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hero .intro-card b {
  color: var(--ink);
  font-weight: 500;
}
.hero .topic-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 36px;
}
.hero .topic-tag .count {
  color: var(--dim);
}
.hero .topic-tag .emoji {
  font-size: 24px;
  line-height: 1;
}
.hero h1 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(48px, 7vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 1180px;
}
body.page-landing .hero h1 {
  font-size: clamp(48px, 7.4vw, var(--type-display));
}
.hero h1 .dim {
  color: var(--dim);
}
.hero h1 .uline {
  border-bottom: 6px solid var(--calm);
  padding-bottom: 4px;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
}
.hero p.lead {
  margin-top: 40px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 820px;
  font-weight: 300;
}
body.page-landing .hero p.lead {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  max-width: 780px;
}
.hero-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
  background: radial-gradient(circle at 12% 0%, rgba(106,140,255,0.08), transparent 55%), radial-gradient(circle at 88% 100%, rgba(255,86,48,0.06), transparent 50%);
}
body.page-landing .hero-frame {
  background: radial-gradient(circle at 18% 0%, rgba(106,140,255,0.08), transparent 55%), radial-gradient(circle at 82% 100%, rgba(255,86,48,0.06), transparent 50%);
}
.hero-meta {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
body.page-landing .hero-meta {
  margin-top: 56px;
}
.hmcell {
  background: var(--bg);
  padding: 20px;
}
body.page-landing .hmcell {
  padding: 22px;
}
.hm-l {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}
.hm-v {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  color: var(--ink);
}
.rec-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,86,48,0.18);
}
body.page-landing .rec-dot {
  vertical-align: 1px;
}

/* ==========================================================================
   ABSCHNITTSKOPF
   Eyebrow + Ueberschrift ueber Inhaltsbloecken
   ========================================================================== */

.sechead {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sechead .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.sechead h2 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(36px, 5vw, var(--type-h2));
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  max-width: 1100px;
}
.sechead h2 em {
  font-style: normal;
  color: var(--calm);
}

/* ==========================================================================
   ARTIKELKARTE
   Feed-Karte auf Hub- und Uebersichtsseiten, inkl. Typvarianten
   ========================================================================== */

.article {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.article .emoji {
  font-size: 36px;
  line-height: 1;
  filter: grayscale(0.1);
  flex: 0 0 auto;
}
.article .row-bot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.05em;
}
.article .row-bot .category {
  color: var(--ink);
}
.article .row-bot .go {
  color: var(--calm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.article .row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.article .row-top .date {
  color: var(--dim);
}
.article .title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.article .type-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
}
.article h3 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
.article p.desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.article ul.bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.article ul.bullets li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: baseline;
}
.article ul.bullets li::before {
  content: "›";
  color: var(--signal);
  font-weight: 500;
}
.article.coming {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255,255,255,0.14);
}
.article.coming .emoji {
  opacity: 0.6;
}
.article.coming .row-bot {
  border-top-color: rgba(255,255,255,0.05);
}
.article.coming .row-bot .go {
  color: var(--dim);
}
.article.coming h3 {
  color: var(--dim);
}
.article.coming::before {
  display: none;
}
.article.coming:hover {
  transform: none;
  border-color: rgba(255,255,255,0.24);
  background: transparent;
}
.article.type-essay .type-tag {
  color: var(--calm);
}
.article.type-scenario .type-tag {
  color: #ffcc66;
}
.article.type-spotlight .type-tag {
  color: var(--signal);
}
.article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 32px;
  background: var(--signal);
  transition: width 0.25s;
}
.article:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
  background: rgba(255,86,48,0.03);
}
.article:hover .row-bot .go {
  color: var(--signal);
}
.article:hover::before {
  width: 100%;
}
.articles {
  padding: clamp(40px, 4vw, 64px) var(--pad-x) var(--pad-y);
}

/* ==========================================================================
   HUB-WERKZEUGE
   Filterchips, Sortierung, Querverweisliste
   ========================================================================== */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.chip .count {
  color: var(--dim);
}
.chip.on {
  background: var(--signal);
  color: var(--bg);
  border-color: var(--signal);
}
.chip.on .count {
  color: rgba(0,0,0,0.6);
}
.chip:hover {
  border-color: var(--signal);
  color: var(--signal);
}
.chips-sep {
  flex: 1;
}
.cross {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cross .sechead {
  margin-bottom: clamp(28px, 3vw, 40px);
}
.cross .sechead .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.cross .sechead h2 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.cross .sechead h2 em {
  font-style: normal;
  color: var(--calm);
}
.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cross-row {
  display: grid;
  grid-template-columns: 28px 1fr 60px;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.07);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.cross-row .count {
  text-align: right;
  color: var(--calm);
  font-size: 14px;
  font-weight: 500;
}
.cross-row .idx {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.cross-row:hover {
  border-color: var(--signal);
  background: rgba(255,86,48,0.04);
  color: var(--signal);
}
.cross-row:hover .count {
  color: var(--signal);
}
.filters {
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sort {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.sort b {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   ARTIKELKOPF
   Redaktioneller Kopf: Themenzeile, Titel, Deck, Meta, Kennzahlen
   ========================================================================== */

.article-deck {
  font-family: "IBM Plex Serif", "IBM Plex Sans", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 780px;
  margin: 0;
}
.article-head {
  padding: clamp(56px, 7vw, 96px) var(--pad-x) 0;
}
.article-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-meta .spacer {
  flex: 1;
}
.article-meta b {
  color: var(--ink);
  font-weight: 500;
}
.article-title {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 36px 0;
  max-width: 1080px;
  color: var(--ink);
}
.article-title .uline {
  border-bottom: 5px solid var(--calm);
  padding-bottom: 4px;
}
.article-title em {
  font-style: normal;
  color: var(--signal);
}
.head-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.section-tag {
  margin: 64px 0 -32px 0;
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  padding: 6px 12px;
  border: 1px solid var(--signal);
}
.stat {
  background: var(--bg);
  padding: 28px 24px;
}
.stat-l {
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.5;
}
.stat-n {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.stat-n sup {
  font-size: 0.5em;
  color: var(--signal);
  vertical-align: top;
}
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink-soft);
}
.tag::before {
  content: "#";
  color: var(--signal);
  margin-right: 6px;
}
.tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 36px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.topic-row .pill {
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.topic-row .sep {
  color: var(--dim2);
}
.topic-row .topic {
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topic-row .topic .emoji {
  font-size: 18px;
}
.topic-row .topic a {
  color: inherit;
}
.topic-row .topic a:hover {
  color: var(--ink);
}

/* ==========================================================================
   ARTIKELTEXT
   Fliesstext, Listen, Tabellen, Inhaltsverzeichnis, Glossarbegriffe
   ========================================================================== */

.article-body {
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  max-width: 800px;
  margin: 0 auto;
}
.prose {
  min-width: 0;
}
.prose .lead-para::first-letter {
  font-family: "IBM Plex Serif", serif;
  font-size: 5.2em;
  line-height: 0.85;
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--signal);
  font-weight: 500;
}
.prose > *:first-child {
  margin-top: 0;
}
.prose h2 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 64px 0 24px 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--ink);
  position: relative;
  scroll-margin-top: 80px;
}
.prose h2 .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--signal);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.prose p {
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 1.1em 0;
  color: var(--ink-soft);
}
.prose p a {
  color: var(--calm);
  border-bottom: 1px solid rgba(106,140,255,0.3);
  transition: border-color 0.15s, color 0.15s;
}
.prose p a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
.prose p strong {
  color: var(--ink);
  font-weight: 500;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.prose td {
  color: var(--ink-soft);
}
.prose td:not(:first-child) {
  text-align: right;
}
.prose th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  border-bottom-color: rgba(255,86,48,0.4);
}
.prose th, .prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.prose th:not(:first-child) {
  text-align: right;
}
.prose tr.totals td {
  color: var(--ink);
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.prose ul {
  margin: 0 0 1.4em 0;
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.prose ul li strong {
  color: var(--ink);
  font-weight: 500;
}
.prose ul li::before {
  content: "›";
  position: absolute;
  left: 6px;
  top: -1px;
  color: var(--signal);
  font-weight: 500;
  font-size: 19px;
}
.term {
  color: var(--calm);
  cursor: help;
  border-bottom: 1px dotted rgba(106,140,255,0.4);
}
.term:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
.toc {
  margin: 0 0 48px 0;
  padding: 24px 28px;
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.toc a {
  color: var(--ink-soft);
  transition: color 0.15s;
}
.toc a:hover, .toc a.on {
  color: var(--signal);
}
.toc h4 {
  margin: 0 0 18px 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  font-weight: 500;
}
.toc li {
  counter-increment: toc;
  color: var(--dim);
  line-height: 1.4;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--dim2);
  margin-right: 10px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

/* ==========================================================================
   TEXTBAUSTEINE
   Warnkasten und Zitat. .pull und .big-quote sind dasselbe Element in zwei Fassungen.
   ========================================================================== */

.big-quote {
  margin: 56px 0;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.big-quote blockquote {
  font-family: "IBM Plex Serif", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.big-quote blockquote::before {
  content: "„";
  color: var(--signal);
  font-size: 1.2em;
  line-height: 0;
  margin-right: 4px;
}
.big-quote cite {
  display: block;
  margin-top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}
.big-quote cite a {
  color: var(--calm);
}
.pull {
  background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pull blockquote {
  position: relative;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 auto;
  max-width: 1100px;
}
.pull blockquote em {
  font-style: italic;
  color: var(--calm);
}
.pull cite {
  display: block;
  margin-top: 32px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}
.pull::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,86,48,0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,86,48,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.5;
}
.warn-box {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid var(--warn);
  background: rgba(255,204,102,0.04);
  position: relative;
}
.warn-box .icon {
  font-size: 32px;
  line-height: 1;
  padding-top: 4px;
  color: var(--warn);
}
.warn-box h4 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warn);
  margin: 0 0 10px 0;
}
.warn-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}

/* ==========================================================================
   QUELLENBLOCK
   Belegliste am Artikelende
   ========================================================================== */

.source-body .url {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--calm);
  letter-spacing: 0;
  word-break: break-all;
}
.source-body h4 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.source-body p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.source-item {
  background: var(--bg2);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  color: var(--ink);
  transition: background 0.15s;
}
.source-item:hover {
  background: rgba(255,86,48,0.04);
}
.source-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: var(--signal);
  font-weight: 500;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 16px;
}
.sources {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg2);
}
.sources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}
.sources-head {
  margin-bottom: clamp(36px, 4vw, 56px);
}
.sources-head .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.sources-head h2 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  margin: 0;
}
.sources-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================================================================
   WEITERLESEN
   Anschlussempfehlung unter dem Artikel
   ========================================================================== */

.next-card {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px;
  background: var(--bg2);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
  position: relative;
}
.next-card .go {
  display: block;
  margin-top: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--calm);
}
.next-card .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}
.next-card .row .type {
  color: var(--signal);
}
.next-card h3 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px 0;
}
.next-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.next-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 32px;
  background: var(--signal);
  transition: width 0.25s;
}
.next-card:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
  background: rgba(255,86,48,0.03);
}
.next-card:hover .go {
  color: var(--signal);
}
.next-card:hover::before {
  width: 100%;
}
.next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.next-up {
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.next-up .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.next-up h2 {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 40px 0;
}
.next-up h2 em {
  font-style: normal;
  color: var(--calm);
}
.next-up-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================================================================
   FUSSZEILE
   Auf jeder Seite gleich, nur die Bildunterschrift rechts unten wechselt
   ========================================================================== */

.foot-blurb {
  margin-top: 18px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
}
.foot-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-col h4 {
  color: var(--ink);
  margin: 0 0 16px 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
}
.foot-col li {
  margin-bottom: 11px;
  color: var(--dim);
}
.foot-col li a:hover {
  color: var(--ink);
}
.foot-col li:hover {
  color: var(--ink);
  cursor: pointer;
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.foot-sig {
  font-family: "IBM Plex Mono", monospace;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.foot-sig b {
  color: var(--signal);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
footer.site {
  padding: var(--pad-y) var(--pad-x) 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ==========================================================================
   FACHBEGRIFFE
   Klickbare Erklaerung. Ersetzt die title-Tooltips des Entwurfs.
   ========================================================================== */

/* Der Entwurf nutzt <span class="term" title="...">. Ein title-Attribut zeigt
   auf Mobilgeraeten nichts an - es gibt dort kein Hover. Die Website hat mit
   .tooltip-term seit jeher eine klickbare Loesung, die auf jedem Geraet
   funktioniert; die wird hier uebernommen und nur farblich angepasst.
   Das zugehoerige Skript steht in vorlagen\tooltip.js. */

.tooltip-term {
  color: var(--calm);
  border-bottom: 1px dashed var(--calm);
  cursor: help;
  position: relative;
  display: inline;
  transition: color 0.2s, border-color 0.2s;
}
.tooltip-term:hover,
.tooltip-term.active {
  color: var(--signal);
  border-bottom-color: var(--signal);
}
.tooltip-bubble {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg3);
  border: 1px solid var(--dim2);
  padding: 12px 16px;
  width: 250px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  cursor: auto;
}
.tooltip-bubble .tt-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 6px;
  display: block;
}
.tooltip-bubble .tt-text {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  display: block;
}
.tooltip-term.active .tooltip-bubble { display: block; }

/* ==========================================================================
   HINWEISKASTEN
   Neutrale Ergaenzung neben dem gelben Warnkasten.
   ========================================================================== */

/* .warn-box ist gelb und signalisiert ein Risiko. Fuer neutrale oder
   entlastende Hinweise - "diese Seite setzt keine Cookies" - waere das die
   falsche Farbe. .info-box hat denselben Aufbau in Blau.
   Markup wie bei .warn-box: <div class="info-box"><div class="icon">…</div>
   <div><h4>…</h4><p>…</p></div></div> */

.info-box {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(106,140,255,0.35);
  background: rgba(106,140,255,0.05);
  padding: 22px 24px;
  margin: 32px 0;
}
.info-box .icon {
  font-size: 26px;
  line-height: 1;
  color: var(--calm);
  text-align: center;
}
.info-box h4 {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--type-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--calm);
  font-weight: 500;
}
.info-box p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.info-box p:last-child { margin-bottom: 0; }

/* ==========================================================================
   SEITEN OHNE INHALTSVERZEICHNIS
   Impressum, Datenschutz, Ueber — Textspalte ueber die volle Breite.
   ========================================================================== */

/* .article-body ist ein Raster aus Inhaltsverzeichnis und Textspalte. Seiten
   ohne Verzeichnis (Rechtstexte, Ueber-Seite) lassen den Text sonst in der
   schmalen rechten Spalte stehen, waehrend links Leere bleibt.
   Markup: <section class="article-body no-toc"> */

.article-body.no-toc { display: block; }
.article-body.no-toc .prose {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   SPRACHUMSCHALTER
   DE/EN in der Kopfleiste. Pflicht bei jedem Sprachpaar.
   ========================================================================== */

/* Die Kopfleiste des Entwurfs kennt keinen Sprachwechsel. Ohne ihn erreicht
   man die uebersetzte Fassung nur ueber die Suche - bei 63 Sprachpaaren keine
   Option. Sitzt rechts in .tools. */

.topbar .lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--type-mono);
  letter-spacing: 0.08em;
}
.topbar .lang-switch .lang-active { color: var(--ink); }
.topbar .lang-switch .lang-sep    { color: var(--dim2); }
.topbar .lang-switch a            { color: var(--dim); transition: color 0.2s; }
.topbar .lang-switch a:hover      { color: var(--signal); }

/* ==========================================================================
   MOBIL
   Breakpoints aus dem Handoff. Seitenspezifische Regeln bleiben in der Seite.
   ========================================================================== */

@media (max-width: 1100px) {
  .cross-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }
  .next-grid {
    grid-template-columns: 1fr;
  }
  .sources-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .article .emoji {
    font-size: 28px;
  }
  .article .title-row {
    flex-direction: column;
    gap: 12px;
  }
  .article h3 {
    font-size: 22px;
  }
  .article-meta {
    gap: 18px;
    font-size: 11px;
  }
  .article-title {
    font-size: clamp(34px, 9vw, 56px);
  }
  .cross-grid {
    grid-template-columns: 1fr;
  }
  .foot-bot {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero {
    padding-top: clamp(48px, 8vw, 80px);
  }
  .hero-frame {
    padding: 28px 22px;
  }
  body.page-landing .hero-frame {
    padding: 32px 22px;
  }
  .hero-meta {
    grid-template-columns: 1fr;
  }
  .prose p {
    font-size: 17px;
  }
  .prose ul li {
    font-size: 16px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .toc ol {
    grid-template-columns: 1fr;
  }
  .topbar {
    grid-template-columns: 1fr auto;
  }
  body.page-landing .topbar {
    padding: 16px var(--pad-x);
    gap: 0;
  }
  .topbar .crumbs {
    gap: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .topbar .crumbs .here em {
    display: inline;
  }
  .topbar .menu-btn {
    display: inline-flex;
  }
  .topbar .read-meta {
    display: none;
  }
  .topbar .status {
    display: none;
  }
  .topbar nav {
    display: none;
  }
  .warn-box {
    grid-template-columns: 1fr;
  }
  .warn-box .icon {
    margin-bottom: -8px;
  }
}

/* ==========================================================================
   HANDGEPFLEGTER ZUSATZ
   Quelle: vorlagen\zusatz.css - dort aendern, nicht hier.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   zusatz.css - handgepflegte Ergaenzungen zum erzeugten beobachtet.css

   Diese Datei wird NICHT deployt. build_beobachtet_css.ps1 haengt ihren Inhalt
   woertlich an public_html\css\beobachtet.css an. Hier aendern, dann
   .\build_beobachtet_css.ps1 -Apply laufen lassen.

   Was hierher gehoert: Komponenten, die es in den Hifi-Referenzen des Handoffs
   nicht gab und die auf MEHREREN Seiten gebraucht werden.
   Was nicht hierher gehoert: Regeln fuer genau eine Seite - die bleiben im
   <style>-Block dieser Seite.
   --------------------------------------------------------------------------- */


/* ==========================================================================
   KURZFASSUNG ("Fuer Ungeduldige")
   Steht als erstes Element in .prose, vor dem Einstiegsabsatz.

   Sie ist bewusst deutlich als Zusammenfassung markiert: eigener Rahmen,
   Signalfarbe an der linken Kante, Kopfzeile mit Bezeichnung und Fusszeile
   mit Verweis auf den vollstaendigen Text. Wer sie ueberliest, verliert
   nichts; wer nur sie liest, weiss, dass er eine Verkuerzung gelesen hat.

   Aufbau siehe vorlagen\kurzfassung.html
   ========================================================================== */

.tldr {
  margin: 0 0 44px 0;
  padding: 26px 30px 22px 30px;
  background: var(--bg2);
  border: 1px solid var(--dim2);
  border-left: 4px solid var(--signal);
}

.tldr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 18px 0;
  padding: 0 0 14px 0;
  border-bottom: 1px dashed var(--dim2);
}

.tldr-badge {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.tldr-note {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Die Liste erbt Abstaende und Marker von .prose ul. Ueberschrieben wird nur,
   was die Kurzfassung vom Fliesstext unterscheidet: kraeftigere Schriftfarbe
   und ein Pfeil statt des Winkels. Der Selektor traegt zwei Klassen, damit er
   gegen .prose ul li::before gewinnt - eine Klasse wuerde verlieren. */
.prose .tldr ul {
  margin: 0;
}

.prose .tldr ul li {
  color: var(--ink);
  margin-bottom: 10px;
}

.prose .tldr ul li:last-child {
  margin-bottom: 0;
}

.prose .tldr ul li::before {
  content: "\2192";
  left: 4px;
  top: 0;
  font-size: 15px;
}

.tldr-foot {
  margin: 18px 0 0 0;
  padding: 14px 0 0 0;
  border-top: 1px dashed var(--dim2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dim);
  line-height: 1.6;
}

.prose .tldr-foot {
  font-size: 11px;
  margin: 18px 0 0 0;
}

.tldr-foot a {
  color: var(--calm);
  text-decoration: none;
  border-bottom: 1px solid rgba(106,140,255,0.35);
}

.tldr-foot a:hover {
  color: var(--signal);
  border-bottom-color: var(--signal);
}

@media (max-width: 760px) {
  .tldr {
    padding: 20px 22px 18px 22px;
  }
  .tldr-head {
    margin-bottom: 14px;
  }
  .prose .tldr ul li {
    font-size: 16px;
  }
}

/* ==========================================================================
   AUFRAEUMEN DER STARTSEITE — August 2026
   Dieselben Entscheidungen wie im Design "Plakat", hier fuer "Beobachtet".
   Steht bewusst hier und nicht in beobachtet.css: die Datei wird von
   build_beobachtet_css.ps1 erzeugt, Handaenderungen gingen verloren.
   ========================================================================== */

/* --- Feed: nur die drei neuesten Eintraege -------------------------------- */
/* Auf Ansage des Betreibers auf jeder Breite, nicht nur auf dem Handy.
   Die uebrigen 14 bleiben im HTML und sind nur ausgeblendet - Suchmaschinen
   folgen den Links weiterhin. */

#feed .feed-grid .card:nth-child(n+4) { display: none; }

.feed-more {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: 0.08em; text-transform: lowercase;
  color: var(--dim); text-decoration: none;
}
.feed-more:hover { color: var(--signal); }
.feed-more span { color: var(--calm); }

/* --- Session-Audit aufklappbar ------------------------------------------- */
/* Als <details>, damit es ohne JavaScript funktioniert und sich von selbst
   korrekt an Tastatur und Vorlesesoftware meldet. Der Pfeil, den der Browser
   davorsetzt, muss in zwei Schreibweisen weg: Firefox und Chrome hoeren auf
   verschiedene. */

.audit-toggle summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 18px;
  background: var(--ink); color: var(--bg);
  font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: 0.1em; text-transform: lowercase;
}
.audit-toggle summary::-webkit-details-marker { display: none; }
.audit-toggle summary::marker { content: ""; }
.audit-toggle summary:hover { background: var(--signal); color: var(--bg); }
.audit-toggle summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Das Wort "audit" in der Signalfarbe. Beim Ueberfahren wird der ganze Knopf
   orange - dann muss das Wort auf die Grundfarbe wechseln, sonst verschwindet
   es genau dann, wenn der Zeiger darauf liegt. */
.audit-word-acid { color: var(--signal); }
.audit-toggle summary:hover .audit-word-acid { color: var(--bg); }

.audit-toggle .audit-word--offen { display: none; }
.audit-toggle[open] .audit-word { display: none; }
.audit-toggle[open] .audit-word--offen { display: inline; }
.audit-panel { margin-top: 16px; }
/* --- Kopfleiste mit funktionierendem Burger ------------------------------ */
/* Bis August 2026 trug die Leiste einen Knopf ohne Panel und ohne Skript.
   Unter 700px blendete das CSS die Navigation aus - die Seite war auf dem
   Handy ohne jede Navigation. Der Knopf gilt jetzt auf ALLEN Breiten, es gibt
   also keinen zweiten Navigationszustand mehr.

   Die alte Regel body.page-landing .topbar { grid-template-columns: 1fr 2fr 1fr }
   hatte hoehere Spezifitaet und schob den Knopf in die Mitte. Deshalb hier
   ausdruecklich mit derselben Spezifitaet dagegen. */

body.page-landing .topbar,
.topbar:has(.mnav) {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.topbar .menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; cursor: pointer;
  background: var(--signal); color: var(--bg); border: none;
  font-family: "IBM Plex Mono", monospace; font-size: 12px;
  letter-spacing: 0.1em; text-transform: lowercase;
}
.topbar .menu-btn:hover { background: var(--ink); color: var(--bg); }

/* ACHTUNG Spezifitaet: beobachtet.css enthaelt .topbar nav { display: flex }
   mit (0,1,1). Ein blosses .mnav hat (0,1,0) und verliert - das Panel waere
   oberhalb von 700px dauerhaft offen und laege als Flex-Reihe in der Leiste.
   Deshalb ueberall .topbar davorstellen. */
.topbar .mnav { display: none; width: 100%; order: 3; border-top: 1px solid rgba(255,255,255,0.1); }
.topbar .mnav[data-open="1"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
.topbar .mnav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: "IBM Plex Mono", monospace; font-size: 15px;
  color: var(--ink); text-decoration: none;
}
.topbar .mnav a:hover { color: var(--signal); }
.topbar .mnav a span { font-size: 11px; letter-spacing: 0.08em; color: var(--dim); }

/* --- Fussbereich kompakter ----------------------------------------------- */
/* Einspaltig gestapelt war er auf dem Handy fast tausend Pixel hoch. Zwei
   Spalten und engere Abstaende bringen ihn auf gut die Haelfte. */

@media (max-width: 700px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .foot-col h4 { margin-bottom: 10px; }
  .foot-col li { margin-bottom: 8px; }
  .foot-col ul { font-size: 12.5px; }
  .foot-bot { margin-top: 30px; padding-top: 18px; gap: 8px; }
}
