/* AU-3: der **Inhalt** der Über-Seite — Karten, Schrift, Schaltfläche. Gilt auf der öffentlichen
   Seite (`/about`, zusammen mit `about.css`) **und** in der Anwendung (`/info/about`, allein).
   Dieselbe Formensprache wie `help.css` und `legal.css`. Liegt außerhalb von `/assets/*` und ist
   für Sammler freigegeben (Punkt 4a).

   Alles hängt an `.about-page` — nichts an `body`, `main` oder `h1` allein, was die Anwendung
   mitträfe. Keine Seitenränder und keine Maximalbreite: Die legt auf der öffentlichen Seite
   `about.css` drumherum, in der Anwendung nutzt der Inhalt die ganze Fläche. */
.about-page {
  --about-surface-card: #ffffff;
  --about-surface-soft: #fff1e8;
  --about-border: #dbc2ae;
  --about-text: #231a12;
  --about-muted: #554334;
  --about-accent: #8c5000;
  --about-accent-strong: #f49006;
  --about-focus: #006591;
  color: var(--about-text);
  font-weight: 400;
  font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.about-page *,
.about-page *::before,
.about-page *::after { box-sizing: border-box; }

/* Die Karten — wie bei den Rechtstexten. */
.about-hero,
.about-content,
.about-offline-note {
  padding: 24px;
  border: 1px solid var(--about-border);
  border-radius: 24px;
  background: var(--about-surface-card);
  box-shadow: 0 14px 32px rgba(40, 26, 20, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}
.about-hero { margin-bottom: 20px; }

.about-eyebrow {
  margin: 0 0 10px;
  color: var(--about-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-page h1,
.about-page h2,
.about-page h3 { color: var(--about-text); font-weight: 800; }
.about-page h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; overflow-wrap: anywhere; }
.about-page h2 { margin: 28px 0 12px; font-size: 1.3rem; line-height: 1.3; }
.about-page h3 { margin: 20px 0 12px; font-size: 1.05rem; }
.about-content > :first-child { margin-top: 0; }
.about-content > :last-child { margin-bottom: 0; }

.about-page p,
.about-page li { margin: 0 0 12px; color: var(--about-muted); font-size: 1rem; line-height: 1.7; }
.about-page ul,
.about-page ol { margin: 0 0 12px; padding-left: 22px; }
.about-page ul { list-style: disc; }
.about-page ol { list-style: decimal; }
.about-page strong { color: var(--about-text); font-weight: 700; }
.about-page em { font-style: italic; }
.about-page code {
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--about-surface-soft);
  font-size: 0.95em;
}
.about-page a { color: var(--about-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.about-page a:hover { color: #6a3b00; }
.about-page a:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--about-focus);
  outline-offset: 3px;
}

.about-lead { font-size: 1.1rem; }

.about-page img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.about-page .markdown-image-missing {
  display: block;
  padding: 12px 14px;
  border: 1px dashed var(--about-border);
  border-radius: 12px;
  color: var(--about-muted);
  font-style: italic;
}

/* Punkt 3: „Jetzt spielen" — auffällig, damit niemand suchen muss. */
.about-actions { margin: 16px 0 0; }
.about-page a.about-play {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--about-accent-strong);
  color: #2b1700;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(140, 80, 0, 0.24);
}
.about-page a.about-play:hover { background: #ffa726; color: #2b1700; }

/* Ohne Netz und ohne abgelegte Fassung — der eine Satz (Punkt 4d). */
.about-offline-note { color: var(--about-muted); border-style: dashed; }

@media (max-width: 600px) {
  .about-hero,
  .about-content,
  .about-offline-note { padding: 18px; border-radius: 18px; }
}

@media print {
  .about-actions { display: none; }
  .about-hero,
  .about-content { border: 0; box-shadow: none; padding: 0; }
}
