/* public/assets/css/frontend/layout/footer.css

/* ==========================================================================
 * Footer-Komponenten und Stile
 * ========================================================================== */

/* ==========================================================================
 * INHALTSVERZEICHNIS:
 * 1. FOOTER-BASISKOMPONENTEN
 * 2. ÜBERSCHRIFTEN & BESCHREIBUNG
 * 3. REFERENZEN & EMPFEHLUNGEN
 * 4. SOCIAL MEDIA & LINKS
 * 5. LAYOUTELEMENTE
 * 6. AKTIONSKOMPONENTEN
 * 7. RESPONSIVE ANPASSUNGEN
 * 8. BARRIEREFREIHEIT & DRUCKANPASSUNGEN
 * ========================================================================== */


/* ==========================================================================
 * 1. FOOTER-BASISKOMPONENTEN
 * ========================================================================== */

/* ---------- 1.1 Footer-Container ---------- */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d2a42 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-section {
    height: 100%;
}


/* ==========================================================================
 * 2. ÜBERSCHRIFTEN & BESCHREIBUNG
 * ========================================================================== */

/* ---------- 2.1 Footer-Überschriften ---------- */
.footer__title {
    color: white !important;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 600;
    font-size: 1.25rem;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section:hover .footer__title::after {
    width: 50px;
}

.footer__title .text-accent {
    background: linear-gradient(135deg, var(--accent-color), #4db6ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- 2.2 Footer-Beschreibung ---------- */
.footer__description {
    line-height: 1.7;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
 * 3. REFERENZEN & EMPFEHLUNGEN
 * ========================================================================== */

/* ---------- 3.1 Referenz-Karten ---------- */
.featured-reference {
    margin-bottom: 1.5rem;
}

.reference-featured {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(38, 166, 154, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.reference-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.reference-featured:hover::before {
    left: 100%;
}

.reference-featured:hover {
    background: rgba(38, 166, 154, 0.15);
    border-color: rgba(38, 166, 154, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(38, 166, 154, 0.2);
    text-decoration: none;
    color: inherit;
}

.reference-featured svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(38, 166, 154, 0.3));
}

.reference-featured:hover svg {
    transform: translateX(5px) scale(1.1);
}

.reference-featured .fw-bold {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}


/* ==========================================================================
 * 4. SOCIAL MEDIA & LINKS
 * ========================================================================== */

/* ---------- 4.1 Social-Media-Links ---------- */
.footer__social {
    margin-top: 1rem;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(38, 166, 154, 0.4);
    border-color: var(--accent-color);
}

.social-link svg {
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ---------- 4.2 Footer-Links ---------- */
.footer__links {
    padding: 0;
    margin: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-radius: 4px;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 12px;
    text-decoration: none;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
    font-weight: bold;
}

.footer-link:hover::before {
    opacity: 1;
    left: -5px;
}


/* ==========================================================================
 * 5. LAYOUTELEMENTE
 * ========================================================================== */

/* ---------- 5.1 Footer-Trenner ---------- */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 3rem 0 2rem 0;
}

/* ---------- 5.2 Copyright-Bereich ---------- */
.footer__copyright {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}


/* ==========================================================================
 * 6. AKTIONSKOMPONENTEN
 * ========================================================================== */

/* ---------- 6.1 Scroll-nach-oben-Button ---------- */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(38, 166, 154, 0.4);
}

.scroll-top-btn svg {
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover svg {
    transform: translateY(-2px);
}


/* ==========================================================================
 * 7. RESPONSIVE ANPASSUNGEN
 * ========================================================================== */

/* ---------- 7.1 Tablet-Anpassungen ---------- */
@media (max-width: 991px) {
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-section {
        margin-bottom: 2.5rem;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .footer__title::after {
        width: 25px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* ---------- 7.2 Mobile-Anpassungen ---------- */
@media (max-width: 767px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2.5rem;
    }
    
    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer__social {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .featured-reference {
        display: flex;
        justify-content: center;
    }
    
    .reference-featured {
        justify-content: center;
        max-width: 280px;
    }
    
    .footer-divider {
        margin: 2.5rem 0 1.5rem 0;
    }
    
    /* Social Links auf Mobile größer */
    .social-link {
        width: 50px;
        height: 50px;
    }
    
    /* Footer Links zentrieren auf Mobile */
    .footer__links {
        text-align: center;
    }
    
    .footer-link:hover {
        padding-left: 0; /* Kein Padding-Shift auf Mobile */
    }
    
    .footer-link::before {
        display: none; /* Keine Pfeile auf Mobile */
    }
    
    /* Scroll-to-top Button */
    .scroll-top-btn {
        bottom: 80px; /* Über Developer Badge */
        right: 15px;
        width: 45px;
        height: 45px;
    }
}


/* ==========================================================================
 * 8. BARRIEREFREIHEIT & DRUCKANPASSUNGEN
 * ========================================================================== */

/* ---------- 8.1 Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
    .footer *,
    .social-link,
    .footer-link,
    .scroll-top-btn,
    .reference-featured {
        transition: none !important;
        animation: none !important;
    }
    
    .social-link:hover,
    .footer-link:hover,
    .scroll-top-btn:hover,
    .reference-featured:hover {
        transform: none !important;
    }
}

/* ---------- 8.2 Druckoptimierung ---------- */
@media print {
    .footer,
    .scroll-top-btn {
        display: none !important;
    }
}

/* ---------- 8.3 Dark-Mode-Anpassung ---------- */
@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #0a1a2a 0%, #051015 100%);
    }
    
    .social-link {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.05);
    }
    
    .reference-featured {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(38, 166, 154, 0.2);
    }
}