:root {
  --bg-primary: #06080e;
  --bg-secondary: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 33, 62, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 240, 255, 0.3);
  --border-danger: rgba(255, 0, 60, 0.4);
  
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-dim: #0099aa;
  
  --red-alert: #ff003c;
  --red-glow: rgba(255, 0, 60, 0.35);
  
  --green-resilience: #00ff88;
  --green-glow: rgba(0, 255, 136, 0.3);
  
  --gold-wealth: #ffd700;
  --gold-glow: rgba(255, 215, 0, 0.3);
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  
  --container-max: 1240px;
  --header-height: 72px;
  --transition-fast: 0.15s ease;
  --transition-norm: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-primary);
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 85% 30%, rgba(255, 0, 60, 0.05) 0%, transparent 50%),
    linear-gradient(to bottom, transparent 95%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dim);
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography & Glows */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.mono {
  font-family: var(--font-mono);
}

.glow-cyan {
  text-shadow: 0 0 15px var(--cyan-glow);
  color: var(--cyan-primary);
}

.glow-red {
  text-shadow: 0 0 15px var(--red-glow);
  color: var(--red-alert);
}

.glow-green {
  text-shadow: 0 0 15px var(--green-glow);
  color: var(--green-resilience);
}

.glow-gold {
  text-shadow: 0 0 15px var(--gold-glow);
  color: var(--gold-wealth);
}

/* Badges & Tags */
.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--cyan-primary);
}

.hud-tag.alert {
  background: rgba(255, 0, 60, 0.1);
  border-color: var(--border-danger);
  color: var(--red-alert);
}

.hud-tag.success {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--green-resilience);
}

.hud-tag.gold {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--gold-wealth);
}

/* Pulse Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
  animation: pulse-glow 2s infinite;
}
.pulse-dot.red {
  background-color: var(--red-alert);
  box-shadow: 0 0 8px var(--red-alert);
}
.pulse-dot.green {
  background-color: var(--green-resilience);
  box-shadow: 0 0 8px var(--green-resilience);
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Header & System Status */
.system-status-bar {
  background: #040609;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.35rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  overflow: hidden;
}

.status-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(6, 8, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  transition: border-color var(--transition-norm);
}

.site-header.scrolled {
  border-bottom-color: rgba(0, 240, 255, 0.25);
  background: rgba(6, 8, 14, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Glitch Logo */
.glitch-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  position: relative;
}

.glitch-logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glitch-logo-text {
  display: flex;
  flex-direction: column;
}

.glitch-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  position: relative;
}

.glitch-brand::before,
.glitch-brand::after {
  content: "GLITCH";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.8;
}

.glitch-logo:hover .glitch-brand::before {
  left: -2px;
  color: var(--cyan-primary);
  text-shadow: 2px 0 var(--cyan-glow);
  clip-path: inset(20% 0 30% 0);
  animation: glitch-anim-1 0.4s infinite linear alternate-reverse;
}

.glitch-logo:hover .glitch-brand::after {
  left: 2px;
  color: var(--red-alert);
  text-shadow: -2px 0 var(--red-glow);
  clip-path: inset(50% 0 10% 0);
  animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip-path: inset(10% 0 85% 0); }
  50% { clip-path: inset(60% 0 15% 0); }
  100% { clip-path: inset(30% 0 45% 0); }
}

@keyframes glitch-anim-2 {
  0% { clip-path: inset(70% 0 5% 0); }
  50% { clip-path: inset(20% 0 55% 0); }
  100% { clip-path: inset(40% 0 20% 0); }
}

.glitch-subtext {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--cyan-primary);
  text-transform: uppercase;
}

/* Nav Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
  transition: width var(--transition-norm);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-norm);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-cyan {
  background: var(--cyan-primary);
  color: #06080e;
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
}

.btn-cyan:hover {
  background: #33f3ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(0, 240, 255, 0.05);
  color: var(--cyan-primary);
  border-color: var(--border-highlight);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--red-alert);
  color: #fff;
  border-color: var(--red-alert);
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.btn-danger:hover {
  background: #ff2255;
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.6);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-icon {
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.btn-icon:hover {
  color: var(--cyan-primary);
  border-color: var(--border-highlight);
}

/* Hamburger for Mobile */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.15) 0%, rgba(255, 0, 60, 0.08) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-highlight);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-primary);
}

.countdown-timer span {
  background: rgba(0, 240, 255, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-headline .highlight {
  color: var(--cyan-primary);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Hero Telemetry Card */
.hero-telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-left: 2px solid var(--cyan-primary);
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition-fast);
}

.telemetry-item:hover {
  border-color: var(--border-highlight);
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.telemetry-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.telemetry-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Radar & Tactical Map in Hero */
.hero-tactical-preview {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.tactical-threat-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.threat-bar-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--red-alert));
  border-radius: 999px;
  transition: width 1s ease-in-out;
}

/* Section Common Styling */
.section-wrapper {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

.section-wrapper.darker {
  background: #040609;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.3rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* PAROLEN SECTION (27. SEPTEMBER 2026) */
.parolen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.parole-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform var(--transition-slow), border-color var(--transition-norm), box-shadow var(--transition-norm);
}

.parole-card:hover {
  transform: translateY(-4px);
}

.parole-card.nein-card {
  border-top: 4px solid var(--red-alert);
}
.parole-card.nein-card:hover {
  border-color: var(--border-danger);
  box-shadow: 0 15px 35px rgba(255, 0, 60, 0.15);
}

.parole-card.ja-card {
  border-top: 4px solid var(--green-resilience);
}
.parole-card.ja-card:hover {
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 15px 35px rgba(0, 255, 136, 0.15);
}

.parole-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.parole-badge-big {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.05em;
}

.badge-nein {
  background: rgba(255, 0, 60, 0.15);
  color: var(--red-alert);
  border: 2px solid var(--red-alert);
  text-shadow: 0 0 15px var(--red-glow);
}

.badge-ja {
  background: rgba(0, 255, 136, 0.15);
  color: var(--green-resilience);
  border: 2px solid var(--green-resilience);
  text-shadow: 0 0 15px var(--green-glow);
}

.parole-title {
  font-size: 1.45rem;
  line-height: 1.25;
}

.parole-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.parole-arguments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.parole-arg-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.parole-arg-item svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.parole-arg-item strong {
  color: #fff;
}

/* Interactive Link-16 Toggle Simulation */
.radar-simulation-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radar-sim-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-switch-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-switch-btn.active-isolated {
  background: rgba(255, 0, 60, 0.2);
  border-color: var(--red-alert);
  color: var(--red-alert);
}

.sim-switch-btn.active-connected {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.radar-display-canvas {
  position: relative;
  width: 100%;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.04) 0%, rgba(0, 0, 0, 0.8) 80%);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-sweep-line {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.2);
  animation: radar-rotate 4s linear infinite;
}

@keyframes radar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-status-text {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Calorie Matrix for Food Initiative */
.calorie-matrix-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.calorie-flow-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calorie-flow-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.calorie-bar-container {
  display: flex;
  height: 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.bar-segment-loss {
  background: repeating-linear-gradient(45deg, #ff003c, #ff003c 10px, #b3002b 10px, #b3002b 20px);
  width: 85%;
  position: relative;
}

.bar-segment-food {
  background: var(--green-resilience);
  width: 15%;
  position: relative;
}

/* CALCULATOR SECTION */
.calc-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.calc-card-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-primary), var(--gold-wealth), var(--red-alert));
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.input-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.input-value-badge {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-highlight);
}

/* Custom Range Slider */
input[type=range].custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background var(--transition-fast);
}

input[type=range].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan-primary);
  cursor: pointer;
  border: 3px solid #06080e;
  box-shadow: 0 0 12px var(--cyan-primary);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

input[type=range].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #fff;
}

/* Radio Group */
.radio-chip-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.radio-chip {
  position: relative;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-chip label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.radio-chip input:checked + label {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--cyan-primary);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

/* Calculator Output Display */
.calc-results {
  background: rgba(4, 6, 9, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-comparison-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.calc-result-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
}

.calc-result-box.br-box {
  border-left: 3px solid var(--red-alert);
}

.calc-result-box.glitch-box {
  border-left: 3px solid var(--green-resilience);
  background: rgba(0, 255, 136, 0.03);
  border-color: rgba(0, 255, 136, 0.2);
}

.result-model-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.result-amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calc-savings-banner {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 240, 255, 0.08) 100%);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.savings-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
}

.savings-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-resilience);
  white-space: nowrap;
}

.calc-national-impact {
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* SYSTEMFEHLER FORENSIK (DATA CARDS) */
.forensics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.forensic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-norm), transform var(--transition-fast);
}

.forensic-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.forensic-stat {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.forensic-stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forensic-title {
  font-size: 1.25rem;
  line-height: 1.3;
}

.forensic-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.forensic-source {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* VIDEOTHEK (VIDEO PLAYER & HUB) */
.video-showcase-container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.video-player-frame {
  position: relative;
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
  aspect-ratio: 9 / 16;
  max-width: 380px;
  margin: 0 auto;
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 25%, transparent 75%, rgba(0,0,0,0.85) 100%);
}

.player-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.player-hud-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.video-title-on-frame {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.video-custom-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.video-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cyan-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06080e;
  box-shadow: 0 0 15px var(--cyan-glow);
  transition: transform var(--transition-fast);
}

.video-play-btn:hover {
  transform: scale(1.1);
}

/* Playlist / Video Selector */
.video-playlist-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.playlist-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.playlist-item:hover, .playlist-item.active {
  border-color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.05);
}

.playlist-thumb {
  width: 90px;
  height: 120px;
  border-radius: var(--radius-sm);
  background: #0b0f19;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playlist-thumb-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.85);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}

.playlist-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.playlist-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.playlist-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.35rem;
}

.playlist-meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* DOSSIERS (OPEN SOURCE LIBRARY) */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.dossier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-norm);
}

.dossier-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.dossier-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-primary);
  letter-spacing: 0.1em;
}

.dossier-card-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-top: 0.5rem;
}

.dossier-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dossier-actions {
  display: flex;
  gap: 0.75rem;
}

/* TERMINAL COMPONENT */
.terminal-wrapper {
  background: #020305;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  font-family: var(--font-mono);
}

.terminal-header {
  background: #080d17;
  padding: 0.65rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 0.45rem;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 1.5rem;
  min-height: 280px;
  max-height: 400px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a0aec0;
}

.terminal-output {
  margin-bottom: 0.75rem;
}

.terminal-line {
  margin-bottom: 0.25rem;
}

.terminal-line.cyan { color: var(--cyan-primary); }
.terminal-line.green { color: var(--green-resilience); }
.terminal-line.red { color: var(--red-alert); }
.terminal-line.gold { color: var(--gold-wealth); }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--cyan-primary);
  font-weight: 700;
  user-select: none;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
}

/* COMMUNITY & JOIN */
.community-box {
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, rgba(11, 15, 25, 0.9) 70%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #fff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--cyan-primary);
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* FOOTER */
.site-footer {
  background: #030407;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 3rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* MODAL VIEWER FOR DOSSIERS */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.modal-header {
  padding: 1.25rem 1.75rem;
  background: #06080e;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-content-scroll {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.modal-content-scroll h1, 
.modal-content-scroll h2, 
.modal-content-scroll h3 {
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-content-scroll table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.modal-content-scroll th, 
.modal-content-scroll td {
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 0.85rem;
  text-align: left;
}

.modal-content-scroll th {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #090d16;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in-toast 0.3s ease;
}

@keyframes slide-in-toast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .video-showcase-container {
    grid-template-columns: 1fr;
  }
  .video-player-frame {
    max-width: 320px;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.4rem;
  }
  .parolen-grid {
    grid-template-columns: 1fr;
  }
  .forensics-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .calc-card-wrapper {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .status-bar-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .status-item:nth-child(n+3) {
    display: none;
  }
}
