/**
 * CockpitOS Light Theme - Hero Widget Styles
 * 
 * Verantwortlichkeit: Hero Widget Styling
 * Responsive, Modern, Performance-optimiert
 * 
 * @package CockpitOS_Light_Theme
 * @version 1.0.0
 */

/* ========================================
   Hero Container
   ======================================== */

.cockpit-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Media Background
   ======================================== */

.cockpit-hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cockpit-hero__image,
.cockpit-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slideshow */
.cockpit-hero__slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.cockpit-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.cockpit-hero__slide.active {
    opacity: 1;
}

.cockpit-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Overlay
   ======================================== */

.cockpit-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* ========================================
   Content Container
   ======================================== */

.cockpit-hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4, 1.5rem);
}

/* ========================================
   Content
   ======================================== */

.cockpit-hero__content {
    text-align: center;
    color: #ffffff;
    margin-bottom: var(--spacing-8, 3rem);
}

.cockpit-hero__content--left {
    text-align: left;
}

.cockpit-hero__content--right {
    text-align: right;
}

.cockpit-hero__subtitle {
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-3, 1rem);
    opacity: 0.9;
}

.cockpit-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-4, 1.5rem);
}

.cockpit-hero__description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-6, 2rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cockpit-hero__content--left .cockpit-hero__description {
    margin-left: 0;
}

.cockpit-hero__content--right .cockpit-hero__description {
    margin-right: 0;
}

/* CTA Button */
.cockpit-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2, 0.5rem);
    padding: 1rem 2rem;
    background-color: var(--color-primary, #2563eb);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cockpit-hero__cta:hover {
    background-color: var(--color-primary-dark, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Info Cards
   ======================================== */

.cockpit-hero__cards {
    position: relative;
    z-index: 4;
}

.cockpit-hero__cards--bottom {
    margin-top: calc(var(--spacing-8, 3rem) * -1);
}

.cockpit-hero__cards--overlay {
    position: absolute;
    bottom: var(--spacing-6, 2rem);
    left: 0;
    right: 0;
}

.cockpit-hero__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-4, 1.5rem);
}

.cockpit-hero__card {
    background-color: #ffffff;
    padding: var(--spacing-6, 2rem);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cockpit-hero__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cockpit-hero__card-icon {
    font-size: 2.5rem;
    color: var(--color-primary, #2563eb);
    margin-bottom: var(--spacing-3, 1rem);
}

.cockpit-hero__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-2, 0.5rem);
    color: var(--color-text, #1f2937);
}

.cockpit-hero__card-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-light, #6b7280);
    margin: 0;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .cockpit-hero {
        min-height: 400px;
    }
    
    .cockpit-hero__subtitle {
        font-size: 0.875rem;
    }
    
    .cockpit-hero__description {
        font-size: 1rem;
    }
    
    .cockpit-hero__cards-grid {
        grid-template-columns: 1fr;
    }
    
    .cockpit-hero__cards--bottom {
        margin-top: calc(var(--spacing-4, 1.5rem) * -1);
    }
    
    .cockpit-hero__card {
        padding: var(--spacing-4, 1.5rem);
    }
}

/* Video Consent Placeholder */ .cockpit-hero__video-consent { display: flex; align-items: center; justify-content: center; min-height: 400px; background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%); border-radius: 12px; padding: 40px; text-align: center; } .cockpit-hero__video-consent-content { max-width: 400px; } .cockpit-hero__video-consent svg { width: 48px; height: 48px; margin: 0 auto 20px; color: #6b7280; } .cockpit-hero__video-consent p { color: #1f2937; font-size: 1.125rem; margin: 0 0 24px; } .cockpit-hero__video-consent-btn { padding: 12px 32px; background-color: var(--color-primary, #dc2626); color: #ffffff; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .cockpit-hero__video-consent-btn:hover { background-color: var(--color-primary-dark, #b91c1c); transform: translateY(-2px); }
