/* ROYES dental — Projekt-Stylesheet (Quelle der Wahrheit)
 *
 * Die Design-Tokens (--cream, --orange, --fs-body …) sind als GLOBALE
 * BRICKS-VARIABLEN gepflegt (Bricks › Einstellungen › Variablen) und werden von
 * Bricks als :root{} ausgegeben. Hier werden sie nur verwendet, nicht
 * dupliziert — sonst gäbe es zwei Wahrheiten.
 *
 * Aufbau:
 *   1 · Basis-Resets (Leitfaden §9.2 — die drei Ursachen für „sieht fast gleich aus")
 *   2 · Bricks-Neutralisierung (§2.1, §4.3)
 *   3 · Typografie-Rollen aus Handoff 4.2
 *   4 · Bausteine (Akzentpunkt, Breiten-Wrapper)
 */

/* ============================================================
   1 · Basis-Resets
   ============================================================ */

/* Root-Klasse, per body_class gesetzt.
   line-height: normal neutralisiert Bricks' globales 1.7 — das Design setzt
   Zeilenhöhen ausschließlich explizit (§9.2 Punkt 2). */
.roy-page {
	background: var(--cream);
	color: var(--black);
	font-family: 'Cabinet Grotesk', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
}

/* Bricks setzt Überschriften zusätzlich auf 1.4 — ebenfalls neutralisieren.
   :where() hält die Spezifität bei 0, jede spätere Regel gewinnt. */
.roy-page :where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: normal;
}

.roy-page :where(p, ul, ol, figure, blockquote) {
	margin: 0;
}

/* ============================================================
   2 · Bricks-Neutralisierung
   ============================================================ */

/* Bricks' frontend.min.css stylt generische Tags per Element-Selektor (§4.3). */
.roy-page blockquote {
	margin: 0;
	padding-left: 0;
	border-left: 0;
	font-family: inherit;
	font-size: inherit;
}

.roy-page blockquote cite {
	font-family: inherit;
	font-style: normal;
	text-transform: none;
	opacity: 1;
}

.roy-page figcaption {
	text-align: left;
	color: var(--black-50); /* Bricks-Default #9e9e9e = 2,6:1 auf Cream (§14) */
}

/* Bricks-Container/-Block sind Flex-Spalten mit align-items — ein max-width-Kind
   darin schrumpft sonst auf Inhaltsbreite (§4.1). width:100% ist entscheidend. */
.roy-inner {
	display: block;
	width: 100%;
	max-width: var(--content-max);
	margin-inline: auto;
	padding-inline: var(--page-padding);
	box-sizing: border-box;
}

/* Bricks-Block hat width:100% als Default — Flex-Gruppen in Inhaltsbreite
   müssen das zurücknehmen, sonst sprengen sie die Reihe (§2.1). */
.roy-shrink {
	width: auto;
}

/* ============================================================
   3 · Typografie-Rollen (Handoff 4.2)
   ============================================================ */

/* Cap-Height-Trimming wie in Figma. Ohne das entstehen oben und unten je
   ~13px zusätzlicher Raum und sämtliche Abstände stimmen nicht. */
.roy-display,
.roy-h2,
.roy-h3,
.roy-label {
	text-box: trim-both cap alphabetic;
}

/* Fallback für Engines ohne `text-box`. Gemessen (Stand 08/2026): Chromium und
   WebKit/Safari beherrschen es, Firefox nicht — dort greift dieser Block.
   Der getrimmte Kasten reicht von der Cap-Height-Oberkante bis zur Baseline;
   zu entfernen sind oben half-leading + (Ascender − Cap-Height), unten
   half-leading + Descender. Beides skaliert mit der Schriftgröße, steht deshalb
   in em und gilt für jede Größe derselben Rolle.

   Die Werte sind gemessen, nicht geschätzt — mess/capheight-metriken.mjs liest
   die Metriken aus den ausgelieferten Schriftdateien:
     Antic Didone     Ascender 0.940 · Descender 0.250 · Cap-Height 0.704
     Cabinet Grotesk  Ascender 0.870 · Descender 0.280 · Cap-Height 0.672

   ACHTUNG: Sie gelten für line-height 1.2. Bekommt eine Rolle eine andere
   Zeilenhöhe, muss das Skript neu laufen. */
@supports not (text-box: trim-both cap alphabetic) {
	.roy-display {
		margin-block: -0.2410em -0.2550em;
	}

	.roy-h2,
	.roy-h3,
	.roy-label {
		margin-block: -0.2230em -0.3050em;
	}
}

.roy-display {
	font-family: 'Antic Didone', Georgia, serif;
	font-size: var(--fs-display);
	font-weight: 400;
	line-height: var(--lh-tight);
	text-wrap: pretty;
}

.roy-h2 {
	font-size: var(--fs-section);
	font-weight: 400;
	line-height: var(--lh-tight);
	text-wrap: pretty;
}

.roy-h3 {
	font-size: var(--fs-card);
	font-weight: 400;
	line-height: var(--lh-tight);
	text-wrap: pretty;
}

/* Fließtext, Labels und Datenzeilen skalieren NICHT (Handoff 4.2). */
.roy-body {
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	text-wrap: pretty;
}

.roy-label {
	font-size: var(--fs-label);
	line-height: var(--lh-tight);
}

.roy-data {
	font-size: var(--fs-data);
	line-height: var(--lh-body);
}

/* ============================================================
   4 · Bausteine
   ============================================================ */

/* Akzentpunkt ● (U+25CF) vor Vor-Überschriften: 1.5× der umgebenden
   Schriftgröße, Farbe per --roy-dot-color umschaltbar (Handoff 4.3). */
.roy-dot {
	font-size: 1.5em;
	color: var(--roy-dot-color, var(--orange));
	line-height: 0;
}

/* Links: Design setzt Orange, Hover Orange-Hover.
   Buttons und Navigationslinks sind ebenfalls <a> und tragen eigene Farben —
   eine generische Regel `.roy-page a` (0,1,1) schlüge jede Komponentenklasse
   (0,1,0). Genau das ist in der Kopfleiste passiert, der Kontakt-Link war
   orange statt schwarz (§4.6).

   :where() zieht die Spezifität dieser Basisregel auf (0,1,0) herunter, damit
   jede spätere Komponentenregel gewinnt, ohne dass irgendwo !important nötig
   wird. */
.roy-page :where(a) {
	color: var(--orange);
	text-decoration: none;
}

.roy-page :where(a:hover) {
	color: var(--orange-hover);
}

/* Umrisse als inset-Schatten statt border, damit die Kastenmaße stimmen
   (Handoff 4.4: „Schatten: keine"). */
.roy-outline {
	box-shadow: inset 0 0 0 1px currentColor;
}

/* Anker unter dem Sticky-Header hervorholen (§4.6). */
.roy-page [id] {
	scroll-margin-top: var(--header-height, 96px);
}

/* ============================================================
   5 · Kopfleiste (Handoff 4.6)
   ============================================================ */

/* Maße aus dem Prototyp: 83px hoch, Cream mit 80 % Deckkraft, Logo 113px. */
.roy-kopf {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: 83px;
	background: rgb(255 252 247 / 0.8);
}

.roy-kopf__inner {
	position: relative;
	max-width: var(--content-max);
	height: 83px;
	margin-inline: auto;
	padding-inline: var(--page-padding);
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.roy-kopf__menue,
.roy-kopf__kontakt {
	font-size: var(--fs-data);
	line-height: var(--lh-tight);
	color: var(--black);
	text-transform: capitalize;
	text-decoration: none;
	white-space: nowrap;
}

/* Der Menü-Auslöser ist ein <button> — bedienbar per Tastatur und für
   Screenreader als Schalter erkennbar. Die Button-Optik muss dafür weichen. */
.roy-kopf__menue {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	cursor: pointer;
}

.roy-kopf__menue:hover,
.roy-kopf__kontakt:hover {
	opacity: 0.7;
	color: var(--black);
}

.roy-kopf__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 113px;
}

.roy-kopf__logo:hover {
	opacity: 0.8;
}

.roy-kopf__logo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Nur die Startseite blendet die Leiste beim Scrollen ein — dort liegt das
   Hero-Video darunter. Das Umschalten übernimmt royes.js. */
.roy-kopf--einblenden {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.roy-kopf--einblenden.roy-kopf--sichtbar {
	opacity: 1;
	pointer-events: auto;
}

/* ============================================================
   6 · Kundenportal-Reiter (Handoff 4.6)
   ============================================================ */

.roy-portal {
	position: fixed;
	right: 0;
	top: 367px;
	z-index: 60;
	width: 167px;
	overflow: hidden;
	transform: translateY(167px) rotate(90deg);
	transform-origin: 100% 0;
	background: var(--orange);
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	text-decoration: none;
}

.roy-portal:hover {
	background: var(--orange-hover);
}

/* Punkt und Text mittig zueinander (Handoff 4.6: inline-flex). */
.roy-portal__inner {
	padding: 14px 20px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: var(--fw-medium);
	font-size: var(--fs-data);
	line-height: 1;
	white-space: nowrap;
	color: var(--cream);
}

.roy-portal .roy-dot {
	color: currentColor;
	line-height: 1;
}

/* Der Prototyp blendet den Reiter unter 1000px über einen width-Kniff aus.
   Als Media Query ist dieselbe Wirkung lesbar. */
@media (max-width: 999px) {
	.roy-portal {
		display: none;
	}
}

/* ============================================================
   7 · Menü-Overlay (Handoff 4.6)
   ============================================================ */

.roy-menue {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: var(--navy);
	overflow-y: auto;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.roy-menue[hidden] {
	display: none;
}

.roy-menue--offen {
	opacity: 1;
	pointer-events: auto;
}

.roy-menue__inner {
	position: relative;
	min-height: 100%;
	max-width: var(--content-max);
	margin-inline: auto;
	/* Unten Platz für das fixierte Laufband plus Luft darüber
	   (Kundenwunsch 13.08.: Social-Links deutlich über dem Band). */
	padding: 32px var(--page-padding) 148px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.roy-menue__schliessen {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	display: flex;
	flex-direction: row;
	gap: 26px;
	align-items: center;
	flex-shrink: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: var(--fs-data);
	line-height: var(--lh-tight);
	color: var(--cream);
	text-transform: capitalize;
	white-space: nowrap;
}

.roy-menue__spalten {
	margin-top: 48px;
	padding-left: 8.52%;
	box-sizing: border-box;
	display: flex;
	flex-flow: row wrap;
	gap: 64px 107px;
	align-items: flex-start;
}

.roy-menue__spalte {
	flex: 0 1 360px;
	display: flex;
	flex-direction: column;
	gap: 26px;
	align-items: flex-start;
}

/* Hauptebene: Antic Didone wie im Prototyp (die Tabelle in Handoff 4.2 nennt
   abweichend Cabinet Grotesk — der Prototyp ist die visuelle Referenz).
   Die feste Zeilenhöhe von 120px stammt ebenfalls von dort. */
.roy-menue__haupt {
	align-self: stretch;
	font-family: var(--font-display);
	font-size: clamp(34px, 3.18vw, 48px);
	line-height: 120px;
	text-box: trim-both cap alphabetic;
	color: var(--cream);
	text-transform: capitalize;
	text-decoration: none;
	flex-shrink: 0;
}

.roy-menue__haupt:hover {
	color: var(--orange);
}

/* Abstand vom letzten Unterpunkt zum nächsten Hauptpunkt: 54px.
   26px stammen aus dem Spalten-gap, 28px kommen hier dazu. */
.roy-menue__unter {
	align-self: stretch;
	margin-bottom: 28px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 22px;
	align-items: flex-start;
	flex-shrink: 0;
}

/* Trennlinien über die volle Spaltenbreite. */
.roy-menue__linie {
	align-self: stretch;
	height: 1px;
	background: rgb(255 252 247 / 0.2);
	flex-shrink: 0;
}

/* Unterebene NICHT eingerückt — linksbündig zur Hauptebene (Handoff 4.6). */
.roy-menue__unterpunkt {
	align-self: stretch;
	display: flex;
	flex-direction: row;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
	font-weight: var(--fw-light);
	font-size: clamp(20px, 1.85vw, 28px);
	line-height: var(--lh-tight);
	color: var(--cream);
	text-decoration: none;
}

/* Markiert wird nur der Bereich unter der Maus (Text bzw. Pfeil), nicht die
   ganze Zeile — die Klickfläche bleibt die volle Zeile. */
.roy-menue__unterpunkt > span:hover {
	opacity: 0.7;
}

.roy-menue__pfeil {
	white-space: nowrap;
}

/* Menü-Overlay: zwei Spalten → eine Spalte (Handoff 4.5). */
@media (max-width: 900px) {
	.roy-menue__spalten {
		padding-left: 0;
		gap: 48px;
	}

	.roy-menue__spalte {
		flex: 1 1 100%;
	}

	.roy-menue__haupt {
		line-height: 1.4;
	}
}

/* ============================================================
   8 · Laufschrift (Handoff 4.6)
   ============================================================ */

.roy-laufschrift {
	margin-top: auto;
	padding-block: 48px 32px;
	overflow: hidden;
	/* Seitliche Maske, damit die Einträge nicht hart abreißen. */
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.roy-laufschrift__bahn {
	display: flex;
	width: max-content;
	animation: roy-marquee var(--roy-laufschrift-dauer, 60s) linear infinite;
}

.roy-laufschrift__satz {
	display: flex;
	gap: 48px;
	padding-right: 48px;
}

.roy-laufschrift__eintrag {
	font-size: var(--fs-label);
	line-height: var(--lh-tight);
	color: var(--cream);
	white-space: nowrap;
}

.roy-laufschrift .roy-dot {
	color: var(--orange);
}

@keyframes roy-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.roy-laufschrift__bahn {
		animation: none;
	}
}

/* ============================================================
   9 · Footer (Handoff 4.6)
   ============================================================ */

.roy-footer {
	max-width: var(--content-max);
	margin-inline: auto;
	/* Abschnittswechsel zur letzten Sektion (Prototyp 15: 140) … */
	margin-top: var(--section-gap);
	padding-inline: var(--page-padding);
	box-sizing: border-box;
}

.roy-footer__panel {
	border-radius: 0 0 var(--radius) var(--radius);
	background: var(--navy);
	box-sizing: border-box;
	padding: 99px clamp(20px, 4.03vw, 61px) 83px clamp(20px, 4.43vw, 67px);
	display: flex;
	flex-flow: row wrap;
	gap: 40px;
	justify-content: space-between;
	align-items: flex-start;
}

.roy-footer__logo {
	flex: 0 1 386px;
	max-width: 386px;
}

.roy-footer__logo:hover {
	opacity: 0.85;
}

.roy-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.roy-footer__spalten {
	margin-top: 39px;
	/* Nicht 0 0 auto: der Container behielte sonst seine Inhaltsbreite von
	   712px und schöbe den Footer bis 768px hinunter aus dem Viewport.
	   1 1 auto mit min-width 0 lässt ihn schrumpfen, die Spalten brechen um. */
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-flow: row wrap;
	gap: 32px 61px;
	align-items: flex-start;
}

.roy-footer__spalte {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

/* Spaltenbreiten aus dem Prototyp. */
/* Basisbreiten aus dem Prototyp; 0 1 statt 0 0, damit sie auf schmalen
   Breiten nachgeben statt überzulaufen. */
.roy-footer__spalte--adresse { flex: 0 1 175px; min-width: 0; }
.roy-footer__spalte--zeiten  { flex: 0 1 245px; min-width: 0; }
.roy-footer__spalte--kontakt { flex: 0 1 170px; min-width: 0; }

.roy-footer__label {
	align-self: stretch;
	font-size: var(--fs-body);
	line-height: var(--lh-tight);
	text-box: trim-both cap alphabetic;
	color: var(--white);
}

.roy-footer__wert {
	align-self: stretch;
	font-size: var(--fs-label);
	line-height: var(--lh-body);
	color: var(--white);
	/* Die Öffnungszeiten stehen zweizeilig — Umbrüche aus den Einstellungen
	   sollen erhalten bleiben. */
	white-space: pre-wrap;
}

.roy-footer__wert a {
	color: inherit;
}

.roy-footer__wert a:hover {
	color: var(--orange);
}

/* Rechtszeile auf Cream, außerhalb des Navy-Panels. */
.roy-footer__zeile {
	margin-top: 24px;
	padding-bottom: 20px;
	display: flex;
	flex-flow: row wrap;
	gap: 8px 32px;
	justify-content: space-between;
	align-items: baseline;
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black);
}

.roy-footer__rechtslinks {
	display: flex;
	flex-flow: row wrap;
	gap: 8px 32px;
}

.roy-footer__rechtslinks a,
a.roy-footer__urheber,
.roy-cookie-link {
	color: var(--black);
	text-decoration: none;
}

.roy-footer__rechtslinks a:hover,
a.roy-footer__urheber:hover,
.roy-cookie-link:hover {
	color: var(--orange);
}

/* Der Cookie-Link muss ein Button sein, sieht aber aus wie die Nachbarlinks. */
.roy-cookie-link {
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	cursor: pointer;
}

/* ============================================================
   10 · Seitenkopf
   ============================================================ */

.roy-seitenkopf {
	max-width: var(--content-max);
	margin-inline: auto;
	padding: 33px var(--page-padding) 0;
	box-sizing: border-box;
}

/* Zieht die Bühne unter die Kopfleiste, wie im Prototyp. */
.roy-seitenkopf__buehne {
	margin-top: -33px;
	padding-inline: 6.25%;
	box-sizing: border-box;
}

.roy-seitenkopf__buehne > img,
.roy-seitenkopf__buehne > .roy-platzhalter {
	display: block;
	width: 100%;
	aspect-ratio: var(--roy-format, 1232/537);
	object-fit: cover;
	object-position: var(--roy-schnitt, center center);
	border-radius: var(--radius-hero);
}

.roy-seitenkopf__text {
	margin-top: clamp(44px, 5.09vw, 77px);
	max-width: 835px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 42px;
	align-items: center;
}

.roy-seitenkopf__label {
	align-self: stretch;
	text-align: center;
}

.roy-seitenkopf__titel {
	max-width: 753px;
	text-align: center;
	/* Der Zeilenumbruch der Überschrift ist Teil des Designs. */
	white-space: pre-line;
}

.roy-seitenkopf__einleitung {
	align-self: stretch;
	text-align: center;
}

/* Label und Überschrift stehen enger beieinander als der Abstand zum Text. */
.roy-seitenkopf__label + .roy-seitenkopf__titel {
	margin-top: -18px;
}

/* Platzhalter für fehlende Assets — sichtbar unfertig, nicht erfunden (§13). */
.roy-platzhalter {
	display: grid;
	place-items: center;
	background: rgb(0 0 0 / 0.04);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
	color: rgb(0 0 0 / 0.56); /* 0.5 ergab 3,88:1 auf der Fläche (§14) */
	font-size: var(--fs-data);
}

.roy-hinweis {
	padding: 12px 16px;
	background: rgb(228 104 51 / 0.1);
	box-shadow: inset 0 0 0 1px var(--orange);
	border-radius: var(--radius);
	color: var(--black);
	font-size: var(--fs-data);
}

/* ============================================================
   11 · Buttons (Handoff 4.3)
   ============================================================ */

.roy-btn {
	display: inline-flex;
	flex-direction: row;
	gap: 10px;
	padding: 14px 20px;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	font-weight: var(--fw-medium);
	font-size: var(--fs-data);
	line-height: var(--lh-tight);
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	/* Umrisse als inset-Schatten, damit die Kastenmaße stimmen (Handoff 4.4). */
	box-shadow: inset 0 0 0 1px currentColor;
}

/* Der Punkt steht in der Buttonfarbe — er erbt sie über currentColor. */
.roy-btn .roy-dot {
	color: currentColor;
}

.roy-btn--orange {
	background: var(--orange);
	color: var(--cream);
	box-shadow: inset 0 0 0 1px var(--orange);
}

.roy-btn--orange:hover {
	background: var(--orange-hover);
	box-shadow: inset 0 0 0 1px var(--orange-hover);
	color: var(--cream);
}

.roy-btn--hell {
	background: var(--cream);
	color: var(--orange);
	box-shadow: inset 0 0 0 1px var(--cream);
}

.roy-btn--hell:hover {
	background: rgb(255 252 247 / 0.85);
	color: var(--orange);
}

.roy-btn--umriss-hell {
	color: var(--cream);
	box-shadow: inset 0 0 0 1px var(--cream);
}

.roy-btn--umriss-hell:hover {
	background: rgb(255 252 247 / 0.12);
	color: var(--cream);
}

.roy-btn--umriss {
	color: var(--black);
	box-shadow: inset 0 0 0 1px var(--black);
}

.roy-btn--umriss:hover {
	background: rgb(0 0 0 / 0.06);
	color: var(--black);
}

/* Weiterführender Link „mehr erfahren ↗" */
.roy-mehr {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black);
	text-decoration: none;
}

.roy-mehr:hover {
	color: var(--orange);
}

/* ============================================================
   12 · Abschnitte
   ============================================================ */

.roy-sec {
	margin-top: var(--section-gap);
}

.roy-abschnitt {
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
}

/* Buttonreihe im Abschnitt: 16px Abstand zwischen den Buttons (Prototyp),
   auf schmalen Breiten umbrechend. */
.roy-abschnitt__button {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.roy-abschnitt--mitte {
	align-items: center;
	text-align: center;
}

/* Auf Mint, Navy und Orange kehrt sich die Schriftfarbe um; der Akzentpunkt
   steht dort in Cream statt Orange (Handoff 4.3). */
.roy-abschnitt--dunkel {
	color: var(--cream);
	--roy-dot-color: var(--cream);
}

.roy-abschnitt--dunkel .roy-abschnitt__titel,
.roy-abschnitt--dunkel .roy-abschnitt__text {
	color: var(--cream);
}

.roy-abschnitt__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 835px;
}

/* ============================================================
   13 · Kachelreihe und Prozessring (Handoff 4.6)
   ============================================================ */

.roy-kacheln {
	display: grid;
	/* Kachelreihen brechen ab 300px Kachelbreite um (Handoff 4.5). */
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: var(--grid-gap);
}

/* Feste Spaltenzahlen verhindern schiefe Umbrüche wie 5+1 (§9.5). */
.roy-kacheln--spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roy-kacheln--spalten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roy-kacheln--spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

@media (max-width: 700px) {
	.roy-kacheln,
	.roy-kacheln--spalten-2,
	.roy-kacheln--spalten-3,
	.roy-kacheln--spalten-4 { grid-template-columns: minmax(0, 1fr); }
}

.roy-kachel {
	min-height: var(--roy-kachel-hoehe, auto);
	border-radius: var(--radius);
	background: var(--roy-kachel-farbe, transparent);
	box-sizing: border-box;
	padding: 77px 24px 64px;
	display: flex;
	flex-direction: column;
	gap: 34px;
	align-items: center;
	color: var(--cream);
	--roy-dot-color: var(--cream);
}

/* Ohne Fläche steht der Text auf Cream und ist deshalb schwarz. */
.roy-kacheln--keine .roy-kachel {
	padding: 0;
	color: var(--black);
	--roy-dot-color: var(--orange);
}

/* Gefüllte Einzelkachel in flächenloser Reihe: helle Schrift, Kachel-Padding */
.roy-kacheln--keine .roy-kachel--gefuellt {
	color: var(--cream);
	padding: 56px 35px;
}

.roy-kachel__text {
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: center;
	align-self: stretch;
}

.roy-kachel__titel {
	align-self: stretch;
	text-align: center;
	color: inherit;
	text-decoration: none;
}

a.roy-kachel__titel:hover {
	opacity: 0.8;
	color: inherit;
}

.roy-kachel__absatz {
	text-align: center;
	color: inherit;
}

/* Prozessring: ring.svg als Grafik, Ziffer in Antic Didone zentriert. */
.roy-ring {
	position: relative;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.roy-ring--135 { width: var(--ring-lg); height: var(--ring-lg); }
.roy-ring--100 { width: var(--ring-sm); height: var(--ring-sm); }

.roy-ring__grafik {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.roy-ring__ziffer {
	position: relative;
	font-family: var(--font-display);
	line-height: var(--lh-tight);
	color: var(--cream);
}

.roy-ring--135 .roy-ring__ziffer { font-size: var(--fs-ring-lg); }
.roy-ring--100 .roy-ring__ziffer { font-size: var(--fs-ring-sm); }

/* ============================================================
   14 · Datenzeilen (Handoff 4.6)
   ============================================================ */

.roy-daten {
	width: 100%;
	max-width: 382px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}

/* Brechen um statt zu überlaufen (Handoff 4.5). */
.roy-daten__zeile {
	align-self: stretch;
	display: flex;
	flex-flow: row wrap;
	gap: 4px 24px;
	justify-content: space-between;
	align-items: center;
}

.roy-daten__label {
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black-50);
}

.roy-daten__wert {
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black);
	text-align: right;
}

.roy-daten__linie {
	align-self: stretch;
	height: 1px;
	background: var(--orange);
	flex-shrink: 0;
}

/* Mobil zweizeilig: Label oben, Wert darunter, dann die Linie — lange
   Werte („Zirkonzahn 5Tec (5-Achs-Fräse)") brachen sonst unkontrolliert
   (Kundenwunsch 14.08.2026, gilt für alle Datenzeilen). */
@media (max-width: 640px) {
	.roy-daten__zeile {
		flex-direction: column;
		gap: 2px;
		align-items: flex-start;
	}

	.roy-daten__wert {
		text-align: left;
	}

	/* Gestapelt fehlt die räumliche Trennung von Label und Wert — auf Navy
	   waren beide praktisch gleich hell (Weiß/Cream) und verschmolzen zu
	   einem Block (Kundenbefund 14.08.2026). 75 % Cream misst ~6:1 auf
	   Navy (WCAG 4,5:1); die Linien ziehen auf 35 % an. Der Desktop behält
	   das abgenommene volle Weiß — dort trennt die Position. */
	.roy-panel--navy .roy-daten__label {
		color: rgb(255 252 247 / 0.75) !important;
	}

	.roy-panel--navy .roy-daten__linie {
		background: rgb(255 252 247 / 0.35) !important; /* gegen die 0.2-Regel am Dateiende */
		opacity: 1 !important;
	}

}

/* Das versetzte Panel setzt die Datenzeilen am Desktop bündig rechts unter
   den Text an (gap: 0, Prototyp 12) — das trägt nur, solange der seitliche
   Versatz trennt. Unter 1100px überlappen Text- und Datenspalte horizontal
   und der Block klebte ohne Abstand am Text (Zwischenzonen-Befund 14.08.). */
@media (max-width: 1100px) {
	.roy-panel--versetzt > .brxe-bold-roy-datenzeilen {
		margin-top: 40px;
	}
}

/* ============================================================
   15 · Bild-Text-Block
   ============================================================ */

.roy-bildtext {
	display: flex;
	flex-flow: row wrap;
	gap: 32px 61px;
	align-items: flex-start;
}

.roy-bildtext__bild {
	flex: 1 1 460px;
	min-width: 0;
}

.roy-bildtext__bild img,
.roy-bildtext__bild .roy-platzhalter {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.roy-bildtext__spalte {
	flex: 1 1 460px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 34px;
	align-items: flex-start;
}

.roy-bildtext__kopf {
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
	align-self: stretch;
}

.roy-bildtext__titel {
	align-self: stretch;
	color: var(--black);
	text-decoration: none;
	white-space: pre-line;
}

a.roy-bildtext__titel:hover {
	color: var(--orange);
}

.roy-bildtext__text {
	width: 100%;
	max-width: 448px;
}

/* Bild rechts: Reihenfolge umkehren, ohne die DOM-Folge zu ändern. */
.roy-bildtext--rechts .roy-bildtext__bild { order: 2; }
.roy-bildtext--rechts .roy-bildtext__spalte { order: 1; }

/* Ab etwa 1150px liegt das Bild oben, der Text darunter (Handoff 4.5). */
@media (max-width: 1150px) {
	.roy-bildtext--rechts .roy-bildtext__bild,
	.roy-bildtext--rechts .roy-bildtext__spalte { order: 0; }
}

/* ============================================================
   16 · Conversion-Band (Handoff 4.6)
   ============================================================ */

.roy-cta {
	border-radius: var(--radius);
	box-sizing: border-box;
	padding: clamp(56px, 9.9vw, 150px) clamp(20px, 3.3vw, 50px) clamp(56px, 9.85vw, 149px);
	display: flex;
	justify-content: center;
}

/* Kompaktes Band (Kundenportal-Band der Kontaktseite, Prototyp 56/64) */
.roy-cta--kompakt { padding: clamp(24px, 3.7vw, 56px) clamp(20px, 4.23vw, 64px); }

.roy-cta--orange { background: var(--orange); }
.roy-cta--navy   { background: var(--navy); }
.roy-cta--mint   { background: var(--mint); }

/* Als Seitenabschluss oben abgerundet, unten bündig zum Footer. */
/* … außer die Seite endet mit dem Abschluss-Band: das dockt bündig an. */
body:has(.roy-cta--abschluss) .roy-footer { margin-top: 0; }

.roy-cta--abschluss {
	border-radius: var(--radius) var(--radius) 0 0;
}

.roy-cta__inner {
	width: 100%;
	max-width: 471px;
	display: flex;
	flex-direction: column;
	gap: 27px;
	align-items: center;
	text-align: center;
	color: var(--cream);
	--roy-dot-color: var(--cream);
}

.roy-cta__label {
	align-self: stretch;
	color: var(--white);
}

.roy-cta__block {
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: center;
	align-self: stretch;
}

.roy-cta__titel {
	width: 100%;
	max-width: 443px;
	color: var(--cream);
}

.roy-cta__text {
	align-self: stretch;
	color: var(--cream);
}

.roy-cta__buttons {
	display: flex;
	flex-flow: row wrap;
	gap: 17px;
	align-items: center;
	justify-content: center;
}

/* ============================================================
   17 · Team, FAQ, Jobs, News, Partner
   ============================================================ */

.roy-team {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: var(--grid-gap);
}

.roy-team--spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roy-team--spalten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roy-team--spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
	.roy-team--spalten-3,
	.roy-team--spalten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
	.roy-team,
	.roy-team--spalten-2,
	.roy-team--spalten-3,
	.roy-team--spalten-4 { grid-template-columns: minmax(0, 1fr); }
}

.roy-person {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.roy-person__bild img,
.roy-person__bild .roy-platzhalter {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius);
	margin-bottom: 6px;
}

.roy-person__funktion,
.roy-person__zusatz,
.roy-person__zustaendigkeit {
	color: var(--black);
}

.roy-person__zusatz,
.roy-person__zustaendigkeit {
	color: var(--black-50);
}

.roy-person__durchwahl,
.roy-person__email {
	color: var(--black);
	text-decoration: none;
}

.roy-person__durchwahl:hover,
.roy-person__email:hover {
	color: var(--orange);
}

/* FAQ: zwei Spalten (Handoff 4.6) */
/* FAQ nach Prototyp 08: spaltenweise (erste Hälfte links), Linie über jedem
   Eintrag, Frage 22px — kleiner als die Kartentitel-Rolle. */
.roy-faq {
	display: block;
	columns: 2;
	column-gap: 36px;
}

@media (max-width: 800px) {
	.roy-faq { columns: 1; }
}

.roy-faq__eintrag {
	display: flex;
	flex-direction: column;
	gap: 12px;
	break-inside: avoid;
	border-top: 1px solid rgb(0 0 0 / 0.15);
	padding-top: 20px;
	margin-bottom: 12px;
}

.roy-faq__frage {
	cursor: default;
	font-size: 22px;
	line-height: 1.3;
	text-box: none;
	margin-block: 0;
}

details.roy-faq__eintrag .roy-faq__frage {
	cursor: pointer;
	list-style: none;
}

details.roy-faq__eintrag .roy-faq__frage::-webkit-details-marker {
	display: none;
}

/* Jobs */
.roy-jobs {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.roy-job {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-block: 14px;
	box-shadow: inset 0 -1px 0 0 var(--orange);
}

.roy-job__kopf {
	display: flex;
	flex-flow: row wrap;
	gap: 4px 24px;
	justify-content: space-between;
	align-items: baseline;
}

.roy-job__status,
.roy-job__zusatz {
	color: var(--black-50);
}

/* News-Karten */
.roy-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
}

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

@media (max-width: 700px) {
	.roy-news { grid-template-columns: minmax(0, 1fr); }
}

.roy-newskarte {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--black);
	text-decoration: none;
}

.roy-newskarte:hover {
	color: var(--black);
}

.roy-newskarte:hover .roy-newskarte__titel {
	color: var(--orange);
}

.roy-newskarte__bild img,
.roy-newskarte__bild .roy-platzhalter {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

/* Hochformat-Beitragsbilder (Klasse setzt news.php): Anker im oberen
   Bilddrittel statt Mittelstreifen — sonst fehlen die Köpfe (19.11.2026). */
.roy-newskarte__bild--hoch img { object-position: 50% 22%; }

.roy-newskarte__meta {
	display: flex;
	flex-flow: row wrap;
	gap: 4px 18px;
	color: var(--black-50);
}

.roy-paginierung {
	margin-top: 42px;
	display: flex;
	flex-flow: row wrap;
	gap: 18px;
	align-items: center;
	font-size: var(--fs-data);
}

.roy-paginierung .page-numbers {
	color: var(--black);
	text-decoration: none;
}

.roy-paginierung .page-numbers.current {
	color: var(--orange);
}

/* Praxisverzeichnis */
.roy-partner {
	display: flex;
	flex-direction: column;
	gap: 34px;
	width: 100%;
}

.roy-partner__filter {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
}

.roy-chip {
	padding: 8px 16px;
	border-radius: 100px;
	font-size: var(--fs-data);
	line-height: var(--lh-tight);
	color: var(--black);
	text-decoration: none;
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.2);
}

.roy-chip:hover {
	color: var(--black);
	box-shadow: inset 0 0 0 1px var(--orange);
}

.roy-chip--aktiv {
	background: var(--orange);
	color: var(--cream);
	box-shadow: inset 0 0 0 1px var(--orange);
}

.roy-chip--aktiv:hover {
	color: var(--cream);
}

/* Tap-Target: am Telefon wachsen die Chips auf ~44px (Desktop bleibt 33px,
   so abgenommen). */
@media (max-width: 800px) {
	.roy-chip { padding-block: 13px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
}

/* Praxisverzeichnis als Zeilenliste (Prototyp 10): Name groß, Ort grau,
   Telefon, Website rechts — orange Linien, 22px-Rhythmus wie die Listen. */
.roy-partner__liste {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-top: 32px;
}

.roy-praxis {
	display: flex;
	flex-flow: row wrap;
	gap: 6px 32px;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid var(--orange);
	padding-top: 22px;
}

/* display:flex würde das hidden-Attribut des Ortsfilters überstimmen */
.roy-praxis[hidden] { display: none; }

/* Abschlusslinie am Container statt an der letzten Zeile — beim Filtern
   kann jede Zeile die letzte sichtbare sein. */
.roy-partner__liste::after {
	content: '';
	height: 1px;
	background: var(--orange);
}

.roy-praxis__name {
	flex: 0 1 480px;
	font-weight: var(--fw-light);
	white-space: nowrap;
}

.roy-praxis__ort {
	flex: 0 1 200px;
	color: var(--black-50);
	white-space: nowrap;
}

.roy-praxis__telefon { flex: 0 1 200px; white-space: nowrap; }

.roy-praxis__web {
	flex: 1;
	text-align: right;
	white-space: nowrap;
}

/* Schmale Breiten: Namen und Werte dürfen umbrechen, sonst läuft die
   Zeile über (Handoff 4.5: kein horizontales Scrollen). */
@media (max-width: 800px) {
	.roy-praxis__name,
	.roy-praxis__ort,
	.roy-praxis__telefon,
	.roy-praxis__web {
		white-space: normal;
		flex-basis: auto;
	}
}

.roy-praxis__telefon,
.roy-praxis__web {
	color: var(--black);
	text-decoration: none;
}

.roy-praxis__telefon:hover,
.roy-praxis__web:hover {
	color: var(--orange);
}

.roy-partner__hinweis {
	max-width: 835px;
}

/* ============================================================
   18 · Hero (Startseite)
   ============================================================ */

.roy-hero {
	max-width: var(--content-max);
	margin-inline: auto;
	padding: 33px var(--page-padding) 0;
	box-sizing: border-box;
}

/* Die Bühne schiebt sich unter die Kopfleiste — dort läuft das Video. */
.roy-hero__buehne {
	position: relative;
	margin-top: -33px;
	margin-inline: 6.25%;
	aspect-ratio: 1232 / 676;
	border-radius: var(--radius-hero);
	overflow: hidden;
}

.roy-hero__video,
.roy-hero__bild {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Logo-Überlagerung: Position und Maße prozentual aus dem Prototyp. */
.roy-hero__marke {
	position: absolute;
	left: 19.72%;
	top: 34.47%;
	width: 60.55%;
	aspect-ratio: 746 / 210;
}

.roy-hero__logo {
	position: absolute;
	left: 18.77%;
	top: 0;
	width: 70.38%;
	height: auto;
	display: block;
}

.roy-hero__seite {
	position: absolute;
	top: 20.5%;
	font-size: clamp(9px, 1.06vw, 16px);
	line-height: 1.1;
	color: var(--white);
	white-space: pre-line;
}

.roy-hero__seite--links {
	left: 0;
	width: 13.94%;
	text-align: right;
}

.roy-hero__seite--rechts {
	left: 95.44%;
	white-space: nowrap;
}

/* Merkmalsleiste am unteren Bühnenrand. Der Prototyp trennt die Einträge mit
   festen Leerzeichen; als Flex-Reihe mit gap bricht sie sauber um. */
.roy-hero__merkmale {
	position: absolute;
	left: 17.69%;
	right: 4%;
	top: 92.6%;
	display: flex;
	flex-flow: row wrap;
	gap: 4px clamp(16px, 3vw, 44px);
	justify-content: flex-end;
	font-size: clamp(9px, 1.06vw, 16px);
	line-height: 1.05;
	color: var(--white);
}

.roy-hero__merkmal {
	white-space: nowrap;
}

.roy-hero__merkmale .roy-dot {
	color: var(--orange);
}

/* Der Prototyp blendet die seitlichen Beschriftungen und die Merkmalsleiste
   auf schmalen Breiten aus, damit sie nicht ins Motiv rutschen. */
@media (max-width: 900px) {
	.roy-hero__merkmale { display: none; }
}

@media (max-width: 780px) {
	.roy-hero__seite { display: none; }

	/* Ohne die seitlichen Beschriftungen darf das Logo mittiger stehen. */
	.roy-hero__marke {
		left: 50%;
		transform: translateX(-50%);
		width: 72%;
	}
}

/* Unter 640px zeigt die Kopfleiste das Logo dauerhaft — das Logo-Overlay
   auf dem Video wäre doppelt (Kundenwunsch 13.08.2026). */
@media (max-width: 640px) {
	.roy-hero__marke { display: none; }
}

/* ============================================================
   19 · Zielgruppen-Karten (Handoff 4.6)
   ============================================================ */

.roy-zielgruppen__labels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 32px;
}

.roy-zielgruppen__label {
	white-space: nowrap;
	color: var(--black);
}

.roy-zielgruppen__karten {
	margin-top: 24px;
	display: flex;
	flex-flow: row wrap;
	gap: 32px;
	align-items: flex-start;
}

/* Sobald die Karten stapeln (Flex-Basis 460px + 32px Gap passen nicht mehr
   nebeneinander), gehört jedes Label ÜBER seine Karte statt gesammelt über
   die erste. Die beiden Wrapper lösen sich per display:contents auf, die
   Reihenfolge regelt order: Label 1 · Karte 1 · Label 2 · Karte 2. */
@media (max-width: 1040px) {
	.roy-zielgruppen {
		display: flex;
		flex-direction: column;
	}

	.roy-zielgruppen__labels,
	.roy-zielgruppen__karten {
		display: contents;
	}

	.roy-zielgruppen__label:nth-child(1) { order: 1; }
	.roy-zielgruppen__karten > :nth-child(1) { order: 2; margin-top: 24px; }
	.roy-zielgruppen__label:nth-child(2) { order: 3; margin-top: 48px; }
	.roy-zielgruppen__karten > :nth-child(2) { order: 4; margin-top: 24px; }

	/* Im Spalten-Flex würde die flex-basis von 460px zur HÖHE — die Karten
	   würden gestaucht und der Inhalt drückte ins Padding. */
	.roy-zielgruppen .roy-karte { flex: 0 0 auto; }
}

.roy-karte {
	flex: 1 1 460px;
	min-width: 0;
	border-radius: var(--radius);
	background: var(--roy-karte-farbe, var(--mint));
	min-height: 597px;
	box-sizing: border-box;
	padding: 51px clamp(20px, 12.04vw, 182px) 51px clamp(20px, 3.77vw, 57px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
}

.roy-karte__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	align-items: flex-start;
}

.roy-karte__block {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
	align-self: stretch;
}

.roy-karte__titel {
	max-width: 315px;
	color: var(--cream);
}

.roy-karte__text {
	align-self: stretch;
	color: var(--cream);
}

.roy-karte__buttons {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	align-items: center;
	--roy-dot-color: currentColor;
}

/* Der gefüllte Button trägt die Kartenfarbe als Schrift — deshalb reicht die
   Karte sie über --roy-karte-farbe durch. */
.roy-btn--karte {
	background: var(--cream);
	color: var(--roy-karte-farbe, var(--mint));
	box-shadow: inset 0 0 0 1px var(--cream);
}

.roy-btn--karte:hover {
	background: rgb(255 252 247 / 0.85);
	color: var(--roy-karte-farbe, var(--mint));
}

/* Auf schmalen Breiten nimmt der große rechte Innenabstand zu viel Platz. */
@media (max-width: 900px) {
	.roy-karte {
		padding-inline: clamp(20px, 5vw, 40px);
		min-height: 0;
	}
}

/* Seitenkopf: Buttons und dekorative Zahn-Grafik */
.roy-seitenkopf__buttons {
	display: flex;
	flex-flow: row wrap;
	gap: 17px;
	justify-content: center;
	align-items: center;
}

.roy-seitenkopf__text {
	position: relative;
}

/* Rein schmückend — liegt hinter dem Text und fängt keine Klicks ab. */
.roy-seitenkopf__zahn {
	position: absolute;
	left: 53%;
	top: 10px;
	width: min(165px, 14vw);
	height: auto;
	transform: scaleX(-1);
	pointer-events: none;
	z-index: -1;
}

/* Bild-Text-Block mit breitem Bild und schmaler Textspalte (Startseite,
   Abschnitt „Über uns"). */
.roy-bildtext--bildbreit {
	gap: 40px 69px;
}

/* Seit 26.10.2026 (Panorama-Teamfoto, Kundenwunsch): Bild über die volle
   Blockbreite in natürlicher Höhe, der Text folgt darunter. */
.roy-bildtext--bildbreit .roy-bildtext__bild {
	flex: 1 1 100%;
	max-width: none;
}

.roy-bildtext--bildbreit .roy-bildtext__bild img,
.roy-bildtext--bildbreit .roy-bildtext__bild .roy-platzhalter {
	aspect-ratio: auto;
}

.roy-bildtext--bildbreit .roy-bildtext__spalte {
	flex: 0 1 600px;
	max-width: 600px;
	gap: 12px;
}

@media (max-width: 1150px) {
	.roy-bildtext--bildbreit .roy-bildtext__spalte {
		margin-top: 0;
		max-width: none;
		flex: 1 1 100%;
	}
}

.roy-btn--umriss-orange {
	color: var(--orange);
	box-shadow: inset 0 0 0 1px var(--orange);
}

.roy-btn--umriss-orange:hover {
	background: rgb(228 104 51 / 0.08);
	color: var(--orange);
}

/* Sektionen der Startseite: Abstände aus dem Prototyp. */
.roy-sec--hero { margin-top: 0; }
.roy-sec--intro { margin-top: clamp(44px, 5.09vw, 77px); }
.roy-sec--zielgruppen { margin-top: clamp(68px, 9.79vw, 148px); }
/* Startseiten-Ausnahmen mit eindeutigen Klassennamen — 'technik' und 'ueber'
   heißen auf Unterseiten anders belegte Sektionen (Klassenkollision auf 05). */
.roy-sec--start-technik { margin-top: clamp(97px, 13.89vw, 210px); }
.roy-sec--start-ueber { margin-top: clamp(97px, 13.89vw, 210px); }
/* CTA-Abstand: siehe Abstandsregel weiter unten (einheitlich --section-gap) */

/* ============================================================
   20 · Sprungmarken, Zeitleiste, Bildreihen
   ============================================================ */

.roy-ankernav {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

/* Zeitleiste: linksbündig, Jahreszahl in Display-Größe (Handoff, Seite 02). */
.roy-kacheln--zeitleiste .roy-kachel {
	padding: 56px 32px;
	gap: var(--space-18);
	align-items: flex-start;
}

.roy-kacheln--zeitleiste .roy-kachel__text {
	align-items: flex-start;
	gap: var(--space-18);
}

.roy-kacheln--zeitleiste .roy-kachel__titel,
.roy-kacheln--zeitleiste .roy-kachel__absatz {
	text-align: left;
}

.roy-galerie {
	display: grid;
	gap: var(--grid-gap);
	align-items: center;
}

.roy-galerie--spalten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roy-galerie--spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.roy-galerie--spalten-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Kachelbreite steuert den Umbruch, nicht die Logogröße (§9.5). */
@media (max-width: 1100px) {
	.roy-galerie--spalten-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.roy-galerie--spalten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.roy-galerie--spalten-6,
	.roy-galerie--spalten-4,
	.roy-galerie--spalten-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Fotos am Telefon einspaltig — zwei Spalten à ~165px zeigen nichts mehr.
   Logos bleiben zweispaltig, die vertragen die kleine Fläche. */
@media (max-width: 520px) {
	.roy-galerie--bilder { grid-template-columns: minmax(0, 1fr); }
}

.roy-galerie__platz {
	display: flex;
	align-items: center;
	justify-content: center;
}

.roy-galerie--logos .roy-galerie__platz img {
	/* Einheitliche Box: jedes Logo zentriert in 72px Höhe — sonst wirken
	   breite Wortmarken riesig und hohe Signets winzig (26.10.2026). */
	width: 100%;
	height: 72px;
	object-fit: contain;
}

.roy-galerie--bilder .roy-galerie__platz img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
}

.roy-galerie__platz--leer {
	min-height: 72px;
}

.roy-galerie__platz--leer .roy-platzhalter {
	width: 100%;
	min-height: 72px;
	border-radius: var(--radius);
}

/* Abschnittsabstände Über uns */
.roy-sec--unternehmen,
.roy-sec--team,
.roy-sec--qualitaet,
.roy-sec--mitglieder,
.roy-sec--karriere,
.roy-sec--einblick { margin-top: var(--section-gap); }

.roy-block-abstand { margin-top: var(--space-heading); }
.roy-block-abstand-eng { margin-top: clamp(28px, 2.38vw, 36px); }

/* Eigenständiger Datenzeilen-Block */
.roy-datenblock--voll .roy-daten {
	max-width: none;
}

.roy-datenblock--zwei .roy-daten {
	max-width: none;
	/* Spaltenweise befüllt (erste Hälfte links, zweite rechts) — die
	   Prototypen gruppieren die Zeilen thematisch je Spalte. */
	display: block;
	columns: 2;
	column-gap: var(--grid-gap);
}

.roy-datenblock--zwei .roy-daten__zeile { break-inside: avoid; }

@media (max-width: 800px) {
	.roy-datenblock--zwei .roy-daten {
		columns: 1;
	}
}

/* Team-Porträts füllen ihre Spalte. Ohne align-self schrumpfen sie in der
   Flex-Spalte auf Inhaltsbreite — bei fehlendem Bild auf die Breite des
   Platzhaltertextes. */
.roy-person__bild {
	align-self: stretch;
	width: 100%;
}

/* Ansprechpartner (Kontaktseite): Querformat-Porträts 448×300,
   Name mit 30px Abstand unter dem Bild (Prototyp) */
.roy-team--quer .roy-person__bild img,
.roy-team--quer .roy-person__bild .roy-platzhalter {
	aspect-ratio: 448 / 300;
	margin-bottom: 18px; /* 30px bis zum Namen (12px Karten-Gap kommt dazu) */
}

/* Zweispaltig sind die Trennlinien eigene Grid-Elemente und rutschen dadurch
   in die falsche Spalte. Dort trägt die Zeile ihre Linie deshalb selbst —
   als inset-Schatten, damit die Kastenmaße stimmen (Handoff 4.4). */
.roy-datenblock--zwei .roy-daten__linie {
	display: none;
}

.roy-datenblock--zwei .roy-daten__zeile {
	/* Symmetrisch um die Linie (Prototyp: 9/8px) — nur padding-bottom
	   ließ den Text oben kleben (Kundenbefund 12.11.2026). */
	padding-block: 6px;
	box-shadow: inset 0 -1px 0 0 var(--orange);
}

/* Vor-Überschrift in Kacheln (Materialübersicht) */
.roy-kachel__label {
	align-self: stretch;
	text-align: center;
	color: inherit;
}

.roy-kacheln--zeitleiste .roy-kachel__label {
	text-align: left;
}

/* Abschnittsabstände Technologie */
.roy-sec--workflow,
.roy-sec--scanner,
.roy-sec--cadcam,
.roy-sec--drucker,
.roy-sec--materialien { margin-top: var(--section-gap); }

/* Aufzählung und Datenzeilen innerhalb einer Kachel */
.roy-kachel__punkte {
	align-self: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
	color: inherit;
}

.roy-kachel__punkte .roy-dot {
	color: currentColor;
}

/* Auf farbiger Fläche laufen die Linien in Cream statt Orange, sonst
   verschwinden sie im Untergrund. */
.roy-kachel__daten {
	align-self: stretch;
	max-width: none;
	text-align: left;
}

.roy-kachel__daten .roy-daten__label,
.roy-kachel__daten .roy-daten__wert {
	color: inherit;
}

.roy-kachel__daten .roy-daten__label {
	opacity: 0.7;
}

.roy-kachel__daten .roy-daten__linie {
	background: currentColor;
	opacity: 0.35;
}

/* Vergleichskarten und Prozesskacheln richten ihren Inhalt links aus. */
.roy-kacheln--vergleich .roy-kachel {
	align-items: flex-start;
	padding: 51px 32px;
}

.roy-kacheln--vergleich .roy-kachel__text {
	align-items: flex-start;
}

.roy-kacheln--vergleich .roy-kachel__titel,
.roy-kacheln--vergleich .roy-kachel__absatz,
.roy-kacheln--vergleich .roy-kachel__label {
	text-align: left;
}

/* Panel (Kosten auf Seite 08, Qualitätssicherung auf 13) */
.roy-panel {
	border-radius: var(--radius);
	box-sizing: border-box;
	padding: clamp(40px, 4.6vw, 70px) clamp(20px, 3.3vw, 50px);
	display: flex;
	flex-direction: column;
	gap: 34px;
}

.roy-panel--navy { background: var(--navy); color: var(--cream); }
.roy-panel--mint { background: var(--mint); color: var(--cream); }

.roy-panel .roy-daten__label,
.roy-panel .roy-daten__wert { color: var(--cream); }
.roy-panel .roy-daten__label { opacity: 0.7; }
.roy-panel .roy-daten__linie { background: currentColor; opacity: 0.35; }

.roy-sec--kosten { margin-top: var(--section-gap); }

/* ============================================================
   21 · Tabellen (Leistungsspektrum, Maschinenpark, Checkliste)
   ============================================================ */

.roy-tabelle {
	width: 100%;
	overflow-x: auto;
}

.roy-tabelle__tabelle {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.roy-tabelle__tabelle th {
	font-weight: var(--fw-medium);
	color: var(--black-50);
	padding: 0 24px 12px 0;
}

.roy-tabelle__tabelle td {
	padding: 18px 24px 18px 0;
	vertical-align: top;
	color: var(--black);
	box-shadow: inset 0 -1px 0 0 var(--orange);
}

/* Feste Spaltenbreiten aus dem Handoff; die letzte Spalte nimmt den Rest. */
.roy-tabelle__tabelle td:first-child,
.roy-tabelle__tabelle th:first-child { width: var(--roy-sp1, auto); }

.roy-tabelle__tabelle td:nth-child(2),
.roy-tabelle__tabelle th:nth-child(2) { width: var(--roy-sp2, auto); }

.roy-tabelle__tabelle td:last-child { padding-right: 0; }

/* Auf schmalen Breiten gestapelt statt gequetscht (Handoff 4.5). */
@media (max-width: 800px) {
	.roy-tabelle__tabelle,
	.roy-tabelle__tabelle tbody,
	.roy-tabelle__tabelle tr,
	.roy-tabelle__tabelle td { display: block; width: auto; }

	.roy-tabelle__tabelle thead { display: none; }

	.roy-tabelle__tabelle tr {
		padding-block: 18px;
		box-shadow: inset 0 -1px 0 0 var(--orange);
	}

	.roy-tabelle__tabelle td {
		padding: 0 0 6px;
		box-shadow: none;
	}

	/* Die Spaltenüberschrift wandert vor den Wert. */
	.roy-tabelle__tabelle td[data-label]:not([data-label=""])::before {
		content: attr(data-label) ": ";
		color: var(--black-50);
	}
}

/* ============================================================
   22 · Formular-Panel, Karte, News-Artikel
   ============================================================ */

.roy-formular {
	width: 100%; /* §4.1: Bricks-Block richtet Kinder auf flex-start aus */
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
	box-sizing: border-box;
	padding: 90px clamp(20px, 3.3vw, 50px);
	min-height: var(--roy-formular-hoehe, auto);
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
}

.roy-formular__feld { margin-top: 16px; }

.roy-formular__kalender {
	width: 100%;
	min-height: 620px;
	border: 0;
	border-radius: var(--radius);
}

.roy-formular__platzhalter { min-height: 320px; border-radius: var(--radius); }

/* Ohne Kalender-URL trägt die Hinweis-Box die Optik selbst — kein Panel */
.roy-formular--schlicht {
	background: none;
	box-shadow: none;
	padding: 0;
	min-height: 0;
}

/* Kalender-Lücke (Prototyp 15): schlanke, gerahmte Box */
.roy-formular__kalenderhinweis {
	border-radius: var(--radius);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
	padding: 32px clamp(20px, 3vw, 44px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.roy-formular__kalendertitel {
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
}

.roy-formular__kalenderhinweis .roy-data { color: var(--black-50); max-width: 520px; }

.roy-formular__hinweis { color: var(--black-50); margin-top: var(--space-18); }

/* WPForms: eigene Optik, Plugin-Basisstyles zurücknehmen (§8.3).
   Hier ist !important die dokumentierte Ausnahme — WPForms-CSS gewinnt sonst
   je nach Ladereihenfolge. */
.roy-formular .wpforms-container { margin: 0 !important; }
.roy-formular .wpforms-field-layout-columns { margin: 0 !important; }
.roy-formular .wpforms-label-hide { display: none !important; }

.roy-formular .wpforms-field { padding: 0 0 18px; }

.roy-formular .wpforms-field-label {
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	font-weight: var(--fw-regular);
	color: var(--black-50);
}

.roy-formular input[type='text'],
.roy-formular input[type='email'],
.roy-formular input[type='tel'],
.roy-formular textarea,
.roy-formular select {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 0;
	border-radius: var(--radius);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.2);
	background: var(--white);
	font-family: inherit;
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black);
}

.roy-formular button[type='submit'],
.roy-formular .wpforms-submit {
	display: inline-flex;
	gap: 10px;
	padding: 14px 20px;
	border: 0;
	border-radius: 0;
	/* !important: WPForms' modernes Markup setzt eigene Button-Farben (§8.3) */
	background: var(--orange) !important;
	box-shadow: inset 0 0 0 1px var(--orange);
	color: var(--cream) !important;
	font-family: inherit;
	font-weight: var(--fw-medium);
	font-size: var(--fs-data);
	/* line-height explizit — sonst schlägt Bricks' 1.7 durch (§9.3). */
	line-height: var(--lh-tight);
	cursor: pointer;
}

.roy-formular .wpforms-submit:hover { background: var(--orange-hover); }

/* ── Datenschutz-Checkbox (alle drei Formulare, 19.11.2026) ─────────────
   WPForms rendert Checkbox-Choices als Liste — Marker weg, Box und Text
   nebeneinander; der Hinweis mit Link steht als field-description darunter. */
.roy-formular .wpforms-field-checkbox { grid-column: 1 / -1; }

.roy-formular .wpforms-field-checkbox ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.roy-formular .wpforms-field-checkbox li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
}

.roy-formular .wpforms-field-checkbox input[type='checkbox'] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--orange);
}

.roy-formular .wpforms-field-checkbox li label {
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black);
}

.roy-formular .wpforms-field-checkbox .wpforms-field-description {
	margin-top: 8px;
	padding-left: 30px; /* fluchtet mit dem Text neben der 18px-Box */
	font-size: var(--fs-data);
	line-height: var(--lh-body);
	color: var(--black-50);
}

.roy-formular .wpforms-field-checkbox .wpforms-field-description a { color: var(--orange-hover); }

/* Auf Navy: Texte in Cream; der Link ebenfalls — Orange erreicht auf Navy
   keine 4,5:1 (gleiche Regel wie bei den Footer-Links). */
.roy-formular--navy .wpforms-field-checkbox li label { color: var(--cream); }

.roy-formular--navy .wpforms-field-checkbox .wpforms-field-description {
	color: rgb(255 252 247 / 0.75);
}

.roy-formular--navy .wpforms-field-checkbox .wpforms-field-description a {
	color: var(--cream);
	text-decoration: underline;
}

/* Karte mit Zustimmung */
.roy-karte-consent__box {
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
	justify-content: center;
	min-height: 320px;
	padding: clamp(24px, 3vw, 44px);
	border-radius: var(--radius);
	background: rgb(0 0 0 / 0.04);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
}

.roy-karte-consent__karte {
	width: 100%;
	min-height: 420px;
	border: 0;
	border-radius: var(--radius);
}

/* ── Kontaktseite (19) ──────────────────────────────────────────────────── */

/* Die Kontaktdaten-Kacheln gehören zum Seitenkopf: kleiner Abstand
   (Prototyp: space-heading statt section-gap). */
.roy-sec--kontaktdaten { margin-top: var(--space-heading); }

/* Sektion, die eng an den Seitenkopf anschließt (einige Prototypen — z. B.
   Hightech-Labor — führen die erste Sektion mit 64 statt 140). */
.roy-sec--eng { margin-top: var(--space-heading); }

.roy-kontaktkacheln {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 32px;
}

.roy-kontaktkacheln__kachel {
	border-radius: var(--radius);
	padding: 56px clamp(20px, 2.31vw, 35px);
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	color: var(--cream);
}

.roy-kontaktkacheln__titel {
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
	font-weight: var(--fw-regular);
	color: var(--cream);
}

.roy-kontaktkacheln__text { color: var(--cream); }
.roy-kontaktkacheln__text a { color: inherit; text-decoration: none; }
.roy-kontaktkacheln__text a:hover { text-decoration: underline; }

/* Formular auf Navy — Rollenweiche der Kontaktseite */
.roy-formular--navy {
	background: var(--navy);
	box-shadow: none;
	padding: 58px clamp(20px, 5.09vw, 77px);
}

.roy-formular--navy .roy-formular__titel { color: var(--cream); }
.roy-formular--navy .roy-formular__label { color: var(--cream); }

/* Felder zweispaltig wie im Prototyp; Rollenweiche und Nachricht volle Breite */
.roy-formular--navy .wpforms-form .wpforms-field-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 32px;
}

.roy-formular--navy .wpforms-field-radio,
.roy-formular--navy .wpforms-field-textarea { grid-column: 1 / -1; }

/* !important: WPForms setzt die Labelfarbe nach dem Theme (§8.3) */
.roy-formular--navy .wpforms-field-label { color: rgb(255 252 247 / 0.75) !important; }

/* !important: WPForms' Feldstyles laden nach dem Theme (§8.3) */
.roy-formular--navy input[type='text'],
.roy-formular--navy input[type='email'],
.roy-formular--navy input[type='tel'],
.roy-formular--navy textarea,
.roy-formular--navy select {
	background: transparent !important;
	border-radius: 0 !important;
	border: 0 !important;
	box-shadow: inset 0 0 0 1px rgb(255 252 247 / 0.35) !important;
	color: var(--cream) !important;
}

/* Pflicht-Sternchen zeigt das Design nicht */
.roy-formular--navy .wpforms-required-label { display: none; }

.roy-formular--navy ::placeholder { color: rgb(255 252 247 / 0.35) !important; }

/* Nachrichtenfeld: Prototyp 96px hoch (!important gegen WPForms, §8.3) */
.roy-formular--navy textarea { height: 96px !important; min-height: 96px !important; }

/* Rollenweiche: Radio-Auswahl als Buttonreihe (Design), Inputs bleiben
   fokussierbar — nur visuell versteckt. */
.roy-formular--navy .wpforms-field-radio { padding: 25px 0 36px; }

/* Das Feld-Label ist hier eine <legend> im fieldset — die Panel-Überschrift
   „Worum geht es?" übernimmt seine Aufgabe sichtbar. */
.roy-formular--navy .wpforms-field-radio .wpforms-field-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.roy-formular--navy .wpforms-field-radio fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.roy-formular--navy .wpforms-field-radio ul {
	list-style: none;
	margin: 0;
	padding: 0;
	/* WPForms stellt die Liste als Grid — Buttonreihe braucht Flex (§8.3) */
	display: flex !important;
	flex-wrap: wrap;
	gap: 16px !important;
	align-items: center;
}

/* WPForms gibt den Listenpunkten width:100% — hier bestimmt der Inhalt */
.roy-formular--navy .wpforms-field-radio li {
	margin: 0;
	padding: 0;
	width: auto;
	flex: 0 0 auto;
}

.roy-formular--navy .wpforms-field-radio li input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none;
}

.roy-formular--navy .wpforms-field-radio li label {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px 20px;
	box-shadow: inset 0 0 0 1px rgb(255 252 247 / 0.35);
	color: var(--cream);
	font-size: var(--fs-data);
	font-weight: var(--fw-medium);
	line-height: var(--lh-tight);
	white-space: nowrap;
	cursor: pointer;
}

.roy-formular--navy .wpforms-field-radio li label:hover {
	box-shadow: inset 0 0 0 1px var(--cream);
}

.roy-formular--navy .wpforms-field-radio li input:focus-visible + label {
	outline: 2px solid var(--cream);
	outline-offset: 2px;
}

.roy-formular--navy .wpforms-field-radio li label::before {
	content: '●';
	font-size: 1.5em;
	line-height: 0;
	display: none;
}

.roy-formular--navy .wpforms-field-radio li input:checked + label {
	background: var(--orange);
	box-shadow: inset 0 0 0 1px var(--orange);
}

.roy-formular--navy .wpforms-field-radio li input:checked + label::before { display: inline; }

/* Absenden: heller Button mit orangem Punkt, Hinweistext daneben (Float —
   das Formular ist kein eigener Formatierungskontext, der Text umfließt). */
.roy-formular--navy .wpforms-submit-container {
	float: left;
	margin: 0 24px 0 0;
	padding: 0;
}

.roy-formular--navy button[type='submit'],
.roy-formular--navy .wpforms-submit {
	background: var(--cream) !important;
	box-shadow: inset 0 0 0 1px var(--cream);
	color: var(--black) !important;
	align-items: center;
	min-height: 45px; /* Buttonhöhe der übrigen Site */
}

.roy-formular--navy .wpforms-submit:hover { background: rgb(255 252 247 / 0.85) !important; }

/* Der Punkt erbt die Textfarbe des hellen Buttons (Prototypen 15 und 19) */
.roy-formular--navy .wpforms-submit::before {
	content: '●';
	font-size: 1.5em;
	line-height: 0;
	color: var(--navy);
}

.roy-formular--navy .roy-formular__hinweis {
	color: rgb(255 252 247 / 0.75);
	max-width: 560px;
	margin-top: 0;
	/* Als Flex-Block weicht der Hinweis dem umflossenen Button als Ganzes aus
	   und steht vertikal mittig zu ihm (Prototyp: align-items:center). Die
	   10px gleichen den Versatz zwischen Textfluss und Float-Position aus. */
	display: flex;
	align-items: center;
	min-height: 45px;
	margin-top: 10px;
}

.roy-formular--navy .roy-formular__feld::after {
	content: '';
	display: block;
	clear: both;
}

/* Mobil: ein Feld je Zeile, Button volle Breite, Hinweis darunter. */
@media (max-width: 700px) {
	.roy-formular--navy .wpforms-form .wpforms-field-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.roy-formular--navy .wpforms-submit-container {
		float: none;
		margin: 0;
	}

	.roy-formular--navy button[type='submit'],
	.roy-formular--navy .wpforms-submit {
		width: 100%;
		justify-content: center;
	}

	.roy-formular--navy .roy-formular__hinweis {
		min-height: 0;
		margin-top: 18px;
	}
}

/* Nachgestellte Randnotiz unter einem Kachelblock (Prototyp 12: Fahrdienst)
   und größerer Querverweis am Sektionsende (Prototyp 12: Technologie). */
.roy-anschluss-notiz { margin-top: clamp(32px, 2.65vw, 40px); max-width: 900px; }
.roy-anschluss-verweis { margin-top: var(--section-gap); max-width: 900px; }
/* Merksatz unter einem Kachelblock (Prototyp 08: 110) */
.roy-anschluss-satz { margin-top: clamp(51px, 7.28vw, 110px); max-width: 900px; }

/* Bestätigungsseite: Ohne Formulardaten aus der Weiterleitung bleibt die
   komplette Zusammenfassungs-Sektion unsichtbar (das Element rendert dann
   nichts, der Abschnittskopf verschwindet mit). */
.roy-sec--zusammenfassung:not(:has(.roy-zusammenfassung--gefuellt)) { display: none; }

/* Anfahrt: Karte links, Datenzeilen und DSGVO-Hinweis rechts */
.roy-anfahrt {
	margin-top: var(--space-heading);
	display: flex;
	flex-flow: row wrap;
	gap: 32px 69px;
	align-items: flex-start;
}

.roy-anfahrt > .brxe-bold-roy-karte {
	flex: 1 1 460px;
	min-width: 0;
	width: auto;
}

.roy-anfahrt .roy-karte-consent__box {
	aspect-ratio: 891 / 450;
	min-height: 0;
}

.roy-anfahrt__info {
	flex: 1 1 448px;
	min-width: 0;
	width: auto;
}

.roy-anfahrt__info .roy-abschnitt { margin-top: 24px; }
.roy-anfahrt__info .roy-abschnitt .roy-body { max-width: 448px; }

/* News-Artikel */
/* Artikel: Kopf und Inhalt in der 688px-Spalte (Prototyp 18), das
   Beitragsbild bricht auf volle Inhaltsbreite aus. */
/* Kopf unter der fixen Kopfleiste wie bei den bildlosen Seitenköpfen */
.roy-sec--artikel { margin-top: calc(33px + clamp(68px, 9.72vw, 147px)); }

.roy-artikel {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.roy-artikel__kopf,
.roy-artikel__inhalt {
	width: 100%;
	max-width: 688px;
	margin-inline: auto;
	box-sizing: border-box;
}

.roy-artikel__kopf { display: flex; flex-direction: column; gap: 24px; }
.roy-artikel__meta { display: flex; gap: 16px; color: var(--black-50); }
.roy-artikel__kategorie { color: var(--orange); }

/* Lead: Der erste Absatz des Artikels ist eine Stufe größer (Prototyp: 22px) */
.roy-artikel__inhalt > .roy-baustein--text:first-child > .roy-body:first-of-type {
	font-size: 22px;
}

/* Beitragsbild: vollbreit, bewusst flacher als die 560px des Prototyps
   (Kundenwunsch 13.08.2026 — „nimmt zu viel Platz weg"). */
.roy-artikel__bild {
	/* Kundenwunsch 13.08.2026: flacher und schmaler als der vollbreite
	   1408/560-Prototyp — 10 Rasterspalten (1168px), zentriert. */
	width: 100%;
	max-width: 1168px;
	margin-inline: auto;
	aspect-ratio: 1168 / 400;
	overflow: hidden;
	border-radius: var(--radius);
	/* Kopf→Bild und Bild→Inhalt: Abschnittswechsel-Rhythmus (140/64) */
	margin-top: calc(clamp(64px, 9.26vw, 140px) - 32px);
	margin-bottom: calc(var(--space-heading) - 32px);
}

.roy-artikel__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
}

/* Hochformat-Beitragsbild (Klasse setzt artikel.php): Anker im oberen
   Bilddrittel statt Mittelstreifen — sonst fehlen die Köpfe (19.11.2026). */
.roy-artikel__bild--hoch img { object-position: 50% 22%; }

.roy-artikel__inhalt { display: flex; flex-direction: column; gap: 32px; }
.roy-baustein { display: flex; flex-direction: column; gap: 32px; }

/* Zwischentitel im Artikel: Kartengröße, mit Vorlauf (48 statt 32 davor) */
.roy-baustein > h2 {
	font-size: var(--fs-card);
	margin-top: 16px;
}

.roy-baustein--bild-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--grid-gap); }

/* Eine Unterschrift je Spalte — eine einzelne läuft über beide */
/* Jede figure trägt Bild + eigene Unterschrift (W3C-Umbau 12.11.2026). */
.roy-baustein--bild figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }

/* Artikelbilder im festen Format (Prototyp: einspaltig 400px, Paar 240px) */
.roy-baustein--bild img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.roy-baustein--bild-eins img { height: 400px; }
.roy-baustein--bild-zwei img { height: 240px; }

/* Hochformat-Fotos (Klasse setzt artikel.php anhand der Bildmaße): höhere
   Kachel plus Anker im oberen Drittel — die Prototyp-Querformate schnitten
   bei Hochkant-Fotos die Köpfe ab (Kundenbefund 19.11.2026). Das Paarfenster
   328×400 liegt nahe am 3:4-Foto, es geht kaum etwas verloren. */
.roy-baustein--bild-zwei .roy-baustein__bildfigur--hoch img { height: 400px; object-position: 50% 25%; }
.roy-baustein--bild-eins .roy-baustein__bildfigur--hoch img { height: 500px; object-position: 50% 25%; }

/* Zitat in Antic Didone mit orangem Balken (Prototyp 18).
   Doppelte Klasse schlägt den blockquote-Reset von .roy-page. */
.roy-artikel .roy-baustein--zitat { padding-left: 32px; box-shadow: inset 3px 0 0 0 var(--orange); }

.roy-baustein--zitat p {
	font-family: var(--font-display);
	font-weight: var(--fw-regular);
	font-size: var(--fs-section);
	line-height: 1.3;
	text-box: none;
	margin-block: 0;
}
.roy-baustein--video iframe,
.roy-baustein--video video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* Sichtbare Video-Lücke, solange die URL aussteht (Prototyp: 387px) */
.roy-baustein__videoluecke { height: 387px; border-radius: var(--radius); display: grid; place-items: center; }

/* Datenzeilen im Artikel füllen die Spalte (kein 382px-Standardmaß) */
.roy-baustein--daten .roy-daten { max-width: none; }

.roy-artikel__punkte {
	margin: 0; padding: 0; list-style: none;
	display: flex; flex-direction: column; gap: 12px;
}

.roy-artikel__punkte li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

/* Aufzählungspunkt in Textgröße — nicht der 1,5-fache Akzentpunkt der
   Labels (Prototyp 18: 18px). */
.roy-artikel__punkte .roy-dot {
	font-size: 1em;
	line-height: inherit;
	flex-shrink: 0;
}

@media (max-width: 700px) {
	.roy-baustein--bild-zwei { grid-template-columns: minmax(0, 1fr); }
	.roy-formular { padding: 44px clamp(20px, 5vw, 32px); }
}

/* ── Korrektur: Startseite blendet nur Balken und Logo ein ──────────────────
   „Menü" und „Kontakt" bleiben von Anfang an sichtbar und klickbar, weil sie
   im Design über dem Video stehen. Nicht die ganze Leiste ausblenden, sonst
   sind auch die Links weg. */
.roy-kopf--einblenden {
	/* Die Leiste selbst bleibt bedienbar; nur ihre Fläche verschwindet. */
	opacity: 1;
	pointer-events: none;
	background: transparent;
	transition: background 0.35s ease;
}

.roy-kopf--einblenden .roy-kopf__menue,
.roy-kopf--einblenden .roy-kopf__kontakt {
	pointer-events: auto;
}

/* Das Logo gehört zum Balken und kommt mit ihm. */
.roy-kopf--einblenden .roy-kopf__logo {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.roy-kopf--einblenden.roy-kopf--sichtbar {
	background: rgb(255 252 247 / 0.8);
}

.roy-kopf--einblenden.roy-kopf--sichtbar .roy-kopf__logo {
	opacity: 1;
	pointer-events: auto;
}

/* Über dem Video stehen die beiden Links in Weiß, sonst sind sie unlesbar. */
.roy-kopf--einblenden:not(.roy-kopf--sichtbar) .roy-kopf__menue,
.roy-kopf--einblenden:not(.roy-kopf--sichtbar) .roy-kopf__kontakt {
	color: var(--black);
}

/* ── Korrektur: Seitenkopf linksbündig ─────────────────────────────────────
   Der Technologie-Anriss der Startseite steht im Design linksbündig, nicht
   zentriert. */
.roy-seitenkopf--links .roy-seitenkopf__text {
	align-items: flex-start;
	max-width: 867px;
	margin-inline: 0;
	gap: 28px;
}

.roy-seitenkopf--links .roy-seitenkopf__label,
.roy-seitenkopf--links .roy-seitenkopf__titel,
.roy-seitenkopf--links .roy-seitenkopf__einleitung {
	text-align: left;
	max-width: 825px;
}

.roy-seitenkopf--links .roy-seitenkopf__buttons {
	justify-content: flex-start;
}

/* Die linksbündige Variante wird INNERHALB eines .roy-inner eingesetzt, der
   den Seitenrand bereits mitbringt. Ohne diese Zurücknahme addieren sich beide
   Innenabstände und der Text steht 104px statt 52px vom Rand. */
.roy-seitenkopf--links {
	max-width: none;
	padding: 0;
}

/* ── Korrektur: Abstand Label → Überschrift ────────────────────────────────
   Das Design setzt zwischen Vor-Überschrift und Überschrift 24px. Der frühere
   negative Margin zog beide auf 10px zusammen. Der größere Abstand zu den
   Buttons (28px) kommt separat dazu. */
.roy-seitenkopf--links .roy-seitenkopf__text {
	gap: 24px;
}

.roy-seitenkopf--links .roy-seitenkopf__label + .roy-seitenkopf__titel {
	margin-top: 0;
}

.roy-seitenkopf--links .roy-seitenkopf__buttons {
	margin-top: 4px;
}

/* ── Korrektur: Zahn-Grafik auf voller Inhaltsbreite ───────────────────────
   Bezugsrahmen ist der Seitenkopf selbst (1408px), nicht die 867px breite
   Textspalte — sonst rutscht die Grafik in den Text. */
.roy-seitenkopf--links {
	position: relative;
}

.roy-seitenkopf--links .roy-seitenkopf__zahn {
	position: absolute;
	left: 53%;
	top: 10px;
	width: min(165px, 14vw);
	height: auto;
	transform: scaleX(-1);
	pointer-events: none;
	z-index: -1;
}

/* Ohne Hero-Bild trägt die Sektion den Abstand allein. */
.roy-seitenkopf--ohne-bild {
	padding-top: 0;
}

/* Schmal hängt die Deko-Grafik mitten im Textblock — weg damit. */
@media (max-width: 900px) {
	.roy-seitenkopf__zahn { display: none; }
}

/* Mobil ein höherer Bildausschnitt — die flache Desktop-Ratio schrumpft
   auf ~168px (Kundenwunsch 13.08.2026: 4:3 unter 640px). Die Bühne rückt
   dabei UNTER die Kopfleiste (Kundenwunsch: am Desktop verschwinden die
   obersten 83px in der hohen Bühne, mobil verdeckten sie ein Drittel des
   Bildes und die Navigation stand auf dem Motiv). */
@media (max-width: 640px) {
	.roy-seitenkopf__buehne > img,
	.roy-seitenkopf__buehne > .roy-platzhalter,
	.roy-hero__buehne {
		aspect-ratio: 4 / 3;
	}

	.roy-seitenkopf__buehne,
	.roy-hero__buehne {
		margin-top: 50px; /* -33px Desktop-Überlappung + 83px Leiste */
	}

	/* Ohne Video hinter der Leiste braucht die Startseite das Einblenden
	   nicht: Fläche und Logo stehen mobil von Anfang an (Kundenwunsch
	   13.08.2026 — nur mobil, am Desktop bleibt das Scroll-Einblenden). */
	.roy-kopf--einblenden {
		background: rgb(255 252 247 / 0.8);
	}

	.roy-kopf--einblenden .roy-kopf__logo {
		opacity: 1;
		pointer-events: auto;
	}
}

.roy-seitenkopf--ohne-bild .roy-seitenkopf__buehne {
	display: none;
}

.roy-seitenkopf--ohne-bild .roy-seitenkopf__text {
	margin-top: 0;
}

/* ── Korrektur: Merkmalsleiste im Hero ─────────────────────────────────────
   Der Prototyp gibt dem Block eine BREITE von 62.58% ab left:17.69% — er endet
   also bei 80.27% und sitzt damit nahezu mittig unter dem Logo. Mit right:4%
   reichte er bis an den Bildrand und die Einträge klebten außen rechts. */
.roy-hero__merkmale {
	right: auto;
	width: 62.58%;
	justify-content: space-between;
}

/* Abstandsregel (13.08.2026): Abschnittswechsel einheitlich über
   --section-gap = clamp(64px, 9.26vw, 140px). Das Conversion-Band folgt der
   Regel — nur die Startseite setzt ihre eigenen, größeren Abstände. */
.roy-sec--cta {
	margin-top: var(--section-gap);
}

/* Der 276px-CTA-Abstand des Startseiten-Prototyps entfiel auf Kundenwunsch
   (13.08.2026) — das Band folgt dem Standard-Abschnittswechsel. */

/* ── Korrektur: Merkmalsleiste — eine Zeile, alle fünf lesbar ──────────────
   Der Prototyp setzt eine einzige Zeile mit white-space:pre und
   overflow:hidden; mit flex-wrap:wrap rutschte der letzte Eintrag in eine
   zweite Zeile.

   ABWEICHUNG vom Prototyp, bewusst: Dort ist der Text bei 1512px 807px breit
   und läuft aus der 771px-Box heraus — „Persönliche Betreuung" wäre
   angeschnitten. Im freigegebenen Design sind alle fünf vollständig lesbar.
   Der Trennabstand ist deshalb so bemessen, dass alle hineinpassen
   (615px Text + 4 x 38px = 767px in 771px). */
.roy-hero__merkmale {
	flex-wrap: nowrap;
	overflow: hidden;
	gap: 4px clamp(8px, 2vw, 34px);
}

/* ── Korrektur: Menü-Overlay nach dem freigegebenen Design ─────────────────
   Trennlinie unter JEDEM Eintrag (auch unter Hauptpunkten ohne Unterpunkte),
   Akzentpunkte über die CSS-Klasse des Menüpunkts, Social-Gruppe unten rechts. */

/* Hauptpunkte tragen ihre Linie jetzt selbst — der frühere Spalten-gap von
   26px entfiel dadurch zwischen Punkt und Linie. */
.roy-menue__spalte {
	gap: 0;
}

.roy-menue__haupt {
	line-height: 1.35;
	/* Kundenwunsch 13.08.: eine Stufe kleiner (−10 %), enger an der Linie */
	font-size: clamp(30px, 2.86vw, 43px);
	padding-bottom: 12px;
	/* Hover nur über dem Wort, nicht über der ganzen Zeile */
	align-self: flex-start;
}

.roy-menue__haupt .roy-dot {
	font-size: 0.55em;
	vertical-align: middle;
	line-height: 1;
}

/* Hervorgehobener Eintrag („Zum Kundenportal") in Orange. */
.roy-menue__haupt--hervor,
.roy-menue__unterpunkt--hervor {
	color: var(--orange);
}

.roy-menue__haupt--hervor:hover,
.roy-menue__unterpunkt--hervor:hover {
	color: var(--orange-hover);
}

/* Active-State: die offene Seite (und ihr Bereich) steht in Orange. */
.roy-menue__haupt--aktiv,
.roy-menue__unterpunkt--aktiv {
	color: var(--orange);
}

.roy-menue__unterpunkt--aktiv:hover {
	color: var(--orange);
	opacity: 0.85;
}

/* Abstand nach der Linie zum nächsten Block. */
.roy-menue__spalte > .roy-menue__linie {
	margin-bottom: 22px;
}

/* Der letzte Block einer Spalte braucht keinen Nachlauf. */
.roy-menue__spalte > .roy-menue__unter:last-child { margin-bottom: 0; }

/* Nach dem letzten Unterpunkt deutlich absetzen, bevor der nächste
   Hauptpunkt beginnt (Kundenwunsch 13.08.). */
.roy-menue__unter {
	margin-bottom: 56px;
	gap: 0;
}

.roy-menue__unterpunkt {
	padding-block: 14px;
	font-size: clamp(18px, 1.67vw, 25px);
}

.roy-menue__unter .roy-menue__linie:last-child {
	margin-bottom: 0;
}

/* Hauptpunkt + Klapp-Knopf stehen in einer Zeile; am Desktop ist der Knopf
   unsichtbar und die Zeile verhält sich wie der frühere nackte Link. */
.roy-menue__hauptzeile {
	align-self: stretch;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.roy-menue__klapp {
	display: none;
}

/* Mobil sind die Unterseiten eingeklappt (Kundenwunsch 13.08.2026);
   der Bereich der offenen Seite startet aufgeklappt. Gleicher Breakpoint
   wie die Einspaltigkeit des Overlays. */
@media (max-width: 900px) {
	.roy-menue__klapp {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin-block: -8px;
		border: 0;
		background: none;
		color: var(--cream);
		font-size: 22px;
		cursor: pointer;
	}

	.roy-menue__klapp > span {
		transition: transform 0.2s ease;
	}

	.roy-menue__klapp[aria-expanded="true"] > span {
		transform: rotate(180deg);
	}

	.roy-menue__unter {
		display: none;
	}

	.roy-menue__unter--offen {
		display: flex;
		margin-top: 10px;
		margin-bottom: 32px;
	}
}

.roy-menue__unterpunkt .roy-dot {
	font-size: 0.7em;
	vertical-align: middle;
	line-height: 1;
}

/* Social-Gruppe: unten rechts, klein, ohne Trennlinien. Der untere Abstand
   entspricht der Platzreserve für das fixierte Laufband — so endet sie
   oberhalb des Bands statt darunter zu verschwinden. */
.roy-menue__social {
	margin-top: auto;
	padding-block: 32px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}

.roy-menue__socialpunkt {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: var(--fs-label);
	line-height: var(--lh-tight);
	color: var(--cream);
	text-decoration: none;
}

.roy-menue__socialpunkt:hover {
	color: var(--cream);
	opacity: 0.7;
}

.roy-menue__socialpunkt .roy-menue__pfeil {
	color: var(--orange);
}

/* Die Laufschrift sitzt unter der Social-Gruppe, nicht dazwischen. */
.roy-laufschrift {
	margin-top: 0;
}

/* ── Laufband „Intraoral-Scanner buchen" am unteren Menürand ───────────────
   Ersetzt die frühere Info-Laufschrift: ein verlinktes Endlos-Band in
   Antic Didone, ganzflächig klickbar. */
.roy-laufband {
	display: block;
	overflow: hidden;
	padding-block: 28px;
	text-decoration: none;
	color: var(--cream);
	box-shadow: inset 0 1px 0 0 rgb(255 252 247 / 0.2);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.roy-laufband:hover {
	color: var(--orange);
}

.roy-laufband:hover .roy-laufband__pfeil {
	color: var(--orange-hover);
}

.roy-laufband__bahn {
	display: flex;
	width: max-content;
	animation: roy-marquee var(--roy-laufschrift-dauer, 60s) linear infinite;
}

.roy-laufband__satz {
	display: flex;
	gap: 64px;
	padding-right: 64px;
}

.roy-laufband__eintrag {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	font-family: var(--font-display);
	font-size: clamp(34px, 3.18vw, 48px);
	line-height: var(--lh-tight);
	white-space: nowrap;
}

.roy-laufband__pfeil {
	color: var(--orange);
	font-family: var(--font-text);
}

@media (prefers-reduced-motion: reduce) {
	.roy-laufband__bahn {
		animation: none;
	}
}

/* Das Band sitzt fest an der Unterkante des Sichtfensters — wie im Design.
   Der Innenbereich reserviert dafür unten Platz, damit die letzten Menüpunkte
   beim Scrollen nicht darunter verschwinden. */
.roy-menue__inner {
	min-height: 100vh;
	min-height: 100dvh;
	box-sizing: border-box;
}

/* Platz für das fixierte Band macht das letzte Element im Fluss, nicht der
   Container: padding-bottom am Container liegt UNTER einem margin-top:auto-
   Kind und schützt es deshalb nicht. */
.roy-menue__social {
	margin-bottom: 140px;
}

.roy-laufband {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--navy);
	z-index: 5;
}

/* ── Korrektur: Seitenkopf beginnt am oberen Browserrand ───────────────────
   Das Hero-Bild läuft unter der transparenten Kopfleiste; der allgemeine
   Sektionsabstand darf hier nicht greifen. */
.roy-sec--seitenkopf {
	margin-top: 0;
}

/* ── Korrektur: Bild-Text-Raster nach Prototyp ─────────────────────────────
   Der Block sitzt eingerückt (6.392 % / 6.25 % — dieselbe Flucht wie die
   Hero-Bühne). Das Bild ist 629px breit und reicht damit ÜBER die Mitte,
   die Textspalte 479px; dazwischen 48px, vertikal zentriert.
   Vorher: 50/50 mit 61px Spalt — deshalb wirkte die Mitte leer. */
.roy-bildtext {
	padding-left: 6.392%;
	padding-right: 6.25%;
	box-sizing: border-box;
	gap: 48px;
	justify-content: space-between;
	align-items: center;
}

.roy-bildtext__bild {
	flex: 1 1 629px;
	max-width: 629px;
}

.roy-bildtext__bild img,
.roy-bildtext__bild .roy-platzhalter {
	aspect-ratio: 629 / 563;
}

.roy-bildtext__spalte {
	flex: 1 1 479px;
	max-width: 479px;
	gap: 28px;
}

/* Die breite Variante der Startseite behält ihr eigenes Raster. */
.roy-bildtext--bildbreit {
	padding-left: 0;
	padding-right: 0;
	justify-content: flex-start;
	align-items: flex-start;
}

/* ── Nachweiskarten („Zertifiziert. Geprüft. Ausgezeichnet.") ──────────────
   Maße aus dem Prototyp: Container eingerückt 11.43 % / 12.71 %, Kopfblock
   339px, Karten 334px mit orangem Umriss, 61/31/32 Innenabstand, Siegel 58px,
   Abstände 33px und 19px, vertikal zentriert. */
.roy-nachweis {
	padding-left: 11.43%;
	padding-right: 12.71%;
	box-sizing: border-box;
	display: flex;
	flex-flow: row wrap;
	/* Nur Zeilenabstand: die Spaltenabstände sind ungleich (45px nach dem
	   Kopf, 16px zwischen den Karten) und kommen als Ränder. Mit einheitlichem
	   45px-Gap wäre die Zeile 29px zu breit und die zweite Karte bräche um. */
	gap: 48px 0;
	justify-content: flex-start;
	align-items: center;
}

.roy-nachweis__karte {
	margin-left: 16px;
}

.roy-nachweis__kopf + .roy-nachweis__karte {
	margin-left: 45px;
}

@media (max-width: 1100px) {
	.roy-nachweis__karte,
	.roy-nachweis__kopf + .roy-nachweis__karte {
		margin-left: 0;
		margin-right: 16px;
	}
}

.roy-nachweis__kopf {
	flex: 0 1 339px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
}

.roy-nachweis__titel {
	align-self: stretch;
	white-space: pre-line;
}

.roy-nachweis__karte {
	flex: 0 1 334px;
	min-height: 337px;
	border-radius: var(--radius);
	box-shadow: inset 0 0 0 1px var(--orange);
	box-sizing: border-box;
	padding: 61px 31px 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.roy-nachweis__siegel {
	flex-shrink: 0;
}

.roy-nachweis__kartentitel {
	margin-top: 33px;
	align-self: stretch;
	text-align: center;
	color: var(--black);
}

.roy-nachweis__text {
	margin-top: 19px;
	align-self: stretch;
	text-align: center;
}

@media (max-width: 1100px) {
	.roy-nachweis {
		padding-inline: 0;
	}
}

/* ── Digitaler Workflow: Bauformen aus dem Prototyp ────────────────────────

   Vergleichskarten: Innenabstand 56/55 statt 51/32. */
.roy-kacheln--vergleich .roy-kachel {
	padding: 56px 55px;
	gap: 24px;
}

/* Prozessschritte ohne Fläche: Ring (navy) und Text direkt auf Cream,
   Ziffer 52px schwarz, Datenzeilen in der Standardoptik (orange Linien). */
.roy-kacheln--keine.roy-kacheln--vergleich .roy-kachel {
	padding: 0;
	gap: 22px;
}

.roy-kacheln--keine .roy-ring--100 .roy-ring__ziffer {
	color: var(--black);
	font-size: 52px;
}

.roy-kacheln--keine .roy-kachel__daten .roy-daten__label {
	color: var(--black-50);
	opacity: 1;
}

.roy-kacheln--keine .roy-kachel__daten .roy-daten__wert {
	color: var(--black);
}

.roy-kacheln--keine .roy-kachel__daten .roy-daten__linie {
	background: var(--orange);
	opacity: 1;
}

/* Randnotiz („Was wegfällt: …") */
.roy-abschnitt--notiz .roy-abschnitt__randnotiz {
	color: var(--black-50);
	max-width: 900px;
}

.roy-abschnitt--notiz .roy-abschnitt__text {
	margin-top: 32px;
}

/* Geteiltes Panel: Textspalte links (479px fest), Datenzeilen rechts.
   Maße aus dem Prototyp: Innenabstand 90/77, Spaltenabstand 64. */
.roy-panel--geteilt {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 48px 64px;
	padding: 90px 77px;
	align-items: flex-start;
}

.roy-panel--geteilt > .brxe-bold-roy-abschnitt {
	flex: 0 0 479px;
}

.roy-panel--geteilt > .brxe-bold-roy-datenzeilen {
	flex: 1 1 320px;
	min-width: 0;
}

.roy-panel--geteilt .roy-abschnitt__button {
	margin-top: 6px;
}

/* Versetztes Panel (Prototyp 12, „Digitale Anbindung"): Text oben links,
   Datenzeilen rechts darunter ansetzend, Button unten links. */
.roy-panel--versetzt {
	padding: 47px clamp(20px, 1.92vw, 29px) 47px clamp(20px, 5.09vw, 77px);
	gap: 0;
}

.roy-panel--versetzt > .brxe-bold-roy-abschnitt { max-width: 479px; }

.roy-panel--versetzt > .brxe-bold-roy-datenzeilen {
	width: 100%;
	max-width: 631px;
	align-self: flex-end;
}

.roy-panel--versetzt > .roy-panel__aktion {
	margin-top: clamp(37px, 5.29vw, 80px);
}

/* Ohne Button gleicht mehr Innenabstand die Höhe aus (Prototyp 13) */
.roy-panel--versetzt.roy-panel--hoch { padding-block: 90px; }

/* Aufruf-Panel (Prototyp 10): Text links, Buttons rechts, vertikal mittig */
.roy-panel--aufruf {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 48px 64px;
	padding: 90px 77px;
	align-items: center;
}

.roy-panel--aufruf > .brxe-bold-roy-abschnitt:first-child { max-width: 600px; }

.roy-panel--aufruf > .roy-panel__aktion {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.roy-panel--aufruf .roy-abschnitt__button { margin-top: 0; }

/* Kennzahlen ohne Kachelfläche (Prototyp 13, „Kapazität"): Zahl groß in
   Antic Didone und Orange, Titelzeile in Kartengröße, Erläuterung im Fließtext. */
.roy-kacheln--keine.roy-kacheln--zeitleiste .roy-kachel {
	padding: 0;
	gap: 16px;
}

.roy-kacheln--keine.roy-kacheln--zeitleiste .roy-kachel__titel {
	font-family: var(--font-display);
	font-weight: var(--fw-regular);
	font-size: 64px;
	line-height: 1.1;
	color: var(--orange);
	/* Kein Cap-Trimming: die Unterlänge (»g« in „3 Tage") gehört in die Box,
	   sonst überlappt sie die Zeile darunter. Auch der Fallback entfällt. */
	text-box: none;
	margin-block: 0;
}

.roy-kacheln--keine.roy-kacheln--zeitleiste .roy-kachel__text {
	gap: 16px;
	color: var(--black);
}

.roy-kacheln--keine.roy-kacheln--zeitleiste .roy-kachel__absatz { color: var(--black); }

.roy-kacheln--keine.roy-kacheln--zeitleiste .roy-kachel__absatz:first-of-type {
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
	text-box: trim-both cap alphabetic;
}

/* Auf Navy: Labels 50 %, Linien 20 % Deckkraft (Prototyp). */
.roy-panel .roy-daten__label { opacity: 0.5; }
.roy-panel .roy-daten__linie { opacity: 0.2; }

@media (max-width: 1100px) {
	.roy-panel--geteilt {
		padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
	}
	.roy-panel--geteilt > .brxe-bold-roy-abschnitt {
		flex: 1 1 100%;
	}
}

/* Geteilter Abschnitt: Überschrift links (686px fest), Text und Button rechts. */
.roy-abschnitt--geteilt {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 32px 64px;
	align-items: flex-start;
}

.roy-abschnitt--geteilt .roy-abschnitt__kopfspalte {
	flex: 0 1 686px;
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
}

.roy-abschnitt--geteilt .roy-abschnitt__textspalte {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-18);
	align-items: flex-start;
}

/* ── Korrektur (§4.1): Bausteine füllen ihren Container ────────────────────
   Bricks-Blöcke und -Container sind Flex-Spalten mit align-items:flex-start —
   ein Grid- oder Flex-Kind ohne width:100% schrumpft darin auf Inhaltsbreite.
   Sichtbar geworden bei „Analog gegenüber digital": 1092px statt 1408px.
   Gilt vorsorglich für alle Raster-Bausteine. */
.roy-kacheln,
.roy-team,
.roy-news,
.roy-faq,
.roy-galerie,
.roy-nachweis,
.roy-bildtext,
.roy-abschnitt,
.roy-datenblock,
.roy-zielgruppen,
.roy-partner,
.roy-jobs,
.roy-panel {
	width: 100%;
}

/* ── Korrektur: Datenzeilen in Kachelrastern ───────────────────────────────
   1) margin-top:auto drückt den Block an die Unterkante der Kachel. Da
      Grid-Zellen einer Zeile gleich hoch sind, STARTEN alle Datenblöcke auf
      derselben Höhe — unabhängig von der Textlänge darüber.
   2) Im Prototyp ist der Block umrahmt: eine Linie über jeder Zeile UND unter
      der letzten (nicht nur zwischen den Zeilen), in Mint. */
.roy-kachel__daten {
	margin-top: auto;
}

.roy-kacheln--keine .roy-kachel__daten .roy-daten__linie {
	background: var(--roy-kachel-linie, var(--orange));
	opacity: 1;
}

/* .roy-kachel__daten liegt auf DEMSELBEN Element wie .roy-daten. */
.roy-kacheln--keine .roy-kachel__daten::before,
.roy-kacheln--keine .roy-kachel__daten::after {
	content: '';
	align-self: stretch;
	height: 1px;
	background: var(--roy-kachel-linie, var(--orange));
}

/* Der Datenblock liegt im Textblock der Kachel. Damit margin-top:auto ihn an
   die KACHEL-Unterkante drücken kann, muss der Textblock die volle Kachelhöhe
   einnehmen — sonst endet „auto" an dessen Inhaltshöhe. */
.roy-kachel__text {
	flex-grow: 1;
}

/* ── Kompakte Vorteilskacheln („Was sich im Alltag ändert") ────────────────
   Prototyp: Innenabstand 56/35, Abstand 18 — schmaler als die Vergleichs-
   karten (56/55, 24), dadurch niedrigere Kästen. */
.roy-kacheln--kompakt .roy-kachel {
	align-items: flex-start;
	padding: 56px 35px;
	gap: 18px;
	/* Wirkt nur bei gesetzter Mindesthöhe (Lieferzeiten-Kacheln, Prototyp 12) */
	justify-content: center;
}

/* Damit die Zentrierung wirkt, darf der Textblock die Kachel nicht füllen */
.roy-kacheln--kompakt .roy-kachel__text { flex-grow: 0; }

/* Randnotiz in Kacheln — z. B. die Dauer je Prozessschritt (Prototyp 08) */
.roy-kachel__notiz { color: var(--orange); }

/* Bild im festen Seitenverhältnis (Prototyp 09: Farbnahme 629/470) */
.roy-bildtext__bild--beschnitten img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Vorher-Nachher-Galerie (Prototyp 09): Platzhalter im Kartenformat,
   Bildunterschriften als zweite Grid-Zeile */
.roy-galerie--bilder .roy-galerie__platz--leer { aspect-ratio: 448 / 340; }
.roy-galerie--bilder .roy-galerie__platz--leer .roy-platzhalter {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
}
.roy-galerie__text { color: var(--black-50); align-self: start; margin-top: -8px; }

.roy-kacheln--vergleich .roy-kachel { justify-content: center; }

.roy-kacheln--kompakt .roy-kachel__text {
	align-items: flex-start;
	gap: 18px;
}

.roy-kacheln--kompakt .roy-kachel__titel,
.roy-kacheln--kompakt .roy-kachel__absatz,
.roy-kacheln--kompakt .roy-kachel__label {
	text-align: left;
}

/* ── Akzentpunkt im Navy-Panel bleibt orange (Prototyp) ────────────────────
   Die Dunkel-Variante des Abschnitts stellt den Punkt sonst auf Cream —
   das gilt für das orange Conversion-Band, nicht für Navy. */
.roy-panel--navy .roy-abschnitt--dunkel {
	--roy-dot-color: var(--orange);
}

/* ── Listen-Tabelle (Einsatzbereiche, Seite 06) ────────────────────────────
   Titel groß und leicht (300), Label 14px halbtransparent, Beschreibung
   rechtsbündig; Mint-Linien über jeder Zeile und unter der letzten. */
.roy-tabelle--liste {
	display: flex;
	flex-direction: column;
	/* Prototypen (12, 13): 22px Zeilenabstand, neutrale Linien */
	gap: 22px;
}

.roy-tabelle--liste .roy-tabelle__linie {
	align-self: stretch;
	height: 1px;
	background: var(--roy-liste-linie, rgb(0 0 0 / 0.15));
}

.roy-tabelle--liste .roy-tabelle__zeile {
	align-self: stretch;
	display: flex;
	flex-flow: row wrap;
	gap: 6px 32px;
	justify-content: space-between;
	align-items: baseline;
	/* Kein Eigenabstand — der 22px-Listen-Gap trägt den Rhythmus (Prototyp 12/13) */
}

.roy-tabelle--liste .roy-tabelle__titel {
	flex: 0 1 430px;
	font-weight: var(--fw-light);
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
	text-box: trim-both cap alphabetic;
	color: var(--black);
	white-space: nowrap;
}

.roy-tabelle--liste .roy-tabelle__label {
	flex: 0 1 330px;
	color: var(--black-50);
	white-space: nowrap;
}

.roy-tabelle--liste .roy-tabelle__wert {
	flex: 1;
	min-width: 260px;
	text-align: right;
	color: var(--black);
}

@media (max-width: 900px) {
	.roy-tabelle--liste .roy-tabelle__titel,
	.roy-tabelle--liste .roy-tabelle__label { white-space: normal; }
	.roy-tabelle--liste .roy-tabelle__wert { text-align: left; }
}

/* Button in Kacheln (Zusammenspiel-Karten) */
.roy-kachel__button {
	margin-top: 6px;
}

/* ── Punktfarben auf den Conversion-Bändern (Design-Abgleich 13.08.2026) ───
   Auf Orange ist der Punkt WEISS (nicht Cream), auf Navy ORANGE. */
.roy-cta__label {
	--roy-dot-color: var(--white);
}

.roy-cta--navy .roy-cta__label {
	--roy-dot-color: var(--orange);
}

/* Button-Variante: Umriss in Navy (Seite 12, „Zum Praxis-Datenaustausch") */
.roy-btn--umriss-navy {
	color: var(--navy);
	box-shadow: inset 0 0 0 1px var(--navy);
}

.roy-btn--umriss-navy:hover {
	background: rgb(26 61 84 / 0.08);
	color: var(--navy);
}

.roy-btn--umriss-navy .roy-dot {
	color: var(--navy);
}

/* Listen-Tabelle: Linie und erste Spalte über Variablen (07: 400px/orange). */
.roy-tabelle--liste .roy-tabelle__linie {
	background: var(--roy-liste-linie, var(--mint));
}

.roy-tabelle--liste .roy-tabelle__titel {
	flex-basis: var(--roy-liste-sp1, 430px);
}

/* ── Panel + Bildkarte (Fräspartner-Status, Seite 07) ──────────────────────
   Mint-Panel flex:1, Bildkarte 479px fest, gleiche Höhe (stretch). */
.roy-panelbild {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	gap: 31px;
	align-items: stretch;
}

.roy-panelbild > .roy-panel {
	flex: 1 1 480px;
	min-width: 0;
}

.roy-panelbild__bild {
	flex: 0 1 479px;
	min-width: 280px;
	display: flex;
}

.roy-panelbild__bild .roy-galerie {
	display: flex;
	width: 100%;
}

.roy-panelbild__bild .roy-galerie__platz {
	width: 100%;
}

.roy-panelbild__bild .roy-galerie__platz--leer,
.roy-panelbild__bild .roy-platzhalter {
	width: 100%;
	height: 100%;
	min-height: 280px;
	border-radius: var(--radius);
}

.roy-panelbild__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--radius);
	aspect-ratio: auto;
}

/* Bricks-Block bringt align-items:flex-start mit — die Bildkarte muss aber
   auf Panelhöhe strecken, sonst bleibt sie auf ihrer Mindesthöhe stehen. */
.roy-panelbild__bild {
	align-items: stretch;
}

.roy-panelbild__bild .roy-galerie {
	min-height: 100%;
}

/* ── Karriere-Panel (Über uns): Navy, Text links, Stellenliste rechts ──────
   Maße aus dem Prototyp: 90px / clamp(20,5.09vw,77px), Spaltenabstand 56. */
.roy-karriere {
	display: flex;
	flex-flow: row wrap;
	gap: 56px;
	justify-content: space-between;
	align-items: flex-start;
	padding: 90px clamp(20px, 5.09vw, 77px);
}

.roy-karriere > .brxe-bold-roy-abschnitt {
	flex: 1 1 420px;
	max-width: 479px;
}

.roy-karriere__jobs {
	flex: 1 1 420px;
	min-width: 0;
	align-items: stretch;
}

/* Heller Füll-Button auf Navy trägt Navy-Text (Prototyp Karriere). */
/* Datenzeilen auf Navy: helle Linien. Die Labels setzt der Prototyp auf
   50% Cream — das sind nur ~3,4:1 Kontrast (WCAG verlangt 4,5:1). Auf
   Kundenwunsch (13.08.2026) stehen sie deshalb in vollem Weiß. */
.roy-panel--navy .roy-daten__linie { background: rgb(255 252 247 / 0.2); }
.roy-panel--navy .roy-daten__label { color: var(--white); opacity: 1; }
.roy-panel--navy .roy-daten__wert { color: var(--cream); }

.roy-panel--navy .roy-btn--hell {
	color: var(--navy);
}

.roy-panel--navy .roy-btn--hell:hover {
	color: var(--navy);
}

/* Stellenliste auf Navy: gerahmte Zeilen in Cream, Titel groß und leicht. */
.roy-panel--navy .roy-jobs {
	gap: 0;
}

.roy-panel--navy .roy-job {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px 16px;
	justify-content: space-between;
	align-items: baseline;
	padding-block: 16px;
	box-shadow: inset 0 -1px 0 0 rgb(255 252 247 / 0.2);
}

.roy-panel--navy .roy-job:first-child {
	box-shadow: inset 0 1px 0 0 rgb(255 252 247 / 0.2), inset 0 -1px 0 0 rgb(255 252 247 / 0.2);
}

.roy-panel--navy .roy-job__kopf {
	flex: 1 1 auto;
}

.roy-panel--navy .roy-job__titel {
	font-weight: var(--fw-light);
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
	text-box: trim-both cap alphabetic;
	color: var(--cream);
}

.roy-panel--navy .roy-job__status {
	color: rgb(255 252 247 / 0.75);
}

.roy-panel--navy .roy-job__text,
.roy-panel--navy .roy-job__zusatz {
	color: rgb(255 252 247 / 0.7);
}

/* Bild-Text-Varianten (Über uns, Prototyp):
   oben ausgerichtet, volle Inhaltsbreite, 50/50-Teilung, 62px Abstand. */
.roy-bildtext--oben {
	align-items: flex-start;
}

.roy-bildtext--voll {
	padding-left: 0;
	padding-right: 0;
	gap: 62px;
	justify-content: flex-start;
}

.roy-bildtext--voll .roy-bildtext__bild,
.roy-bildtext--voll .roy-bildtext__spalte {
	flex: 1 1 480px;
	max-width: none;
	min-width: 0;
}

/* ── News-Übersicht nach Prototyp ──────────────────────────────────────────
   Raster auto-fit ab 340px mit 32px Abstand, Bild 280px hoch, Kategorie in
   Orange, Karteninhalt mit 18px Abständen. */
.roy-news {
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 32px;
}

.roy-newskarte {
	gap: 18px;
}

.roy-newskarte__bild img,
.roy-newskarte__bild .roy-platzhalter {
	aspect-ratio: auto;
	height: 280px;
	width: 100%;
}

.roy-newskarte__meta {
	gap: 4px 16px;
}

.roy-newskarte__kategorie {
	color: var(--orange);
}

/* Paginierung als Buttons: aktuelle Seite orange gefüllt, übrige umrandet. */
.roy-paginierung {
	margin-top: clamp(47px, 6.75vw, 102px);
	gap: 16px;
	justify-content: center;
	width: 100%;
}

.roy-paginierung .page-numbers {
	display: inline-flex;
	padding: 14px 20px;
	justify-content: center;
	align-items: center;
	box-shadow: inset 0 0 0 1px var(--orange);
	font-weight: var(--fw-medium);
	font-size: var(--fs-data);
	line-height: var(--lh-tight);
	color: var(--orange);
	text-decoration: none;
}

.roy-paginierung a.page-numbers:hover {
	background: rgb(228 104 51 / 0.08);
	color: var(--orange);
}

.roy-paginierung .page-numbers.current {
	background: var(--orange);
	color: var(--cream);
}

/* Seitenkopf ohne Bild AM SEITENANFANG: 33px Grundabstand + Kopf-Abstand
   (Ausgleich unter der fixen Kopfleiste). Standard ist der News-/Kontakt-Wert
   (68/147, vereinheitlicht nach der Abstandsregel vom 13.08.2026 — Kontakt
   weicht im Prototyp mit 155 minimal ab). Die zwei echten Ausreißer sind als
   Varianten wählbar. Auf die Kopf-Sektion gescopet: die Startseiten-Intro
   nutzt denselben Baustein MITTEN auf der Seite — dort wäre der
   Kopfleisten-Ausgleich falsch. */
.roy-sec--seitenkopf .roy-seitenkopf--ohne-bild .roy-seitenkopf__text {
	margin-top: calc(33px + clamp(68px, 9.72vw, 147px));
}

.roy-sec--seitenkopf .roy-seitenkopf--kopf-kompakt .roy-seitenkopf__text {
	margin-top: calc(33px + clamp(35px, 5.09vw, 77px));
}

.roy-sec--seitenkopf .roy-seitenkopf--kopf-gross .roy-seitenkopf__text {
	margin-top: calc(33px + clamp(114px, 16.34vw, 247px));
}

/* Der Platzhalter in News-Karten erbte display:block aus der Bildregel —
   dadurch klebte „Beitragsbild folgt" oben links statt mittig. */
.roy-newskarte__bild .roy-platzhalter {
	display: grid;
}

/* ── Rechtsseiten: reine Textspalte (Impressum, Datenschutz, …) ────────────
   Kein Designelement (Kundenwunsch 14.08.2026) — die 688px-Lesespalte der
   Artikel, schlichte Überschriften, orange Links. Inhalt kommt aus dem
   WordPress-Editor (Bricks Post-Content). */
.roy-rechtstext {
	max-width: 688px;
	margin-inline: auto; /* zentrierte Lesespalte wie beim News-Artikel */
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	color: var(--black);
}

.roy-rechtstext h2 {
	font-size: var(--fs-card);
	line-height: var(--lh-tight);
	font-weight: var(--fw-medium);
	margin: 48px 0 16px;
}

.roy-rechtstext h3 {
	font-size: var(--fs-body);
	line-height: var(--lh-tight);
	font-weight: var(--fw-medium);
	margin: 32px 0 12px;
}

.roy-rechtstext p {
	margin: 0 0 16px;
}

.roy-rechtstext a {
	color: var(--orange);
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.roy-rechtstext a:hover {
	color: var(--orange-hover);
}

/* ── Zwischenzone iPad quer (Kundenbefund 14.08.2026, Technologie @1180) ───
   Drei Muster brachen zwischen Mobil- und Desktop-Layout unschön um. */

/* 1 · Vierer-Kachelreihen (Prozessringe u. a.): das auto-fit-Raster fiel
   unter 1390px auf 3 Spalten — die vierte Kachel stand allein (3+1).
   Reihen mit GENAU vier Kacheln bleiben stattdessen vierspaltig
   (Kundenwunsch 14.08.2026); erst wenn je Kachel der Platz für den
   135px-Ring knapp wird (~900px), geht es auf 2×2. */
@media (min-width: 901px) and (max-width: 1390px) {
	.roy-kacheln:not([class*="--spalten"]):has(> :nth-child(4):last-child) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 641px) and (max-width: 900px) {
	.roy-kacheln:not([class*="--spalten"]):has(> :nth-child(4):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 2 · Bild-Text-Block: nebeneinander gehalten, bis der Handoff das Stapeln
   vorsieht (~1150) — die festen Basen (629/479) wrappten sonst schon unter
   ~1410 und ließen beide Blöcke schmal in der linken Hälfte stehen. */
@media (min-width: 1151px) {
	/* Nur die Standard-Variante — die breite Startseiten-Variante
	   (--bildbreit) bricht am Desktop gewollt um. */
	.roy-bildtext:not(.roy-bildtext--bildbreit) {
		flex-wrap: nowrap;
	}

	.roy-bildtext:not(.roy-bildtext--bildbreit) .roy-bildtext__spalte {
		min-width: 0;
	}
}

/* Gestapelt füllt das Bild die Breite (flacherer Ausschnitt 3:2), der Text
   folgt als Lesespalte. Unter 640px gilt weiter der abgenommene mobile
   Zustand mit der Original-Ratio. */
@media (min-width: 641px) and (max-width: 1150px) {
	.roy-bildtext__bild {
		flex-basis: 100%;
		max-width: none;
	}

	.roy-bildtext__bild img,
	.roy-bildtext__bild .roy-platzhalter {
		aspect-ratio: 3 / 2;
	}
}

/* 3 · Nachweiskarten: Kopf + Karten wrappten zur Treppe (Kopf+Karte,
   dann versetzte Einzelkarte). In der Zone steht der Kopf vollbreit,
   darunter die Karten paarweise. */
@media (min-width: 641px) and (max-width: 1390px) {
	.roy-nachweis__kopf {
		flex-basis: 100%;
	}

	.roy-nachweis__karte,
	.roy-nachweis__kopf + .roy-nachweis__karte {
		flex: 1 1 300px;
		max-width: calc(50% - 8px);
		margin: 0;
	}

	.roy-nachweis {
		gap: 48px 16px;
	}
}

/* Teamkarte ohne Porträt: ROYES-Logo mittig auf der Platzhalterfläche
   (bis zum Launch kommen keine weiteren Porträts, 12.11.2026). */
.roy-person__bild .roy-platzhalter.roy-person__logoplatz {
	display: grid;
	place-items: center;
	align-content: center;
}

.roy-person__logoplatz img {
	/* Das Logo-SVG hat keine intrinsischen Maße — feste Box + contain. */
	width: 150px;
	height: 70px;
	max-width: 60%;
	object-fit: contain;
	opacity: 0.85;
}

/* Calendly-Zwei-Klick-Box: zentriert in der Kalenderfläche (12.11.2026). */
.roy-formular__kalenderconsent {
	min-height: 360px;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 24px;
	text-align: center;
	padding: 40px clamp(20px, 8vw, 120px);
}

.roy-formular__kalenderconsent .roy-karte-consent__hinweis {
	max-width: 560px;
	color: var(--black-50);
}

/* ── Team-Popup (nativer dialog, 12.11.2026) ───────────────────────────────*/
.roy-person__bild {
	position: relative;
}

.roy-person__info {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 33px;
	height: 33px;
	border: 0;
	border-radius: 50%;
	background: rgb(255 252 247 / 0.85);
	color: var(--black);
	font-family: var(--font-display);
	font-size: 17px;
	line-height: 1;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

/* Unsichtbare Hitbox: visuell 33px, Tap-Ziel ≥44px. */
.roy-person__info::before {
	content: '';
	position: absolute;
	inset: -6px;
}

.roy-person__info:hover,
.roy-person__info:focus-visible {
	background: var(--orange);
	color: var(--cream);
}

.roy-person-dialog {
	width: min(720px, calc(100vw - 40px));
	max-height: min(82vh, 900px);
	border: 0;
	border-radius: var(--radius);
	background: var(--cream);
	color: var(--black);
	padding: clamp(32px, 4vw, 56px);
	box-shadow: 0 24px 80px rgb(0 0 0 / 0.25);
}

.roy-person-dialog::backdrop {
	background: rgb(26 61 84 / 0.55);
}

.roy-person-dialog__schliessen {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--radius);
	background: none;
	color: var(--black);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.roy-person-dialog__schliessen:hover { color: var(--orange); }

.roy-person-dialog__name {
	display: block;
}

.roy-person-dialog__funktion {
	display: block;
	margin-top: 6px;
	color: var(--black-50);
}

.roy-person-dialog__titel {
	display: block;
	margin-top: 32px;
}

.roy-person-dialog__liste {
	margin: 12px 0 0;
	padding-left: 20px;
	display: grid;
	gap: 6px;
}

/* ── Mobiler Mindest-Innenabstand für farbige Flächen ──────────────────────
   Die Desktop-Clamps laufen bei 390px auf 20px zusammen — zu knapp neben
   dem Seitenrand (Kundenwunsch 13.08.2026). Ein Floor von 32px für alle
   Boxentypen; die Block-Abstände (≥40px) bleiben unangetastet. Steht
   bewusst am Dateiende, damit er die Varianten-Paddings sicher übersteuert. */
@media (max-width: 640px) {
	.roy-karte,
	.roy-panel,
	.roy-panel--geteilt,
	.roy-panel--versetzt,
	.roy-formular--navy,
	.roy-kontaktkacheln__kachel {
		padding-inline: 32px;
	}
}
