/* ==========================================================================
   Footer Modern - Comprehensive Footer with Social Media
   ========================================================================== */

.footer-modern {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(var(--blur-amount)) saturate(var(--blur-saturate));
    -webkit-backdrop-filter: blur(var(--blur-amount)) saturate(var(--blur-saturate));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    right: -50%;
    height: 1px;
    background: var(--primary-gradient);
    opacity: 0.5;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Top Section - Logo and Social */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* Logo fill based on theme */
.footer-logo .logo-fill path,
.footer-logo .logo-fill rect,
.footer-logo .logo-fill polygon {
    transition: fill 0.3s ease;
}

/* Nur Dark Mode - weißes Logo */
.footer-logo .logo-fill path,
.footer-logo .logo-fill rect,
.footer-logo .logo-fill polygon {
    fill: #ffffff;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Newsletter Section */
.footer-newsletter {
    background: var(--primary-gradient);
    padding: 3rem 0;
    margin: 3rem 0;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.newsletter-content {
    margin-bottom: 2rem;
}

.newsletter-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-input-group input {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group button {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.2rem;
}

.newsletter-input-group button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.newsletter-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10f981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Social Media Section */
.footer-social {
    text-align: left;
}

.footer-social-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Social Media Brand Colors on Hover */
.footer-social-link[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.footer-social-link[aria-label="YouTube"]:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
}

.footer-social-link[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
    color: white;
}

.footer-social-link[aria-label="Facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.footer-social-link[aria-label="TikTok"]:hover {
    background: #000000;
    border-color: #ff0050;
    color: white;
}

/* Middle Section - Info and Links */
.footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-section {
    text-align: left;
}

.footer-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    text-align: left;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

/* Company Info */
.footer-info {
    padding-right: 2rem;
    text-align: left;
}

.footer-address-group {
    margin-bottom: 1.5rem;
}

.footer-address-main {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-address-main i {
    color: var(--primary-color);
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.footer-address-main div {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-address-main strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.footer-entrance-hint {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.footer-entrance-hint i {
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
    font-size: 1rem;
}

.footer-entrance-hint span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--primary-color);
    min-width: 20px;
    text-align: center;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'UniNeue', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: var(--font-weight-regular);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    position: relative;
    text-align: left;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-nav a:hover::before {
    width: 100%;
}

/* Bottom Section */
.footer-bottom {
    text-align: left;
    padding-top: 2rem;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .footer-middle {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: 1 / -1;
        padding-right: 0;
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-brand {
        align-items: flex-start;
    }
    
    .footer-logo {
        width: 150px;
    }
    
    .footer-social-links {
        justify-content: flex-start;
    }
    
    .footer-middle {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-nav {
        align-items: flex-start;
    }
    
    .footer-nav a:hover {
        padding-left: 10px;
    }
    
    .footer-info {
        text-align: left;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .footer-address-main {
        justify-content: flex-start;
    }
    
    .footer-entrance-hint {
        text-align: left;
        max-width: 100%;
        margin: 1rem 0 1.5rem;
    }
    
    .footer-contact-item {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        width: 120px;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-social-links {
        gap: 0.8rem;
    }
    
    .footer-section-title {
        font-size: 1rem;
    }
    
    .footer-nav a {
        font-size: 0.9rem;
    }
}