The variables in the documentation about overwriting default mappings for headlines are outdated. It should be --db-type-headline-XX instead of one variable for size and one for line height.
a. o. https://design-system.deutschebahn.com/core-web/version/v3.0.2/foundations/font-sizes/readme