/* AAOS — Stylesheet, treu zur Bildvorlage vom 23.09.2026.
   Dunkles Grundthema; helles Thema über [data-thema="hell"] am <html>. */

@font-face {
  font-family: "Inter";
  src: url("Inter.woff2") format("woff2");
  font-weight: 100 900; /* variable Schrift — Bereich ist Pflicht */
  font-display: swap;
}

:root {
  --bg: #070b16;
  --bg2: #0a1020;
  --karte: #0d1526cc;
  --karte-voll: #0d1526;
  --rand: #1b2a4a;
  --rand-hell: #27395f;
  --text: #e6edff;
  --gedaempft: #8b9bb8;
  --leise: #5b6b8c;
  --blau: #3b82f6;
  --hellblau: #60a5fa;
  --cyan: #22d3ee;
  --violett: #a855f7;
  --magenta: #d946ef;
  --pink: #ec4899;
  --gruen: #22c55e;
  --rot: #ef4444;
  --gelb: #eab308;
  --verlauf: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899);
}
:root[data-thema="hell"] {
  --bg: #eef2fa; --bg2: #e6ebf7; --karte: #ffffffd9; --karte-voll: #fff;
  --rand: #ccd6ea; --rand-hell: #b3c2de; --text: #17233c;
  --gedaempft: #51617f; --leise: #7d8ba6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { color-scheme: dark; }
:root[data-thema="hell"] { color-scheme: light; }

body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  background:
    radial-gradient(1100px 600px at 85% -10%, #1b1040 0%, transparent 60%),
    radial-gradient(900px 700px at -10% 110%, #14204a 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-variant-numeric: lining-nums tabular-nums;
  min-height: 100dvh;
}
:root[data-thema="hell"] body {
  background:
    radial-gradient(1100px 600px at 85% -10%, #dcd2f5 0%, transparent 60%),
    radial-gradient(900px 700px at -10% 110%, #cfdcf7 0%, transparent 55%),
    var(--bg);
}

.app { display: flex; min-height: 100dvh; }

/* ── Seitenleiste ─────────────────────────────────────────────────── */
.seitenleiste {
  width: 248px; flex: 0 0 auto; display: flex; flex-direction: column;
  padding: 22px 16px; border-right: 1px solid var(--rand);
  background: linear-gradient(180deg, #0a0f1ff2, #0a0f1fd9);
  position: relative; overflow: hidden;
}
:root[data-thema="hell"] .seitenleiste { background: #f6f8fdf0; }
.logo { display: flex; gap: 10px; align-items: center; margin: 2px 6px 26px; }
.logo-mark { width: 40px; height: 40px; }
.logo-mark.klein { width: 22px; height: 22px; }
.logo-name { font-size: 22px; font-weight: 800; letter-spacing: .2px; }
.logo-sub { font-size: 8.5px; letter-spacing: .12em; color: var(--gedaempft); margin-top: 2px; }

.nav { display: flex; flex-direction: column; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border: 0; border-radius: 12px;
  background: none; color: var(--gedaempft);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  text-align: left;
}
.nav-item svg { width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { color: var(--text); background: #ffffff0a; }
.nav-item.aktiv {
  color: var(--hellblau);
  background: linear-gradient(90deg, #1d4ed833, #1d4ed81a);
  box-shadow: inset 0 0 0 1px #3b82f64d;
}

.zitat {
  margin: 40px 10px 0; font-size: 26px; font-weight: 800; line-height: 1.3;
  background: linear-gradient(150deg, var(--text), var(--hellblau));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stier {
  margin-top: auto; height: 190px; border-radius: 16px;
  background:
    radial-gradient(120px 90px at 30% 75%, #7c3aed55, transparent 70%),
    radial-gradient(90px 70px at 70% 45%, #3b82f644, transparent 70%),
    radial-gradient(60px 50px at 45% 30%, #ec489933, transparent 70%);
  filter: blur(2px);
}

/* ── Kopfzeile ────────────────────────────────────────────────────── */
.hauptspalte { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.kopf {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 16px 24px 6px;
}
.suche { position: relative; flex: 1; max-width: 760px; }
.suche input {
  width: 100%; padding: 14px 54px 14px 46px;
  background: var(--karte); border: 1px solid var(--rand-hell);
  border-radius: 14px; color: var(--text); font: inherit; font-size: 15px;
}
.suche input:focus { outline: none; border-color: var(--blau);
  box-shadow: 0 0 0 3px #3b82f62b; }
.such-icon { position: absolute; left: 15px; top: 14px; width: 19px; height: 19px;
  fill: none; stroke: var(--gedaempft); stroke-width: 1.8; stroke-linecap: round; }
.such-los {
  position: absolute; right: 7px; top: 7px; width: 36px; height: 34px;
  border: 1px solid var(--rand-hell); border-radius: 10px;
  background: #131e36; color: var(--gedaempft); cursor: pointer;
}
:root[data-thema="hell"] .such-los { background: #e8edf8; }
.such-los svg { width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.such-los:hover { color: var(--text); border-color: var(--blau); }
.such-hinweis { margin: 6px 4px 0; font-size: 12px; color: var(--leise); }
.such-vorschlaege {
  position: absolute; top: 54px; left: 0; right: 0; z-index: 30;
  background: var(--karte-voll); border: 1px solid var(--rand-hell);
  border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px #0009;
}
.such-vorschlaege button {
  display: flex; justify-content: space-between; width: 100%;
  padding: 10px 16px; background: none; border: 0; color: var(--text);
  font: inherit; cursor: pointer;
}
.such-vorschlaege button:hover, .such-vorschlaege button.markiert { background: #3b82f61f; }
.such-vorschlaege .basis { color: var(--gedaempft); }

.kopf-rechts { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.rund-knopf {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--rand-hell); background: var(--karte);
  color: var(--gedaempft); cursor: pointer;
}
.rund-knopf:hover { color: var(--text); border-color: var(--blau); }
.rund-knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.glocke .punkt { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--violett); }
.profil { display: flex; align-items: center; gap: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rand-hell); background: var(--karte);
  display: grid; place-items: center; color: var(--gedaempft); }
.avatar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.profil-text { display: flex; flex-direction: column; line-height: 1.25; }
.gruss { font-size: 12px; color: var(--gedaempft); }
.rolle { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.pfeil-ab { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.motto { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-align: right;
  color: var(--hellblau); line-height: 1.45; }

/* ── Inhalt ───────────────────────────────────────────────────────── */
.inhalt { display: flex; gap: 18px; padding: 10px 24px 18px; flex: 1; min-width: 0; }
.mitte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rechts { width: 316px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 16px; }

.karte {
  background: var(--karte); border: 1px solid var(--rand);
  border-radius: 16px; padding: 16px 18px;
  backdrop-filter: blur(6px);
}
.karten-titel { display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.karten-fuss { font-size: 12px; color: var(--gedaempft); line-height: 1.5; }

/* Symbolkopf */
.symbol-kopf {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding: 14px 20px; margin-bottom: 12px;
}
.coin-zeile { display: flex; align-items: center; gap: 13px; }
.coin-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, #f7931a, #b86209);
  display: grid; place-items: center; font-weight: 800; font-size: 22px;
  color: #fff;
}
.paar-zeile { display: flex; align-items: center; gap: 8px; }
.paar { font-size: 21px; font-weight: 800; }
.stern { border: 0; background: none; color: var(--leise); font-size: 19px;
  cursor: pointer; padding: 0 2px; }
.stern.an { color: var(--gelb); }
.paar-sub { font-size: 12.5px; color: var(--gedaempft); margin-top: 2px; }
.boerse { color: var(--gelb); }
.preis-block { margin-left: 4px; }
.preis { font-size: 27px; font-weight: 800; letter-spacing: .3px; }
.aenderung { font-size: 14px; font-weight: 700; }
.aenderung.plus { color: var(--gruen); } .aenderung.minus { color: var(--rot); }
.stat { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px;
  color: var(--gedaempft); }
.stat b { font-size: 15.5px; color: var(--text); font-weight: 700; }

/* Reiter */
.reiter { display: flex; gap: 26px; padding: 4px 8px 0; border-bottom: 1px solid var(--rand);
  margin-bottom: 12px; }
.reiter-knopf {
  border: 0; background: none; color: var(--gedaempft); font: inherit;
  font-size: 14.5px; font-weight: 600; padding: 8px 2px 11px; cursor: pointer;
  position: relative;
}
.reiter-knopf:hover { color: var(--text); }
.reiter-knopf.aktiv { color: var(--hellblau); }
.reiter-knopf.aktiv::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  border-radius: 3px; background: var(--verlauf);
}

.tab { flex: 1; overflow: auto; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 14px; }
.zeit { font-size: 11px; color: var(--leise); margin-top: 5px; }
.nutzer-zeile { display: flex; justify-content: flex-end; align-items: flex-start; gap: 10px; }
.nutzer-blase {
  background: #16233f; border: 1px solid var(--rand-hell);
  padding: 10px 16px; border-radius: 12px; font-size: 14.5px;
}
:root[data-thema="hell"] .nutzer-blase { background: #e8edf8; }
.mini-avatar { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  border: 1px solid var(--rand-hell); background: var(--karte-voll);
  display: grid; place-items: center; color: var(--gedaempft); }
.mini-avatar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ki-zeile { display: flex; gap: 12px; align-items: flex-start; }
.ki-avatar { width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 30% 30%, #1d2b52, #0d1526);
  border: 1px solid #3b82f680; display: grid; place-items: center;
  box-shadow: 0 0 14px #3b82f640; }
.ki-avatar svg { width: 22px; height: 22px; }
.ki-blase { background: #101a30; border: 1px solid var(--rand-hell);
  padding: 10px 16px; border-radius: 12px; font-size: 14.5px; }
:root[data-thema="hell"] .ki-blase { background: #eef2fb; }

.setup-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1180px) { .setup-raster { grid-template-columns: 1fr; } }

.richtung-karte {
  border-radius: 14px; padding: 15px 17px;
  background: #0c1424e6; border: 1px solid;
}
.richtung-karte.long { border-color: #3b82f699; box-shadow: 0 0 22px #3b82f622; }
.richtung-karte.short { border-color: #d946ef99; box-shadow: 0 0 22px #d946ef22; }
:root[data-thema="hell"] .richtung-karte { background: #fff; }
.richtung-kopf { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.richtung-icon { width: 38px; height: 38px; border-radius: 10px; display: grid;
  place-items: center; }
.richtung-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.long .richtung-icon { background: linear-gradient(135deg, #2563eb, #22d3ee); }
.short .richtung-icon { background: linear-gradient(135deg, #a21caf, #ec4899); }
.richtung-name { font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.long .richtung-name { color: var(--hellblau); }
.short .richtung-name { color: var(--magenta); }
.richtung-wk { margin-left: auto; text-align: right; font-size: 11.5px; color: var(--gedaempft); }
.richtung-wk b { display: block; font-size: 19px; }
.long .richtung-wk b { color: var(--cyan); }
.short .richtung-wk b { color: var(--pink); }
.setup-zeile { display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 2px; border-top: 1px solid var(--rand); font-size: 13.5px; }
.setup-zeile span { color: var(--gedaempft); }
.setup-zeile b { font-weight: 700; }

.begruendung-karte { border-radius: 14px; padding: 15px 17px; margin-top: 16px;
  background: #0c1424e6; border: 1px solid; }
.begruendung-karte.long { border-color: #3b82f666; }
.begruendung-karte.short { border-color: #d946ef66; }
:root[data-thema="hell"] .begruendung-karte { background: #fff; }
.begruendung-kopf { display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.begruendung-kopf .richtung-icon { width: 30px; height: 30px; border-radius: 8px; }
.begruendung-kopf .richtung-icon svg { width: 16px; height: 16px; }
.begruendung-liste { list-style: none; display: flex; flex-direction: column; gap: 9px;
  font-size: 13.5px; }
.begruendung-liste li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.haken { flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; }
.long-haken { background: #2563eb33; color: var(--cyan); }
.short-haken { background: #a21caf33; color: var(--pink); }
.haken svg { width: 10px; height: 10px; fill: none; stroke: currentColor;
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.fazit-karte { margin-top: 16px; border-radius: 14px; padding: 14px 17px;
  background: #0c1424e6; border: 1px solid var(--rand-hell); font-size: 14px;
  line-height: 1.55; }
:root[data-thema="hell"] .fazit-karte { background: #fff; }
.fazit-karte b { display: block; margin-bottom: 4px; }
.fazit-zeit { text-align: right; font-size: 11px; color: var(--leise); margin-top: 8px; }
.claude-status { margin-top: 12px; font-size: 12.5px; color: var(--gedaempft);
  display: flex; align-items: center; gap: 8px; }
.claude-status .puls { width: 9px; height: 9px; border-radius: 50%;
  background: var(--violett); animation: puls 1.2s ease-in-out infinite; }
@keyframes puls { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .claude-status .puls { animation: none; } }

/* Eingabezeile */
.eingabe-zeile { display: flex; gap: 10px; margin-top: 14px; }
.anhang { width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
  border: 1px solid var(--rand-hell); background: var(--karte);
  color: var(--gedaempft); cursor: pointer; }
.anhang svg { width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eingabe-zeile input { flex: 1; padding: 12px 16px; background: var(--karte);
  border: 1px solid var(--rand-hell); border-radius: 12px; color: var(--text);
  font: inherit; font-size: 14.5px; }
.eingabe-zeile input:focus { outline: none; border-color: var(--blau);
  box-shadow: 0 0 0 3px #3b82f62b; }
.senden { width: 52px; height: 46px; flex: 0 0 auto; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #ec4899); cursor: pointer; }
.senden svg { width: 20px; height: 20px; fill: none; stroke: #fff;
  stroke-width: 1.9; stroke-linejoin: round; }
.senden:hover { filter: brightness(1.15); }

/* rechte Spalte */
.info { margin-left: auto; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--rand-hell); background: none; color: var(--gedaempft);
  font-size: 11px; font-weight: 700; cursor: pointer; font-style: italic; }
.info:hover { color: var(--text); border-color: var(--blau); }
.score-info { margin-top: 10px; font-size: 12px; color: var(--gedaempft);
  line-height: 1.55; border-top: 1px solid var(--rand); padding-top: 10px; }
.messer { position: relative; width: 200px; margin: 4px auto 0; }
.messer svg { width: 100%; display: block; }
.messer-wert { position: absolute; inset: auto 0 4px; text-align: center; }
.messer-wert b { display: block; font-size: 32px; font-weight: 800; }
.messer-wert span { font-size: 15px; font-weight: 700; color: var(--hellblau); }
#messerBogen { transition: stroke-dashoffset .8s ease; }

.senti-balken { height: 10px; border-radius: 6px; background: #ec489933; overflow: hidden; }
.senti-fuellung { height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #2563eb, #22d3ee); width: 50%;
  transition: width .6s ease; }
.senti-zeile { display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 13px; font-weight: 700; }
.senti-zeile .bull { color: var(--cyan); } .senti-zeile .bear { color: var(--pink); }

.indi-liste { display: flex; flex-direction: column; }
.indi-zeile { display: flex; align-items: baseline; gap: 8px; padding: 8px 0;
  border-top: 1px solid var(--rand); font-size: 13.5px; }
.indi-zeile:first-child { border-top: 0; }
.indi-name { color: var(--gedaempft); }
.indi-wert { margin-left: auto; font-weight: 600; }
.indi-tag { font-weight: 700; }
.indi-tag.bull { color: var(--gruen); } .indi-tag.bear { color: var(--rot); }
.indi-tag.neutral { color: var(--gelb); }

.mehr { margin-left: auto; border: 0; background: none; color: var(--hellblau);
  font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.news-liste { display: flex; flex-direction: column; }
.news-zeile { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rand);
  font-size: 12.5px; line-height: 1.4; text-decoration: none; color: var(--text); }
.news-zeile:first-child { border-top: 0; }
.news-zeile:hover .news-text { color: var(--hellblau); }
.news-icon { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px;
  background: #3b82f61f; display: grid; place-items: center; color: var(--hellblau); }
.news-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.news-datum { color: var(--leise); white-space: nowrap; font-size: 11.5px; padding-top: 1px; }
.news-text { flex: 1; }
.news-quelle { color: var(--leise); font-size: 11px; }
.news-abschnitt { margin: 10px 0 4px; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--hellblau); }
.news-abschnitt:first-child { margin-top: 0; }
.news-abschnitt + .news-zeile { border-top: 0; }

/* Marktbewegend (29.09.2026): Badge statt Icon, Farbe + Text (nie nur Farbe) */
.eil-erklaerung { margin: -4px 0 8px; }
.eil-stand { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--leise); }
.eil-links { flex: 0 0 auto; width: 78px; display: flex; flex-direction: column; gap: 4px; }
.eil-links .news-datum { font-size: 10.5px; padding-top: 0; }
.eil-badge { display: inline-block; text-align: center; align-self: flex-start;
  padding: 4px 6px; border-radius: 6px; font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; background: #3b82f61f; color: var(--hellblau); }
.eil-badge.b-hack, .eil-badge.b-boerse { background: #ef44441f; color: var(--rot); }
.eil-badge.b-aufsicht { background: #3b82f61f; color: var(--hellblau); }
.eil-badge.b-politik { background: #a855f71f; color: var(--violett); }
.eil-badge.b-zins, .eil-badge.b-daten, .eil-badge.b-makro { background: #eab3081f; color: var(--gelb); }
.eil-badge.b-eskalation, .eil-badge.b-geo { background: #ec48991f; color: var(--pink); }
.eil-badge.b-etf { background: #22d3ee1f; color: var(--cyan); }
.eil-badge.b-whale, .eil-badge.b-summe, .eil-badge.b-kurs, .eil-badge.b-krypto {
  background: #8b9bb81f; color: var(--gedaempft); }
.eil-punkte { color: var(--leise); font-size: 10.5px; margin-left: 4px; }
#view-nachrichten .setup-raster .karte { margin-bottom: 0; }

/* Stärkste Marktnachrichten (30.09.2026): Zahl + Balken links, Text rechts.
   Der Balken trägt den Markenverlauf (Stärke), die Richtung steht als
   Wort-Badge daneben — Stärke und Richtung nie über dieselbe Farbe. */
.impact-liste { display: flex; flex-direction: column; }
.impact-zeile { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rand);
  text-decoration: none; color: var(--text); }
.impact-zeile:first-child { border-top: 0; }
.impact-zeile:hover .impact-titel { color: var(--hellblau); }
.impact-wert { flex: 0 0 68px; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.impact-wert b { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.impact-wert b::after { content: "%"; font-size: 12px; font-weight: 600; margin-left: 2px;
  color: var(--gedaempft); letter-spacing: 0; }
.impact-balken { display: block; height: 6px; border-radius: 4px; background: #8b9bb826; overflow: hidden; }
.impact-balken i { display: block; height: 100%; border-radius: 4px; background: var(--verlauf); }
.impact-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  font-size: 12.5px; line-height: 1.45; }
.impact-titel { font-weight: 600; }
.impact-grund { color: var(--gedaempft); }
.impact-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  font-size: 11px; color: var(--leise); }
.impact-richtung { padding: 3px 7px; border-radius: 6px; font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; }
.impact-richtung.r-bullish { background: #22c55e1f; color: var(--gruen); }
.impact-richtung.r-bearish { background: #ef44441f; color: var(--rot); }
.impact-richtung.r-gemischt { background: #eab3081f; color: var(--gelb); }
.impact-richtung.r-neutral { background: #8b9bb81f; color: var(--gedaempft); }
.impact-weitere { color: var(--hellblau); }
.impact-fazit { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rand);
  font-size: 12.5px; color: var(--gedaempft); line-height: 1.5; }

/* Wirtschaftskalender (30.09.2026) */
.kal-filter { margin-bottom: 10px; }
.chip.aktiv { border-color: var(--blau); color: var(--hellblau); background: #3b82f61f; }
.kal-liste { display: flex; flex-direction: column; }
.kal-zeile { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0;
  border-top: 1px solid var(--rand); font-size: 12.5px; line-height: 1.4; }
.kal-zeile:first-child, .news-abschnitt + .kal-zeile { border-top: 0; }
.kal-zeile.vorbei { opacity: .55; }
.kal-zeit { flex: 0 0 44px; color: var(--leise); font-size: 11.5px; padding-top: 2px; white-space: nowrap; }
#kalTermine .kal-zeit { flex-basis: 112px; }
.kal-datum { color: var(--gedaempft); margin-right: 6px; }
.kal-land { flex: 0 0 34px; font-weight: 700; font-size: 11px; color: var(--gedaempft); padding-top: 2px; }
.kal-wichtig { flex: 0 0 64px; text-align: center; padding: 3px 4px; border-radius: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: .06em; background: #8b9bb81f; color: var(--gedaempft); }
.w-hoch .kal-wichtig { background: #ef44441f; color: var(--rot); }
.w-mittel .kal-wichtig { background: #eab3081f; color: var(--gelb); }
.w-feiertag .kal-wichtig { background: #3b82f61f; color: var(--hellblau); }
.kal-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kal-titel a { color: inherit; text-decoration: none; }
.kal-titel a:hover { color: var(--hellblau); }
.kal-zahlen { font-size: 11.5px; color: var(--gedaempft); }
.kal-zahlen b { color: var(--text); font-weight: 600; }
.kal-notiz { font-size: 11.5px; color: var(--leise); }
@media (max-width: 700px) {
  .kal-land { display: none; }
  .impact-wert { flex-basis: 56px; }
}
/* breite Spalte: Badge und Zeit nebeneinander, sonst doppelt so hohe Zeilen */
#view-nachrichten .eil-links { flex-direction: row; align-items: center; width: auto; gap: 8px; }
#view-nachrichten .eil-links .news-datum { min-width: 86px; }

/* Fuß */
.fuss { display: flex; align-items: center; gap: 10px; margin-top: 16px;
  padding: 8px 4px 0; font-size: 13px; color: var(--gedaempft); }
.fuss-links { display: flex; align-items: center; gap: 8px; }
.fuss-links b { color: var(--text); }
.pro { font-size: 10.5px; font-weight: 800; color: var(--hellblau);
  border: 1px solid #3b82f680; padding: 1px 6px; border-radius: 6px; }
.fuss-text { margin-left: 6px; }
.fuss-rechts { margin-left: auto; display: flex; gap: 22px; }
.fuss-rechts a { color: var(--gedaempft); text-decoration: none; }
.fuss-rechts a:hover { color: var(--text); }

/* Tabellen (Technisch / Markt / Verlauf) */
.tab-block h3 { font-size: 14.5px; margin: 14px 0 8px; }
.tab-block h3:first-child { margin-top: 0; }
.tabelle-huelle { overflow-x: auto; }
table.daten { width: 100%; border-collapse: collapse; font-size: 13px; }
table.daten th { text-align: left; color: var(--gedaempft); font-weight: 600;
  padding: 7px 10px; border-bottom: 1px solid var(--rand-hell); white-space: nowrap; }
table.daten td { padding: 7px 10px; border-bottom: 1px solid var(--rand);
  white-space: nowrap; }
table.daten tr.klickbar { cursor: pointer; }
table.daten tr.klickbar:hover td { background: #3b82f614; }
.plus { color: var(--gruen); } .minus { color: var(--rot); }

.leer-hinweis { color: var(--gedaempft); font-size: 13.5px; line-height: 1.6;
  padding: 14px 4px; }

/* Ansichten außerhalb der Analyse */
.ansicht > .karte { margin-bottom: 14px; }
.chip-reihe { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--rand-hell); background: var(--karte-voll);
  color: var(--text); border-radius: 999px; padding: 8px 16px; font: inherit;
  font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--blau); color: var(--hellblau); }

.einstellung-zeile { display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--rand); font-size: 14px; }
.einstellung-zeile:first-child { border-top: 0; }
.einstellung-zeile label { color: var(--gedaempft); flex: 1; }
.einstellung-zeile input[type="text"] { width: 140px; padding: 8px 10px;
  background: var(--karte-voll); border: 1px solid var(--rand-hell);
  border-radius: 8px; color: var(--text); font: inherit; }

.hinweis-box { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--karte-voll); border: 1px solid var(--rand-hell);
  border-radius: 12px; padding: 11px 18px; font-size: 13.5px; z-index: 90;
  box-shadow: 0 14px 34px #000a; max-width: min(520px, 90vw); }

/* schmalere Fenster */
@media (max-width: 1280px) { .rechts { width: 280px; } }
@media (max-width: 1080px) {
  .inhalt { flex-direction: column; }
  .rechts { width: auto; flex-direction: row; flex-wrap: wrap; }
  .rechts .karte { flex: 1 1 260px; }
}
@media (max-width: 860px) {
  .seitenleiste { display: none; }
  .motto { display: none; }
}

/* ── TradingView-Anbindung (24.09.2026) ─────────────────────────────── */
.tv-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--rand-hell); border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--hellblau);
  text-decoration: none; white-space: nowrap;
}
.tv-link:hover { border-color: var(--hellblau); background: #3b82f61a; }
.tv-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tv-zeichnen {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin-top: 10px; padding: 8px 10px; justify-content: center;
  border: 1px dashed var(--rand-hell); border-radius: 10px;
  background: none; color: var(--gedaempft); font: inherit; font-size: 12.5px;
  font-weight: 600; cursor: pointer;
}
.tv-zeichnen:hover { color: var(--hellblau); border-color: var(--hellblau); }
.tv-zeichnen svg { width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.zeichen-zeile {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 8px 2px; border-top: 1px solid var(--rand); font-size: 13px;
}
.zeichen-zeile:first-child { border-top: 0; }
.zeichen-status {
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gelb);
  border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px;
}
.zeichen-werte { color: var(--gedaempft); }
.zeichen-zeit { margin-left: auto; color: var(--leise); font-size: 12px; }

/* ── Liquidations-Heatmap (geschätzt, 30.09.2026) ─────────────────── */
.liq-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.liq-kopf h3 { margin: 0; }
.liq-huelle { position: relative; margin: 10px 0 14px; }
.liq-canvas { width: 100%; height: 420px; display: block; border-radius: 10px; background: #0b1020; }
.liq-status { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.liq-tooltip { position: absolute; pointer-events: none; background: #0f172ae6; color: #e5e7eb;
  border: 1px solid var(--rand-hell); border-radius: 8px; padding: 6px 9px; font-size: 12px;
  white-space: nowrap; z-index: 3; }
.liq-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .liq-raster { grid-template-columns: 1fr; } }
