/* Headlines CSS - LinkedIn Service Website - Professional Dark Style with Apple Glass Morphism */
/* Magic-UI optimized for premium headline effects with sophisticated glass morphism */
/* Logo colors: #0077b5 (Blue), #ffd700 (Gold) - Professional Dark Style */

/* Content Area H1 - Only one allowed per screen */
.layout-main h1:first-of-type {
    font-size: var(--font-size-4xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 1.5rem !important;
    line-height: var(--line-height-tight) !important;
    text-align: center !important;
    position: relative !important;
}

.widget-headline-h1 {
    font-size: var(--font-size-4xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 1.5rem !important;
    line-height: var(--line-height-tight) !important;
    text-align: center !important;
    position: relative !important;
}

.widget-headline-h1::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0077b5 0%, #ffd700 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.widget-headline-h1:hover::after {
    width: 120px;
}

.widget-headline-h2 {
    font-size: var(--font-size-3xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 1.5rem !important;
    line-height: var(--line-height-tight) !important;
    text-align: center !important;
    position: relative !important;
}

.widget-headline-h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 
        0 0 15px var(--color-shadow-glow-blue),
        0 0 30px var(--glass-glow-teal);
    transition: width 0.5s ease, box-shadow 0.5s ease;
}

.widget-headline-h2:hover::after {
    width: 100px;
}

.widget-headline-h3 {
    font-size: var(--font-size-2xl) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 1rem !important;
    line-height: var(--line-height-snug) !important;
}

.widget-headline-h4 {
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 0.75rem !important;
    line-height: var(--line-height-snug) !important;
}

.widget-headline-h5 {
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-medium) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 0.5rem !important;
    line-height: var(--line-height-normal) !important;
}

.widget-headline-h6 {
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-weight-medium) !important;
    color: var(--color-text-primary) !important;
    margin-bottom: 0.5rem !important;
    line-height: var(--line-height-normal) !important;
}

/* Deutschland-Effekt für Hauptüberschriften - Enhanced Glass Morphism with Magic-UI */
.widget-headline-h1.deutschland-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: deutschland-shimmer 3s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(0, 119, 181, 0.75)) 
            drop-shadow(0 0 50px rgba(0, 212, 170, 0.55))
            drop-shadow(0 0 75px rgba(255, 215, 0, 0.35));
    text-shadow: 0 0 30px rgba(0, 119, 181, 0.45);
    position: relative;
    backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.08);
}

.widget-headline-h1.deutschland-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
    animation: deutschland-shimmer 3s ease-in-out infinite;
}

.widget-headline-h1.deutschland-text:hover {
    animation: deutschland-shimmer 1s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(0, 119, 181, 0.95)) 
            drop-shadow(0 0 60px rgba(0, 212, 170, 0.75))
            drop-shadow(0 0 90px rgba(255, 215, 0, 0.55));
    text-shadow: 0 0 40px rgba(0, 119, 181, 0.65);
    transform: scale(1.04);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(18px) saturate(200%) brightness(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(200%) brightness(1.12);
}

/* Responsive Design */
@media (max-width: 768px) {
    .widget-headline-h1 {
        font-size: var(--font-size-3xl);
    }
    
    .widget-headline-h2 {
        font-size: var(--font-size-2xl);
    }
    
    .widget-headline-h3 {
        font-size: var(--font-size-xl);
    }
    
    .widget-headline-h4 {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 480px) {
    .widget-headline-h1 {
        font-size: var(--font-size-2xl);
    }
    
    .widget-headline-h2 {
        font-size: var(--font-size-xl);
    }
    
    .widget-headline-h3 {
        font-size: var(--font-size-lg);
    }
    
    .widget-headline-h4 {
        font-size: var(--font-size-base);
    }
}
