/* Öffentliche Startseite (index.html). Nur hier geladen; app.css bleibt die Basis. */
.landing {
  --navy: #1d1846;
  --violet: #3a2d7a;
  --gold: #e0a800;
  --gold-strong: #b98a00;
  --surface: #f6f4fb;
  --card: #ffffff;
  --text: #1d1a2e;
  --muted: #555068;
  --on-dark: #ffffff;
  --on-dark-muted: #d9d4f2;
  --border: #e2ddf0;
  --focus: #e0a800;
  padding: 0;
  background: var(--surface);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  .landing {
    --surface: #14112b;
    --card: #1f1a3f;
    --text: #f1eefb;
    --muted: #c3bddb;
    --border: #322a5e;
    --gold-strong: #f0c040;
  }
  .landing .site-footer a { color: #d8ccff; }
}

.landing main { max-width: none; }
.landing a:focus-visible, .landing button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Hero */
.hero {
  display: grid; gap: 2rem; align-items: center;
  padding: 2rem 1rem 3rem;
  background: linear-gradient(160deg, var(--navy), var(--violet));
  color: var(--on-dark);
}
@media (min-width: 48rem) {
  .hero { grid-template-columns: 1.3fr 1fr; padding: 4rem max(1rem, calc((100% - 64rem) / 2)); }
}
.app-logo { width: 5.5rem; height: auto; }
.eyebrow { margin: 1rem 0 0; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: .2rem 0; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; }
.claim { margin: .4rem 0; font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 600; color: var(--gold); }
.lead { margin: .4rem 0 1.4rem; font-size: 1.1rem; color: var(--on-dark-muted); }
.hint { font-size: .9rem; color: var(--muted); }
.hero .hint { color: var(--on-dark-muted); }

.landing a.cta, .landing button.cta {
  display: inline-block; padding: .75rem 1.4rem; border: 0; border-radius: 2rem;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer;
}
.landing a.cta:hover, .landing button.cta:hover { background: #f0c040; }

/* Wird genutzt von */
.used-by {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.5rem;
  padding: 1.5rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border);
}
.used-by h2 { margin: 0; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.club { display: flex; align-items: center; gap: .8rem; }
.club-logo { width: 3.5rem; height: auto; background: #fff; border-radius: 50%; padding: .2rem; }
.club-name { font-size: 1.3rem; font-weight: 700; }

/* Stoppuhr */
.stopwatch { margin: 0 auto; width: min(16rem, 70vw); }
.stopwatch svg { width: 100%; height: auto; display: block; }
.watch-case { fill: var(--gold); }
.watch-crown { fill: var(--gold); }
.watch-face { fill: #fffdf5; }
.watch-ticks line { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.watch-hand { stroke: #c0392b; stroke-width: 3; stroke-linecap: round; }
.watch-hub { fill: var(--navy); }
.watch-digits { fill: var(--navy); font: 700 15px ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

/* Abschnitte */
.band { padding: 3rem 1rem; }
@media (min-width: 48rem) { .band { padding: 4rem max(1rem, calc((100% - 64rem) / 2)); } }
.band.light { background: var(--card); }
.band h2 { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 4vw, 2rem); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: .8rem; padding: 1.2rem; }
.band.light .card { background: var(--surface); }
.card h3 { margin: .6rem 0 .3rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; }
.steps .card { position: relative; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-weight: 700;
}

.icon { width: 2.8rem; height: 2.8rem; }
.icon .ink { stroke: var(--violet); }
.icon .net { stroke: var(--muted); }
.icon .accent-fill { fill: var(--gold); }
.icon .ink-fill { fill: var(--violet); }
.icon .accent-stroke { stroke: var(--gold-strong); }
@media (prefers-color-scheme: dark) { .icon .ink { stroke: #b9a8ff; } .icon .ink-fill { fill: #b9a8ff; } }

/* Ausreden-Generator */
.excuses { text-align: center; }
.excuses .icon { width: 3.5rem; height: 3.5rem; }
.excuse {
  margin: 1.2rem auto; max-width: 34rem; min-height: 3.2em;
  font-size: 1.25rem; font-style: italic; font-weight: 600;
}

/* Zahlen */
.numbers { background: linear-gradient(160deg, var(--violet), var(--navy)); color: var(--on-dark); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); text-align: center; }
.stats li { display: flex; flex-direction: column; gap: .3rem; }
.stat { font-size: 3rem; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }

.landing .site-footer { padding: 1rem; }

/* Sanftes Einblenden, nur wenn JS läuft (html.js) und Bewegung erwünscht ist. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(1rem); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.visible { opacity: 1; transform: none; }
}
