/* ============================================================================
   Page Header Fix - Exakt wie Hero Section
   ============================================================================ */

.page-header {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 85px;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 92, 154, 0.45) 0%, rgba(30, 76, 138, 0.55) 100%);
    backdrop-filter: brightness(0.97);
    animation: overlayPulse 8s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes overlayPulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.92;
    }
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-header h1 {
    color: var(--color-white);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.page-header .lead {
    color: var(--color-white);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 300;
    margin-bottom: 0;
    line-height: 1.5;
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile - Exakt wie Hero */
@media (max-width: 768px) {
    .page-header, .hero {
        margin-top: 70px !important;
        padding-top: 0 !important;
        min-height: 70vh;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
        padding-bottom: var(--spacing-lg);
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 70vh;
    }
}
