/* ========================================================================
   ULTRA-MODERN FOOTER - STATE OF THE ART DESIGN
   ======================================================================== */

:root {
    --footer-primary: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    --footer-text: rgba(255, 255, 255, 0.9);
    --footer-text-dim: rgba(255, 255, 255, 0.7);
    --footer-accent: rgba(255, 255, 255, 0.1);
    --footer-glass: rgba(255, 255, 255, 0.05);
    --footer-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
    --footer-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-modern-footer {
    background: var(--footer-primary);
    position: relative;
    margin-top: 0 !important;
    overflow: hidden;
    box-shadow: var(--footer-shadow);
    z-index: 10;
}

.smg-modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.smg-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 2;
}

/* Main Footer Content */
.smg-footer-main {
    margin-bottom: 4rem;
    position: relative;
    padding: 3rem 0;
}

/* Widget Area - Volle Breite */
.smg-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 3;
}

.smg-footer-widget {
    color: var(--footer-text);
}

.smg-footer-widget h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.smg-footer-widget p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--footer-text);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.smg-footer-widget strong {
    color: white;
    font-weight: 600;
}

/* WordPress Widget Styling */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget-title,
.smg-footer-widgets .widget-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.smg-footer-widgets .widget {
    margin-bottom: 2rem;
    color: var(--footer-text);
}

.smg-footer-widgets .widget p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--footer-text);
}

.smg-footer-widgets .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.smg-footer-widgets .widget li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.smg-footer-widgets .widget li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.smg-footer-widgets .widget a {
    color: var(--footer-text-dim);
    text-decoration: none;
    transition: var(--footer-transition);
}

.smg-footer-widgets .widget a:hover {
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Site Brand (rechts, dezent) */
.smg-footer-brand {
    text-align: right;
    position: relative;
    z-index: 3;
}

.smg-footer-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Viel kleiner */
    font-weight: 700;
    color: white;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-footer-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--footer-text-dim);
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    font-style: italic;
}

/* Glassmorphism Background */
.smg-footer-glass-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.smg-footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* Footer Bottom Bar */
.smg-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 2rem;
}

.smg-footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.smg-footer-link {
    color: var(--footer-text-dim);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--footer-transition);
    position: relative;
    padding: 0.5rem 0;
}

.smg-footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.5));
    transition: width 0.3s ease;
}

.smg-footer-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.smg-footer-link:hover::after {
    width: 100%;
}

.smg-footer-separator {
    color: var(--footer-text-dim);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Footer Right Section */
.smg-footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.smg-social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--footer-text-dim);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--footer-transition);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.smg-social-item i {
    font-size: 1.1rem;
    transition: var(--footer-transition);
}

.smg-social-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.smg-social-item[data-platform="linkedin"]:hover {
    background: linear-gradient(135deg, #0077b5, rgba(255, 255, 255, 0.1));
}

.smg-social-item[data-platform="instagram"]:hover {
    background: linear-gradient(135deg, #E4405F, #833AB4, rgba(255, 255, 255, 0.1));
}

.smg-footer-year {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    padding: 0.75rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Animated Background Elements */
.smg-footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.smg-floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.6;
}

.smg-floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 40px;
    height: 40px;
}

.smg-floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
}

.smg-floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .smg-footer-container {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .smg-footer-main {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .smg-footer-widgets {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .smg-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .smg-footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .smg-footer-separator {
        display: none;
    }
    
    .smg-footer-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }
    
    .smg-social-links {
        justify-content: flex-start;
        width: 100%;
    }
    
    .smg-social-item {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
    
    .smg-footer-year {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .smg-footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .smg-footer-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .smg-social-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .smg-footer-link {
        font-size: 0.8rem;
    }
    
    .smg-floating-element {
        display: none; /* Hide floating elements on very small screens */
    }
}

/* High-end hover effects */
@media (hover: hover) {
    .smg-footer-title:hover {
        animation-duration: 1s;
    }
    
    .smg-footer-glass-bg:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .smg-footer-title,
    .smg-footer-particles,
    .smg-floating-element {
        animation: none;
    }
    
    .smg-footer-link,
    .smg-social-item {
        transition: none;
    }
}

/* Print styles */
@media print {
    .smg-modern-footer {
        background: #dc2626 !important;
        box-shadow: none;
    }
    
    .smg-footer-bg-animation,
    .smg-footer-particles,
    .smg-footer-glass-bg {
        display: none;
    }
} 