/* Kai 25.11.2026 – einheitliche Typografie für Überschriften (H1–H3) auf allen Seiten.
   Schrift: Proxima Nova, lokal vom eigenen Server (keine externen Dienste).
   Rückbau: mu-plugins/kai-typography.php löschen. */
@font-face { font-family: "IPSER Proxima"; font-style: normal; font-weight: 400; font-display: swap;
	src: url("../fonts/Proxima_Nova_Regular.woff2") format("woff2"), url("../fonts/Proxima_Nova_Regular.woff") format("woff"); }
@font-face { font-family: "IPSER Proxima"; font-style: normal; font-weight: 600; font-display: swap;
	src: url("../fonts/Proxima_Nova_Semibold.woff2") format("woff2"), url("../fonts/Proxima_Nova_Semibold.woff") format("woff"); }
@font-face { font-family: "IPSER Proxima"; font-style: normal; font-weight: 700; font-display: swap;
	src: url("../fonts/Proxima_Nova_Bold.woff2") format("woff2"), url("../fonts/Proxima_Nova_Bold.woff") format("woff"); }

:root {
	--ipser-h1: 40px;
	--ipser-h2: 28px;
	--ipser-h3: 21px;
}

/* Schriftart und -stärke überall gleich (auch Header/Footer) */
body h1, body h2, body h3,
body .h1, body .h2, body .h3 {
	font-family: "IPSER Proxima", "Proxima Nova", Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	text-transform: none !important;
	-webkit-hyphens: manual !important;
	hyphens: manual !important;
	overflow-wrap: normal;
	word-break: normal;
}

/* Größen nur im Inhaltsbereich (Seitenkopf, Navigation, Footer, Modals behalten ihre Größen) */
body h1:not(:is(body > header, .ipser-site-footer, nav, .modal) h1) {
	font-size: var(--ipser-h1) !important;
	line-height: 1.15 !important;
	letter-spacing: -.015em !important;
}
body h2:not(:is(body > header, .ipser-site-footer, nav, .modal) h2) {
	font-size: var(--ipser-h2) !important;
	line-height: 1.22 !important;
	letter-spacing: -.01em !important;
}
body h3:not(:is(body > header, .ipser-site-footer, nav, .modal) h3) {
	font-size: var(--ipser-h3) !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
}

@media (max-width: 620px) {
	:root {
		--ipser-h1: 30px;
		--ipser-h2: 24px;
		--ipser-h3: 19px;
	}
}

/* Kategorie-Hubs (Anschreiben, Einleitung, Deckblatt …) hatten auf dem Handy eine eigene !important-Größe */
body.tax-muster_tax[class] .ipser-deckblatt-page .ipser-deckblatt-hero h1 {
	font-size: var(--ipser-h1) !important;
	line-height: 1.15 !important;
}
