/* Grundstil: warm, Serifenschrift, hell/dunkel. Klassen laut Ordner-Vertrag:
   .karte .knopf .eingabe .liste */
:root {
  --papier: #f6f1e9;
  --karte: #fffdf9;
  --text: #2b2a26;
  --leise: #6f6a5f;
  --akzent: #3f6b4f;
  --akzent-text: #ffffff;
  --linie: #e2d9c8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1e211d;
    --karte: #272b25;
    --text: #efe9dc;
    --leise: #a8a28f;
    --akzent: #7fb391;
    --akzent-text: #14201a;
    --linie: #3a3f36;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.05rem;
  line-height: 1.5;
}
a { color: var(--akzent); }
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--linie);
}
.kopf .name { font-weight: bold; font-size: 1.15rem; text-decoration: none; color: var(--text); }
.kopf .konto { font-size: .9rem; color: var(--leise); text-align: right; }
.inhalt { max-width: 46rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
h1.gross { font-size: 1.9rem; line-height: 1.2; margin: .5rem 0 1.25rem; font-weight: normal; }

.karte {
  background: var(--karte); border: 1px solid var(--linie); border-radius: 12px;
  padding: 1rem; color: var(--text);
}
.kacheln { display: grid; grid-template-columns: 1fr; gap: .75rem; }
@media (min-width: 560px) { .kacheln { grid-template-columns: 1fr 1fr; } }
.kachel { display: flex; flex-direction: column; gap: .15rem; text-decoration: none; position: relative; min-height: 5rem; }
.kachel span { color: var(--leise); font-size: .95rem; }
a.kachel:hover, a.kachel:focus-visible { border-color: var(--akzent); }
.kachel.bald { opacity: .65; }
.plakette {
  position: absolute; top: .75rem; right: .75rem; font-style: normal; font-size: .75rem;
  border: 1px solid var(--linie); border-radius: 999px; padding: 0 .55rem; color: var(--leise);
}

.knopf {
  display: inline-block; min-height: 44px; padding: .6rem 1.1rem; border: 0; border-radius: 10px;
  background: var(--akzent); color: var(--akzent-text); font: inherit; font-weight: bold;
  text-decoration: none; cursor: pointer;
}
.knopf:hover { filter: brightness(1.08); }
.eingabe {
  width: 100%; min-height: 44px; padding: .55rem .75rem; font: inherit; color: var(--text);
  background: var(--karte); border: 1px solid var(--linie); border-radius: 10px;
}
.eingabe:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { padding: .75rem 0; border-bottom: 1px solid var(--linie); }
.liste > li:last-child { border-bottom: 0; }
