:root {
    --bg: #1c1a18; --card: #26231f; --rand: #3a3631; --text: #ece7df; --leise: #a39b8f;
    --akzent: #ffb02e; --gut: #4fd1a5; --schlecht: #ff7a6b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Manrope, system-ui, sans-serif; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 700; margin: 0 0 .6rem; }
a { color: var(--akzent); }
.mitte { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.karte { background: var(--card); border: 1px solid var(--rand); border-radius: 14px; padding: 24px; width: 100%; max-width: 420px; }
.breit { max-width: 980px; }
label { display: block; margin: 12px 0 4px; color: var(--leise); font-size: .9rem; }
input, select { width: 100%; padding: 10px 12px; background: #151311; color: var(--text); border: 1px solid var(--rand); border-radius: 8px; font: inherit; }
.auge { position: relative; }
.auge input { padding-right: 44px; }
.auge button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 38px; background: none; border: 0; color: var(--leise); cursor: pointer; font-size: 1.1rem; }
button.knopf { margin-top: 16px; padding: 10px 16px; background: var(--akzent); color: #1c1a18; border: 0; border-radius: 8px; font: inherit; font-weight: 700; cursor: pointer; }
button.knopf.leise { background: transparent; color: var(--text); border: 1px solid var(--rand); margin-top: 0; padding: 6px 10px; font-weight: 500; }
button.knopf.klein { margin-top: 0; padding: 6px 10px; }
.meldung { margin-top: 12px; padding: 10px 12px; border-radius: 8px; display: none; }
.meldung.fehler { display: block; background: #3b1f1b; color: var(--schlecht); }
.meldung.ok { display: block; background: #16302a; color: var(--gut); }
.leise { color: var(--leise); font-size: .9rem; }
.kopf { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--rand); }
.reiter { display: flex; gap: 8px; margin: 16px 0; }
.reiter button { padding: 8px 14px; background: var(--card); color: var(--text); border: 1px solid var(--rand); border-radius: 8px; cursor: pointer; font: inherit; }
.reiter button.aktiv { border-color: var(--akzent); color: var(--akzent); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--rand); vertical-align: middle; }
.zeile { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.liste-ki .eintrag { border: 1px solid var(--rand); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #1f1c19; }
.marke { font-size: .75rem; padding: 2px 8px; border-radius: 99px; background: var(--rand); margin-left: 6px; }
.marke.gut { background: #16302a; color: var(--gut); }
@media (max-width: 600px) { .zeile { grid-template-columns: 1fr; } th:nth-child(3), td:nth-child(3) { display: none; } }
