: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;
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Wir zwingen alles auf Light Mode für einen "cleaneren" B2B Look */
:root, :root[data-theme="dark"], @media (prefers-color-scheme: dark) {
  --bg:       #ffffff;
  --bg2:      #f8fafc;
  --bg3:      #f1f5f9;
  --border:   #e2e8f0;
  --accent:   #f97316;
  --accent2:  #ea580c;
  --blue:     #3b82f6;
  --green:    #10b981;
  --text:     #0f172a;
  --muted:    #475569;
  --muted2:   #64748b;
  --nav-bg:   rgba(255, 255, 255, 0.98);
  --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --noise-op: 0;
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.05);
}

*, *::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;
}

/* ── PREMIUM POLISH (Scrollbar, Selection, Focus) ── */
::selection { background: var(--accent); color: #0a0a0a; }
::-moz-selection { background: var(--accent); color: #0a0a0a; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.text-gradient {
  background: linear-gradient(135deg, var(--accent), #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-green {
  background: linear-gradient(135deg, var(--green), #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #0891b2, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── TYPOGRAPHY ── */
.display {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── NOISE TEXTURE ── */
/* Noise wurde deaktiviert für einen cleaneren SaaS Look */
body::before {
  display: none;
}

/* ── 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(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.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.3s cubic-bezier(0.4, 0, 0.2, 1);
  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 20px rgba(249,115,22,0.25); }
#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 ── */
/* Pulsierender Glow entfernt für sauberes Design */
.btn-pulse { }

/* ── 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.4s ease, box-shadow 0.4s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.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 entfernt für cleanes Design */
.glow-accent { }

/* ── 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 4px 12px rgba(249,115,22,0.2); }

/* ══════════════════════════════════════════════
   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; }

  /* Cookie Banner Mobile Fix */
  #cookieBanner { bottom: 16px !important; width: calc(100% - 32px) !important; padding: 20px !important; gap: 20px !important; }
  #cookieBanner > div:last-child { flex-direction: column-reverse !important; width: 100% !important; gap: 10px !important; }
  #cookieBanner button { width: 100% !important; justify-content: center !important; margin: 0 !important; }
}

@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; }
}