/* Luna Funnel — Apple-like, Schwarz/Weiß (Luna CI) */

:root {
  --bg: #030304;
  --bg-soft: #0a0a0c;
  --text: #f5f5f7;
  --muted: #9b9ba3;
  --line: rgba(255, 255, 255, 0.09);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-hover: rgba(255, 255, 255, 0.07);
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(255, 255, 255, 0.9); color: #000; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }

h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(3, 3, 4, 0.55);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-orb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0%, #e8ebf1 55%, #9aa0ad 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  color: #101014;
}
.nav-orb svg { width: 68%; height: auto; display: block; }

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links a { display: none; }
  .nav-links .nav-link-preise { display: inline; }
}

/* ---------- Buttons & Chips ---------- */
.btn {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.22);
}
.btn:active { transform: translateY(0); }

.btn-small { padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.5); }

.chip {
  display: inline-block;
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  align-self: flex-start;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7.5rem clamp(1.2rem, 5vw, 3rem) 5rem;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% -5%, rgba(120, 140, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 35% at 50% 108%, rgba(255, 255, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero-sub {
  max-width: 40rem;
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.hero-hint {
  margin-top: 0.9rem;
  font-size: 1rem;
  color: var(--text);
}

/* ---------- Orb ---------- */
.orb {
  position: relative;
  width: clamp(120px, 20vw, 170px);
  height: clamp(120px, 20vw, 170px);
  margin-top: 3rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 50%;
}

.orb-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 33% 28%, #ffffff 0%, #eef1f6 30%, #b9bfcc 62%, #565b68 100%);
  box-shadow:
    0 0 60px rgba(255, 255, 255, 0.35),
    0 0 140px rgba(140, 160, 255, 0.18),
    inset 0 -18px 40px rgba(0, 0, 0, 0.25);
  animation: orb-breathe 5.5s ease-in-out infinite;
}

.orb-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #131318;
  animation: orb-breathe 5.5s ease-in-out infinite;
}
.orb-icon svg { width: 46%; height: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12)); }

.orb-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: orb-ring 5.5s ease-in-out infinite;
}

.orb:hover .orb-core, .orb:hover .orb-icon { animation-duration: 2.6s; }

/* Wenn Luna im Widget spricht, lebt der Hero-Orb sichtbar mit */
.orb.speaking .orb-core, .orb.speaking .orb-icon { animation-duration: 1.1s; }
.orb.speaking .orb-core {
  box-shadow:
    0 0 90px rgba(255, 255, 255, 0.55),
    0 0 200px rgba(140, 160, 255, 0.35),
    inset 0 -18px 40px rgba(0, 0, 0, 0.25);
}
.orb.speaking .orb-ring { animation-duration: 1.1s; border-color: rgba(255, 255, 255, 0.4); }

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes orb-ring {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 0.25; }
}

.orb-label {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Domain-Form ---------- */
.domain-form {
  display: flex;
  gap: 0.6rem;
  margin-top: 2.8rem;
  width: min(34rem, 100%);
}
.domain-form input {
  flex: 1;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.domain-form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.domain-form input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}
.domain-form .btn { white-space: nowrap; }

@media (max-width: 560px) {
  .domain-form { flex-direction: column; }
  .domain-form .btn { width: 100%; }
  /* Platz für den Widget-FAB unten rechts, damit er den CTA nicht verdeckt */
  .hero { padding-bottom: 9rem; }
}

.micro {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.trust {
  margin-top: 2.2rem;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.trust strong { color: var(--text); font-weight: 600; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.2rem, 5vw, 3rem);
  text-align: center;
  isolation: isolate;
}

.section-sub {
  max-width: 38rem;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Manifest (Vorher/Nachher) ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  text-align: left;
}
.compare-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--panel);
}
.compare-col h3 { margin-bottom: 1.2rem; color: var(--muted); }
.compare-col ul { list-style: none; }
.compare-col ul li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.compare-col ul li::before {
  content: "×";
  position: absolute;
  left: 0.1rem;
  top: 0;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}
.compare-luna {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 24px 90px rgba(255, 255, 255, 0.12);
}
.compare-luna h3 { color: #000; }
.compare-luna ul li { color: rgba(0, 0, 0, 0.72); }
.compare-luna ul li::before {
  content: "✓";
  color: #000;
}

.statement {
  margin: 4.5rem auto 0;
  max-width: 46rem;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--muted);
}
.statement strong { color: var(--text); }

/* ---------- Unvermeidlich ---------- */
.inevitable {
  max-width: 62rem;
  padding-top: clamp(6rem, 14vw, 11rem);
  padding-bottom: clamp(6rem, 14vw, 11rem);
}
.inevitable .hero-glow {
  background: radial-gradient(ellipse 55% 45% at 50% 42%, rgba(120, 140, 255, 0.1), transparent 68%);
}
.inevitable h2 {
  font-size: clamp(1.9rem, 4.8vw, 3.3rem);
  line-height: 1.15;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  text-align: left;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.step p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.step-num {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 3.5rem;
  text-align: left;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  background: var(--panel-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.card p { color: var(--muted); font-size: 0.95rem; }
.card .chip { margin-top: 0.9rem; }

/* Bento: die drei Hero-Features groß und inszeniert */
.card-lg {
  padding: 2.4rem;
  min-height: 15rem;
  background:
    radial-gradient(ellipse 90% 90% at 50% -30%, rgba(120, 140, 255, 0.09), transparent 65%),
    var(--panel);
  border-color: rgba(255, 255, 255, 0.14);
}
.card-lg h3 { font-size: 1.45rem; }
.card-lg p { font-size: 1.02rem; }
.card-lg .chip { font-size: 0.95rem; padding: 0.65rem 1.3rem; }

.branch .quote {
  font-style: italic;
  color: var(--text);
  opacity: 0.85;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  padding-left: 0.9rem;
  flex: 1;
}

/* ---------- Plans ---------- */
.grid-plans { align-items: stretch; }

.plan { text-align: left; }
.plan h3 { font-size: 1.4rem; }
.plan-tag { font-size: 0.88rem; color: var(--muted); }
.plan-price {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.4rem;
}
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: 0.2rem; }
.plan ul {
  list-style: none;
  margin: 0.4rem 0 1.4rem;
  flex: 1;
}
.plan ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.plan .btn, .plan .btn-ghost { text-align: center; }

.plan-featured {
  border-color: #fff;
  background: #fff;
  color: #0c0c0e;
  box-shadow: 0 30px 100px rgba(255, 255, 255, 0.14);
}
.plan-featured .plan-tag, .plan-featured ul li { color: rgba(0, 0, 0, 0.6); }
.plan-featured ul li::before { background: rgba(0, 0, 0, 0.55); }
.plan-featured .plan-badge { border-color: rgba(0, 0, 0, 0.35); color: #0c0c0e; }
.plan-featured .btn { background: #0c0c0e; color: #fff; border-color: #0c0c0e; }
.plan-featured .btn:hover { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); }
.plan-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.4rem;
}

/* ---------- Case Study ---------- */
.case {
  max-width: 46rem;
  margin: 3.5rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.case-stats > div {
  background: var(--bg-soft);
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.case-stats strong { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.03em; }
.case-stats > div > span { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.case blockquote {
  padding: 1.8rem clamp(1.2rem, 4vw, 2.4rem);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-style: italic;
  line-height: 1.6;
  text-align: left;
}
.case blockquote footer {
  margin-top: 0.9rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 560px) { .case-stats { grid-template-columns: 1fr; } }

/* ---------- Analytics-Dashboard-Mockup ---------- */
.dash.reveal {
  transform: perspective(1200px) rotateX(14deg) translateY(40px) scale(0.97);
}
.dash.reveal.on { transform: none; }

.dash {
  max-width: 44rem;
  margin: 3.5rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}
.dash-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.dash-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 8px rgba(52, 199, 89, 0.7);
}
.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.dash-tile {
  background: var(--bg-soft);
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.dash-tile strong { font-size: 1.7rem; letter-spacing: -0.02em; }
.dash-tile > span { color: var(--muted); font-size: 0.8rem; }
.dash-block { padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.dash-block h4, .dash-tip h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.dash-row {
  display: grid;
  grid-template-columns: minmax(11rem, auto) 1fr 3rem;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}
.dash-row span { color: var(--text); }
.dash-row i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
}
.dash-row i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 40%);
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.85), rgba(160, 175, 255, 0.85));
}
.dash-row b { color: var(--muted); font-weight: 600; text-align: right; }
.dash-tip { padding: 1.3rem 1.4rem; background: rgba(120, 140, 255, 0.06); }
.dash-tip p { color: var(--text); font-size: 0.95rem; font-style: italic; }

.chip-center { margin: 2rem auto 0; align-self: center; }
.section .chip-center { display: inline-block; }

@media (max-width: 560px) {
  .dash-tiles { grid-template-columns: 1fr; }
  .dash-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .dash-row b { text-align: left; }
}

.plan-assure {
  margin-top: 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 44rem;
  margin: 3rem auto 0;
  text-align: left;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0.2rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin-top: 0.8rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Final CTA & Footer ---------- */
.final { padding-bottom: clamp(6rem, 14vw, 10rem); }
.final-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 1.5rem 6.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer a { color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 6.5rem;
  transform: translate(-50%, 20px);
  z-index: 60;
  background: rgba(20, 20, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  max-width: min(90vw, 34rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Exit-Intent ---------- */
.exit-bubble {
  position: fixed;
  right: 24px;
  bottom: 100px;
  z-index: 55;
  width: min(88vw, 21rem);
  background: rgba(18, 18, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.exit-bubble.show { opacity: 1; transform: none; pointer-events: auto; }
.exit-bubble p { font-size: 0.95rem; line-height: 1.5; }
.exit-bubble .btn { margin-top: 0.8rem; width: 100%; text-align: center; font-size: 0.92rem; padding: 0.7rem 1rem; }
.exit-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- Reveal-Animationen ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb-core, .orb-ring, .orb-icon { animation: none; }
}
