/* ============================================================
   STVenture — Einheitliches Studien-Design (dunkel)
   Wird als LETZTES Stylesheet eingebunden und überschreibt das
   jeweilige Inline-CSS der Studien-Template-Familie.
   ============================================================ */
:root{
  --stv-bg:#05070d; --stv-surface:#0d1322; --stv-surface-2:#141d31;
  --stv-text:#e8ecf2; --stv-muted:#9aa7bd; --stv-border:rgba(255,255,255,.10);
  --stv-magenta:#d6409f; --stv-blue:#4f8ff7; --stv-cyan:#16b8c4; --stv-green:#34d399; --stv-amber:#f59e0b;
}
html,body{background:var(--stv-bg)!important;color:var(--stv-text)!important;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif!important;}

/* Typografie */
h1,h2,h3,h4,h5{color:#fff!important;letter-spacing:-.01em;}
p,li,td,dd,dt,figcaption{color:var(--stv-text)!important;}
a{color:var(--stv-magenta)!important;}
hr{border-color:var(--stv-border)!important;}

/* ── Einheitlicher Hero mit Weltraum-Bild ───────────────────── */
.hero{position:relative!important;background:#05070d!important;color:#fff!important;
  overflow:hidden!important;padding:96px 0 72px!important;border-bottom:1px solid var(--stv-border)!important;}
.hero::before{content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(180deg,rgba(5,7,13,.5) 0%,rgba(5,7,13,.72) 60%,rgba(5,7,13,.92) 100%),
             url('assets/study-hero.webp') center 30%/cover no-repeat;}
.hero > *{position:relative;z-index:1;}
.hero *,.hero h1,.hero h2,.hero p,.hero span,.hero div{color:#fff!important;
  background:none!important;-webkit-text-fill-color:#fff!important;text-shadow:0 2px 24px rgba(0,0,0,.5);}
.hero .eyebrow,.hero [class*="eyebrow"],.hero [class*="kicker"],.hero [class*="tag"]:not([class*="vendor"]){
  color:var(--stv-magenta)!important;-webkit-text-fill-color:var(--stv-magenta)!important;
  letter-spacing:.22em!important;text-transform:uppercase!important;font-weight:600!important;}

/* ── Surfaces / Cards dunkel ────────────────────────────────── */
.stat-card,.finding-card,.dash-card,.chart-container,.faq-item,.source-item,
section[class*="card"],div[class*="card"],.box,.panel{
  background:var(--stv-surface)!important;border:1px solid var(--stv-border)!important;
  color:var(--stv-text)!important;box-shadow:none!important;border-radius:14px!important;}
.stat-value,.dash-value{color:var(--stv-blue)!important;-webkit-text-fill-color:var(--stv-blue)!important;}
.stat-label,.dash-label,.label,.stat-trend,.dash-trend{color:var(--stv-muted)!important;}
.section-narrative,.chart-narrative,.chart-interpretation,.narrative-transition,.subtitle,.lead{color:var(--stv-muted)!important;}
.up,.positive,.check,.strength{color:var(--stv-green)!important;}
.high,.risk{color:var(--stv-magenta)!important;}
.medium{color:var(--stv-amber)!important;}
.vendor-tag{background:var(--stv-surface-2)!important;color:var(--stv-text)!important;border:1px solid var(--stv-border)!important;}

/* Sektions-Hintergründe (helle Bänder) neutralisieren */
section,.section,[class*="section"]{background:transparent!important;}
.stats-section,.dashboard,[class*="stats"]{background:transparent!important;}

/* FAQ / Quellen */
.faq-question,.faq-toggle{color:#fff!important;}
.faq-answer{color:var(--stv-muted)!important;}
.source-num{color:var(--stv-magenta)!important;}

/* Tabellen */
table{background:var(--stv-surface)!important;border-color:var(--stv-border)!important;}
thead th,th{background:var(--stv-surface-2)!important;color:#fff!important;border-color:var(--stv-border)!important;}
td{border-color:var(--stv-border)!important;color:var(--stv-text)!important;}
tr:nth-child(even) td{background:rgba(255,255,255,.02)!important;}

/* Chart-Container Rahmen */
.chart-container{padding:20px!important;}
canvas{background:transparent!important;}

/* ── Nachzug: helle Findings-/Highlight-Container ───────────── */
.findings,.findings-list,.finding-content,.finding-impact,.highlight-box,[class*="findings"]{
  background:transparent!important;color:var(--stv-text)!important;}
.finding-card{background:var(--stv-surface)!important;}
.finding-content,.finding-content *,.finding-impact,.finding-impact *{color:var(--stv-text)!important;}
.finding-num,.finding-number{color:var(--stv-magenta)!important;-webkit-text-fill-color:var(--stv-magenta)!important;}
.highlight{background:var(--stv-surface-2)!important;color:var(--stv-text)!important;border:1px solid var(--stv-border)!important;}
/* Absicherung: sehr helle Inline-Hintergründe gibt es als Klassen-Boxen — generisch abfangen */
div[style*="background:#f"],div[style*="background: #f"],div[style*="background:#fff"],
section[style*="background:#f"]{background:var(--stv-surface)!important;}
