/* Optimierte Content Hero Styles für bessere LCP Performance */

.content-hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    color: var(--primary-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Hero Background entfernt - nur noch Gradient wird verwendet */

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 100px 0 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

/* Breadcrumbs */
.breadcrumb-modern {
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-modern li {
    color: var(--primary-color) !important;
}

.breadcrumb-modern a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.breadcrumb-modern a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Breadcrumb Separator */
.content-hero .breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color) !important;
}

/* Content Meta */
.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--primary-color) !important;
    margin-top: 1.5rem;
}

.content-meta span {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color) !important;
}

.content-meta i {
    color: var(--primary-color) !important;
}

.content-meta a {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.content-meta a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Spezifische Text-Styles für Hero Content */
.content-hero h1,
.content-hero .display-4 {
    color: var(--primary-color) !important;
}

.content-hero p,
.content-hero .lead {
    color: var(--primary-color) !important;
}


/* Hero Image Container (rechts) */
.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.hero-main-image {
    width: 100%;
    display: block;
}

/* Mobile Anpassungen */
@media (max-width: 991px) {
    .content-hero {
        padding-top: 70px; /* Padding für Tablet-Größe */
    }
    
    .hero-content-wrapper {
        padding: 80px 0 60px;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .content-hero {
        min-height: auto;
        padding-top: 56px; /* Höhe des fixed headers kompensieren */
        padding-bottom: 0; /* Kein Abstand nach unten */
    }
    
    .hero-content-wrapper {
        padding-top: 10px;
        padding-bottom: 0;
        min-height: auto;
    }
    
    /* Text-Content behält normale Paddings */
    .hero-content-wrapper .col-lg-7 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero Image über volle Breite auf Mobile */
    .hero-image-container {
        margin-top: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        width: 100vw; /* Volle Viewport-Breite */
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        border-radius: 0; /* Keine abgerundeten Ecken für volle Breite */
        box-shadow: none; /* Kein Schatten bei voller Breite */
    }
    
    .hero-image-container .hero-main-image {
        border-radius: 0 !important; /* Keine abgerundeten Ecken für volle Breite */
        border: 0 !important; /* Kein Border auf Mobile */
        width: 100%;
        box-shadow: none !important; /* Kein Schatten auf Mobile */
    }
    
    .display-4 {
        font-size: 2rem;
        margin-top: 20px;
        color: var(--primary-color) !important;
    }
    
    .lead {
        font-size: 1.1rem;
        color: var(--primary-color) !important;
    }
    
    .content-meta {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    /* Breadcrumb-Abstand für Mobile */
    .breadcrumb-modern {
        margin-bottom: 20px;
        margin-top: 20px;
    }
}