@use "../abstracts/" as *;
background-color: $body-background-color;
font-family: $body-font-family;
font-weight: $body-font-weight;
font-size: $body-font-size;
line-height: $body-line-height;
@media (width < $tweakpoint-30) {
line-height: $body-line-height-mobile;
a:not([class]):not([data-toplink]) {
text-decoration-color: currentColor;
text-underline-offset: 0.3ex;
text-decoration-color: currentColor;
color: $color-accent-600;
text-decoration-color: $color-accent-600;
text-decoration-thickness: 3px;
background-color: $color-accent-600;
color: $color-neutral-000;
transition: background-color 0.5s ease-in-out,
border-color 0.25s ease-in-out,
--button-bg: #{$color-neutral-800};
--button-color: #{$color-neutral-100};
// color: $color-accent-600;
// text-decoration-color: $color-accent-600;
// background-color: $color-accent-600;
// color: $color-neutral-000;
// --button-bg: #{$color-accent-800};
// --button-border-color: #{$color-accent-800};
// --button-color: #{$color-accent-100};
// --button-bg: #{$color-accent-100};
// --button-color: #{$color-accent-800};
// https://12daysofweb.dev/2024/css-margin-trim-line-height-units/
max-inline-size: $paragraph-max-ch;
// paragraphs with simple links
font-size: $font-size-smaller;
:where(.content-text) ul,
:where(.content-text) ol {
padding-inline-start: 1rem;
line-height: $body-line-height;
max-inline-size: $paragraph-max-ch;
overflow-wrap: break-word;
:where(h1, h2, h3, h4, h5, h6) {
font-family: $font-family-headline;
font-weight: $font-weight-bold;
font-size: $font-size-h1;
text-transform: uppercase;
font-size: $font-size-h2;
font-size: $font-size-h3;
// FIXME das ist kein best practice für diesen Anwendungsfall
// <hgroup> wäre besser für Taglines (siehe auch rsce-Templates)
// aber für eine spezielle Formatierung in der h1 ist das ok
margin-block-start: 0.25lh;
font-size: $font-size-400;
// Überschriften und Kombinationen
// h1-h6 als separates Inhaltselement
// Überschrift innerhalb eines .rte bzw. eines content-elements
.rte :where(h1, h2, h3, h4, h5, h6),
[class^="content-"] > .headline,
[class^="ce_rsce_"] > .headline {
// Überschriften, die keine .headline-Klasse haben, hier ergänzen:
.mod_customnav :where(h1, h2, h3, h4, h5, h6) {
// Abstand zwischen Absätzen
// und zwischen Absatz und nachfolgender Überschrift ohne separates Headline-Element
// https://12daysofweb.dev/2024/css-margin-trim-line-height-units/
margin-block-start: $paragraph-space;
p + :where(h1, h2, h3, h4, h5, h6) {
margin-block-start: 0.75lh;
// mehr Abstand für Link-Buttons
ul + p a:where([class]) {
margin-block-start: 0.5lh;
font-size: $font-size-500;
font-weight: $font-weight-bold;