/* =============================================================
   KORENDO — Dark Pro Design System
   Konzept: Tiefes Navy-Schwarz, Cyan-Akzent, Glassmorphism
   Verkaufstools: Social Proof, Countdown, Urgency, Exit-Intent
   ============================================================= */

:root {
  /* Farbwelt — Dark Pro */
  --bg:            #0b1120;
  --bg-soft:       #131a2b;
  --bg-softer:     #151d31;
  --bg-card:       rgba(19, 26, 43, 0.7);
  --ink:           #f1f5f9;
  --ink-soft:      #94a3b8;
  --ink-faint:     #64748b;
  --line:          rgba(255, 255, 255, 0.06);
  --line-strong:   rgba(255, 255, 255, 0.12);
  
  /* Akzente */
  --brand:         #3b82f6;
  --brand-ink:     #2563eb;
  --brand-glow:    rgba(59, 130, 246, 0.25);
  --gold:          #c79553;
  --gold-ink:      #a97b3d;
  --gold-soft:     rgba(199, 149, 83, 0.15);
  --ok:            #10b981;
  --warn:          #c79553;
  --star:          #e0b34d;
  --danger:        #ef4444;

  /* Glow & Shadow */
  --glow-cyan:     0 0 40px rgba(59, 130, 246, 0.15);
  --glow-gold:     0 0 40px rgba(199, 149, 83, 0.15);
  --glow-brand:    0 0 30px rgba(59, 130, 246, 0.2);
  
  /* Schatten */
  --sh-1: 0 4px 20px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.3);
  --sh-2: 0 8px 40px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
  --sh-float: 0 20px 60px -10px rgba(0,0,0,.6);
  
  /* Radien */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  
  /* Motion */
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  
  /* Glass */
  --glass: rgba(19, 26, 43, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  /* Overlay-Flächen (Nav gescrollt, Mobile-Menü, Cookie-Banner, Sticky-CTA) */
  --surface-overlay: rgba(11, 17, 32, 0.95);
  /* Standard-Theme (Fallback, falls JS aus): dunkel */
  color-scheme: dark;
  
  /* Aliase */
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted: var(--ink-faint);
  --surface: var(--bg-soft);
  --surface-2: var(--bg-softer);
  --accent: var(--brand);
  --accent-hover: var(--brand-ink);
  --accent-soft: rgba(59, 130, 246, 0.1);
  --success: var(--ok);
  --warning: var(--warn);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --shadow-soft: var(--sh-1);
  --shadow-lift: var(--sh-2);
  --max-width: var(--wrap);
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }

/* =============================================================
   ANIMATED GRADIENT MESH BACKGROUND
   ============================================================= */
@keyframes meshGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--brand-glow); }
  50% { box-shadow: 0 0 40px var(--brand-glow), 0 0 60px rgba(59,130,246,0.1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
.display {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 640px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 10px;
}

/* =============================================================
   LAYOUT
   ============================================================= */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section-head { margin-bottom: 50px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* =============================================================
   NAVIGATION — Glassmorphism
   ============================================================= */
.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--gutter);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--wrap);
  margin: 14px auto;
  padding: 12px 24px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: var(--surface-overlay);
  box-shadow: var(--sh-2);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand .mark::after {
  content: "K";
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.account-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.25s;
}
.account-link:hover { color: var(--ink); }
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-softer);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.cart-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--glow-brand);
}
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
  transition: transform 0.3s var(--ease-bounce);
}
.cart-count[data-empty="true"] { display: none; }
.cart-pulse { animation: pulse-cart 0.5s var(--ease-bounce); }
@keyframes pulse-cart {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.nav-burger { display: none; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--surface-overlay);
  backdrop-filter: blur(20px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.5rem;
  color: var(--ink-soft);
}
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 300;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* =============================================================
   HERO — Animated Gradient + Floating Elements
   ============================================================= */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(199, 149, 83, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  animation: meshGradient 20s ease infinite;
  background-size: 200% 200%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.hero-stage {
  margin-top: 60px;
  animation: float 6s ease-in-out infinite;
}

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-lg);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  color: #fff;
  box-shadow: var(--glow-brand);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--brand);
  transform: translateY(-2px);
}
.btn-soft {
  background: var(--bg-softer);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-soft:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.03);
}
.btn-secondary {
  background: var(--bg-softer);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: var(--surface-2); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.pip {
  display: inline-flex;
  width: 18px; height: 18px;
}

/* =============================================================
   CARDS — Glassmorphism
   ============================================================= */
.pcard {
  background: var(--card-bg, var(--glass));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  position: relative;
}
.pcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.pcard:hover::before { opacity: 1; }
.pcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-float), var(--glow-cyan);
  border-color: rgba(59, 130, 246, 0.2);
}
.pcard-media {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.pcard-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-ink));
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(199, 149, 83, 0.3);
}
.pcard-wishlist-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--ink-soft);
  transition: all 0.3s;
  z-index: 2;
}
.pcard-wishlist-btn:hover, .pcard-wishlist-btn.active {
  background: var(--danger);
  color: #fff;
  transform: scale(1.1);
}
.pcard-body { padding: 22px; }
.pcard-cat {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 6px;
}
.pcard h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pc-tag {
  font-size: 0.88rem;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-bottom: 12px;
}
.pcard .stars {
  font-size: 0.85rem;
  color: var(--star);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pcard .stars .s { letter-spacing: 1px; }
.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.pcard .price { display: flex; align-items: baseline; gap: 4px; }
.pcard .from { font-size: 0.75rem; color: var(--ink-faint); }
.pcard .amt {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pcard .per { font-size: 0.78rem; color: var(--ink-faint); font-weight: 500; }

/* =============================================================
   PRODUCT GRID
   ============================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* =============================================================
   BEZEL
   ============================================================= */
.bezel {
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.bezel-core {
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

/* =============================================================
   REELS
   ============================================================= */
.reel {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: inherit;
  overflow: hidden;
  background: var(--bg-soft);
}
.reel canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.reel-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 2;
}
.reel-copy {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 22px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  z-index: 2;
}
.reel-copy .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  margin-bottom: 6px;
}
.reel-copy .line {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.reel-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  z-index: 2;
  transition: all 0.3s var(--ease);
}
.reel:hover .reel-play {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.1);
}
.reel-play svg { width: 22px; height: 22px; }

/* =============================================================
   TRUST ELEMENTS
   ============================================================= */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-strip span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.3s;
}
.trust-strip span:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--accent-soft);
}
.trust-badges-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-badge {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.trust-badge:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--glow-cyan);
}
.tb-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.tb-icon svg { width: 24px; height: 24px; }
.trust-badge h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.trust-badge p {
  font-size: 0.85rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* =============================================================
   FEATURES
   ============================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--glow-cyan);
}
.feature-card .ic {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  color: var(--brand);
}
.feature-card .ic svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--ink-faint); line-height: 1.6; }

/* =============================================================
   STATS
   ============================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat .n {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.stat .l {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band {
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(199,149,83,0.08));
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--r-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  padding: 60px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand p {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-top: 12px;
  line-height: 1.6;
}
.foot-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-faint);
  padding: 6px 0;
  transition: color 0.25s;
}
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.footer-legal-links a { color: var(--ink-faint); transition: color 0.25s; }
.footer-legal-links a:hover { color: var(--brand); }
.admin-link { color: var(--ink-faint); font-size: 0.75rem; }

/* =============================================================
   REVEAL ANIMATION
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* =============================================================
   SHOP
   ============================================================= */
.shop-head { padding: 140px 0 50px; }
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.filters { position: sticky; top: 100px; height: fit-content; }
.filters h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 28px 0 14px;
}
.filters h4:first-child { margin-top: 0; }
.filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s;
}
.filter-opt:hover { color: var(--ink); }
.filter-opt input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 2px solid var(--line-strong);
  border-radius: 5px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.filter-opt input[type="checkbox"]:checked {
  background: var(--brand);
  border-color: var(--brand);
}
.filter-opt input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.result-count { font-size: 0.9rem; color: var(--ink-faint); }
.sort-select {
  padding: 8px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.88rem;
  cursor: pointer;
}

/* =============================================================
   DETAIL PAGE
   ============================================================= */
.detail-head { padding: 130px 0 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-media .bezel { padding: 14px; }
.detail-media img {
  width: 100%;
  border-radius: calc(var(--r-lg) - 8px);
  display: block;
}
.detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.detail-thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: all 0.3s;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.active, .detail-thumb:hover { border-color: var(--brand); }
.buybox {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.p-name { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.p-tag { color: var(--ink-soft); margin: 10px 0 16px; line-height: 1.55; }
.p-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.buy-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.buy-price .amt {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--ink), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.buy-price .per { font-size: 1rem; color: var(--ink-soft); }
.buy-alt {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.buy-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.buy-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.buy-opt:hover { border-color: var(--line-strong); background: var(--bg-softer); }
.buy-opt[aria-checked="true"] {
  border-color: var(--brand);
  background: var(--accent-soft);
  box-shadow: var(--glow-cyan);
}
.buy-opt .dot {
  width: 20px; height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s;
}
.buy-opt[aria-checked="true"] .dot {
  border-color: var(--brand);
  background: var(--brand);
}
.buy-opt[aria-checked="true"] .dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}
.o-name { font-weight: 700; font-size: 0.95rem; }
.o-sub { font-size: 0.8rem; color: var(--ink-faint); }
.o-price {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}
.buy-trust { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.buy-trust div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.buy-trust svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ok); }

/* =============================================================
   SPEC LIST
   ============================================================= */
.spec-list { display: grid; gap: 14px; }
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: all 0.3s;
}
.spec-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.04);
}
.tick {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--ok);
  margin-top: 2px;
}
.spec-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* =============================================================
   REVIEWS
   ============================================================= */
.reviews {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.rate-summary { text-align: center; padding-top: 10px; }
.rate-summary .big {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.review-list { display: flex; flex-direction: column; gap: 16px; }
.review {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 22px;
  transition: all 0.3s;
}
.review:hover { border-color: rgba(59, 130, 246, 0.15); }
.r-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.r-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.r-name { font-weight: 700; font-size: 0.9rem; }
.r-meta { font-size: 0.78rem; color: var(--ink-faint); }
.review p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* =============================================================
   BUNDLE
   ============================================================= */
.bundle {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  flex-wrap: wrap;
}
.bundle-item { text-align: center; transition: transform 0.3s; }
.bundle-item:hover { transform: translateY(-4px); }
.bundle-plus {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-faint);
}

/* =============================================================
   CART
   ============================================================= */
/* Abstand zur fixierten Navigation (wie shop-head/page-head) */
.cart-head { padding: 140px 0 30px; }
.cart-head h1 { margin: 0; }
.cart-empty { text-align: center; padding: 60px 0 100px; }
.cart-empty .ic {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  color: var(--ink-faint);
  opacity: 0.4;
}
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.cart-lines { display: flex; flex-direction: column; gap: 16px; }
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 20px;
  transition: all 0.3s;
}
.cart-line:hover { border-color: rgba(59, 130, 246, 0.15); }
.cart-line h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.cl-sub { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 10px; }
.qty { display: flex; align-items: center; gap: 0; }
.qty button {
  width: 34px; height: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.qty button:hover { background: var(--bg-softer); color: var(--ink); }
.qty button:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.qty button:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.qty span {
  min-width: 40px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9rem;
}
.cl-right { text-align: right; }
.cl-price { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.cl-remove {
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-decoration: underline;
  transition: color 0.2s;
}
.cl-remove:hover { color: var(--danger); }
.summary-box {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

/* =============================================================
   BREADCRUMB
   ============================================================= */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 30px;
}
.breadcrumb a { color: var(--ink-soft); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--brand); }

/* =============================================================
   LICENSE CHECK
   ============================================================= */
.license-check { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.license-check-toggle {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: underline;
  transition: color 0.2s;
}
.license-check-toggle:hover { color: var(--brand); }
.license-check-body { display: none; margin-top: 14px; }
.license-check-body.open { display: block; }

/* =============================================================
   VERKAUFSTOOLS
   ============================================================= */

/* --- Live Activity Toast --- */
.live-activity {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  animation: slideInRight 0.5s var(--ease) forwards;
}
.live-activity-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.live-activity-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }
.live-activity-text strong { color: var(--ink); font-weight: 600; }
.live-activity-time { font-size: 0.72rem; color: var(--ink-faint); margin-top: 2px; }

/* --- Countdown Timer --- */
.countdown-bar {
  background: linear-gradient(135deg, var(--gold-soft), rgba(199,149,83,0.05));
  border: 1px solid rgba(199, 149, 83, 0.2);
  border-radius: var(--r-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.countdown-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}
.countdown-label svg { width: 20px; height: 20px; }
.countdown-timer {
  display: flex;
  gap: 8px;
}
.countdown-unit {
  text-align: center;
}
.countdown-value {
  display: block;
  min-width: 44px;
  padding: 8px 10px;
  background: var(--bg-soft);
  border: 1px solid rgba(199, 149, 83, 0.2);
  border-radius: var(--r-sm);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.countdown-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  align-self: center;
}
.countdown-unit span:last-child {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
  display: block;
}

/* --- Stock Urgency --- */
.stock-urgency {
  margin: 16px 0;
}
.stock-urgency-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.stock-urgency-label strong { color: var(--danger); }
.stock-bar {
  height: 6px;
  background: var(--bg-softer);
  border-radius: 999px;
  overflow: hidden;
}
.stock-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--danger), var(--gold));
  transition: width 1s var(--ease);
  animation: pulse-stock 2s ease-in-out infinite;
}
@keyframes pulse-stock {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* --- Scratch Price --- */
.price-scratch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.price-old {
  font-size: 1rem;
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 2px;
}
.price-badge {
  background: linear-gradient(135deg, var(--danger), #dc2626);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-sm);
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--surface-overlay);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 14px var(--gutter);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}
.sticky-cta.visible { display: flex; }
.sticky-cta-info { font-size: 0.88rem; }
.sticky-cta-info .name { font-weight: 700; color: var(--ink); }
.sticky-cta-info .price { color: var(--brand); font-weight: 700; }

/* --- Exit Intent Modal --- */
.exit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.exit-modal-overlay.open { display: flex; opacity: 1; }
.exit-modal {
  background: var(--bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 480px;
  text-align: center;
  position: relative;
  box-shadow: var(--sh-float);
  animation: fadeInUp 0.4s var(--ease) forwards;
}
.exit-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-softer);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-size: 1.2rem;
  transition: all 0.2s;
}
.exit-modal-close:hover { background: var(--danger); color: #fff; }
.exit-modal h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--gold), #e0b34d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.exit-modal p { color: var(--ink-soft); margin-bottom: 24px; line-height: 1.6; }
.exit-code {
  display: inline-block;
  background: var(--gold-soft);
  border: 2px dashed var(--gold);
  border-radius: var(--r-sm);
  padding: 10px 24px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-family: monospace;
}

/* --- Social Proof Counter --- */
.social-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.social-counter-item { text-align: center; }
.social-counter-item .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.social-counter-item .label {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 6px;
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: rgba(59, 130, 246, 0.15); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease);
  color: var(--ink-faint);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}
.faq-a p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

/* --- Cross-Sell Carousel --- */
.cross-sell {
  margin-top: 40px;
}
.cross-sell h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cross-sell h3 svg { width: 20px; height: 20px; color: var(--gold); }
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cross-sell-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.cross-sell-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: var(--glow-cyan);
}
.cross-sell-card .thumb {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.cross-sell-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cross-sell-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.cross-sell-card .csp { font-size: 0.85rem; color: var(--brand); font-weight: 700; }
.cross-sell-card .csa {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* =============================================================
   TOAST
   ============================================================= */
.nova-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  background: var(--bg-soft);
  border: 1px solid var(--glass-border);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: var(--r-xl);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--sh-float);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  display: flex;
  gap: 10px;
  align-items: center;
  backdrop-filter: blur(12px);
}

/* =============================================================
   COOKIE BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 250;
  background: var(--surface-overlay);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 0.85rem; color: var(--ink-soft); max-width: 700px; }

/* =============================================================
   PRODUKTKAROUSEL (Startseite / Shop)
   ============================================================= */
.pcard-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.pcard-carousel::-webkit-scrollbar { display: none; }
.pcard-carousel img {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  user-select: none;
  -webkit-user-drag: none;
}

.pcard-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.pcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* =============================================================
   LIGHTBOX — Dark Theme
   ============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  animation: fadeInUp 0.3s var(--ease);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}
.lightbox-close:hover { background: var(--danger); border-color: var(--danger); transform: scale(1.1); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-50%);
  transition: all 0.3s;
  cursor: pointer;
}
.lightbox-nav:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.1); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 8px 20px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

/* =============================================================
   LICHTBALKEN (Animated Gradient Strip)
   ============================================================= */
.lichtbalken {
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

/* =============================================================
   MEDIA QUERIES
   ============================================================= */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges-home { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .cross-sell-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust-badges-home { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .cart-layout { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .bundle { flex-direction: column; text-align: center; }
  .cross-sell-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .live-activity { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 480px) {
  .nav { padding: 10px 16px; margin: 8px auto; }
  .display { font-size: 2rem; }
  .countdown-bar { flex-direction: column; text-align: center; }
}

/* =============================================================
   SCROLLBAR
   ============================================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-softer); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }

/* =============================================================
   SELECTION
   ============================================================= */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--ink);
}

/* =============================================================
   CHECKOUT — Dark Theme kompatibel
   ============================================================= */
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-head {
  padding: 140px 0 40px;
}
.page-head h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-top: 12px;
}

/* Form Card */
.form-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input,
.field select,
.field textarea {
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.95rem;
  transition: all 0.3s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

/* Payment Options */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.3s;
}
.payment-option:hover { border-color: var(--line-strong); }
.payment-option.selected {
  border-color: var(--brand);
  background: var(--accent-soft);
}
.payment-option input { display: none; }
.payment-option .p-icon { font-size: 1.5rem; }
.payment-option div { display: flex; flex-direction: column; }
.payment-option div strong { font-weight: 700; font-size: 0.95rem; }
.payment-option div span { font-size: 0.78rem; color: var(--ink-faint); }

/* Summary Card */
.summary-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 28px;
  height: fit-content;
}

/* Checkout Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}
@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Step Indicator */
.step-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.step {
  flex: 1;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: var(--r-sm);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
  border: 1px solid var(--line);
}
.step.active {
  background: var(--accent-soft);
  border-color: var(--brand);
  color: var(--brand);
}

/* Confirmation */
.confirmation {
  text-align: center;
  padding: 60px 0;
  max-width: 600px;
  margin: 0 auto;
}
.check-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ok), #059669);
  color: #fff;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}
.confirmation h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.confirmation p { color: var(--ink-soft); line-height: 1.6; }
.order-number {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 24px;
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-block;
  margin: 20px 0;
}

/* Download List */
.download-list {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-top: 24px;
  text-align: left;
}
.download-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.download-row:last-child { border-bottom: none; }

/* Trust Badges (checkout) */
.checkout-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Tag Pill */
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ok);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 100px 0;
}
.empty-state .emoji { font-size: 4rem; margin-bottom: 20px; }
.empty-state h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.empty-state p { color: var(--ink-faint); margin-bottom: 24px; }

/* Button Block */
.btn-block { width: 100%; justify-content: center; }

/* =============================================================
   ADMIN BEREICH — Dark Theme
   ============================================================= */

.admin-body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

/* Login */
.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}
.login-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--sh-float);
}
.login-card .brand {
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}
.login-card h2 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.login-card > p {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.login-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
  min-height: 20px;
}
.login-success {
  color: var(--ok);
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}
.login-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 16px;
  line-height: 1.5;
}
.login-hint strong { color: var(--brand); }

/* Admin Shell */
.admin-shell {
  display: none;
  min-height: 100vh;
}
.admin-shell.active { display: block; }

/* Admin Header */
.admin-header {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header .container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-header .brand {
  font-size: 1.1rem;
}
.badge-live {
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 10px;
}

/* Admin Table */
.admin-table-wrap {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 20px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table thead {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.admin-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.empty-row td {
  text-align: center;
  color: var(--ink-faint);
  padding: 40px;
}

/* Row Actions */
.row-actions {
  display: flex;
  gap: 6px;
}
.row-actions button {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: all 0.2s;
  cursor: pointer;
}
.row-actions button:hover {
  background: var(--bg-softer);
  color: var(--ink);
  border-color: var(--line-strong);
}
.row-actions button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.row-actions button.danger:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* Tag Pill */
.tag-pill {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-pill.muted {
  background: var(--bg-softer);
  color: var(--ink-faint);
}

/* Stat Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 24px 0 40px;
}
.stat-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.2);
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}
.modal-card {
  background: var(--bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 32px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sh-float);
  animation: fadeInUp 0.3s var(--ease);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-head h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-softer);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Admin Toolbar */
.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Image Preview Grid */
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.image-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-thumb-main {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 2px;
  text-transform: uppercase;
}
.image-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.image-thumb-remove:hover {
  background: var(--danger);
}

/* Analytics */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.analytics-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.analytics-card-value {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.analytics-card-label {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.analytics-section {
  margin-bottom: 32px;
}
.analytics-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
}
.analytics-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
}
.analytics-bar-track {
  flex: 1;
  width: 100%;
  background: var(--bg-softer);
  border-radius: 4px 4px 0 0;
  position: relative;
  overflow: hidden;
}
.analytics-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--brand), rgba(59,130,246,0.5));
  border-radius: 4px 4px 0 0;
  transition: height 0.5s var(--ease);
}
.analytics-bar-label {
  font-size: 0.65rem;
  color: var(--ink-faint);
  text-align: center;
  white-space: nowrap;
  transform: rotate(-45deg);
  transform-origin: center;
}

/* Media Queries Admin */
@media (max-width: 1024px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .analytics-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .login-card { padding: 32px 24px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-header .container { flex-direction: column; gap: 12px; }
  .admin-table-wrap { overflow-x: auto; }
  .admin-table { min-width: 800px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   RICH-TEXT-EDITOR — Admin
   ============================================================= */
.rte-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.rte-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-softer);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.rte-toolbar button {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.rte-toolbar button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rte-toolbar button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.rte-toolbar select {
  padding: 6px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.82rem;
  cursor: pointer;
}
.rte-toolbar input[type="color"] {
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  cursor: pointer;
}
.rte-sep {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 4px;
}
.rte-editor {
  min-height: 120px;
  max-height: 300px;
  overflow-y: auto;
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-soft);
  outline: none;
}
.rte-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--ink-faint);
}
.rte-editor p { margin: 0 0 8px; }
.rte-editor b, .rte-editor strong { font-weight: 700; }
.rte-editor i, .rte-editor em { font-style: italic; }
.rte-editor u { text-decoration: underline; }
.rte-editor s, .rte-editor strike { text-decoration: line-through; }
.rte-editor span[style*="font-size"] { }
.rte-editor * { background: transparent !important; }
.rte-editor font[size="1"] { font-size: 0.75rem; }
.rte-editor font[size="3"] { font-size: 0.95rem; }
.rte-editor font[size="5"] { font-size: 1.2rem; }
.rte-editor font[size="7"] { font-size: 1.6rem; }

/* =============================================================
   FAQ-Frage als <button> (Tastaturbedienung) — Reset auf Div-Optik
   ============================================================= */
.faq-q { width: 100%; text-align: left; font-family: inherit; }

/* =============================================================
   BEWEGUNGSREDUZIERUNG (prefers-reduced-motion)
   Deaktiviert Dauer-/Zier-Animationen für Nutzer, die das wünschen.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
   THEME-UMSCHALTER — Farbschemata (per data-theme auf <html>)
   Standard: hell (per JS gesetzt). Umschaltbar über den Nav-Button.
   Fallback ohne JS: das dunkle :root-Schema oben.
   ============================================================= */

/* ---- Hell & Freundlich (Standard) ---- */
[data-theme="light"] {
  color-scheme: light;
  --bg:            #f5f8fd;
  --bg-soft:       #eef3fb;
  --bg-softer:     #e6edf7;
  --bg-card:       #ffffff;
  --ink:           #12203a;
  --ink-soft:      #4a5a74;
  --ink-faint:     #75849b;
  --line:          rgba(18, 32, 58, 0.10);
  --line-strong:   rgba(18, 32, 58, 0.18);

  --brand:         #2563eb;
  --brand-ink:     #1d4ed8;
  --brand-glow:    rgba(37, 99, 235, 0.18);
  --gold:          #ff7a53;   /* warme Koralle = fröhlicher Akzent */
  --gold-ink:      #e85f39;
  --gold-soft:     rgba(255, 122, 83, 0.14);
  --ok:            #059669;
  --warn:          #d97706;
  --star:          #f59e0b;
  --danger:        #dc2626;

  --glow-cyan:     0 8px 24px rgba(37, 99, 235, 0.10);
  --glow-gold:     0 8px 24px rgba(255, 122, 83, 0.12);
  --glow-brand:    0 8px 22px rgba(37, 99, 235, 0.16);

  --sh-1: 0 4px 18px rgba(18, 32, 58, .08), 0 1px 3px rgba(18, 32, 58, .06);
  --sh-2: 0 10px 40px rgba(18, 32, 58, .10), 0 2px 8px rgba(18, 32, 58, .06);
  --sh-float: 0 20px 60px -12px rgba(18, 32, 58, .16);

  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(18, 32, 58, 0.08);
  --accent-soft: rgba(37, 99, 235, 0.08);
  --surface-overlay: rgba(255, 255, 255, 0.95);
}

/* ---- Dunkel & Warm ---- */
[data-theme="warm"] {
  color-scheme: dark;
  --bg:            #12151f;
  --bg-soft:       #171b27;
  --bg-softer:     #1b202e;
  --bg-card:       rgba(27, 32, 46, 0.7);
  --ink:           #f2f5fa;
  --ink-soft:      #a3adc0;
  --ink-faint:     #7c889d;
  --line:          rgba(255, 255, 255, 0.09);
  --line-strong:   rgba(255, 255, 255, 0.16);

  --brand:         #4f8cff;
  --brand-ink:     #2f6fe0;
  --brand-glow:    rgba(79, 140, 255, 0.28);
  --gold:          #ff8a5b;   /* warme Koralle */
  --gold-ink:      #e56b3a;
  --gold-soft:     rgba(255, 138, 91, 0.15);
  --ok:            #34d399;
  --warn:          #ff8a5b;
  --star:          #ffcf5c;
  --danger:        #f87171;

  --glow-cyan:     0 0 40px rgba(79, 140, 255, 0.16);
  --glow-gold:     0 0 40px rgba(255, 138, 91, 0.16);
  --glow-brand:    0 0 30px rgba(79, 140, 255, 0.22);

  --glass: rgba(27, 32, 46, 0.62);
  --glass-border: rgba(255, 255, 255, 0.09);
  --accent-soft: rgba(79, 140, 255, 0.12);
  --surface-overlay: rgba(18, 21, 31, 0.95);
}

/* ---- Theme-Umschalter (Button in der Navigation) ---- */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--brand);
  transition: color .25s, border-color .25s, background .25s, transform .2s;
  flex: none;
}
.theme-toggle:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.mobile-menu .mm-theme {
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer; font-family: inherit;
}

/* =============================================================
   PRODUKT-PLATZHALTER (media-empty) — theme-adaptive Icon-Kachel
   Wird gezeigt, wenn ein Programm (noch) kein Foto hat.
   ============================================================= */
.media-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 34%, color-mix(in srgb, var(--empty-accent, var(--brand)) 20%, transparent), transparent 62%),
    var(--bg-soft);
}
.media-empty-icon {
  width: 58px;
  height: 58px;
  color: var(--empty-accent, var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-empty-icon svg { width: 100%; height: 100%; }
.media-empty.small { gap: 8px; padding: 10px; }
.media-empty.small .media-empty-icon { width: 40px; height: 40px; }
.media-empty-note {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.media-empty.small .media-empty-note { font-size: 0.72rem; }
