/* =========================================================
   Spielomeister x Stake – Landingpage
   Design-Tokens übernommen von spielomeister.com
   ========================================================= */

:root {
  --primary: #415a77;
  --bg-dark: #0d1b2a;
  --bg-card: #1b263b;
  --card-gradient: linear-gradient(135deg, #1b263b 0%, #415a77 100%);
  --gold: #ffd700;
  --silver: #c0c0c0;
  --bronze: #cd7f32;
  --orange-1: #ff6b35;
  --orange-2: #ff8c42;
  --orange-3: #ffa726;
  --shadow: 0 2px 16px #0004;
  --white: #fff;
  --muted: #b9c6d6;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 25px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Hintergrund-Glow wie auf spielomeister.com */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(65, 90, 119, 0.55) 0%, transparent 65%),
    radial-gradient(700px 500px at 88% 18%, rgba(255, 107, 53, 0.10) 0%, transparent 60%),
    radial-gradient(700px 500px at 8% 60%, rgba(255, 215, 0, 0.07) 0%, transparent 60%);
}

main, header, footer, .sticky-cta { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }

a { color: var(--gold); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.container.narrow { max-width: 820px; }

/* ===================== HEADER ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
}
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: var(--gold);
}

/* ===================== TYPOGRAFIE ===================== */

h1, h2, h3 { margin: 0 0 0.7rem; line-height: 1.2; }

h1 {
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 215, 0, 0.9) 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); }

p { margin: 0 0 1rem; color: var(--muted); }

.hl { color: var(--gold); -webkit-text-fill-color: var(--gold); }
.x-sep { color: var(--orange-1); -webkit-text-fill-color: var(--orange-1); font-weight: 400; }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-3));
  color: #1a0d04;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

/* ===================== HERO ===================== */

.hero { padding: 2.5rem 0 1rem; text-align: center; }

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 215, 0, 0.22);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(255, 167, 38, 0.22) 0%, transparent 60%),
    var(--card-gradient);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 215, 0, 0.08);
  padding: 3.4rem 1.5rem;
  margin-bottom: 2.2rem;
}

.hero-banner-glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(255, 215, 0, 0.18), transparent 70%);
  animation: floatGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes floatGlow {
  from { transform: translateY(-10px) scale(1); }
  to   { transform: translateY(20px) scale(1.08); }
}

.hero-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.hero-banner-logo { width: clamp(110px, 20vw, 205px); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)); }
.hero-banner-stake { width: clamp(120px, 20vw, 196px); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5)); }

/* Plakette sitzt mittig zwischen den beiden Logos */
.hero-plaque {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.15;
  padding: 0.8rem 2.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: linear-gradient(160deg, rgba(13, 27, 42, 0.94) 0%, rgba(27, 38, 59, 0.88) 100%);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 215, 0, 0.3),
    inset 0 0 26px rgba(255, 215, 0, 0.08);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

/* Kleine Zeilen mit auslaufenden Goldlinien links und rechts */
.hero-plaque span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.62);
}
.hero-plaque span::before,
.hero-plaque span::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.55));
}
.hero-plaque span::after { transform: scaleX(-1); }

.hero-plaque strong {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 6px;
  padding-left: 6px; /* gleicht den Nachlauf des letter-spacing aus */
  background: linear-gradient(110deg, #e0a800 0%, #ffd700 30%, #fffbe6 50%, #ffd700 70%, #e0a800 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.35));
  animation: plaqueShine 6s ease-in-out infinite;
}
@keyframes plaqueShine {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}

.hero-copy .lead {
  max-width: 640px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.hero-copy { margin-bottom: 2.8rem; }
.hero-cta { margin-bottom: 1.6rem; }

/* ===================== CARDS ===================== */

.card {
  background: var(--card-gradient);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 12px 40px rgba(0, 0, 0, 0.3);
  padding: 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease, border-color 0.4s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.08), transparent);
  transition: left 0.7s;
  pointer-events: none;
}
.card:hover::before { left: 100%; }
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 40px rgba(65, 90, 119, 0.3), 0 0 30px rgba(255, 215, 0, 0.15);
}

.benefits {
  max-width: 720px;
  margin: 0 auto 1rem;
  text-align: left;
  border-color: rgba(255, 215, 0, 0.22);
}
.card-title { text-align: center; margin-bottom: 1.2rem; }

.chat-hint {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1.3rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 215, 0, 0.35);
  background: rgba(13, 27, 42, 0.45);
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.chat-hint strong { color: var(--gold); }

.check-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2.2rem;
  border-bottom: 1px solid var(--line);
  color: #e6edf6;
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffed4e);
  color: #1a1a00;
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

/* ===================== CTA ===================== */

.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 0.5rem;
  text-align: center;
}

.cta-note {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.4rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange-1) 0%, var(--orange-2) 50%, var(--orange-3) 100%);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 7px 22px rgba(255, 107, 53, 0.35),
    0 0 34px rgba(255, 140, 66, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  animation: ctaPulse 2.2s ease-in-out infinite;
}
/* Beim Hover die Animation stoppen, sonst überschreibt sie den Hover-Transform */
.btn-cta:hover {
  animation: none;
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5), 0 0 46px rgba(255, 167, 38, 0.35);
}
.btn-cta:hover .btn-arrow { transform: translateX(5px); }
.btn-cta.big { padding: 1.15rem 3rem; font-size: 1.08rem; }

.btn-arrow { font-size: 1.1rem; transition: transform 0.3s ease; }

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 7px 22px rgba(255, 107, 53, 0.35),
      0 0 30px rgba(255, 140, 66, 0.20),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 11px 30px rgba(255, 107, 53, 0.5),
      0 0 62px rgba(255, 167, 38, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
}

.code-pill {
  margin-top: 0.3rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background: rgba(255, 215, 0, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
}
.code-pill strong { color: var(--gold); letter-spacing: 1px; }

/* Mini-Accordion */
.mini-acc { margin-top: 1.4rem; text-align: center; }
.mini-acc summary {
  cursor: pointer;
  list-style: none;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
}
.mini-acc summary::-webkit-details-marker { display: none; }
.mini-acc summary::after { content: " ⌄"; }
.mini-acc[open] summary::after { content: " ⌃"; }
.mini-acc p { margin-top: 0.8rem; font-size: 0.9rem; text-align: left; }

/* ===================== SECTIONS ===================== */

.section { padding: 3.5rem 0; }
.section.alt { background: rgba(27, 38, 59, 0.35); border-block: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-sub { max-width: 620px; margin: 0.6rem auto 0; }
.section-note { text-align: center; margin-top: 2rem; font-size: 0.9rem; }

/* Steps – als Timeline untereinander */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.5rem 1.6rem;
}
/* Schritt 2 stellt das Formular daneben statt darunter */
.step-wide { grid-template-columns: 46px 1fr minmax(240px, 320px); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #ffed4e 100%);
  color: #1a1a00;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
}
.step-body { min-width: 0; }
.step h3 { margin-top: 0.35rem; }
.step p { font-size: 0.95rem; margin-bottom: 0; }

/* Mock-Formular in Schritt 2 */
.mock-form {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(13, 27, 42, 0.6);
  font-size: 0.78rem;
  color: var(--muted);
}
.mock-label { display: block; margin-bottom: 0.35rem; opacity: 0.75; }
.mock-input {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.07);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.mock-check { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; line-height: 1.4; }
.mock-check .tick {
  flex: 0 0 16px;
  height: 16px;
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1a00;
  font-size: 0.62rem;
  font-weight: 900;
}
.mock-btn {
  margin-top: 0.7rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-3));
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Grid 4 */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.mini { text-align: center; }
.mini-icon { font-size: 1.9rem; margin-bottom: 0.5rem; }
.mini p { font-size: 0.89rem; margin-bottom: 0; }

/* ===================== FAQ ===================== */

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(27, 38, 59, 0.6);
  margin-bottom: 0.7rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq details[open] {
  border-color: rgba(255, 215, 0, 0.35);
  background: var(--card-gradient);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.3s ease;
}
.faq details[open] summary::after { content: "–"; transform: translateY(-50%) rotate(180deg); }
.faq p { margin: 0; padding: 0 1.2rem 1.1rem; font-size: 0.92rem; }

/* ===================== FINAL CTA ===================== */

.final-cta { padding: 1rem 0 4rem; }
.final {
  text-align: center;
  padding: 2.6rem 1.6rem;
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 34px rgba(255, 215, 0, 0.16), 0 12px 40px rgba(0, 0, 0, 0.4);
}
.final p { max-width: 560px; margin: 0 auto; }

/* ===================== FOOTER ===================== */

.site-footer {
  padding: 2.5rem 0 6rem;
  border-top: 1px solid var(--line);
  background: rgba(13, 27, 42, 0.85);
  text-align: center;
}
.footer-logo { width: 62px; margin: 0 auto 1.2rem; }

.disclaimer {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(185, 198, 214, 0.65);
}

.copyright { font-size: 0.75rem; color: rgba(185, 198, 214, 0.6); margin: 0; }

/* ===================== STICKY CTA ===================== */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(13, 27, 42, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 0.35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn-cta { width: 100%; max-width: 420px; justify-content: center; }

/* ===================== REVEAL ===================== */

/* Ohne JS bleibt alles sichtbar – erst die .js-Klasse blendet aus. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-cta, .hero-banner-glow { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 720px) {
  .hero { padding-top: 1.6rem; }
  .hero-banner { padding: 1.8rem 1rem 1.8rem; }
  /* Plakette auf Mobil unter die Logos statt darüber */
  /* Logos nebeneinander, Plakette darunter */
  .hero-banner-inner { gap: 1.2rem; }
  .hero-plaque {
    order: 3;
    flex-basis: 100%;
    width: fit-content;
    margin: 0.3rem auto 0;
    padding: 0.7rem 1.6rem;
  }
  .hero-plaque strong { font-size: 1.1rem; letter-spacing: 4px; padding-left: 4px; }
  .hero-plaque span::before, .hero-plaque span::after { width: 18px; }
  .card { padding: 1.4rem 1.1rem; }
  .section { padding: 2.6rem 0; }
  .btn-cta { width: 100%; max-width: 380px; justify-content: center; padding: 1rem 1.4rem; }
  .hero-plaque { letter-spacing: 2px; padding: 0.45rem 1.1rem; }

  /* Steps: Nummer bleibt oben, Formular rutscht unter den Text */
  .step, .step-wide { grid-template-columns: 40px 1fr; gap: 1rem; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
  .step-wide .mock-form { grid-column: 2 / -1; margin-top: 0.2rem; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.82rem; letter-spacing: 1px; }
  h1 { font-size: 1.7rem; }
}
