/* ============================================================================
   MESSE & EVENT - Seitenspezifisches CSS
   Quelle: mockups/messe-event-mockup.html

   Hinweis:
   - Baut auf /css/pages/aushilfen.css auf (gemeinsame Section-Styles)
   - Überschreibt nur Bereichsfarben + Bild/Highlights
   - aushilfen.css wird über pageStyles-Array in messe-event-personal.json geladen
   ============================================================================ */

:root {
    /* Bereich Messe & Event (Fuchsia/Magenta) */
    --accent: var(--fuchsia);
    --accent-light: var(--fuchsia-light);
    --accent-dark: var(--fuchsia-dark);
    --area-highlight: var(--fuchsia-bg);

    /* Button shadow should match area accent (not global orange) */
    --accent-shadow: 0 4px 14px rgba(192, 38, 211, 0.28);
    --accent-shadow-hover: 0 6px 20px rgba(192, 38, 211, 0.36);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.74) 0%, rgba(50, 28, 65, 0.74) 50%, rgba(21, 40, 64, 0.76) 100%),
                url('/assets/images/general/messe-event-hero.webp');
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(135deg, rgba(30, 58, 95, 0.74) 0%, rgba(50, 28, 65, 0.74) 50%, rgba(21, 40, 64, 0.76) 100%),
                          url('/assets/images/general/messe-event-hero-mobile.webp');
    }
}

.hero-badge.urgency {
    background: rgba(192, 38, 211, 0.2);
    border-color: rgba(192, 38, 211, 0.4);
}

/* ============================================
   BADGES / ICON COLORS (highlight instead of green)
============================================ */
.section-label {
    background: var(--area-highlight);
    color: var(--accent);
}

.cert-icon {
    background: var(--area-highlight);
    color: var(--accent);
}

.step-time {
    background: var(--area-highlight);
    color: var(--accent);
}

/* ============================================
   PROCESS (step dots should be highlight)
============================================ */
.step-number {
    border-color: var(--accent);
    color: var(--accent);
}

.step-number.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* ============================================
   BENEFITS + WEBAPP ICON BACKGROUNDS
============================================ */
.benefit-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

.webapp-feature-icon {
    background: var(--area-highlight);
    color: var(--accent);
}

/* ============================================
   COMPARISON SECTION (override teal highlights)
============================================ */
.comparison-section::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(192, 38, 211, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.comparison-section .section-label {
    background: rgba(192, 38, 211, 0.2);
    color: var(--fuchsia-light);
    border: 1px solid rgba(192, 38, 211, 0.4);
}

/* ============================================
   FINAL CTA SECTION (override teal glow)
============================================ */
.final-cta::before {
    background: radial-gradient(circle, rgba(192, 38, 211, 0.22) 0%, transparent 70%);
}

/* ============================================
   HUB PAGE: CENTERED HERO
============================================ */
.hero.hero-hub .hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero.hero-hub .hero-ctas {
    justify-content: center;
}

/* ============================================
   LOCATIONS SECTION (Hub Page)
============================================ */
.locations-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.locations-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.location-card-icon {
    background: var(--area-highlight);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-icon i {
    color: var(--accent);
}

.location-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.location-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.location-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.location-events {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: auto;
}

.location-tag {
    background: var(--area-highlight);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.location-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
    text-decoration: none;
}

.location-card-cta span {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.location-card-cta i {
    color: var(--accent);
    transition: transform 0.3s;
}

.location-card:hover .location-card-cta i {
    transform: translateX(4px);
}

/* ============================================
   INDUSTRIES SECTION (Hub Page)
============================================ */
.industries-section {
    padding: var(--section-padding);
    background: var(--white);
}

.industries-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.industry-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.3) 0%, transparent 70%);
    transition: transform 0.5s;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.industry-card:hover::before {
    transform: translate(20%, 20%);
}

.industry-card-content {
    position: relative;
    z-index: 1;
}

.industry-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.industry-icon i {
    color: var(--accent-light);
}

.industry-card h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.industry-card p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.industry-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.industry-feature {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.industry-card-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    font-weight: 600;
    font-size: 15px;
}

.industry-card-cta i {
    transition: transform 0.3s;
}

.industry-card:hover .industry-card-cta i {
    transform: translateX(4px);
}

/* ============================================
   RATGEBER SECTION (Hub Page)
============================================ */
.ratgeber-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ratgeber-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-decoration: none;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.ratgeber-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--fuchsia);
}

.ratgeber-step {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--fuchsia);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.ratgeber-card-content h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ratgeber-card-content p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ratgeber-card-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--fuchsia);
    font-weight: 600;
    font-size: 14px;
}

.ratgeber-card-cta i {
    transition: transform 0.3s;
}

.ratgeber-card:hover .ratgeber-card-cta i {
    transform: translateX(4px);
}

/* ============================================
   RESPONSIVE (Hub Page)
============================================ */
@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .ratgeber-grid {
        grid-template-columns: 1fr;
    }

    .ratgeber-section {
        padding: 70px 0;
    }
}

/* ============================================================================
   MESSE-SPEZIFISCHE LANDINGPAGES (z.B. Light+Building, Automechanika)
   ============================================================================ */

/* ============================================
   MESSE HERO BADGE
============================================ */
.hero-badge.messe-badge {
    background: rgba(192, 38, 211, 0.2);
    border: 1px solid rgba(192, 38, 211, 0.4);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 16px;
}

.hero-badge.messe-badge i {
    color: var(--accent-light);
}

/* ============================================
   MESSE INFO SECTION
============================================ */
.messe-info-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.messe-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.messe-facts h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.messe-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.messe-facts-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.messe-facts-list li:last-child {
    border-bottom: none;
}

.messe-facts-list li i {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.messe-facts-list li div strong {
    color: var(--gray-900);
}

.messe-relevance {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.messe-relevance h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.messe-relevance p {
    color: var(--gray-600);
    line-height: 1.7;
}

.messe-relevance p:last-child {
    margin-bottom: 0;
}

/* ============================================
   REFERENCES / REFERENZEN SECTION
============================================ */
.references-section {
    padding: var(--section-padding);
    background: var(--white);
}

.reference-cards {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.reference-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s;
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.reference-year {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.reference-content h3 {
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.reference-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.reference-details span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-600);
}

.reference-details i {
    color: var(--accent);
}

.reference-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reference-tasks li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--gray-700);
}

.reference-tasks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.reference-highlight {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--area-highlight);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

/* ============================================
   POSITIONS SECTION
============================================ */
.positions-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.position-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
}

.position-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.position-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, var(--white) 0%, var(--area-highlight) 100%);
}

.position-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.position-card h3 i {
    color: var(--accent);
}

.position-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.position-demand {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 16px;
}

/* ============================================
   REQUIREMENTS SECTION
============================================ */
.requirements-section {
    padding: var(--section-padding);
    background: var(--white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.requirement-item {
    text-align: center;
    padding: 24px;
}

.requirement-item i {
    color: var(--accent);
    margin-bottom: 16px;
}

.requirement-item h3 {
    font-size: 18px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.requirement-item p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   MESSE-SPEZIFISCHE RESPONSIVE
============================================ */
@media (max-width: 992px) {
    .messe-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .reference-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .reference-year {
        font-size: 24px;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .reference-details {
        flex-direction: column;
        gap: 8px;
    }
}
