/* Jubiläums-Button in der Navigation */
.btn-jubilaeum {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.btn-jubilaeum:hover {
    background: linear-gradient(45deg, #ff5252, #26a69a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

/* 30 Jahre Jubiläums-Animation */
.jubilaeum-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.jubilaeum-overlay.show {
    opacity: 1;
    visibility: visible;
}

.jubilaeum-banner {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.5) rotate(-10deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    width: 90vw;
    max-width: 600px;
    max-height: 90vh;
    margin: 0 auto;
}

.jubilaeum-overlay.show .jubilaeum-banner {
    transform: scale(1) rotate(0deg);
}

.jubilaeum-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: sparkle 2s linear infinite;
}

.jubilaeum-content {
    position: relative;
    z-index: 2;
}

.jubilaeum-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    animation: bounceIn 1s ease 0.5s both;
}

.jubilaeum-subtitle {
    font-size: 1.8rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.8s both;
}

.jubilaeum-text {
    font-size: 1.2rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 1.1s both;
}

.jubilaeum-button {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 1.4s both;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.jubilaeum-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Konfetti-Animation - Explosions-Effekt */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    z-index: 9998;
    pointer-events: none;
}

/* Explosions-Animation für die erste Welle */
.confetti-explosion {
    animation: confettiExplosion 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center;
}

/* Zweite Explosionswelle */
.confetti-explosion.confetti-wave2 {
    animation: confettiExplosion 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Verschiedene Konfetti-Farben */
.confetti:nth-child(2n) {
    background: #4ecdc4;
}

.confetti:nth-child(3n) {
    background: #45b7d1;
}

.confetti:nth-child(4n) {
    background: #96ceb4;
}

.confetti:nth-child(5n) {
    background: #feca57;
}

.confetti:nth-child(6n) {
    background: #ff9ff3;
}

.confetti:nth-child(7n) {
    background: #54a0ff;
}

.confetti:nth-child(8n) {
    background: #5f27cd;
}

.confetti:nth-child(9n) {
    background: #00d2d3;
}

.confetti:nth-child(10n) {
    background: #ff9f43;
}

.confetti:nth-child(11n) {
    background: #10ac84;
}

.confetti:nth-child(12n) {
    background: #ee5a24;
}

/* Keyframe-Animationen */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes confettiExplosion {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0);
        opacity: 1;
    }
    10% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) rotate(var(--rotation)) scale(0.8);
        opacity: 0;
    }
}

/* Fallback-Animation für ältere Browser */
@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Explosions-Effekt */
.explosion-effect {
    position: fixed;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 215, 0, 0.8) 20%, 
        rgba(255, 165, 0, 0.6) 40%, 
        rgba(255, 69, 0, 0.4) 60%, 
        transparent 80%);
    border-radius: 50%;
    z-index: 9997;
    pointer-events: none;
    animation: explosionFlash 0.8s ease-out forwards;
    transform: scale(0);
}

@keyframes explosionFlash {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0.8;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .jubilaeum-banner {
        padding: 30px 20px;
        width: 95vw;
        max-width: none;
        margin: 10px;
    }
    
    .jubilaeum-title {
        font-size: 2.5rem;
    }
    
    .jubilaeum-subtitle {
        font-size: 1.4rem;
    }
    
    .jubilaeum-text {
        font-size: 1rem;
    }
    
    .jubilaeum-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .jubilaeum-banner {
        width: 98vw;
        padding: 25px 15px;
        margin: 5px;
    }
    
    .jubilaeum-title {
        font-size: 2rem;
    }
    
    .jubilaeum-subtitle {
        font-size: 1.2rem;
    }
    
    .jubilaeum-text {
        font-size: 0.9rem;
    }
}

/* Schließen-Button */
.jubilaeum-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.jubilaeum-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Jubiläums-Badge für die Navigation */
.jubilaeum-badge {
    position: relative;
    display: inline-block;
}

.jubilaeum-badge::after {
    content: '30';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
} 