footer {
    background-color: #1a1a1a;
    color: var(--text-muted);
    padding: 40px 0 20px; 
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.footer-wrapper {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 5%; 
}

.footer-top {
    display: grid;
    align-items: start; 
    grid-template-columns: repeat(3, 1fr); 
    justify-items: center; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.footer-contact, 
.footer-social, 
.footer-rechtliches {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.footer-contact h4, 
.footer-social h4, 
.footer-rechtliches h4 {
    color: var(--white);
    margin-bottom: 15px; 
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-contact a, 
.footer-social a, 
.footer-rechtliches a {
    display: inline-flex; 
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px; 
    white-space: nowrap; 
    transition: 0.3s;
}

.footer-contact a:hover, 
.footer-social a:hover, 
.footer-rechtliches a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    footer {
        padding: 30px 0 15px;
    }
    .footer-top {
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 30px;
    }
    .footer-contact, 
    .footer-social, 
    .footer-rechtliches {
        align-items: center;
    }
    .footer-social a, 
    .footer-contact a, 
    .footer-rechtliches a {
        justify-content: center;
    }
}