
/* HOF Automation – einheitliche mpform-Gestaltung */

/* Technische Honeypot-Felder unsichtbar halten */
.mpform .nixhier {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Formular als helle Karte */
.hof-band--dark .mpform {
    max-width: 820px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 52px);
    border-radius: 16px;
    background: #f1f5f1;
    color: #18271e;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .12);
}

/* Formularfelder */
.hof-band--dark .mpform .questionbox {
    color: #18271e;
    font-size: .95rem;
    font-weight: 600;
    margin: 0 0 7px;
}

.hof-band--dark .mpform .questionbox label {
    color: inherit;
    font-weight: inherit;
}

.hof-band--dark .mpform .answerbox {
    margin: 0 0 20px;
}

/* Text-, Auswahl- und Datumsfelder */
.hof-band--dark .mpform input[type="text"],
.hof-band--dark .mpform input[type="email"],
.hof-band--dark .mpform input[type="tel"],
.hof-band--dark .mpform input[type="date"],
.hof-band--dark .mpform select,
.hof-band--dark .mpform textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    background: #fff;
    color: #18271e;
    border: 1px solid #cbd5cd;
    border-radius: 7px;
    font: inherit;
    font-size: .95rem;
    box-sizing: border-box;
}

.hof-band--dark .mpform textarea {
    min-height: 140px;
    resize: vertical;
}

.hof-band--dark .mpform input:focus,
.hof-band--dark .mpform select:focus,
.hof-band--dark .mpform textarea:focus {
    outline: 2px solid #008f19;
    outline-offset: 2px;
}

/* Datei-Uploads */
.hof-band--dark .mpform input[type="file"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 13px;
    background: #fff;
    border: 1px dashed #91a798;
    border-radius: 8px;
    color: #18271e;
}

.hof-band--dark .mpform input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 9px 14px;
    border: 0;
    border-radius: 5px;
    background: #203229;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

/* Pflichtfelder */
.hof-band--dark .mpform .required {
    color: #b31b1b;
    font-weight: 700;
    margin-left: 3px;
}

/* Datenschutz-Checkbox */
.hof-band--dark .mpform input[type="checkbox"],
.hof-band--dark .mpform input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #008f19;
    vertical-align: middle;
}

/* Captcha */
.hof-band--dark .mpform .captcha_table {
    width: auto;
    max-width: 100%;
    color: #18271e;
}

.hof-band--dark .mpform .captcha_table input {
    width: 110px;
}

.hof-band--dark .mpform .captcha_table td {
    padding: 5px;
}

/* Absenden */
.hof-band--dark .mpform .submitbox {
    margin-top: 28px;
}

.hof-band--dark .mpform .mpform_submit {
    display: inline-block;
    width: auto;
    min-height: 46px;
    padding: 12px 25px;
    background: #00fb00;
    color: #102017;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
}

.hof-band--dark .mpform .mpform_submit:hover {
    background: #00d900;
}

@media (max-width: 767px) {
    .hof-band--dark .mpform {
        padding: 22px 16px;
        border-radius: 10px;
    }

    .hof-band--dark .mpform .captcha_table,
    .hof-band--dark .mpform .captcha_table tbody,
    .hof-band--dark .mpform .captcha_table tr {
        display: block;
    }

    .hof-band--dark .mpform .captcha_table td {
        display: inline-block;
    }
}


/* Formularüberschrift auf hellem Hintergrund */
.hof-band--dark .mpform .hof-form-intro h2 {
    color: #18271e;
}

.hof-band--dark .mpform .hof-form-intro .lead {
    color: #43584a;
}