/* Zweites Tipp-Widget (Sofort-Marktpreis) */
.faq-sofort-widget {
    --faq2-bg: #ffffff;
    --faq2-border: #d6d9d4;
    --faq2-text: #1f2a22;
    --faq2-accent: #6f7f53;
    --faq2-accent-dark: #53613d;
    --faq2-soft: #f6f8f4;
    position: fixed;
    z-index: 998;
    top: 390px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.faq-sofort-widget.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.faq-sofort-widget.is-closing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.faq-sofort-widget__container {
    width: min(340px, calc(100vw - 32px));
    background: var(--faq2-bg);
    border: 1px solid var(--faq2-border);
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    padding: 1rem;
    position: relative;
}

.faq-sofort-widget__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.65;
}

.faq-sofort-widget__close::before {
    content: "x";
    font-size: 18px;
    font-weight: 700;
    color: var(--faq2-text);
}

.faq-sofort-widget.is-bell-opened .faq-sofort-widget__close {
    width: 36px;
    height: 36px;
    top: 8px;
    right: 8px;
    border-radius: 999px;
    border: 1px solid rgba(32, 24, 17, 0.35);
    background: #2f2923;
    opacity: 1;
    box-shadow: 0 8px 18px rgba(28, 20, 12, 0.22);
    z-index: 4;
}

.faq-sofort-widget.is-bell-opened .faq-sofort-widget__close::before {
    content: "\00d7";
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

.faq-sofort-widget.is-bell-opened .faq-sofort-widget__close::after {
    content: "Schließen";
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    background: rgba(31, 27, 23, 0.92);
    border-radius: 999px;
    padding: 0.12rem 0.46rem;
    white-space: nowrap;
    pointer-events: none;
}

.faq-sofort-widget__header {
    margin-bottom: 0.75rem;
}

.faq-sofort-widget__title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.25;
    color: var(--faq2-text);
}

.faq-sofort-widget__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: var(--faq2-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-sofort-widget__content {
    margin-bottom: 0.9rem;
}

.faq-sofort-widget__text {
    margin: 0 0 0.7rem;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #2f382f;
}

.faq-sofort-widget__cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--faq2-accent);
    color: #fff;
    background: var(--faq2-accent);
    border-radius: 6px;
    padding: 0.58rem 0.7rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.faq-sofort-widget__cta:hover {
    background: var(--faq2-accent-dark);
    border-color: var(--faq2-accent-dark);
}

.faq-sofort-widget__footer {
    border-top: 1px solid var(--faq2-border);
    padding-top: 0.7rem;
}

.faq-sofort-widget__question-short {
    margin: 0 0 0.55rem;
    text-align: center;
    font-size: 0.8rem;
    color: #2c2c2c;
    font-weight: 700;
}

.faq-sofort-widget__buttons {
    display: flex;
    gap: 0.5rem;
}

.faq-sofort-widget__btn {
    flex: 1;
    border: 1px solid var(--faq2-border);
    background: var(--faq2-soft);
    color: #2b2b2b;
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-sofort-widget__btn.is-selected,
.faq-sofort-widget__btn:active {
    background: var(--faq2-accent);
    color: #fff;
    border-color: var(--faq2-accent);
}

.faq-sofort-widget__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.faq-sofort-widget__thank-you {
    text-align: center;
    padding: 0.75rem 0 0.25rem;
}

.faq-sofort-widget__thank-you p {
    margin: 0;
    color: var(--faq2-accent-dark);
    font-weight: 700;
}

.faq-sofort-widget__modal {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(14, 20, 16, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    z-index: 8;
}

.faq-sofort-widget__modal[hidden] {
    display: none !important;
}

.faq-sofort-widget__modal-card {
    width: 100%;
    background: #fff;
    border: 1px solid var(--faq2-border);
    border-radius: 8px;
    padding: 0.9rem;
    position: relative;
}

.faq-sofort-widget__modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.45rem;
    border: 0;
    background: transparent;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-sofort-widget__modal-title {
    margin: 0 1.7rem 0.35rem 0;
    font-size: 0.96rem;
}

.faq-sofort-widget__modal-subtitle {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    color: #5a5a5a;
}

.faq-sofort-widget__field {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    margin-bottom: 0.6rem;
}

.faq-sofort-widget__field span {
    font-size: 0.78rem;
    font-weight: 700;
}

.faq-sofort-widget__field select,
.faq-sofort-widget__field textarea,
.faq-sofort-widget__field input[type="email"] {
    width: 100%;
    border: 1px solid #cad2c6;
    border-radius: 6px;
    padding: 0.52rem 0.6rem;
    font-size: 0.82rem;
    font-family: inherit;
}

.faq-sofort-widget__checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
}

.faq-sofort-widget__modal-error {
    margin: 0.1rem 0 0.55rem;
    font-size: 0.78rem;
    color: #a02828;
}

.faq-sofort-widget__modal-actions {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .faq-sofort-widget {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 1001;
    }

    .faq-sofort-widget__container {
        width: 100%;
        border-radius: 14px 14px 0 0;
        max-height: 72vh;
        overflow-y: auto;
    }

    .faq-sofort-widget__close {
        display: none;
    }

    .faq-sofort-widget.is-bell-opened .faq-sofort-widget__close {
        display: block;
        opacity: 1;
    }
    .faq-sofort-widget__modal {
        border-radius: 16px 16px 0 0;
        align-items: flex-start;
        padding: 0.45rem;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .faq-sofort-widget__modal-card {
        max-height: min(82vh, 620px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.75rem;
    }

    .faq-sofort-widget__field textarea {
        min-height: 92px;
    }

    .faq-sofort-widget__modal-actions {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
}
