/* ==========================================================================
   Riedener Sachverständigen-Büro – Onepager
   Nur auf Seiten mit Backend-Layout "Onepager" / "Onepager: Unterseite".
   Farben aus dem Logo (Lupe). Schriftgrößen und Abstände in px.
   ========================================================================== */

@font-face {
	font-family: 'Exo 2';
	src: url('../Fonts/Exo2/exo2-var-latin.woff2') format('woff2');
	font-weight: 500 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Figtree';
	src: url('../Fonts/Figtree/figtree-var-latin.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Figtree';
	src: url('../Fonts/Figtree/figtree-italic-var-latin.woff2') format('woff2');
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

:root {
	--op-cyan: #12B8EA;
	/* Lupe im Logo, nur Flächen/Deko oder auf Dunkelblau */
	--op-cyan-text: #0A78A0;
	/* Cyan für Text/Links auf Weiß (Kontrast 5:1) */
	--op-navy: #13293D;
	--op-navy-2: #1D3A54;
	--op-grey: #F0F2F4;
	/* heller Hintergrund (Abschnitte, Kacheln) */
	--op-paper: #FFFFFF;
	--op-ink: #1B2B38;
	--op-muted: #56697A;
	--op-line: #D4E4EC;
	--op-on-dark: #FFFFFF;
	--op-on-dark-muted: #B9CCD8;
	--op-line-dark: rgba(255, 255, 255, 0.14);

	--op-wrap: 1200px;
	--op-gutter: 24px;
	--op-header-h: 88px;
	--op-section-pad: 104px;
	--op-radius: 16px;

	--op-font-head: 'Exo 2', 'Trebuchet MS', sans-serif;
	--op-font-body: 'Figtree', 'Helvetica Neue', Arial, sans-serif;

	--bs-body-font-family: var(--op-font-body);
	--bs-body-color: var(--op-ink);
}

@media (max-width: 767.98px) {
	:root {
		--op-gutter: 20px;
		--op-header-h: 72px;
		--op-section-pad: 72px;
	}
}

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

html {
	scroll-padding-top: calc(var(--op-header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--op-paper);
	color: var(--op-ink);
	font-family: var(--op-font-body);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.op-page {
	overflow-x: clip;
}

.op-page h1,
.op-page h2,
.op-page h3,
.op-page h4,
.op-page h5,
.op-page h6 {
	font-family: var(--op-font-head);
	color: var(--op-navy);
	text-wrap: balance;
}

.op-page h1 {
	font-size: clamp(38px, 4.6vw, 60px);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 24px;
}

.op-page h2 {
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 24px;
}

.op-page h3 {
	font-size: 22px;
	font-weight: 650;
	line-height: 1.3;
	margin: 0 0 12px;
}

.op-page h4 {
	font-size: 18px;
	font-weight: 650;
	line-height: 1.35;
	margin: 0 0 8px;
}

/* Spezialüberschrift (header_layout 5): kurze Zeile über dem Abschnittstitel */
.op-page h3.spezialueberschrift {
	font-family: var(--op-font-body);
	font-size: 17px;
	font-weight: 600;
	color: var(--op-cyan-text);
	margin: 0 0 8px;
}

.op-page p {
	margin: 0 0 16px;
}

.op-page a {
	color: var(--op-cyan-text);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.op-page a:hover {
	color: var(--op-navy);
}

.op-page :focus-visible {
	outline: 3px solid var(--op-cyan);
	outline-offset: 2px;
}

.op-page strong,
.op-page b {
	font-weight: 700;
}

.op-page hr {
	border: 0;
	border-top: 1px solid var(--op-line);
	opacity: 1;
	margin: 32px 0;
}

.op-wrap {
	width: min(100% - (2 * var(--op-gutter)), var(--op-wrap));
	margin-inline: auto;
}

.op-wrap--narrow>* {
	max-width: 780px;
}

.op-skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--op-navy);
	color: var(--op-on-dark);
	font-weight: 700;
}

.op-skip:focus {
	top: 16px;
}

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

.op-header {
	position: sticky;
	top: 0;
	z-index: 50;
	/* kein backdrop-filter: würde das fixierte Mobilmenü auf die Höhe der Kopfzeile begrenzen */
	background: var(--op-paper);
	transition: box-shadow 200ms ease;
}

.op-header.is-scrolled {
	box-shadow: 0 1px 0 var(--op-line), 0 10px 30px rgba(19, 41, 61, 0.08);
}

.op-header__bar {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--op-header-h);
}

.op-page .op-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
	min-width: 0;
	color: var(--op-navy);
	text-decoration: none;
}

.op-brand picture {
	flex: 0 0 auto;
	line-height: 0;
}

.op-brand__logo {
	width: 64px;
	height: auto;
}

.op-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.op-brand__name {
	font-family: var(--op-font-head);
	white-space: nowrap;
	font-size: 19px;
	font-weight: 700;
	color: var(--op-navy);
}

.op-brand__claim {
	font-size: 14px;
	color: var(--op-muted);
	white-space: nowrap;
}

@media (max-width: 1299.98px) {
	.op-brand__claim {
		display: none;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.op-brand__text {
		display: none;
	}
}

@media (max-width: 767.98px) {
	.op-brand__logo {
		width: 48px;
	}

	.op-brand__name {
		font-size: 16px;
	}
}

/* Schmal: Name zweizeilig, darf schrumpfen, nie unter den Telefon-Button laufen */
@media (max-width: 575.98px) {
	.op-page .op-brand {
		flex: 1 1 auto;
		gap: 10px;
	}

	.op-brand__logo {
		width: 42px;
	}

	.op-brand__name {
		white-space: normal;
		font-size: 15px;
		line-height: 1.15;
	}
}

@media (max-width: 359.98px) {
	.op-brand__text {
		display: none;
	}
}

.op-nav {
	margin-left: auto;
}

.op-nav__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.op-page .op-nav__link {
	display: block;
	white-space: nowrap;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--op-navy);
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease;
}

.op-page .op-nav__link:hover {
	background: var(--op-grey);
	color: var(--op-navy);
}

.op-page .op-nav__link[aria-current="true"] {
	background: var(--op-grey);
	color: var(--op-cyan-text);
}

.op-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.op-nav+.op-header__actions {
	margin-left: 8px;
}

.op-page .op-call {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 999px;
	background: var(--op-navy);
	color: var(--op-on-dark);
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 150ms ease;
}

.op-page .op-call:hover {
	background: var(--op-navy-2);
	color: var(--op-on-dark);
}

.op-call .bi {
	color: var(--op-cyan);
	font-size: 15px;
}

.op-menu-toggle,
.op-offcanvas__head,
.op-offcanvas-backdrop {
	display: none;
}

/* Mobiles Menü (bis 991 px): Seitenleiste von rechts, Aufbau wie suedliches-allgaeu.de */
@media (max-width: 991.98px) {
	.op-header__bar {
		gap: 12px;
	}

	.op-menu-toggle {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		flex: 0 0 auto;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: var(--op-navy);
		color: var(--op-on-dark);
		cursor: pointer;
	}

	.op-menu-toggle .bi {
		font-size: 26px;
		line-height: 1;
	}

	.op-menu-toggle__label {
		font-size: 12px;
		font-weight: 600;
		line-height: 1;
	}

	.op-header__actions,
	.op-nav+.op-header__actions {
		margin-left: auto;
	}

	.op-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 2;
		width: min(350px, 86vw);
		margin: 0;
		background: var(--op-cyan);
		overflow-y: auto;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 250ms ease, visibility 0s linear 250ms;
	}

	.op-nav.is-open {
		visibility: visible;
		transform: none;
		transition: transform 250ms ease, visibility 0s;
		box-shadow: -8px 0 30px rgba(19, 41, 61, 0.25);
	}

	.op-offcanvas__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px;
		background: var(--op-paper);
		border-bottom: 1px solid var(--op-line);
	}

	.op-offcanvas__title {
		display: flex;
		flex-direction: column;
		font-family: var(--op-font-head);
		font-size: 15px;
		font-weight: 600;
		line-height: 1.15;
		color: var(--op-cyan-text);
	}

	.op-offcanvas__title strong {
		font-size: 17px;
		font-weight: 700;
		color: var(--op-navy);
	}

	.op-offcanvas__close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--op-navy);
		font-size: 26px;
		cursor: pointer;
	}

	.op-nav__list {
		flex-direction: column;
		gap: 0;
		padding: 8px 12px 32px;
	}

	.op-nav__list li {
		border-bottom: 1px solid rgba(19, 41, 61, 0.25);
	}

	.op-page .op-nav__link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 4px;
		border-radius: 0;
		font-size: 19px;
		font-weight: 500;
		color: var(--op-navy);
		white-space: normal;
	}

	.op-page .op-nav__link:hover,
	.op-page .op-nav__link[aria-current="true"] {
		background: transparent;
		color: var(--op-navy);
		font-weight: 700;
	}

	.op-offcanvas-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 1;
		background: rgba(19, 41, 61, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 250ms ease, visibility 0s linear 250ms;
	}

	.op-offcanvas-backdrop.is-open {
		opacity: 1;
		visibility: visible;
		transition: opacity 250ms ease, visibility 0s;
	}

	body.op-nav-open {
		overflow: hidden;
	}

	/* Kopfzeile (enthält Menü und Abdunklung) über den Seiteninhalt heben */
	body.op-nav-open .op-header {
		z-index: 1050;
	}
}

/* Kompakte Kopfzeile ab 992 px: Passt die Navigation nicht in eine Zeile (lange Menütexte),
   setzt onepager.js die Klasse .is-compact und es gilt das mobile Menü (Regeln wie oben). */
.op-page.is-compact .op-header__bar {
	gap: 12px;
}

.op-page.is-compact .op-menu-toggle {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: var(--op-navy);
	color: var(--op-on-dark);
	cursor: pointer;
}

.op-page.is-compact .op-menu-toggle .bi {
	font-size: 26px;
	line-height: 1;
}

.op-page.is-compact .op-menu-toggle__label {
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.op-page.is-compact .op-header__actions,
.op-page.is-compact .op-nav+.op-header__actions {
	margin-left: auto;
}

.op-page.is-compact .op-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: min(350px, 86vw);
	margin: 0;
	background: var(--op-cyan);
	overflow-y: auto;
	visibility: hidden;
	transform: translateX(100%);
	transition: transform 250ms ease, visibility 0s linear 250ms;
}

.op-page.is-compact .op-nav.is-open {
	visibility: visible;
	transform: none;
	transition: transform 250ms ease, visibility 0s;
	box-shadow: -8px 0 30px rgba(19, 41, 61, 0.25);
}

.op-page.is-compact .op-offcanvas__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: var(--op-paper);
	border-bottom: 1px solid var(--op-line);
}

.op-page.is-compact .op-offcanvas__title {
	display: flex;
	flex-direction: column;
	font-family: var(--op-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--op-cyan-text);
}

.op-page.is-compact .op-offcanvas__title strong {
	font-size: 17px;
	font-weight: 700;
	color: var(--op-navy);
}

.op-page.is-compact .op-offcanvas__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--op-navy);
	font-size: 26px;
	cursor: pointer;
}

.op-page.is-compact .op-nav__list {
	flex-direction: column;
	gap: 0;
	padding: 8px 12px 32px;
}

.op-page.is-compact .op-nav__list li {
	border-bottom: 1px solid rgba(19, 41, 61, 0.25);
}

.op-page.is-compact .op-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px;
	border-radius: 0;
	font-size: 19px;
	font-weight: 500;
	color: var(--op-navy);
	white-space: normal;
}

.op-page.is-compact .op-nav__link:hover,
.op-page.is-compact .op-nav__link[aria-current="true"] {
	background: transparent;
	color: var(--op-navy);
	font-weight: 700;
}

.op-page.is-compact .op-offcanvas-backdrop {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(19, 41, 61, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 250ms ease, visibility 0s linear 250ms;
}

.op-page.is-compact .op-offcanvas-backdrop.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 250ms ease, visibility 0s;
}

body.op-nav-open {
	overflow: hidden;
}

/* Kopfzeile (enthält Menü und Abdunklung) über den Seiteninhalt heben */
body.op-nav-open .op-header {
	z-index: 1050;
}

/* Kompakt: Name neben dem Logo wieder anzeigen (Platz ist durch das eingeklappte Menü da) */
.op-page.is-compact .op-brand__text {
	display: flex;
}


@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {

	.op-nav,
	.op-nav.is-open,
	.op-offcanvas-backdrop,
	.op-offcanvas-backdrop.is-open {
		transition: none;
	}
}

@media (max-width: 575.98px) {
	.op-page .op-call {
		width: 52px;
		height: 52px;
		padding: 0;
		justify-content: center;
	}

	.op-call__number {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.op-call .bi {
		font-size: 20px;
	}
}

/* --------------------------------------------------------------------------
   Titelbild
   -------------------------------------------------------------------------- */

.op-hero {
	position: relative;
	background: var(--op-grey);
}

.op-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	gap: 48px;
	padding: 70px 0;
}

.op-hero__text .frame {
	margin: 0;
}

.op-hero__text p {
	font-size: 20px;
	line-height: 1.6;
	color: var(--op-muted);
	max-width: 560px;
}

.op-hero__text p:last-child {
	margin-bottom: 0;
}

/* Buttons im Text liegen in einem Absatz: nebeneinander mit Abstand */
.op-hero__text p:has(> .op-btn) {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.op-hero__visual {
	display: flex;
	justify-content: center;
}

.op-hero__image {
	position: relative;
	width: min(100%, 440px);
	margin: 0;
}

.op-hero__image picture,
.op-hero__image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--op-radius);
}

.op-hero__image img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	box-shadow: 0 24px 60px rgba(19, 41, 61, 0.16);
}

.op-hero__credit {
	padding-top: 8px;
	font-size: 12px;
	color: var(--op-muted);
}

.op-hero__logo {
	width: min(100%, 420px);
	height: auto;
}

@media (max-width: 991.98px) {
	.op-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding: 40px 0 72px;
	}

	.op-hero__visual {
		order: -1;
	}

	.op-hero__image {
		width: min(100%, 360px);
	}

	.op-hero__logo {
		width: min(70vw, 280px);
	}
}

@media (max-width: 575.98px) {
	.op-hero__text p {
		font-size: 18px;
	}
}

/* Seitenkopf der Unterseiten */
.op-pagehead {
	height: 24px;
	background: var(--op-grey);
}

.op-section.op-section--text {
	padding-top: 64px;
}

/* --------------------------------------------------------------------------
   Buttons (RTE-Stile "Button" und "Button Kontur")
   -------------------------------------------------------------------------- */

.op-page .op-btn,
.op-page .frame-type-form_formframework .btn-primary,
.op-page .frame-type-form_formframework button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 26px;
	border: 2px solid var(--op-navy);
	border-radius: 999px;
	background: var(--op-navy);
	color: var(--op-on-dark);
	font-family: var(--op-font-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.op-page .op-btn .bi {
	color: var(--op-cyan);
}

.op-page .op-btn:hover,
.op-page .frame-type-form_formframework .btn-primary:hover,
.op-page .frame-type-form_formframework button[type="submit"]:hover {
	background: var(--op-navy-2);
	border-color: var(--op-navy-2);
	color: var(--op-on-dark);
}

.op-page .op-btn.op-btn--kontur {
	background: transparent;
	color: var(--op-navy);
}

.op-page .op-btn.op-btn--kontur .bi {
	color: var(--op-cyan-text);
}

.op-page .op-btn.op-btn--kontur:hover {
	background: var(--op-paper);
	color: var(--op-navy);
}

.op-page .op-tone-op-dunkel .op-btn {
	background: var(--op-cyan);
	border-color: var(--op-cyan);
	color: var(--op-navy);
}

.op-page .op-tone-op-dunkel .op-btn .bi {
	color: var(--op-navy);
}

.op-page .op-tone-op-dunkel .op-btn.op-btn--kontur {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--op-on-dark);
}

/* --------------------------------------------------------------------------
   Abschnitte
   Ein Element (oder Container) in der Spalte "Abschnitte" = ein Abschnitt.
   Farbe über Feld "Rahmen": weiß (Standard), hellgrau (op-hell), dunkelblau.
   Aufeinanderfolgende Abschnitte gleicher Farbe rücken zusammen.
   -------------------------------------------------------------------------- */

.op-section {
	padding-block: var(--op-section-pad);
	background: var(--op-paper);
}

.op-tone-op-hell {
	background: var(--op-grey);
}

.op-tone-op-dunkel {
	background: var(--op-navy);
	color: var(--op-on-dark-muted);
}

.op-section:not(.op-tone-op-hell):not(.op-tone-op-dunkel)+.op-section:not(.op-tone-op-hell):not(.op-tone-op-dunkel),
.op-tone-op-hell+.op-tone-op-hell,
.op-tone-op-dunkel+.op-tone-op-dunkel {
	padding-top: 16px;
}

.op-section .frame {
	scroll-margin-top: calc(var(--op-header-h) + 16px);
}

/* Fließtext nicht über die ganze Breite laufen lassen */
.op-section .frame-type-text> :not(header),
.op-section .ce-bodytext {
	max-width: 760px;
}

.op-section .frame>header {
	max-width: 100%;
}

.op-section .ce-bodytext> :last-child {
	margin-bottom: 0;
}

.op-tone-op-dunkel h2,
.op-tone-op-dunkel h3,
.op-tone-op-dunkel h4 {
	color: var(--op-on-dark);
}

.op-tone-op-dunkel a {
	color: var(--op-cyan);
}

.op-tone-op-dunkel a:hover {
	color: var(--op-on-dark);
}

.op-tone-op-dunkel h3.spezialueberschrift {
	color: var(--op-cyan);
}

/* Abstände aus dem Feld "Abstand vor/nach" */
.frame-space-before-extra-small {
	margin-top: 8px;
}

.frame-space-before-small {
	margin-top: 16px;
}

.frame-space-before-medium {
	margin-top: 32px;
}

.frame-space-before-large {
	margin-top: 48px;
}

.frame-space-before-extra-large {
	margin-top: 64px;
}

.frame-space-after-extra-small {
	margin-bottom: 8px;
}

.frame-space-after-small {
	margin-bottom: 16px;
}

.frame-space-after-medium {
	margin-bottom: 32px;
}

.frame-space-after-large {
	margin-bottom: 48px;
}

.frame-space-after-extra-large {
	margin-bottom: 64px;
}

.op-section .op-wrap> :last-child,
.op-section .op-wrap> :last-child>.frame:last-child {
	margin-bottom: 0;
}

/* Ausrichtung aus dem RTE und den Überschriften */
.text-justify {
	text-align: justify;
}

.ce-headline-center {
	text-align: center;
}

.ce-headline-right {
	text-align: right;
}

/* Container (2/3/4 Spalten) */
.op-section .container-check>.row {
	--bs-gutter-x: 64px;
	row-gap: 40px;
}

/* Formular aus "Datensatz einfügen": eigene Überschrift ausblenden, der Abschnitt hat schon eine */
.op-section .container-check .frame-type-form_formframework>header {
	display: none;
}

.op-section .container-check .frame+.frame {
	margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Aufzählung (Element "Aufzählung")
   Ungeordnet: Leistungen als Raster mit kleiner Lupe.
   Nummeriert: Ablaufschritte.
   -------------------------------------------------------------------------- */

.op-section ul.ce-bullets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.op-section ul.ce-bullets li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 76px;
	padding: 16px 20px 16px 68px;
	border-radius: var(--op-radius);
	background: var(--op-grey);
	color: var(--op-navy);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.op-tone-op-hell ul.ce-bullets li {
	background: var(--op-paper);
}

/* kleine Lupe als Aufzählungszeichen */
.op-section ul.ce-bullets li::before {
	content: '';
	position: absolute;
	left: 22px;
	top: 50%;
	width: 22px;
	height: 22px;
	margin-top: -14px;
	border: 4px solid var(--op-cyan);
	border-radius: 50%;
	background: var(--op-paper);
}

.op-section ul.ce-bullets li::after {
	content: '';
	position: absolute;
	left: 38px;
	top: 50%;
	width: 5px;
	height: 12px;
	margin-top: 2px;
	border-radius: 3px;
	background: var(--op-cyan);
	transform: rotate(-45deg);
}

.op-tone-op-dunkel ul.ce-bullets li {
	background: var(--op-navy-2);
	color: var(--op-on-dark);
}

.op-tone-op-dunkel ul.ce-bullets li::before {
	background: var(--op-navy-2);
}

.op-section ol.ce-bullets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: op-step;
}

.op-section ol.ce-bullets li {
	counter-increment: op-step;
	font-size: 18px;
	line-height: 1.55;
}

.op-section ol.ce-bullets li::before {
	content: counter(op-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border: 4px solid var(--op-cyan);
	border-radius: 50%;
	font-family: var(--op-font-head);
	font-size: 24px;
	font-weight: 700;
	color: var(--op-navy);
}

.op-tone-op-dunkel ol.ce-bullets li {
	color: var(--op-on-dark);
}

.op-tone-op-dunkel ol.ce-bullets li::before {
	color: var(--op-on-dark);
}

/* Folge-Abschnitt mit H3 (z. B. „Weitere Leistungen“ unter dem Accordion) */
.op-section .frame>header h3:not(.spezialueberschrift) {
	margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Accordion (Container b13-accordion): dunkle Buttons, Inhalt klappt darunter auf
   -------------------------------------------------------------------------- */

.op-accordion {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin-top: 40px;
}

.op-accordion__item {
	border-radius: var(--op-radius);
	background: var(--op-navy);
	color: var(--op-on-dark);
	overflow: hidden;
	scroll-margin-top: calc(var(--op-header-h) + 16px);
}

.op-accordion__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 76px;
	padding: 18px 24px;
	list-style: none;
	font-family: var(--op-font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--op-on-dark);
	cursor: pointer;
	user-select: none;
	transition: background-color 150ms ease;
}

/* FAQ: Frage als H3 im Button, sieht aus wie der Button-Text */
.op-page .op-accordion__question {
	margin: 0;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

.op-accordion__button::-webkit-details-marker {
	display: none;
}

.op-accordion__button:hover {
	background: var(--op-navy-2);
}

.op-accordion__button:focus-visible {
	outline: 3px solid var(--op-cyan);
	outline-offset: -3px;
}

.op-accordion__button .bi {
	flex: 0 0 auto;
	font-size: 20px;
	color: var(--op-paper);
	transition: transform 200ms ease;
}

.op-accordion__item[open] .op-accordion__button .bi {
	transform: rotate(45deg);
}

.op-accordion__item[open] .op-accordion__button {
	background: var(--op-navy-2);
}

.op-accordion__panel {
	padding: 24px 24px 28px;
	font-size: 19px;
	line-height: 1.6;
	color: var(--op-on-dark);
}

.op-accordion__panel p,
.op-accordion__panel li {
	color: var(--op-on-dark);
}

@media (max-width: 575.98px) {
	.op-accordion__panel {
		padding: 20px 20px 24px;
		font-size: 18px;
	}
}

.op-accordion__panel> :last-child,
.op-accordion__panel>[itemprop="text"]> :last-child {
	margin-bottom: 0;
}

.op-accordion__panel h3,
.op-accordion__panel h4,
.op-accordion__panel strong {
	color: var(--op-on-dark);
}

.op-accordion__panel a {
	color: var(--op-cyan);
}

.op-accordion__panel a:hover {
	color: var(--op-on-dark);
}

.op-accordion__panel ul li::marker {
	color: var(--op-cyan);
}

@media (prefers-reduced-motion: reduce) {

	.op-accordion__button,
	.op-accordion__button .bi {
		transition: none;
	}
}

/* Listen im Fließtext */
.op-section .ce-bodytext ul,
.op-section .ce-bodytext ol,
.op-section .frame-type-text ul,
.op-section .frame-type-text ol {
	padding-left: 22px;
	margin: 0 0 16px;
}

.op-section .ce-bodytext li+li,
.op-section .frame-type-text li+li {
	margin-top: 6px;
}

.op-section .ce-bodytext ul li::marker,
.op-section .frame-type-text ul li::marker {
	color: var(--op-cyan);
}

/* --------------------------------------------------------------------------
   Bilder (Text & Medien, Bilder)
   -------------------------------------------------------------------------- */

.op-page .ce-gallery img,
.op-page .ce-gallery picture {
	border-radius: var(--op-radius);
}

.op-page .ce-gallery img {
	width: 100%;
	height: auto;
}

.op-page .ce-gallery figure {
	margin-bottom: 0;
}

.op-page .ce-gallery figure.image>a {
	display: block;
}

.op-page .ce-gallery figcaption {
	padding-top: 8px;
	font-size: 14px;
	color: var(--op-muted);
}

.op-page .ce-gallery a.lightbox {
	cursor: zoom-in;
}

.op-page .ce-gallery a.lightbox img {
	transition: opacity 150ms ease;
}

.op-page .ce-gallery a.lightbox:hover img {
	opacity: 0.9;
}

/* Copyright-Hinweis aus dem FSC-Override (Media/Rendering/Image) */
.op-page .ce-gallery figure.image {
	position: relative;
}

.op-page .ce-gallery .copyright {
	right: 10px;
	bottom: 10px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(19, 41, 61, 0.7);
	color: var(--op-on-dark);
	font-size: 13px;
	line-height: 26px;
	text-align: center;
}

/* Galerien mit mehreren Spalten als Raster (statt fester Bildbreiten aus FSC) */
.op-section .ce-gallery[data-ce-columns="2"],
.op-section .ce-gallery[data-ce-columns="3"],
.op-section .ce-gallery[data-ce-columns="4"],
.op-section .ce-gallery[data-ce-columns="5"],
.op-section .ce-gallery[data-ce-columns="6"] {
	float: none;
	width: 100%;
}

.op-section .ce-gallery[data-ce-columns] .ce-outer,
.op-section .ce-gallery[data-ce-columns] .ce-inner {
	float: none;
	right: auto;
}

.op-section .ce-gallery[data-ce-columns="2"] .ce-inner,
.op-section .ce-gallery[data-ce-columns="3"] .ce-inner,
.op-section .ce-gallery[data-ce-columns="4"] .ce-inner,
.op-section .ce-gallery[data-ce-columns="5"] .ce-inner,
.op-section .ce-gallery[data-ce-columns="6"] .ce-inner {
	display: grid;
	grid-template-columns: repeat(var(--op-cols), minmax(0, 1fr));
	gap: 16px;
}

.op-section .ce-gallery[data-ce-columns="2"] {
	--op-cols: 2;
}

.op-section .ce-gallery[data-ce-columns="3"] {
	--op-cols: 3;
}

.op-section .ce-gallery[data-ce-columns="4"] {
	--op-cols: 4;
}

.op-section .ce-gallery[data-ce-columns="5"] {
	--op-cols: 5;
}

.op-section .ce-gallery[data-ce-columns="6"] {
	--op-cols: 6;
}

.op-section .ce-gallery[data-ce-columns] .ce-inner>.ce-row {
	display: contents;
}

.op-section .ce-gallery[data-ce-columns] .ce-column {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.op-section .ce-gallery[data-ce-columns] .ce-row {
	margin-bottom: 0;
}

/* Mehrspaltige Galerien: alle Bilder gleich hoch (Querformat 4:3, Ausschnitt mittig) */
.op-section .ce-gallery[data-ce-columns="2"] img,
.op-section .ce-gallery[data-ce-columns="3"] img,
.op-section .ce-gallery[data-ce-columns="4"] img,
.op-section .ce-gallery[data-ce-columns="5"] img,
.op-section .ce-gallery[data-ce-columns="6"] img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

@media (max-width: 767.98px) {

	.op-section .ce-gallery[data-ce-columns="3"],
	.op-section .ce-gallery[data-ce-columns="4"],
	.op-section .ce-gallery[data-ce-columns="5"],
	.op-section .ce-gallery[data-ce-columns="6"] {
		--op-cols: 2;
	}

	.op-section .ce-gallery[data-ce-columns] .ce-inner {
		gap: 8px;
	}
}

/* --------------------------------------------------------------------------
   Tabellen, Zitat, Marker
   -------------------------------------------------------------------------- */

.op-page table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.op-page th,
.op-page td {
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--op-line);
	text-align: left;
	vertical-align: top;
}

.op-page blockquote {
	margin: 24px 0;
	padding-left: 20px;
	border-left: 4px solid var(--op-cyan);
	font-size: 20px;
	color: var(--op-navy);
}

.op-page .marker-yellow,
.op-page mark {
	background: rgba(18, 184, 234, 0.22);
	color: inherit;
	padding: 0 2px;
}

.op-page p.lead {
	font-size: 21px;
	line-height: 1.55;
}

.op-page .text-klein {
	font-size: 15px;
	color: var(--op-muted);
}

.op-page .bi {
	line-height: 1;
	vertical-align: -0.125em;
}

.op-section .frame-type-text .bi,
.op-section .ce-bodytext .bi {
	color: var(--op-cyan-text);
	margin-right: 4px;
}

.op-tone-op-dunkel .frame-type-text .bi {
	color: var(--op-cyan);
}

/* --------------------------------------------------------------------------
   Formular (EXT:form)
   -------------------------------------------------------------------------- */

.op-page .form-control,
.op-page .form-select {
	padding: 13px 16px;
	border: 1px solid #B3C9D5;
	border-radius: 12px;
	background-color: var(--op-paper);
	font-size: 17px;
}

.op-page .form-control:focus,
.op-page .form-select:focus,
.op-page .form-check-input:focus {
	border-color: var(--op-cyan-text);
	box-shadow: 0 0 0 4px rgba(18, 184, 234, 0.25);
}

.op-page .form-label,
.op-page .frame-type-form_formframework label {
	font-size: 16px;
	font-weight: 600;
	color: var(--op-navy);
}

.op-page .form-check-input:checked {
	background-color: var(--op-navy);
	border-color: var(--op-navy);
}

.op-page .frame-type-form_formframework {
	padding: 40px;
	border-radius: 24px;
	background: var(--op-paper);
	box-shadow: 0 20px 50px rgba(19, 41, 61, 0.08);
}

@media (max-width: 575.98px) {
	.op-page .frame-type-form_formframework {
		padding: 24px;
	}
}

/* --------------------------------------------------------------------------
   2-Klick-Karte
   -------------------------------------------------------------------------- */

.op-page .privacy-msg {
	padding: 24px;
	background: var(--op-grey);
	border-radius: var(--op-radius);
	font-size: 15px;
}

.op-page .privacy-msg .btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--op-navy);
	color: var(--op-on-dark);
	font-weight: 700;
}

.op-page iframe {
	max-width: 100%;
	border: 0;
	border-radius: var(--op-radius);
}

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */

.op-footer {
	padding: 72px 0 32px;
	background: var(--op-navy);
	color: var(--op-on-dark-muted);
	font-size: 16px;
	line-height: 1.6;
}

.op-footer__top {
	display: flex;
	gap: 56px;
	padding-bottom: 48px;
}

.op-footer__top picture {
	flex: 0 0 auto;
	line-height: 0;
}

.op-footer__logo {
	width: 120px;
	height: auto;
}

.op-footer__grid {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px 48px;
}

.op-footer__grid .frame {
	margin: 0;
}

.op-footer h2,
.op-footer h3,
.op-footer h4 {
	margin: 0 0 12px;
	font-family: var(--op-font-head);
	font-size: 18px;
	font-weight: 700;
	color: var(--op-on-dark);
}

.op-footer p {
	margin: 0 0 6px;
}

.op-footer a {
	color: var(--op-on-dark);
}

.op-footer a:hover {
	color: var(--op-cyan);
}

.op-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--op-line-dark);
	font-size: 14px;
}

.op-footer__base a {
	text-decoration: none;
}

.op-footer__base a:hover {
	text-decoration: underline;
}

@media (max-width: 767.98px) {
	.op-footer__top {
		flex-direction: column;
		gap: 32px;
	}

	.op-footer__logo {
		width: 96px;
	}
}

/* Lightbox */
.sl-overlay {
	background: var(--op-navy);
	opacity: 0.94;
}

.sl-wrapper .sl-close,
.sl-wrapper .sl-navigation button,
.sl-wrapper .sl-counter {
	color: var(--op-on-dark);
}

@media print {

	.op-header,
	.op-menu-toggle,
	.op-offcanvas-backdrop {
		display: none;
	}

	.op-hero,
	.op-tone-op-dunkel,
	.op-footer {
		background: none;
		color: #000;
	}
}