/* ===========================================
 * adboxery — Design System
 * =========================================== */

:root {
  /* Colors — palette */
  --bg-0: #08080c;
  --bg-1: #0d0d14;
  --bg-2: #14141d;
  --bg-3: #1c1c28;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --ink-0: #ffffff;
  --ink-1: rgba(255,255,255,0.92);
  --ink-2: rgba(255,255,255,0.68);
  --ink-3: rgba(255,255,255,0.46);
  --ink-4: rgba(255,255,255,0.28);

  /* Brand */
  --brand-50: #f3f0ff;
  --brand-100: #e6dfff;
  --brand-200: #cabaff;
  --brand-300: #ad95ff;
  --brand-400: #9a83ff;
  --brand-500: #7c5cff;
  --brand-600: #6a48f0;
  --brand-700: #5638cc;
  --brand-800: #4329a8;

  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  /* Type scale (clamp for responsive) */
  --fs-xs:    clamp(0.75rem, 0.71rem + 0.18vw, 0.8125rem);
  --fs-sm:    clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
  --fs-base:  clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  --fs-lg:    clamp(1.125rem, 1.06rem + 0.36vw, 1.25rem);
  --fs-xl:    clamp(1.25rem, 1.15rem + 0.55vw, 1.5rem);
  --fs-2xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-3xl:   clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --fs-4xl:   clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --fs-5xl:   clamp(3rem, 2.3rem + 4vw, 5rem);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Spacing aliases */
  --gutter: clamp(1rem, 1.5vw, 2rem);
  --section-y: clamp(4rem, 7vw, 7rem);

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px -20px rgba(124,92,255,0.3), 0 8px 24px -8px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(124,92,255,0.2);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset / Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--brand-500); color: white; }

/* Typography helpers */
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-400);
}

.headline-display {
  font-size: var(--fs-5xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.headline-1 {
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.headline-2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.headline-3 {
  font-size: var(--fs-2xl);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-tight {
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  user-select: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(124,92,255,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -4px rgba(124,92,255,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--bg-3);
  color: var(--ink-0);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--ink-3); }
.btn-ghost {
  background: transparent;
  color: var(--ink-1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.btn-lg { height: 56px; font-size: var(--fs-base); padding: 0 1.75rem; }
.btn-block { width: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
}

/* Pills/badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-2);
}
.pill-brand {
  background: rgba(124,92,255,0.12);
  border-color: rgba(124,92,255,0.3);
  color: var(--brand-300);
}
.pill-emerald {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.3);
  color: #34d399;
}

/* Cards */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-out);
}
.card-interactive {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card-interactive,
.card-interactive:hover,
.card-interactive *,
.card-interactive:hover * {
  text-decoration: none;
}
.card-interactive:hover {
  border-color: var(--brand-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-glass {
  background: rgba(20,20,29,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

/* Inputs */
.input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-0);
  font: inherit;
  font-size: var(--fs-sm);
  transition: border-color 0.2s, background 0.2s;
}
.input:focus {
  outline: none;
  border-color: var(--brand-400);
  background: var(--bg-3);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.15);
}
.input::placeholder { color: var(--ink-4); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,12,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 100vw;
  /* overflow-x weggenommen: clippte das Mega-Menu-Dropdown vertikal.
     Mobile-Horizontal-Overflow wird auf body abgefangen (Zeile 83). */
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink-0);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  position: relative;
  box-shadow: 0 4px 12px -2px rgba(124,92,255,0.5);
}
.brand-logo::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
}
.nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav a {
  padding: 0.5rem 0.875rem;
  color: var(--ink-2);
  text-decoration: none;
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--ink-0); background: rgba(255,255,255,0.04); }
.nav a.active { color: var(--ink-0); }
@media (max-width: 900px) {
  .nav { display: none; }
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-0);
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.drawer.open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--ink-0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 4rem;
}
.drawer__nav a {
  padding: 1rem 0.875rem;
  color: var(--ink-1);
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: background 0.15s;
}
.drawer__nav a:hover { background: var(--bg-3); }
.drawer__nav a.cta {
  margin-top: 1rem;
  background: var(--brand-500);
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
.reveal--delay-5 { transition-delay: 0.4s; }
.reveal--delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Hero specific */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.18) 0%, transparent 60%);
  animation: orbit 20s var(--ease-in-out) infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 30%, transparent 70%);
}
@keyframes orbit {
  0% { transform: translateX(-55%) translateY(0); }
  100% { transform: translateX(-45%) translateY(40px); }
}

/* Floating orbs (decorative) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  animation: orb-float 12s var(--ease-in-out) infinite alternate;
}
@keyframes orb-float {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px,-30px); }
}

/* Stats counter */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Carousel */
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: transparent; }
.carousel::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.carousel > * { scroll-snap-align: start; flex-shrink: 0; }

/* Creator card */
.creator-card {
  width: 280px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
  display: block;
}
.creator-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
  box-shadow: var(--shadow-lg);
}
.creator-card__media {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  position: relative;
}
.creator-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
}
.creator-card__platforms {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.25rem;
}
.creator-card__rating {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.creator-card__info { padding: 1rem; }
.creator-card__name {
  font-weight: 600;
  font-size: var(--fs-base);
  margin: 0 0 0.25rem;
}
.creator-card__meta {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

/* Brand logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  align-items: center;
}
.logo-grid > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s;
}
.logo-grid > *:hover { filter: grayscale(0) opacity(1); }

/* FAQ accordion */
.faq-item {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.faq-item + .faq-item { margin-top: 0.75rem; }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: var(--fs-base);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 1.5rem 1.25rem;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding-top: 5rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink-0); }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--brand-400); border-color: var(--brand-400); transform: translateY(-2px); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 70;
  max-width: 880px;
  margin-inline: auto;
  padding: 1rem 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); flex: 1 1 280px; }
.cookie-banner__buttons { display: flex; gap: 0.5rem; }

/* Helpers */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin-block: 2rem;
}
.text-balance { text-wrap: balance; }
.gradient-text {
  background: linear-gradient(90deg, var(--brand-300), var(--brand-500), #f0aaff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.shimmer {
  position: relative;
  overflow: hidden;
}
.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* Nischen-Grid bleibt 2-spaltig mit kompakteren Karten */
  .niches-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem; }
  .niches-grid .card { padding: 0.85rem 0.75rem; min-height: auto; }
  .niches-grid .card > div:first-child { font-size: 1.5rem !important; }
  .niches-grid .card h3 { font-size: 1rem !important; margin: 0.4rem 0 0.1rem !important; }
  .niches-grid .card p { font-size: 0.75rem !important; }
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  grid-template-areas: "body toc";
  gap: 4rem;
  max-width: 1080px;
  margin-inline: auto;
  align-items: start;
}
.article-prose { grid-area: body; min-width: 0; max-width: 100%; }
.article-toc   { grid-area: toc; }
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "body";
    gap: 0;
  }
  .article-toc { display: none; }
}
.article-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-1); }
.article-prose > * + * { margin-top: 1.5em; }
.article-prose p { margin: 0; }
.article-prose h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.015em;
  scroll-margin-top: 96px;
  padding-top: 1rem;
  margin-top: 3rem !important;
  border-top: 1px solid var(--line);
  line-height: 1.25;
}
.article-prose h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-top: 2rem !important;
  scroll-margin-top: 96px;
  line-height: 1.3;
}
.article-prose ul, .article-prose ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-prose li::marker { color: var(--brand-400); }
.article-prose blockquote {
  margin: 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--brand-500);
  background: rgba(124,92,255,0.06);
  border-radius: var(--r-sm);
  color: var(--ink-1);
  font-style: italic;
}
.article-prose code {
  background: var(--bg-3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  font-family: ui-monospace, 'SF Mono', monospace;
}
.article-prose pre {
  padding: 1rem 1.25rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  font-size: 0.875rem;
}
.article-prose pre code { background: transparent; padding: 0; }
.article-prose a { color: var(--brand-400); text-decoration: underline; text-underline-offset: 3px; }
.article-prose a:hover { color: var(--brand-300); }
.article-prose strong { color: var(--ink-0); font-weight: 600; }
.article-prose .tldr {
  padding: 1.5rem;
  background: rgba(124,92,255,0.07);
  border: 1px solid rgba(124,92,255,0.2);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
}
.article-prose .tldr h4 {
  margin: 0 0 0.5rem;
  font-size: var(--fs-xs);
  color: var(--brand-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.article-prose th, .article-prose td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
}
.article-prose th { background: var(--bg-3); font-weight: 600; }
.article-prose tr:last-child td { border-bottom: none; }

.article-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: var(--fs-sm);
}
.article-toc h4 {
  margin: 0 0 0.75rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.article-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.article-toc a {
  color: var(--ink-2);
  text-decoration: none;
  border-left: 2px solid var(--line);
  padding: 0.25rem 0.75rem;
  display: block;
  transition: color 0.15s, border-color 0.15s;
}
.article-toc a:hover { color: var(--ink-0); border-color: var(--brand-400); }

.article-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}
.article-related a {
  padding: 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.article-related a:hover {
  border-color: var(--brand-400);
  transform: translateY(-2px);
}
.article-related a > div:first-child { font-size: var(--fs-xs); color: var(--brand-400); margin-bottom: 0.25rem; }
.article-related a > div:last-child { font-weight: 600; line-height: 1.3; }


/* Mega-Menu / Dropdowns */
.has-dropdown {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.875rem;
  background: transparent;
  border: none;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-family: inherit;
  font-weight: inherit;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.nav-trigger:hover, .has-dropdown:hover .nav-trigger {
  color: var(--ink-0);
  background: rgba(255,255,255,0.04);
}
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 280px;
  padding: 0.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.15s, transform 0.15s;
}
.dropdown a {
  display: flex;
  flex-direction: column;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-sm);
  color: var(--ink-0);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: background 0.15s;
}
.dropdown a:hover { background: var(--bg-3); }
.dropdown a span {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  margin-top: 2px;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 320px;
}
.drawer__group-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-weight: 600;
  margin-top: 1.25rem;
  padding: 0 0.875rem;
}

/* Mobile header fixes — prevent overflow */
@media (max-width: 600px) {
  .site-header__inner { gap: 0.5rem; }
  .site-header__inner > div:last-child { gap: 0.4rem !important; }
  .site-header__inner .btn-ghost { display: none !important; }
  .site-header__inner .btn-primary {
    height: 38px;
    padding: 0 0.875rem;
    font-size: var(--fs-xs);
  }
  .brand-mark { font-size: 1rem; gap: 0.5rem; }
  .brand-logo { width: 28px; height: 28px; }
  .menu-toggle { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .site-header__inner .btn-primary {
    /* Auf sehr schmalen Screens: ganz weg, im Drawer enthalten */
    display: none !important;
  }
}

/* =====================================================
 * Disclaimers — pre-launch transparency notices
 * ===================================================== */
.disclaimer-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  color: #fbbf24;
  line-height: 1.4;
  text-align: left;
}
.disclaimer-banner strong { color: #fcd34d; font-weight: 700; }

.disclaimer-block {
  padding: 1rem 1.25rem;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: #fbbf24;
  line-height: 1.55;
  margin-block: 1.5rem;
}
.disclaimer-block strong { color: #fcd34d; font-weight: 700; }

.beta-stamp {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-radius: var(--r-sm);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(245,158,11,0.4);
}

.creator-card { position: relative; }
