* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    color: #1d2733;
}

.card,
.wide {
    background: #fff;
    margin: 32px auto;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.card {
    max-width: 760px;
}

.small {
    max-width: 420px;
}

.wide {
    max-width: 1400px;
}

h1 {
    margin-top: 0;
	font-size: 2rem;
    margin-bottom: 1rem;
    color: #f58823;
}

.lead {
    color: #53606f;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

label {
    display: block;
    margin: 0 0 16px;
    font-weight: 650;
}

.caption {
    font-weight: normal;
    font-size: 1.0rem; /* ca. 18px statt 16px */
	color: #f58823;
}

.wert {
    font-size: 1.4rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    border: 1px solid #c8d0d8;
    border-radius: 10px;
    font: inherit;
}

.check {
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check input {
    width: auto;
    margin-top: 4px;
}

.field-error {
    color: #c62828;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Standard Button */

button {
    background: #f58823;
    color: #000;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

button:hover {
    background: #e59d00;
}

/* Status Buttons */

.btn-inarbeit {
    background: #f9eca9;
    color: #000;
}

.btn-bearbeitet {
    background: #a0efc0;
    color: #fff;
}

.btn-neu {
    background: #e6e7fe;
    color: #fff;
}

/* Button-Gruppe */

.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.action-buttons form {
    margin: 0;
}

/* Button-Check */
.btn-check {
    display: inline-block;
    padding: 6px 10px;
    background: #fdd408;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #d18f00;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s ease;
}

.btn-check:hover {
    background: #f6c800;
    transform: translateY(-1px);
}

a.btn-check,
a.btn-check:hover,
a.btn-check:focus,
a.btn-check:visited {
    text-decoration: none !important;
    color: #000;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-logout {
    margin-left: auto;
}
/* Meldungen */

.success {
    background: #e8f7ed;
    border: 1px solid #b7e0c2;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.error {
    background: #fdecec;
    border: 1px solid #f4b7b7;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* Footer */
.footer-logo {
    margin-top: 20px;
}

.logo-footer {
    width: 100%;
    height: auto;
    display: block;
}

/* Tabelle */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 14px;
}

th {
    background: #f7f9fb;
    position: sticky;
    top: 0;
    z-index: 1;
}

th,
td {
    padding: 9px;
    border-bottom: 1px solid #e4e9ee;
    text-align: left;
    vertical-align: top;
}

tr:hover {
    background: #fafbfd;
}

/* Navigation */

nav {
    margin-bottom: 15px;
}

nav a {
    color: #145a32;
    font-weight: 700;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* Statusfarben */

.status-neu {
    color: #d32f2f;
    font-weight: bold;
}

.status-in-arbeit {
    color: #f6a800;
    font-weight: bold;
}

.status-bearbeitet {
    color: #2e7d32;
    font-weight: bold;
}

/* Mobile */

@media (max-width: 700px) {

    .grid {
        grid-template-columns: 1fr;
    }

    .card,
    .wide {
        margin: 12px;
        padding: 18px;
    }

    table {
        display: block;
        overflow-x: auto;
    }

    .action-buttons {
        flex-direction: column;
    }
}
