/* Eyecatcher / Badge für den Gutscheine-Menüpunkt */
#menu-item-4369 {
    position: relative; /* Wichtig, damit das Badge relativ zu diesem Element positioniert werden kann */
}

#menu-item-4369 a::after {
    content: "NEU"; /* Der Text, der im Badge stehen soll */
    position: absolute;
    top: -5px; /* Position von oben anpassen */
    right: 0px; /* Position von rechts anpassen */
    background-color: #e74c3c; /* Rote Farbe für das Badge */
    color: white; /* Weiße Schriftfarbe */
    font-size: 0.7em; /* Kleinere Schriftgröße */
    font-weight: bold;
    padding: 2px 6px; /* Innenabstand des Badges */
    border-radius: 4px; /* Abgerundete Ecken */
    transform: rotate(5deg); /* Leichte Drehung für einen spielerischen Effekt */
    animation: pulse 1.5s infinite; /* Pulsierende Animation, um Aufmerksamkeit zu erregen */
    white-space: nowrap; /* Verhindert Zeilenumbruch im Badge */
    z-index: -10; /* Stellt sicher, dass es über anderen Elementen liegt */
}

/* Optional: Animation für das Badge */
@keyframes pulse {
    0% { transform: scale(1) rotate(5deg); opacity: 1; }
    50% { transform: scale(1.05) rotate(5deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(5deg); opacity: 1; }
}

/* Optional: Anpassung für kleinere Bildschirme / Mobile, damit das Badge nicht stört */
@media (max-width: 768px) {
    #menu-item-4369 a::after {
        content: none; /* Badge auf kleinen Bildschirmen ausblenden */
    }
}

/* Pop-up Overlay */
.popup-overlay {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dunkler, halbtransparenter Hintergrund */
    /* NEU: Flexbox für Zentrierung */
    display: flex; /* Aktiviert Flexbox für das Overlay */
    justify-content: center; /* Zentriert horizontal */
    align-items: center; /* Zentriert vertikal */
    z-index: 1000; /* Stellt sicher, dass es über allem liegt */
    opacity: 0; /* Für die Fade-In Animation */
    visibility: hidden; /* Für die Fade-In Animation */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Pop-up Content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px; /* Maximale Breite für Desktop */
    width: 90%; /* Responsive Breite */
    position: relative;
    /* Transformation für die Slide-In Animation (kommt von oben rein) */
    transform: translateY(-50px); /* Startposition leicht über der Mitte */
    transition: transform 0.3s ease-in-out;
    text-align: center;
    overflow-y: auto; /* Scrollbar für kleinere Bildschirme */
    max-height: 90vh; /* Maximale Höhe des Popups */
}

.popup-overlay.active .popup-content {
    transform: translateY(0); /* Endposition in der Mitte */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #333;
}

/* Innerer Bereich für Styling */
.popup-inner {
    padding: 10px;
}

.popup-inner h2 {
    color: #0056b3; /* Dunkelblau für Überschrift */
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 2em; /* Relativ größere Überschrift */
}

.popup-inner p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.popup-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block; /* Zentriert Bilder besser */
    margin-left: auto;
    margin-right: auto;
}

.popup-button {
    display: inline-block;
    background-color: #28a745; /* Grüner Button für Call-to-Action */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 10px;
}

.popup-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.small-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 15px;
}
/* Existing styles for .reminder-bell (as you provided) */
.reminder-bell {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Keep left: 20px for smaller screens and default */
    z-index: 999;
    background-color: white;
    border: 3px solid #cc8800; /* Goldener Rahmen */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reminder-bell:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.reminder-bell a {
    font-size: 3em;
    text-decoration: none;
    color: #333;
    line-height: 1;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: none;
}

.reminder-bell.animate a {
    animation: shake 2s infinite ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-5deg); }
    20% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    40% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
}

/* NEW: Adjustment for screens wider than 1200px */
@media (min-width: 1200px) {
    .reminder-bell {
        left: 50%; /* Center the bell horizontally first */
        margin-left: -560px; /* Shift it to the left by half content width + its own width/2 + desired offset */
        /* Calculation: -(960px / 2 + 50px / 2 + 30px)
           -960px/2 = -480px (half your content width)
           -50px/2 = -25px (half the bell's width)
           -30px (your desired offset from the content edge)
           Total: -480 - 25 - 30 = -535px. I've rounded to -530px for simplicity, adjust as needed. */
    }
}