/* ============================================================
   page-widerruf.css - Scoped unter .elementor-widerruf
   Online-Widerrufsfunktion (§ 356a BGB)
   Hero → shared-hero.css | Legal → shared-legal.css
   ============================================================ */

/* Toast (Erfolg/Fehler) */
.elementor-widerruf .form-toast {
    width: 100%;
    padding: .75em 1em;
    margin-bottom: 1.25em;
    border-radius: 8px;
    font-size: .95em;
    font-weight: 500;
}

.elementor-widerruf .form-toast--success {
    background: rgba(72, 242, 251, .12);
    border: 1px solid #48F2FB;
    color: #48F2FB;
}

.elementor-widerruf .form-toast--error {
    background: rgba(253, 225, 0, .12);
    border: 1px solid #FDE100;
    color: #FDE100;
}

/* Hinweis-Box (Individualanfertigung) */
.elementor-widerruf .wf-hint-box {
    background: rgba(253, 225, 0, 0.06);
    border: 1px solid rgba(253, 225, 0, 0.35);
    border-radius: 10px;
    padding: 1em 1.25em;
    margin: 0 0 1.75em;
}

.elementor-widerruf .wf-hint-box p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.elementor-widerruf .wf-hint-box a {
    color: #FDE100;
    text-decoration: underline;
}

/* Formular */
.elementor-widerruf .wf-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 1.75em;
    margin: 0 0 1.5em;
}

.elementor-widerruf .wf-declaration {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 1.25em;
}

.elementor-widerruf .wf-field {
    margin-bottom: 1.15em;
    display: flex;
    flex-direction: column;
    gap: 0.35em;
}

.elementor-widerruf .wf-label {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.elementor-widerruf .wf-required {
    color: #FDE100;
}

.elementor-widerruf .wf-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 11px 14px;
    color: var(--e-global-color-primary, #fff);
    font-size: 0.92rem;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.elementor-widerruf .wf-input:focus {
    border-color: #FDE100;
}

.elementor-widerruf .wf-textarea {
    resize: vertical;
    min-height: 96px;
}

.elementor-widerruf .wf-field-hint {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.elementor-widerruf .wf-privacy-note {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 1.25em 0;
}

.elementor-widerruf .wf-privacy-note a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Bestätigungs-Schaltfläche (§ 356a Abs. 2 BGB) */
.elementor-widerruf .wf-submit-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: #FDE100;
    color: #060A10;
    font-family: var(--e-global-typography-e5f7065-font-family, "Syne"), sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, transform 0.15s;
    border: none;
}

.elementor-widerruf .wf-submit-btn:hover {
    background: #A67A00;
    color: #fff;
    transform: translateY(-1px);
}

/* Alternativ-Hinweis */
.elementor-widerruf .wf-alt-note p {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.elementor-widerruf .wf-alt-note a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Erfolgs-Screen */
.elementor-widerruf .wf-success {
    background: rgba(72, 242, 251, 0.06);
    border: 1px solid rgba(72, 242, 251, 0.35);
    border-radius: 12px;
    padding: 2.25em 1.75em;
    text-align: center;
    margin: 0 0 1.5em;
}

.elementor-widerruf .wf-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1em;
    border-radius: 50%;
    background: rgba(72, 242, 251, 0.12);
    border: 2px solid #48F2FB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #48F2FB;
}

.elementor-widerruf .wf-success-icon svg {
    width: 28px;
    height: 28px;
}

.elementor-widerruf .wf-success-title {
    font-family: var(--e-global-typography-e5f7065-font-family, "Syne"), sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 0.6em;
}

.elementor-widerruf .wf-success-text {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 1.5em;
    max-width: 560px;
}

.elementor-widerruf .wf-success-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s;
}

.elementor-widerruf .wf-success-btn:hover {
    border-color: #48F2FB;
    color: #48F2FB;
}

@media (max-width: 767px) {
    .elementor-widerruf .wf-form {
        padding: 1.25em 1em;
    }

    .elementor-widerruf .wf-success {
        padding: 1.75em 1.15em;
    }
}
