/* 2xGether Marketing-Onepager
   Branding laut App-Design: dunkel, Inter, Pink-Akzent, Verlauf nur auf "2x". */

/* ---------- Fonts (self-hosted, DSGVO) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #12141C;
  --surface: #1B1D27;
  --border: #2C2E3F;
  --text: #EDEEF2;
  --muted: #84879A;
  --pink: #F2476B;
  --pink-strong: #E93A5F;
  --coral: #FF6F61;
  --lila: #9B2FAE;
  --gold: #F5B301;
  --green: #34C780;
  --grad: linear-gradient(96deg, var(--pink) 0%, var(--coral) 48%, var(--lila) 100%);
  --radius-btn: 14px;
  --radius-card: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
a { color: var(--text); }

::selection { background: rgba(242, 71, 107, 0.35); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: 760px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.wm-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-btn);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--pink);
  color: #FFFFFF;
  padding: 14px 24px;
  font-size: 1rem;
}
.btn-primary:hover { background: var(--pink-strong); box-shadow: 0 6px 24px rgba(242, 71, 107, 0.35); }
.btn-primary:active { transform: scale(0.97); }
.btn-sm { padding: 10px 18px; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(18, 20, 28, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.125rem, 7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.h1-line { display: block; }
.hero-sub {
  margin: 18px auto 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
}

.video-frame {
  position: relative;
  max-width: min(320px, 80vw);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  border-radius: var(--radius-card);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: var(--grad);
  filter: blur(64px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.video-frame video,
.video-frame .video-fallback {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--surface);
}

/* ---------- Warteliste-Formular ---------- */
.waitlist-form {
  max-width: 560px;
  margin: clamp(2rem, 5vw, 2.75rem) auto 0;
}
.field-row {
  display: flex;
  gap: 10px;
}
.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field-row input[type="email"]::placeholder { color: var(--muted); }
.field-row input[type="email"]:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(242, 71, 107, 0.25);
}
.field-row input[type="email"][aria-invalid="true"] { border-color: var(--coral); }

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-status {
  min-height: 1.5rem;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: var(--coral); }

.form-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.form-note a { color: var(--muted); text-decoration: underline; }
.form-note a:hover { color: var(--text); }

.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}
.btn.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sektionen ---------- */
section { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.hero { padding-top: clamp(3rem, 8vw, 5.5rem); }

h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* ---------- Features (Bento) ---------- */
.features { padding-top: 0; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.card:nth-child(1) { grid-column: 1 / 5; }
.card:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 3; display: flex; flex-direction: column; }
.card:nth-child(3) { grid-column: 1 / 3; }
.card:nth-child(4) { grid-column: 3 / 5; }
.card:nth-child(5) { grid-column: 1 / 7; display: flex; align-items: flex-start; gap: 24px; }
.card:nth-child(5) .card-icon { margin-bottom: 0; flex: 0 0 auto; }
.card:nth-child(5) .card-body { flex: 1; }

.card-events {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(242, 71, 107, 0.12) 0%, rgba(155, 47, 174, 0.07) 45%, transparent 75%),
    var(--surface);
}
.card-dating {
  background:
    radial-gradient(130% 110% at 100% 0%, rgba(242, 71, 107, 0.16) 0%, rgba(255, 111, 97, 0.06) 50%, transparent 80%),
    var(--surface);
  justify-content: flex-start;
}
.card-dating .badge-verified { margin-top: auto; }
.card-dating p { margin-bottom: 16px; }

.card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: var(--pink);
  margin-bottom: 16px;
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(52, 199, 128, 0.45);
  border-radius: 999px;
  width: fit-content;
}

/* ---------- Steps ---------- */
.steps { padding-top: 0; }
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.step-num-gold { color: var(--gold); border-color: rgba(245, 179, 1, 0.45); }
.steps-list h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.steps-list p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Stores ---------- */
.stores { padding-top: 0; text-align: center; }
.stores h2 { margin-bottom: 12px; }
.stores-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}
.store-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  opacity: 0.55;
  cursor: default;
  user-select: none;
}
.store-badge svg { width: 26px; height: 26px; }
.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  font-weight: 600;
  font-size: 1rem;
}
.store-badge-text small {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq h2 { text-align: left; }
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list details:first-of-type { border-top: 1px solid var(--border); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-marker {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}
.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--muted);
  transition: transform 0.25s var(--ease);
}
.faq-marker::before { width: 16px; height: 2px; }
.faq-marker::after { width: 2px; height: 16px; }
.faq-list details[open] .faq-marker::after { transform: rotate(90deg); }
.faq-list details p {
  color: var(--muted);
  padding: 0 0 20px;
  max-width: 65ch;
}

/* ---------- Rechtsseiten ---------- */
.legal { min-height: 55vh; }
.legal h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.legal-note { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
body:has(.sticky-cta) .site-footer {
  padding-bottom: calc(36px + 72px);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: rgba(27, 29, 39, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta[hidden] { display: none; }
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sticky-cta p { font-weight: 600; }

/* ---------- Scroll-Reveal ---------- */
.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
  .sticky-cta { transition: none; }
  .btn, .faq-marker::before, .faq-marker::after { transition: none; }
  .btn.is-loading::after { animation-duration: 1.5s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(1) { grid-column: 1 / 3; }
  .card:nth-child(2) { grid-column: 1 / 3; grid-row: auto; }
  .card:nth-child(3) { grid-column: 1 / 2; }
  .card:nth-child(4) { grid-column: 2 / 3; }
  .card:nth-child(5) { grid-column: 1 / 3; flex-direction: column; gap: 0; }
  .card:nth-child(5) .card-icon { margin-bottom: 16px; }
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  .field-row { flex-direction: column; }
  .field-row .btn { width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .card:nth-child(3), .card:nth-child(4) { grid-column: 1 / 2; }
  .card:nth-child(1), .card:nth-child(2), .card:nth-child(5) { grid-column: 1 / 2; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .sticky-cta p { display: none; }
  .sticky-cta-inner { justify-content: center; }
  .sticky-cta .btn { width: 100%; }
}

/* ---------- Rechtstexte: Detail-Styles ---------- */
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 28px 0 10px;
}
.legal p, .legal li { color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal .stand { font-size: 0.9rem; }
