/* =====================================================
   BASIS
   ===================================================== */

main {
    padding: 0;
    margin: 0;
}

/* =====================================================
   TYPOGRAFIE
   ===================================================== */

.anmeldung-page,
.anmeldung-page * {
    font-family: "Jura", sans-serif;
    text-align: left;
}

/* =====================================================
   CONTAINER
   ===================================================== */

.anmeldung-page {
    max-width: 1100px;
    margin: 3em 0;
    padding: 0;
    background: none;
}

/* =====================================================
   HEADER
   ===================================================== */

.anmeldung-header {
    margin-bottom: 2em;
}

.anmeldung-header h2 {
    margin-bottom: 0.8em;
}

.anmeldung-header p {
    margin-bottom: 0.4em;
    line-height: 1.5;
}

/* =====================================================
   FORMULAR
   ===================================================== */

..anmeldung-form {
    background: #f5f5f5;   /* helles Grau */
    padding: 2.5em;
    margin: 0;
}

.anmeldung-form h3 {
    margin-top: 3em;
    margin-bottom: 0.8em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

/* =====================================================
   FELDER
   ===================================================== */

.anmeldung-form p {
    margin-bottom: 1.4em;
}

.anmeldung-form label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: 500;
}

.anmeldung-form input,
.anmeldung-form select,
.anmeldung-form textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 0;                 /* eckig */
    background: #fff;
    font-family: inherit;
}

.anmeldung-form textarea {
    resize: vertical;
}

/* Fokus blau statt grau */
.anmeldung-form input:focus,
.anmeldung-form select:focus,
.anmeldung-form textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.25);
}

/* =====================================================
   CHECKBOXEN (klassisch & stabil)
   ===================================================== */

.checkbox-container {
    display: block;
    margin: 14px 0;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 6px;
}

.checkbox-container label {
    display: inline;
    line-height: 1.4;
}

/* =====================================================
   SUBMIT / BUTTONS
   ===================================================== */

.anmeldung-form input[type="submit"],
.anmeldung-form button[type="submit"] {
    background-color: #0056b3;
    color: #ffffff;
    border: none;
    border-radius: 0;                /* eckig */
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.anmeldung-form input[type="submit"]:hover,
.anmeldung-form button[type="submit"]:hover {
    background-color: #004494;
}

/* Abschluss – keine Box */
.form-actions {
    margin-top: 40px;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
}

/* =====================================================
   LINKS IM FORMULAR
   ===================================================== */

.anmeldung-form a {
    color: #0056b3;
    text-decoration: underline;
}

.anmeldung-form a:hover {
    text-decoration: none;
}

/* =====================================================
   MOBIL
   ===================================================== */

@media (max-width: 768px) {
    .anmeldung-page {
        margin: 2em 0;
    }

    .anmeldung-form input[type="submit"],
    .anmeldung-form button[type="submit"] {
        width: 100%;
        text-align: center;
    }
}
.anmeldung-form {
    background: #f5f5f5 !important;
     padding: 3em;                 /* mehr Innenabstand */
    margin: 2.5em 0;              /* mehr Abstand außen */
    border: 1px solid #e0e0e0;     /* dezenter Rand */
}

/* ===============================
   SCHLICHTE MODAL BOX
   =============================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: #ffffff;
    max-width: 480px;
    width: 90%;
    padding: 2em;
    border: 1px solid #e0e0e0;
}

.modal-content {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1.8em;
}

.modal-actions {
    text-align: right;
}
/* Farbiger Rahmen je Status */

.modal-box {
    background: #fff;
    max-width: 480px;
    width: 90%;
    padding: 2em;
    border: 3px solid #2e7bcf; /* fallback blau */
}

/* Grün */
.modal-box.success {
    border-color: #2e8b57;
}

/* Orange */
.modal-box.warning {
    border-color: #f39c12;
}

/* Rot */
.modal-box.danger {
    border-color: #c0392b;
}

/* =========================
   BUTTONS – GLOBAL
   ========================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #2196F3;   /* dein Blau */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;            /* eckig */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background-color: #1976D2;
}

.btn-large {
    font-size: 1.1rem;
    margin-right: 20px;
    margin-top: 15px;
}

