/* ==========================================
   FOOTER STYLES
   ========================================== */

.main-footer {
    background: linear-gradient(135deg, 
        rgba(40, 44, 52, 0.98) 0%, 
        rgba(33, 37, 43, 1) 100%);
    color: #e4e6eb;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Footer Content Grid ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-section p {
    margin: 0.5rem 0;
    color: #b0b3b8;
    line-height: 1.6;
}

.footer-section a {
    color: #b0b3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00d9ff; /* Cyan statt Lila */
}

/* ===== Footer Navigation List ===== */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    display: inline-block;
    padding: 0.25rem 0;
    transition: transform 0.2s ease, color 0.3s ease;
}

.footer-section ul li a:hover {
    transform: translateX(5px);
    color: #00d9ff; /* Cyan statt Lila */
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #e4e6eb;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #00d9ff 0%, #00b8d4 100%); /* Cyan-Gradient */
    color: #0a1929; /* Dunkler Text wie in der Navigation */
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.5); /* Cyan-Glow */
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: #b0b3b8;
}

.footer-bottom p {
    margin: 0;
    color: #b0b3b8;
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: #b0b3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00d9ff; /* Cyan statt Lila */
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 768px) {
    .main-footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
}

/* ==========================================
   DARK MODE ENHANCEMENTS (Optional)
   ========================================== */

@media (prefers-color-scheme: dark) {
    .main-footer {
        background: linear-gradient(135deg, 
            rgba(20, 23, 28, 0.98) 0%, 
            rgba(15, 18, 22, 1) 100%);
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.footer-section a:focus,
.social-links a:focus {
    outline: 2px solid #00d9ff; /* Cyan statt Lila */
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .footer-section ul li a,
    .social-links a {
        transition: none;
    }
}
