/**
 * DHS-24 Custom Footer - Frontend Styles
 * Ruhiges, professionelles Design ohne Transparenz-Durchdrücken
 */

/* CSS Variablen - werden vom Plugin überschrieben */
:root {
    --dhs24-footer-bg: #1c1c1c;
    --dhs24-footer-text: #ffffff;
    --dhs24-footer-accent: #00adb5;
}

/* =============================================
   FOOTER HAUPT-CONTAINER
   ============================================= */

#dhs24-footer {
    background-color: var(--dhs24-footer-bg);
    color: var(--dhs24-footer-text);
    font-family: 'Alexandria', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    z-index: 10;
}

/* Kadence Footer komplett überschreiben/verstecken */
#colophon.site-footer,
.site-footer-wrap,
.site-top-footer-wrap,
.site-bottom-footer-wrap,
footer#colophon {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* =============================================
   ANIMIERTE TRENNLINIE
   ============================================= */

.dhs24-footer-line {
    position: relative;
    height: 2px;
    background: transparent;
    overflow: hidden;
}

.dhs24-footer-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--dhs24-footer-accent),
        transparent
    );
    animation: dhs24-line-move 8s linear infinite;
}

@keyframes dhs24-line-move {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* =============================================
   FOOTER MAIN CONTENT
   ============================================= */

.dhs24-footer-main {
    padding: 50px 0 40px;
}

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

.dhs24-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .dhs24-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .dhs24-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

/* =============================================
   SPALTE 1: BRAND / LOGO
   ============================================= */

.dhs24-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dhs24-footer-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 600px) {
    .dhs24-footer-logo {
        margin: 0 auto;
    }
}

.dhs24-footer-claim {
    font-size: 14px;
    color: var(--dhs24-footer-accent);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
}

/* =============================================
   SOCIAL ICONS
   ============================================= */

.dhs24-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .dhs24-social-icons {
        justify-content: center;
    }
}

.dhs24-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--dhs24-footer-text);
    transition: all 0.3s ease;
}

.dhs24-social-icon svg {
    width: 20px;
    height: 20px;
}

.dhs24-social-icon:hover {
    background: var(--dhs24-footer-accent);
    border-color: var(--dhs24-footer-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* =============================================
   SPALTEN-HEADINGS
   ============================================= */

.dhs24-footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--dhs24-footer-text);
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 12px;
}

.dhs24-footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--dhs24-footer-accent);
}

@media (max-width: 600px) {
    .dhs24-footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* =============================================
   KONTAKT-SPALTE
   ============================================= */

.dhs24-footer-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
}

.dhs24-footer-address strong {
    color: var(--dhs24-footer-text);
}

.dhs24-footer-contact {
    font-size: 14px;
    line-height: 2;
    margin: 0;
}

.dhs24-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dhs24-footer-contact a:hover {
    color: var(--dhs24-footer-accent);
}

.dhs24-footer-contact svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* =============================================
   RECHTLICHE SPALTE
   ============================================= */

.dhs24-footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dhs24-footer-legal li {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    padding-left: 0;
}

.dhs24-footer-legal li strong {
    color: rgba(255, 255, 255, 0.9);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* =============================================
   BOTTOM BAR / COPYRIGHT
   ============================================= */

.dhs24-footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dhs24-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 600px) {
    .dhs24-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.dhs24-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.dhs24-footer-nav {
    display: flex;
    gap: 24px;
}

.dhs24-footer-nav a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dhs24-footer-nav a:hover {
    color: var(--dhs24-footer-accent);
}

/* =============================================
   DARK MODE / KONTRAST
   ============================================= */

/* Sicherstellen, dass der Footer solide ist - keine Transparenz-Probleme */
#dhs24-footer,
.dhs24-footer-main,
.dhs24-footer-bottom {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* =============================================
   PRINT STYLES
   ============================================= */

@media print {
    #dhs24-footer {
        background: #fff;
        color: #000;
    }
    
    .dhs24-footer-line,
    .dhs24-social-icons {
        display: none;
    }
}
