/* Dexxr Landingpage — Farb-/Font-Tokens 1:1 aus dem App-Prototyp (theme.css) uebernommen,
   damit Website und App sich wie ein Produkt anfuehlen. */

:root {
  --accent: #1a73e8;
  --accent-light: #4f9cff;
  --gold: #ffd700;
  --bg: #0d0d14;
  --bg-alt: #13131e;
  --card-bg: #161622;
  --elevated: #1e1e2e;
  --text-primary: #f4f4ff;
  --text-secondary: #9a9ac0;
  --text-muted: #5c5c80;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Nunito, system-ui, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

h1, h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 20px; }

p { color: var(--text-secondary); font-size: 18px; line-height: 1.6; }

.highlight { color: var(--gold); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #0d5bc4);
  color: #fff;
  box-shadow: 0 8px 30px rgba(26, 115, 232, 0.4);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(26, 115, 232, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c4a); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35); }
.btn-icon { font-size: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 13, 20, 0.75);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(60% 60% at 25% 10%, rgba(26, 115, 232, 0.35), transparent 60%),
    radial-gradient(50% 50% at 80% 0%, rgba(255, 215, 0, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-sub { font-size: 20px; margin: 24px auto 0; max-width: 620px; }
.br-desktop { display: inline; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.hero-phones {
  position: relative;
  z-index: 1;
  margin-top: 72px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 560px;
}
.hero-phones .phone { position: absolute; height: 560px; width: auto; max-width: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55)); }
.phone-back { transform: translateX(-140px) rotate(-9deg) scale(0.92); opacity: 0.85; }
.phone-front { transform: translateX(70px) rotate(6deg); }

/* ---------- Feature-Sections ---------- */
.feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-reverse .feature-text { order: 2; }
.feature-reverse .feature-images { order: 1; }
.alt-bg {
  max-width: none;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.alt-bg > * { max-width: var(--max); margin: 0 auto; }
.alt-bg.feature { display: grid; }
.feature-text p { margin-top: 16px; }
.feature-images { display: flex; justify-content: center; align-items: center; gap: 28px; position: relative; }
.phone-sm { height: 460px; width: auto; max-width: none; filter: drop-shadow(0 24px 50px rgba(0,0,0,0.5)); }
.phone-tilt-left { transform: rotate(-6deg) translateY(10px); }
.phone-tilt-right { transform: rotate(6deg) translateY(-10px); }

/* ---------- Waitlist ---------- */
.waitlist, .community {
  text-align: center;
  padding: 140px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.waitlist-sub, .community-sub { max-width: 520px; margin: 16px auto 0; }
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  max-width: 440px;
  margin: 36px auto 0;
}
.waitlist-form input[type="text"]:not(.hp-field),
.waitlist-form input[type="email"] {
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font);
}
.waitlist-form input::placeholder { color: var(--text-muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.waitlist-form input:focus { outline: none; border-color: var(--accent); }
.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-row a { color: var(--text-secondary); text-decoration: underline; }
.consent-row a:hover { color: var(--text-primary); }
.waitlist-status { margin-top: 16px; font-size: 15px; font-weight: 600; min-height: 20px; }
.waitlist-status.ok { color: #00c896; }
.waitlist-status.err { color: #ff4757; }
.waitlist-consent { margin: 20px auto 0; max-width: 520px; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.waitlist-consent a { color: var(--text-secondary); text-decoration: underline; }
.waitlist-consent a:hover { color: var(--text-primary); }

.community { padding-top: 40px; }
.community-actions { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Feature-Wünsche + TCG-Abstimmung ---------- */
.feature-requests {
  text-align: center;
  padding: 130px 24px;
  max-width: 720px;
  margin: 0 auto;
}
/* Vollbreiter, dezenter Verlaufs-Hintergrund fuer zentrierte Sektionen (TCG-Abstimmung). */
.alt-bg-flat { max-width: none; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.alt-bg-flat > * { max-width: 720px; margin: 0 auto; }
.fr-sub { max-width: 540px; margin: 16px auto 0; }
.fr-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fr-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
}
.fr-vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.fr-vote:hover { transform: translateY(-1px); border-color: var(--accent); }
.fr-vote.voted { background: rgba(26, 115, 232, 0.2); border-color: var(--accent); color: var(--accent-light); }
.fr-vote-arrow { font-size: 14px; line-height: 1; }
.fr-vote-count { font-size: 16px; line-height: 1.1; color: var(--gold); }
.fr-title { font-size: 16px; font-weight: 600; color: var(--text-primary); overflow-wrap: anywhere; }
.fr-form { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.fr-form input[type="text"]:not(.hp-field) {
  flex: 1;
  min-width: 240px;
  max-width: 400px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font);
}
.fr-form input::placeholder { color: var(--text-muted); }
.fr-form input:focus { outline: none; border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 40px 24px; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .feature, .feature-reverse { grid-template-columns: 1fr; text-align: center; }
  .feature-reverse .feature-text, .feature-reverse .feature-images { order: unset; }
  .feature-text p { margin-left: auto; margin-right: auto; }
  .br-desktop { display: none; }
  .hero-phones { height: 440px; margin-top: 48px; }
  .hero-phones .phone { height: 440px; }
  .phone-back { transform: translateX(-70px) rotate(-9deg) scale(0.88); }
  .phone-front { transform: translateX(40px) rotate(6deg); }
  .phone-sm { height: 360px; }
  .feature { padding: 90px 24px; }
  .waitlist, .community { padding: 90px 24px; }
}

/* Nutzer mit "Bewegung reduzieren"-Systemeinstellung bekommen alles sofort sichtbar. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 130px; }
  .hero-phones { height: 360px; }
  .hero-phones .phone { height: 360px; }
  .phone-sm { height: 300px; }
  .feature-images { gap: 14px; }
}
