/* PageUpgrade — Frontend CSS */

/* ── Popup-Overlay ───────────────────────────────────────── */
.pgu-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pgu-popup-overlay.is-open { display: flex; }

.pgu-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.55);
}
.pgu-popup.is-open { display: flex; }

.pgu-popup-inner {
    position: relative;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: cpgu-popup-in .2s ease;
}

@keyframes cpgu-popup-in {
    from { transform: scale(.95) translateY(8px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.pgu-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0,0,0,.08);
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pgu-popup-close:hover { background: rgba(0,0,0,.15); }

/* ── Trigger Cursor ──────────────────────────────────────── */
.pgu-popup-trigger { cursor: pointer; }

/* ── Einbettungen ────────────────────────────────────────── */
.pgu-page-embed,
.pgu-part-embed,
.pgu-funnel-embed { width: 100%; }
