/**
 * C4mulo5 – Promo-Bar
 */

.c4mulo5-promo-bar {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 90;
}

.c4mulo5-promo-bar.c4m5-promo-hidden {
    display: none !important;
}

.c4mulo5-promo-bar.c4m5-promo-position-top.c4m5-promo-sticky {
    position: sticky;
    top: 0;
}

.c4mulo5-promo-bar::before,
.c4mulo5-promo-bar::after,
.c4m5-promo-inner::before,
.c4m5-promo-inner::after {
    display: none !important;
    content: none !important;
}

.c4m5-promo-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 50px 10px 16px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

.c4m5-promo-text {
    font-weight: 500;
    color: inherit;
}

.c4m5-promo-countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 10px;
    border-radius: 4px;
    color: inherit;
}

.c4m5-promo-cta {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #1d2327 !important;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}
.c4m5-promo-cta:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

.c4m5-promo-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    background: transparent;
    border: none;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    border-radius: 50%;
}
.c4m5-promo-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* Stil: Solid (Default - Hintergrundfarbe + weiße Schrift) – wird inline gesetzt */

/* Stil: Gradient */
.c4mulo5-promo-bar.c4m5-promo-style-gradient .c4m5-promo-inner {
    background: linear-gradient(90deg, #1a5490 0%, #29aae4 100%);
    color: #ffffff;
}

/* Stil: Outline (transparenter Hintergrund mit Border) */
.c4mulo5-promo-bar.c4m5-promo-style-outline .c4m5-promo-inner {
    background: transparent !important;
    border-bottom: 2px solid #1a5490;
    color: #1d2327 !important;
}
.c4mulo5-promo-bar.c4m5-promo-style-outline .c4m5-promo-cta {
    background: #1a5490;
    color: #ffffff !important;
}
.c4mulo5-promo-bar.c4m5-promo-style-outline .c4m5-promo-cta:hover {
    background: #29aae4;
}

/* Mobile-Visibility */
@media (max-width: 768px) {
    .c4mulo5-promo-bar.c4m5-promo-show-desktop { display: none !important; }
    .c4m5-promo-inner {
        font-size: 0.82rem;
        padding: 8px 40px 8px 12px;
        gap: 8px;
    }
    .c4m5-promo-cta {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}
@media (min-width: 769px) {
    .c4mulo5-promo-bar.c4m5-promo-show-mobile { display: none !important; }
}
