/* ─── HEADER ────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background:
    linear-gradient(
      180deg,
      rgba(11,14,20, calc(.76 + var(--header-blend) * .14)) 0%,
      rgba(11,14,20, calc(.38 + var(--header-blend) * .18)) 62%,
      rgba(11,14,20, 0) 100%
    ),
    radial-gradient(
      circle at calc(88% - var(--header-glow) * 10%) calc(12% + var(--header-glow) * 6%),
      rgba(255,102,0, calc(.08 + var(--header-glow) * .05)) 0%,
      rgba(255,102,0, 0) 42%
    ),
    linear-gradient(
      135deg,
      #0b0e14 0%,
      #10141e calc(60% - var(--header-glow) * 4%),
      #161d30 100%
    );
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow .3s, background .3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.35);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-panel {
  display: contents;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  display: block;
  width: auto;
  height: 63px;
}
.logo-words { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.logo-aktien,
.logo-report {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
}
.logo-badge {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff;
  box-shadow: 0 3px 12px rgba(255,102,0,.35);
  flex-shrink: 0;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .01em;
  padding: 6px 0;
  position: relative;
}
.nav-links li { list-style: none; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

/* WordPress menu compatibility */
.nav-links .menu-item { list-style: none; }
.nav-links .menu-item a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .01em;
  padding: 6px 0;
  position: relative;
}
.nav-links .menu-item a:hover { color: #fff; }

/* CTA nav button */
.btn-nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px var(--orange-glow);
  margin-left: auto;
}
.btn-nav:hover {
  background: var(--orange-hot);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,102,0,.55);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .2s, border-color .2s, transform .15s;
}
.nav-toggle:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-overlay {
  position: fixed;
  inset: 82px 0 0;
  background: rgba(3, 6, 14, .58);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 850;
}
body.nav-open { overflow: hidden; }
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── TICKER ────────────────────────────────────────────────── */
.ticker-wrap {
  line-height: 0;
  border: none;
  background: rgba(11,14,20,.6);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.tradingview-widget-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
