:root {
    --farbe-primary: #1e5a8a;
    --farbe-fehler: #b3261e;
    --farbe-fehler-bg: #fdecea;
    --farbe-rand: #cbd5e1;
    --farbe-hinweis: #556072;
}

* { box-sizing: border-box; }

body {
    font-family: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5f7fa;
    color: #1a1f28;
    margin: 0;
    padding: 2rem 1rem;
    line-height: 1.5;
}

main {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

h1 { margin-top: 0; font-size: 1.5rem; }

.hinweis {
    color: var(--farbe-hinweis);
    font-size: 0.9rem;
    margin: 0.25rem 0 1rem;
}

fieldset {
    border: 1px solid var(--farbe-rand);
    border-radius: 8px;
    padding: 1rem 1.25rem 1.25rem;
    margin-bottom: 1.5rem;
}

legend {
    font-weight: 600;
    padding: 0 0.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin: 0.75rem 0 0.25rem;
}

input[type="text"],
select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--farbe-rand);
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

.radio-gruppe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 400;
    margin: 0;
}

button[type="submit"] {
    background: var(--farbe-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

button[type="submit"]:hover { background: #164a72; }

.fehlerbox {
    background: var(--farbe-fehler-bg);
    border: 1px solid var(--farbe-fehler);
    color: var(--farbe-fehler);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.fehlerbox ul { margin: 0.5rem 0 0; padding-left: 1.25rem; }

table.zusammenfassung {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

table.zusammenfassung th,
table.zusammenfassung td {
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--farbe-rand);
}

table.zusammenfassung th { width: 40%; color: var(--farbe-hinweis); font-weight: 500; }
