/* ═══════════════════════════════════════════════════════════════
   aktien.digital – Zentrales Stylesheet
   Kein Build-Schritt · direkt editierbar · /styles.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Lokale Fonts ────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('/fonts/lora.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
  --ak-navy:   #0F2044;
  --ak-gold:   #F59E0B;
  --ak-green:  #059669;
  --ak-green2: #34D399;   /* hell, auf dunklem Hintergrund */
  --ak-red:    #DC2626;
  --ak-red2:   #F87171;   /* hell, auf dunklem Hintergrund */
  --ak-blue:   #2563EB;
  --ak-bg:     #F8FAFC;
  --ak-card:   #FFFFFF;
  --ak-border: #E2E8F0;
  --ak-muted:  #64748B;
  --ak-text:   #1E293B;
  --ak-amber:  #FEF3C7;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif:'Lora', Georgia, serif;

  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 4px 24px rgba(0,0,0,.12);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  font-family: var(--font-sans);
  background: var(--ak-bg);
  color: var(--ak-text);
  line-height: 1.65;
  border-top: 4px solid var(--ak-gold);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ak-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────────────────────── */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.container--prose { max-width: 780px;  margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--ak-navy);
  border-bottom: 2px solid var(--ak-gold);
  padding: 0.75rem 0;
  position: sticky; top: 0; z-index: 200;
}
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.375rem; font-weight: 700;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.site-logo span { color: var(--ak-gold); }
.site-logo:hover { text-decoration: none; }
.site-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,.85); font-size: 0.8rem; font-weight: 500;
  transition: color .15s; white-space: nowrap;
}
.site-nav a:hover { color: var(--ak-gold); text-decoration: none; }

/* ── Hamburger-Button ────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.25rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Refresh Bar (direkt unter Header) ──────────────────────── */
.refresh-bar {
  background: #111827;
  color: rgba(255,255,255,.6);
  font-size: 0.72rem;
  padding: 0.3rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.refresh-bar__left { display: flex; align-items: center; gap: 0.5rem; }
.refresh-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ak-green2);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}
.refresh-bar strong { color: #fff; }

/* ── Live Ticker (scrollende Zeile) ─────────────────────────── */
.live-ticker-wrap {
  background: #1a2744;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.live-ticker-wrap::before,
.live-ticker-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2;
  pointer-events: none;
}
.live-ticker-wrap::before { left: 0;  background: linear-gradient(to right,  #1a2744, transparent); }
.live-ticker-wrap::after  { right: 0; background: linear-gradient(to left,   #1a2744, transparent); }

.live-ticker {
  display: flex;
  gap: 0;
  animation: ticker-scroll 90s linear infinite;
  -webkit-animation: ticker-scroll 90s linear infinite;
  width: max-content;
  padding: 0.5rem 0;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.live-ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@-webkit-keyframes ticker-scroll {
  from { -webkit-transform: translateX(0); }
  to   { -webkit-transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  font-size: 0.78rem;
}
.ticker-item__label { color: rgba(255,255,255,.5); font-size: 0.68rem; }
.ticker-item__price { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.ticker-item__chg   { font-size: 0.68rem; font-weight: 600; }
.ticker-item__chg--up   { color: var(--ak-green2); }
.ticker-item__chg--down { color: var(--ak-red2); }
.ticker-item__chg--flat { color: rgba(255,255,255,.4); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--ak-navy);
  background-image: radial-gradient(ellipse at 70% 50%, #162d5e 0%, #0F2044 60%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.hero__label {
  display: inline-block;
  background: var(--ak-gold); color: var(--ak-navy);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 0.2rem 0.7rem; border-radius: 4px; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 1rem; max-width: 680px;
}
.hero h1 em { font-style: normal; color: var(--ak-gold); }
.hero__sub   { font-size: 1.05rem; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 0; }

/* ── Dashboard Layout ────────────────────────────────────────── */
.dashboard { padding: 2.5rem 0; }
.dash-section { margin-bottom: 2.5rem; }
.dash-section__head {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--ak-border);
  padding-bottom: 0.5rem;
}
.dash-section__title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--ak-navy);
}
.dash-section__meta { font-size: 0.72rem; color: var(--ak-muted); }

/* ── Data Cards Grid ─────────────────────────────────────────── */
.data-grid    { display: grid; gap: 0.75rem; }
.data-grid--2 { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.data-grid--3 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.data-grid--4 { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
.data-grid--5 { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

.data-card {
  background: var(--ak-card);
  border: 1px solid var(--ak-border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.data-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.data-card__flag   { font-size: 0.85rem; margin-bottom: 0.15rem; }
.data-card__label  { font-size: 0.68rem; color: var(--ak-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-card__price  { font-size: 1.35rem; font-weight: 700; color: var(--ak-navy); font-variant-numeric: tabular-nums; line-height: 1.2; }
.data-card__change {
  display: inline-flex; align-items: center; gap: 0.2rem;
  font-size: 0.72rem; font-weight: 600;
  margin-top: 0.2rem; padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.data-card__change--up   { background: #D1FAE5; color: #065F46; }
.data-card__change--down { background: #FEE2E2; color: #991B1B; }
.data-card__change--flat { background: #F1F5F9; color: var(--ak-muted); }
.data-card__unit   { font-size: 0.62rem; color: var(--ak-muted); margin-top: 0.2rem; }
.data-card__state  { position: absolute; top: 0.5rem; right: 0.5rem; }

/* Market Open/Closed badge */
.market-badge {
  font-size: 0.55rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 0.15rem 0.4rem; border-radius: 3px;
}
.market-badge--open   { background: #D1FAE5; color: #065F46; }
.market-badge--closed { background: #F1F5F9; color: var(--ak-muted); }
.market-badge--pre    { background: #FEF3C7; color: #92400E; }
.market-badge--post   { background: #EDE9FE; color: #4C1D95; }

/* Loading shimmer */
.data-card--loading .data-card__price {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px; color: transparent; user-select: none;
  width: 80px;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── Three-column dashboard row ──────────────────────────────── */
.dash-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ── Sentiment Section ───────────────────────────────────────── */
.sentiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.sentiment-card {
  background: var(--ak-card);
  border: 1px solid var(--ak-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.sentiment-card__label { font-size: 0.72rem; font-weight: 700; color: var(--ak-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 0.5rem; }
.sentiment-card__value { font-size: 2rem; font-weight: 700; color: var(--ak-navy); font-variant-numeric: tabular-nums; line-height: 1; margin-bottom: 0.25rem; }
.sentiment-card__desc  { font-size: 0.8rem; color: var(--ak-muted); margin-bottom: 1rem; }

/* Gauge Bar */
.gauge-bar {
  height: 8px;
  background: linear-gradient(to right, #059669 0%, #F59E0B 50%, #DC2626 100%);
  border-radius: 4px;
  position: relative;
  margin-bottom: 0.5rem;
}
.gauge-needle {
  position: absolute;
  top: -5px; width: 18px; height: 18px;
  background: #fff; border: 2.5px solid var(--ak-navy);
  border-radius: 50%; transform: translateX(-50%);
  transition: left 0.8s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.gauge-labels {
  display: flex; justify-content: space-between;
  font-size: 0.6rem; color: var(--ak-muted);
}

/* Fear & Greed Meter */
.fg-meter {
  text-align: center; padding: 0.5rem 0;
}
.fg-value {
  font-size: 3rem; font-weight: 700; font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fg-label  { font-size: 0.9rem; font-weight: 700; margin-top: 0.25rem; }
.fg-label--extremefear  { color: #991B1B; }
.fg-label--fear         { color: #DC2626; }
.fg-label--neutral      { color: var(--ak-muted); }
.fg-label--greed        { color: #059669; }
.fg-label--extremegreed { color: #065F46; }

/* ── Sections ────────────────────────────────────────────────── */
.section      { padding: 3rem 0; }
.section--alt { background: var(--ak-card); }
.section--dark{ background: var(--ak-navy); color: #fff; }
.section__head { margin-bottom: 2rem; }
.section__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700; color: var(--ak-navy); margin-bottom: 0.4rem;
}
.section--dark .section__head h2 { color: #fff; }
.section__sub { font-size: 0.95rem; color: var(--ak-muted); max-width: 600px; }
.section--dark .section__sub { color: rgba(255,255,255,.65); }

/* ── Cards ───────────────────────────────────────────────────── */
.cards    { display: grid; gap: 1.25rem; }
.cards--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  background: var(--ak-card);
  border: 1px solid var(--ak-border);
  border-left: 4px solid var(--ak-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  color: inherit; text-decoration: none; display: block;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.1); text-decoration: none; }
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--ak-navy); margin-bottom: 0.5rem;
}
.card p       { font-size: 0.88rem; color: var(--ak-muted); line-height: 1.55; }
.card__rate   { font-size: 1.75rem; font-weight: 700; color: var(--ak-green); margin: 0.5rem 0; }
.card__rate--red { color: var(--ak-red); }
.card__meta   { font-size: 0.7rem; color: var(--ak-muted); margin-top: 0.5rem; }

/* ── Tabellen ────────────────────────────────────────────────── */
.ak-table-wrap { overflow-x: auto; }
.ak-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ak-table th {
  background: var(--ak-navy); color: #fff;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; padding: 0.7rem 1rem; text-align: left; white-space: nowrap;
}
.ak-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--ak-border); }
.ak-table tr:nth-child(even) td { background: #F8FAFC; }
.ak-table tr:hover td { background: #EFF6FF; }
.ak-table .val-up   { color: var(--ak-green); font-weight: 700; }
.ak-table .val-down { color: var(--ak-red);   font-weight: 700; }
.ak-table .val-neu  { color: var(--ak-navy);  font-weight: 700; }

/* ── Prose ───────────────────────────────────────────────────── */
.prose h2 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--ak-navy); margin: 2rem 0 0.75rem; }
.prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--ak-navy); margin: 1.5rem 0 0.5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.35rem; }
.prose strong { color: var(--ak-navy); }
.prose table  { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin: 1.5rem 0; }
.prose th     { background: var(--ak-navy); color: #fff; padding: 0.6rem 1rem; text-align: left; }
.prose td     { padding: 0.6rem 1rem; border-bottom: 1px solid var(--ak-border); }
.prose tr:nth-child(even) td { background: #F8FAFC; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  align-items: center; font-size: 0.8rem; color: var(--ak-muted);
  padding: 0.75rem 0; margin-bottom: 1.5rem;
}
.breadcrumb a       { color: var(--ak-muted); }
.breadcrumb a:hover { color: var(--ak-blue); text-decoration: underline; }
.breadcrumb__sep    { color: var(--ak-border); }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px;
}
.badge--gold    { background: #FEF3C7; border: 1px solid var(--ak-gold); color: #92400E; }
.badge--green   { background: #D1FAE5; color: #065F46; }
.badge--red     { background: #FEE2E2; color: #991B1B; }
.badge--blue    { background: #DBEAFE; color: #1E40AF; }
.badge--purple  { background: #EDE9FE; color: #4C1D95; }
.badge--muted   { background: #F1F5F9; color: var(--ak-muted); }

/* ── Psych Insight Karte ─────────────────────────────────────── */
.insight-card {
  background: linear-gradient(135deg, #1a3a6e 0%, var(--ak-navy) 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: #fff;
}
.insight-card__num  { font-size: 2rem; font-weight: 700; color: var(--ak-gold); line-height: 1; }
.insight-card__head { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; margin: 0.4rem 0 0.6rem; }
.insight-card__body { font-size: 0.85rem; color: rgba(255,255,255,.75); line-height: 1.6; }

/* ── Rare Indicators Panel ───────────────────────────────────── */
.indicator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.indicator-item {
  flex: 1 1 160px;
  background: var(--ak-card);
  border: 1px solid var(--ak-border);
  border-top: 3px solid var(--ak-gold);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.indicator-item__label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ak-muted); margin-bottom: 0.35rem; }
.indicator-item__value { font-size: 1.5rem; font-weight: 700; color: var(--ak-navy); font-variant-numeric: tabular-nums; }
.indicator-item__sub   { font-size: 0.7rem; color: var(--ak-muted); margin-top: 0.2rem; }
.indicator-item__trend { font-size: 0.72rem; font-weight: 600; margin-top: 0.3rem; }
.indicator-item__trend--up   { color: var(--ak-green); }
.indicator-item__trend--down { color: var(--ak-red); }


/* ── NotAsked Badge ──────────────────────────────────────────── */
.notasked-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #FEF3C7; border: 1px solid var(--ak-gold);
  color: #92400E; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 0.75rem;
}

/* ── Quellen-Badges ──────────────────────────────────────────── */
.quelle { display: inline-block; font-size: 0.68rem; padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; }
.quelle--ecb    { background: #DBEAFE; color: #1E40AF; }
.quelle--buba   { background: #EDE9FE; color: #4C1D95; }
.quelle--yahoo  { background: #FEF3C7; color: #78350F; }
.quelle--cg     { background: #D1FAE5; color: #064E3B; }
.quelle--wb     { background: #F1F5F9; color: var(--ak-text); }

/* ── Rechner ─────────────────────────────────────────────────── */
.rechner {
  background: var(--ak-card); border: 1px solid var(--ak-border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); max-width: 680px; margin: 2rem auto;
}
.rechner__inputs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.rechner__field  { display: flex; flex-direction: column; gap: 0.3rem; }
.rechner__field label { font-size: 0.78rem; font-weight: 600; color: var(--ak-navy); }
.rechner__field input[type="number"],
.rechner__field input[type="text"],
.rechner__field select {
  padding: 0.5rem 0.75rem; border: 1px solid var(--ak-border);
  border-radius: 6px; font-size: 0.9rem; font-family: var(--font-sans); color: var(--ak-text);
}
.rechner__field input:focus,
.rechner__field select:focus { outline: 2px solid var(--ak-gold); outline-offset: 1px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  padding: 0.55rem 1.25rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  border: none; font-family: var(--font-sans); transition: opacity .15s;
}
.btn:hover      { opacity: 0.88; }
.btn--primary   { background: var(--ak-gold);  color: var(--ak-navy); }
.btn--green     { background: var(--ak-green);  color: #fff; }
.btn--ghost     { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline   { background: transparent; border: 1.5px solid var(--ak-border); color: var(--ak-text); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ak-navy); color: #fff;
  padding: 2.5rem 0 1.5rem; margin-top: 4rem;
  font-size: 0.85rem; border-top: 2px solid var(--ak-gold);
}
.site-footer__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: center;
}
.site-footer a          { color: #fff; }
.site-footer a:hover    { color: var(--ak-gold); text-decoration: none; }
.site-footer__links     { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__consent   { cursor: pointer; }
.site-footer__consent:hover { color: var(--ak-gold); }

/* ── Consent Banner ──────────────────────────────────────────── */
.consent-banner {
  position: fixed; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  max-width: 520px;
  background: var(--ak-navy); color: #fff;
  border: 1px solid var(--ak-gold); border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 9999; font-size: 0.875rem;
}
.consent-banner p { margin-bottom: 1rem; }
.consent-banner__btns { display: flex; gap: 0.75rem; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dash-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* Navigation */
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    order: 10;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav.is-open a {
    padding: 0.7rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .site-nav.is-open a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  /* Layout */
  .dash-row-3 { grid-template-columns: 1fr; }
  .data-grid--4, .data-grid--5 { grid-template-columns: 1fr 1fr; }
  .sentiment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .data-grid--4, .data-grid--5 { grid-template-columns: 1fr; }
}
