@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@400;600;700;900&display=swap");

:root {
  /* Dunkles Grundgerüst, Akzentfarben aus dem LaneScore-Logo (Grün/Grau) */
  --bg: #060a08;
  --bg-2: #000000;
  --panel: #0d1712;
  --panel-2: #12201a;
  --line: #1c3226;
  --text: #f1f5f1;
  --muted: #9fb0a5;

  --accent: #9fdb58;       /* helles Logo-Grün */
  --accent-rgb: 159, 219, 88;
  --accent-2: #9fcd03;     /* satteres Logo-Grün */
  --accent-2-rgb: 159, 205, 3;
  --accent-dark: #6fa832;
  --silver: #c5c6c6;       /* Logo-Grau, für sekundäre Akzente */
  --silver-rgb: 197, 198, 198;

  --glow-1: rgba(159, 219, 88, 0.14);
  --glow-2: rgba(159, 205, 3, 0.1);

  --font: "Source Sans 3", system-ui, sans-serif;
  --display: "Bebas Neue", sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 65% 45% at 8% 0%, var(--glow-1), transparent),
    radial-gradient(ellipse 55% 40% at 100% 10%, var(--glow-2), transparent),
    radial-gradient(ellipse 45% 35% at 50% 100%, rgba(159, 219, 88, 0.06), transparent),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: 0.03em;
  font-weight: 400;
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #08130a;
  box-shadow: 0 10px 30px rgba(var(--accent-2-rgb), 0.3);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(var(--accent-2-rgb), 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--panel);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(6, 10, 8, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 26px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--panel);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
}

.hero-stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.dartboard-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--accent-rgb), 0.2);
  animation: spin 60s linear infinite;
}

.dartboard-ring::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--accent-rgb), 0.14);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Hero devices (Tablet + Handy) ---------- */
.device-stack {
  position: relative;
  padding: 0 0 12% 0;
}

.device {
  background: #05080a;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-tablet {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 8px solid #12181b;
  outline: 1px solid rgba(var(--accent-rgb), 0.3);
}

.device-phone {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 27%;
  aspect-ratio: 1304 / 2320;
  border-radius: 10px;
  border: 5px solid #12181b;
  outline: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

@media (max-width: 900px) {
  .device-phone { right: 0; }
}

/* ---------- Placeholder screenshots ---------- */
.shot-frame {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: linear-gradient(150deg, var(--panel-2) 0%, var(--bg) 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}

.shot-frame .shot-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.15);
}

.shot-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.shot-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 14px);
}

.shot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.shot-placeholder .ph-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--accent-rgb), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

.shot-placeholder .ph-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}

.shot-placeholder .ph-hint {
  font-size: 0.78rem;
  max-width: 22rem;
}

.shot-placeholder .ph-tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--accent);
}

/* ---------- Sections ---------- */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.9rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.7rem;
  border-radius: 16px;
  background-image: linear-gradient(145deg, var(--panel-2) 0%, var(--bg) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Preise ---------- */
.pricing-group {
  max-width: 52rem;
  margin: 0 auto;
}

.pricing-group-clubs {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.pricing-group-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pricing-card-wide .pricing-wide-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.pricing-card-wide .pricing-wide-head .pricing-price {
  margin: 0;
}

.pricing-card-wide .pricing-list {
  columns: 2;
  column-gap: 2rem;
}

.pricing-card-wide .pricing-list li {
  break-inside: avoid;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-wide .pricing-list {
    columns: 1;
  }
}

.pricing-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

.pricing-card .pricing-price {
  color: var(--accent);
  font-size: 1.6rem;
}

.pricing-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-list li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
}

.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-note {
  max-width: 42rem;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-footnote {
  max-width: 42rem;
  margin: 1rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  opacity: 0.85;
}

.badge-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.45);
}

/* ---------- Showcase (screenshots section) ---------- */
.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.showcase-item {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.showcase-item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
}

.showcase-item:nth-child(even) .shot-frame {
  order: 2;
}

.showcase-item figcaption b {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

.showcase-item figcaption span {
  display: block;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .showcase-grid { gap: 2.5rem; }
  .showcase-item,
  .showcase-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .showcase-item:nth-child(even) .shot-frame { order: 0; }
  .showcase-item figcaption b { font-size: 1.4rem; }
}

/* ---------- Modes / how it works ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.mode-card {
  padding: 1.6rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 20, 15, 0.5);
  position: relative;
}

.mode-card .mode-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: rgba(var(--accent-rgb), 0.35);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.mode-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Roles strip ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.role-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.role-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.role-pill b {
  display: block;
  font-size: 0.95rem;
}

.role-pill span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Download cards ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 46rem;
  margin: 0 auto;
}

.download-card {
  padding: 2rem 1.75rem;
  border-radius: 20px;
  text-align: center;
  background-image: linear-gradient(145deg, var(--panel-2) 0%, var(--bg) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.download-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.download-icon svg {
  width: 32px;
  height: 32px;
}

.download-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.download-card > p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.qr-code {
  width: 120px;
  height: 120px;
  padding: 8px;
  border-radius: 12px;
  background: #ffffff;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: 100%;
}

.qr-wrap span {
  font-size: 0.78rem;
  color: var(--muted);
}

.download-hint {
  margin: 0.9rem 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--muted);
}

.btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-2-rgb), 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}

.cta-band .btn-row {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 28rem;
  margin: 0 auto;
  text-align: left;
}

.contact-form .form-row {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.contact-form .form-row[hidden] {
  display: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form .btn-row {
  margin-top: 1.5rem;
}

.contact-form .form-status {
  margin: 1rem 0 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  text-align: center;
}

.contact-form .form-status.is-success {
  color: var(--accent);
}

.contact-form .form-status.is-error {
  color: #e0777b;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-brand img {
  height: 20px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    background: rgba(6, 10, 8, 0.97);
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}
