/* ============================================================
   Matchbogen Landing — Match-Night-Design
   ============================================================ */
:root {
  --bg: #0b0e14;
  --surface: #11161f;
  --surface-alt: #161c28;
  --border: #232c3d;
  --border-soft: #1b2230;
  --text: #eef2f6;
  --text-muted: #8b96a5;
  --accent: #c8ff2e;
  --accent-dim: rgba(200, 255, 46, 0.12);
  --warning: #ffb02e;
  --on-accent: #0b0e14;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

p { max-width: 70ch; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 860px; }

.accent { color: var(--accent); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.3px;
}
.brand:hover { text-decoration: none; }
.brand svg { display: block; border-radius: 9px; }

.header-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.header-nav a:hover { color: var(--text); }
@media (max-width: 720px) {
  .header-nav { display: none; }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(200, 255, 46, 0.25);
}
.btn-accent:hover { filter: brightness(1.07); box-shadow: 0 6px 32px rgba(200, 255, 46, 0.35); }
.btn-ghost {
  color: var(--text);
  background: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; border-radius: 11px; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
}
.hero-glow {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(200, 255, 46, 0.10) 0%, rgba(200, 255, 46, 0.03) 40%, transparent 70%);
  pointer-events: none;
}
.court-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(238, 242, 246, 0.025) 1px, transparent 1px) 0 0 / 240px 100%,
    linear-gradient(to bottom, rgba(238, 242, 246, 0.018) 1px, transparent 1px) 0 0 / 100% 240px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 64px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(200, 255, 46, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 3.9rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(200, 255, 46, 0.35);
}
.hero .subline {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 34px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 20px 0 0;
}

/* Phone-Mockup (pures CSS) */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #232c3d, #11161f 60%);
  border: 1px solid var(--border);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(200, 255, 46, 0.07);
  transform: rotate(2.5deg);
}
.phone-screen {
  background: var(--bg);
  border-radius: 32px;
  border: 1px solid var(--border-soft);
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-brand {
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--text);
}
.app-chip {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(200, 255, 46, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
}
.app-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 14px;
}
.app-team { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.app-team:last-child { text-align: right; }
.app-team-name { font-size: 0.62rem; color: var(--text-muted); font-weight: 600; }
.app-team-score {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(200, 255, 46, 0.4);
}
.app-team-score.dim { color: var(--text); text-shadow: none; }
.app-vs { color: var(--text-muted); font-weight: 800; font-size: 1.1rem; }
.app-meta {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
}
.app-rows { display: flex; flex-direction: column; gap: 5px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  padding: 6px 9px;
  font-size: 0.68rem;
}
.app-row.won { border-color: rgba(200, 255, 46, 0.3); }
.app-pos {
  font-weight: 800;
  color: var(--text-muted);
  font-size: 0.6rem;
  width: 18px;
}
.app-row.won .app-pos { color: var(--accent); }
.app-name { font-weight: 600; flex: 1; }
.app-sets { color: var(--text-muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.app-row.won .app-sets { color: var(--text); }
.app-signatures {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding: 2px 0;
}
.app-cta {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 11px;
  text-align: center;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 10px;
  box-shadow: 0 4px 18px rgba(200, 255, 46, 0.3);
}

@media (max-width: 880px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .phone { transform: rotate(0deg); width: 280px; }
}

/* ------------------------------------------------------------
   Sektionen
   ------------------------------------------------------------ */
.section { padding: 104px 0 0; }
.section:last-of-type { padding-bottom: 104px; }

.section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-align: center;
}
.section h2 .accent { color: var(--accent); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 60ch;
  margin: 0 auto 52px;
}

/* Problem → Lösung */
.compare-list { display: flex; flex-direction: column; gap: 18px; }
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}
.compare-old, .compare-new {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border-soft);
}
.compare-old { background: var(--surface); }
.compare-new {
  background: var(--surface-alt);
  border-color: rgba(200, 255, 46, 0.22);
}
.compare-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.compare-new .compare-tag { color: var(--accent); }
.compare p { margin: 0; font-size: 0.98rem; }
.compare-old p { color: var(--text-muted); }
.compare-arrow {
  display: flex;
  align-items: center;
  color: var(--accent);
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; gap: 8px; }
  .compare-arrow { justify-content: center; transform: rotate(90deg); padding: 2px 0; }
}

/* Feature-Karten */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--border); transform: translateY(-2px); }
.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.99rem;
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--accent-dim);
  border: 1px solid rgba(200, 255, 46, 0.22);
  color: var(--accent);
  margin-bottom: 18px;
}

/* Schritte */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--border) 15%, var(--border) 85%, transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--bg), 0 0 24px rgba(200, 255, 46, 0.35);
}
.step h3 { margin: 0 0 10px; font-size: 1.18rem; font-weight: 800; }
.step p { margin: 0 auto; color: var(--text-muted); font-size: 0.99rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before {
    top: 8%;
    bottom: 8%;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, transparent, var(--border) 15%, var(--border) 85%, transparent);
  }
}

/* Trust */
.section-trust { padding-top: 88px; }
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(200, 255, 46, 0.25);
  margin-top: 2px;
}
.trust-item p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.trust-item strong { color: var(--text); }

/* Preise */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: rgba(200, 255, 46, 0.35);
  background: var(--surface-alt);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 14px;
  letter-spacing: 0.3px;
}
.price-card h3 { margin: 0 0 4px; font-size: 1.5rem; font-weight: 900; }
.price-for { color: var(--text-muted); margin: 0 0 22px; font-size: 0.97rem; }
.price-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.price-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 0.99rem;
  border-bottom: 1px solid var(--border-soft);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card .btn { text-align: center; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--border); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 52px 19px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.99rem;
  max-width: 75ch;
}

/* CTA Finale */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 32px;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(200, 255, 46, 0.12), transparent 70%);
  pointer-events: none;
}
.cta-final h2 { position: relative; margin-bottom: 16px; }
.cta-final p {
  position: relative;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 30px;
}
.cta-final .cta-row { position: relative; justify-content: center; margin-bottom: 22px; }
.cta-final .mail {
  position: relative;
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-all;
  margin: 0;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
footer.site-footer {
  border-top: 1px solid var(--border-soft);
  margin-top: 104px;
  padding: 36px 0 52px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------------
   Rechtstexte (Impressum/Datenschutz)
   ------------------------------------------------------------ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}
.legal h1 { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.015em; }
.legal h2 { font-size: 1.3rem; font-weight: 800; margin-top: 44px; }
.legal p, .legal li { font-size: 1rem; color: var(--text); }
.legal ul { padding-left: 24px; }
.legal a { font-weight: 600; }
.placeholder {
  background: #2a2112;
  color: var(--warning);
  border: 1px dashed var(--warning);
  border-radius: 6px;
  padding: 1px 8px;
  font-weight: 700;
  white-space: nowrap;
}
.hinweis {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   Scroll-Reveal (nur CSS, progressive enhancement)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-rise both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
  @keyframes reveal-rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ------------------------------------------------------------
   Responsiv
   ------------------------------------------------------------ */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding-top: 72px; }
  .section:last-of-type { padding-bottom: 72px; }
  .section-sub { margin-bottom: 40px; }
  .trust { padding: 28px 24px; grid-template-columns: 1fr; gap: 20px; }
  .cta-final { padding: 52px 22px; }
  footer.site-footer { margin-top: 72px; }
  .btn { width: 100%; text-align: center; }
  .header-inner .btn { width: auto; }
  .cta-row { flex-direction: column; }
}
