/* =========================================================
   AL-DAR Rabattaktion – Popup
   ========================================================= */

.aldar-aktion-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.72);
}

/* Sichtbarer Zustand */
.aldar-aktion-overlay.is-visible {
    display: flex;
}

/* Popup */
.aldar-aktion-popup {
    position: relative;

    width: 100%;
    max-width: 770px;

    line-height: 0;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);

    animation: aldarAktionEinblenden 0.35s ease-out;
}

/* Aktionsgrafik */
.aldar-aktion-popup img {
    display: block;
    width: 100%;
    height: auto;
}

/* Schließen-Button */
.aldar-aktion-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 42px;
    height: 42px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.82);
    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: normal;
    line-height: 40px;
    text-align: center;

    cursor: pointer;
    z-index: 2;

    transition: background 0.2s ease;
}

.aldar-aktion-close:hover,
.aldar-aktion-close:focus {
    background: #000000;
    outline: none;
}

/* Einblendanimation */
@keyframes aldarAktionEinblenden {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smartphone */
@media (max-width: 600px) {

    .aldar-aktion-overlay {
        padding: 12px;
    }

    .aldar-aktion-close {
        top: 7px;
        right: 7px;

        width: 38px;
        height: 38px;

        font-size: 27px;
        line-height: 36px;
    }
}