/* PopUp Hintergrund */
.wf-optin-popup {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Transparenter schwarzer Hintergrund */
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* PopUp-Inhalt */
.wf-optin-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 600px; /* Maximale Breite */
    max-height: 90vh;
    overflow-y: auto; /* Falls Inhalt zu groß ist, scrollbar machen */
    text-align: center;
    position: relative;
}

/* Schließen-Button */
.wf-optin-popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 36px;
    cursor: pointer;
    color: #fff;
    background: #666666;
    border-top-right-radius: 5px;
    padding: 0 5px 5px 5px;
}

.wf-optin-popup-close:hover {
    color: #fff;
}


.wf-optin-box-button a{
    display:inline-block;
}

.wf-optin-box-button a > span{
    display:block;
}

/* Animation für sanftes Einblenden */
.wf-optin-popup-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
