:root {
  /* LIGHT MODE (Standard) */
  --bg:       #ffffff;
  --bg2:      #f9fafb;
  --bg3:      #f3f4f6;
  --border:   #e5e7eb;
  --accent:   #f97316;
  --accent2:  #ea580c;
  --blue:     #3b82f6;
  --green:    #16a34a;
  --text:     #111827;
  --muted:    #4b5563;
  --muted2:   #6b7280;
  --nav-bg:   rgba(248, 250, 252, 0.95);
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --noise-op: 0.8;
}

/* Manuell gesetzter DARK MODE */
:root[data-theme="dark"] {
  --bg:       #0a0a0a;
  --bg2:      #111111;
  --bg3:      #181818;
  --border:   #2a2a2a;
  --accent:   #f97316;
  --accent2:  #fb923c;
  --blue:     #3b82f6;
  --green:    #22c55e;
  --text:     #f5f0e8;
  --muted:    #888;
  --muted2:   #555;
  --nav-bg:   rgba(24, 24, 27, 0.95);
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --noise-op: 0.5;
}

/* Vom System bevorzugter DARK MODE */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:       #0a0a0a;
    --bg2:      #111111;
    --bg3:      #181818;
    --border:   #2a2a2a;
    --accent:   #f97316;
    --accent2:  #fb923c;
    --blue:     #3b82f6;
    --green:    #22c55e;
    --text:     #f5f0e8;
    --muted:    #888;
    --muted2:   #555;
    --nav-bg:   rgba(24, 24, 27, 0.95);
    --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --noise-op: 0.5;
  }
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding-top sorgt dafür, dass die Sections beim Anklicken nicht unter der Navigationsleiste verschwinden */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
.display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: var(--noise-op);
}

/* ── NAV ── */
nav {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--nav-shadow);
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
}

/* ── NAV LINKS ── */
.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text);
  background-color: var(--bg3);
}
.mob-nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.15s, background-color 0.15s;
}
.mob-nav-link:hover {
  color: var(--text);
  background-color: var(--bg3);
}

/* ── HERO ── */
.hero-bg {
  background: 
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(249,115,22,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(59,130,246,0.06) 0%, transparent 60%),
    var(--bg);
}

/* ── MARQUEE ── */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-inner { animation: marquee 25s linear infinite; display: flex; gap: 0; }
.marquee-inner:hover { animation-play-state: paused; }

/* ── CARDS ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--muted); transform: translateY(-4px); }

.card-accent {
  background: var(--accent);
  border-radius: 20px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 800;
  border-radius: 100px;
  padding: 16px 36px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,0.35); }
#mobileMenu:not(.hidden) { display: flex; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── BUTTON ANIMATION ── */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}
.btn-pulse { animation: pulse-glow 2.5s infinite; }

/* ── ZORA ANIMATION ── */
@keyframes zora-wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  15% { transform: rotate(-15deg) scale(1.1); }
  30% { transform: rotate(10deg) scale(1.1); }
  45% { transform: rotate(-10deg) scale(1.1); }
  60% { transform: rotate(5deg) scale(1.1); }
  75% { transform: rotate(-5deg) scale(1.1); }
}
@keyframes zora-badge-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); transform: scale(1); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); transform: scale(1); }
}
.zora-badge-pulse { animation: zora-badge-pulse 2s infinite; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.active { opacity: 1; transform: none; }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }

/* ── ZICK-ZACK LAYOUT ── */
.zz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── PROBLEM SECTION ── */
.problem-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 28px; position: relative; overflow: hidden; }
.problem-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* ── STEP ── */
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 80px; color: var(--border); line-height: 1; position: absolute; top: -10px; right: 20px; }

/* ── PRICING ── */
.price-card { transition: transform 0.2s; }
.price-card:hover { transform: translateY(-6px); }
.price-featured { background: var(--accent); color: #0a0a0a; }
.price-featured .price-muted { color: rgba(0,0,0,0.55); }
.price-featured .price-check { color: rgba(0,0,0,0.8); }

/* ── FORM ── */
.form-input { width: 100%; background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; color: var(--text); font-family: inherit; font-size: 15px; outline: none; transition: border-color 0.15s; }
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted2); }
select.form-input { appearance: none; cursor: pointer; }

/* ── COMPARISON TABLE ── */
.comp-table { border-collapse: collapse; width: 100%; }
.comp-table th, .comp-table td { padding: 14px 20px; text-align: center; }
.comp-table th:first-child, .comp-table td:first-child { text-align: left; }
.comp-table tbody tr { border-top: 1px solid var(--border); }
.comp-table tbody tr:hover { background: var(--bg2); }

/* ── SCROLL PROGRESS ── */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 1001; transform-origin: left; transform: scaleX(0); transition: transform 0.05s; }

/* ── TAG ── */
.tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25); color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 100px; }

/* ── GLOW ACCENT ── */
.glow-accent { box-shadow: 0 0 60px rgba(249,115,22,0.15); }

/* ── SCROLL TO TOP BTN ── */
#scrollTopBtn { position: fixed; bottom: 24px; right: 24px; background: var(--accent); color: #0a0a0a; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; z-index: 999; box-shadow: 0 4px 14px rgba(249,115,22,0.4); }
#scrollTopBtn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { background: var(--accent2); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(249,115,22,0.6); }

/* ══════════════════════════════════════════════
   MOBILE OVERRIDES — alles unter 768px
   ══════════════════════════════════════════════ */
html, body { max-width: 100vw; overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  .display { letter-spacing: 0.01em; }
  nav .hidden { display: none !important; }
  .steps-grid, .roi-grid, .pricing-grid, .form-grid, .zz-grid, #team-grid, .partner-grid, .bressner-grid { grid-template-columns: 1fr !important; }
  section { overflow: hidden !important; padding-left: 16px !important; padding-right: 16px !important; }
  .comp-table th:nth-child(3), .comp-table td:nth-child(3),
  .comp-table th:nth-child(4), .comp-table td:nth-child(4) { display: none !important; }
  .comp-table { font-size: 13px; }
  .comp-table th, .comp-table td { padding: 10px 12px !important; }
  .zz-grid { gap: 40px !important; }
  .zz-img { order: -1 !important; }
  .zz-txt { order: 2 !important; }
  .partner-grid a, .bressner-grid a { width: 100% !important; justify-content: center !important; }
  #toggle-yearly, #toggle-monthly { padding: 8px 16px !important; font-size: 13px !important; }
  #toggle-yearly span { display: none; }
  .price-card { margin: 0 0 20px 0 !important; transform: none !important; }
  input[type="range"] { width: 100% !important; }
  .btn-primary { padding: 14px 24px !important; font-size: 15px !important; width: 100% !important; justify-content: center !important; }
  .btn-ghost   { padding: 12px 20px !important; font-size: 14px !important; width: 100% !important; justify-content: center !important; }
  .form-input { font-size: 16px !important; }
  .card { border-radius: 14px !important; }
  .step-num { font-size: 50px !important; }
  .feature-big { grid-row: span 1 !important; }
  .marquee-inner span { font-size: 12px !important; padding: 0 16px !important; }
  #scroll-progress { height: 2px; }
}

@media (max-width: 480px) {
  .marquee-inner span { font-size: 12px !important; padding: 0 20px !important; }
  .btn-primary { padding: 14px 24px !important; font-size: 15px !important; }
  .btn-ghost   { padding: 12px 20px !important; font-size: 14px !important; }
}