/* ─────────────────────────────────────────────────────────────
   Spargelkarte Popup — bellini-popup.css
   Einbinden in functions.php:
   wp_enqueue_style('bellini-popup', get_template_directory_uri() . '/assets/css/bellini-popup.css');
───────────────────────────────────────────────────────────── */

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.popup-overlay.is-visible {
    opacity: 1;
    pointer-events: all;
}

.popup-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-card {
    position: relative;
    background: #161616;
    border: 1px solid rgba(214, 187, 138, 0.25);
    border-radius: 20px;
    padding: clamp(32px, 6vw, 56px);
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

/* Goldlinie oben */
.popup-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d6bb8a, transparent);
}

/* Glow unten rechts */
.popup-card::after {
    content: "";
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 187, 138, 0.06), transparent 70%);
    pointer-events: none;
}

.popup-overlay.is-visible .popup-card {
    transform: translateY(0) scale(1);
}

/* ── Schließen-Button ──────────────────────────────────────── */
.popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #9a9080;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
    font-family: Georgia, serif;
}

.popup-close:hover {
    color: #f0ece4;
    background: rgba(255, 255, 255, 0.06);
}

/* ── Inhalt ────────────────────────────────────────────────── */
.popup-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.7rem;
    color: #d6bb8a;
    margin-bottom: 1rem;
    font-family: Merchant, Georgia, serif;
}

.popup-spargel-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.popup-title {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #f0ece4;
    padding-bottom: 0;
    margin-bottom: 0.25rem;
    font-family: Merchant, Georgia, serif;
}

.popup-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #d6bb8a;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
    font-family: Merchant, Georgia, serif;
}

.popup-divider {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d6bb8a, transparent);
    margin: 1.25rem auto;
}

.popup-text {
    color: #9a9080;
    font-size: 1rem;
    line-height: 1.7;
    padding: 0;
    margin-bottom: 2rem;
    font-family: Merchant, Georgia, serif;
}

/* ── Buttons ───────────────────────────────────────────────── */
.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: Merchant, Georgia, serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    background-image: none;
}

.popup-btn--primary {
    background: linear-gradient(135deg, #d6bb8a 0%, #b8975e 100%);
    color: #1a1209;
    border: none;
    font-weight: 700;
}

.popup-btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(214, 187, 138, 0.25);
    color: #1a1209;
    background-size: 100%;
}

.popup-btn--ghost {
    background: transparent;
    color: #9a9080;
    border: 1px solid rgba(214, 187, 138, 0.12);
}

.popup-btn--ghost:hover {
    color: #f0ece4;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}