/* Promo Popup Styling */
.promo-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.promo-modal.show {
    display: flex;
    opacity: 1;
}

.promo-content {
    position: relative;
    max-width: 90vw;
    max-height: 95vh;
    width: 800px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-modal.show .promo-content {
    transform: scale(1);
}

.promo-image-container {
    flex: 1;
    overflow-y: auto; /* Falls das Bild extrem hoch ist */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.promo-image-container img {
    max-width: 100%;
    max-height: 70vh; /* Begrenzt die Bildhöhe massiv, damit der Footer sichtbar bleibt */
    width: auto;
    height: auto;
    display: block;
}

.promo-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}

.promo-close:hover {
    background: #FF5E3A;
}

.promo-footer {
    padding: 20px;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.promo-btn-hide {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.promo-btn-hide:hover {
    color: white;
    border-color: white;
}

.promo-btn-action {
    background: linear-gradient(135deg, #FF5E3A 0%, #FF2A6D 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 94, 58, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.promo-btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 94, 58, 0.4);
}

/* Responsive Image Handling */
.promo-image-container .desktop-banner { display: block; }
.promo-image-container .mobile-banner { display: none; }

@media (max-width: 768px) {
    .promo-image-container .desktop-banner { display: none; }
    .promo-image-container .mobile-banner { display: block; }
    .promo-content { width: 95%; }
    .promo-footer { flex-direction: column-reverse; text-align: center; }
    .promo-btn-action { width: 100%; }
}

/* Pricing Card Ribbon */
.pricing-card {
    position: relative;
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF5E3A 0%, #FF2A6D 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.3);
}

/* Ensure price-type centers its content when badge is present */
.price-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.price-old {
    display: block;
    font-size: 1.05rem;
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
}


