/* Eine Datei fuer alle Seiten. Bewusst KEINE Google Fonts:
   - die CSP bleibt dadurch auf "nur eigene Dateien" (default-src 'self'),
   - und der Abruf von fonts.gstatic.com uebertraegt die IP des Besuchers
     an Google (LG Muenchen I, 20.01.2022, 3 O 17493/20). Die Systemschrift
     sieht auf iOS und Android ohnehin am besten aus. */

:root {
  --gruen: #4CAF50;
  --gruen-tief: #2E7D32;
  --text: #1c2119;
  --grau: #5d6b5f;
  --flaeche: #ffffff;
  --hintergrund: #f4f8f4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eaf2ea;
    --grau: #a8b6aa;
    --flaeche: #1a201b;
    --hintergrund: #11150f;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: var(--hintergrund);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.karte {
  background: var(--flaeche);
  border-radius: 20px;
  padding: 40px 24px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.08);
}

.symbol {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 20px;
}

h1 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 8px;
  font-weight: 700;
  overflow-wrap: anywhere;   /* lange @Namen brechen die Karte sonst auf */
}

.unter { margin: 0 0 24px; color: var(--grau); font-size: 16px; }
.hinweis { margin: 24px 0 8px; color: var(--grau); font-size: 14px; }
.bald { margin: 0; color: var(--grau); font-size: 14px; }

.knopf {
  display: block;
  background: var(--gruen);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 15px 20px;
  border-radius: 14px;
  min-height: 52px;          /* Fingerkuppe, nicht Mauszeiger */
  border-bottom: 4px solid var(--gruen-tief);
}
.knopf:active { transform: translateY(2px); border-bottom-width: 2px; }

.laeden { margin-top: 12px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.laden {
  display: inline-block; padding: 12px 18px; border-radius: 12px;
  border: 1px solid var(--grau); color: var(--text);
  text-decoration: none; font-weight: 600; font-size: 15px;
}

.fuss { margin: 28px 0 0; font-size: 13px; color: var(--grau); }
.fuss a, .hinweis a { color: var(--grau); }

a:focus-visible, .knopf:focus-visible {
  outline: 3px solid var(--gruen-tief);
  outline-offset: 2px;
}


/* ── Textseiten (Impressum, Datenschutz) ──────────────────────────────────────
   Bewusst schmal gesetzt: Rechtstexte werden gelesen, nicht überflogen, und eine
   Zeile über die volle Bildschirmbreite findet das Auge am Ende nicht zurück. */
.text {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  text-align: left;
}
.text h1 { font-size: 1.75rem; margin: 0 0 1.5rem; }
.text h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.text h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.text p { margin: 0 0 0.75rem; line-height: 1.6; }
.text .hinweis {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: var(--flaeche, #f4f6f4);
  margin-bottom: 1.5rem;
}
.text .zurueck { margin-bottom: 1rem; }
.text .zurueck a { text-decoration: none; }

.text .stand { margin-top: 2.5rem; opacity: 0.6; font-size: 0.9rem; }
