/* ============================================================
   Mailfried Landingpage — Designsystem
   Farben und Motive folgen dem 3angular-Branding:
   Siegelrot #640000, Tinte #111111, Bleistift #555555,
   Karton #F5F2F2 (Zebra), Mono-Akzente in Rot.
   Grün/Bernstein sind Funktionsfarben der Status-Chips — sie spiegeln
   die Statusmarkierungen des Produkts („erledigt", „wartet") und sind
   bewusst nicht Teil der Markenpalette.
   Überschriften in Space Grotesk, Fließtext in Inter, Mono in IBM Plex Mono.

   Seitenaufbau: body > header > nav (klebende Leiste), main > section…
   (Startseite) bzw. main > article (Rechtstexte), body > footer.
   ============================================================ */

@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	src: url('fonts/InterVariable.woff2') format('woff2');
}

@font-face {
	font-family: 'Inter';
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
	src: url('fonts/InterVariable-Italic.woff2') format('woff2');
}

@font-face {
	font-family: 'Space Grotesk';
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
	src: url('fonts/SpaceGrotesk-Variable.woff2') format('woff2');
}

@font-face {
	font-family: 'IBM Plex Mono';
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url('fonts/IBMPlexMono-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'IBM Plex Mono';
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url('fonts/IBMPlexMono-Medium.woff2') format('woff2');
}

@font-face {
	font-family: 'IBM Plex Mono';
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url('fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
}

:root {
	--mf-rot: #640000;
	--mf-rot-dunkel: #470000;
	--mf-tinte: #111111;
	--mf-grau: #555555;
	--mf-papier: #ffffff;
	--mf-karton: #f5f2f2;
	--mf-linie: #e4dcdc;
	--mf-gruen: #1e6b40;
	--mf-gruen-fond: #e8f2ec;
	--mf-bernstein: #8a5a00;
	--mf-bernstein-fond: #f7efdd;
	--mf-rot-fond: #f6e9e9;
	--mf-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
	--mf-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mf-mono: 'IBM Plex Mono', 'Consolas', ui-monospace, monospace;
	/* Seitenrand: ab 1264px Viewport zentriert eine 1200px breite Inhaltsspalte */
	--mf-rand: max(2rem, calc((100% - 1200px) / 2));
	/* Abstand zwischen Blöcken und zwischen Spalten */
	--mf-luft: 1.5rem;
}

@media (max-width: 767px) {
	:root { --mf-rand: 1.25rem; }
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--mf-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--mf-tinte);
	background: var(--mf-papier);
	-webkit-font-smoothing: antialiased;
	/* clip statt hidden: erzeugt keinen Scroll-Container, position:sticky
	   der Navigation bleibt intakt */
	overflow-x: clip;
}

h1, h2, h3, h4 {
	font-family: var(--mf-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
}

img { max-width: 100%; height: auto; }

address { font-style: normal; }

::selection { background: var(--mf-rot); color: #fff; }

a {
	color: var(--mf-rot);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

:focus-visible {
	outline: 3px solid var(--mf-rot);
	outline-offset: 2px;
}

/* Fließender Blockabstand: in Sektionen, Spalten und Rechtstexten steht
   zwischen zwei Blöcken 1.5rem. :where() hält die Spezifität bei null,
   jede Klassenregel mit eigenem margin gewinnt. Die gestalteten
   Schaubilder (Mail-Verlauf, Einladung, Compose-Fenster) setzen ihre
   Abstände selbst und sind hier nicht erfasst. */
:where(.mf-section, .mf-hero, .mf-spalten > div:not(.mf-spalten), main > article) > * { margin-block: var(--mf-luft) 0; }

:where(.mf-section, .mf-hero, .mf-spalten > div:not(.mf-spalten), main > article) > :first-child { margin-top: 0; }

main { margin-top: var(--mf-luft); }

/* ---------- Sektionen ---------- */

.mf-section { padding: 5.5rem var(--mf-rand); }

/* Anker-Sprünge landen unterhalb der klebenden Navigationsleiste */
.mf-section[id] { scroll-margin-top: 4rem; }
.mf-section--karton { background: var(--mf-karton); }
.mf-section--dunkel { background: var(--mf-tinte); color: #d9d4d4; }

@media (max-width: 767px) {
	.mf-section { padding-block: 3.5rem; }
}

/* Spalten: nebeneinander ab 782px, darunter gestapelt */
.mf-spalten {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: var(--mf-luft);
}

.mf-spalten--mitte { align-items: center; }
.mf-spalten--58-42 { grid-template-columns: 58fr 42fr; }
.mf-spalten--42-58 { grid-template-columns: 42fr 58fr; }
.mf-spalten--2 { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mf-spalten--3 { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }

@media (max-width: 781px) {
	.mf-spalten,
	.mf-spalten--3 {
		grid-auto-flow: row;
		grid-template-columns: minmax(0, 1fr);
		row-gap: var(--mf-luft);
	}
}

/* Eyebrow: Mono-Zeile in Siegelrot (Motiv aus den 3a-Dokumenten:
   Code-Auszeichnung in Akzentrot) */
.mf-eyebrow {
	font-family: var(--mf-mono);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mf-rot);
	margin-bottom: 1rem;
}

.mf-section--dunkel .mf-eyebrow { color: #d98f8f; }

/* H2 mit kurzem rotem Strich darunter — Überschriften-Motiv der
   3a-Geschäftsdokumente */
.mf-h2 {
	font-size: clamp(1.75rem, 3.4vw, 2.5rem);
	margin-top: 0;
	margin-bottom: 1rem;
}

.mf-h2::after {
	content: "";
	display: block;
	width: 3.25rem;
	height: 4px;
	background: var(--mf-rot);
	margin-top: 0.9rem;
}

.mf-section--dunkel .mf-h2 { color: #fff; }

.mf-lead {
	color: var(--mf-grau);
	font-size: 1.125rem;
	max-width: 44rem;
}

.mf-abstand { margin-bottom: 3rem; }

/* Gestapelte Spalten brauchen keinen zusätzlichen Abstand zum nächsten
   Block — sonst klafft dort eine größere Lücke als zwischen den Karten */
@media (max-width: 781px) {
	.mf-spalten.mf-abstand { margin-bottom: 0; }
}

/* Zentrierte Sektion (Für wen) */
.mf-mitte > .mf-h2,
.mf-mitte > .mf-lead { text-align: center; }

.mf-mitte > .mf-h2::after { margin-left: auto; margin-right: auto; }

.mf-mitte > .mf-lead { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */

body > header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--mf-linie);
}

nav {
	max-width: calc(1200px + 4rem);
	margin: 0 auto;
	padding: 0.75rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.mf-marke {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-family: var(--mf-display);
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--mf-tinte);
	text-decoration: none;
}

.mf-marke img { height: 2rem; width: auto; }

nav ul {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav ul a:not(.mf-btn) {
	color: var(--mf-tinte);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.5rem 0.9rem;
	text-decoration: none;
	white-space: nowrap;
	display: inline-block;
}

nav ul a:not(.mf-btn):hover { color: var(--mf-rot); }

/* Scroll-Spy: Menüpunkt der Sektion, die gerade im Viewport liegt */
nav ul a.aktiv {
	color: var(--mf-rot);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Luft zwischen letztem Menüpunkt und dem Demo-Button */
@media (min-width: 992px) {
	nav li:last-child { margin-left: 1.25rem; }
}

nav button {
	display: none;
	background: none;
	border: 1px solid var(--mf-linie);
	border-radius: 0.375rem;
	padding: 0.45rem 0.6rem;
	cursor: pointer;
}

nav button span {
	display: block;
	width: 1.4rem;
	height: 2px;
	background: var(--mf-tinte);
	margin: 0.3rem 0;
}

@media (max-width: 991px) {
	nav button { display: block; }

	nav ul {
		display: none;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		padding-bottom: 0.75rem;
	}

	nav ul.offen { display: flex; }

	nav ul a:not(.mf-btn) { padding: 0.6rem 0.25rem; }
}

/* ---------- Buttons ---------- */

.mf-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--mf-luft);
}

.mf-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--mf-body);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.6;
	padding: 0.75rem 1.4rem;
	border-radius: 0.375rem;
	border: 1.5px solid transparent;
	background: var(--mf-rot);
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mf-btn:hover { background: var(--mf-rot-dunkel); color: #fff; }

.mf-btn--kontur {
	border-color: var(--mf-tinte);
	color: var(--mf-tinte);
	background: transparent;
}

.mf-btn--kontur:hover {
	border-color: var(--mf-rot);
	color: var(--mf-rot);
	background: transparent;
}

.mf-btn--klein { font-size: 0.9rem; padding: 0.5rem 1rem; }

@media (max-width: 575px) {
	.mf-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

/* ---------- Hero ---------- */

.mf-hero { padding: 5rem var(--mf-rand) 5.5rem; }

@media (max-width: 767px) {
	.mf-hero { padding-block: 2rem 3.5rem; }
}

.mf-hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.6rem);
	margin: 0 0 1.25rem;
}

.mf-hero h1 .mf-hero-akzent { color: var(--mf-rot); }

.mf-hero-vertrauen {
	font-family: var(--mf-mono);
	font-size: 0.78rem;
	color: var(--mf-grau);
	letter-spacing: 0.04em;
	margin-top: 1.5rem;
}

/* ---------- Vorgang (E-Mail-Thread-Mock) ---------- */

.mf-vorgang {
	background: var(--mf-karton);
	border: 1px solid var(--mf-linie);
	border-radius: 0.75rem;
	padding: 1.1rem;
	box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.18);
}

.mf-vorgang-kopf {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	padding: 0.15rem 0.35rem 0.85rem;
	flex-wrap: wrap;
}

.mf-vorgang-postfach {
	font-family: var(--mf-mono);
	font-size: 0.8rem;
	color: var(--mf-grau);
}

.mf-mail {
	background: #fff;
	border: 1px solid var(--mf-linie);
	border-radius: 0.5rem;
	padding: 0.9rem 1rem;
	margin-bottom: 0.65rem;
}

.mf-mail--mailfried { border-left: 3px solid var(--mf-rot); }

.mf-mail-kopf {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.45rem;
}

.mf-avatar {
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--mf-linie);
	color: var(--mf-tinte);
	font-family: var(--mf-display);
	font-size: 0.72rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mf-avatar--rot { background: var(--mf-rot); }

.mf-vorgang p { margin: 0; }

.mf-mail-meta { line-height: 1.3; }
.mf-mail-name { font-size: 0.86rem; font-weight: 600; }
.mf-mail-zeit { font-size: 0.74rem; color: var(--mf-grau); }

/* Gilt bewusst auch für Avatar, Name und Uhrzeit im Mailkopf */
.mf-mail p {
	font-size: 0.88rem;
	color: var(--mf-tinte);
}

/* Spezifischer als „.mf-mail p“, damit das M weiß bleibt */
.mf-mail p.mf-avatar--rot { color: #fff; }

/* Aufgabenprotokoll-Zeile zwischen den Mails */
.mf-protokoll {
	font-family: var(--mf-mono);
	font-size: 0.74rem;
	color: var(--mf-grau);
	padding: 0.1rem 0.5rem 0.75rem;
}

.mf-protokoll code {
	font-family: inherit;
	color: var(--mf-rot);
	font-size: inherit;
}

.mf-protokoll .mf-ok { color: var(--mf-gruen); }

/* Status-Chips — die Statusmarkierungen aus dem Produkt */
.mf-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--mf-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.22rem 0.6rem;
	border-radius: 1rem;
	white-space: nowrap;
}

.mf-chip--erledigt { background: var(--mf-gruen-fond); color: var(--mf-gruen); }
.mf-chip--wartet { background: var(--mf-bernstein-fond); color: var(--mf-bernstein); }
.mf-chip--uebernehmen { background: var(--mf-rot-fond); color: var(--mf-rot); }

/* Einblende-Animationen. Die Taktung hängt an der Position im
   Mail-Verlauf: ein neues Kind in .mf-vorgang verschiebt sie. */
@media (prefers-reduced-motion: no-preference) {
	.mf-vorgang > * {
		opacity: 0;
		transform: translateY(10px);
		animation: mf-einblenden 0.45s ease forwards;
	}

	.mf-vorgang > :nth-child(1),
	.mf-vorgang > :nth-child(2) { animation-delay: 0.25s; }
	.mf-vorgang > :nth-child(3) { animation-delay: 0.85s; }
	.mf-vorgang > :nth-child(4) { animation-delay: 1.45s; }
	.mf-vorgang > :nth-child(5) { animation-delay: 2.05s; }
	.mf-vorgang > :nth-child(6) { animation-delay: 2.65s; }

	/* Nur mit Skript: ohne JavaScript bleibt alles sichtbar */
	.mf-js .mf-reveal {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 0.5s ease, transform 0.5s ease;
	}

	.mf-js .mf-reveal.mf-sichtbar { opacity: 1; transform: none; }
}

@keyframes mf-einblenden {
	to { opacity: 1; transform: none; }
}

/* ---------- Ablauf (4 Schritte) ---------- */

.mf-schritt {
	border-top: 3px solid var(--mf-linie);
	padding-top: 1.25rem;
}

.mf-schritt-nr {
	font-family: var(--mf-mono);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--mf-rot);
	display: block;
	margin-bottom: 0.5rem;
}

.mf-schritt h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }

/* Gilt auch für die Schrittnummer */
.mf-schritt p { color: var(--mf-grau); font-size: 0.95rem; margin: 0; }

/* ---------- Vergleichstabelle ---------- */

.mf-tabelle {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--mf-linie);
	font-size: 0.95rem;
}

.mf-tabelle th {
	background: var(--mf-tinte);
	color: #fff;
	font-family: var(--mf-display);
	font-weight: 600;
	text-align: left;
	padding: 0.85rem 1.1rem;
}

.mf-tabelle td {
	padding: 0.85rem 1.1rem;
	vertical-align: top;
	border-top: 1px solid var(--mf-linie);
	color: var(--mf-grau);
	width: 50%;
}

.mf-tabelle td:last-child { color: var(--mf-tinte); }

.mf-tabelle tbody tr:nth-child(even) { background: var(--mf-karton); }

/* Die „Mit Mailfried"-Spalte trägt die Markenfarbe: Kopfzelle in
   Siegelrot, darunter ein transparenter Rotschleier, durch den das
   Zebra-Muster sichtbar bleibt */
.mf-tabelle th:last-child { background: var(--mf-rot); }
.mf-tabelle td:last-child { background: rgba(100, 0, 0, 0.05); }

/* Auf schmalen Viewports stapeln sich die Spalten zu beschrifteten
   Kartenpaaren — nichts wird abgeschnitten, kein verstecktes Wischen */
@media (max-width: 575px) {
	.mf-tabelle thead { display: none; }
	.mf-tabelle, .mf-tabelle tbody, .mf-tabelle tr, .mf-tabelle td { display: block; width: 100%; }
	.mf-tabelle tr { border-top: 3px solid var(--mf-tinte); }
	.mf-tabelle tr:first-child { border-top: none; }
	.mf-tabelle td { border-top: none; }
	.mf-tabelle td::before {
		display: block;
		font-family: var(--mf-mono);
		font-size: 0.7rem;
		font-weight: 600;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		margin-bottom: 0.3rem;
	}
	.mf-tabelle td:first-child::before { content: "Heute"; color: var(--mf-grau); }
	.mf-tabelle td:last-child::before { content: "Mit Mailfried"; color: var(--mf-rot); }
}

/* ---------- Terminassistent ---------- */

.mf-punkte { list-style: none; padding: 0; margin: 0; }

.mf-punkte li {
	position: relative;
	padding-left: 1.7rem;
	margin-bottom: 0.85rem;
	color: var(--mf-grau);
}

.mf-punkte li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.8rem;
	height: 0.3rem;
	background: var(--mf-rot);
}

.mf-punkte li strong { color: var(--mf-tinte); }

/* Kalendereinladungs-Karte */
.mf-einladung {
	background: #fff;
	border: 1px solid var(--mf-linie);
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.18);
	max-width: 22rem;
}

.mf-einladung p { margin: 0; }

.mf-einladung-kopf {
	background: var(--mf-rot);
	color: #fff;
	padding: 0.8rem 1.2rem;
	font-family: var(--mf-mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mf-einladung-rumpf { padding: 1.2rem; }

.mf-einladung-datum {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-bottom: 0.9rem;
}

.mf-einladung-tag {
	border: 1px solid var(--mf-linie);
	border-radius: 0.5rem;
	text-align: center;
	min-width: 3.6rem;
	overflow: hidden;
}

.mf-einladung-tag .mf-monat {
	background: var(--mf-karton);
	font-family: var(--mf-mono);
	font-size: 0.66rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mf-rot);
	padding: 0.15rem 0;
}

.mf-einladung-tag .mf-tag {
	font-family: var(--mf-display);
	font-size: 1.5rem;
	font-weight: 600;
	padding: 0.1rem 0 0.2rem;
}

.mf-einladung h4 { font-size: 1.05rem; margin: 0 0 0.2rem; }

.mf-einladung-rumpf p:not(.mf-monat, .mf-tag) { font-size: 0.85rem; color: var(--mf-grau); }

.mf-einladung-fuss {
	border-top: 1px solid var(--mf-linie);
	padding: 0.75rem 1.2rem;
	font-size: 0.8rem;
	color: var(--mf-grau);
}

.mf-einladung-fuss p {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

/* ---------- Branchen ---------- */

.mf-branche {
	background: #fff;
	border: 1px solid var(--mf-linie);
	border-radius: 0.75rem;
	overflow: hidden;
}

.mf-branche img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	/* kräftig entsättigt, damit die Fotos die Rot/Schwarz-Palette nicht stören */
	filter: saturate(0.55);
}

.mf-branche-text { padding: 1.3rem 1.4rem 1.5rem; }

.mf-branche-text h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }

.mf-branche-text p { color: var(--mf-grau); font-size: 0.93rem; margin: 0; }

.mf-branchen-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	justify-content: center;
	list-style: none;
	padding: 0;
}

.mf-branchen-chips li {
	border: 1px solid var(--mf-linie);
	background: #fff;
	border-radius: 2rem;
	padding: 0.4rem 1rem;
	font-size: 0.88rem;
	color: var(--mf-grau);
}

/* ---------- Datenschutz-Karten ---------- */

.mf-fakt {
	background: #fff;
	border: 1px solid var(--mf-linie);
	border-radius: 0.6rem;
	padding: 1.4rem 1.5rem;
}


.mf-fakt-titel {
	font-family: var(--mf-mono);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mf-rot);
	margin: 0 0 0.55rem;
}

.mf-fakt p { color: var(--mf-grau); font-size: 0.93rem; margin: 0; }

/* ---------- Copilot-Band ---------- */

.mf-copilot p { color: #b9b1b1; }

.mf-copilot-punkt {
	border-top: 1px solid #3a3434;
	padding-top: 1.1rem;
}

.mf-copilot-punkt strong {
	color: #fff;
	font-family: var(--mf-display);
	font-size: 1.02rem;
	display: block;
	margin-bottom: 0.35rem;
}

.mf-copilot-punkt p { font-size: 0.92rem; margin: 0; }

/* ---------- Live-Demo (Compose-Mock) ---------- */

.mf-compose {
	background: #fff;
	border: 1px solid var(--mf-linie);
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 24px 48px -24px rgba(17, 17, 17, 0.2);
}

.mf-compose p { margin: 0; }

.mf-compose-kopf {
	background: var(--mf-karton);
	border-bottom: 1px solid var(--mf-linie);
	padding: 0.7rem 1.2rem;
	font-family: var(--mf-display);
	font-weight: 600;
	font-size: 0.92rem;
	display: flex;
	align-items: center;
}

/* Die drei Fensterpunkte: ein Kreis plus zwei Schatten-Kopien */
.mf-compose-kopf::before {
	content: "";
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--mf-linie);
	box-shadow: 0.9rem 0 0 var(--mf-linie), 1.8rem 0 0 var(--mf-linie);
	margin-right: 2.3rem;
	flex-shrink: 0;
}

.mf-compose-zeile {
	display: flex;
	gap: 0.75rem;
	padding: 0.65rem 1.2rem;
	border-bottom: 1px solid var(--mf-linie);
	font-size: 0.9rem;
	align-items: baseline;
}

/* Feldbeschriftungen als Pseudo-Elemente */
.mf-compose-zeile::before {
	font-family: var(--mf-mono);
	/* explizit: die An-Zeile setzt 600 auf die ganze Zeile, das Label
	   soll das nicht erben */
	font-weight: 400;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mf-grau);
	min-width: 4.2rem;
}

.mf-compose-zeile--an::before { content: "An"; }

.mf-compose-zeile--betreff::before { content: "Betreff"; }

.mf-compose-zeile--an {
	font-family: var(--mf-mono);
	font-size: 0.88rem;
	color: var(--mf-rot);
	font-weight: 600;
}

.mf-compose-rumpf { padding: 1.1rem 1.2rem 1.3rem; font-size: 0.92rem; color: var(--mf-grau); }

.mf-compose-rumpf p { margin: 0 0 0.5rem; }

.mf-compose-rumpf p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */

.mf-kontakt-daten { font-size: 1.02rem; line-height: 2; }

.mf-kontakt-daten a { font-family: var(--mf-mono); font-size: 0.95rem; }

.mf-phase {
	border-left: 3px solid var(--mf-linie);
	padding-left: 1.1rem;
}

.mf-phase strong { font-family: var(--mf-display); display: block; }

.mf-phase p { color: var(--mf-grau); font-size: 0.92rem; margin: 0; }

/* ---------- Footer ---------- */

body > footer {
	background: var(--mf-tinte);
	color: #b9b1b1;
	padding: 2.5rem max(2rem, calc((100% - 1200px) / 2));
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

body > footer a { color: #fff; }
body > footer a:hover { color: #d98f8f; }

body > footer .mf-marke {
	gap: 0.6rem;
	color: #fff;
	font-size: 1.1rem;
}

/* Das transparente SVG lässt sich für den dunklen Grund weiß invertieren */
body > footer .mf-marke img {
	height: 1.7rem;
	filter: brightness(0) invert(1);
}

/* ---------- Rechtstexte (Impressum, Datenschutz, AGB, AVV) ---------- */

main > article {
	max-width: calc(46rem + 4rem);
	margin: 0 auto;
	padding: 4rem 2rem;
}

main > article h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 2rem; }

main > article h1::after {
	content: "";
	display: block;
	width: 3.25rem;
	height: 4px;
	background: var(--mf-rot);
	margin-top: 1rem;
}

main > article h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }

main > article h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }

main > article p,
main > article li { color: var(--mf-grau); }

main > article li { margin-bottom: 0.5rem; }

main > article strong { color: var(--mf-tinte); }

/* Schlichte Dokumenttabellen (Anlagen im AVV) — bewusst ohne den
   Tabellenstil .mf-tabelle der Startseite */
main > article table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin: 1rem 0;
}

main > article th,
main > article td {
	border: 1px solid var(--mf-linie);
	padding: 0.6rem 0.8rem;
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

main > article th {
	background: var(--mf-karton);
	color: var(--mf-tinte);
}

main > article td { color: var(--mf-grau); }
