/* ============================================
   ImmoMatch – Kontakt-Popup/Overlay
   ============================================ */

.immomatch-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backdrop */
.immomatch-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

/* Content Box */
.immomatch-popup-content {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 52px 48px 44px;
    max-width: 560px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: immomatch-popup-in 0.3s ease-out;
}
@keyframes immomatch-popup-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Close Button */
.immomatch-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}
.immomatch-popup-close:hover {
    color: #374151;
}

/* Action Buttons – nur Layout, Kadence-Klassen steuern Aussehen */
.immomatch-popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 500px) {
    .immomatch-popup-content {
        padding: 36px 28px 28px;
    }
}
