/* ═══════════════════════════════════════════════════════════════════════
   Riff — Sales & Redemption Platform
   Fork von websites/sable/public/style.css (Struktur/Layout unveraendert) —
   Design: Apple-tight Typografie (DESIGN.md) × Liquid Glass × Liquid Metal.
   Ein Akzent (warmer Ton statt Sables Sky Blue, Anlehnung an die
   Claude-Palette der Riff-App selbst), Glas statt Chrome, Metall statt Deko.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Farben — dunkles Gegenstück zum Apple-System aus DESIGN.md */
  --void: #000000;
  --canvas: #0a0a0c;
  --tile-1: #131316;
  --tile-2: #0e0e11;
  --ink: #f5f5f7;
  --muted: #a1a1a6;
  --faint: #6e6e73;
  --accent: #d97757;          /* warmer Terracotta-Ton (on-dark) */
  --accent-deep: #c15f3c;     /* Action-Variante, dunkler+gesaettigter */
  --warn: #ffd60a;            /* Aktionskarten-Gelb der echten Riff-UI */
  --ok: #30d158;

  /* Bubble-Glow-Palette (Nutzerwunsch: "bubble-foermige Dinge", mehrfarbig
     statt Mono) - baut auf dem bestehenden Orb-Markenzeichen auf, ergaenzt um
     Terracotta-Nachbarn und den bereits genutzten Blau-Ton. */
  --glow-a: #ff8a5c;
  --glow-b: #b06bff;
  --glow-c: #2997ff;

  /* Liquid Glass */
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(22, 22, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.35);

  /* Typografie-Skala (Apple-tight, negative Tracking bei Display-Größen) */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --radius-pill: 9999px;
  --radius-lg: 18px;
  --radius-md: 11px;
  --section-pad: clamp(80px, 12vw, 140px);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.374px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
code { font-family: var(--mono); font-size: 0.92em; }
::selection { background: rgba(41, 151, 255, 0.35); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent-deep); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Liquid-Glass-Grundfläche ───────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),   /* Spekular-Kante oben */
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.35);
}
.glass-strong {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 40px 100px rgba(0, 0, 0, 0.6);
}

/* ── Buttons: Liquid-Glass-Pille ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.2px;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.95); }

.btn-glass {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -6px 12px rgba(255, 255, 255, 0.04),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 30px rgba(0, 0, 0, 0.45);
}
/* wandernder Lichtreflex */
.btn-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 20%, rgba(255, 255, 255, 0.22) 46%,
    rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0.22) 54%,
    transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  pointer-events: none;
}
.btn-glass:hover::before { transform: translateX(120%); }
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -6px 12px rgba(255, 255, 255, 0.05),
    0 14px 40px rgba(0, 0, 0, 0.55);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.85), rgba(0, 102, 204, 0.85));
  border: 1px solid rgba(140, 200, 255, 0.5);
  color: #fff;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -8px 16px rgba(0, 40, 90, 0.35),
    0 10px 34px rgba(0, 102, 204, 0.45);
}
.btn-primary:hover {
  background: linear-gradient(180deg, rgba(64, 165, 255, 0.95), rgba(0, 113, 227, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -8px 16px rgba(0, 40, 90, 0.3),
    0 14px 44px rgba(0, 113, 227, 0.6);
}
.btn-primary .btn-icon { width: 18px; height: 18px; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.35); }

.btn-small { padding: 9px 20px; font-size: 14px; letter-spacing: -0.1px; }
.btn-nav { padding: 8px 18px; font-size: 14px; font-weight: 600; }

/* ── Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 52px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav-name { font-size: 17px; font-weight: 600; letter-spacing: -0.374px; }
.nav-orb {
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #bfe0ff 0%, #2997ff 42%, #0a3f7a 100%);
  box-shadow: 0 0 12px rgba(41, 151, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.12px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero: Liquid Metal ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-metal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 52% 42% at 50% 44%, rgba(10, 10, 12, 0.45) 0%, transparent 72%),
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 30%, rgba(10, 10, 12, 0.55) 75%, var(--canvas) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, transparent 22%, transparent 70%, var(--canvas) 100%);
  pointer-events: none;
}

/* Schwebende Glow-Bubbles: liegen UNTER der Vignette (gleicher z-index, aber
   frueher im DOM) - die Vignette dunkelt sie zur Textmitte hin automatisch
   ab, an den Raendern bleiben sie sichtbar. Reines CSS, kein Canvas noetig. */
.hero-bubbles { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  will-change: transform;
}
.bubble-1 {
  width: 420px; height: 420px;
  left: 6%; top: 10%;
  background: radial-gradient(circle at 35% 30%, var(--glow-a) 0%, transparent 70%);
  animation: bubble-drift 22s ease-in-out infinite;
}
.bubble-2 {
  width: 340px; height: 340px;
  right: 4%; top: 6%;
  background: radial-gradient(circle at 40% 35%, var(--glow-b) 0%, transparent 70%);
  animation: bubble-drift 27s ease-in-out infinite -8s;
}
.bubble-3 {
  width: 300px; height: 300px;
  left: 40%; bottom: 2%;
  background: radial-gradient(circle at 40% 35%, var(--glow-c) 0%, transparent 70%);
  animation: bubble-drift 31s ease-in-out infinite -16s;
}
@keyframes bubble-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -6%) scale(1.08); }
  66% { transform: translate(-5%, 4%) scale(0.94); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: var(--ink);
  margin-bottom: 30px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(48, 209, 88, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero-title {
  /* min 30px: "Der KI-Agent, der" muss auch bei 390px-Viewports
     inkl. erzwungener Umbrüche in die Breite passen */
  font-size: clamp(30px, 7vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 35%, #eef0f4 65%, #c2c4cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }

/* Live-Knappheit */
.scarcity { width: min(420px, 100%); }
.scarcity-bar {
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
}
.scarcity-fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 14px rgba(41, 151, 255, 0.7);
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scarcity-text { font-size: 14px; letter-spacing: -0.2px; color: var(--muted); }
.scarcity-text span { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ── Tiles (Section-Rhythmus per Flächenwechsel, DESIGN.md) ─────────── */
.tile { padding: var(--section-pad) 24px; }
.tile-dark { background: var(--tile-1); }
.tile-deep { background: var(--tile-2); }
.tile-inner { max-width: 1060px; margin: 0 auto; text-align: center; }
.tile-narrow { max-width: 720px; }

.tile-title {
  font-size: clamp(30px, 4.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.tile-lead {
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 300;
  letter-spacing: 0;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ── Riff-Demo (echter Bewegungsablauf statt Screenshot-Nachbau) ─────
   Endlos-Loop, reines CSS: Bubble faehrt von unten hoch, hoert zu (Waveform),
   der erkannte Text erscheint darueber, Bubble faehrt wieder runter. Bubble
   und Text teilen sich dieselbe 7s-Zykluslaenge ohne eigenen Delay-Versatz,
   bleiben also durchgehend synchron. */
.demo-stage {
  position: relative;
  max-width: 720px;
  margin: 56px auto 28px;
  aspect-ratio: 16 / 10.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 90% at 70% 10%, #3a3a41 0%, #232328 45%, #141417 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.demo-desktop { position: absolute; inset: 0; }
.demo-window {
  position: absolute;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
}
.demo-window-a { top: 8%; left: 6%; width: 46%; height: 52%; padding: 10px; display: flex; gap: 6px; }
.demo-window-b { top: 16%; right: 7%; width: 34%; height: 38%; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }

.demo-text {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: min(480px, 84%);
  padding: 16px 20px;
  background: rgba(16, 16, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d8d8dc;
  animation: demo-text-cycle 7s ease-in-out infinite;
}

.demo-bubble {
  position: absolute;
  left: 50%;
  bottom: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 92px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: demo-bubble-cycle 7s ease-in-out infinite;
}
.demo-bar {
  width: 2px;
  height: 16px;
  border-radius: 2px;
  background: #f5f5f7;
  opacity: 0.85;
  animation: demo-bar-wave 0.9s ease-in-out infinite;
}
.demo-bar:nth-child(2n) { animation-delay: 0.12s; }
.demo-bar:nth-child(3n) { animation-delay: 0.24s; }
.demo-bar:nth-child(4n) { animation-delay: 0.36s; }
@keyframes demo-bar-wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Bubble: unten (unsichtbar) -> hoch -> haelt -> runter -> Pause -> Loop */
@keyframes demo-bubble-cycle {
  0%, 10%   { transform: translate(-50%, 160%); opacity: 0; }
  18%, 76%  { transform: translate(-50%, 0);    opacity: 1; }
  88%, 100% { transform: translate(-50%, 160%); opacity: 0; }
}
/* Text erscheint erst, nachdem die Bubble spuerbar "zugehoert" hat, und
   verschwindet zeitgleich mit dem Runterfahren der Bubble - kausal statt
   beliebig getaktet. */
@keyframes demo-text-cycle {
  0%, 46%   { opacity: 0; transform: translate(-50%, 10px); }
  54%, 80%  { opacity: 1; transform: translate(-50%, 0); }
  90%, 100% { opacity: 0; transform: translate(-50%, 10px); }
}

.mockup-caption { font-size: 15px; color: var(--muted); letter-spacing: -0.2px; }
.mockup-caption em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ── Features ───────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  text-align: left;
}
/* Team-Sektion hat nur 2 Karten statt 6 - eigene 2-Spalten-Variante, damit
   sie auf breiten Bildschirmen zentriert steht statt im 3er-Raster mit
   leerer dritter Spalte zu haengen. Unter 900px greift ohnehin die
   gemeinsame .features-Regel oben (2 Spalten), darunter 1 Spalte. */
.features-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.feature { padding: 28px 26px; transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease; }
.feature:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 30px 60px rgba(0, 0, 0, 0.5);
}
.feature h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.374px;
  margin-bottom: 10px;
}
.feature p { font-size: 15px; line-height: 1.5; letter-spacing: -0.2px; color: var(--muted); }

/* ── Ablauf ─────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  list-style: none;
  counter-reset: step;
  text-align: left;
}
.step { padding: 30px 26px; position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(41, 151, 255, 0.85), rgba(0, 102, 204, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 6px 18px rgba(0, 102, 204, 0.4);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.374px; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.5; letter-spacing: -0.2px; color: var(--muted); }

/* ── Redeem (der Conversion-Kern) ───────────────────────────────────── */
.redeem {
  position: relative;
  padding: var(--section-pad) 24px;
  background: var(--canvas);
  overflow: hidden;
}
.redeem-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 620px;
  background: radial-gradient(ellipse, rgba(0, 102, 204, 0.22) 0%, rgba(41, 151, 255, 0.07) 45%, transparent 70%);
  pointer-events: none;
}
.redeem-card {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 56px);
  text-align: center;
}
.redeem-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.redeem-sub { font-size: 17px; font-weight: 300; letter-spacing: 0; color: var(--muted); margin-bottom: 36px; }

.redeem-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--faint);
  text-align: left;
  margin-bottom: 10px;
}
.redeem-row { display: flex; gap: 12px; }
#code-input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 16.5px;
  letter-spacing: 1.5px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
#code-input::placeholder { color: var(--faint); letter-spacing: 1.5px; }
#code-input:focus {
  outline: none;
  border-color: rgba(41, 151, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.15), inset 0 1px 4px rgba(0, 0, 0, 0.4);
}
#code-input[aria-invalid="true"] { border-color: rgba(255, 105, 97, 0.7); }

.redeem-hint { font-size: 13px; letter-spacing: -0.12px; color: var(--faint); text-align: left; margin-top: 12px; }
.redeem-error {
  font-size: 14.5px;
  letter-spacing: -0.15px;
  line-height: 1.5;
  color: #ff8a80;
  background: rgba(255, 105, 97, 0.09);
  border: 1px solid rgba(255, 105, 97, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 16px;
  text-align: left;
}
.redeem-privacy {
  font-size: 12.5px;
  letter-spacing: -0.12px;
  line-height: 1.5;
  color: var(--faint);
  margin-top: 28px;
}

/* Button-Ladezustand */
#redeem-btn[disabled] { opacity: 0.7; cursor: wait; }
#redeem-btn.loading #redeem-btn-label { visibility: hidden; }
#redeem-btn.loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Fehler-Shake */
.shake { animation: shake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

/* Erfolg — der Delight Moment */
.redeem-success-state { animation: success-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes success-in {
  0% { opacity: 0; transform: translateY(18px) scale(0.97); }
  100% { opacity: 1; transform: none; }
}
.redeem-card.success {
  border-color: rgba(48, 209, 88, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(48, 209, 88, 0.15),
    0 40px 110px rgba(0, 0, 0, 0.6),
    0 0 90px rgba(48, 209, 88, 0.14);
}
.success-orb {
  width: 74px; height: 74px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #7be7a1 0%, #30d158 45%, #0f7a33 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.5),
    0 0 44px rgba(48, 209, 88, 0.55);
  animation: orb-pop 0.7s cubic-bezier(0.2, 1.4, 0.3, 1) 0.15s backwards;
}
.success-orb svg { width: 34px; height: 34px; }
@keyframes orb-pop {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.success-receipt { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.success-receipt code {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 6px;
  user-select: all;
}
.success-delivery { margin-bottom: 30px; }
.success-delivery .btn { width: 100%; max-width: 340px; }
.success-delivery-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}
.success-steps {
  list-style: none;
  counter-reset: sstep;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.success-steps li {
  counter-increment: sstep;
  font-size: 14.5px;
  letter-spacing: -0.15px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.success-steps li::before {
  content: counter(sstep);
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(3px);
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-item { margin-top: 14px; text-align: left; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.374px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--void);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 56px 24px 44px;
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.374px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 13px; letter-spacing: -0.12px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--ink); }
.footer-fine { font-size: 12px; line-height: 1.6; letter-spacing: -0.12px; color: var(--faint); max-width: 480px; }

/* ── Scroll-Reveal ──────────────────────────────────────────────────── */
/* Versteckt wird nur, wenn JS die Klasse "js" setzt (Observer vorhanden,
   keine reduzierte Bewegung) — ohne JS ist die Seite vollständig sichtbar. */
.reveal {
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .features, .steps { grid-template-columns: 1fr; }
  .redeem-row { flex-direction: column; }
  #redeem-btn { width: 100%; }
  .demo-text { font-size: 12.5px; padding: 12px 16px; }
}
@media (max-width: 480px) {
  /* Erzwungene Umbrüche lösen, sonst sprengt die Display-Zeile die Breite */
  .hero-title { font-size: clamp(28px, 8.6vw, 38px); }
  .hero-title br { display: none; }
  .hero-content { width: 100%; }
  /* Kleinere, weniger raumgreifende Bubbles auf schmalen Viewports */
  .bubble-1 { width: 240px; height: 240px; }
  .bubble-2 { width: 200px; height: 200px; }
  .bubble-3 { width: 180px; height: 180px; }
}

/* ── Reduced Motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
