/* ========================================================================
   SMG MODERN HERO SECTION WIDGET - ULTRA MODERN WITH GLASSMORPHISM
   Flexibles Hero-Widget für den Anfang von Seiten im modernen Design
   ======================================================================== */

.smg-modern-hero-widget {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Background Effects */
.smg-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

/* Animated Background Particles */
.smg-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.smg-hero-particles::before,
.smg-hero-particles::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: hero-float 25s ease-in-out infinite;
}

.smg-hero-particles::before {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.smg-hero-particles::after {
    bottom: 15%;
    right: 10%;
    animation-delay: 12s;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
}

@keyframes hero-float {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(30px, -20px) scale(1.1) rotate(5deg); }
    50% { transform: translate(-20px, 30px) scale(0.9) rotate(-3deg); }
    75% { transform: translate(25px, -15px) scale(1.05) rotate(2deg); }
}

/* Floating Icons */
.smg-hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.smg-floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: icon-float 8s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.smg-floating-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.smg-floating-icon:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.smg-floating-icon:nth-child(3) {
    bottom: 25%;
    left: 10%;
    animation-delay: 4s;
}

.smg-floating-icon:nth-child(4) {
    bottom: 35%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-15px) rotate(5deg); opacity: 1; }
    50% { transform: translateY(-8px) rotate(-3deg); opacity: 0.8; }
    75% { transform: translateY(-12px) rotate(2deg); opacity: 0.9; }
}

/* Main Container */
.smg-hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
}

/* Hero Content Layout */
.smg-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Text Content */
.smg-hero-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.smg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-red, #dc2626), rgba(255, 255, 255, 0.1));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
    animation: eyebrow-pulse 3s ease-in-out infinite;
}

@keyframes eyebrow-pulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5); }
}

.smg-hero-eyebrow i {
    font-size: 1rem;
}

.smg-hero-title {
    /* Use unified title system from common.css */
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--smg-space-xl);
    letter-spacing: -0.02em;
    background: var(--smg-gradient-brand-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-red, #dc2626), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.smg-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* CTA Buttons */
.smg-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.smg-hero-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

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

.smg-hero-btn:hover::before {
    left: 100%;
}

.smg-hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-red, #dc2626), #f97316);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.smg-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
}

.smg-hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.smg-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Visual Content */
.smg-hero-visual {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.5s forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.smg-hero-visual-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.smg-hero-visual-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(220, 38, 38, 0.1) 50%, 
        rgba(16, 185, 129, 0.1) 100%);
    border-radius: 24px;
    animation: visual-glow 6s ease-in-out infinite;
}

@keyframes visual-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Placeholder für Custom Content */
.smg-hero-visual-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.smg-hero-visual-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red, #dc2626), #f97316);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4);
    animation: visual-bounce 4s ease-in-out infinite;
}

@keyframes visual-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.smg-hero-visual-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Features List */
.smg-hero-features {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.smg-hero-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.smg-hero-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.smg-hero-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue, #3b82f6), #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.smg-hero-feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .smg-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .smg-hero-visual-container {
        height: 400px;
    }
    
    .smg-hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .smg-modern-hero-widget {
        padding: 4rem 0;
        min-height: 80vh;
    }
    
    .smg-hero-container {
        padding: 0 1rem;
    }
    
    .smg-hero-actions {
        justify-content: center;
    }
    
    .smg-hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .smg-hero-visual-container {
        height: 300px;
        padding: 2rem;
    }
    
    .smg-floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .smg-hero-eyebrow {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .smg-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .smg-hero-actions {
        flex-direction: column;
    }
    
    .smg-hero-visual-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Animation Delays für Staggered Effect */
.smg-hero-feature:nth-child(1) { animation-delay: 0.1s; }
.smg-hero-feature:nth-child(2) { animation-delay: 0.2s; }
.smg-hero-feature:nth-child(3) { animation-delay: 0.3s; }
.smg-hero-feature:nth-child(4) { animation-delay: 0.4s; }

.smg-hero-feature {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clean Theme Support */
.smg-modern-hero-widget[data-style="clean"] {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.smg-modern-hero-widget[data-style="clean"] .smg-hero-title {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-modern-hero-widget[data-style="clean"] .smg-hero-subtitle {
    color: #64748b;
}

.smg-modern-hero-widget[data-style="clean"] .smg-hero-visual-container {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.smg-modern-hero-widget[data-style="clean"] .smg-hero-visual-text {
    color: #64748b;
} 