/* Präsentationsseite – eigenständig, lokale Schriften, ohne Skripte */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/space-grotesk-latin.woff2") format("woff2"); }

:root {
  --green: #1d6b3a;
  --green-dark: #124a28;
  --green-soft: #e6f2ea;
  --blue: #0f4a77;
  --gold: #f2b705;
  --ink: #16241b;
  --muted: #56675c;
  --line: #d6e3da;
  --bg: #f6faf7;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(18, 40, 26, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: "Space Grotesk", "Barlow", sans-serif; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

/* Live-Demo-Leiste ganz oben */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  padding: 9px clamp(16px, 4vw, 48px);
  background: var(--green-dark);
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}
.demo-bar-links { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.demo-bar a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.demo-bar a:hover { color: var(--gold); }

/* Kopfzeile */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.site-head nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-head nav a:hover { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green);
  color: var(--green);
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(29, 107, 58, 0.18); }
.btn-primary { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: 0.92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-row.center { justify-content: center; }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 7vw, 80px) 0 clamp(28px, 5vw, 56px);
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 700; color: var(--green); margin-bottom: 0.6em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.hero-points li { position: relative; padding-left: 30px; font-weight: 600; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 0.8rem; }
.hero-visual { position: relative; height: 540px; }
.hero-visual figure { margin: 0; }
.phone {
  position: absolute;
  left: 4%;
  top: 0;
  width: min(58%, 290px);
  border-radius: 34px;
  padding: 10px;
  background: #0e1a13;
  box-shadow: 0 30px 60px rgba(10, 30, 18, 0.28);
  z-index: 2;
}
.phone img { border-radius: 26px; height: 500px; width: 100%; object-fit: cover; object-position: top; }
.pitch-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 240px);
  height: 330px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
  border: 6px solid #fff;
  background: #2f7046;
}
.pitch-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Blöcke */
.block { padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.block-head { max-width: 760px; margin-bottom: 28px; }
.block-head p:not(.eyebrow) { color: var(--muted); }

/* Sportarten */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; align-items: start; }
.sport-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sport-card img { width: 100%; height: 240px; object-fit: contain; background: #eef5f0; }
.sport-card figcaption { padding: 12px 14px 16px; display: grid; gap: 4px; }
.sport-card figcaption span { color: var(--muted); font-size: 0.94rem; line-height: 1.4; }

/* Zweispaltig */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.shot-wide { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--green); font-weight: 700; }
.quote { font-weight: 600; color: var(--green-dark); border-left: 4px solid var(--gold); padding-left: 14px; }

/* Funktionen */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-soft); font-size: 1.35rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* Handy-Einblicke */
.screen-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; align-items: start; }
.screen-row figure { margin: 0; }
.screen-row img { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; max-height: 520px; width: 100%; object-fit: cover; object-position: top; }
.screen-row figcaption { margin-top: 10px; font-weight: 600; color: var(--muted); font-size: 0.95rem; }

/* Warum */
/* Eine Trainingsgruppe, viele Mannschaften */
.teams-lead { font-size: 1.08rem; }
.teams-flow { display: grid; gap: 18px; justify-items: center; margin: 8px 0 28px; }
.teams-root { position: relative; display: grid; gap: 4px; text-align: center; background: var(--green); color: #fff; border-radius: var(--radius); padding: 18px 26px; box-shadow: var(--shadow); min-width: min(100%, 360px); }
.teams-root strong { font-size: 1.6rem; line-height: 1.1; }
.teams-root-label { justify-self: center; background: rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 2px 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.teams-root::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 2px; height: 18px; background: var(--green); }
.teams-branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 760px; padding-top: 18px; }
/* Querlinie von der Mitte von F1 bis zur Mitte von F3 */
.teams-branches::before { content: ""; position: absolute; top: 0; left: calc((100% - 28px) / 6); right: calc((100% - 28px) / 6); height: 2px; background: var(--green); }
.teams-branch { position: relative; display: grid; gap: 2px; text-align: center; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 10px; }
.teams-branch::before { content: ""; position: absolute; left: 50%; top: -20px; width: 2px; height: 18px; background: var(--green); }
.teams-branch strong { font-size: 1.4rem; }
.teams-branch span { color: var(--muted); font-size: 0.92rem; }
.teams-branch.is-f1 { border-color: #1f6f43; }
.teams-branch.is-f2 { border-color: #2f6fb3; }
.teams-branch.is-f3 { border-color: #c98a00; }
.teams-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.teams-points article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.teams-points h3 { margin-top: 0; }
.teams-points p { color: var(--muted); margin-bottom: 0; }
/* Kompakte Form auf der Kaufseite */
.teams-box { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.teams-box h3 { margin: 0 0 4px; }
.teams-box > p { margin: 0 0 12px; color: var(--muted); }
.teams-flow.is-compact { margin: 0; gap: 14px; }
.teams-flow.is-compact .teams-root { padding: 12px 18px; min-width: min(100%, 300px); }
.teams-flow.is-compact .teams-root strong { font-size: 1.25rem; }
.teams-flow.is-compact .teams-root::after { bottom: -14px; height: 14px; }
.teams-flow.is-compact .teams-branches { padding-top: 14px; gap: 10px; }
.teams-flow.is-compact .teams-branches::before { left: calc((100% - 20px) / 6); right: calc((100% - 20px) / 6); }
.teams-flow.is-compact .teams-branch { padding: 10px 6px; }
.teams-flow.is-compact .teams-branch::before { top: -16px; height: 14px; }
.teams-flow.is-compact .teams-branch strong { font-size: 1.15rem; }
@media (max-width: 560px) {
  .teams-branches { gap: 8px; }
  .teams-branches::before { left: calc((100% - 16px) / 6); right: calc((100% - 16px) / 6); }
  .teams-branch { padding: 10px 6px; }
  .teams-branch strong { font-size: 1.2rem; }
  .teams-branch span { font-size: 0.8rem; }
}

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.why-grid article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-grid p { color: var(--muted); }
.source { font-size: 0.82rem; color: var(--muted); margin-top: auto; }
.source a { color: var(--muted); }

/* Preis */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.price-card.is-main { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-card .price-sub { margin: -6px 0 12px; font-weight: 700; color: var(--green); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-value { font-family: "Space Grotesk", sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--green); margin: 0 0 12px; }
.price-value small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-value.muted-value { color: var(--muted); font-size: 2rem; }
.pay-hint { margin-top: 16px; color: var(--muted); }

/* PWA */
.pwa-compare { display: grid; gap: 16px; }
.pwa-compare article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pwa-compare .note { background: #fff9e6; border-color: #f0dc9a; }
.pwa-compare .note ul { padding-left: 20px; margin: 0 0 1em; }

/* Start */
.start { text-align: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 900px; text-align: left; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; display: grid; gap: 4px; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* Fußzeile */
.site-foot { border-top: 1px solid var(--line); padding: 28px clamp(16px, 4vw, 48px); color: var(--muted); font-size: 0.9rem; text-align: center; }
.site-foot a { color: var(--muted); }

/* Schmal */
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; max-width: 460px; width: 100%; margin: 0 auto; }
  .site-head nav { display: none; }
  .site-head .btn-primary { margin-left: auto; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-visual { height: 420px; }
  .phone { width: 60%; border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; height: 400px; }
  .pitch-card { width: 44%; height: 250px; }
  .sport-card img { height: 200px; }
  .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
  /* Kopfzeile: „Zur App“ nicht auf volle Breite ziehen, sonst verdeckt der Knopf den Schriftzug */
  .site-head { gap: 12px; }
  .site-head .brand { flex: 1 1 auto; min-width: 0; }
  .site-head .btn { width: auto; flex: 0 0 auto; }
  /* Am Handy reicht oben ein Knopf; „Zur App“ steht weiter unten und in der Leiste */
  .site-head .head-app-link { display: none; }
}

@media print {
  .demo-bar { display: none; }
  .site-head { position: static; }
  .btn { display: none; }
  .block { break-inside: avoid; }
}

/* App-Store-Knöpfe (vorbereitet): „is-soon“ = noch nicht veröffentlicht, nicht anklickbar */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.store-badges.center { justify-content: center; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; min-height: 52px; padding: 8px 16px; border-radius: 12px; background: #111; color: #fff; text-decoration: none; border: 1px solid #111; }
.store-badge:hover:not(.is-soon) { background: #2a2a2a; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge-text small { font-size: 0.72rem; opacity: 0.85; }
.store-badge-text strong { font-size: 1.05rem; }
.store-badge.is-soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; pointer-events: none; }
.store-hint { margin: 22px 0 0; text-align: center; color: var(--muted); font-weight: 600; }
