/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2c3e50, #1a1a1a);
    color: white;
    padding: 60px 20px 30px;
}

.footer-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Für drei Spalten am besten geeignet */
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

/* Grundstile für alle Spalten */
.footer-left,
.footer-services, /* Hier wird das später überschrieben */
.footer-right {
    flex: 1; /* Nehmen den verfügbaren Platz ein */
    min-width: 280px; /* Mindestbreite vor dem Umbrechen */
    margin-bottom: 20px; /* Abstand auf kleineren Bildschirmen */
}

/* Spezifische Textausrichtung pro Spalte */
.footer-left {
    text-align: left; /* Linke Spalte: Text linksbündig */
}

.footer-services {
    text-align: center; /* <<< NEU: Mittlere Spalte: Text mittig */
}

.footer-right {
    text-align: right; /* Rechte Spalte: Text rechtsbündig */
}

/* Überschriften-Stile */
.footer-left h3,
.footer-services h3,
.footer-right h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block; /* Wichtig für die ::after-Positionierung */
}

/* Unterstreichung für linke Überschrift */
.footer-left h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #ea0000;
}

/* Unterstreichung für mittlere Überschrift */
.footer-services h3::after {
    content: '';
    position: absolute;
    left: 50%; /* <<< NEU: Positionierung für Mitte */
    transform: translateX(-50%); /* <<< NEU: Für perfekte Zentrierung */
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #ea0000;
}

/* Unterstreichung für rechte Überschrift */
.footer-right h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: #ea0000;
}

/* --- Linke Footer-Spalte (Büro in Waldbröl) --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #bbb;
}

.contact-icon {
    color: #ea0000;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ea0000;
}

/* --- Mittlere Footer-Spalte (Unsere Leistungen) --- */
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    margin-bottom: 10px;
}

.footer-services a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    padding: 5px 0;
    /* Optional: Um die einzelnen Links im Services-Bereich zu zentrieren, falls sie nicht schon sind */
}

.footer-services a:hover {
    color: #ea0000;
    transform: translateX(0); /* Keine Verschiebung, da Text zentriert ist */
}

/* --- Rechte Footer-Spalte (Wichtige Links) --- */
.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-right li {
    margin-bottom: 10px;
}

.footer-right a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}

.footer-right a:hover {
    color: #ea0000;
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-end;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background: #ea0000;
    transform: translateY(-3px);
    color: white;
}

/* Copyright Bereich */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #777;
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}