body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 0;
    color: #222;
    background: #ffffff;
}

.wrap {
    padding: 0;
}

h1 {
    font-size: 28px;
    margin: 12px 0 4px;
    color: #004a92;
}

.error {
    background: #ffe9e9;
    color: #8b0000;
    border: 1px solid #ffb3b3;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.success {
    background: #eaffea;
    color: #135c13;
    border: 1px solid #b9e3b9;
    padding: 30px;
    border-radius: 4px;
    z-index: 99999;
    width: 50%;
    margin: auto;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    text-align: center;
}

.smuted { color: #666; font-size: 14px; }
.labelcenter { display: inline-flex; align-items: center; gap: 6px; }

.footertext { text-align: center; padding: 30px 0; }

.formbox {
    padding: 10px 20px 40px;
    background-color: #ffffff;
}

/* Titel-Container */
.title-container { padding: 24px 0 12px; }
.title-container h1 { margin-bottom: 0; }

/* Clean Form Styles */
.form-clean {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label { font-weight: 600; color: #0f172a; font-size: 14px; }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd6df;
    border-radius: 8px;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #004a92;
    box-shadow: 0 0 0 3px rgba(0,74,146,.12);
}

.form-textarea { min-height: 110px; resize: vertical; }

.helper { color: #64748b; font-size: 12px; }
.divider { height: 1px; background: #eef2f7; margin: 12px 0 8px; }

.actions { margin-top: 8px; }
button { background: #004a92; color: #fff; border: 0; padding: 12px 18px; border-radius: 6px; cursor: pointer; font-weight: 600; }
button:hover { background: #004a92; }

.required::after { content: " *"; color: #c00; }

@media (max-width: 800px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Sprachleiste (Layout wird per JS ergänzt) */
.langbar { padding-top: 8px; }
.langbar-title{
    font-size: large;
}