/* Footer-Design: Saison 2024/25 (Default)
   Hinweis: Inhalte stammen aus assets/css/base/footer.css
*/

/* Import der bestehenden Footer-Basisregeln, falls gewünscht können hier nur Differenzen stehen. */
/* Für jetzt kopieren wir die aktuelle Implementierung 1:1, damit das Dropdown sichtbar wirkt. */

/* ======================================
   FOOTER STYLES (Saison 2024/25)
====================================== */

/* Footer Layout */
.footer {
    background-color: var(--fuechse-grau-dunkel);
    color: var(--text-weiss);
    padding: 20px 0 20px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Neues Pseudo-Element für das SVG-Muster mit fester Größe */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../../../img/pattern-structure/pattern-halftone-dots.webp');
    background-repeat: no-repeat;
    background-size: 1800px;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
    /* Gedreht, aber vollflächig anzeigen */
    transform-origin: right center;
    background-position: right center; /* Ausrichtung beibehalten */
}

/* Sicherstellen, dass der Footer-Inhalt über dem Hintergrund liegt */
.footer-content, 
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-content {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-transparent); /* Neue Trennlinie */
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 0 30px 30px; /* Änderung von 15px auf 30px für mehr Abstand zwischen den Sektionen */
}

.footer-section h3 {
    font-family: 'Redzone BlackReg', sans-serif;
    color: var(--text-weiss);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    font-family: 'Poppins-Regular';
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-weiss);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--fuechse-rot);
}

.contact-info {
    font-family: 'Poppins-Regular';
}

.social-icons-footer {
    display: flex;
    gap: 15px;
    margin-bottom: 0; /* Entfernung des vorherigen Abstands */
    justify-content: flex-start;
}

.social-icons-footer a {
    font-size: 24px;
    color: var(--text-weiss);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons-footer a:hover {
    color: var(--fuechse-rot);
}

.footer-bottom {
    width: 95%;
    max-width: 1400px;
    margin: 20px auto 0;
    padding: 40px 0 0;
    border-top: 1px solid var(--border-transparent);
    text-align: center;
    font-family: 'Poppins-Regular';
}

.legal-links {
    margin-bottom: 50px;
}

.legal-links a {
    color: var(--text-weiss);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--fuechse-rot);
}

.combined-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-top: 65px; /* Erhöhung des Abstands von 45px auf 65px */
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0; /* Abstand nach unten zu den Social Icons */
    text-align: left;
}

.quick-links li {
    margin-bottom: 10px;
}

.logo-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 45px; /* Hinzufügen von Padding oben */
}

.footer-logo {
    max-width: 300px; /* Vergrößerung von 150px auf 200px */
    height: auto;
}

.contact-section {
    flex: 1;
    text-align: left;
}

.contact-section h3 {
    margin-bottom: 15px; /* Reduzierung des Abstands zur besseren Angleichung */
}

.footer .contact-section {
    padding-top: 20px;
}

.footer .contact-section h3 {
    margin-top: 0;
    padding-top: 0;
}

/* Footer Kontaktsektion Anpassung */
.footer .contact-section h3 {
    margin-top: 0;
    padding-top: 0;
}

.footer .contact-section {
    padding-top: 20px; /* Konsistenten Abstand nach oben einfügen */
}

/* Footer-Menü Styling für Legal Links */
.footer-bottom .legal-links {
    display: flex;
    gap: 20px;
    margin-bottom: 50px; /* Zurück zum ursprünglichen Wert von 50px */
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.footer-bottom .legal-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom .legal-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1em; /* Zurück zur ursprünglichen Schriftgröße */
    transition: color 0.3s ease;
}

.footer-bottom .legal-links a:hover {
    color: var(--fuechse-rot);
}

/* ======================================
   RESPONSIVE FOOTER ANPASSUNGEN
====================================== */

/* Responsive Anpassungen für das Footer-Menü */
@media (max-width: 768px) {
    .footer-bottom .legal-links {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px; /* Behält den reduzierten Abstand für mobile Ansicht */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-section {
        min-width: auto;
        margin: 0 20px 20px;
    }
    
    .combined-section {
        padding-top: 20px;
        align-items: center;
        text-align: center;
    }
    
    .logo-section {
        padding-top: 20px;
        justify-content: center;
    }
    
    .footer-logo {
        max-width: 200px;
    }
    
    .social-icons-footer {
        justify-content: center;
    }
}
