/* Solo-Begleiter — Grundgestaltung. Atmosphäre kommt später als eigene
   Design-Runde; hier zählt erst einmal: lesbar, kontrastreich, ruhig. */

:root {
    --hintergrund: #1c1a17;
    --flaeche: #2a2722;
    --text: #f0e9dc;
    --text-gedaempft: #c2b8a3;
    --akzent: #c8923a;
    --fehler-flaeche: #4a201d;
    --fehler-rand: #e0766b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--hintergrund);
    color: var(--text);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.125rem;
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: -999px;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    background: var(--akzent);
    color: #1c1a17;
    padding: 0.5rem 1rem;
}

.seitenkopf {
    border-bottom: 1px solid var(--akzent);
    padding: 0.75rem 1rem;
}
.app-name {
    margin: 0;
    color: var(--akzent);
    font-variant: small-caps;
    letter-spacing: 0.08em;
}

main {
    max-width: 38rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

h1 { color: var(--akzent); }

.meldung-fehler {
    background: var(--fehler-flaeche);
    border: 1px solid var(--fehler-rand);
    border-radius: 0.4rem;
    padding: 0.25rem 1rem;
    margin-bottom: 1rem;
}

.feld { margin-bottom: 1.25rem; }

label { display: inline-block; margin-bottom: 0.3rem; }

input[type="email"],
input[type="password"],
input[type="text"] {
    display: block;
    width: 100%;
    font: inherit;
    color: var(--text);
    background: var(--flaeche);
    border: 1px solid var(--text-gedaempft);
    border-radius: 0.4rem;
    padding: 0.6rem 0.75rem;
}

.feld input[type="checkbox"] {
    width: 1.3rem;
    height: 1.3rem;
}
.feld input[type="checkbox"] + label { margin-left: 0.4rem; }

button {
    font: inherit;
    background: var(--akzent);
    color: #1c1a17;
    border: none;
    border-radius: 0.4rem;
    padding: 0.7rem 1.6rem;
    cursor: pointer;
}
button:hover { filter: brightness(1.1); }

:focus-visible {
    outline: 3px solid var(--akzent);
    outline-offset: 2px;
}
