/**
 * REFU Theme: ergänzende Gestaltung.
 * Farben, Schriften und Abstände kommen aus theme.json (CSS-Variablen --wp--preset--…).
 */

:root {
	--refu-kopf-hoehe: var(--wp--custom--kopf--hoehe, 64px);
	--refu-oben: var(--wp-admin--admin-bar--height, 0px);
	--refu-rand: clamp(1.25rem, 5vw, 5rem); /* Seitenrand 20 px (Handy) bis 80 px (Desktop), Entscheidung 97 */
	--refu-schwarz: var(--wp--preset--color--schwarz);
	--refu-rot: var(--wp--preset--color--rot);
	--refu-dunkelgrau: var(--wp--preset--color--dunkelgrau);
	--refu-grau: var(--wp--preset--color--grau);
	--refu-hellgrau: var(--wp--preset--color--hellgrau);
	--refu-weiss: var(--wp--preset--color--weiss);
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Die Hauptbereiche der Vorlage stoßen ohne Abstand aneinander. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* ---------- Grundelemente ---------- */

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

a:where(:not(.wp-element-button)) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:where(:not(.wp-element-button)):hover {
	text-decoration-thickness: 2px;
}

.wp-element-button,
.wp-block-button__link,
.refu-kopfnav__schalter {
	box-sizing: border-box;
}

.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	text-decoration: none;
}

/* Umriss-Knopf (Stil „Kontur“) */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--refu-schwarz);
	border: 2px solid var(--refu-schwarz);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

/* Tabellen: nur waagerechte Linien, breite Tabellen scrollen in sich. */
.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table th,
.wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--refu-hellgrau);
	padding: 0.7rem 0.75rem 0.7rem 0;
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead th {
	font-weight: 600;
}

.wp-block-table tbody th {
	font-weight: 400;
	color: var(--refu-grau);
}

.wp-block-table thead {
	border-bottom: 0;
}

.wp-block-table figcaption {
	text-align: left;
}

.refu-hinweis {
	font-size: 0.875rem;
	padding: 0.5rem 0.75rem;
	border: 1px dashed var(--refu-grau);
	border-radius: var(--wp--custom--radius--knopf);
	margin: 0;
}

/* ---------- Abschnitt „Schwarz“ ---------- */

/* Schwarze Gruppe, die nicht über die volle Breite geht: als Fläche mit runden Ecken. */
.is-style-abschnitt-schwarz:not(.alignfull):not(.refu-fuss) {
	padding-left: var(--refu-rand);
	padding-right: var(--refu-rand);
	border-radius: var(--wp--custom--radius--karte);
}

.wp-block-post-content > .is-style-abschnitt-schwarz:not(.alignfull):not(:first-child) {
	margin-block-start: var(--wp--preset--spacing--60);
}

.wp-block-post-content > .is-style-abschnitt-schwarz:not(.alignfull) + * {
	margin-block-start: var(--wp--preset--spacing--60);
}

.is-style-abschnitt-schwarz a:where(:not(.wp-element-button)) {
	text-decoration-color: var(--refu-rot);
}

.is-style-abschnitt-schwarz .wp-element-button:hover,
.is-style-abschnitt-schwarz .wp-element-button:focus-visible,
.is-style-abschnitt-schwarz .wp-block-button__link:hover,
.is-style-abschnitt-schwarz .wp-block-button__link:focus-visible {
	background: var(--refu-weiss);
	color: var(--refu-rot);
}

.is-style-abschnitt-schwarz .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--refu-weiss);
	border-color: var(--refu-weiss);
}

.is-style-abschnitt-schwarz .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.is-style-abschnitt-schwarz .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
}

.is-style-abschnitt-schwarz .wp-block-table th,
.is-style-abschnitt-schwarz .wp-block-table td {
	border-bottom-color: var(--refu-dunkelgrau);
}

.is-style-abschnitt-schwarz .wp-block-table tbody th {
	color: var(--refu-hellgrau);
}

.is-style-abschnitt-schwarz .refu-hinweis {
	border-color: var(--refu-hellgrau);
}

/* ---------- Gestaltungselemente ---------- */

/* Flow-Linien aus der Ecke unten rechts (Brandbook: Ecke, mind. 60 % frei). */

/* Absatzstil „Unterzeile (Thin)“: Thin nur in großer Schrift (ab 24 px). */
p.is-style-unterzeile {
	font-size: var(--wp--preset--font-size--unterzeile);
	font-weight: 100;
	line-height: 1.3;
}

/* Einstieg: Textblock bündig mit dem Logo, Text selbst schmal, damit die Linien frei bleiben. */
.is-layout-constrained > .refu-einstieg__text {
	max-width: var(--wp--style--global--wide-size, 1200px) !important;
}

.refu-einstieg__text > * {
	max-width: 36rem;
}

/* ---------- Kopfzeile ---------- */

.refu-kopfbereich {
	--kopf-text: var(--refu-schwarz);
	--kopf-leise: var(--refu-grau);
	position: sticky;
	top: var(--refu-oben);
	z-index: 100;
	height: var(--refu-kopf-hoehe);
	margin-bottom: calc(-1 * var(--refu-kopf-hoehe));
	background: transparent;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

/* Über Schwarz: helle Schrift. Ohne JavaScript erkennt :has() den schwarzen Seitenanfang. */
.refu-kopfbereich.ist-dunkel,
html:not(.refu-js) body:has(.refu-inhalt > .wp-block-post-content:first-child > .is-style-abschnitt-schwarz:first-child) .refu-kopfbereich,
html:not(.refu-js) body:has(.refu-inhalt > .refu-start-schwarz:first-child) .refu-kopfbereich {
	--kopf-text: var(--refu-weiss);
	--kopf-leise: var(--refu-hellgrau);
}

/* Beim Scrollen: Milchglas passend zum Abschnitt darunter. */
.refu-kopfbereich.ist-gescrollt {
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(170, 170, 170, 0.5);
}

.refu-kopfbereich.ist-gescrollt.ist-dunkel {
	background: rgba(0, 0, 0, 0.72);
	box-shadow: 0 1px 0 var(--refu-dunkelgrau);
}

@media (prefers-reduced-transparency: reduce) {
	.refu-kopfbereich.ist-gescrollt {
		background: var(--refu-weiss);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	.refu-kopfbereich.ist-gescrollt.ist-dunkel {
		background: var(--refu-schwarz);
	}
}

.refu-kopf,
.refu-kopf__innen {
	height: 100%;
}

.refu-kopf__innen {
	align-items: center;
	gap: 2rem;
}

.refu-logo {
	display: block;
	flex: none;
	line-height: 0;
}

.refu-logo__grafik {
	display: block;
	width: 96px;
	height: auto;
}

.refu-kopfnav,
.refu-kopfnav__panel {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.refu-kopfnav__schalter {
	display: none;
}

.refu-hauptmenue__liste {
	display: flex;
	gap: clamp(1.25rem, 2vw, 2.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.refu-hauptmenue__liste li {
	position: relative;
}

.refu-hauptmenue__liste a {
	display: inline-block;
	padding: 0.5rem 0;
	color: var(--kopf-text);
	font-size: 1.0625rem; /* 17 px, besser lesbar als 15 px */
	font-weight: 500;
	text-decoration: none;
	transition: color 0.25s ease;
}

.refu-hauptmenue__liste > li > a:hover,
.refu-hauptmenue__liste > li:focus-within > a,
.refu-hauptmenue__liste > .current-menu-item > a,
.refu-hauptmenue__liste > .current-menu-ancestor > a,
.refu-hauptmenue__liste > .current-menu-parent > a {
	box-shadow: inset 0 -2px 0 var(--refu-rot);
}

/* Hauptpunkt mit Untermenü: kleiner Pfeil */
.refu-hauptmenue__liste > .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.5em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-0.2em) rotate(45deg);
	transition: transform 0.25s ease;
}

.refu-hauptmenue__liste > .menu-item-has-children:hover > a::after,
.refu-hauptmenue__liste > .menu-item-has-children:focus-within > a::after {
	transform: translateY(0) rotate(225deg);
}

/* Untermenü: dunkle Karte mit Abstand, öffnet bei Maus und Tastatur (Entscheidung 113). */
.refu-hauptmenue__liste .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -1.25rem;
	min-width: 17rem;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: #111111;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
	z-index: 20;
}

/* Unsichtbare Brücke, damit das Menü beim Hinüberfahren offen bleibt */
.refu-hauptmenue__liste .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -0.9rem;
	height: 0.9rem;
}

.refu-hauptmenue__liste li:hover > .sub-menu,
.refu-hauptmenue__liste li:focus-within > .sub-menu {
	display: block;
	margin-top: 0.75rem;
	animation: refu-menue-auf 0.2s ease both;
}

@keyframes refu-menue-auf {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.refu-hauptmenue__liste li:hover > .sub-menu,
	.refu-hauptmenue__liste li:focus-within > .sub-menu {
		animation: none;
	}
}

.refu-hauptmenue__liste .sub-menu a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	color: var(--refu-weiss);
	font-size: 1rem;
	font-weight: 500;
	white-space: nowrap;
}

.refu-hauptmenue__liste .sub-menu a::after {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-right: 1.5px solid var(--refu-rot);
	border-top: 1.5px solid var(--refu-rot);
	transform: rotate(45deg) translateX(-4px);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.refu-hauptmenue__liste .sub-menu a:hover,
.refu-hauptmenue__liste .sub-menu a:focus-visible,
.refu-hauptmenue__liste .sub-menu .current-menu-item > a {
	background: #1f1f1f;
	color: var(--refu-weiss);
}

.refu-hauptmenue__liste .sub-menu a:hover::after,
.refu-hauptmenue__liste .sub-menu a:focus-visible::after,
.refu-hauptmenue__liste .sub-menu .current-menu-item > a::after {
	opacity: 1;
	transform: rotate(45deg) translateX(0);
}

.refu-sprachwahl {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1rem;
	white-space: nowrap;
	color: var(--kopf-leise);
}

.refu-sprachwahl li + li::before {
	content: "/";
	padding: 0 0.35em;
}

.refu-sprachwahl a {
	color: var(--kopf-text);
	text-decoration: none;
}

.refu-sprachwahl a[aria-current] {
	font-weight: 600;
}

.refu-sprachwahl a:hover {
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
}

.refu-kopfnav__aktion.wp-element-button {
	min-height: 38px;
	padding: 0 16px;
	font-size: 0.875rem;
}

@media (max-width: 900px) {
	.refu-kopfnav__aktion.wp-element-button {
		min-height: 44px;
	}
}

.refu-kopfbereich.ist-dunkel .refu-kopfnav__aktion:hover,
.refu-kopfbereich.ist-dunkel .refu-kopfnav__aktion:focus-visible {
	background: var(--refu-weiss);
	color: var(--refu-rot);
}

/* Handy und Tablet: aufklappbares Menü */
@media (max-width: 1079px) {
	.refu-kopfnav__schalter {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		padding: 0.5rem 0.9rem;
		font: inherit;
		font-size: 1rem;
		color: var(--kopf-text);
		background: transparent;
		border: 1px solid var(--kopf-leise);
		border-radius: var(--wp--custom--radius--knopf);
		cursor: pointer;
	}

	.refu-kopfnav__panel {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: var(--refu-kopf-hoehe);
		max-height: calc(100vh - var(--refu-kopf-hoehe) - var(--refu-oben));
		overflow-y: auto;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
		padding: 1rem var(--refu-rand) 2rem;
		background: var(--refu-weiss);
		border-bottom: 1px solid var(--refu-hellgrau);
	}

	.refu-kopfbereich.ist-offen {
		background: var(--refu-weiss);
		box-shadow: none;
	}

	.refu-kopfbereich.ist-offen.ist-dunkel,
	.refu-kopfbereich.ist-offen.ist-dunkel .refu-kopfnav__panel {
		background: var(--refu-schwarz);
		border-color: var(--refu-dunkelgrau);
	}

	.refu-kopfbereich.ist-offen .refu-kopfnav__panel {
		display: flex;
	}

	.refu-hauptmenue,
	.refu-hauptmenue__liste {
		width: 100%;
	}

	.refu-hauptmenue__liste {
		flex-direction: column;
		gap: 0.25rem;
	}

	.refu-hauptmenue__liste a {
		font-size: 1.125rem;
	}

	.refu-hauptmenue__liste .sub-menu,
	.refu-hauptmenue__liste li:hover > .sub-menu,
	.refu-hauptmenue__liste li:focus-within > .sub-menu {
		display: block;
		position: static;
		min-width: 0;
		margin-top: 0;
		padding: 0 0 0.5rem 1rem;
		background: transparent;
		border: 0;
		box-shadow: none;
		animation: none;
	}

	.refu-hauptmenue__liste .sub-menu::before,
	.refu-hauptmenue__liste > .menu-item-has-children > a::after,
	.refu-hauptmenue__liste .sub-menu a::after {
		display: none;
	}

	.refu-hauptmenue__liste .sub-menu a,
	.refu-hauptmenue__liste .sub-menu a:hover {
		color: var(--kopf-text);
		background: transparent;
		padding: 0.35rem 0;
		font-size: 1rem;
	}

	/* Ohne JavaScript: Menü steht offen unter dem Logo. */
	html:not(.refu-js) .refu-kopfbereich {
		position: relative;
		height: auto;
		margin-bottom: 0;
	}

	html:not(.refu-js) .refu-kopfnav__schalter {
		display: none;
	}

	html:not(.refu-js) .refu-kopfnav__panel {
		display: flex;
		position: static;
		background: transparent;
		border: 0;
		padding: 0 0 1.5rem;
	}

	html:not(.refu-js) .refu-kopf__innen {
		flex-wrap: wrap;
		height: auto;
		padding-top: 1.5rem;
	}
}

/* ---------- Inhalt unter der durchsichtigen Kopfzeile ---------- */

.refu-inhalt {
	padding-top: var(--refu-kopf-hoehe);
}

/* Beginnt die Seite mit einem schwarzen Abschnitt, liegt die Kopfzeile darauf. */
body:has(.refu-inhalt > .wp-block-post-content:first-child > .is-style-abschnitt-schwarz:first-child) .refu-inhalt,
body:has(.refu-inhalt > .refu-start-schwarz:first-child) .refu-inhalt {
	padding-top: 0;
}

/* Vorlagen, die mit einem schwarzen Abschnitt beginnen (z. B. Produktseite). */
.refu-inhalt > .refu-start-schwarz:first-child {
	padding-top: calc(var(--refu-kopf-hoehe) + var(--wp--preset--spacing--60));
}

.refu-inhalt > .wp-block-post-content:first-child > .is-style-abschnitt-schwarz:first-child {
	margin-top: 0 !important;
	padding-top: calc(var(--refu-kopf-hoehe) + var(--wp--preset--spacing--70)) !important;
}

.refu-seitentitel {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--40);
}

.refu-seitentitel .wp-block-post-title,
.refu-seitentitel h1 {
	margin: 0;
}

/* Schwarze Abschnitte in voller Breite: Abstand zu weißen Inhalten davor und danach. */
.wp-block-post-content > .is-style-abschnitt-schwarz.alignfull {
	margin-block: 0;
}

.wp-block-post-content > .is-style-abschnitt-schwarz.alignfull + :not(.is-style-abschnitt-schwarz),
.wp-block-post-content > :not(.is-style-abschnitt-schwarz) + .is-style-abschnitt-schwarz.alignfull {
	margin-block-start: var(--wp--preset--spacing--70);
}

/* Abstand zwischen Inhalt und Footer */
.refu-inhalt > :last-child:not(.alignfull) {
	margin-bottom: var(--wp--preset--spacing--70);
}

.refu-inhalt > .wp-block-post-content > :last-child:not(.is-style-abschnitt-schwarz) {
	margin-bottom: var(--wp--preset--spacing--70);
}

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

/* Zwei Klassen, damit der Innenabstand des Stils „Schwarz“ hier nicht greift. */
.wp-block-group.refu-fuss {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--50);
}

.refu-fuss .refu-logo__grafik {
	width: 104px;
}

.refu-fuss__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 2rem;
	margin-top: var(--wp--preset--spacing--50);
}

.refu-fuss__spalten > * {
	margin-block: 0;
}

.refu-menue__titel,
.refu-fuss h2.refu-menue__titel {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 0.75rem;
}

.refu-menue__liste {
	list-style: none;
	margin: 0;
	padding: 0;
}

.refu-menue__liste li {
	margin: 0 0 0.4rem;
	font-size: 0.9375rem;
}

.refu-fuss a:where(:not(.wp-element-button)) {
	color: var(--refu-weiss);
	text-decoration: none;
}

.refu-fuss a:where(:not(.wp-element-button)):hover {
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
}

.refu-fuss__kontakt p {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--refu-hellgrau);
}

.refu-menue--leiste {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: 1.5rem;
	border-top: 1px solid var(--refu-dunkelgrau);
}

.refu-menue--leiste .refu-menue__liste {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.refu-menue--leiste .refu-menue__liste li {
	margin: 0;
	font-size: 0.875rem;
}

.refu-fuss .refu-menue--leiste a {
	color: var(--refu-hellgrau);
}

/* ---------- Seitenbausteine (Produktseite, Produktübersicht; Gestaltungsregeln Abschnitt 18) ---------- */

:root {
	--refu-flaeche: #f4f4f4;
	--refu-linie-hell: #e3e3e3;
	--refu-abstand: clamp(4rem, 8vw, 7rem); /* 64–112 px zwischen Abschnitten */
}

/* Abschnitte stoßen direkt aneinander (kein Blockabstand von WordPress dazwischen) */
.refu-produktseite > *,
.refu-produktuebersicht > *,
.refu-downloadcenter > *,
.refu-startseite > *,
.refu-hubseite > *,
.refu-ueberseite > *,
.refu-stellenseite > *,
.refu-glossarseite > * {
	margin-block: 0 !important;
}

.refu-p {
	position: relative;
	padding-block: var(--refu-abstand);
	scroll-margin-top: calc(var(--refu-oben) + var(--refu-kopf-hoehe) + 1rem);
}

.refu-p__innen {
	position: relative;
	z-index: 1;
	box-sizing: content-box; /* gleiche Rechnung wie Kopf und Abschnitte, auch in Gruppen-Blöcken */
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin-inline: auto;
	padding-inline: var(--refu-rand);
}

.refu-p h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--sehr-gross);
	line-height: 1.2;
}

.refu-p h3 {
	margin: 0;
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.25;
}

/* Hintergründe im Rhythmus Schwarz – Hellgrau – Weiß */
.refu-hg-schwarz {
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-hg-schwarz :is(h1, h2, h3, h4) {
	color: var(--refu-weiss);
}

.refu-hg-schwarz a:not(.wp-element-button) {
	color: var(--refu-weiss);
}

.refu-hg-hellgrau {
	background: var(--refu-flaeche);
}

.refu-hg-weiss {
	background: var(--refu-weiss);
}

/* Zwei gleiche Hintergründe hintereinander: kein doppelter Abstand – auch über die Grenze des freien Bereichs hinweg */
.refu-hg-weiss + .refu-hg-weiss,
.refu-hg-hellgrau + .refu-hg-hellgrau,
.refu-freier-bereich:has(> .refu-hg-weiss:last-child) + .refu-hg-weiss,
.refu-freier-bereich:has(> .refu-hg-hellgrau:last-child) + .refu-hg-hellgrau,
.refu-p.refu-hg-weiss + .refu-freier-bereich > .refu-hg-weiss:first-child,
.refu-p.refu-hg-hellgrau + .refu-freier-bereich > .refu-hg-hellgrau:first-child {
	padding-top: 0;
}

.refu-ohne-umbruch {
	white-space: nowrap;
}

.refu-unterzeile {
	font-size: var(--wp--preset--font-size--unterzeile);
	font-weight: 100;
	line-height: 1.3;
}

/* Knöpfe: 8 px Rundung, Kontur-Variante */
.refu-knopf--rahmen.wp-element-button {
	background: transparent;
	color: currentColor;
	border: 1px solid currentColor;
}

.refu-hg-schwarz .refu-knopf--rahmen.wp-element-button:hover {
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
}

.refu-hg-weiss .refu-knopf--rahmen.wp-element-button:hover,
.refu-hg-hellgrau .refu-knopf--rahmen.wp-element-button:hover {
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Flow-Linien: Originalgrafik aus den Datenblättern, Eckbogen oben rechts.
   Regel (Brandbook): am Rand oder hinter Produktbildern, nie hinter Text. Die Fläche der Linien
   beginnt deshalb erst rechts neben der Textspalte und wird bei weniger Platz kleiner. */
.refu-deko-flow {
	position: relative;
	overflow: hidden;
	background-image: none;
}

.refu-deko-flow::before {
	content: "";
	position: absolute;
	top: -22%;
	right: 0;
	bottom: 0;
	/* rechts neben der Textspalte; bei breiten Bildschirmen ist die Spalte zentriert */
	left: max(46%, calc(max(0px, (100% - var(--wp--style--global--wide-size, 1440px)) / 2) + var(--refu-rand) + 36rem));
	background: url("../deko/flow-ecke.webp") right top / contain no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(0deg, transparent 0, #000 30%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(0deg, transparent 0, #000 30%);
	mask-composite: intersect;
	pointer-events: none;
	z-index: 0;
}

/* Mit Produktbild rechts: Linien laufen hinter dem Bild durch (volle rechte Hälfte). */
.refu-deko-flow.hat-bild::before {
	left: 40%;
}

/* Handy: nur ein schmaler Streifen am rechten Rand, gedämpft („subtly at the edge“). */
@media (max-width: 900px) {
	/* Ohne Bild: Linien unten rechts im freien Abstand unter dem Text (Brandbook: „start at the bottom“). */
	.refu-deko-flow::before {
		top: auto;
		left: 38%;
		height: min(var(--refu-abstand), 110px);
		background-size: 100% auto;
		background-position: right top;
		opacity: 0.9;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
		mask-image: linear-gradient(90deg, transparent 0, #000 45%);
	}

}


@media (max-width: 1000px) {
	/* Mit Produktbild oben: Linien hinter dem Bild, darunter frei für den Text. */
	.refu-deko-flow.hat-bild::before {
		top: 0;
		left: 0;
		bottom: auto;
		height: min(90vw, 440px);
		background-size: contain;
		background-position: right top;
		opacity: 1;
		-webkit-mask-image: linear-gradient(0deg, transparent 0, #000 35%);
		mask-image: linear-gradient(0deg, transparent 0, #000 35%);
	}
}

/* Isometrisches Raster (nur technische Themen) */
.refu-iso {
	position: absolute;
	inset: auto 0 0 0;
	width: 100%;
	height: 46%;
	pointer-events: none;
	z-index: 0;
}

/* Einstieg Produktseite */
.refu-p--hero {
	padding-top: calc(var(--refu-kopf-hoehe) + var(--refu-abstand));
	padding-bottom: clamp(4rem, 7vw, 6rem);
}

.refu-p--hero .refu-p__innen {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
}

.refu-p--hero h1 {
	margin: 0;
	font-size: var(--wp--preset--font-size--riesig);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.refu-p--hero .refu-unterzeile {
	margin: 0.75rem 0 2rem;
	max-width: 24ch;
}

.refu-brotkrumen {
	margin: 0 0 1.25rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

.refu-brotkrumen a {
	color: inherit !important;
	text-decoration: none;
	border-bottom: 1px solid var(--refu-dunkelgrau);
}

.refu-kennwerte {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 2.5rem;
	padding: 0;
}

.refu-kennwerte div {
	display: flex;
	flex-direction: column;
	padding: 0 clamp(0.875rem, 1.6vw, 1.75rem);
	border-left: 1px solid var(--refu-dunkelgrau);
}

.refu-kennwerte div:first-child {
	padding-left: 0;
	border-left: 0;
}

.refu-kennwerte dd {
	order: -1;
	margin: 0;
	font-size: clamp(2rem, 1.814rem + 0.762vw, 2.5rem);
	font-weight: 600;
	line-height: 1.1;
}

.refu-kennwerte dt {
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

/* Handy: drei Kennwerte immer in einer Zeile, Beschriftung darf umbrechen */
@media (max-width: 600px) {
	.refu-kennwerte {
		flex-wrap: nowrap;
	}

	.refu-kennwerte div {
		min-width: 0;
		padding: 0 0.75rem;
	}

	.refu-kennwerte dd {
		white-space: nowrap;
	}
}

@media (max-width: 420px) {
	.refu-kennwerte dd {
		font-size: 1.75rem;
	}
}

@media (max-width: 380px) {
	.refu-kennwerte div {
		padding: 0 0.5rem;
	}

	.refu-kennwerte dd {
		font-size: 1.5rem;
	}

	.refu-kennwerte dt {
		font-size: 0.75rem;
	}
}

.refu-hero__bild {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.refu-hero__bild img {
	width: min(80%, 460px);
	height: auto;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

@media (max-width: 1000px) {
	.refu-p--hero .refu-p__innen {
		grid-template-columns: 1fr;
	}

	.refu-hero__bild {
		order: -1;
	}

	.refu-hero__bild img {
		width: min(80%, 380px);
	}
}

/* Auf einen Blick */
.refu-p--blick h2 {
	margin-bottom: 2rem;
}

.refu-blick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid #d9d9d9;
	border-left: 1px solid #d9d9d9;
}

.refu-blick__zelle {
	padding: clamp(1.25rem, 2.4vw, 2rem);
	border-right: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
}

.refu-blick__zelle .refu-icon {
	width: 30px;
	height: 30px;
	color: var(--refu-rot);
	margin-bottom: 1rem;
}

.refu-blick__wert {
	margin: 0;
	font-size: var(--wp--preset--font-size--sehr-gross);
	font-weight: 600;
	line-height: 1.1;
}

.refu-blick__titel,
.refu-blick__zusatz {
	margin: 0.375rem 0 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-blick__zusatz {
	margin-top: 0.625rem;
}

@media (max-width: 760px) {
	.refu-blick {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Überblick: Text links, Vorteile mit Icon rechts */
.refu-ueberblick {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2rem, 6vw, 7rem);
	align-items: start;
}

.refu-einleitung {
	margin: 1.75rem 0 0;
	max-width: 34em;
}

.refu-vorteil {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 18px;
	padding: 22px 0;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-vorteil:first-child {
	padding-top: 4px;
	border-top: 0;
}

.refu-vorteil .refu-icon {
	width: 32px;
	height: 32px;
	color: var(--refu-rot);
}

@media (max-width: 900px) {
	.refu-ueberblick {
		grid-template-columns: 1fr;
	}
}

.refu-liste {
	margin: 0.625rem 0 0;
	padding: 0;
	list-style: none;
}

.refu-liste li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 0.375rem;
	color: var(--refu-dunkelgrau);
}

.refu-liste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 7px;
	height: 2px;
	background: var(--refu-rot);
}

/* Karten nur für verlinkte Inhalte (16 px) */
.refu-kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin-top: 2rem;
}

.refu-karte {
	display: block;
	padding: 1.5rem;
	border: 1px solid var(--refu-linie-hell);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-weiss);
	color: inherit;
	text-decoration: none;
}

.refu-karte h3 {
	margin: 0 0 0.5rem;
}

.refu-karte p {
	margin: 0;
	color: var(--refu-dunkelgrau);
}

.refu-karte--link:hover,
.refu-karte--link:focus-visible {
	border-color: var(--refu-rot);
}

/* Reiter (Ihr Vorteil als …, Technische Daten): 8 px, nie mehrzeilig */
.refu-reiter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 2rem 0 0;
}

.refu-reiter[hidden] {
	display: none;
}

.refu-reiter button {
	flex: none;
	padding: 9px 16px;
	border: 1px solid #cfcfcf;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
	font: inherit;
	font-size: 0.9375rem;
	white-space: nowrap;
	cursor: pointer;
}

.refu-reiter button:hover {
	border-color: var(--refu-schwarz);
}

.refu-reiter button:focus-visible {
	outline: 2px solid var(--refu-rot);
	outline-offset: 2px;
}

.refu-reiter--rollen button[aria-selected="true"] {
	background: var(--refu-schwarz);
	border-color: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-reiter--technik button[aria-selected="true"] {
	background: var(--refu-rot);
	border-color: var(--refu-rot);
	color: var(--refu-weiss);
}

@media (max-width: 760px) {
	.refu-reiter {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(var(--refu-rand) * -1);
		padding-inline: var(--refu-rand);
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
	}

	.refu-reiter::-webkit-scrollbar {
		display: none;
	}

	.refu-reiter.am-ende {
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* Ihr Vorteil als … */
.refu-rolle {
	margin-top: 2rem;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--refu-weiss);
	border-radius: var(--wp--custom--radius--karte);
}

.refu-rolle[hidden] {
	display: none;
}

.refu-rolle__name {
	margin-bottom: 1rem !important;
}

.hat-reiter .refu-rolle__name {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.refu-rolle ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-rolle li {
	padding-top: 14px;
	border-top: 2px solid var(--refu-rot);
}

.refu-rolle h4 {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.35;
}

.refu-rolle li p {
	margin: 0.5rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--refu-dunkelgrau);
}

@media (max-width: 760px) {
	.refu-rolle ul {
		grid-template-columns: 1fr;
	}
}

/* Technische Daten */
.refu-technik__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
}

.refu-technik__kopf .refu-knopf--rahmen {
	color: var(--refu-schwarz);
}

.refu-technik__inhalt {
	margin-top: 2.5rem;
}

.refu-daten[hidden] {
	display: none;
}

.refu-daten__gruppe {
	margin-bottom: 3rem;
}

.refu-daten__titel {
	margin: 0 !important;
	padding-bottom: 0.625rem;
	font-size: var(--wp--preset--font-size--klein) !important;
	color: var(--refu-rot);
	border-bottom: 2px solid var(--refu-rot);
}

.refu-daten__spalten {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(2rem, 5vw, 5rem);
	align-items: start;
}

.refu-tabelle {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.refu-tabelle th,
.refu-tabelle td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--refu-linie-hell);
	font-size: var(--wp--preset--font-size--klein);
	text-align: left;
	vertical-align: top;
	overflow-wrap: break-word;
}

.refu-tabelle th {
	width: 48%;
	font-weight: 400;
	color: var(--refu-grau);
}

.refu-tabelle td {
	font-weight: 600;
}

@media (max-width: 900px) {
	.refu-daten__spalten {
		grid-template-columns: 1fr;
	}

	.refu-tabelle th,
	.refu-tabelle td {
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

.refu-stand {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 1.5rem;
	margin: 0.25rem 0 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

@media print {
	.refu-daten[hidden] {
		display: block;
	}

	.refu-reiter {
		display: none;
	}
}

/* Systemintegration (Schwarz mit Raster) */
.refu-p--system {
	overflow: hidden;
}

.refu-system {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.refu-system p {
	max-width: 34em;
	color: #dcdcdc;
}

.refu-system__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.refu-system__links a {
	text-decoration-color: var(--refu-rot) !important;
	text-underline-offset: 5px;
}

.refu-schaubild {
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {
	.refu-system {
		grid-template-columns: 1fr;
	}
}

/* Referenz als große schwarze Karte */
.refu-referenz {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	margin-top: 2rem;
	border-radius: var(--wp--custom--radius--karte);
	overflow: hidden;
	background: var(--refu-schwarz);
	color: var(--refu-weiss) !important;
	text-decoration: none !important;
}

.refu-referenz__bild {
	position: relative;
	min-height: 320px;
	overflow: hidden;
}

.refu-referenz__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.refu-referenz__bild .refu-iso {
	height: 100%;
}

.refu-referenz__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	padding: clamp(1.75rem, 4vw, 3.5rem);
}

.refu-referenz__text h3 {
	color: var(--refu-weiss);
}

.refu-referenz__text p {
	margin: 0;
	color: #dcdcdc;
}

.refu-referenz__ort {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau) !important;
}

.refu-referenz__zahlen {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem;
	margin: 0.5rem 0 0;
}

.refu-referenz__zahlen div {
	display: flex;
	flex-direction: column;
}

.refu-referenz__zahlen dd {
	order: -1;
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
}

.refu-referenz__zahlen dt {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

.refu-referenz:hover .refu-referenz__text h3 {
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
}

@media (max-width: 900px) {
	.refu-referenz {
		grid-template-columns: 1fr;
	}

	.refu-referenz__bild {
		min-height: 200px;
	}
}

/* Downloads */
.refu-downloads {
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-downloads li {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid var(--refu-linie-hell);
}

.refu-downloads .refu-icon {
	width: 28px;
	height: 28px;
	color: var(--refu-rot);
}

.refu-downloads small {
	display: block;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-downloads__knoepfe {
	display: flex;
	gap: 0.5rem;
}

.refu-downloads__sprache {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--refu-schwarz);
	border-radius: var(--wp--custom--radius--knopf);
	color: var(--refu-schwarz) !important;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	text-decoration: none !important;
}

.refu-downloads__sprache:hover {
	background: var(--refu-schwarz);
	color: var(--refu-weiss) !important;
}

@media (max-width: 600px) {
	.refu-downloads li {
		grid-template-columns: 32px 1fr;
	}

	.refu-downloads__knoepfe {
		grid-column: 2;
	}
}

/* FAQ */
.refu-faq-liste {
	margin-top: 1.75rem;
}

.refu-faq {
	max-width: 880px;
	border-bottom: 1px solid var(--refu-linie-hell);
}

.refu-faq summary {
	position: relative;
	padding: 1.25rem 2.5rem 1.25rem 0;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.refu-faq summary::-webkit-details-marker {
	display: none;
}

.refu-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: linear-gradient(var(--refu-rot), var(--refu-rot)) center / 14px 2px no-repeat, linear-gradient(var(--refu-rot), var(--refu-rot)) center / 2px 14px no-repeat;
	transition: transform 0.2s;
}

.refu-faq[open] summary::after {
	transform: rotate(45deg);
}

.refu-faq__antwort {
	max-width: 60ch;
	padding-bottom: 1.25rem;
	color: var(--refu-dunkelgrau);
}

.refu-faq__antwort > :last-child {
	margin-bottom: 0;
}

/* Abschluss „Projekt besprechen“ (Entscheidungen 73, 78, 79): einzige rote Fläche der Seite, alles darauf weiß */
.refu-hg-rot {
	background: var(--refu-rot);
	color: var(--refu-weiss);
}

.refu-hg-rot :is(h1, h2, h3, h4) {
	color: var(--refu-weiss);
}

.refu-hg-rot :focus-visible {
	outline: 2px solid var(--refu-weiss);
	outline-offset: 3px;
}

.refu-p--projekt {
	padding-block: clamp(3.5rem, 6vw, 5rem);
}

.refu-abschluss {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	gap: 1rem 2.5rem;
	align-items: center;
}

.refu-abschluss__icon .refu-icon {
	display: block;
	width: 64px;
	height: 64px;
	color: var(--refu-weiss);
}

.refu-abschluss h2 {
	font-size: var(--wp--preset--font-size--sehr-gross) !important;
}

.refu-abschluss__text p {
	margin: 0.625rem 0 0;
	font-size: 1.0625rem;
	color: var(--refu-weiss);
}

.refu-abschluss__direkt {
	margin: 0;
	padding-left: 2rem;
	border-left: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--refu-weiss);
}

.refu-abschluss__direkt a {
	display: block;
	font-weight: 600;
	color: var(--refu-weiss) !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.refu-abschluss__direkt a:hover {
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

/* Knopf auf Rot: weiß mit roter Schrift, beim Überfahren schwarz */
.refu-abschluss__knopf.wp-element-button {
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--refu-weiss);
	background: var(--refu-weiss);
	color: var(--refu-rot);
	font-size: 1rem;
	white-space: nowrap;
}

.refu-abschluss__knopf.wp-element-button:hover {
	border-color: var(--refu-schwarz);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

@media (max-width: 900px) {
	.refu-abschluss {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.refu-abschluss__icon .refu-icon {
		width: 52px;
		height: 52px;
	}

	.refu-abschluss__direkt {
		padding: 1rem 0 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.45);
	}

	.refu-abschluss__knopf {
		justify-self: start;
	}
}

/* Produktübersicht */
.refu-p--einleitung {
	padding-top: calc(var(--refu-kopf-hoehe) + var(--refu-abstand));
}

.refu-p--einleitung h1 {
	margin: 0;
	font-size: var(--wp--preset--font-size--riesig);
	line-height: 1.15;
}

.refu-p--einleitung .refu-p__innen > :not(.refu-sprungmarken) {
	max-width: 34rem; /* Flow-Linien bleiben frei */
}

.refu-p--einleitung .refu-unterzeile {
	margin: 0.75rem 0 1.5rem;
}

.refu-sprungmarken {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.refu-sprungmarken a {
	display: inline-block;
	padding: 0.5rem 1rem;
	border: 1px solid currentColor;
	border-radius: var(--wp--custom--radius--knopf);
	text-decoration: none;
}

.refu-sprungmarken a:hover {
	border-color: var(--refu-rot);
}

.refu-serie {
	margin-bottom: var(--refu-abstand);
	scroll-margin-top: calc(var(--refu-oben) + var(--refu-kopf-hoehe) + 1rem);
}

.refu-serie .refu-p-einleitung {
	margin: 0.75rem 0 0;
	color: var(--refu-dunkelgrau);
}

.refu-kacheln--produkte {
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

.refu-produktkarte {
	display: flex;
	flex-direction: column;
}

.refu-produktkarte__bild {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	margin: -0.5rem -0.5rem 1rem;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-flaeche);
}

.refu-produktkarte__bild img {
	/* Bild bleibt in der 4:3-Fläche, auch bei hochkant fotografierten Geräten */
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.refu-produktkarte > p {
	color: var(--refu-grau);
}

.refu-kennwerte--klein {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.75rem;
	margin: 1rem 0 0;
}

/* Leistung links, MPPTs genau in der Kartenmitte, Wirkungsgrad rechts */
.refu-kennwerte--klein div {
	min-width: 0;
	padding: 0;
	border: 0;
}

.refu-kennwerte--klein div:nth-child(2) {
	align-items: center;
	text-align: center;
}

.refu-kennwerte--klein div:nth-child(3) {
	align-items: flex-end;
	text-align: right;
}

/* Nur zwei Werte (z. B. ohne MPPT): links und rechts */
.refu-kennwerte--klein div:nth-child(2):last-child {
	grid-column: 3;
	align-items: flex-end;
	text-align: right;
}

.refu-kennwerte--klein dd {
	font-size: 1.125rem;
	white-space: nowrap;
}

.refu-kennwerte--klein dt {
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--refu-grau);
	-webkit-hyphens: manual;
	hyphens: manual;
}

.refu-kennwerte--klein div:first-child dt {
	white-space: nowrap;
}

.refu-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: auto !important;
	padding-top: 1rem;
}

.refu-label {
	padding: 0.2rem 0.6rem;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-flaeche);
	font-size: 0.8125rem;
	color: var(--refu-dunkelgrau);
}

.refu-tabelle-rahmen {
	overflow-x: auto;
	margin-top: 1.5rem;
}

.refu-tabelle-rahmen:focus-visible {
	outline: 2px solid var(--refu-rot);
	outline-offset: 4px;
}

.refu-tabelle--ueberblick {
	table-layout: auto;
	min-width: 760px;
}

.refu-tabelle--ueberblick th,
.refu-tabelle--ueberblick td {
	white-space: nowrap;
	padding-right: 1.5rem;
	-webkit-hyphens: manual;
	hyphens: manual;
}

.refu-tabelle--ueberblick thead th {
	width: auto;
	font-weight: 600;
	color: var(--refu-schwarz);
}

.refu-tabelle--ueberblick tbody th,
.refu-tabelle--ueberblick thead th:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	width: auto;
	background: var(--refu-weiss);
	font-weight: 600;
	color: var(--refu-schwarz);
	box-shadow: 8px 0 8px -8px rgba(0, 0, 0, 0.18);
}

.refu-tabelle--ueberblick td {
	font-weight: 400;
}

.refu-kurz {
	display: none;
}

@media (max-width: 781px) {
	.refu-lang {
		display: none;
	}

	.refu-kurz {
		display: inline;
	}
}

/* ---------- Lösungsseite (Abschnitt 7, Entscheidungen 81–84) ---------- */

.refu-loesungsseite > *,
.refu-freier-bereich > * {
	margin-block: 0 !important;
}

.refu-p--loesung-hero .refu-einstieg-text {
	max-width: 36rem;
}

.refu-einstieg-einleitung {
	max-width: 34em;
	margin: 0 0 2rem;
	color: #dcdcdc;
}

/* Einstieg mit Anwendungsfoto: Bildfläche mit 16 px Rundung neben dem Text (Variante B) */
.refu-p--loesung-hero.hat-foto .refu-p__innen,
.refu-p--loesung-hero.hat-grafik .refu-p__innen {
	grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: stretch;
}

.refu-einstieg-foto {
	position: relative;
	min-height: clamp(340px, 36vw, 560px);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-dunkelgrau);
}

.refu-einstieg-foto img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 0% 60%;
}

.refu-einstieg-text {
	align-self: center;
}

/* Themenseiten: Markengrafik (leuchtendes REFU-Logo auf dem Raster), randlos im Schwarz */
.refu-einstieg-grafik {
	min-height: clamp(300px, 32vw, 520px);
	background: url("../deko/refu-raster.webp") center / cover no-repeat;
}

@media (max-width: 1000px) {
	.refu-p--loesung-hero.hat-foto .refu-p__innen,
	.refu-p--loesung-hero.hat-grafik .refu-p__innen {
		grid-template-columns: 1fr;
		gap: 0;
	}

	/* Handy: Foto über die volle Breite ganz oben (unter der durchsichtigen Kopfzeile), weicher Übergang in den Text */
	.refu-inhalt > .refu-p--loesung-hero.hat-foto:first-child,
	.refu-p--loesung-hero.hat-foto {
		padding-top: 0;
	}

	.refu-einstieg-foto {
		order: -1;
		min-height: 0;
		height: calc(var(--refu-kopf-hoehe) + 62vw);
		margin: 0 calc(var(--refu-rand) * -1) 1.5rem;
		border-radius: 0;
	}

	.refu-einstieg-foto img {
		object-position: 8% 62%;
	}

	.refu-einstieg-foto::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(0deg, #000 0, rgba(0, 0, 0, 0.6) 10%, rgba(0, 0, 0, 0) 30%), linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 22%);
	}

	.refu-einstieg-grafik {
		order: -1;
		min-height: 56vw;
		margin: 0 calc(var(--refu-rand) * -1);
	}
}

/* Muster „Text“ und „So setzt REFU … um“: zweispaltig */
.refu-muster-zweispaltig,
.refu-muster-ansatz {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2rem, 6vw, 6rem);
}

.refu-muster-zweispaltig {
	align-items: start;
}

.refu-muster-ansatz {
	align-items: center;
}

.refu-muster-zweispaltig > *,
.refu-muster-ansatz > *,
.refu-muster-kacheln > *,
.refu-muster-zahlen > *,
.refu-muster-statement .refu-p__innen > * {
	margin-block-start: 0 !important;
}

.refu-muster-zweispaltig p,
.refu-muster-ansatz p {
	max-width: 36em;
	margin: 0 0 1rem;
}

.refu-muster-ansatz h2 + p {
	margin-top: 1.5rem;
}

@media (max-width: 900px) {
	.refu-muster-zweispaltig,
	.refu-muster-ansatz {
		grid-template-columns: 1fr;
	}
}

/* Muster „Herausforderungen“: Kacheln im Raster wie „Auf einen Blick“ */
.refu-muster-kacheln {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 2rem !important;
}

.refu-muster-kachel h3 {
	margin: 0 0 0.5rem !important;
	font-size: 1.125rem !important;
	line-height: 1.35 !important;
}

.refu-muster-kachel p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--refu-dunkelgrau);
}

@media (max-width: 1100px) {
	.refu-muster-kacheln {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.refu-muster-kacheln {
		grid-template-columns: 1fr;
	}
}

/* Muster „Statement auf Schwarz“ */
.refu-muster-statement .refu-p__innen > * {
	max-width: 36rem;
}

.refu-muster-statement__marke {
	margin: 0 0 1.25rem !important;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--refu-rot);
}

.refu-muster-statement h2 {
	max-width: 18ch;
	font-size: var(--wp--preset--font-size--riesig) !important;
	line-height: 1.15 !important;
}

.refu-muster-statement .refu-p__innen > h2 + p {
	margin: 1.5rem 0 0 !important;
	font-size: 1.125rem;
	color: #dcdcdc;
}

/* Kennzahlen unter dem Lösungsansatz */
.refu-muster-zahlen {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(3rem, 5vw, 4.5rem) !important;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-muster-zahl {
	padding: 1.75rem 1.5rem 0 0;
}

.refu-muster-zahl + .refu-muster-zahl {
	padding-left: 1.5rem;
	border-left: 1px solid var(--refu-linie-hell);
}

.refu-muster-zahl p {
	margin: 0;
}

.refu-muster-zahl__wert {
	font-size: clamp(2rem, 1.814rem + 0.762vw, 2.5rem);
	font-weight: 600;
	line-height: 1.1;
}

.refu-muster-zahl__titel {
	margin-top: 0.375rem !important;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

@media (max-width: 900px) {
	.refu-muster-zahlen {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.refu-muster-zahl:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
}

.refu-schaubild-block {
	margin: 0;
}

/* Icons als Stil: rotes Linien-Icon über dem Inhalt */
[class*="is-style-icon-"]::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	margin-bottom: 1rem;
	background: center / contain no-repeat;
}

/* Icons als Blockstile für Gruppen im freien Bereich (Kacheln, Kennzahlen). Formen wie refu_fn_icon() im Plugin. */

.is-style-icon-netz::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.2'/%3E%3Ccircle cx='5' cy='19' r='2.2'/%3E%3Ccircle cx='19' cy='19' r='2.2'/%3E%3Cpath d='M12 7.2v4.3M12 11.5 6.4 17.3M12 11.5l5.6 5.8'/%3E%3C/svg%3E");
}

.is-style-icon-monitor::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3Cpath d='M6.5 12l3-3 2.5 2 4.5-4.5'/%3E%3C/svg%3E");
}

.is-style-icon-schild::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='M8.5 12.5l2.3 2.3 4.7-4.8'/%3E%3C/svg%3E");
}

.is-style-icon-blitz::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
}

.is-style-icon-mppt::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V14M10 20V9M16 20V5M22 20H2'/%3E%3Cpath d='M4 11l6-4 6-3 5-2'/%3E%3C/svg%3E");
}

.is-style-icon-prozent::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 15.5l7-7'/%3E%3Ccircle cx='9' cy='9' r='1.2'/%3E%3Ccircle cx='15' cy='15' r='1.2'/%3E%3C/svg%3E");
}

.is-style-icon-spannung::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v5M17 3v5'/%3E%3Crect x='4' y='8' width='16' height='6' rx='2'/%3E%3Cpath d='M12 14v4a3 3 0 0 0 3 3h1'/%3E%3C/svg%3E");
}

.is-style-icon-thermo::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14.8V5a2 2 0 1 1 4 0v9.8a4 4 0 1 1-4 0z'/%3E%3Cpath d='M12 9v7'/%3E%3C/svg%3E");
}

.is-style-icon-modul::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18l-2 12H5z'/%3E%3Cpath d='M4.5 13h15M9 7l-1 12M15 7l1 12'/%3E%3Cpath d='M12 2v2M5.5 3.5l1.2 1.2M18.5 3.5l-1.2 1.2'/%3E%3C/svg%3E");
}

.is-style-icon-zahnrad::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2.5v3M12 18.5v3M2.5 12h3M18.5 12h3M5.3 5.3l2.1 2.1M16.6 16.6l2.1 2.1M5.3 18.7l2.1-2.1M16.6 7.4l2.1-2.1'/%3E%3C/svg%3E");
}

.is-style-icon-garantie::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M8.5 13.8 7 22l5-3 5 3-1.5-8.2'/%3E%3C/svg%3E");
}

.is-style-icon-datei::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}

/* Verwandte Lösungen und Serientitel */
.refu-serie-titel {
	margin: 2.5rem 0 0 !important;
	font-size: 1.125rem !important;
	font-weight: 600;
	color: var(--refu-grau);
}

.refu-serie-titel + .refu-kacheln {
	margin-top: 1.25rem;
}

.refu-karte--weiter {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.refu-weiter {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 1rem;
	font-weight: 600;
	color: var(--refu-rot);
}

.refu-weiter .refu-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
}

.refu-karte--weiter:hover .refu-weiter .refu-icon {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.refu-weiter .refu-icon {
		transition: none;
	}
}

/* Nach oben (Entscheidung 75) */
.refu-nach-oben {
	position: fixed;
	right: calc(16px + env(safe-area-inset-right, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-rot);
	color: var(--refu-weiss);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.refu-nach-oben.ist-sichtbar {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.refu-nach-oben:hover {
	background: #c50511;
}

.refu-nach-oben:focus-visible {
	outline: 2px solid var(--refu-schwarz);
	outline-offset: 3px;
}

.refu-nach-oben .refu-icon,
.refu-nach-oben svg {
	width: 22px;
	height: 22px;
}

@media (prefers-reduced-motion: reduce) {
	.refu-nach-oben,
	.refu-faq summary::after {
		transition: none;
	}
}

/* ---------- Editor ---------- */

.editor-styles-wrapper .refu-kopfbereich {
	position: relative;
	margin-bottom: 0;
}

/* Im Editor ist die Arbeitsfläche oft schmaler als 1080 px: Kopfzeile trotzdem einzeilig zeigen. */
@media (max-width: 1079px) {
	:root .editor-styles-wrapper .refu-kopfbereich {
		height: var(--refu-kopf-hoehe);
	}

	:root .editor-styles-wrapper .refu-kopf__innen {
		flex-wrap: nowrap;
		height: var(--refu-kopf-hoehe);
		padding-top: 0;
	}

	:root .editor-styles-wrapper .refu-kopfnav__schalter {
		display: none;
	}

	:root .editor-styles-wrapper .refu-kopfnav__panel {
		display: flex;
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 1.25rem;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: 0;
	}

	:root .editor-styles-wrapper .refu-hauptmenue,
	:root .editor-styles-wrapper .refu-hauptmenue__liste {
		width: auto;
	}

	:root .editor-styles-wrapper .refu-hauptmenue__liste {
		flex-direction: row;
		gap: 1.25rem;
	}

	:root .editor-styles-wrapper .refu-hauptmenue__liste a {
		font-size: 0.9375rem;
		white-space: nowrap;
	}

	:root .editor-styles-wrapper .refu-kopfnav,
	:root .editor-styles-wrapper .refu-kopfnav__panel {
		min-width: 0;
		overflow: hidden;
	}

	:root .editor-styles-wrapper .refu-kopfnav__aktion {
		flex: none;
		white-space: nowrap;
	}

	:root .editor-styles-wrapper .refu-hauptmenue__liste .sub-menu {
		display: none;
	}
}

.editor-styles-wrapper .refu-inhalt {
	padding-top: 0;
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Druckfassung: schwarze Flächen werden weiß ---------- */

@media print {
	.refu-kopfnav,
	.refu-fuss__spalten nav,
	.refu-menue--leiste,
	.wp-block-buttons {
		display: none !important;
	}

	.refu-kopfbereich {
		position: static;
		height: auto;
		margin: 0 0 1rem;
		background: none !important;
		box-shadow: none !important;
	}

	.refu-inhalt,
	.refu-inhalt > .wp-block-post-content:first-child > .is-style-abschnitt-schwarz:first-child {
		padding-top: 0 !important;
	}

	body,
	[class*="is-style-abschnitt-schwarz"],
	[class*="is-style-abschnitt-schwarz"] *,
	.refu-fuss,
	.refu-fuss * {
		background: #fff !important;
		color: #000 !important;
	}

	body {
		font-size: 11pt;
	}

	a[href^="http"]:not(.refu-logo)::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		word-break: break-all;
	}

	h1,
	h2,
	h3 {
		break-after: avoid;
	}

	table,
	figure,
	img {
		break-inside: avoid;
	}
}

/* ---------- Referenzen (Abschnitt 8): Übersicht und Einzelseite ---------- */

.refu-referenzseite > *,
.refu-referenzuebersicht > * {
	margin-block: 0 !important;
}

/* Einstieg mit Foto: gleiche Gestaltung wie die Lösungsseite (Entscheidung 84) */
.refu-p--referenz-hero .refu-einstieg-text {
	max-width: 36rem;
}

.refu-p--referenz-hero.hat-foto .refu-p__innen {
	grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: stretch;
}

.refu-p--referenz-hero h1 {
	-webkit-hyphens: manual;
	hyphens: manual;
}

.refu-p--referenz-hero .refu-unterzeile {
	max-width: none;
}

/* Bildausschnitt je Foto (Feld „Bildausschnitt“ in der Mediathek) */
/* Nur wenn in der Mediathek ein Ausschnitt gewählt ist; sonst gelten die Vorgaben des Einstiegs */
.refu-einstieg-foto img[style*="--refu-fokus"],
.refu-referenz__bild img[style*="--refu-fokus"],
.refu-referenzkarte__bild img {
	object-position: var(--refu-fokus, 50% 50%);
}

/* Etiketten auf Fotos: „Symbolbild“ links, Bildnachweis rechts */
.refu-bild-etiketten {
	position: absolute;
	inset: auto 0.75rem 0.75rem;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0.5rem;
	pointer-events: none;
}

.refu-bild-etikett {
	padding: 0.2rem 0.6rem;
	border-radius: var(--wp--custom--radius--knopf);
	background: rgba(0, 0, 0, 0.72);
	color: var(--refu-weiss);
	font-size: var(--wp--preset--font-size--klein);
	line-height: 1.5;
}

.refu-bild-etikett--nachweis {
	margin-left: auto;
	background: rgba(0, 0, 0, 0.55);
	color: #dcdcdc;
}

@media (max-width: 1000px) {
	.refu-p--referenz-hero.hat-foto .refu-p__innen {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.refu-inhalt > .refu-p--referenz-hero.hat-foto:first-child,
	.refu-p--referenz-hero.hat-foto {
		padding-top: 0;
	}

	.refu-p--referenz-hero .refu-einstieg-foto img[style*="--refu-fokus"] {
		object-position: var(--refu-fokus-mobil, var(--refu-fokus, 50% 50%));
	}
}

/* Steckbrief: drei Werte wie „Auf einen Blick“, darunter die Angaben als Zeilen */
.refu-p--steckbrief h2 {
	margin-bottom: 2rem;
}

.refu-p--steckbrief .refu-blick {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.refu-steckbrief {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(2rem, 5vw, 5rem);
	margin: 3rem 0 0;
}

.refu-steckbrief > div {
	display: grid;
	grid-template-columns: minmax(8rem, 2fr) minmax(0, 5fr);
	gap: 1rem;
	padding: 0.875rem 0;
	border-top: 1px solid #d9d9d9;
}

.refu-steckbrief dt {
	font-size: var(--wp--preset--font-size--klein);
	line-height: 1.6;
	padding-top: 0.15rem;
	color: var(--refu-grau);
}

.refu-steckbrief dd {
	margin: 0;
}

.refu-steckbrief__zusatz {
	display: block;
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-steckbrief a {
	color: inherit;
	text-decoration-color: var(--refu-rot);
}

@media (max-width: 900px) {
	.refu-steckbrief {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.refu-p--steckbrief .refu-blick {
		grid-template-columns: 1fr;
	}

	.refu-steckbrief > div {
		grid-template-columns: 1fr;
		gap: 0.125rem;
	}
}

/* Ausgangslage, Umsetzung, Ergebnis: Überschrift links, Text rechts */
.refu-bericht {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 1.75rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.refu-bericht + .refu-bericht {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-bericht p {
	max-width: 36em;
	margin: 0 0 1rem;
}

.refu-bericht p:last-child {
	margin-bottom: 0;
}

.refu-ergebnis {
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-ergebnis li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 18px;
	align-items: start;
	padding: 18px 0;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-ergebnis li:first-child {
	padding-top: 2px;
	border-top: 0;
}

.refu-ergebnis .refu-icon {
	width: 32px;
	height: 32px;
	color: var(--refu-rot);
}

.refu-ergebnis span {
	padding-top: 0.25rem;
}

@media (max-width: 900px) {
	.refu-bericht {
		grid-template-columns: 1fr;
	}
}

/* Zitat (Muster 7): nur mit Freigabedatum */
.refu-zitat {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 18px;
	max-width: 58rem;
	margin: 0;
}

.refu-zitat .refu-icon {
	width: 32px;
	height: 32px;
	margin-top: 0.4rem;
	color: var(--refu-rot);
}

.refu-zitat blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.refu-zitat blockquote p {
	margin: 0;
	color: var(--refu-schwarz);
	font-size: var(--wp--preset--font-size--unterzeile);
	font-weight: 100;
	line-height: 1.4;
}

.refu-zitat figcaption {
	grid-column: 2;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

@media (max-width: 600px) {
	.refu-zitat {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.refu-zitat figcaption {
		grid-column: 1;
	}
}

/* Eingesetzte Produkte: Hinweis auf den Nachfolger */
.refu-p-einleitung {
	max-width: 36em;
	margin: 0.75rem 0 0;
	color: var(--refu-dunkelgrau);
}

.refu-produktkarte .refu-labels {
	margin-top: auto;
	padding-top: 1rem;
}

/* Referenzkarten (Übersicht, Weitere Referenzen) */
.refu-kacheln--referenzen {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.refu-referenzkarte {
	display: flex;
	flex-direction: column;
	padding: 1rem 1rem 1.5rem;
}

.refu-referenzkarte__bild {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0 0 1.25rem;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-flaeche);
}

.refu-referenzkarte__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.refu-referenzkarte__bild .refu-bild-etiketten {
	inset: auto 0.5rem 0.5rem;
}

.refu-referenzkarte h3,
.refu-referenzkarte > p {
	padding-inline: 0.5rem;
}

.refu-referenzkarte .refu-referenzkarte__ort {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-referenzkarte .refu-labels {
	margin: 0 0 0.75rem;
}

.refu-referenzkarte .refu-referenzkarte__produkte {
	margin-top: auto;
	padding-top: 0.75rem;
	border-top: 1px solid var(--refu-linie-hell);
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-dunkelgrau);
}

.refu-referenzkarte:hover h3 {
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-underline-offset: 0.2em;
}

/* Hervorgehobene Referenz in der Übersicht: große Karte, darunter die übrigen */
.refu-referenzuebersicht .refu-referenz {
	margin-top: 2rem;
}

.refu-referenzuebersicht .refu-referenz + .refu-kacheln {
	margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

.refu-referenz__bild .refu-bild-etiketten {
	inset: auto 0.75rem 0.75rem;
}

/* Einstieg der Übersicht: Kennzahlen aus den REFU-Einstellungen */
.refu-p--referenzen-einleitung .refu-p__innen > * {
	max-width: 36rem;
}

.refu-p--referenzen-einleitung .refu-unterzeile {
	margin: 0.75rem 0 1.5rem;
}

.refu-p--referenzen-einleitung .refu-einstieg-einleitung {
	margin-bottom: 2.5rem;
}

.refu-p--referenzen-einleitung .refu-kennwerte {
	margin-bottom: 0;
	max-width: none;
}

.refu-alle-link {
	margin: 2rem 0 0;
}

/* Links auf Hellgrau: Rot erreicht dort nicht 4,5 : 1, daher Schwarz mit roter Unterstreichung */
.refu-alle-link a {
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
}

/* Handy: die drei Werte als kompakte Zeilen mit Icon links */
@media (max-width: 600px) {
	.refu-p--steckbrief .refu-blick__zelle {
		display: grid;
		grid-template-columns: 30px 1fr;
		column-gap: 16px;
		align-items: center;
		padding: 1rem 1.25rem;
	}

	.refu-p--steckbrief .refu-blick__zelle .refu-icon {
		grid-row: span 3;
		margin: 0;
	}
}

/* Lange Kennzahlen (z. B. 425.000): Spalten richten sich nach der Zahl, die Beschriftung bricht um */
@media (max-width: 600px) {
	.refu-p--referenzen-einleitung .refu-kennwerte div {
		min-width: auto;
	}
}

/* Mehr als drei Werte im Steckbrief (z. B. DC und AC): Spalten passen sich an */
.refu-p--steckbrief .refu-blick:has(> :nth-child(4)) {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Mehrere Gerätezeilen untereinander */
.refu-steckbrief__geraet {
	display: block;
}

.refu-steckbrief__geraet + .refu-steckbrief__geraet {
	margin-top: 0.5rem;
}

/* Große Karte auf Produktseiten: Hinweis auf das Vorgängermodell */
.refu-referenz__text .refu-referenz__hinweis {
	align-self: flex-start;
	padding: 0.2rem 0.6rem;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-dunkelgrau);
	color: var(--refu-weiss);
	font-size: var(--wp--preset--font-size--klein);
}

/* Bildergalerie (optional) */
.refu-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem);
	margin-top: 2rem;
}

.refu-galerie__bild {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-galerie__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--refu-fokus, 50% 50%);
}

/* Lange deutsche Wörter (z. B. „Kommunikationsschnittstellen“) brechen auf schmalen Handys mit Trennstrich um */
.refu-bericht > *,
.refu-ergebnis span,
.refu-steckbrief dd {
	min-width: 0;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.refu-p--referenz-hero .refu-einstieg-text {
	min-width: 0;
}

@media (max-width: 480px) {
	.refu-p--referenz-hero h1,
	.refu-referenzseite h2,
	.refu-referenzkarte h3 {
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

/* Ohne Kunde (Unterzeile) braucht das Kurzfazit Abstand zum Titel */
.refu-p--referenz-hero h1 + .refu-einstieg-einleitung {
	margin-top: 1.5rem;
}

/* ---------- News (Seitenbaum Abschnitt 14): Übersicht und Beitrag ---------- */

.refu-newsseite > *,
.refu-newsuebersicht > * {
	margin-block: 0 !important;
}

/* Kopf des Beitrags: Kategorie und Datum über dem Titel */
.refu-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

.refu-hg-schwarz .refu-news-meta .refu-label {
	background: var(--refu-dunkelgrau);
	color: var(--refu-weiss);
}

.refu-p--news-kopf h1 {
	max-width: 22em;
	-webkit-hyphens: manual;
	hyphens: manual;
}

.refu-p--news-kopf .refu-einstieg-einleitung {
	margin-top: 1.5rem;
}

/* Lesespalte: höchstens ca. 70 Zeichen je Zeile */
.refu-artikel {
	max-width: 46rem;
}

.refu-artikel > * {
	margin-block: 0 1rem;
}

.refu-artikel > h2 {
	margin-block: clamp(2.5rem, 5vw, 3.5rem) 1rem;
}

.refu-artikel > h2:first-child {
	margin-top: 0;
}

.refu-artikel ul {
	padding-left: 0;
	list-style: none;
}

.refu-artikel ul li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.4rem;
}

.refu-artikel ul li::before {
	content: "";
	position: absolute;
	left: 0.25rem;
	top: 0.7em;
	width: 6px;
	height: 6px;
	background: var(--refu-rot);
}

.refu-artikel a {
	color: inherit;
	text-decoration-color: var(--refu-rot);
	text-underline-offset: 0.2em;
}

.refu-artikel .refu-quelle {
	padding: 1rem 1.25rem;
	border-left: 2px solid var(--refu-rot);
	background: var(--refu-flaeche);
	font-size: var(--wp--preset--font-size--klein);
}

/* Teilen: einfache Links, keine Social-Media-Skripte */
.refu-teilen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid var(--refu-linie-hell);
	font-size: var(--wp--preset--font-size--klein);
}

.refu-teilen > span {
	color: var(--refu-grau);
}

.refu-teilen a,
.refu-teilen button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0;
	border: 0;
	background: none;
	color: var(--refu-schwarz);
	font: inherit;
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.refu-teilen .refu-icon {
	width: 18px;
	height: 18px;
	color: var(--refu-rot);
}

/* Newskarten */
.refu-newskarte {
	display: flex;
	flex-direction: column;
	padding: 1rem 1rem 1.5rem;
}

.refu-newskarte__bild {
	position: relative;
	aspect-ratio: 16 / 10;
	margin: 0 0 1.25rem;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-flaeche);
}

.refu-newskarte__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--refu-fokus, 50% 50%);
}

/* Ohne Hauptbild keine Bildfläche (wie Entscheidung 71). Große Karte dann nur mit Text */
.refu-referenz--ohne-bild {
	grid-template-columns: minmax(0, 1fr);
}

.refu-referenz--ohne-bild .refu-referenz__text > * {
	max-width: 46rem;
}

.refu-kacheln--news {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1000px) {
	.refu-kacheln--news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.refu-kacheln--news {
		grid-template-columns: 1fr;
	}
}

.refu-newskarte .refu-news-meta:first-child {
	margin-top: 0.5rem;
}

.refu-p--news-einleitung h1 + .refu-einstieg-einleitung {
	margin-top: 1.5rem;
}

.refu-newskarte h3,
.refu-newskarte > p {
	padding-inline: 0.5rem;
}

.refu-newskarte .refu-news-meta {
	margin: 0 0 0.75rem;
	padding-inline: 0.5rem;
	color: var(--refu-grau);
}

.refu-newskarte > p {
	margin: 0.75rem 0 0;
	color: var(--refu-dunkelgrau);
}

.refu-newskarte:hover h3 {
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-underline-offset: 0.2em;
}

.refu-referenz .refu-news-meta .refu-label {
	background: var(--refu-dunkelgrau);
	color: var(--refu-weiss);
}

.refu-newsuebersicht .refu-referenz {
	margin-top: 2rem;
}

.refu-newsuebersicht .refu-referenz + .refu-kacheln {
	margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

/* Für Journalisten */
.refu-presse {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 1.5rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.refu-presse p {
	margin: 0 0 1rem;
	max-width: 36em;
}

.refu-presse__kontakt {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 18px;
	align-items: start;
}

.refu-presse__kontakt .refu-icon {
	width: 32px;
	height: 32px;
	color: var(--refu-rot);
}

.refu-presse__kontakt a {
	color: var(--refu-schwarz);
	font-weight: 600;
	text-decoration-color: var(--refu-rot);
}

@media (max-width: 900px) {
	.refu-presse {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.refu-p--news-kopf h1,
	.refu-artikel > h2,
	.refu-newskarte h3 {
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

/* Beitrag mit Foto: Kopf wie Referenz-Einstieg, Kategorie und Datum über dem Titel */
.refu-p--news-kopf.hat-foto .refu-news-meta {
	margin-top: 0.25rem;
}

.refu-p--galerie h2 {
	margin-bottom: 0;
}

/* Bilder und Galerie im Text: Galerie darf breiter als die Lesespalte sein */
.refu-artikel {
	max-width: none;
}

.refu-artikel > *:not(.alignwide) {
	max-width: 46rem;
}

.refu-artikel .wp-block-image {
	position: relative;
	margin-block: 1.5rem;
}

.refu-artikel .wp-block-image img {
	display: block;
	height: auto;
	border-radius: var(--wp--custom--radius--karte);
}

.refu-artikel .wp-block-gallery.has-nested-images {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.5rem) !important;
	margin-block: 2rem;
}

.refu-artikel .wp-block-gallery.has-nested-images figure.wp-block-image {
	position: relative;
	width: auto !important;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
}

.refu-artikel .wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: var(--refu-fokus, 50% 50%);
	border-radius: 0;
}

@media (max-width: 640px) {
	.refu-artikel .wp-block-gallery.has-nested-images {
		grid-template-columns: 1fr;
	}
}

/* Info-Box (Muster 9): Pressemitteilung */
.refu-infobox {
	margin-block: 2rem;
	padding: 1rem 1.25rem;
	border-left: 2px solid var(--refu-rot);
	background: var(--refu-flaeche);
}

.refu-infobox p {
	margin: 0.25rem 0;
}

.refu-infobox a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
}

.refu-infobox .refu-icon {
	width: 20px;
	height: 20px;
	color: var(--refu-rot);
}

/* Messe-Box */
.refu-messe {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 18px;
	margin-bottom: 2rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-messe .refu-icon {
	width: 32px;
	height: 32px;
	color: var(--refu-rot);
}

.refu-messe dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.75rem 1.5rem;
	margin: 0;
}

.refu-messe dt {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-messe dd {
	margin: 0;
	font-weight: 600;
}

.refu-messe p {
	margin: 0.75rem 0 0;
}

.refu-messe a {
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
}

/* Kategorien als Filter (ab ca. 10 Beiträgen) */
.refu-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.refu-chip {
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--refu-dunkelgrau);
	border-radius: var(--wp--custom--radius--knopf);
	color: var(--refu-weiss);
	font-size: var(--wp--preset--font-size--klein);
	text-decoration: none;
}

.refu-chips .refu-chip:hover,
.refu-chips .refu-chip[aria-current="page"] {
	border-color: var(--refu-weiss);
	background: var(--refu-weiss);
	/* stärker als „.refu-hg-schwarz a“ (weiße Links auf Schwarz), sonst weiße Schrift auf Weiß */
	color: var(--refu-schwarz);
}

/* Seitennavigation */
.refu-seiten {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

.refu-seiten .page-numbers {
	min-width: 44px;
	padding: 0.6rem 0.9rem;
	border: 1px solid var(--refu-linie-hell);
	border-radius: var(--wp--custom--radius--knopf);
	color: var(--refu-schwarz);
	text-align: center;
	text-decoration: none;
}

.refu-seiten .page-numbers.current {
	border-color: var(--refu-schwarz);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

/* ---------- Download-Center (Seitenbaum Abschnitt 9) ---------- */

.refu-downloadcenter > * {
	margin-block: 0 !important;
}

/* Suche im Einstieg */
.refu-dl-suche {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 36rem;
	margin: 2rem 0 0;
}

.refu-dl-suche label {
	flex-basis: 100%;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

.refu-dl-suche input[type="search"] {
	flex: 1 1 14rem;
	min-width: 0;
	min-height: 48px;
	padding: 0.6rem 1rem;
	border: 1px solid var(--refu-weiss);
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
	font: inherit;
}

.refu-dl-suche button,
.refu-dl-filter button {
	min-height: 48px;
	padding: 0.6rem 1.25rem;
	border: 0;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-rot);
	color: var(--refu-weiss);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.refu-dl-hinweis {
	margin: 1.25rem 0 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-hellgrau);
}

.refu-dl-hinweis a {
	color: var(--refu-weiss);
}

/* Filter: ohne JavaScript, Absenden per Knopf */
.refu-dl-filter {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 1rem;
	align-items: end;
	margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
	padding: 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-dl-filter label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-dunkelgrau);
}

.refu-dl-filter select {
	width: 100%;
	min-height: 48px;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--refu-hellgrau);
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
	font: inherit;
}

.refu-dl-filter button {
	background: var(--refu-schwarz);
}

@media (max-width: 1000px) {
	.refu-dl-filter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.refu-dl-filter button {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.refu-dl-filter {
		grid-template-columns: 1fr;
	}
}

/* Produktmatrix je Serie */
.refu-matrix-gruppe + .refu-matrix-gruppe {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.refu-matrix-gruppe h2 {
	margin-bottom: 1rem;
}

.refu-matrix {
	width: 100%;
	border-collapse: collapse;
}

.refu-matrix th,
.refu-matrix td {
	padding: 0.85rem 1rem 0.85rem 0;
	border-bottom: 1px solid var(--refu-linie-hell);
	text-align: left;
	vertical-align: middle;
}

.refu-matrix thead th {
	padding-top: 0;
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 400;
	color: var(--refu-grau);
}

.refu-matrix tbody th {
	font-weight: 600;
	white-space: nowrap;
}

.refu-matrix tbody th a {
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
}

.refu-matrix tbody th small {
	display: block;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-matrix .refu-leer {
	color: var(--refu-grau);
}

/* Sprach-Chips: anklickbar, 8 px */
.refu-dl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.refu-dl-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 36px;
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--refu-hellgrau);
	border-radius: var(--wp--custom--radius--knopf);
	color: var(--refu-schwarz);
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	text-decoration: none;
}

.refu-dl-chip:hover,
.refu-dl-chip:focus-visible {
	border-color: var(--refu-rot);
	color: var(--refu-rot);
}

.refu-dl-mehr {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
}

/* Handy: je Produkt ein Block */
@media (max-width: 760px) {
	/* Spaltennamen stehen mobil vor jedem Wert (data-spalte), die Kopfzeile entfällt. */
	.refu-matrix thead {
		display: none;
	}

	.refu-matrix,
	.refu-matrix tbody,
	.refu-matrix tr,
	.refu-matrix th,
	.refu-matrix td {
		display: block;
	}

	.refu-matrix tr {
		padding: 1rem 0;
		border-bottom: 1px solid var(--refu-linie-hell);
	}

	.refu-matrix th,
	.refu-matrix td {
		padding: 0;
		border: 0;
	}

	.refu-matrix tbody th {
		margin-bottom: 0.5rem;
		white-space: normal;
	}

	.refu-matrix td {
		display: grid;
		grid-template-columns: 8.5rem 1fr;
		gap: 0.75rem;
		align-items: center;
		padding: 0.3rem 0;
	}

	.refu-matrix td::before {
		content: attr(data-spalte);
		font-size: var(--wp--preset--font-size--klein);
		color: var(--refu-grau);
	}

	.refu-matrix td.refu-leer {
		display: none;
	}
}

/* Gefilterte Ansicht: Dokumentliste */
.refu-dl-ergebnis {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-bottom: 1rem;
}

.refu-dl-ergebnis h2 {
	margin: 0;
}

.refu-dl-ergebnis a {
	color: var(--refu-schwarz);
	text-decoration-color: var(--refu-rot);
	font-size: var(--wp--preset--font-size--klein);
}

.refu-downloads small .refu-dl-nr {
	color: var(--refu-grau);
}

/* Dokument nicht gefunden? */
.refu-dl-hilfe {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 1.5rem clamp(2rem, 6vw, 6rem);
	align-items: start;
}

.refu-dl-hilfe ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-dl-hilfe li {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 18px;
	padding: 18px 0;
	border-top: 1px solid #d9d9d9;
}

.refu-dl-hilfe li:first-child {
	padding-top: 2px;
	border-top: 0;
}

.refu-dl-hilfe .refu-icon {
	width: 32px;
	height: 32px;
	color: var(--refu-rot);
}

.refu-dl-hilfe a {
	color: var(--refu-schwarz);
	font-weight: 600;
	text-decoration-color: var(--refu-rot);
}

.refu-dl-hilfe p {
	margin: 0.25rem 0 0;
}

@media (max-width: 900px) {
	.refu-dl-hilfe {
		grid-template-columns: 1fr;
	}
}

.refu-matrix-gruppe .refu-tabelle-rahmen {
	overflow-x: auto;
}

/* Gleiche Spalten in allen Serien-Tabellen */
@media (min-width: 761px) {
	.refu-matrix {
		table-layout: fixed;
	}

	.refu-matrix th:first-child {
		width: 28%;
	}

	.refu-matrix tbody th,
	.refu-matrix tbody td {
		height: 3.75rem;
	}
}

/* Filter auf dem Handy einklappbar (ohne Skript bedienbar, standardmäßig offen) */
.refu-dl-filterbox {
	margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.refu-dl-filterbox > summary {
	display: none;
}

.refu-dl-filterbox .refu-dl-filter {
	margin-bottom: 0;
}

@media (max-width: 760px) {
	.refu-dl-filterbox {
		border-radius: var(--wp--custom--radius--karte);
		background: var(--refu-flaeche);
	}

	.refu-dl-filterbox > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 52px;
		padding: 0 1.25rem;
		font-weight: 600;
		cursor: pointer;
		list-style: none;
	}

	.refu-dl-filterbox > summary::-webkit-details-marker {
		display: none;
	}

	.refu-dl-filterbox > summary::after {
		content: "+";
		font-size: 1.5rem;
		font-weight: 400;
		color: var(--refu-rot);
	}

	.refu-dl-filterbox[open] > summary::after {
		content: "–";
	}

	.refu-dl-filterbox .refu-dl-filter {
		padding-top: 0;
	}
}

/* Ergänzungen 0.7.0: Software & Planung, Abschnitte Garantie/Unternehmen und abgekündigte Modelle */

/* Spaltenkopf „Software & Planung“ darf umbrechen, Werte bleiben in einer Zeile */
.refu-matrix thead th {
	white-space: normal;
}

/* Nachfolger unter dem Modellnamen (abgekündigte Modelle) */
.refu-matrix tbody th small a {
	color: var(--refu-schwarz);
	font-weight: 600;
	text-decoration-color: var(--refu-rot);
}

/* Mehrere Dokumente in einer Zelle: Link zur gefilterten Liste, Mindestgröße zum Antippen */
.refu-dl-mehr {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

/* Garantie und Unternehmensdokumente auf Hellgrau: Liste ohne Kästchen */
.refu-p--dl-allgemein h2,
.refu-p--dl-abgekuendigt .refu-matrix-gruppe h2 {
	margin-top: 0;
}

.refu-p--dl-allgemein .refu-downloads li {
	border-color: #d9d9d9;
}

.refu-dl-leer {
	margin: 0;
	color: var(--refu-dunkelgrau);
}

/* Lange Dokumentnummern und Titel auf schmalen Handys umbrechen */
.refu-downloads strong,
.refu-downloads small {
	overflow-wrap: anywhere;
}

.refu-downloads__knoepfe {
	flex-wrap: wrap;
}

/* Lange deutsche Wörter in Überschriften auf schmalen Handys: Trennstellen sind im Text gesetzt (weiches Trennzeichen) */
@media (max-width: 480px) {
	.refu-downloadcenter h1,
	.refu-downloadcenter h2 {
		hyphens: manual;
		overflow-wrap: break-word;
	}
}

/* ===== Startseite (Theme 0.8.0, Entscheidung 110, Vorschau F4) ===== */

.refu-st-dach {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--refu-grau);
}

.refu-st-dach::before {
	content: "";
	flex: none;
	width: 24px;
	height: 2px;
	background: var(--refu-rot);
}

.refu-st-dach--hell {
	color: var(--refu-dunkelgrau);
}

/* Auf Schwarz heller Grauton: #666 erreicht dort nur 3,7:1, #AAAAAA rund 9:1 (Kontrast-Scan, DSB 03.11.2026). */
.refu-hg-schwarz .refu-st-dach,
.refu-start-schwarz .refu-st-dach {
	color: var(--refu-hellgrau);
}

/* Einstieg: Text auf Schwarz, Foto abgerundet */
.refu-st-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	column-gap: clamp(1rem, 3vw, 3rem);
	min-height: min(88svh, 820px);
	/* An der Inhaltsbreite ausrichten wie Kopf, Sprungleiste und Karten (auch auf sehr breiten Bildschirmen) */
	padding-inline: max(var(--refu-rand), calc((100% - var(--wp--style--global--wide-size, 1440px)) / 2));
}

.refu-st-hero-text {
	display: flex;
	align-items: center;
	padding: calc(var(--refu-kopf-hoehe) + 2rem) 0 clamp(3rem, 5vw, 4rem);
}

.refu-st-hero h1 {
	max-width: 12ch;
	margin: 0 0 1.5rem;
	font-size: clamp(2rem, 4.6vw, 4.5rem); /* Ausnahme Startseite: bis 72 px (Entscheidung 110) */
	line-height: 1.04;
	letter-spacing: -0.02em;
	hyphens: auto;
	overflow-wrap: break-word;
}

.refu-st-hero h1 span {
	color: var(--refu-rot);
}

.refu-st-satz {
	max-width: 32rem;
	color: #cfcfcf;
}

.refu-st-hero-bild {
	padding: calc(var(--refu-kopf-hoehe) + 1rem) 0 clamp(2rem, 4vw, 3rem);
}

.refu-st-rahmen {
	position: relative;
	height: 100%;
	min-height: 360px;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
}

.refu-st-rahmen img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 12% 62%;
}

/* Sprungleiste */
.refu-st-sprung {
	background: var(--refu-weiss);
	border-bottom: 1px solid #e6e6e6;
}

.refu-st-sprung ol {
	display: flex;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--refu-rand);
	list-style: none;
}

.refu-st-sprung a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 64px;
	border-top: 2px solid transparent;
	color: var(--refu-schwarz);
	font-size: clamp(0.875rem, 1.05vw, 1rem);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.refu-st-sprung a span {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	color: var(--refu-rot);
}

.refu-st-sprung a:hover,
.refu-st-sprung a:focus-visible {
	border-top-color: var(--refu-rot);
	color: var(--refu-rot);
}

/* Karten */
.refu-st-karten {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	padding: clamp(2.5rem, 5vw, 4.5rem) var(--refu-rand);
	background: var(--refu-weiss);
}

.refu-st-karte,
.refu-st-breit,
.refu-st-zahlen {
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	border-radius: var(--wp--custom--radius--karte);
	overflow: hidden;
	scroll-margin-top: calc(var(--refu-oben) + var(--refu-kopf-hoehe) + 1rem);
}

.refu-st-karte {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: clamp(420px, 34vw, 540px);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
	isolation: isolate;
}

.refu-st-karte--rechts .refu-st-bild {
	order: 2;
}

.refu-st-bild {
	position: relative;
	overflow: hidden;
	background: #111;
}

.refu-st-bild > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.refu-st-karte:hover .refu-st-bild > img {
	transform: scale(1.03);
}

.refu-st-bild--hell {
	display: grid;
	place-items: center;
	background: radial-gradient(120% 90% at 50% 40%, #fafafa 0, #e9e9e9 70%, #dedede 100%);
}

.refu-st-bild--hell > img.refu-st-produkt {
	position: static;
	width: min(62%, 420px);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.28));
}

.refu-st-karte:hover .refu-st-bild--hell > img.refu-st-produkt {
	transform: translateY(-8px);
}

.refu-st-bild--laptop {
	padding: clamp(1.5rem, 4vw, 3rem);
}

.refu-st-laptop {
	width: min(100%, 560px);
	margin: 0;
	filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.22));
}

.refu-st-schirm {
	padding: 3.2% 3.2% 3.6%;
	background: #1b1b1b;
	border-radius: 14px 14px 4px 4px;
	box-shadow: inset 0 0 0 1px #3a3a3a;
}

.refu-st-schirm img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.refu-st-fuss {
	position: relative;
	height: 14px;
	margin: 0 -7%;
	background: linear-gradient(#d9d9d9, #b9b9b9);
	border-radius: 0 0 14px 14px;
}

.refu-st-text {
	display: flex;
	align-items: center;
	padding: clamp(2rem, 4vw, 4rem);
}

.refu-st-text-innen {
	max-width: 34rem;
}

.refu-st-text h2,
.refu-st-box h2 {
	margin: 0 0 0.85rem;
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	line-height: 1.15;
	color: var(--refu-weiss);
}

.refu-st-text p:not(.refu-st-dach),
.refu-st-box p:not(.refu-st-dach) {
	margin: 0;
	line-height: 1.6;
	color: #cfcfcf;
}

.refu-st-werte {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	margin: 1.75rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid #2a2a2a;
}

.refu-st-werte div {
	display: flex;
	flex-direction: column-reverse;
}

.refu-st-werte dd {
	margin: 0;
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	font-weight: 600;
	color: var(--refu-weiss);
}

.refu-st-werte dt {
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-st-mehr {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-top: 2rem;
	font-weight: 600;
	color: var(--refu-weiss);
	text-decoration: none;
}

.refu-st-pfeil {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--refu-weiss);
	border-radius: 8px;
	transition: background 0.25s, border-color 0.25s;
}

.refu-st-pfeil .refu-icon {
	width: 22px;
	height: 22px;
	transition: transform 0.25s;
}

.refu-st-mehr:hover .refu-st-pfeil,
.refu-st-mehr:focus-visible .refu-st-pfeil {
	background: var(--refu-rot);
	border-color: var(--refu-rot);
}

.refu-st-mehr:hover .refu-icon {
	transform: translateX(3px);
}

/* Kennzahlen als Atempause */
.refu-st-zahlen {
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem);
	background: var(--refu-flaeche);
}

.refu-st-zahlen dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 3rem);
	margin: 0;
}

.refu-st-zahlen dl div {
	padding-top: 1rem;
	border-top: 2px solid var(--refu-rot);
}

.refu-st-zahlen dd {
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 600;
	line-height: 1.1;
}

.refu-st-zahlen dt {
	margin-top: 0.35rem;
	color: var(--refu-dunkelgrau);
}

.refu-st-stand {
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	color: var(--refu-dunkelgrau);
}

/* Breite Bildkarte (Referenzen, Aktuelles Thema) */
.refu-st-breit {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	min-height: clamp(420px, 36vw, 560px);
	color: var(--refu-weiss);
}

.refu-st-breit > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 60%;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.refu-st-breit:hover > img {
	transform: scale(1.03);
}

.refu-st-breit--thema {
	justify-content: flex-start;
}

.refu-st-box {
	position: relative;
	z-index: 1;
	max-width: 34rem;
	margin: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: var(--wp--custom--radius--karte);
	background: rgba(0, 0, 0, 0.84);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.refu-st-box .refu-st-dach {
	color: #dddddd;
}

/* Ich bin … : kleine Kacheln */
.refu-st-rollen h2 {
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.refu-st-rollen-liste {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-st-rolle {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.25rem 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-weiss);
}

.refu-st-rolle > .refu-icon {
	width: 28px;
	height: 28px;
	margin-bottom: 1rem;
	color: var(--refu-rot);
}

.refu-st-rolle h3 {
	min-height: 2.6em;
	margin: 0 0 1rem;
	font-size: 1.0625rem;
	line-height: 1.3;
}

.refu-st-rolle ul {
	margin: auto 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #e6e6e6;
}

.refu-st-rolle ul li {
	border-bottom: 1px solid #e6e6e6;
}

.refu-st-rolle a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	font-size: 0.9375rem;
	color: var(--refu-schwarz);
	text-decoration: none;
}

.refu-st-rolle a .refu-icon {
	width: 16px;
	height: 16px;
	color: var(--refu-rot);
	transition: transform 0.25s;
}

.refu-st-rolle a:hover,
.refu-st-rolle a:focus-visible {
	color: var(--refu-rot);
}

.refu-st-rolle a:hover .refu-icon {
	transform: translateX(3px);
}

/* News */
.refu-st-kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.refu-st-kopf h2 {
	margin: 0;
}

.refu-st-kopf > a {
	font-weight: 600;
	color: var(--refu-schwarz);
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-underline-offset: 0.25em;
}

.refu-st-messe {
	margin-bottom: 1.5rem;
}

.refu-st-news-liste {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.refu-st-newskarte {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
	color: var(--refu-schwarz);
	text-decoration: none;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.refu-st-newskarte:hover,
.refu-st-newskarte:focus-visible {
	transform: translateY(-4px);
}

.refu-st-news-bild {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--refu-schwarz);
}

.refu-st-news-bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.refu-st-news-bild--leer {
	background: var(--refu-schwarz) url("../deko/refu-raster.webp") center / cover no-repeat;
}

.refu-st-news-text {
	padding: 1.25rem 1.5rem 1.5rem;
}

.refu-st-news-text h3 {
	margin: 0.5rem 0;
	font-size: 1.125rem;
	line-height: 1.3;
}

.refu-st-news-text p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--refu-dunkelgrau);
}

/* Einfliegen: ohne JavaScript oder bei „Bewegung reduzieren“ sofort sichtbar */
@media (prefers-reduced-motion: no-preference) {
	.refu-st-rein {
		animation: refu-st-rein 0.9s 0.15s both cubic-bezier(0.2, 0.7, 0.2, 1);
	}
	.refu-st-rahmen img {
		animation: refu-st-zoom 1.6s both cubic-bezier(0.2, 0.7, 0.2, 1);
	}
	.refu-st-js .refu-st-karte .refu-st-text-innen,
	.refu-st-js .refu-st-breit .refu-st-box {
		opacity: 0;
		transform: translateY(28px);
	}
	.refu-st-js .refu-st-karte.ist-da .refu-st-text-innen,
	.refu-st-js .refu-st-breit.ist-da .refu-st-box {
		opacity: 1;
		transform: none;
		transition: opacity 0.8s 0.15s, transform 0.8s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1);
	}
}

@keyframes refu-st-rein {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}

@keyframes refu-st-zoom {
	from { opacity: 0.4; transform: scale(1.08); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
	.refu-st-sprung ol {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 1.5rem;
	}
	.refu-st-sprung a {
		min-height: 52px;
		white-space: normal;
		border-top: 0;
		border-bottom: 1px solid #eeeeee;
	}
	.refu-st-rollen-liste {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.refu-st-hero,
	.refu-st-karte {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	.refu-st-hero-bild {
		order: -1;
		padding: calc(var(--refu-kopf-hoehe) + 0.5rem) 0 0;
	}
	.refu-st-rahmen {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
	.refu-st-hero-text {
		padding: 2rem 0 3rem;
	}
	.refu-st-karte--rechts .refu-st-bild {
		order: 0;
	}
	.refu-st-bild {
		aspect-ratio: 4 / 3;
	}
	.refu-st-bild--laptop {
		aspect-ratio: auto;
	}
	.refu-st-text {
		padding: 2rem 1.5rem 2.25rem;
	}
	.refu-st-karten {
		gap: 1rem;
		padding-top: 2rem;
		padding-bottom: 3rem;
	}
	.refu-st-zahlen dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.refu-st-breit {
		min-height: 520px;
	}
	.refu-st-box {
		margin: 0.75rem;
	}
	.refu-st-news-liste {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.refu-st-sprung ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 1rem;
	}
	.refu-st-rollen-liste {
		grid-template-columns: minmax(0, 1fr);
	}
	.refu-st-rolle h3 {
		min-height: 0;
	}
}

/* Produktübersicht: nicht mehr erhältliche Produkte, zugeklappt und unauffällig (Entscheidungen 114, 115) */
.refu-p--abgekuendigt {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.refu-alt-auf {
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
}

.refu-alt-auf > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 56px;
	padding: 0.5rem 0;
	cursor: pointer;
	list-style: none;
}

.refu-alt-auf > summary::-webkit-details-marker {
	display: none;
}

.refu-alt-auf__titel {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.75rem;
}

.refu-alt-auf__h {
	font-size: 1rem;
	font-weight: 600;
	color: var(--refu-dunkelgrau);
}

.refu-alt-auf__zahl {
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-alt-auf > summary:hover .refu-alt-auf__h,
.refu-alt-auf > summary:focus-visible .refu-alt-auf__h {
	color: var(--refu-schwarz);
}

.refu-alt-auf__zeichen {
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	margin-right: 0.35rem;
	border-right: 1.5px solid var(--refu-rot);
	border-bottom: 1.5px solid var(--refu-rot);
	transform: translateY(-0.15rem) rotate(45deg);
	transition: transform 0.25s ease;
}

.refu-alt-auf[open] .refu-alt-auf__zeichen {
	transform: translateY(0.15rem) rotate(225deg);
}

.refu-alt-einl {
	max-width: 44rem;
	margin: 0.25rem 0 1.25rem;
	font-size: 0.9375rem;
	color: var(--refu-dunkelgrau);
}

.refu-alt-liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.refu-alt {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: var(--refu-flaeche);
}

.refu-alt__name {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.refu-alt__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	align-self: flex-start;
	min-height: 28px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--refu-dunkelgrau);
	text-decoration: none;
}

.refu-alt__link .refu-icon {
	width: 14px;
	height: 14px;
	color: var(--refu-rot);
	transition: transform 0.25s;
}

.refu-alt__link:hover,
.refu-alt__link:focus-visible {
	color: var(--refu-rot);
}

.refu-alt__link:hover .refu-icon {
	transform: translateX(3px);
}

.refu-alt__nachfolger {
	font-size: 0.8125rem;
	color: var(--refu-dunkelgrau);
}

/* ===== Übersicht (Hub) für Lösungen und Unternehmen (Entscheidung 116) ===== */
.refu-hub-anwendungen {
	padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.refu-hub-themen h2 {
	margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
}

.refu-hub-liste {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-hub-karte {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	padding: 1.5rem 1.5rem 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
	text-decoration: none;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}

.refu-hub-karte:hover,
.refu-hub-karte:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.refu-hub-karte > .refu-icon {
	width: 28px;
	height: 28px;
	margin-bottom: 1rem;
	color: var(--refu-rot);
}

.refu-hub-karte h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
	line-height: 1.3;
}

.refu-hub-karte p {
	margin: 0 0 1.25rem;
	font-size: 0.9375rem;
	color: var(--refu-dunkelgrau);
}

.refu-hub-weiter {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--refu-schwarz);
}

.refu-hub-weiter .refu-icon {
	width: 16px;
	height: 16px;
	color: var(--refu-rot);
	transition: transform 0.25s;
}

.refu-hub-karte:hover .refu-hub-weiter .refu-icon {
	transform: translateX(3px);
}

@media (max-width: 900px) {
	.refu-hub-liste {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ===== Glossar (Seitenbaum Abschnitt 16, Entscheidung 117) ===== */
.refu-gl-az {
	position: sticky;
	top: calc(var(--refu-oben) + var(--refu-kopf-hoehe));
	z-index: 5;
	background: var(--refu-weiss);
	border-bottom: 1px solid #e6e6e6;
}

.refu-gl-az ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	max-width: var(--wp--style--global--wide-size, 1440px);
	margin: 0 auto;
	padding: 0.6rem var(--refu-rand);
	list-style: none;
}

.refu-gl-az a {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.4rem;
	box-sizing: border-box;
	border-radius: 8px;
	font-weight: 600;
	color: var(--refu-schwarz);
	text-decoration: none;
}

.refu-gl-az a:hover,
.refu-gl-az a:focus-visible {
	background: var(--refu-flaeche);
	color: var(--refu-rot);
}

.refu-gl-gruppe {
	display: grid;
	grid-template-columns: 6rem minmax(0, 1fr);
	gap: 1rem clamp(1rem, 3vw, 3rem);
	padding: clamp(1.5rem, 3vw, 2.5rem) 0;
	border-top: 1px solid #e6e6e6;
	scroll-margin-top: calc(var(--refu-oben) + var(--refu-kopf-hoehe) + 4rem);
}

.refu-gl-gruppe:first-child {
	border-top: 0;
	padding-top: 0;
}

.refu-gl-buchstabe {
	margin: 0;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 1;
	color: var(--refu-rot);
}

.refu-gl-begriffe {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 3rem);
}

.refu-gl-begriff {
	scroll-margin-top: calc(var(--refu-oben) + var(--refu-kopf-hoehe) + 4.5rem);
}

.refu-gl-begriff:target {
	padding: 1rem 1.25rem;
	margin: -1rem -1.25rem;
	border-radius: 12px;
	background: var(--refu-flaeche);
}

.refu-gl-begriff h3 {
	margin: 0 0 0.6rem;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Ruhiges Schriftbild (0.9.2): nur drei Stufen.
   Titel (19 px, halbfett) · Text (17 px, schwarz) · Zusatz (14 px, grau).
   Einzige Hervorhebung im Text: „Bei REFU:“ halbfett (0.9.3). */
.refu-gl-abk {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--refu-grau);
}

.refu-gl-kurz,
.refu-gl-bezug {
	margin: 0 0 0.6rem;
	font-size: inherit;
	line-height: 1.6;
	color: var(--refu-schwarz);
}

.refu-gl-bezug strong {
	font-weight: 600; /* „Bei REFU:“ halbfett, gleiche Größe und Farbe (0.9.3) */
}

.refu-gl-mehr summary {
	cursor: pointer;
	font-size: inherit;
	font-weight: 400;
	color: var(--refu-schwarz);
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.refu-gl-mehr summary:hover {
	color: var(--refu-rot);
}

.refu-gl-mehr p {
	margin: 0.5rem 0 0;
	font-size: inherit;
	line-height: 1.6;
	color: var(--refu-schwarz);
}

.refu-gl-links {
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--refu-grau);
}

/* Bezeichnung links, Links rechts bündig darunter umbrechen */
.refu-gl-links li {
	padding-left: 6rem;
	text-indent: -6rem;
}

.refu-gl-links li + li {
	margin-top: 0.3rem;
}

.refu-gl-links span {
	display: inline-block;
	width: 6rem;
	text-indent: 0;
	color: var(--refu-grau);
}

.refu-gl-links a {
	color: var(--refu-grau);
	text-decoration: underline;
	text-decoration-color: var(--refu-rot);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.refu-gl-links a:hover,
.refu-gl-links a:focus-visible {
	color: var(--refu-rot);
}

@media (max-width: 900px) {
	.refu-gl-gruppe {
		grid-template-columns: minmax(0, 1fr);
	}
	.refu-gl-begriffe {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	.refu-gl-az ol {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.refu-gl-az a {
		min-width: 36px;
		height: 36px;
	}
}

/* ===== Unternehmen und Über REFU (0.9.4, Seitenbaum Abschnitt 12, Entscheidungen 118–127) ===== */

/* Einstieg wie Startseite: Dachzeile mit rotem Strich, H1 bis 72 px (Entscheidung 118) */
.refu-un-einstieg {
	padding-inline: max(var(--refu-rand), calc((100% - var(--wp--style--global--wide-size, 1440px)) / 2));
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.refu-un-einstieg__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
	padding-block: clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
}

.refu-un-einstieg .refu-brotkrumen {
	margin-bottom: 1.75rem;
}

.refu-un-einstieg .refu-st-dach {
	color: #dddddd;
}

.refu-un-einstieg h1 {
	max-width: 13ch;
	margin: 0 0 1.5rem;
	font-size: clamp(2.25rem, 4.6vw, 4.5rem); /* Ausnahme wie Startseite: bis 72 px */
	line-height: 1.04;
	letter-spacing: -0.02em;
	hyphens: manual; /* Trennstellen setzt die Redaktion (weiches Trennzeichen), sonst kein Umbruch mitten im Wort */
	overflow-wrap: normal;
}

.refu-un-einstieg h1 span {
	color: var(--refu-rot);
}

.refu-un-einstieg__einleitung {
	max-width: 34rem;
	margin: 0;
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.6;
	color: #cfcfcf;
}

.refu-un-einstieg__bild {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--refu-dunkelgrau);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-schwarz);
}

.refu-un-einstieg__bild img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.refu-un-einstieg__bild .refu-un-raster {
	transform: scale(1.35);
	object-position: 50% 40%;
}

/* Kennzahlen im Einstieg */
.refu-un-zahlen {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	gap: 1.5rem clamp(1.25rem, 3vw, 3rem);
	margin: 0;
}

.refu-un-zahlen > div {
	padding-top: 1rem;
	border-top: 2px solid var(--refu-rot);
}

.refu-un-zahlen dd {
	margin: 0;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 600;
	line-height: 1.1;
}

.refu-un-zahlen dt {
	margin-top: 0.35rem;
	color: var(--refu-hellgrau);
}

.refu-un-zahlen .refu-un-zahlen__stand {
	display: flex;
	align-items: flex-end;
	border-top-color: var(--refu-dunkelgrau);
}

.refu-un-zahlen__stand p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--refu-hellgrau);
}

/* Überschriften der Abschnitte */
.refu-ueberseite .refu-p h2,
.refu-hubseite .refu-un-entdecken h2,
.refu-hubseite .refu-un-team h2,
.refu-hubseite .refu-un-staerken h2 {
	margin: 0 0 2.5rem;
}

.refu-un-einleitung {
	max-width: 40rem;
	margin: -1.5rem 0 3rem;
}

/* Kartenmosaik: große Karte links, zwei kleine rechts */
.refu-un-mosaik {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 1.5rem;
}

.refu-un-mosaik__rechts {
	display: grid;
	grid-auto-rows: 1fr;
	gap: 1.5rem;
}

.refu-un-mosaik__rest {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.refu-un-karte {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 16.75rem;
	box-sizing: border-box;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	text-decoration: none;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}

.refu-un-karte:hover,
.refu-un-karte:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.refu-un-karte h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 1.8vw, 1.5rem);
	line-height: 1.25;
}

.refu-un-karte p {
	margin: 0;
}

.refu-un-karte .refu-st-dach {
	margin-bottom: 1rem;
}

.refu-un-karte--hell {
	background: var(--refu-flaeche);
	color: var(--refu-schwarz);
}

.refu-un-karte--hell p:not(.refu-st-dach) {
	color: var(--refu-grau);
}

.refu-un-karte--dunkel {
	background: var(--refu-schwarz) url("../deko/flow-ecke.webp") right -60px top -40px / 260px auto no-repeat;
	color: var(--refu-weiss);
}

.refu-un-karte--dunkel h3,
.refu-un-karte--dunkel .refu-st-dach {
	color: var(--refu-weiss);
}

.refu-un-karte__info {
	margin-bottom: 0.35rem !important;
	font-size: 0.875rem;
	color: var(--refu-hellgrau);
}

.refu-un-karte__zahl {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--refu-schwarz) !important;
}

.refu-un-karte__zahl span {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 1;
	color: var(--refu-rot);
}

.refu-un-karte--gross {
	justify-content: flex-end;
	min-height: 35rem;
	padding: 0;
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-un-karte__bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.refu-un-karte--gross:hover .refu-un-karte__bild {
	transform: scale(1.03);
}

.refu-un-karte__box {
	position: relative;
	max-width: 34rem;
	margin: clamp(1rem, 2.5vw, 2rem);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: var(--wp--custom--radius--karte);
	background: rgba(0, 0, 0, 0.84);
}

.refu-un-karte__box h3 {
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	color: var(--refu-weiss);
}

.refu-un-karte__box .refu-st-dach {
	color: #dddddd;
}

.refu-un-karte__box p:not(.refu-st-dach) {
	margin-bottom: 1.25rem;
	color: #cfcfcf;
}

.refu-un-weiter {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
}

.refu-un-weiter .refu-icon,
.refu-un-link .refu-icon {
	width: 18px;
	height: 18px;
	color: var(--refu-rot);
}

.refu-un-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: var(--refu-schwarz);
	text-decoration: none;
}

/* Ansprechpartner: Bereich links, Personen rechts (ruhig wie das Glossar) */
.refu-un-gruppe {
	display: grid;
	grid-template-columns: 14rem minmax(0, 1fr);
	gap: 1rem clamp(1.5rem, 3vw, 3rem);
	padding: 2rem 0;
	border-top: 1px solid #dddddd;
}

.refu-un-gruppe h3 {
	margin: 0;
	font-size: 1.1875rem;
}

.refu-personen {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
	gap: 1.75rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-person__foto {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: #262626;
}

.refu-person__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Platzhalter „Foto folgt“: grauer Kopf auf hellem Grund */
.refu-person__foto--folgt {
	background: #e9e9e9;
}

.refu-person__foto--folgt svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: #c4c4c4;
}

.refu-person__foto--folgt span {
	position: absolute;
	left: 0.75rem;
	bottom: 0.6rem;
	font-size: 0.8125rem;
	color: var(--refu-grau);
}

.refu-person__name {
	margin: 0.75rem 0 0;
	font-weight: 600;
	line-height: 1.3;
}

.refu-person__funktion {
	margin: 0.15rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--refu-grau);
}

/* Nummerierte Punkte mit rotem Strich (Stärken, Versprechen) */
.refu-un-punkte {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 3rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-un-punkte li {
	padding-top: 1.25rem;
	border-top: 2px solid var(--refu-rot);
}

.refu-un-punkte h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
	line-height: 1.3;
}

.refu-un-punkte p {
	margin: 0;
}

.refu-hg-schwarz .refu-un-punkte p {
	color: #cfcfcf;
}

.refu-un-punkte__nr {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--refu-rot);
}

.refu-un-staerken {
	background-image: url("../deko/flow-ecke.webp");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: min(20rem, 30vw) auto;
}

/* Deko-Linien nur über dem Kopf, nicht hinter den Punkten */
.refu-un-staerken .refu-un-punkte {
	position: relative;
	z-index: 1;
	padding-top: 0.5rem;
	background: var(--refu-schwarz);
	box-shadow: 0 0 0 1.5rem var(--refu-schwarz);
}

/* Zwei Spalten: Überschrift links, Text rechts (PRETTL, Fragen) */
.refu-un-zweispaltig {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

.refu-un-zweispaltig h2 {
	margin-bottom: 1.5rem !important;
}

.refu-un-prettl p {
	margin: 0 0 1rem;
}

/* Zeitleiste: Karten abwechselnd oben und unten an einer roten Linie (Desktop) */
.refu-zeitleiste {
	--spalten: calc(var(--anzahl) * 2 + 2);
	display: grid;
	grid-template-columns: repeat(var(--spalten), minmax(0, 1fr));
	grid-template-rows: auto 18px auto;
	column-gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
	background: linear-gradient(var(--refu-rot), var(--refu-rot)) no-repeat left center / 100% 2px;
}

.refu-zeitleiste__eintrag {
	grid-column: calc(var(--n) * 2 - 1) / span 4;
	grid-row: 1;
	display: flex;
	flex-direction: column;
}

.refu-zeitleiste__eintrag::after {
	content: "";
	display: block;
	width: 1px;
	height: 2.25rem;
	margin: 0 auto;
	background: #cccccc;
}

.refu-zeitleiste__eintrag--unten {
	grid-row: 3;
	flex-direction: column-reverse;
}

/* Punkt auf der Linie */
.refu-zeitleiste__eintrag::before {
	content: "";
	position: relative;
	order: 3;
	width: 18px;
	height: 18px;
	margin: 0 auto -9px;
	border-radius: 50%;
	background: var(--refu-rot);
	transform: translateY(9px);
}

.refu-zeitleiste__eintrag--unten::before {
	order: 3;
	margin: -9px auto 0;
	transform: translateY(-9px);
}

.refu-zeitleiste__karte {
	box-sizing: border-box;
	height: 10.5rem;
	padding: 1.25rem 1.25rem 1.4rem;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-zeitleiste__jahr {
	margin: 0 0 0.6rem;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1;
}

.ist-aktuell .refu-zeitleiste__jahr {
	color: var(--refu-rot);
}

.refu-zeitleiste__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	hyphens: auto;
	overflow-wrap: break-word;
}

/* Geschäftsführung */
.refu-un-fuehrung__liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
	gap: 3rem clamp(2rem, 4vw, 4rem);
}

.refu-un-fuehrung__person {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: flex-start;
	margin: 0;
}

.refu-un-fuehrung__person .refu-person__foto {
	flex: 0 0 12.5rem;
}

.refu-un-fuehrung__person figcaption {
	flex: 1 1 15rem;
	min-width: 0;
}

.refu-un-fuehrung .refu-person__name {
	margin-top: 0;
	font-size: 1.1875rem;
}

.refu-un-fuehrung .refu-person__funktion {
	margin-bottom: 1rem;
	color: var(--refu-hellgrau);
}

.refu-un-fuehrung blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.refu-un-fuehrung blockquote p {
	margin: 0;
	color: #cfcfcf;
}

/* Häufige Fragen */
.refu-un-fragen .refu-faq-liste {
	margin: 0;
}

/* Hinter den Kulissen */
.refu-un-kulissen__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.refu-un-kulissen__kopf > div:first-child {
	flex: 1 1 26rem;
	min-width: 0;
}

.refu-un-kulissen__kopf h2 {
	margin-bottom: 0.75rem !important;
}

.refu-un-kulissen__kopf p {
	max-width: 36rem;
	margin: 0;
	color: #cfcfcf;
}

.refu-un-kulissen__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.refu-un-social.wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.refu-un-social:not(.refu-knopf--rahmen).wp-element-button {
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
}

.refu-un-social .refu-icon {
	width: 18px;
	height: 18px;
}

.refu-un-kulissen__bilder {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: 1.5rem;
}

.refu-un-kulissen__bilder figure {
	margin: 0;
}

.refu-un-kulissen__bilder img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--wp--custom--radius--karte);
}

.refu-un-kulissen__bilder figcaption {
	margin-top: 0.6rem;
	font-size: 0.875rem;
	color: var(--refu-hellgrau);
}

/* Karriere: Stellenliste */
.refu-stellen {
	margin-block: var(--wp--preset--spacing--60);
}

.refu-stellen h2 {
	margin: 0 0 1.25rem;
}

.refu-stellen__liste {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #dddddd;
}

.refu-stellen__eintrag {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.25rem 1rem;
	align-items: center;
	padding: 1.25rem 0;
	border-bottom: 1px solid #dddddd;
	color: var(--refu-schwarz);
	text-decoration: none;
}

.refu-stellen__eintrag h3 {
	margin: 0;
	font-size: 1.1875rem;
}

.refu-stellen__eintrag p {
	grid-column: 1;
	margin: 0;
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-stellen__eintrag .refu-icon {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 20px;
	height: 20px;
	color: var(--refu-rot);
}

.refu-stellen__eintrag:hover h3 {
	color: var(--refu-rot);
}

.refu-stellen--leer {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-stellen .wp-element-button,
.refu-stelle__bewerbung .wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.refu-stellen .wp-element-button .refu-icon,
.refu-stelle__bewerbung .wp-element-button .refu-icon {
	width: 18px;
	height: 18px;
}

.refu-stellen__initiativ,
.refu-stelle__datenschutz {
	font-size: 0.875rem;
	color: var(--refu-grau);
}

/* Stellenanzeige */
.refu-stelle__eckdaten {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.refu-stelle__eckdaten li {
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--refu-dunkelgrau);
	border-radius: 999px;
	font-size: 0.875rem;
	color: #dddddd;
}

.refu-stelle__abgelaufen {
	display: inline-block;
	margin-top: 1.5rem;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	background: var(--refu-rot);
	color: var(--refu-weiss);
	font-weight: 600;
}

.refu-stelle__inhalt .refu-p__innen {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
}

.refu-stelle__block h2 {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-stelle__block ul {
	margin: 0;
	padding-left: 1.2rem;
}

.refu-stelle__block li + li {
	margin-top: 0.4rem;
}

/* Rechtsseiten (Seitenbaum Abschnitt 17): schmale Textspalte, keine Werbeelemente, druckfreundlich */
.refu-rechtsseite {
	/* Abstand unter der durchsichtigen Kopfzeile beibehalten (0.9.7) */
	padding-top: calc(var(--refu-kopf-hoehe) + var(--wp--preset--spacing--60));
	padding-bottom: var(--wp--preset--spacing--70);
	padding-inline: var(--refu-rand);
}

.refu-rechtsseite p {
	margin-block: 0 1rem;
}

.refu-rechtsseite .wp-block-post-title {
	margin-bottom: 2rem;
	font-size: var(--wp--preset--font-size--sehr-gross);
}

.refu-rechtsseite :is(h2, h3) {
	margin-top: 2.25rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-rechtsseite table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.refu-rechtsseite :is(td, th) {
	padding: 0.5rem 0.75rem;
	border: 1px solid #dddddd;
	text-align: left;
	vertical-align: top;
}

@media print {
	.refu-rechtsseite {
		padding: 0;
	}
	.refu-kopfbereich,
	.refu-fussbereich {
		display: none;
	}
}

/* Tablet und Handy */
@media (max-width: 900px) {
	.refu-un-einstieg__raster,
	.refu-un-mosaik,
	.refu-un-zweispaltig {
		grid-template-columns: minmax(0, 1fr);
	}
	.refu-un-einstieg__bild {
		order: -1;
	}
	.refu-un-karte--gross {
		min-height: 28rem;
	}
	.refu-un-gruppe {
		grid-template-columns: minmax(0, 1fr);
	}
	.refu-personen {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
		gap: 1.25rem 1rem;
	}
	/* Zeitleiste senkrecht mit roter Linie links */
	.refu-zeitleiste {
		display: block;
		padding-left: 1.75rem;
		background: linear-gradient(var(--refu-rot), var(--refu-rot)) no-repeat 0.5rem 0 / 2px 100%;
	}
	.refu-zeitleiste__eintrag,
	.refu-zeitleiste__eintrag--unten {
		position: relative;
		display: block;
		margin-bottom: 1rem;
	}
	.refu-zeitleiste__eintrag::after {
		display: none;
	}
	.refu-zeitleiste__eintrag::before,
	.refu-zeitleiste__eintrag--unten::before {
		position: absolute;
		left: calc(-1.75rem + 0.5rem - 7px);
		top: 1.5rem;
		width: 16px;
		height: 16px;
		margin: 0;
		transform: none;
	}
	.refu-zeitleiste__karte {
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.refu-un-karte,
	.refu-un-karte__bild {
		transition: none;
	}
	.refu-un-karte:hover,
	.refu-un-karte--gross:hover .refu-un-karte__bild {
		transform: none;
	}
}

/* ===== News ruhiger (0.9.5): Meta als Text, Liste statt Kästchen ===== */
.refu-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-hg-schwarz .refu-news-meta,
.refu-referenz .refu-news-meta {
	color: var(--refu-hellgrau);
}

.refu-news-meta__punkt {
	color: var(--refu-hellgrau);
}

.refu-newsliste {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #dddddd;
}

.refu-newszeile {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr) 1.5rem;
	gap: 0.5rem clamp(1.5rem, 3vw, 3rem);
	align-items: start;
	padding: 1.75rem 0;
	border-bottom: 1px solid #dddddd;
	color: var(--refu-schwarz);
	text-decoration: none;
}

.refu-newszeile__datum {
	padding-top: 0.2rem;
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-newszeile__art {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
	color: var(--refu-grau);
}

.refu-newszeile h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.35;
}

.refu-newszeile__text > p:last-child {
	max-width: 46rem;
	margin: 0;
	color: var(--refu-schwarz);
}

.refu-newszeile .refu-icon {
	width: 20px;
	height: 20px;
	margin-top: 0.15rem;
	color: var(--refu-rot);
	transition: transform 0.25s;
}

.refu-newszeile:hover h3,
.refu-newszeile:focus-visible h3 {
	color: var(--refu-rot);
}

.refu-newszeile:hover .refu-icon {
	transform: translateX(4px);
}

@media (max-width: 700px) {
	.refu-newszeile {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.25rem;
	}
	.refu-newszeile .refu-icon {
		display: none;
	}
}

/* ===== Glossar: mehr Luft zwischen den Begriffen, Bezeichnung am Handy über der Liste ===== */
.refu-gl-begriffe {
	row-gap: clamp(2.5rem, 4vw, 3.5rem);
}

.refu-gl-gruppe {
	padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

@media (max-width: 900px) {
	.refu-gl-begriff + .refu-gl-begriff {
		padding-top: 2.5rem;
		border-top: 1px solid #ececec;
	}
	.refu-gl-begriffe {
		row-gap: 2.5rem;
	}
}

@media (max-width: 600px) {
	.refu-gl-links li {
		padding-left: 0;
		text-indent: 0;
	}
	.refu-gl-links span {
		display: block;
		width: auto;
		margin-bottom: 0.1rem;
	}
	.refu-gl-links li + li {
		margin-top: 0.75rem;
	}
}

/* ===== Karriere (0.9.6): Einstieg wie Unternehmen, darunter Stellenliste ===== */
.refu-karriere-inhalt {
	padding-block: clamp(3rem, 6vw, 5rem);
	padding-inline: var(--refu-rand);
}

.refu-karriere-inhalt .refu-stellen {
	margin-block: 0;
}

/* Stellenanzeige: Einleitung (Auszug) und Zwischenüberschriften (0.9.8) */
.refu-stelle__einleitung .refu-p__innen {
	max-width: 46rem;
	margin-inline: 0;
	padding-bottom: 0;
}

.refu-stelle__einleitung p {
	margin: 0 0 1rem;
	font-size: 1.125rem;
}

.refu-stelle__block .refu-stelle__zwischen {
	margin: 1.25rem 0 0.5rem;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	line-height: 1.4;
	font-weight: 600;
	color: var(--refu-grau);
}

.refu-stelle__block h2 + .refu-stelle__zwischen {
	margin-top: 0;
}

/* =========================================================================
   Formulare „Technischer Support“ und „Kontakt“ (Plugin 0.14.0, Entscheidung 129)
   ========================================================================= */
.refu-form {
	max-width: 760px;
	margin-top: clamp(2.5rem, 5vw, 4rem);
	scroll-margin-top: calc(var(--refu-kopf-hoehe) + var(--refu-oben) + 1.5rem);
}

.refu-form__formular {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.refu-form__gruppe {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.refu-form__titel {
	padding: 0;
	margin-bottom: 1rem;
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 600;
	line-height: 1.3;
}

.refu-form__reihe {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.refu-form__reihe > .refu-form__feld {
	flex: 1 1 240px;
	min-width: 0;
}

.refu-form__reihe--adresse > .refu-form__feld {
	flex: 2 1 200px;
}

.refu-form__reihe--adresse > .refu-form__feld--schmal {
	flex: 1 1 110px;
}

.refu-form__feld {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.refu-form__feld label {
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
}

.refu-form__pflicht {
	color: var(--refu-rot);
}

.refu-form__frei {
	font-weight: 400;
	color: var(--refu-grau);
}

.refu-form input[type="text"],
.refu-form input[type="email"],
.refu-form input[type="tel"],
.refu-form select,
.refu-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.625rem 0.875rem;
	border: 1px solid #767676;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-weiss);
	color: var(--refu-schwarz);
	font: inherit;
	font-size: 1rem;
}

.refu-form textarea {
	min-height: 150px;
	resize: vertical;
	line-height: 1.5;
}

.refu-form input:focus-visible,
.refu-form select:focus-visible,
.refu-form textarea:focus-visible {
	outline: 2px solid var(--refu-schwarz);
	outline-offset: 1px;
	border-color: var(--refu-schwarz);
}

.refu-form .ist-fehler input,
.refu-form .ist-fehler select,
.refu-form .ist-fehler textarea {
	border-color: var(--refu-rot);
	border-width: 2px;
}

.refu-form__hilfe,
.refu-form__zaehler {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-form__zaehler {
	align-self: flex-end;
}

.refu-form__fehler {
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 600;
	color: var(--refu-rot);
}

.refu-form__fehler:empty {
	display: none;
}

.refu-form__tel {
	display: flex;
	gap: 0.5rem;
}

.refu-form__tel .refu-form__vorwahl {
	flex: 0 0 9.5rem; /* „Bitte wählen“ / „Please select“ vollständig lesbar */
}

.refu-form__tel input {
	flex: 1 1 auto;
	min-width: 0;
}

/* Anliegen als große Auswahlknöpfe (echte Radio-Felder) */
.refu-form__wahl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.75rem;
}

.refu-form__knopf {
	position: relative;
	display: block;
	cursor: pointer;
}

.refu-form__knopf input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.refu-form__knopf span {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0.75rem 1rem;
	border: 1px solid #767676;
	border-radius: var(--wp--custom--radius--knopf);
	background: var(--refu-weiss);
	font-weight: 600;
	line-height: 1.3;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.refu-form__knopf:hover span {
	border-color: var(--refu-schwarz);
}

.refu-form__knopf input:checked + span {
	border-color: var(--refu-schwarz);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-form__knopf input:focus-visible + span {
	outline: 2px solid var(--refu-rot);
	outline-offset: 2px;
}

/* Abweichende Lieferadresse */
.refu-form__mehr summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.refu-form__mehr summary::-webkit-details-marker {
	display: none;
}

.refu-form__mehr summary::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid var(--refu-rot);
	border-bottom: 2px solid var(--refu-rot);
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.15s;
}

.refu-form__mehr[open] summary::before {
	transform: rotate(-135deg) translateY(-2px);
}

.refu-form__mehr-inhalt {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1rem;
	padding: 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

/* Abschluss: Häkchen, Hinweis, Knopf */
.refu-form__abschluss {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-form__haken label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 1rem;
	font-weight: 400;
	cursor: pointer;
}

.refu-form__haken input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0.15rem 0 0;
	accent-color: var(--refu-rot);
}

.refu-form__haken .refu-form__fehler {
	display: block;
	margin: 0.25rem 0 0 2rem;
}

.refu-form__haken .refu-form__fehler:empty {
	display: none;
}

.refu-form__hinweis {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-form__hinweis a {
	color: inherit;
}

.refu-form__senden[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.refu-form__problem {
	padding: 1rem 1.25rem;
	border: 2px solid var(--refu-rot);
	border-radius: var(--wp--custom--radius--knopf);
	font-weight: 600;
}

.refu-form__danke {
	padding: 2rem;
	border: 2px solid var(--refu-schwarz);
	border-radius: var(--wp--custom--radius--karte);
	outline: none;
}

.refu-form__danke h3 {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-form__danke h3::before {
	content: "";
	width: 0.75rem;
	height: 1.25rem;
	border-right: 3px solid var(--refu-rot);
	border-bottom: 3px solid var(--refu-rot);
	transform: rotate(45deg) translateY(-3px);
}

.refu-form__danke p {
	margin: 0;
}

/* Unsichtbares Feld für Spam-Roboter */
.refu-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.refu-form [hidden] {
	display: none !important;
}

/* Bestätigungsseite: „Bis dahin“ und Abstand zum Block „Hinter den Kulissen“ (Entscheidung 131) */
.refu-form__weiter {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.refu-form__weiter h3 {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-form__weiter ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-form__weiter a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	box-sizing: border-box;
	padding: 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
	color: var(--refu-schwarz);
	text-decoration: none;
	transition: background-color 0.15s;
}

.refu-form__weiter a:hover {
	background: var(--refu-linie-hell);
}

.refu-form__weiter-titel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-weight: 600;
}

.refu-form__weiter-titel svg {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--refu-rot);
}

.refu-form__weiter-text {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-form + .refu-un-kulissen {
	margin-top: var(--refu-abstand);
}

.entry-content > .refu-form + .refu-un-kulissen.refu-p:last-child {
	margin-bottom: 0;
}

.entry-content:has(> .refu-form + .refu-un-kulissen:last-child) {
	margin-bottom: 0;
}

/* Kontaktseite: Zentrale und Wegweiser über dem Formular (Entscheidung 132) */
.refu-kontakt__einleitung {
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.5;
}

.refu-kontakt {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.refu-kontakt__spalte {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.5rem 2.5rem;
}

.refu-kontakt__zentrale {
	flex: 1 1 280px;
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-kontakt__zentrale h2 {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-kontakt__zentrale p {
	margin: 0 0 0.75rem;
}

.refu-kontakt__zentrale p:last-child {
	margin-bottom: 0;
}

.refu-kontakt__zentrale a {
	color: var(--refu-schwarz);
}

.refu-kontakt__route {
	font-weight: 600;
}

.refu-kontakt__wege {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--klein);
}

.refu-kontakt__wege li {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.refu-kontakt__wege li + li {
	padding-top: 1rem;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-kontakt__wege span {
	color: var(--refu-grau);
}

.refu-kontakt__wege a {
	font-weight: 600;
	color: var(--refu-schwarz);
}

.refu-kontakt > .refu-form {
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

.entry-content > .refu-kontakt + .refu-un-kulissen.refu-p:last-child {
	margin-top: var(--refu-abstand);
	margin-bottom: 0;
}

.entry-content:has(> .refu-kontakt + .refu-un-kulissen:last-child) {
	margin-bottom: 0;
}

/* Kontaktformular: Kachel „Technischer Support“ führt zur Seite Service & Support (Entscheidung 135) */
.refu-form__knopf--link {
	text-decoration: none;
	color: var(--refu-schwarz);
}

.refu-form__knopf--link > span {
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0.125rem;
	background: var(--refu-flaeche);
}

.refu-form__knopf--link span span {
	display: flex;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
}

.refu-form__knopf--link .refu-form__knopf-titel {
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.refu-form__knopf--link .refu-form__knopf-titel svg {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	color: var(--refu-rot);
}

.refu-form__knopf--link .refu-form__knopf-text {
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 400;
	color: var(--refu-grau);
}

.refu-form__knopf--link:hover > span {
	background: var(--refu-linie-hell);
}

/* Vorlage „Service & Support“ (Entscheidung 135) */
.refu-service-rahmen {
	padding-bottom: var(--refu-abstand);
}

.refu-service__einleitung {
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.5;
}

.refu-service__abschnitt {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.refu-service__abschnitt > h2 {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-service__anfrage {
	margin-top: clamp(3.5rem, 7vw, 5rem);
	scroll-margin-top: calc(var(--refu-kopf-hoehe) + var(--refu-oben) + 1.5rem);
}

.refu-service__anfrage > h2 {
	font-size: var(--wp--preset--font-size--sehr-gross, 2.25rem);
	margin-bottom: 0;
}

.refu-service__anfrage .refu-form {
	margin-top: 2rem;
}

.refu-service__kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.refu-service__kacheln a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	box-sizing: border-box;
	padding: 1.25rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
	color: var(--refu-schwarz);
	text-decoration: none;
	transition: background-color 0.15s;
}

.refu-service__kacheln a:hover {
	background: var(--refu-linie-hell);
}

.refu-service__kachel-titel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-weight: 600;
}

.refu-service__kachel-titel svg {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	color: var(--refu-rot);
}

.refu-service__kachel-text,
.refu-service__hinweis {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-service__hinweis {
	margin: 0.75rem 0 0;
}

.refu-service__hotline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	padding: 1.5rem;
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-service__hotline-text {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.refu-service__hotline .refu-st-dach {
	margin: 0;
}

.refu-service__nummer {
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--refu-weiss);
	text-decoration: none;
}

.refu-service__zeiten {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: #cccccc;
}

.refu-service .refu-un-kulissen {
	margin-top: var(--refu-abstand);
}

.refu-service__hotline .refu-st-dach {
	color: #cccccc;
}

/* Karriere: Kasten „Ihre Ansprechpartnerin“ (Entscheidung 139) */
.refu-karriere-kontakt {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2.5rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-flaeche);
}

.refu-karriere-kontakt .refu-person__foto {
	flex: 0 0 clamp(140px, 22vw, 200px);
	margin: 0;
}

.refu-karriere-kontakt__text {
	flex: 1 1 260px;
	min-width: 0;
}

.refu-karriere-kontakt__text h2 {
	margin: 0.25rem 0 0.75rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-karriere-kontakt__text p {
	margin: 0 0 0.75rem;
}

.refu-karriere-kontakt__wege {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-bottom: 0 !important;
}

.refu-karriere-kontakt__wege a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-weight: 600;
	color: var(--refu-schwarz);
}

.refu-karriere-kontakt__wege svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--refu-rot);
}


/* Service & Support: ruhigerer Einstieg und Kacheln mit Symbol (Entscheidung 143) */
.refu-inhalt:has(.refu-service) .wp-block-post-content > :last-child {
	margin-bottom: 0;
}

.refu-inhalt:has(.refu-service) .wp-block-post-content > p:first-child,
.refu-service__einleitung {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--gross);
	line-height: 1.5;
}

.refu-service > .refu-service__abschnitt:first-child,
.refu-service > .refu-service__einleitung + .refu-service__abschnitt {
	margin-top: clamp(2rem, 4vw, 2.75rem);
}

.refu-service__kacheln a {
	gap: 0.5rem;
	padding: 1.5rem;
	border: 1px solid transparent;
	transition: background-color 0.15s, border-color 0.15s;
}

.refu-service__kacheln a:hover {
	background: var(--refu-weiss);
	border-color: var(--refu-schwarz);
}

.refu-service__kachel-symbol {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 0.5rem;
	border-radius: 50%;
	background: var(--refu-weiss);
	color: var(--refu-rot);
}

.refu-service__kachel-symbol svg {
	width: 1.375rem;
	height: 1.375rem;
}

.refu-service__kacheln a:hover .refu-service__kachel-symbol {
	background: var(--refu-flaeche);
}

.refu-service__kachel-titel {
	font-size: 1.0625rem;
	line-height: 1.3;
}

.refu-service__hinweis {
	display: flex;
	gap: 0.5rem;
	align-items: baseline;
	margin-top: 1rem;
}


/* Service & Support: Gesicht im Hotline-Band (Entscheidung 144) */
.refu-service__hotline--person {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 1.5rem;
	row-gap: 1rem;
}

.refu-service__hotline--person > .refu-service__person {
	grid-row: 1 / span 2;
}

.refu-service__hotline--person > .wp-element-button {
	grid-column: 2;
	justify-self: start;
}

.refu-service__person {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-right: 1.5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.refu-service__person .refu-person__foto {
	flex: 0 0 4.5rem;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
}

.refu-service__person .refu-person__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
	transform: scale(1.35);
	transform-origin: 50% 25%;
}

.refu-service__person p {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: #cccccc;
	line-height: 1.4;
}

.refu-service__person strong {
	color: var(--refu-weiss);
	font-size: 1rem;
}

@media (max-width: 700px) {
	.refu-service__person {
		flex-basis: 100%;
		padding-right: 0;
		padding-bottom: 1.25rem;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}

	.refu-service__hotline--person {
		grid-template-columns: 1fr;
	}

	.refu-service__hotline--person > .refu-service__person {
		grid-row: auto;
	}

	.refu-service__hotline--person > .wp-element-button {
		grid-column: 1;
	}
}

/* Newsletter-Hinweis: nur Link zu Mailchimp (Entscheidung 145) */
.refu-newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 2.5rem;
}

.refu-newsletter__text {
	flex: 1 1 320px;
	min-width: 0;
}

.refu-newsletter__text h2,
.refu-newsletter__titel {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 600;
}

.refu-newsletter__text p {
	margin: 0;
}

.refu-newsletter__aktion {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.refu-newsletter__knopf {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.refu-newsletter__knopf svg {
	width: 1.125rem;
	height: 1.125rem;
}

.refu-newsletter__info {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

/* im Footer: schmale Leiste über „Rechtliches“ */
.refu-newsletter--fuss {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding: clamp(1.25rem, 3vw, 1.75rem) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.refu-newsletter--fuss .refu-newsletter__titel {
	font-size: 1.125rem;
	color: var(--refu-weiss);
}

.refu-newsletter--fuss .refu-newsletter__text p,
.refu-newsletter--fuss .refu-newsletter__info {
	color: #b3b3b3;
}

.refu-fuss .refu-newsletter--fuss .refu-newsletter__titel {
	color: var(--refu-weiss);
}

.refu-p--news-newsletter .refu-newsletter {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 1px solid var(--refu-linie-hell);
}

/* Beitrag: Kontaktblock mit Person (Entscheidung 146) */
.refu-news-kontakt {
	max-width: var(--wp--style--global--content-size, 760px);
	margin-inline: auto;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1.5rem 2.5rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--refu-schwarz);
	color: var(--refu-weiss);
}

.refu-news-kontakt__person {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	text-align: center;
}

.refu-news-kontakt__person .refu-person__foto {
	width: 8.5rem;
	height: 8.5rem;
	margin: 0;
	overflow: hidden;
	border-radius: 50%;
}

.refu-news-kontakt__person .refu-person__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 18%;
	transform: scale(1.3);
	transform-origin: 50% 25%;
}

.refu-news-kontakt__person p {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein);
	color: #cccccc;
	line-height: 1.4;
}

.refu-news-kontakt__person strong {
	color: var(--refu-weiss);
	font-size: 1rem;
}

.refu-news-kontakt__text h2 {
	margin: 0 0 0.5rem;
	color: var(--refu-weiss);
	font-size: var(--wp--preset--font-size--gross);
}

.refu-news-kontakt__text p {
	margin: 0 0 1rem;
}

.refu-news-kontakt__wege {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.refu-news-kontakt__wege a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	color: var(--refu-weiss);
	font-weight: 600;
}

.refu-news-kontakt__wege svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--refu-rot);
}

@media (max-width: 640px) {
	.refu-news-kontakt {
		grid-template-columns: 1fr;
	}
}

/* Kleingedrucktes im Beitrag (z. B. Compliance-Hinweis) */
.refu-artikel .refu-kleingedruckt {
	margin-top: 2rem;
	color: var(--refu-grau);
}

/* Startseite: Nächste Termine (Entscheidung 147) */
.refu-st-termine {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.refu-st-termine h3 {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
}

.refu-st-termine ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--refu-linie-hell);
}

.refu-st-termine li {
	border-bottom: 1px solid var(--refu-linie-hell);
}

.refu-st-termine a {
	display: grid;
	grid-template-columns: 6.5rem 1fr auto;
	align-items: center;
	gap: 1.25rem;
	padding: 1rem 0.25rem;
	color: var(--refu-schwarz);
	text-decoration: none;
}

.refu-st-termine a:hover strong {
	color: var(--refu-rot);
}

.refu-st-termin__datum {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.refu-st-termin__tag {
	font-size: 1.375rem;
	font-weight: 600;
}

.refu-st-termin__monat {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-st-termin__text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.refu-st-termin__text span {
	font-size: var(--wp--preset--font-size--klein);
	color: var(--refu-grau);
}

.refu-st-termine a svg {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--refu-rot);
}

@media (max-width: 600px) {
	.refu-st-termine a {
		grid-template-columns: 5rem 1fr;
	}

	.refu-st-termine a svg {
		display: none;
	}
}

/* Unternehmen: Karte „News & Presse“ ruhiger (Entscheidung 148):
   Linien klein in der Ecke und zur Schrift hin ausgeblendet, Titel mit Abstand zur Ecke. */
.refu-un-karte--dunkel {
	background: var(--refu-schwarz);
	isolation: isolate;
}

.refu-un-karte--dunkel::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -60px;
	z-index: -1;
	width: 230px;
	height: 230px;
	background: url("../deko/flow-ecke.webp") center / contain no-repeat;
	opacity: 0.55;
	-webkit-mask-image: linear-gradient(to left, #000 35%, transparent 90%);
	mask-image: linear-gradient(to left, #000 35%, transparent 90%);
	transition: opacity 0.35s;
}

.refu-un-karte--dunkel:hover::before,
.refu-un-karte--dunkel:focus-visible::before {
	opacity: 0.8;
}

.refu-un-karte--dunkel h3 {
	max-width: 22ch;
}

.refu-un-karte--dunkel .refu-un-karte__info {
	margin-top: 0.25rem;
	color: #b3b3b3;
}

/* Produktname REFUbess im Text in Rot (Markenregel, Entscheidung 150) */
.refu-produktname {
	color: var(--refu-rot);
	font-weight: 600;
}

/* Beitrag: Handlungsknopf unter der Einleitung (Entscheidung 151) */
.refu-news-knopf {
	margin: 1.5rem 0 0;
}

/* Beitrag: Personenkarten „Wen Sie bei uns treffen“ (Entscheidung 152) */
.refu-p--news-team h2 {
	max-width: var(--wp--style--global--content-size, 760px);
	margin: 0 auto 1.5rem;
	font-size: var(--wp--preset--font-size--gross);
}

.refu-personen--beitrag {
	max-width: var(--wp--style--global--content-size, 760px);
	margin-inline: auto;
}

.refu-person--neu .refu-person__foto--folgt {
	position: relative;
}

.refu-person--neu .refu-person__foto--folgt span {
	position: absolute;
	top: 41%;
	left: 50%;
	right: auto;
	bottom: auto;
	transform: translate(-50%, -50%);
	padding: 0;
	background: none;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1;
	color: var(--refu-weiss);
}

.refu-person--neu .refu-person__funktion {
	color: var(--refu-grau);
}
