:root {
  --bg: #0e1116;
  --bg-elev: #161b22;
  --bg-section: #11161d;
  --text: #e6edf3;
  --text-dim: #8b949e;
  --accent: #4cc38a;
  --accent-warm: #ffb84d;
  --border: #2a313c;
  --max-width: 1080px;
  --max-width-text: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Beta-Banner (sticky oben) */
.beta-banner {
  position: sticky;
  top: 0;
  z-index: 11;
  background: linear-gradient(90deg, #1f6f4d, #4cc38a);
  color: #0e1116;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.beta-banner a {
  color: #0e1116;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.beta-banner a:hover { opacity: 0.8; }
.beta-banner .arrow { margin-left: 0.25rem; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  position: sticky;
  top: 38px;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(10px);
}

header.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

header.site .brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

nav a { margin-left: 1.25rem; color: var(--text-dim); }
nav a:hover { color: var(--text); }

/* Generic main content */
main { padding: 0 0 4rem; }

section {
  padding: 3rem 1.25rem;
}

section .inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

section.text .inner { max-width: var(--max-width-text); }

section.alt { background: var(--bg-section); }

h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 1rem; }
h2 { font-size: 1.7rem; margin: 0 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; }

p { margin: 0 0 1rem; }

.lead {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Hero */
.hero {
  padding: 4rem 1.25rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero .inner { max-width: var(--max-width); margin: 0 auto; }
.hero h1 { font-size: 2.8rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.hero-image {
  margin: 2rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-width: 1000px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #0e1116;
  font-weight: 600;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
}
.cta:hover { text-decoration: none; opacity: 0.9; }

.status-pill {
  display: inline-block;
  background: rgba(255,184,77,0.15);
  color: var(--accent-warm);
  border: 1px solid rgba(255,184,77,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Feature row (image + text side by side) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}
.feature-row.reverse .text { order: 2; }
.feature-row.reverse .visual { order: 1; }

.feature-row .visual img {
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Feature grid (cards) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.feature-card h3 { margin-top: 0; font-size: 1.05rem; }
.feature-card p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* Mini-games block */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.game {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}
.game .name {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.plan.highlight { border-color: var(--accent); }
.plan h3 { margin-top: 0; }
.plan .price { font-size: 1.6rem; font-weight: 700; margin: 0.25rem 0 1rem; }
.plan ul { margin: 0; padding-left: 1.2rem; color: var(--text-dim); }
.plan ul li { margin-bottom: 0.3rem; }

/* Details (FAQ) */
details {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { color: var(--accent); }

.back-link {
  display: inline-block;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 1.5rem 1.25rem;
}
footer.site .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Beta-Seite */
.beta-cta-box {
  background: var(--bg-elev);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 1.5rem 0;
  text-align: center;
}
.beta-cta-box h3 { margin-top: 0; }
.beta-cta-box .cta { font-size: 1.1rem; padding: 0.85rem 1.5rem; margin-top: 0.75rem; }

.steps {
  counter-reset: step;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.25rem 3rem;
  border-left: 2px solid var(--border);
  margin-left: 1rem;
}
.steps li:last-child { border-left: 2px solid transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.1rem;
  top: -0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--accent);
  color: #0e1116;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.steps li h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.steps li p { color: var(--text-dim); margin: 0; }

.trainer-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.trainer-list .group {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.trainer-list .group h4 {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 1rem;
}
.trainer-list .group ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.trainer-list .group ul li { margin-bottom: 0.25rem; }

.give-get {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.give-get .col {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}
.give-get .col h4 { margin: 0 0 0.5rem; font-size: 1rem; }
.give-get .col p { margin: 0; color: var(--text-dim); font-size: 0.95rem; }

@media (max-width: 600px) {
  .give-get { grid-template-columns: 1fr; }
}

/* Lightbox / klickbare Bilder */
.zoomable { cursor: zoom-in; transition: opacity 0.15s ease; }
.zoomable:hover { opacity: 0.92; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.6rem;
}
.lightbox-close:hover { opacity: 0.7; }

/* Responsive */
@media (max-width: 760px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row.reverse .text { order: 1; }
  .feature-row.reverse .visual { order: 2; }
  .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  nav a { margin-left: 0.75rem; font-size: 0.95rem; }
  section { padding: 2rem 1.25rem; }
}
