@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;
font-size: $font-size-500;
font-weight: $font-weight-bold;
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;
color: $color-accent-300;
text-decoration-color: $color-accent-300;
background-color: $color-accent-300;
color: $color-neutral-000;
--button-bg: #{$color-cd-beige};
--button-border-color: #{$color-cd-beige};
--button-color: #{$color-cd-stahlblau};
transition: background-color 0.5s ease-in-out,
--button-bg: #{$color-cd-stahlblau};
--button-color: #{$color-cd-beige};
transition: background-color 0.5s ease-in-out,
--button-bg: #{$color-cd-stahlblau};
--button-border-color: #{$color-cd-stahlblau};
--button-color: #{$color-cd-beige};
transition: background-color 0.5s ease-in-out,
--button-bg: #{$color-cd-beige};
--button-color: #{$color-cd-stahlblau};
transition: background-color 0.5s ease-in-out,
// https://12daysofweb.dev/2024/css-margin-trim-line-height-units/
max-width: $paragraph-max-ch;
font-weight: $font-weight-bold;
// paragraphs with simple links
:where(.content-text) ul,
:where(.content-text) ol {
padding-inline-start: 1rem;
line-height: $body-line-height;
max-width: $paragraph-max-ch;
overflow-wrap: break-word;
:where(h1, h2, h3, h4, h5, h6) {
font-weight: $font-weight-bold;
font-family: $font-family-accent;
font-size: $font-size-h1;
font-size: $font-size-h2;
font-size: $font-size-h3;
// Ü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 bei Modulen (im Bedarfsfall hier ergänzen)
.mod_customnav.service :where(h1, h2, h3, h4, h5, h6) {
margin-block-end: 0.75lh;
// 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;
// FIXME das geht noch besser ...
ul + p a:where([class]) {
margin-block-start: 0.5lh;