/* ============================================================
   FILE: css/11-forms.css
   VERSION: 1.4
   LAST MODIFIED: March 13, 2026
   DESCRIPTION: Design-Update: Formularfelder stacked (60% Breite).
                v1.4: Hilfsklasse für Honeypot hinzugefügt (Regel 3).
   ============================================================ */

.module-form {
    margin: 30px 0;
    clear: both;
}

/* 1. EINGABEFELDER & TEXTAREA */
.module-form input[type="text"],
.module-form input[type="email"],
.module-form textarea {
    width: 60%;
    min-width: 300px;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-gray, #a3a8ab);
    background: #fff;
    box-shadow: 3px 3px 5px #666;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: 0;
    display: block;
}

.module-form textarea {
    min-height: 220px;
    resize: vertical;
}

@media (max-width: 600px) {
    .module-form input[type="text"],
    .module-form input[type="email"],
    .module-form textarea {
        width: 100%;
        min-width: 0;
    }
}

/* Focus-Farben nach Theme */
.theme-orange .module-form input:focus,
.theme-orange .module-form textarea:focus {
    border-color: #ae6a3d;
    outline: none;
}
.theme-blau .module-form input:focus,
.theme-blau .module-form textarea:focus {
    border-color: #2a6b94;
    outline: none;
}

/* 2. BUTTON & HOVER */
.module-form button {
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 3px 3px 5px #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

/* Button-Farben nach Theme */
.theme-orange .module-form button {
    background-color: #ae6a3d !important;
}
.theme-blau .module-form button {
    background-color: #2a6b94 !important;
}

.module-form button:hover {
    box-shadow: none;
    transform: translateY(1px);
    opacity: 0.95;
}

/* 3. STATUS-MELDUNGEN */
.form-response {
    width: 50%;
    min-width: 300px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 3px 3px 5px #666;
    font-weight: bold;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .form-response {
        width: 100%;
    }
}

.form-response.success {
    border: 2px solid #2a944a;
    background: #f0fff4;
    color: #1e6030;
}

.form-response.error {
    border: 2px solid #cc0000;
    background: #fff0f0;
    color: #8a0000;
}

/* 4. HILFSKLASSEN */
.fr-hidden-field {
    display: none !important;
    visibility: hidden !important;
}
