/* =========================================
   HEADLINE WIDGETS
   RULE 019: Must be on container and element
   Einfarbig in Primärfarben (kein Text-Verlauf)
   ========================================= */

.base-headline-h1 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    color: var(--color-headline);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.base-headline-h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    margin-top: 10px;
    margin-bottom: 1rem;
    color: var(--color-headline);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.base-headline-h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.base-headline-h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
    color: var(--color-headline-accent);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

@media (min-width: 768px) {
    .base-headline-h1 {
        font-size: var(--font-size-3xl);
    }
}

/* Auth-Screens (Login, Registrierung): zentrierte Premium-H1 mit Akzentlinie */
.base-auth-headline-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.75rem;
}

.base-auth-headline-h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 0.875rem;
    hyphens: none;
    word-break: normal;
    text-wrap: balance;
    color: var(--color-headline);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.base-auth-headline-accent {
    display: block;
    width: 3.25rem;
    height: 3px;
    border-radius: 9999px;
    background: var(--color-headline-accent);
    flex-shrink: 0;
}

@media (min-width: 600px) {
    .base-auth-headline-h1 {
        font-size: var(--font-size-4xl);
        letter-spacing: -0.045em;
    }

    .base-auth-headline-accent {
        width: 4rem;
        height: 4px;
    }
}

/* Logo-Wortmarke (Header/Footer): einfarbig, kein Headline-Textverlauf */
.base-layout-header .base-header-logo-text,
.base-footer .base-footer-logo .base-logo-text {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
}

.base-layout-header .base-header-logo-text {
    color: var(--color-header-logo-text);
    -webkit-text-fill-color: var(--color-header-logo-text);
}

.base-footer .base-footer-logo .base-logo-text {
    color: var(--color-headline);
    -webkit-text-fill-color: var(--color-headline);
}
