/* =========================================================
   ROBETA Widerruf – Formular
========================================================= */

.robeta-widerruf-wrap {
    max-width: 760px;
    margin: 0 auto;
    color: inherit;
}

.robeta-widerruf-intro {
    margin-bottom: 24px;
    line-height: 1.6;
}

.robeta-widerruf-intro p {
    margin: 0 0 12px;
}

.robeta-widerruf-intro a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.robeta-widerruf-form {
    display: grid;
    gap: 18px;
}

.robeta-widerruf-field {
    display: grid;
    gap: 6px;
}

.robeta-widerruf-field label,
.robeta-widerruf-checkbox label {
    font-weight: 600;
    line-height: 1.4;
}

.robeta-widerruf-field input,
.robeta-widerruf-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b8b2aa;
    border-radius: 5px;
    font: inherit;
    color: #25282f;
    background: #ffffff;
}

.robeta-widerruf-field input:focus,
.robeta-widerruf-field textarea:focus {
    outline: 3px solid rgba(75, 59, 42, 0.25);
    border-color: #4b3b2a;
}

.robeta-widerruf-checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}

.robeta-widerruf-checkbox input {
    margin-top: 4px;
}

.robeta-widerruf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 22px;
    border: 2px solid #4b3b2a;
    border-radius: 5px;
    background: #4b3b2a;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s ease;
}

.robeta-widerruf-submit:hover,
.robeta-widerruf-submit:focus {
    background: #ffffff;
    color: #4b3b2a;
}

.robeta-widerruf-submit:focus-visible {
    outline: 3px solid rgba(75, 59, 42, 0.35);
    outline-offset: 4px;
}

.robeta-widerruf-message {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 5px;
    font-weight: 600;
}

.robeta-widerruf-message--success {
    border: 1px solid #2f7d32;
    background: #edf7ed;
    color: #1b5e20;
}

.robeta-widerruf-message--error {
    border: 1px solid #b3261e;
    background: #fdecea;
    color: #8a1c14;
}

@media (max-width: 767px) {
    .robeta-widerruf-wrap {
        max-width: 100%;
    }

    .robeta-widerruf-submit {
        width: 100%;
    }
}
