/* info.css — gemeinsamer Rahmen aller Info- und Werbeseiten (06.09.2026).
   Ein Farbsystem (hell/dunkel wie die Module, html[data-thema]), eine
   Typografie, eine Kopfzeile (info.js), eine Fusszeile. Die Seiten behalten
   ihre eigenen Layouts; ihre Variablen (--bg, --ink/--txt, --acc, --line,
   --mut, --panel …) werden hier auf die gemeinsame Palette gesetzt, damit
   der Rest von selbst mitzieht. Laden als LETZTES Stylesheet der Seite. */

body.info {
  /* helle Palette (Standard, auch für Druck) */
  --bg: #f4f6fa; --paper: #ffffff; --panel: #ffffff; --panel2: #eef1f6;
  --ink: #182233; --txt: #182233; --mut: #5b6b80; --dim: #5b6b80;
  --line: #d6deea; --acc: #2a63cc; --acc2: #1f6f4a; --akzent: #2a63cc;
  --acc-tinte: #ffffff;        /* Schrift AUF dem Akzent */
  --gold: #8a6400; --warn: #b3261e; --ok: #1f6f4a;
  --eigen: #1f6f4a; --eigen-bg: #e6f4ec; --oeff: #2a63cc; --oeff-bg: #e7f0fd;
  --ki: #8a6400; --ki-bg: #fff6dc; --core: #182233; --core-bg: #eef1f6; --warn-bg: #fde8e6;
  --echt: #1f6f4a; --erf: #8a6400; --fehlt: #b3261e;
  background: var(--bg) !important; color: var(--ink) !important;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0; min-height: 100vh; overflow: auto; height: auto;
}
html[data-thema="dunkel"] body.info,
html:not([data-thema="hell"]) body.info.dunkelAuto {
  --bg: #0b0e13; --paper: #141a24; --panel: #141a24; --panel2: #1a2230;
  --ink: #e8ecf2; --txt: #e8ecf2; --mut: #93a3b8; --dim: #93a3b8;
  --line: #243247; --acc: #7ab7ff; --acc2: #5fb96f; --akzent: #7ab7ff;
  --acc-tinte: #0b1b2b;        /* dunkle Schrift auf hellem Akzent */
  --gold: #f5c400; --warn: #e08a8a; --ok: #5fb96f;
  --eigen: #5fb96f; --eigen-bg: #14261c; --oeff: #7ab7ff; --oeff-bg: #14203a;
  --ki: #f5c400; --ki-bg: #2a2410; --core: #e8ecf2; --core-bg: #1a2230; --warn-bg: #2a1616;
  --echt: #5fb96f; --erf: #f5c400; --fehlt: #e08a8a;
}

/* ── Kopfzeile (von info.js eingesetzt) ─────────────────────────────── */
.infoKopf { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px;
  padding: 10px 22px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); font-size: 14px; }
.infoKopf .marke { font-weight: 800; letter-spacing: .2px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.infoKopf .marke span { color: var(--acc); }
.infoKopf nav { display: flex; gap: 4px 14px; flex-wrap: wrap; margin-left: 6px; }
.infoKopf nav a { color: var(--mut); text-decoration: none; padding: 4px 2px; border-bottom: 2px solid transparent; }
.infoKopf nav a:hover { color: var(--acc); }
.infoKopf nav a.aktiv { color: var(--ink); border-bottom-color: var(--acc); }
.infoKopf .sp { flex: 1; }
.infoKopf .app { background: var(--acc); color: var(--acc-tinte); text-decoration: none; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.infoKopf button.thema { border: 1px solid var(--line); background: var(--panel2); color: var(--ink);
  border-radius: 999px; width: 32px; height: 32px; cursor: pointer; font-size: 15px; }
.infoKopf select { border: 1px solid var(--line); background: var(--panel2); color: var(--ink);
  border-radius: 999px; padding: 5px 9px; font: 600 13px system-ui; }
@media (max-width: 900px) { .infoKopf nav { display: none; } .infoKopf .menue { display: inline-block; } }
/* Telefonbreite: Sprachwahl, Thema und App-Knopf umbrechen statt die Seite
   seitlich zu verbreitern (Befund 24.09.: 609 px Breite bei 420 px Anzeige) */
@media (max-width: 640px) { .infoKopf { flex-wrap: wrap; row-gap: 8px; padding-inline: 16px; } .infoKopf .sp { display: none; } }
.infoKopf .menue { display: none; border: 1px solid var(--line); background: var(--panel2); color: var(--ink);
  border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.infoMenue { position: fixed; top: 54px; left: 0; right: 0; z-index: 49; background: var(--paper);
  border-bottom: 1px solid var(--line); padding: 10px 22px; display: none; flex-direction: column; gap: 8px; }
.infoMenue a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.infoMenue.offen { display: flex; }

/* Unter-Navigation für Seitengruppen (drei Abläufe, drei Tutorials) */
.infoUnterNav { display: flex; gap: 6px 10px; flex-wrap: wrap; padding: 8px 22px; background: var(--panel2);
  border-bottom: 1px solid var(--line); font-size: 13.5px; }
.infoUnterNav a { color: var(--mut); text-decoration: none; padding: 4px 10px; border-radius: 999px; border: 1px solid transparent; }
.infoUnterNav a:hover { color: var(--acc); }
.infoUnterNav a.aktiv { color: var(--ink); background: var(--paper); border-color: var(--line); font-weight: 700; }

/* ── Fusszeile (von info.js eingesetzt) ─────────────────────────────── */
.infoFuss { margin-top: 48px; padding: 22px; border-top: 1px solid var(--line); color: var(--mut);
  font-size: 13px; text-align: center; line-height: 1.7; }
.infoFuss a { color: var(--mut); }
.infoFuss .zeile { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }

/* ── Inhalt: sanfte Vereinheitlichung, ohne Seitenlayouts zu brechen ──── */
body.info a { color: var(--acc); }
body.info h1, body.info h2, body.info h3 { color: var(--ink); letter-spacing: -.01em; }
body.info h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.12; }
body.info h2 { font-size: clamp(20px, 2.6vw, 27px); }
body.info p.lead, body.info .lead, body.info .unter, body.info .sub { color: var(--mut); font-size: 1.12em; }
body.info .kicker, body.info .num { text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
  color: var(--acc); font-weight: 700; }
body.info table { border-collapse: collapse; width: 100%; background: var(--paper); }
body.info th, body.info td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
body.info th { background: var(--panel2); color: var(--mut); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
body.info blockquote { border-left: 3px solid var(--gold); background: var(--ki-bg); color: var(--ink);
  margin: 12px 0; padding: 8px 14px; border-radius: 0 10px 10px 0; }
body.info code, body.info pre { background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; }
body.info pre { padding: 10px 12px; overflow-x: auto; }
body.info code { padding: 1px 5px; font-size: .92em; }
body.info img, body.info svg, body.info video { max-width: 100%; }
body.info .karte, body.info .kachel, body.info .box, body.info .panel, body.info section.block {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
/* alte Rückweg-Links: die Kopfzeile übernimmt */
body.info .zurueck, body.info a.zurueck, body.info .kopfPille[href="/"] { display: none !important; }
/* seiteneigene Glas-Köpfe (pro/chronik) bleiben — sie sind Werkzeugköpfe, nicht Info-Navigation */

/* Übersichtskarten (info.html) und Argumentkarten (argumente.html) */
.infoGitter { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.infoKarte { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.infoKarte:hover { border-color: var(--acc); transform: translateY(-2px); }
.infoKarte .t { font-weight: 800; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.infoKarte .k { color: var(--mut); font-size: 14px; }
.infoKarte .z { margin-top: 10px; font-size: 12.5px; color: var(--acc); font-weight: 700; }
.argument { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 18px 0; }
.argument .nr { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-weight: 800; margin-right: 10px; }
.argument h2 { display: flex; align-items: center; margin: 0 0 10px; border: 0; padding: 0; }
.argument .satz { margin-top: 12px; padding: 12px 16px; border-left: 4px solid var(--acc); background: var(--panel2);
  border-radius: 0 10px 10px 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.argument .beleg { color: var(--mut); font-size: 13.5px; margin-top: 8px; }
.infoMain { max-width: 1060px; margin: 0 auto; padding: 28px 22px 40px; }

@media print {
  .infoKopf, .infoMenue, .infoFuss .zeile { display: none !important; }
  body.info { background: #fff !important; color: #000 !important; font-size: 12.5px; }
  body.info a { color: inherit; text-decoration: none; }
  .argument, .infoKarte { break-inside: avoid; }
}

/* Werkzeugleiste von ui.js (#scBar) und Sprachhinweis: auf Info-Seiten
   übernimmt die Kopfzeile; der Hinweis erstreckt sich über die volle Breite */
body.info > #scBar { display: none !important; }
body.info > .infoSprachHinweis { display: block; width: 100%; box-sizing: border-box; }
/* ui.css reserviert oben Platz fuer die Werkzeugleiste — auf Info-Seiten nicht */
body.info { padding-top: 0 !important; margin-top: 0 !important; }
body.info > main, body.info > .wrap, body.info > .hb, body.info > .hülle { margin-top: 0; }
