/* =============================================================
   KATS GMBH - FOOTER STYLES
   Extracted from services.html for reusability
============================================================= */

/* =============================================================
   CSS Variables werden jetzt zentral in css-variables.css verwaltet
   Diese Datei sollte NACH css-variables.css geladen werden
============================================================= */

/* FOOTER STYLES */
.modern-footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-svg {
    height: 96px; /* Doppelt so groß wie vorher (48px -> 96px) */
    width: auto;
    filter: brightness(0) invert(1); /* White for dark footer background */
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto; /* Zentriert das Logo horizontal */
}

.footer-logo:hover .footer-logo-svg {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cert-badge i {
    color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
}

.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(24, 129, 221, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* RESPONSIVE DESIGN */

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-main {
        display: grid !important;
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr !important;
        gap: 2rem !important;
    }
    
    .footer-content {
        padding: 0 1.5rem;
    }
    
    .footer-logo-svg {
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 1rem !important;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-main {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-logo-svg {
        height: 84px; /* Auch auf mobile doppelt so groß */
    }
    
    .footer-brand p {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-certifications {
        justify-content: center !important;
        gap: 1rem !important;
    }
    
    .cert-badge {
        font-size: 0.8rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links h4 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .footer-links a {
        font-size: 0.95rem !important;
    }
    
    .footer-newsletter {
        text-align: center;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .footer-newsletter h4 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .footer-newsletter p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .newsletter-form {
        margin-bottom: 1.5rem !important;
    }
    
    .newsletter-form input {
        font-size: 0.95rem !important;
        padding: 0.875rem !important;
    }
    
    .newsletter-form button {
        width: 50px !important;
        height: 50px !important;
    }
    
    .social-links {
        justify-content: center !important;
        gap: 1rem !important;
    }
    
    .social-links a {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .footer-bottom {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }
    
    .footer-legal a {
        font-size: 0.85rem !important;
    }
    
    .footer-copy p {
        font-size: 0.85rem !important;
    }
    
    /* Back to Top Button Mobile */
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        bottom: 1rem !important;
        right: 1rem !important;
        font-size: 1.1rem !important;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .footer-content {
        padding: 0 0.75rem;
    }
    
    .footer-main {
        gap: 2rem !important;
    }
    
    .footer-logo-svg {
        height: 72px;
    }
    
    .cert-badge {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-form button {
        width: 100% !important;
        height: 45px !important;
        border-radius: 25px !important;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.75rem !important;
    }
}

/* Ultra Small Devices */
@media (max-width: 375px) {
    .footer-certifications {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }
    
    .footer-logo-svg {
        height: 64px;
    }
} 