
body {
	font-family: var(--serif);
	line-height: var(--lh-body);
	font-size: var(--fs-body);
	font-weight: 400;
	color: var(--text-primary);
}

h1, .h1,
h2, .h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
	max-width: 50ch;
	font-family: var(--serif);
	margin-top: 1em;
	margin-bottom: 0.5em;
	color: var(--text-primary);
}

h1, .h1 {
	font-weight: 800;
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	letter-spacing: var(--ls-h1);
}

h2, .h2 {
	font-weight: 800;
	font-size: var(--fs-h2);
	line-height: var(--lh-h2);
	color: var(--cool1);
	letter-spacing: var(--ls-h2);
}

h3 {
	font-weight: 500;
	font-size: var(--fs-h3);
	line-height: var(--lh-h3);
	color: var(--cool);
}

h4 {
	font-weight: 600;
	font-size: var(--fs-1);
	line-height: var(--lh-1);
	font-style: italic;
	color: var(--cool);
	letter-spacing: 0.02em;
}

h5 {
	font-weight: 700;
	font-size: var(--fs-0);
	line-height: var(--lh-0);
	color: var(--cool);
}

h6 {
	font-size: var(--fs-0);
	line-height: var(--lh-0);
	font-style: italic;
	font-weight: 700;
	color: var(--cool-1);
	letter-spacing: 0.02em;
}

h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
	margin-top: var(--space-s);
}

small,
figcaption {
	color: var(--text-muted);
}

small,
.f-small {
	font-size: var(--fs--1);
	line-height: var(--lh--1);
}

.f-smaller {
	font-size: var(--fs--2);
	line-height: var(--lh--2);
}

.f-big {
	font-size: var(--fs-1);
	line-height: var(--lh-1);
}

.f-bigger {
	font-size: var(--fs-2);
	line-height: var(--lh-2);
}

.f-biggest {
	font-size: var(--fs-3);
	line-height: var(--lh-3);
}

.f-300 {
	font-weight: 300;
}

.f-400 {
	font-weight: 400;
}

.f-500 {
	font-weight: 500;
}

.f-600 {
	font-weight: 600;
}

.f-700 {
	font-weight: 700;
}

.f-italics {
	font-style: italic;
}

.f-balance {
	display: block;
	text-wrap: balance;
}

/* Einleitungsabsatz unter einer Überschrift */
.f-lead {
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
	text-wrap: pretty;
}

/* Kategorie / Dachzeile über Überschriften. Farbe über --eyebrow-color anpassbar (Standard 4,9 : 1 auf Weiß). */
.f-eyebrow {
	margin: 0 0 var(--space-2xs);
	color: var(--eyebrow-color, var(--color-accent-strong));
	font-family: var(--font-interface);
	font-size: var(--fs-meta);
	font-weight: 700;
	letter-spacing: var(--ls-eyebrow);
	line-height: 1.4;
	text-transform: uppercase;
}

/* Meta-Angaben: Datum, Lesezeit, Autor */
.f-meta {
	color: var(--paper-muted);
	font-family: var(--font-interface);
	font-size: var(--fs-meta);
}

p,
li,
td,
th,
pre {
	line-height: var(--lh-body);
	color: var(--text-primary);
}

p {
	padding-top: var(--space-s);
	padding-bottom: var(--space-s);

	&:first-of-type {
		padding-top: 0;
	}
	&:last-of-type {
		padding-bottom: 0;
	}
}

@media (min-width: 768px) {
	p:last-of-type {
		padding-bottom: var(--space-m);
	}
}

blockquote {
	font-size: var(--fs-quote);
	line-height: var(--lh-quote);
	font-style: italic;
	margin: var(--space-m) 0;
	padding: 0 var(--space-xs);
	border-left: 0.25rem solid var(--brand-accent);
	border-radius: var(--border-radius);
	color: var(--text-primary);
}

/**
 *  Basic Link Styling ******************************
 */
a {
	text-decoration: underline;
	text-decoration-thickness: 0.07em;
	text-underline-offset: 0.2em;
	color: var(--link-color);
	text-decoration-color: var(--link-color);
	transition: all 0.6s;
}

a:focus {
	outline: none;
	cursor: pointer;
}

a:focus-visible{
	outline: 2px solid var(--focus-ring);
	outline-offset: 2px;
}

a:active,
a:hover {
	color: var(--link-hover);
	text-decoration: none;
	cursor: pointer;
}

b,
strong {
	font-weight: 700;
	color: var(--text-primary);
}

em {
	font-style: italic;
}
