/* Stromfee Lead-Modal — Apple-Pastell-Lavender, gemeinsamer Stil mit _classic.css */
.sf-lead-overlay {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    z-index: 99999;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    animation: sfLeadFade 0.2s ease;
}
.sf-lead-overlay.is-open { display: flex; }
@keyframes sfLeadFade { from { opacity: 0; } to { opacity: 1; } }

.sf-lead-modal {
    background: #ffffff;
    border: 1px solid #ede9fe;
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 460px; width: 100%;
    position: relative;
    box-shadow: 0 24px 80px rgba(124,58,237,0.18), 0 4px 16px rgba(124,58,237,0.08);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: #0f172a;
    animation: sfLeadSlide 0.25s cubic-bezier(.2,.8,.3,1);
}
@keyframes sfLeadSlide { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.sf-lead-close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px;
    background: #f5f3ff; border: 1px solid #ede9fe;
    border-radius: 999px; cursor: pointer;
    color: #64748b; font-size: 18px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.15s;
}
.sf-lead-close:hover { background: #ede9fe; color: #7c3aed; }

.sf-lead-head { margin-bottom: 20px; }
.sf-lead-kicker {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: #7c3aed; margin-bottom: 6px;
}
.sf-lead-head h2 {
    font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
    color: #0f172a; margin: 0 0 6px;
}
.sf-lead-head p {
    font-size: 14px; color: #475569; line-height: 1.5; margin: 0;
}

.sf-lead-form { display: flex; flex-direction: column; gap: 10px; }
.sf-lead-form input,
.sf-lead-form select,
.sf-lead-form textarea {
    width: 100%; padding: 12px 14px;
    background: #f8f6ff; border: 1px solid #ede9fe; border-radius: 10px;
    color: #0f172a; font-size: 14px; font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.sf-lead-form input::placeholder,
.sf-lead-form textarea::placeholder { color: #94a3b8; }
.sf-lead-form input:focus,
.sf-lead-form select:focus,
.sf-lead-form textarea:focus {
    outline: none; border-color: #a78bfa; background: #ffffff;
    box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.sf-lead-form textarea { resize: vertical; min-height: 70px; }

.sf-lead-submit {
    margin-top: 4px; padding: 13px 22px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff; border: none; border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(124,58,237,0.3);
    transition: all 0.15s;
}
.sf-lead-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,58,237,0.45); }
.sf-lead-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.sf-lead-privacy {
    margin-top: 10px; font-size: 12px; color: #64748b; text-align: center; line-height: 1.5;
}
.sf-lead-privacy a { color: #7c3aed; }

.sf-lead-phone-cta {
    display: flex; align-items: center; gap: 14px;
    margin-top: 18px; padding: 14px 18px;
    background: #f5f3ff; border: 1px solid #ede9fe; border-radius: 14px;
    color: #0f172a; text-decoration: none;
    transition: all 0.15s;
}
.sf-lead-phone-cta:hover {
    background: #ede9fe; border-color: #c4b5fd;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124,58,237,0.15);
}
.sf-lead-phone-icon {
    width: 38px; height: 38px; flex: 0 0 38px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed); color: #fff;
    border-radius: 10px; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(124,58,237,0.25);
}
.sf-lead-phone-stack { display: flex; flex-direction: column; line-height: 1.25; }
.sf-lead-phone-label { font-size: 12px; color: #64748b; font-weight: 500; }
.sf-lead-phone-num { font-size: 16px; font-weight: 600; color: #7c3aed; letter-spacing: -0.01em; }

.sf-lead-status {
    margin-top: 12px; padding: 12px 14px; border-radius: 10px;
    font-size: 13.5px; line-height: 1.45; display: none;
}
.sf-lead-status.is-error { display: block; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.sf-lead-success { text-align: center; padding: 20px 4px 4px; }
.sf-lead-success .sf-lead-success-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 999px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #047857; font-size: 28px; margin-bottom: 14px;
}
.sf-lead-success h3 { font-size: 19px; color: #0f172a; margin: 0 0 8px; }
.sf-lead-success p { color: #475569; font-size: 14px; line-height: 1.55; margin: 0; }

@media (max-width: 480px) {
    .sf-lead-modal { padding: 28px 20px 22px; border-radius: 16px; }
    .sf-lead-head h2 { font-size: 19px; }
}
