/* =========================================================
   Orchideen Holm Widerrufsbutton – Frontend Styles
   Primärfarbe: #4a7c3f (Orchideen-Grün)
   Akzent:      #3a6232
   ========================================================= */

/* ----- Button [twb_widerrufsbutton] ----- */
.twb-widerrufsbutton {
    display: inline-block;
    padding: 10px 22px;
    font-weight: bold;
    font-size: 0.95rem;
    text-decoration: none !important;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    line-height: 1.4;
    background-color: #4a7c3f;
    color: #fff !important;
    border: 2px solid #4a7c3f;
}
.twb-widerrufsbutton:hover,
.twb-widerrufsbutton:focus {
    background-color: #3a6232;
    border-color: #3a6232;
    text-decoration: none !important;
}
.twb-widerrufsbutton:focus {
    outline: 3px solid #1a3a17;
    outline-offset: 2px;
}

/* ----- Formular-Wrapper ----- */
.twb-formular-wrap {
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
    font-family: inherit;
}
.twb-formular-wrap h2 {
    color: #3a6232;
    margin-bottom: 0.4em;
    font-size: 1.6rem;
}
.twb-formular-wrap > p {
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ----- Fehlermeldung ----- */
.twb-error {
    background: #fdecea;
    border-left: 4px solid #c0392b;
    color: #7b1111;
    padding: 10px 14px;
    margin-bottom: 18px;
    border-radius: 2px;
}

/* ----- Formularfelder ----- */
.twb-form .twb-field {
    margin-bottom: 20px;
}
.twb-form .twb-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.twb-form .twb-field input[type="text"],
.twb-form .twb-field input[type="email"],
.twb-form .twb-field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #bbb;
    border-radius: 3px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.twb-form .twb-field input:focus,
.twb-form .twb-field textarea:focus {
    border-color: #4a7c3f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74,124,63,0.15);
}

.twb-required {
    color: #c0392b;
    margin-left: 2px;
}
.twb-optional {
    color: #888;
    font-weight: normal;
    font-size: 0.85em;
}

/* ----- Hinweis ----- */
.twb-hinweis {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
    background: #f4f9f3;
    border-left: 3px solid #4a7c3f;
    padding: 8px 12px;
    border-radius: 2px;
}

/* ----- Submit-Button ----- */
.twb-submit-btn {
    background-color: #4a7c3f;
    color: #fff;
    border: none;
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    letter-spacing: 0.02em;
}
.twb-submit-btn:hover,
.twb-submit-btn:focus {
    background-color: #3a6232;
    outline: 3px solid #1a3a17;
    outline-offset: 2px;
}

/* ----- Bestätigungsseite ----- */
.twb-bestaetigung {
    max-width: 540px;
    margin: 30px auto;
    text-align: center;
    padding: 35px 30px;
    background: #f4f9f3;
    border: 1px solid #a8d5a2;
    border-radius: 6px;
}
.twb-bestaetigung-icon {
    font-size: 3rem;
    color: #4a7c3f;
    margin-bottom: 12px;
}
.twb-bestaetigung h2 {
    color: #3a6232;
    margin-bottom: 12px;
}
.twb-bestaetigung p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}
.twb-bestaetigung em {
    font-size: 0.87rem;
    color: #777;
}

/* ----- Responsive ----- */
@media (max-width: 480px) {
    .twb-formular-wrap {
        padding: 0 10px;
    }
    .twb-submit-btn {
        width: 100%;
        padding: 14px;
    }
}
