/* Footer Styles */
footer {
    background: var(--primary-dark);
    color: #e8edf2;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

/* 3 Bereiche */
.footer-bereich {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-bereich:last-of-type {
    border-bottom: none;
}
.footer-bereich-title {
    color: rgba(255,255,255,0.5);
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* 4 Spalten Grid */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* Footer Spalten (aus footer.js) */
.footer-column {
    min-width: 0;
}

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

.footer-column li {
    margin-bottom: 0.4rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-heading {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

.footer-legal span,
.footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-sm);
}

.footer-legal a:hover {
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    color: white;
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--secondary-color);
}

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

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-contact-item i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-sm);
}

.footer-legal a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

/* Share-Leiste */
.footer-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem var(--spacing-xl);
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}
.footer-share-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-right: 0.5rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white !important;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.85; }
.share-facebook  { background: #1877F2; }
.share-whatsapp  { background: #25D366; }
.share-linkedin  { background: #7a6a57; }
.share-email     { background: #6b6b6b; }

/* Social Icons im Footer-Bottom */
.social-facebook {
    background: #1877F2 !important;
    color: white !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}
.social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    color: white !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
}

.social-linkedin {
    background: #0A66C2 !important;
    color: white !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}
