/* ==========================================================================
   FragLab — Design-System v2 "Tactical Lab"
   Konzept: Pro-Settings als wissenschaftliche Daten, Lab-/Instrument-Aesthetik
   Schriften: Russo One (Display) + JetBrains Mono (Data/Labels) + system-ui (Body)
   ========================================================================== */

/* Self-hosted Fonts (DSGVO-konform, keine Google-Fonts-Übertragung).
   Dateien gehoeren in assets/fonts/ — siehe assets/fonts/README.txt fuer Quellen. */
@font-face {
  font-family: 'Russo One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/RussoOne-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/JetBrainsMono-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/JetBrainsMono-Bold.woff2') format('woff2');
}

:root {
  /* Brand-Farben (aus Logo extrahiert) */
  --bg: #06080c;
  --bg-2: #0a0d14;
  --bg-elev: #0f131c;
  --bg-card: #131826;
  --bg-card-hover: #19202f;
  --border: #1d2535;
  --border-bright: #2a3349;
  --border-glow: rgba(240, 140, 0, 0.18);

  --text: #ecedf2;
  --text-dim: #8d94a8;
  --text-mute: #5a627a;

  --accent: #f08c00;
  --accent-hover: #ff9c14;
  --accent-soft: rgba(240, 140, 0, 0.10);
  --accent-stronger: #d97a00;

  --accent2: #1f5cc8;
  --accent2-hover: #3a76dc;
  --accent2-soft: rgba(31, 92, 200, 0.12);

  --hot: #ff4655;          /* CS-typisch aggressives rot fuer LIVE/Alerts */
  --hot-soft: rgba(255, 70, 85, 0.12);

  --gradient-brand: linear-gradient(95deg, #f08c00 0%, #ffa055 30%, #3a76dc 70%, #1f5cc8 100%);
  --gradient-brand-strong: linear-gradient(90deg, #f08c00 0%, #1f5cc8 100%);

  --shadow-soft: 0 1px 2px rgba(0,0,0,.4), 0 6px 24px rgba(0,0,0,.25);
  --shadow-glow: 0 0 0 1px var(--border-bright), 0 8px 30px -8px rgba(240, 140, 0, 0.15);

  --max-w: 1240px;
  --radius: 12px;
  --radius-sm: 6px;

  --display: 'Russo One', 'Segoe UI Black', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  /* Custom Crosshair-Cursor — Brand-Orange mit schwarzem Outline, 24px mit Gap */
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M12 2 V8 M12 16 V22 M2 12 H8 M16 12 H22' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3Cpath d='M12 2 V8 M12 16 V22 M2 12 H8 M16 12 H22' stroke='%23ffa620' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E") 12 12, crosshair;
}

/* Buttons + Links — Crosshair in Blau, gleicher Style */
a, button, .card, [role="button"], .stream-tab, .cx-toggle, .cx-preset-color, label.cx-toggle {
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M12 2 V8 M12 16 V22 M2 12 H8 M16 12 H22' stroke='black' stroke-width='3' stroke-linecap='square'/%3E%3Cpath d='M12 2 V8 M12 16 V22 M2 12 H8 M16 12 H22' stroke='%233a90ff' stroke-width='1.8' stroke-linecap='square'/%3E%3C/svg%3E") 12 12, pointer;
}

/* Text-Inputs behalten Standard-Text-Cursor */
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="search"], textarea {
  cursor: text;
}
/* Range-Slider behalten den richtigen Cursor */
input[type="range"] { cursor: ew-resize; }
input[type="color"] { cursor: pointer; }
select { cursor: pointer; }

/* Click-Ripple Animation */
.cursor-ripple {
  position: fixed;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  animation: cursorRipple 0.55s cubic-bezier(0.2, 0.7, 0.4, 1) forwards;
}
@keyframes cursorRipple {
  0%   { transform: scale(0.2); opacity: 0.95; box-shadow: 0 0 0 0 rgba(240, 140, 0, 0.4); }
  60%  { opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; box-shadow: 0 0 0 6px rgba(240, 140, 0, 0); }
}

@media (hover: none), (pointer: coarse) {
  /* Mobile: keine Custom-Cursor (gibt's eh nicht) */
  body, a, button, .card, [role="button"] { cursor: auto; }
}

/* Globaler Grid-Background — sehr dezent, nur fuer das Lab-Feeling */
body::before {
  content: ""; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(140, 150, 180, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 150, 180, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none; z-index: 0;
}
/* Globaler Noise-Layer fuer organischen Lab-Touch */
body::after {
  content: ""; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03; pointer-events: none; z-index: 0;
  mix-blend-mode: overlay;
}
body > * { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
strong { color: #fff; font-weight: 600; }

/* ========== Typografie ========== */
h1, h2, h3, h4 { line-height: 1.1; color: #fff; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 3rem 0 1.2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; margin: 1.4rem 0 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-dim); }
ul { padding-left: 1.4rem; margin-bottom: 1rem; color: var(--text-dim); }
li { margin-bottom: 0.4rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  padding: 5px 0;
}
.eyebrow-bracket::before { content: "[ "; opacity: 0.5; }
.eyebrow-bracket::after { content: " ]"; opacity: 0.5; }

/* ========== Layout ========== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }
section { padding: 4rem 0; position: relative; }
section:first-of-type { padding-top: 2rem; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 8, 12, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--gradient-brand-strong); opacity: 0.35;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: var(--max-w); margin: 0 auto;
  min-height: 80px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; line-height: 1;
  transition: filter .15s ease;
}
.brand:hover { text-decoration: none; filter: brightness(1.12); }
.brand img {
  height: 56px; width: auto; display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}
.brand-text {
  font-family: var(--display);
  font-size: 1.95rem;
  font-style: italic;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  background: linear-gradient(95deg, #f08c00 0%, #ff9c14 30%, #3a76dc 65%, #1f5cc8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  position: relative; padding-right: 4px;
}
.brand-text::after {
  content: ".de";
  font-size: 0.5em; color: var(--text-mute);
  font-style: italic; margin-left: 4px;
  -webkit-text-fill-color: var(--text-mute);
  letter-spacing: 0.06em;
}
@media (max-width: 540px) {
  .brand img { height: 44px; }
  .brand-text { font-size: 1.4rem; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
}

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  color: var(--text-dim); font-size: 0.92rem; font-weight: 500;
  text-decoration: none; padding: 6px 0; position: relative;
  font-family: var(--mono); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -28px;
  height: 2px; background: var(--gradient-brand-strong);
}

/* ========== Nav-Dropdowns ========== */
.nav-item-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: -18px;
  min-width: 340px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 0 1px rgba(240, 140, 0, 0.06);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease,
              visibility 0s linear 0.15s;
  z-index: 200;
}
.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap:focus-within .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}
/* Hover-Bridge: damit der Cursor zwischen Link und Dropdown nicht "abreisst" */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -22px; left: 0; right: 0;
  height: 22px;
}
/* Pfeil nach oben */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: -7px; left: 36px;
  width: 12px; height: 12px;
  background: var(--bg-elev);
  border-top: 1px solid var(--border-bright);
  border-left: 1px solid var(--border-bright);
  transform: rotate(45deg);
}
.nav-dropdown-title {
  font-family: var(--mono); font-size: 0.64rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-mute); margin-bottom: 10px;
  padding: 4px 10px 10px;
  border-bottom: 1px solid var(--border);
}
.nav-dropdown a.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none;
  font-family: var(--mono); font-size: 0.84rem;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: background 0.12s, color 0.12s, padding-left 0.12s;
}
.nav-dropdown a.dropdown-item:hover {
  background: var(--bg-card-hover);
  text-decoration: none;
  padding-left: 16px;
}
.dropdown-item .item-rank {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  min-width: 22px;
  font-weight: 700;
}
.dropdown-item .item-name {
  color: #fff;
  font-weight: 500;
}
.dropdown-item .item-meta {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.dropdown-item:hover .item-meta { color: var(--accent2); }
.nav-dropdown-foot {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.nav-dropdown-foot a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  font-family: var(--mono); font-size: 0.76rem;
  color: var(--accent); text-decoration: none;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-dropdown-foot a:hover {
  background: var(--accent-soft);
  text-decoration: none;
}
.nav-dropdown-foot a span:last-child {
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  /* Auf Mobile keine Dropdowns — Nav klappt eh als Hamburger */
  .nav-dropdown { display: none !important; }
}
.nav-toggle {
  display: none; background: none; border: 0; color: #fff;
  font-size: 1.6rem; cursor: pointer; padding: 4px 8px;
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-elev); flex-direction: column; padding: 18px 28px;
    border-bottom: 1px solid var(--border); gap: 14px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ========== Section-Marker (Lab-Aesthetik) ========== */
.section-marker {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 0.8rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.section-marker::before {
  content: ""; width: 38px; height: 1px; background: var(--accent);
}
.section-marker .num {
  color: var(--text-mute); font-weight: 700; margin-right: 4px;
}
.section-marker .label::before { content: "[ "; opacity: 0.5; }
.section-marker .label::after { content: " ]"; opacity: 0.5; }
.section-marker.muted { color: var(--text-dim); }
.section-marker.muted::before { background: var(--text-mute); }
.section-marker.muted .label { color: var(--text); }

/* ========== Hero ========== */
.hero {
  padding: 6rem 0 5rem; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-glow-1, .hero-glow-2 {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240, 140, 0, 0.25) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(31, 92, 200, 0.22) 0%, transparent 70%);
  bottom: -200px; left: -100px;
}
.hero-watermark {
  position: absolute; right: 40px; bottom: 40px;
  width: 420px; max-width: 38vw; height: auto;
  opacity: 0.08; pointer-events: none;
  filter: contrast(1.1);
}
@media (max-width: 900px) {
  .hero-watermark { display: none; }
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--gradient-brand-strong); opacity: 0.5;
}
.hero h1 {
  font-family: var(--display); font-style: italic;
  font-weight: 400; max-width: 920px;
  text-transform: uppercase; letter-spacing: -0.005em;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 0.96;
  margin-bottom: 1.4rem;
}
.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lead {
  font-size: 1.12rem; max-width: 660px; color: var(--text-dim);
  margin-bottom: 1.8rem;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2rem;
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-family: var(--mono);
}
.hero-stat .num {
  display: block; font-size: 1.75rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.hero-stat .num .accent { color: var(--accent); }
.hero-stat .label {
  display: block; font-size: 0.72rem;
  color: var(--text-mute); text-transform: uppercase;
  letter-spacing: 0.12em; margin-top: 6px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--mono); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: 0.15s ease;
}
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 0 1px var(--accent-stronger), 0 6px 18px -6px rgba(240, 140, 0, 0.5);
}
.btn-primary:hover {
  background: var(--accent-hover); color: #000;
  text-decoration: none; transform: translateY(-1px);
}
.btn-secondary { background: var(--accent2); color: #fff; }
.btn-secondary:hover { background: var(--accent2-hover); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  border-color: var(--accent); color: #fff; text-decoration: none;
  background: var(--accent-soft);
}
.btn-sm { padding: 8px 14px; font-size: 0.75rem; letter-spacing: 0.08em; }

/* === Affiliate-Buttons (Amazon) === */
.btn-affiliate {
  background: linear-gradient(180deg, #ffba5c 0%, #f59100 50%, #d97a00 100%);
  color: #1a1108;
  font-weight: 700;
  border: 1px solid #a85c00;
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 2px 0 #6b3a00,
    0 4px 14px -4px rgba(240, 140, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 230, 200, 0.4);
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.15s ease;
}
.btn-affiliate:hover {
  background: linear-gradient(180deg, #ffc878 0%, #ffa31a 50%, #e88500 100%);
  color: #1a1108;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 3px 0 #6b3a00,
    0 8px 22px -4px rgba(240, 140, 0, 0.55);
}
.btn-affiliate:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 235, 200, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 1px 0 #6b3a00,
    0 2px 8px -2px rgba(240, 140, 0, 0.4);
}
.btn-affiliate .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
  font-weight: 700;
}
.btn-affiliate:hover .arrow {
  transform: translateX(4px);
}

/* Full-Width-Block-Variante fuer Setup-Karten / About */
.btn-affiliate-block {
  display: flex !important;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}
.btn-affiliate-block .label-amazon {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.025em;
  line-height: 1;
}
.btn-affiliate-block .label-amazon::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1108' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h2.5l2.4 12.4a2 2 0 0 0 2 1.6h9.5a2 2 0 0 0 2-1.6L22 7H6.5'/%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 1px 0 rgba(255, 235, 200, 0.4));
}

/* ========== Cards / Grid ========== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none; color: inherit; display: block;
  position: relative;
  transition: 0.18s ease;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow-glow);
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; right: 0;
  background: var(--gradient-brand-strong);
  opacity: 0; transition: opacity .18s ease;
}
.card:hover::after { opacity: 1; }

/* ===== Pro-Specimen-Card ===== */
.specimen-card { padding: 0; overflow: hidden; }
.specimen-head {
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.specimen-id {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--text-mute); letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 12px;
}
.specimen-id .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.specimen-name {
  font-family: var(--display); font-style: italic;
  font-size: 1.7rem; color: #fff;
  text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 1; margin: 0 0 10px;
}
.specimen-meta {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-dim); letter-spacing: 0.04em;
}
.specimen-meta .team {
  color: var(--accent2); font-weight: 600; text-transform: uppercase;
}
.specimen-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.specimen-stat {
  padding: 14px 12px; text-align: center; position: relative;
}
.specimen-stat + .specimen-stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: var(--border);
}
.specimen-stat .stat-label {
  font-family: var(--mono); font-size: 0.66rem;
  color: var(--text-mute); text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 4px;
}
.specimen-stat .stat-value {
  font-family: var(--mono); font-weight: 700;
  color: #fff; font-size: 1.05rem;
}

/* ===== Hardware-Guide-Card ===== */
.guide-card { position: relative; }
.guide-card .guide-number {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--display); font-style: italic;
  font-size: 1.2rem; color: var(--text-mute);
  letter-spacing: 0.02em;
}
.guide-card h3 {
  font-family: var(--display); font-style: italic;
  font-size: 1.25rem; text-transform: uppercase;
  letter-spacing: 0.01em; line-height: 1.15;
  margin: 8px 0 10px; padding-right: 50px;
}

/* ========== Spec Tables (Lab-Instrument-Look) ========== */
.spec-grid {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  font-family: var(--mono);
}
.spec-grid > div {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.spec-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec-key {
  color: var(--text-mute); font-size: 0.78rem;
  background: rgba(0,0,0,0.2); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
}
.spec-val { color: #fff; font-weight: 500; }
@media (max-width: 540px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-key { padding-bottom: 4px; border-bottom: 0; }
  .spec-val { padding-top: 4px; }
}

/* ========== Hardware-/Loadout-Tabelle ========== */
.gear-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  margin: 1.5rem 0 2rem; font-family: var(--mono);
}
.gear-table th, .gear-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.gear-table th {
  background: var(--bg-elev); color: var(--text-mute);
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 600;
}
.gear-table tr:last-child td { border-bottom: 0; }
.gear-table tr:hover { background: var(--bg-card-hover); }
.gear-table .col-action { text-align: right; width: 1%; white-space: nowrap; }
.gear-cat {
  font-size: 0.7rem; color: var(--accent2); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.gear-name { color: #fff; font-weight: 500; font-family: var(--sans); font-size: 0.95rem; }

/* ========== Crosshair Block ========== */
.crosshair-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin: 1rem 0 2rem;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
}
@media (max-width: 640px) { .crosshair-block { grid-template-columns: 1fr; } }
.crosshair-preview {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(120, 105, 75, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.55) 0%, transparent 70%),
    linear-gradient(170deg, #4a3f2c 0%, #34291d 35%, #221a12 65%, #110d09 100%);
  aspect-ratio: 1; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative; max-width: 240px; overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
}
.crosshair-preview canvas {
  width: 100%; height: 100%; display: block;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}
.crosshair-preview::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18; mix-blend-mode: overlay;
  pointer-events: none;
}
.crosshair-code {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: var(--mono); font-size: 0.85rem;
  color: var(--text-dim); user-select: all; word-break: break-all;
  margin-bottom: 12px;
}
.copy-btn { font-size: 0.78rem; }
.copy-btn.copied { background: #22c55e; color: #000; border-color: #16a34a; }

/* ========== Sidebar / TOC ========== */
.layout-with-sidebar {
  display: grid; grid-template-columns: 1fr 240px; gap: 50px;
  align-items: start; max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
}
@media (max-width: 980px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .toc { display: none; }
}
.toc {
  position: sticky; top: 110px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  font-family: var(--mono); font-size: 0.85rem;
}
.toc h4 {
  font-size: 0.7rem; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 12px; letter-spacing: 0.14em;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 6px 0; color: var(--text-dim);
  text-decoration: none; font-size: 0.85rem;
  border-left: 2px solid transparent; padding-left: 10px; margin-left: -10px;
  transition: 0.12s ease;
}
.toc a:hover {
  color: #fff; text-decoration: none;
  border-left-color: var(--accent);
}

/* ========== Tags / Pills ========== */
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-family: var(--mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--bg-elev); border: 1px solid var(--border);
  color: var(--text-dim);
}
.tag-hot { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.tag-blue { color: var(--accent2); border-color: var(--accent2); background: var(--accent2-soft); }

/* ========== Disclosure-Box ========== */
.disclosure {
  background: rgba(255, 138, 46, 0.04);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-dim);
  margin: 1.5rem 0;
  font-family: var(--mono);
  line-height: 1.6;
}
.disclosure strong { color: var(--accent); }

/* ========== Article Body ========== */
.article-body h2 {
  font-family: var(--display); font-style: italic;
  font-size: 1.7rem; text-transform: uppercase;
  margin-top: 2.5rem; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 16px;
}
.article-body h2::before {
  content: ""; display: inline-block;
  width: 32px; height: 3px; background: var(--gradient-brand-strong);
  border-radius: 2px; flex-shrink: 0;
}
.article-body h3 {
  font-family: var(--display); font-style: italic;
  font-size: 1.2rem; margin-top: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.article-body p, .article-body li { font-size: 1.02rem; }

/* ========== Live-Section (Twitch-Embed) ========== */
.live-section {
  padding: 4rem 0;
  background:
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.live-section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gradient-brand-strong); opacity: 0.4;
}

.live-header {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  background: var(--hot-soft);
  border: 1px solid rgba(255, 70, 85, 0.4);
  color: #ff8a93; font-family: var(--mono);
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em;
  white-space: nowrap; margin-top: 6px;
}
.live-pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 70, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0); }
}

.live-grid {
  display: grid; grid-template-columns: 2.2fr 1fr;
  gap: 24px; margin-top: 1.5rem;
}
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }

.stream-tabs {
  display: flex; gap: 4px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 6px 6px 0;
  overflow-x: auto;
}
.stream-tab {
  padding: 9px 18px; border: 0; background: transparent;
  color: var(--text-dim); font-family: var(--mono);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  border-radius: 6px 6px 0 0; transition: 0.15s ease;
  white-space: nowrap; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stream-tab:hover { color: #fff; background: var(--bg-card-hover); }
.stream-tab.active {
  background: var(--bg); color: #fff;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.stream-frame {
  background: #000;
  border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
}
.stream-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.stream-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background:
    radial-gradient(ellipse at center, rgba(240,140,0,0.07) 0%, transparent 70%),
    var(--bg);
}
.stream-placeholder > div { max-width: 380px; }
.stream-placeholder h3 { font-family: var(--display); font-style: italic; text-transform: uppercase; }

.live-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.live-sidebar h3 {
  margin: 0 0 14px; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--text-mute); font-family: var(--mono);
  font-weight: 600;
}
.live-links { list-style: none; padding: 0; margin: 0; }
.live-links li { margin-bottom: 6px; }
.live-links a {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
  transition: 0.15s ease; line-height: 1.4;
  border: 1px solid transparent;
}
.live-links a:hover {
  background: var(--bg-card-hover); border-color: var(--border-bright);
  text-decoration: none;
}
.live-links strong { color: #fff; font-size: 0.92rem; display: block; margin-bottom: 2px; }
.live-link-icon {
  font-size: 1.2rem; flex-shrink: 0;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent2-soft); border-radius: 6px;
  color: var(--accent2);
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem; margin-top: 5rem;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--gradient-brand-strong); opacity: 0.3;
}
.site-footer .inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
}
@media (max-width: 760px) { .site-footer .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .inner { grid-template-columns: 1fr; } }
.site-footer h5 {
  color: #fff; font-family: var(--mono);
  font-size: 0.72rem; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: var(--text-dim); text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--mono);
}
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-mute); font-size: 0.82rem;
  text-align: center; max-width: var(--max-w);
  margin-left: auto; margin-right: auto;
  padding-left: 28px; padding-right: 28px;
  font-family: var(--mono); line-height: 1.7;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease both; }
.fade-in-up.d-1 { animation-delay: .08s; }
.fade-in-up.d-2 { animation-delay: .16s; }
.fade-in-up.d-3 { animation-delay: .24s; }
.fade-in-up.d-4 { animation-delay: .32s; }
.fade-in-up.d-5 { animation-delay: .40s; }

/* ========== Helpers ========== */
.text-dim { color: var(--text-dim); }
.text-mute { color: var(--text-mute); }
.text-mono { font-family: var(--mono); }
.text-display { font-family: var(--display); font-style: italic; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.bracket-text::before { content: "[ "; opacity: 0.5; }
.bracket-text::after { content: " ]"; opacity: 0.5; }
