/* Werte aus frontend/src/css/knips/_tokens.scss (dunkler Modus), hier kopiert:
   die Galerie hat keinen SCSS-Bau. Bei einer Änderung dort hier nachziehen.
   grund = $knips-grund, flaeche = $knips-flaeche, text = $knips-text-1,
   text-leise = $knips-hinweis (7,9:1 auf grund, für echten Text zugelassen),
   akzent = $knips-akzent, akzent-text = $knips-akzent-text, rand = $knips-linie.
   Radien und Abstände aus dem Abschnitt „Handy": Rand 16, Kachelfuge 6. */
:root {
  --grund: #1a1416;
  --flaeche: #241c1f;
  --text: #f3eadd;
  --text-leise: #b7a99b;
  --akzent: #ce6a55;
  --akzent-text: #26100b;
  --rand: #3a2f33;
  --radius-knopf: 14px;
  --radius-karte: 16px;
  --radius-kachel: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 17px/1.45 system-ui, -apple-system, sans-serif; }
main { max-width: 960px; margin: 0 auto; padding: 24px 16px 96px; }
h1 { font-size: 24px; margin: 0 0 16px; }
.leise { color: var(--text-leise); }
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--radius-knopf);
  border: 1px solid var(--rand); background: var(--flaeche); color: var(--text); font: inherit; text-decoration: none; cursor: pointer; }
.knopf--primaer { background: var(--akzent); border-color: var(--akzent); color: var(--akzent-text); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.foto { width: 100%; max-height: 75vh; object-fit: contain; border-radius: var(--radius-karte); background: var(--flaeche); }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.raster a { display: block; aspect-ratio: 1; border-radius: var(--radius-kachel); overflow: hidden; background: var(--flaeche); }
.raster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.pin input { font-size: 32px; letter-spacing: 12px; text-align: center; padding: 12px; border-radius: var(--radius-karte); border: 1px solid var(--rand);
  background: var(--flaeche); color: var(--text); }
.meldung { padding: 12px 16px; border-radius: var(--radius-karte); background: var(--flaeche); border: 1px solid var(--rand); }
footer { position: fixed; bottom: 0; left: 0; right: 0; display: flex; gap: 16px; justify-content: center; padding: 12px;
  background: var(--grund); border-top: 1px solid var(--rand); font-size: 14px; color: var(--text-leise); }
footer a { color: var(--text-leise); }

/* Impressum und Datenschutz: Lesetext, eine schmale Spalte. */
.text { max-width: 40rem; }
.text h2 { font-size: 18px; margin: 28px 0 8px; }
.text p, .text ul { margin: 0 0 12px; }
.text li { margin-bottom: 6px; }
.text code { font-size: 15px; }
/* Platzhalter im Entwurf — fällt auf, damit keiner online bleibt. */
.platzhalter { background: var(--akzent); color: var(--akzent-text); padding: 0 4px; border-radius: 4px; }
footer a[aria-current="page"] { color: var(--text); }
.text a { color: var(--text); }
