/**
 * Hero Section - Centered Layout
 * Minimalistisch mit Kategorie-Carousel
 */

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    position: relative;
    background: #ffffff;
    padding: 10px 0 0;
    overflow: visible;
}

.hero::before,
.hero::after {
    display: none !important;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Background RS Logo */
.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.hero-bg-logo svg {
    width: 100%;
    height: 100%;
}

/* Decorative S Element */
.hero-decorative-s {
    position: absolute;
    left: 100px;
    bottom: 180px;
    width: auto;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero-decorative-s img {
    height: 100%;
    width: auto;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px 0 30px;
}

/* ===============================================
   TYPOGRAPHY
   =============================================== */

.hero-headline {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.hero-subline {
    font-size: 22px;
    line-height: 1.5;
    color: #4a4a4a;
    margin: 0 0 24px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subline .highlight {
    position: relative;
    padding-bottom: 4px;
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8'%3E%3Cpath d='M0 5 Q 25 1, 50 5 T 100 5' stroke='%237c3aed' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 8px;
}

/* ===============================================
   CTA BUTTON
   =============================================== */

.hero-cta-center {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 48px;
    background: #7C3AED;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-hero-primary:hover {
    background: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.4);
}

/* ===============================================
   CATEGORY CAROUSEL
   =============================================== */

.category-carousel-wrapper {
    margin-top: 0;
    padding: 0;
    background: transparent;
    overflow: hidden;
    position: relative;
}

.category-carousel {
    display: flex;
    gap: 0;
    padding: 0;
    margin: 0;
    animation: category-carousel-scroll 40s linear infinite;
    will-change: transform;
}

.category-carousel:hover {
    animation-play-state: paused;
}

@keyframes category-carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* ===============================================
   CATEGORY CARDS
   =============================================== */

.category-card {
    flex: 0 0 calc(100% / 6);
    height: 350px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.category-title {
    position: absolute;
    top: 32px;
    left: 24px;
    right: 24px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 1200px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-inner {
        padding: 0 32px;
    }
    
    .hero-headline {
        font-size: 48px;
    }
    
    .hero-subline {
        font-size: 18px;
    }
    
    .category-card {
        flex: 0 0 calc(100% / 4);
        height: 320px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-inner {
        padding: 0 24px;
    }
    
    .hero-brand svg {
        width: 80px;
        height: 80px;
    }
    
    .hero-headline {
        font-size: 36px;
    }
    
    .hero-subline {
        font-size: 16px;
    }
    
    .hero-subline br {
        display: none;
    }
    
    .btn-hero-primary {
        padding: 16px 36px;
        font-size: 16px;
    }
    
    .category-carousel-wrapper {
        margin-top: 60px;
    }
    
    .category-card {
        flex: 0 0 calc(100% / 3);
        height: 280px;
    }
    
    .category-title {
        font-size: 18px;
        bottom: 20px;
        left: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 32px;
    }
    
    .hero-inner {
        padding: 0 20px;
    }
    
    .hero-brand {
        margin-bottom: 32px;
    }
    
    .hero-brand svg {
        width: 60px;
        height: 60px;
    }
    
    .hero-headline {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .hero-subline {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .hero-cta-center {
        margin-bottom: 60px;
    }
    
    .btn-hero-primary {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .category-carousel {
        gap: 0;
    }
    
    .category-card {
        flex: 0 0 50%;
        height: 250px;
    }
    
    .category-title {
        font-size: 16px;
        bottom: 16px;
        left: 12px;
        right: 12px;
    }
}
