/* =========================================
   HEADLINE WIDGETS
   RULE 019: Must be on container and element
   ========================================= */

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Nur ein Unterstrich: Typo/Linie nur auf h1, nicht auf Wrapper-div */
div.base-headline-h1 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Nur ein Unterstrich: Typo/Linie nur auf h1, nicht auf Wrapper-div */
h1.base-headline-h1 {
    font-family: var(--font-family-primary);
    font-size: clamp(1.625rem, 4.5vw + 0.75rem, var(--font-size-4xl));
    font-weight: var(--font-weight-extrabold);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-bottom: 0.9rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-headline);
    border-bottom: var(--headline-h1-rule-height) solid var(--color-headline-rule);
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Akzent nur auf h2-Element, nicht doppelt auf Wrapper-div */
div.base-headline-h2 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Akzent nur auf h2-Element, nicht doppelt auf Wrapper-div */
h2.base-headline-h2 {
    font-family: var(--font-family-primary);
    font-size: clamp(1.25rem, 2.5vw + 0.5rem, var(--font-size-2xl));
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 1.25rem;
    padding-left: 0.85rem;
    border-left: var(--headline-h2-accent-width) solid var(--color-headline-accent);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-headline-soft);
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h3-Element, Wrapper-div neutral */
div.base-headline-h3 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h3-Element, Wrapper-div neutral */
h3.base-headline-h3 {
    font-family: var(--font-family-primary);
    font-size: clamp(1.0625rem, 1.5vw + 0.5rem, var(--font-size-xl));
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.012em;
    margin-top: 0;
    margin-bottom: 0.95rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-headline);
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h4-Element, Wrapper-div neutral */
div.base-headline-h4 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h4-Element, Wrapper-div neutral */
h4.base-headline-h4 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: 1.25;
    letter-spacing: -0.008em;
    margin-top: 0;
    margin-bottom: 0.65rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-headline-muted);
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h5-Element, Wrapper-div neutral */
div.base-headline-h5 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h5-Element, Wrapper-div neutral */
h5.base-headline-h5 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin-top: 0;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-headline-muted);
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h6-Element, Wrapper-div neutral */
div.base-headline-h6 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
}

/* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Typo nur auf h6-Element, Wrapper-div neutral */
h6.base-headline-h6 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0.45rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: var(--color-text-muted);
}

@media (min-width: 600px) {
    /* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Responsive H1 nur auf h1-Element */
    h1.base-headline-h1 {
        font-size: var(--font-size-4xl);
        letter-spacing: -0.04em;
    }
}

@media (min-width: 1024px) {
    /* Änderungsprotokoll: 2026-06-04 | Composer-Agent | @skill-css-rules, @skill-change-provenance | Responsive H1 nur auf h1-Element */
    h1.base-headline-h1 {
        font-size: var(--font-size-5xl);
    }
}
