:root {
  --green-dark: #022c22;
  --green-mid: #065f46;
  --green: #22c55e;
  --green-soft: #bbf7d0;
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  --text-main: #020617;
  --text-muted: #6b7280;
  --border-soft: rgba(148, 163, 184, 0.4);
  --radius-lg: 20px;
  --radius-xl: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

body.home,
body.page-bg {
  background: radial-gradient(circle at top, #0b1727 0, #020617 50%, #020617 100%);
  color: var(--text-main);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}

/* NAV */

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: #e5e7eb;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-left: 18px;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
}

/* HERO – vollflächiger grüner Block wie im Mockup */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 24px;
  background: radial-gradient(circle at top left, #16a34a 0, #064e3b 40%, #022c22 100%);
  border-radius: var(--radius-xl);
  padding: 34px 30px 32px;
  color: #f9fafb;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.6);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px;
  opacity: 0.12;
  pointer-events: none;
  background-image: url("/assets/images/hero-dna-overlay.png"); /* optional */
  background-size: cover;
  background-position: center;
  mix-blend-mode: soft-light;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.0rem);
  line-height: 1.02;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 0.98rem;
  max-width: 430px;
  color: #e5e7eb;
}

.hero-text form {
  margin-top: 22px;
}

/* Hero-Player rechts */

.hero-player {
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    linear-gradient(to top, rgba(4, 120, 87, 0.9), transparent 70%),
    url("/assets/images/hero-football-dna.jpg") center / cover no-repeat;
  min-height: 260px;
  align-self: stretch;
}

/* ---------- BUTTONS ---------- */

.btn {
  border-radius: 999px;
  padding: 11px 24px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn.primary {
  background: var(--green);
  color: #064e3b;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.7);
}

.btn.primary:hover {
  filter: brightness(1.06);
}

.btn.secondary {
  background: #0f172a;
  color: #e5e7eb;
}

.btn.full {
  width: 100%;
}

/* ---------- FEATURES (3 Karten unter Hero) ---------- */

.features {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 18px 16px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- EBOOK SHELF (Premium Ebook + geplante Bücher) ---------- */

.ebook-shelf {
  margin-top: 32px;
}

.ebook-shell {
  background: #f9fafb;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  padding: 22px 20px 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 20px;
}

.ebook-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ebook-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.5);
  font-size: 0.78rem;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ebook-title {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.ebook-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 560px;
}

.ebook-bullets {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ebook-bullets li + li {
  margin-top: 3px;
}

.ebook-bottom-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ebook-price-box {
  min-width: 150px;
}

.ebook-price-main {
  font-size: 1.5rem;
  font-weight: 700;
}

.ebook-price-main span {
  font-size: 0.9rem;
}

.ebook-price-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ebook-cta-form {
  flex: 1 1 220px;
}

.ebook-disclaimer {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #9ca3af;
}.ebook-viewer {
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
  background: #020617;
}

.ebook-viewer iframe {
  display: block;
  width: 100%;
  height: min(80vh, 900px);
  border: none;
}

@media (max-width: 840px) {
  .ebook-viewer iframe {
    height: 70vh;
  }
}


/* Ebook rechte Spalte */

.ebook-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ebook-cover-card {
  background: #020617;
  border-radius: 24px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.6);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.8);
  align-self: flex-end;
}

.ebook-cover-inner {
  width: 210px;
  max-width: 100%;
}

.ebook-cover-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.ebook-cover-note {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #e5e7eb;
  max-width: 210px;
}

.ebook-other {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 12px 12px 14px;
}

.ebook-other-title {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

.ebook-other-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.ebook-mini {
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 9px 9px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ebook-mini h4 {
  font-size: 0.86rem;
  margin-bottom: 3px;
  color: var(--text-main);
}

.ebook-mini-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  margin-bottom: 4px;
}

.ebook-mini-tag.planned {
  background: #fef9c3;
  color: #854d0e;
}

.ebook-mini-tag.idea {
  background: #e0f2fe;
  color: #075985;
}

/* ---------- HOW IT WORKS ---------- */

.how {
  margin-top: 34px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
}

.how h2 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 16px;
}

.how-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.how-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
}

/* ---------- GENERISCHE SCIENCE-ABSCHNITTE ---------- */

.science-section {
  margin-top: 26px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 20px 18px 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.04);
}

.science-section h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.section-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 780px;
}

/* Science Grid & Archetypes */

.science-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.science-card {
  background: #f9fafb;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.science-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.archetype-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.archetype-card {
  background: #f9fafb;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 14px 14px 16px;
  font-size: 0.88rem;
  color: #6b7280;
}

.archetype-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #020617;
}

.archetype-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Article boxes */

.article-boxes {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.article-card {
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  padding: 12px 12px 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-card h4 {
  font-size: 0.96rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.article-card a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  color: #0f766e;
}

/* ---------- FREE MINI TOOL ---------- */

.free-tool {
  margin-top: 24px;
}

.free-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
}

.free-form-card {
  background: #f9fafb;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 14px 14px 16px;
}

.free-form-card .form-row {
  margin-bottom: 10px;
}

.free-form-card label {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}

.free-form-card input[type="number"],
.free-form-card select {
  width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  font-size: 0.86rem;
  color: var(--text-main);
}

.free-form-card input[type="number"]:focus,
.free-form-card select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}

.free-btn {
  margin-top: 4px;
  font-size: 0.88rem;
  padding-inline: 18px;
}

.free-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.free-result-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  border: 1px solid rgba(15, 118, 110, 0.6);
  padding: 14px 16px 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.7);
  font-size: 0.9rem;
}

.free-result-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

#free-result {
  font-size: 0.86rem;
  white-space: pre-wrap;
}

.free-upgrade {
  margin-top: 10px;
  font-size: 0.83rem;
  color: #a5f3fc;
}

.free-cta {
  margin-top: 10px;
}

/* ---------- PRICING-BLOCK wie im Mockup ---------- */

.pricing {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.pricing-card {
  width: 100%;
  max-width: 620px;
  border-radius: 26px;
  padding: 20px 20px 20px;
  background: linear-gradient(135deg, #022c22, #064e3b);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #f9fafb;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.pricing-card h2 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 4px;
}

.price span {
  font-size: 0.9rem;
}

.pricing-sub {
  font-size: 0.86rem;
  margin-top: 6px;
  max-width: 320px;
}

/* ---------- RESULT / TEST (andere Seiten) ---------- */

.test-wrapper,
.result {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 22px 18px 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  margin-top: 16px;
}

.test-wrapper h1 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.test-form {
  margin-top: 16px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  font-size: 0.86rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.form-row input[type="text"],
.form-row input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  color: var(--text-main);
}

/* FOOTER */

.footer {
  margin-top: 32px;
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: left;
}

/* ---------- RESPONSIVE ---------- */

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

  .hero-player {
    min-height: 230px;
  }

  .ebook-shell {
    grid-template-columns: 1fr;
  }

  .ebook-cover-card {
    align-self: flex-start;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    padding-inline: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 24px 18px 22px;
    border-radius: 26px;
  }

  .ebook-shell {
    border-radius: 22px;
  }
}
