/* Bewusst zeitlos/altbacken gehalten: keine Frameworks, keine Schatten,
   keine abgerundeten Ecken, keine Animationen. */

body {
    margin: 0;
    padding: 0;
    background: #d8d3c4;
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
}

.kopfleiste {
    background: #2b3a55;
    color: #f0ede4;
    padding: 10px 20px;
    border-bottom: 3px double #f0ede4;
    font-family: Arial, Helvetica, sans-serif;
}

.kopfleiste-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.kopfleiste-titel {
    font-weight: bold;
    font-size: 18px;
}

.kopfleiste-rechts {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kopfleiste-jahrgang {
    font-style: italic;
}

.seite {
    max-width: 780px;
    margin: 20px auto;
    background: #f5f2e9;
    border: 1px solid #7a7462;
    padding: 20px 30px 30px;
}

h1 {
    font-size: 24px;
    border-bottom: 2px solid #2b3a55;
    padding-bottom: 6px;
    margin-top: 0;
}

h2 {
    font-size: 19px;
    color: #2b3a55;
    border-bottom: 1px solid #b8b19c;
    padding-bottom: 4px;
}

a {
    color: #163a6b;
}

a:visited {
    color: #4a2c6b;
}

.navigation {
    background: #ece7d8;
    border: 1px solid #b8b19c;
    padding: 8px 12px;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.navigation a {
    margin-right: 14px;
    text-decoration: none;
    font-weight: bold;
}

.navigation a:hover {
    text-decoration: underline;
}

.navigation a.nav-login {
    border: 1px solid #2b3a55;
    padding: 2px 10px;
}

.navigation a.nav-login:hover {
    background: #2b3a55;
    color: #f0ede4;
    text-decoration: none;
}

.navigation a.nav-neu {
    color: #8a3b2a;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 14px 0;
    background: #fffdf7;
}

th, td {
    border: 1px solid #b8b19c;
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #ece7d8;
    font-family: Arial, Helvetica, sans-serif;
}

fieldset {
    border: 1px solid #7a7462;
    margin-bottom: 16px;
    padding: 12px 16px;
}

legend {
    font-weight: bold;
    padding: 0 6px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

label.inline {
    display: inline;
    font-weight: normal;
    margin-right: 12px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="datetime-local"],
textarea,
select {
    width: 100%;
    box-sizing: border-box;
    padding: 6px;
    margin-top: 4px;
    border: 1px solid #7a7462;
    background: #fffdf7;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
}

textarea {
    height: 80px;
}

button, input[type="submit"] {
    margin-top: 16px;
    padding: 8px 20px;
    background: #2b3a55;
    color: #f0ede4;
    border: 1px solid #16213a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    cursor: pointer;
}

button:hover, input[type="submit"]:hover {
    background: #16213a;
}

button.gefahr, input.gefahr {
    background: #6b1f1f;
    border-color: #400f0f;
}

button.gefahr:hover, input.gefahr:hover {
    background: #400f0f;
}

.meldung {
    padding: 10px 14px;
    margin-bottom: 16px;
    border: 1px solid;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.meldung-erfolg {
    background: #e3ecd9;
    border-color: #5c7a3d;
    color: #2f4020;
}

.meldung-fehler {
    background: #f3ded9;
    border-color: #8a3b2a;
    color: #5c2114;
}

.meldung-hinweis {
    background: #e2e8ee;
    border-color: #3d5c7a;
    color: #20304a;
}

.fussleiste {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #4a4636;
    padding: 14px;
}

/* Natives <progress>-Element statt eines mit style="width: X%" befüllten
   div-Paars, damit keine Inline-Styles nötig sind. Optisch identisch zur
   ursprünglichen Balkenoptik (flach, eckig, dunkelgrüne Füllung). */
.fortschritt {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #7a7462;
    background: #fffdf7;
    width: 100%;
    height: 22px;
    margin: 10px 0;
}

.fortschritt::-webkit-progress-bar {
    background: #fffdf7;
}

.fortschritt::-webkit-progress-value {
    background: #4a6b3d;
}

.fortschritt::-moz-progress-bar {
    background: #4a6b3d;
}

.hinweis-box {
    border: 1px dashed #7a7462;
    padding: 10px 14px;
    background: #ece7d8;
    margin-bottom: 16px;
    font-size: 14px;
}

.heat-0 { background: #fffdf7; }
.heat-1 { background: #eef0d9; }
.heat-2 { background: #d9e4b8; }
.heat-3 { background: #b8cf8a; }
.heat-4 { background: #8fb85c; }

.zentriert { text-align: center; }
.klein { font-size: 12px; color: #4a4636; }

.inline-form {
    margin: 0;
}

.inline-form-flex {
    margin: 0;
    display: flex;
    gap: 6px;
}

/* Sprachwahl in der Kopfleiste: schlichte Textlinks, passend zum dunklen
   Header - keine Pillen, keine Farbverläufe. */
.sprachwahl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.sprachwahl-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 12px;
    color: #cfd6e4;
    text-decoration: underline;
    cursor: pointer;
}

.sprachwahl-link:hover {
    color: #f0ede4;
}

.sprachwahl-aktiv {
    font-weight: bold;
    color: #f0ede4;
}

.sprachwahl-trenner {
    color: #6b7a97;
}
