/* ===== WEITERLEITUNGSELEMENT ===== */
.redirect-container {
    background: var(--card);
    border-radius: var(--border-radius);
    padding: var(--section-padding);
    max-width: 700px;
    width: 90%;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    margin: 0 auto;
    z-index: 10;
}

@keyframes fadeIn {
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

.redirect-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
}

.redirect-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    animation: var(--bounce-animation);
}

.redirect-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.redirect-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.redirect-countdown {
    font-size: 5rem;
    font-weight: bold;
    margin: 30px 0;
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.redirect-progress-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin: 30px 0;
    overflow: hidden;
}

[data-theme="light"] .redirect-progress-container {
    background: rgba(0, 0, 0, 0.05);
}

.redirect-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-color);
    border-radius: 5px;
    transition: width 1s linear;
}

.redirect-message {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.redirect-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons verwenden den bestehenden Stil */
.redirect-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--animation-duration) ease;
    box-shadow: var(--box-shadow);
}

.redirect-btn:hover {
    background: #3d8b40;
    transform: translateY(-5px);
    box-shadow: var(--glow-effect);
}

.redirect-btn.secondary {
    background: var(--secondary-color);
}

.redirect-btn.secondary:hover {
    background: #0b7dda;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.6);
}


[data-theme="light"] .redirect-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .redirect-container {
        padding: 30px 25px;
        width: 95%;
    }
    
    .redirect-title {
        font-size: 2rem;
    }
    
    .redirect-countdown {
        font-size: 4rem;
    }
    
    .redirect-logo {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .redirect-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .redirect-container {
        padding: 25px 20px;
        width: 100%;
        border-radius: 0;
    }
    
    .redirect-title {
        font-size: 1.8rem;
    }
    
    .redirect-countdown {
        font-size: 3.5rem;
        margin: 20px 0;
    }
    
    .redirect-logo {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .redirect-buttons {
        flex-direction: column;
    }
    
    .redirect-btn {
        width: 100%;
        justify-content: center;
    }
    
    .redirect-theme-toggle {
        top: 10px;
        right: 10px;
    }
}