/*
==============================================================================
LUVEX THEME - PAGE: UV TESTING EQUIPMENT (PYRAMIDEN-HERO FIX 2025-08-15)
==============================================================================
*/

/* --- 1. Hero Section Layout (Pyramiden-Struktur) --- */
.luvex-hero--testing-equipment {
    min-height: 70vh;
    padding: 2rem;
    display: flex;
    align-items: center;
}

.luvex-hero--testing-equipment .luvex-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    flex-grow: 1;
    padding-top: 6rem;
    gap: 2rem;
}

/* REIHENFOLGE: Title → Buttons → Subtitle → Description (jetzt im HTML korrekt) */

/* 1. Title (oben, schmalster Container) */
.luvex-hero--testing-equipment .luvex-hero__title {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 600;
    color: var(--luvex-white);
    margin: 0;
    line-height: 1.1;
    max-width: 650px; /* Schmalster Container */
    text-align: center;
}

/* 2. Buttons (gleichgroß) */
.luvex-hero--testing-equipment .luvex-hero__cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Buttons gleichgroß machen */
.luvex-hero--testing-equipment .luvex-hero__cta,
.luvex-hero--testing-equipment .luvex-hero__cta-secondary {
    flex: 0 0 auto;
    min-width: 200px;
    padding: 16px 24px;
    text-align: center;
}

/* 3. Subtitle (800px für eine Zeile) */
.luvex-hero--testing-equipment .luvex-hero__subtitle {
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: var(--luvex-gray-300);
    font-weight: 400;
    max-width: 800px; /* Größer für eine Zeile ohne Umbruch */
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

/* 4. Description (900px, breitester Container, 2 Zeilen) */
.luvex-hero--testing-equipment .luvex-hero__description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--luvex-gray-300);
    max-width: 900px; /* Breitester Container */
    line-height: 1.6;
    text-align: center;
    margin: 0;
    opacity: 0.9;
    /* Für 2-Zeilen-Begrenzung */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 2. Responsive Anpassungen --- */

/* WICHTIG: Override der globalen order-Properties aus _heroes.css */
.luvex-hero--testing-equipment .luvex-hero__cta,
.luvex-hero--testing-equipment .luvex-hero__cta-secondary {
    order: unset !important; /* Überschreibt globale order-Properties */
}

@media (max-width: 768px) {
    .luvex-hero--testing-equipment .luvex-hero__content {
        padding-top: 4rem;
        gap: 1.5rem;
    }
    
    .luvex-hero--testing-equipment .luvex-hero__title {
        font-size: clamp(2.8rem, 8vw, 4.2rem);
        max-width: 95%;
    }
    
    .luvex-hero--testing-equipment .luvex-hero__subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        max-width: 90%; /* Entsprechend angepasst */
    }
    
    .luvex-hero--testing-equipment .luvex-hero__description {
        font-size: clamp(1rem, 3vw, 1.3rem);
        max-width: 95%; /* Breitester auch auf Mobile */
    }
    
    .luvex-hero--testing-equipment .luvex-hero__cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .luvex-hero--testing-equipment .luvex-hero__cta,
    .luvex-hero--testing-equipment .luvex-hero__cta-secondary {
        width: 100%;
        max-width: 280px;
    }
}