/* Uebersicht der Spiele: hell und dunkel nach Systemeinstellung, keine Schriften von aussen. */
:root {
  --bg: #f2ece4;
  --karte: #ffffff;
  --text: #2a1f31;
  --leise: #5f5366;
  --linie: rgba(42, 31, 49, 0.14);
  --akzent: #11695f;
  --schatten: 0 10px 28px rgba(42, 31, 49, 0.14);
  --font: "Avenir Next", Avenir, Futura, "Century Gothic", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1320;
    --karte: #2a1f31;
    --text: #f3ead8;
    --leise: #b9adc2;
    --linie: rgba(243, 234, 216, 0.14);
    --akzent: #46cdbc;
    --schatten: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--font);
}
main {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.02em; }
.unter { margin: 0.25rem 0 2rem; color: var(--leise); }
.liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}
.karte {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--linie);
  border-radius: 14px;
  background: var(--karte);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--schatten);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.karte:hover { transform: translateY(-2px); border-color: var(--akzent); }
.karte:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.titel { font-size: 1.25rem; font-weight: 700; }
.text { color: var(--leise); flex: 1; }
.los { color: var(--akzent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .karte { transition: none; } .karte:hover { transform: none; } }
