/* Kontaktformular (lokale PHP-Formulare). Bootstrap-3-Klassen (form-control, has-error, alert) bleiben erhalten. */

.contact-form .contact-privacy {
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .control-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form .mandatory {
    color: #c01631;
    margin-left: 2px;
}

.contact-form .form-control {
    height: 44px;                    /* gut bedienbar auf Touchgeräten */
    font-size: 16px;                 /* verhindert Zoomen auf iOS */
    border-radius: 0;
}

.contact-form textarea.form-control {
    height: auto;
    min-height: 130px;
}

/* Fehler: kräftige rote Umrandung am Feld (zusätzlich zu Text und Symbol, nicht nur Farbe) */
.contact-form .form-control.is-invalid,
.contact-form .has-error .form-control {
    border: 2px solid #d80707;
    box-shadow: none;
}

.contact-form .field-error {
    margin: 6px 0 0;
    color: #b00000;
    font-size: 14px;
    font-weight: 600;
}

.contact-form .field-error[hidden],
.contact-form .alert[hidden] {
    display: none;
}

.contact-form .field-error-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 4px;
    border-radius: 50%;
    background: #b00000;
    color: #ffffff;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

.contact-form .alert ul {
    margin: 0 0 0 20px;
}

.contact-form .alert-danger a {
    color: #721c24;
    font-weight: 600;
}

/* Honeypot: für Besucher unsichtbar, nicht per Tastatur erreichbar */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ALTCHA direkt vor dem Absenden-Button */
.contact-altcha .altcha-box {
    max-width: 340px;
}

.contact-altcha.has-error .altcha-box {
    outline: 2px solid #d80707;
}

.contact-submit .btn {
    min-width: 140px;
    padding: 10px 24px;
    font-size: 16px;
}

.contact-hints {
    margin: 20px 0 0 20px;
    color: #555555;
    font-size: 14px;
}

.contact-sent-title {
    margin-top: 0;
}

@media (max-width: 767px) {
    .contact-submit .btn {
        width: 100%;
    }
}
