/* /css/footer.css */

footer {
    background-color: #1a1a1a;
    color: #f9f5f0;
    padding: 60px 0 20px 0;
    margin-top: 80px;
    border-top: 2px solid #c5835d;
    font-family: 'Georgia', serif;
    width: 100%;
    position: relative;
    left: 0;
    clear: both;
    box-sizing: border-box;
}

/* 1. STANDARD FÜR ALLE (MOBILE FIRST) */
.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    text-align: left; /* Alles linksbündig für Handys */
}

/* Stile für alle Links im Footer */
.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c5835d;
}

.footer-section h4 {
    color: #c5835d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p, .footer-section ul {
    line-height: 1.8;
    font-size: 0.95rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-content {
    max-width: 1100px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 2. DESKTOP ANPASSUNGEN (AB 769PX) */
@media screen and (min-width: 769px) {
    .footer-section:first-child { text-align: left; }
    .footer-section:last-child { text-align: right; }
    /* Email in der Mitte optional zentrieren: */
    .footer-section:nth-child(2) { text-align: center; } 
}

/* Footer-Bottom (Copyright) */
.footer-bottom {
    width: 100%;
    max-width: 1100px;
    margin: 20px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* Full-Width Ausbruch */
@media screen and (min-width: 1px) {
    footer {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
}