/* 
 * Widgets Headlines CSS
 * Alle Headline-Definitionen (h1, h2, h3, etc.)
 * Farben müssen via Custom Properties aus der colors.css genutzt werden
 */

.widget-headline-h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-lg) 0;
    letter-spacing: var(--letter-spacing-tight);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto !important;
    transition: none !important;
    animation: none !important;
}

.widget-headline-h1:hover,
.widget-headline-h1:hover *,
.widget-headline-h1:focus,
.widget-headline-h1:active,
.widget-headline-h1:visited,
.widget-headline-h1 *:hover,
.widget-headline-h1 *:focus,
.widget-headline-h1 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
    will-change: auto !important;
}

.widget-headline-h1::after,
.widget-headline-h1:hover::after,
.widget-headline-h1:focus::after,
.widget-headline-h1:active::after,
.widget-headline-h1::before,
.widget-headline-h1:hover::before,
.widget-headline-h1:focus::before,
.widget-headline-h1:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

/* @keyframes de-gradient-shift - DEAKTIVIERT - Keine Animationen erlaubt */
/*
@keyframes de-gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
*/

.widget-headline-h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: var(--letter-spacing-tight);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto;
    transition: none !important;
}

.widget-headline-h2:hover,
.widget-headline-h2:hover *,
.widget-headline-h2:focus,
.widget-headline-h2:active,
.widget-headline-h2:visited,
.widget-headline-h2 *:hover,
.widget-headline-h2 *:focus,
.widget-headline-h2 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.widget-headline-h2::after,
.widget-headline-h2:hover::after,
.widget-headline-h2:focus::after,
.widget-headline-h2:active::after,
.widget-headline-h2::before,
.widget-headline-h2:hover::before,
.widget-headline-h2:focus::before,
.widget-headline-h2:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

.widget-headline-h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: var(--letter-spacing-normal);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto;
    transition: none !important;
}

.widget-headline-h3:hover,
.widget-headline-h3:hover *,
.widget-headline-h3:focus,
.widget-headline-h3:active,
.widget-headline-h3:visited,
.widget-headline-h3 *:hover,
.widget-headline-h3 *:focus,
.widget-headline-h3 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.widget-headline-h3::after,
.widget-headline-h3:hover::after,
.widget-headline-h3:focus::after,
.widget-headline-h3:active::after,
.widget-headline-h3::before,
.widget-headline-h3:hover::before,
.widget-headline-h3:focus::before,
.widget-headline-h3:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

.widget-headline-h4 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-normal);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto;
    transition: none !important;
}

.widget-headline-h4:hover,
.widget-headline-h4:hover *,
.widget-headline-h4:focus,
.widget-headline-h4:active,
.widget-headline-h4:visited,
.widget-headline-h4 *:hover,
.widget-headline-h4 *:focus,
.widget-headline-h4 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.widget-headline-h4::after,
.widget-headline-h4:hover::after,
.widget-headline-h4:focus::after,
.widget-headline-h4:active::after,
.widget-headline-h4::before,
.widget-headline-h4:hover::before,
.widget-headline-h4:focus::before,
.widget-headline-h4:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

.widget-headline-h5 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-normal);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto;
    transition: none !important;
}

.widget-headline-h5:hover,
.widget-headline-h5:hover *,
.widget-headline-h5:focus,
.widget-headline-h5:active,
.widget-headline-h5:visited,
.widget-headline-h5 *:hover,
.widget-headline-h5 *:focus,
.widget-headline-h5 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.widget-headline-h5::after,
.widget-headline-h5:hover::after,
.widget-headline-h5:focus::after,
.widget-headline-h5:active::after,
.widget-headline-h5::before,
.widget-headline-h5:hover::before,
.widget-headline-h5:focus::before,
.widget-headline-h5:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

.widget-headline-h6 {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: var(--letter-spacing-normal);
    hyphens: none;
    word-break: normal;
    /* Keine Background-Gradient, keine Animationen */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    position: relative;
    will-change: auto;
    transition: none !important;
}

.widget-headline-h6:hover,
.widget-headline-h6:hover *,
.widget-headline-h6:focus,
.widget-headline-h6:active,
.widget-headline-h6:visited,
.widget-headline-h6 *:hover,
.widget-headline-h6 *:focus,
.widget-headline-h6 *:active {
    /* Keine Hover-Effekte - komplett deaktiviert */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: 100% auto !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.widget-headline-h6::after,
.widget-headline-h6:hover::after,
.widget-headline-h6:focus::after,
.widget-headline-h6:active::after,
.widget-headline-h6::before,
.widget-headline-h6:hover::before,
.widget-headline-h6:focus::before,
.widget-headline-h6:active::before {
    /* Keine Unterstreichung oder andere Pseudo-Elemente */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

/* Screen-spezifische Headline-Varianten */
.widget-headline-admin-login-h1 {
    color: var(--color-info-blue);
    font-size: var(--font-size-2rem);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    /* Professioneller, seriöser Farbverlauf mit dezentem Blau-Akzent */
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-primary-blue-light) 50%, var(--color-text-secondary) 100%);
    background-size: 100% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    filter: none;
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
    hyphens: none;
    word-break: normal;
}

.widget-headline-admin-login-h1:hover {
    /* Keine Hover-Effekte */
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-primary-blue-light) 50%, var(--color-text-secondary) 100%);
    animation: none;
    filter: none;
}

/* @keyframes gradient-shift - DEAKTIVIERT - Keine Animationen erlaubt */
/*
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}
*/

/* Prefers-reduced-motion: Animationen deaktivieren für Nutzer mit Motion-Sensitivity */
@media (prefers-reduced-motion: reduce) {
    .widget-headline-h1:hover,
    .widget-headline-h2:hover,
    .widget-headline-h3:hover,
    .widget-headline-h4:hover,
    .widget-headline-h5:hover,
    .widget-headline-h6:hover {
        animation: none !important;
        filter: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    .widget-headline-h1::after,
    .widget-headline-h2::after,
    .widget-headline-h3::after,
    .widget-headline-h4::after,
    .widget-headline-h5::after,
    .widget-headline-h6::after {
        display: none !important;
        transition: none !important;
    }
}

.widget-headline-error-404-h1 {
    color: var(--color-info-blue);
    font-size: var(--font-size-22rem);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-info-blue) 0%, var(--color-info-blue-dark) 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    hyphens: none;
    word-break: normal;
    animation: none;
    transition: none;
    will-change: auto;
}

.widget-headline-error-404-h1:hover {
    /* Keine Hover-Effekte */
    background: linear-gradient(135deg, var(--color-info-blue) 0%, var(--color-info-blue-dark) 100%);
    background-size: 100% auto;
    animation: none;
    filter: none;
    transition: none;
    transform: none;
}

.widget-headline-error-404-h1::after {
    /* Keine Unterstreichung */
    display: none !important;
}

.widget-headline-error-h1 {
    color: var(--color-error-red-darker);
    font-size: var(--font-size-3xl);
    margin-bottom: 0;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-error-red-darker) 0%, var(--color-error-red-darkest) 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    hyphens: none;
    word-break: normal;
    animation: none;
    transition: none;
    will-change: auto;
}

.widget-headline-error-h1:hover {
    /* Keine Hover-Effekte */
    background: linear-gradient(135deg, var(--color-error-red-darker) 0%, var(--color-error-red-darkest) 100%);
    background-size: 100% auto;
    animation: none;
    filter: none;
    transition: none;
    transform: none;
}

.widget-headline-error-h1::after {
    /* Keine Unterstreichung */
    display: none !important;
}

.widget-headline-error-h1::before {
    content: "";
    font-size: var(--font-size-3xl);
    -webkit-text-fill-color: var(--color-error-red-darker);
}

.widget-headline-error-h2 {
    color: var(--color-warning-amber);
    font-size: var(--font-size-xl);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    font-family: var(--font-family-base);
    line-height: var(--line-height-tight);
    hyphens: none;
    word-break: normal;
    animation: none;
    transition: none;
    will-change: auto;
}

.widget-headline-error-h2:hover {
    /* Keine Hover-Effekte */
    animation: none;
    filter: none;
    transition: none;
    transform: none;
}

.widget-headline-error-h2::after {
    /* Keine Unterstreichung */
    display: none !important;
}

.widget-headline-error-h2::before {
    content: '';
    color: var(--color-warning-amber);
    margin-right: 8px;
}

/* ============================================================================
   ABSOLUT VERBOTEN: Alle Hover-Effekte für Widget-Headlines - Überschreibt ALLES
   ============================================================================ */
.widget-headline-h1:hover,
.widget-headline-h2:hover,
.widget-headline-h3:hover,
.widget-headline-h4:hover,
.widget-headline-h5:hover,
.widget-headline-h6:hover,
h1.widget-headline-h1:hover,
h2.widget-headline-h2:hover,
h3.widget-headline-h3:hover,
h4.widget-headline-h4:hover,
h5.widget-headline-h5:hover,
h6.widget-headline-h6:hover,
span.widget-headline-h1:hover,
span.widget-headline-h2:hover,
span.widget-headline-h3:hover,
span.widget-headline-h4:hover,
span.widget-headline-h5:hover,
span.widget-headline-h6:hover {
    /* KOMPLETT KEINE HOVER-EFFEKTE - ÜBERSCHREIBT ALLES */
    color: var(--color-text-primary) !important;
    background: none !important;
    background-image: none !important;
    background-size: inherit !important;
    background-position: 0% 50% !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    background-clip: border-box !important;
    -webkit-background-clip: border-box !important;
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    scale: 1 !important;
    will-change: auto !important;
}

.widget-headline-h1:hover::after,
.widget-headline-h2:hover::after,
.widget-headline-h3:hover::after,
.widget-headline-h4:hover::after,
.widget-headline-h5:hover::after,
.widget-headline-h6:hover::after,
.widget-headline-h1:hover::before,
.widget-headline-h2:hover::before,
.widget-headline-h3:hover::before,
.widget-headline-h4:hover::before,
.widget-headline-h5:hover::before,
.widget-headline-h6:hover::before {
    /* KEINE PSEUDO-ELEMENTE BEIM HOVER */
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
