/* ========================================================================
   SMG USE CASE TEASER WIDGET
   Anwendungsfall-Karten mit Produkt-Empfehlungen
   ======================================================================== */

.smg-use-case-teaser {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Section Header */
.smg-use-case-teaser .section-header {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.smg-use-case-teaser .section-title {
    /* Use unified title system from common.css */
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--smg-space-lg);
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: var(--smg-gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smg-use-case-teaser .section-subtitle {
    /* Use unified subtitle system from common.css */
    font-size: var(--smg-text-xl);
    color: var(--smg-text-light-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layout */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Use Case Cards */
.use-case-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.use-case-card:hover::before {
    transform: scaleX(1);
}

/* Enhanced Icon Styling */
.use-case-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%);
    border-radius: 24px;
    margin-bottom: 2rem;
    color: white;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 12px 25px rgba(239, 68, 68, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all var(--transition-base);
}

.use-case-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: shimmer 3s ease-in-out infinite;
}

.use-case-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: inherit;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 
        0 15px 35px rgba(239, 68, 68, 0.4),
        0 0 40px rgba(239, 68, 68, 0.2);
}

.use-case-icon i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Title & Description */
.use-case-title {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.use-case-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Recommended Products Section */
.recommended-products {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.recommended-products h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #fbbf24;
    transition: all var(--transition-base);
}

.product-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.product-tag i {
    font-size: 0.7rem;
}

/* CTA Button */
.use-case-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #b91c1c 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.use-case-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    text-decoration: none;
    color: white;
}

.use-case-cta i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.use-case-cta:hover i {
    transform: translateX(2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .smg-use-case-teaser {
        padding: 3rem 0;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .use-case-card {
        padding: 2rem;
    }
    
    .use-case-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .use-case-title {
        font-size: 1.25rem;
    }
    
    .use-case-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .use-case-card {
        padding: 1.5rem;
    }
    
    .use-case-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .product-tags {
        justify-content: center;
    }
} 