/*
 Theme Name:   Customized Child Theme
 Theme URI:    http://www.projektview.com
 Description:  Child Theme
 Author:       Black Garage
 Author URI:   http://www.projektview.de
 Template:     generatepress
 Version:      7.3.0
*/





/* ---------------------------------
      FONTS
   --------------------------------- */

@font-face {
    font-family: 'base';
    src: url('/wp-content/uploads/webfonts/InstrumentSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bold';
    src: url('/wp-content/uploads/webfonts/InstrumentSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'title';
    src: url('/wp-content/uploads/webfonts/InstrumentSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'black';
    src: url('/wp-content/uploads/webfonts/InstrumentSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'mono';
    src: url('/wp-content/uploads/webfonts/inconsolata-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}










/* ---------------------------------
      VARIABLES
      Farben kommen aus den globalen Farben von GP (Customizer > Farben).
      Pro Projekt anlegen: contrast, base, ci, cilight, textlight, cierror, bglight, ciwa
   --------------------------------- */

:root {
	/* fonts */
	--fbase: 'base', sans-serif;
	--fbold: 'bold', sans-serif;
	--fblack: 'black', sans-serif;
	--ftitle: 'title', sans-serif;
	--fmono: 'mono', monospace;

	/* schriftgrößen: fließend von 375px bis 1300px Fensterbreite */
	--fs-h1: clamp(2rem, 1.392rem + 2.595vw, 3.5rem);             /* 32 → 56px */
	--fs-h2: clamp(1.875rem, 1.419rem + 1.946vw, 3rem);           /* 30 → 48px */
	--fs-h3: clamp(1.5rem, 1.348rem + 0.649vw, 1.875rem);         /* 24 → 30px */
	--fs-h4: clamp(1.125rem, 1.024rem + 0.432vw, 1.375rem);       /* 18 → 22px */

	--fs-h1-xl: clamp(3rem, 0.973rem + 8.649vw, 8rem);            /* 48 → 128px (Hero) */
	--fs-h2-xl: clamp(2.5rem, 5.2vw, 5rem);                   /* 40 → 80px, voll ab 1540px */
	--fs-h3-xl: clamp(1.875rem, 1.419rem + 1.946vw, 3rem);        /* 30 → 48px */
	--fs-h4-xl: clamp(1.25rem, 1.047rem + 0.865vw, 1.75rem);      /* 20 → 28px */

	--fs-base: clamp(1rem, 0.975rem + 0.108vw, 1.0625rem);        /* 16 → 17px */
	--fs-base-xl: clamp(1.125rem, 1.074rem + 0.216vw, 1.25rem);   /* 18 → 20px */
	--fs-small: .875rem;                                           /* 14px fest */
	--fs-display: clamp(2.5rem, 1.689rem + 3.459vw, 4.5rem);      /* 40 → 72px */

	/* breiten */
	--outer: 1920px;
	--inner: 1920px;        /* volle Breite (v2), wie --outer */
	--inner-xl: 1600px;
	--inner-xs: 900px;

	/* abstände: fließend von 375px bis 1300px Fensterbreite */
	--inner-pad: clamp(1rem, .645rem + 1.514vw, 1.875rem);    /* 16 → 30px */
	--section-pad: clamp(4.5rem, 3.081rem + 6.054vw, 8rem);   /* 72 → 128px */
	--flexbox-gap: 20px;
	--flexbox-pad: clamp(.9375rem, .304rem + 2.703vw, 2.5rem);    /* 15 → 40px */

	/* komponenten */
	--logo-w: 125px;
	--logo-w-sticky: 100px;
	--radius: 999px;        /* Buttons und Pillen: immer voll abgerundet */
	--radius-s: 0px;       /* Karten, Bilder, Formularboxen */
	--ease: .2s ease;
	--border: 1px solid #ebebeb;
	/* statusfarben: Ampel, Hinweise */
	--ok: #64e95f;
	--warn: #f5c542;
	--alert: #ff5a4f;
	--alert-dark: #c4322a;
	 /* myadmin business hours */
	--status-open: #64e95f;
	--status-closed: #9a948d;
	--info: #2b7cd3;        /* neutrale Hinweise, z. B. Rückruf-Kachel */

	/* icons als Maske, Farbe kommt über currentColor */
	--icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6'/%3E%3C/svg%3E");
}










/* ---------------------------------
      PRESETS
   --------------------------------- */

/* kein horizontales Scrollen; clip statt hidden, damit position: sticky funktioniert */
html,
body {
	overflow-x: clip;
}

/* keine künstlich verfetteten Schriften: jede Stärke ist eine eigene Familie */
html {
	font-synthesis-weight: none;
}

body {
	position: relative;
	font-family: var(--fbase);
	font-size: var(--fs-base);
}

a:link,
a:visited {
	color: var(--contrast);
	text-decoration: none;
	transition: color var(--ease);
}

a:hover,
a:active {
	color: var(--ci);
}

/* weiches Scrollen zu Sprungmarken, nicht bei reduzierter Bewegung */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

button,
input[type="submit"] {
	transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

/* fokus nur bei Tastaturbedienung zeigen */
:focus:not(:focus-visible) {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--ci);
	outline-offset: 2px;
}

.entry-content {
	padding: 0;
	margin: 0;
}

em {
	font-style: normal;
}

p {
	margin-bottom: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: normal;
	font-family: var(--ftitle);
	margin-top: 0;
	margin-bottom: 0;
}

h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }

.widget-title {
	margin-bottom: 0;
}

strong,
b {
	font-family: var(--fbold);
	font-weight: normal;
}

figcaption {
	color: var(--ci);
	font-size: .8em;
}

ul,
ol {
	margin: 0;
}

ul.menu {
	list-style-type: none;
}

ul.menu li,
.widget ul li {
	margin: 0;
}

.widget ul li {
	padding: 0;
}

/* lange Mail-Adressen dürfen umbrechen */
a[href^="mailto:"] {
	overflow-wrap: anywhere;
}



/* cta: p.cta mit einem oder mehreren Button-Links
   Variante per Klasse am Link: dark, light, ghost, outline (ohne Klasse: CI-Farbe) */
.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.cta a:link,
.cta a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 32px;
	background-color: var(--ci);
	border: 1px solid var(--ci);
	border-radius: var(--radius);
	font-family: var(--ftitle);
	line-height: 1.2;
	/*color: #fff;*/
	color: var(--contrast);
	text-decoration: none !important;
	transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}

.cta a:hover,
.cta a:active,
.cta a:focus-visible {
	background-color: var(--contrast);
	border-color: var(--contrast);
	color: #fff;
}

/* pfeil nach rechts oben */
.cta a::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
	transition: transform var(--ease);
}

.cta a:hover::after,
.cta a:focus-visible::after {
	transform: translate(2px, -2px);
}

/* dark: dunkel auf hellem Grund */
.cta a.dark:link,
.cta a.dark:visited {
	background-color: var(--contrast);
	border-color: var(--contrast);
	color: #fff;
}

.cta a.dark:hover,
.cta a.dark:active,
.cta a.dark:focus-visible {
	background-color: var(--base);
	color: var(--contrast);
}

/* light: weiß auf dunklem Grund */
.cta a.light:link,
.cta a.light:visited {
	background-color: #fff;
	border-color: #fff;
	color: var(--contrast);
}

.cta a.light:hover,
.cta a.light:active,
.cta a.light:focus-visible {
	background-color: transparent;
	color: #fff;
}

/* ghost: dunkel mit weißem Rahmen, zweiter Button auf dunklem Grund */
.cta a.ghost:link,
.cta a.ghost:visited {
	background-color: var(--contrast);
	border-color: #fff;
	color: #fff;
}

.cta a.ghost:hover,
.cta a.ghost:active,
.cta a.ghost:focus-visible {
	background-color: #fff;
	color: var(--contrast);
}

/* outline: nur Rahmen auf hellem Grund */
.cta a.outline:link,
.cta a.outline:visited {
	background-color: transparent;
	border-color: var(--contrast);
	color: var(--contrast);
}

.cta a.outline:hover,
.cta a.outline:active,
.cta a.outline:focus-visible {
	background-color: var(--contrast);
	color: #fff;
}

/* CTA-Buttons in einer Liste: gleich breit, gleich hoch */
.cta > ul {
	flex: 1 1 100%;
}

.cta ul {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cta ul li {
	margin: 0;
}

.cta ul a:link,
.cta ul a:visited {
	display: flex;
	height: 100%;
	text-align: center;
}

@media (width <= 1024px) {
	.cta ul {
		grid-auto-flow: row;
	}
}

@media (width <= 767px) {
	.cta a:link,
	.cta a:visited {
		width: 100%;
		text-align: center;
	}
}

/* mobil weniger Innenabstand, damit längere Button-Texte nicht dreizeilig werden */
@media (width <= 767px) {
	.cta a:link,
	.cta a:visited {
		padding-inline: 20px;
	}
}




/* error and search */
#gp-search.gp-modal .search-modal-form {
	border-radius: var(--radius-s);
}

body.error404 main#main {
	max-width: 1060px;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
}

body.error404 main#main h1 {
	font-size: var(--fs-h3);
	font-family: var(--fbold);
	margin-block: 60px;
	color: var(--ci);
}

body.error404 main#main .inside-article .entry-content a {
	display: inline-block;
	padding: 5px 40px;
	background-color: var(--contrast);
	color: #fff;
	border: 1px solid var(--contrast);
	border-radius: var(--radius);
}

body.error404 main#main .inside-article .entry-content a:link,
body.error404 main#main .inside-article .entry-content a:visited {
	background-color: var(--contrast);
	color: #fff;
}

body.error404 main#main .inside-article .entry-content a:hover,
body.error404 main#main .inside-article .entry-content a:active,
body.error404 main#main .inside-article .entry-content a:focus-visible {
	background-color: #fff;
	color: var(--contrast);
}

body.search main#main {
	max-width: 1060px;
	margin: 0 auto;
	padding: 20px;
}

body.search header.page-header h1.page-title {
	font-size: var(--fs-h4);
	padding-bottom: 30px;
	color: var(--textlight);
}

body.search article {
	padding-top: 30px;
	padding-bottom: 30px;
	margin: 0 30px;
	border-bottom: var(--border);
}

body.search article h2.entry-title {
	font-size: var(--fs-h3);
	padding-bottom: 20px;
}

body.search article .post-image {
	display: block;
	margin: 0 auto;
	padding-bottom: 30px;
	width: 200px;
	max-width: 100%;
}

body.search article .post-image img.wp-post-image {
	width: 200px;
	height: 200px;
	display: block;
	margin: 0 auto;
	object-fit: cover;
	max-width: 100%;
	border-radius: 50%;
}

.post-password-form {
	max-width: var(--inner);
	margin: 0 auto;
	padding: 40px var(--inner-pad);
}



/* mobil und tablet */
@media (width <= 1024px) {
	h1, h2, h3, h4,
	body.single-post #content article h1.entry-title {
		-webkit-hyphens: auto;
		hyphens: auto;
		hyphenate-limit-chars: 10 4 4;
		overflow-wrap: break-word;
		text-wrap: balance;
	}

	/* Fließtext: keine einzelnen Wörter in der letzten Zeile */
	.entry-content p,
	.entry-content li {
		text-wrap: pretty;
	}

}



/* sichtbarkeit: .mobile nur bis 1024px, .desktop nur ab 1025px */
@media (width <= 1024px) {
	.desktop {
		display: none !important;
	}
}

@media (width > 1024px) {
	.mobile {
		display: none !important;
	}
}



/* reduzierte Bewegung für alle Animationen und Übergänge */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}










/* container und sektionen */

.inner    { --row-w: var(--inner); }
.inner-xs { --row-w: var(--inner-xs); }
.inner-xl { --row-w: var(--inner-xl); }

/* SiteOrigin setzt die Zellenbreite per ID-Selektor, deshalb !important */
:is(.inner, .inner-xs, .inner-xl) > .panel-grid-cell {
	width: var(--row-w) !important;
	max-width: 100%;
	margin: 0 auto;
	padding-inline: var(--inner-pad);
}

/* SiteOrigin setzt das Zeilen-Padding per ID-Selektor, deshalb !important */
.section {
	padding-block: var(--section-pad) !important;
}

.section-top {
	padding-top: var(--section-pad) !important;
}

.section-bottom {
	padding-bottom: var(--section-pad) !important;
}

.section-border {
	border-bottom: var(--border);
}

/* dunkle Sektion: Row-Klasse .section-dark */
.section-dark {
	background-color: var(--contrast);
	color: #fff;
}

.section-dark :is(h1, h2, h3, h4) {
	color: #fff;
}

.section-dark p:not(.eyebrow, .lead) {
	color: rgba(255, 255, 255, .7);
}

.section-dark a:not(.button) {
	color: #fff;
}



/* dunkle Box: Widget-Klasse .box-dunkel, für jedes Widget mit eigener Box nutzbar
   (Buttons darin mit der Variante "light") */
.panel-widget-style.box-dunkel {
	background-color: var(--contrast);
	color: rgba(255, 255, 255, .75);
}

.panel-widget-style.box-dunkel :is(h1, h2, h3, h4) {
	color: #fff;
}

.panel-widget-style.box-dunkel p:not(.cta) {
	color: rgba(255, 255, 255, .75);
}

.panel-widget-style.box-dunkel p:not(.cta) a:link,
.panel-widget-style.box-dunkel p:not(.cta) a:visited {
	color: #fff;
}

.panel-widget-style.box-dunkel p:not(.cta) a:hover,
.panel-widget-style.box-dunkel p:not(.cta) a:focus-visible {
	color: var(--cilight);
}


/* outline-Buttons werden in der dunklen Box automatisch hell */
.panel-widget-style.box-dunkel .cta a.outline:link,
.panel-widget-style.box-dunkel .cta a.outline:visited {
	border-color: #fff;
	color: #fff;
}

.panel-widget-style.box-dunkel .cta a.outline:hover,
.panel-widget-style.box-dunkel .cta a.outline:active,
.panel-widget-style.box-dunkel .cta a.outline:focus-visible {
	background-color: #fff;
	border-color: #fff;
	color: var(--contrast);
}




/* CI-farbene Box: Widget-Klasse .box-highlight, Gegenstück zu .box-dunkel */
.panel-widget-style.box-highlight {
	background-color: var(--cierror);
	color: rgba(255, 255, 255, .85);
}

.panel-widget-style.box-highlight :is(h1, h2, h3, h4) {
	color: #fff;
}

.panel-widget-style.box-highlight p:not(.cta) {
	color: rgba(255, 255, 255, .85);
}

.panel-widget-style.box-highlight p:not(.cta) a:link,
.panel-widget-style.box-highlight p:not(.cta) a:visited {
	color: #fff;
}

.panel-widget-style.box-highlight p:not(.cta) a:hover,
.panel-widget-style.box-highlight p:not(.cta) a:focus-visible {
	color: var(--cilight);
}

.panel-widget-style.box-highlight .cta a.outline:link,
.panel-widget-style.box-highlight .cta a.outline:visited {
	border-color: #fff;
	color: #fff;
}

.panel-widget-style.box-highlight .cta a.outline:hover,
.panel-widget-style.box-highlight .cta a.outline:active,
.panel-widget-style.box-highlight .cta a.outline:focus-visible {
	background-color: #fff;
	border-color: #fff;
	color: var(--contrast);
}

/* hervorgehobener Text in dunklen Boxen etwas zurücknehmen */
.panel-widget-style.box-dunkel em {
	color: rgba(255, 255, 255, .65);
}


/* hervorgehobener Text und Dachzeilen-Linie in CI-Boxen */
.panel-widget-style.box-highlight em {
	color: rgba(255, 255, 255, .75);
}

.panel-widget-style.box-highlight hgroup p.eyebrow::after {
	background-color: rgba(255, 255, 255, .6);
}



/* GP-Footer-Widgets: Flex-Items dürfen schmaler werden als ihr Inhalt */
.inside-footer-widgets > div {
	min-width: 0;
}







/* ---------------------------------
      FLEXBOXES
   --------------------------------- */

/* basis: ab Desktop nebeneinander, gleich breit */
@media (width > 1024px) {
	.flexbox > .panel-grid-cell,
	.flex-container {
		display: flex;
		gap: var(--flexbox-gap);
	}

	.flexbox > .panel-grid-cell > .so-panel,
	.flex-item {
		flex: 1;
		min-width: 0;
		padding: var(--flexbox-pad);
	}

	.flexbox > .panel-grid-cell > .so-panel {
		margin-bottom: 0 !important; /* SiteOrigin setzt den Widget-Abstand per ID-Selektor, gap übernimmt */
	}

	/* Fluchtlinie: kein Außenabstand am Anfang und Ende einer Reihe */
	.flexbox > .panel-grid-cell > .so-panel:first-child,
	.flex-container > .flex-item:first-child,
	.flexbox-head > .panel-grid-cell > .so-panel:nth-child(2),
	.flex-container.flexbox-head > .flex-item:nth-child(2) {
		padding-left: 0;
	}

	.flexbox > .panel-grid-cell > .so-panel:last-child,
	.flex-container > .flex-item:last-child,
	.flexbox-head > .panel-grid-cell > .so-panel:first-child,
	.flex-container.flexbox-head > .flex-item:first-child {
		padding-right: 0;
	}
}

/* all-media: auf allen Bildschirmbreiten nebeneinander */
.flexbox-all-media > .panel-grid-cell,
.flex-container.flexbox-all-media {
	display: flex;
	gap: var(--flexbox-gap);
}

.flexbox-all-media > .panel-grid-cell > .so-panel,
.flexbox-all-media > .flex-item {
	flex: 1;
	min-width: 0;
	margin-bottom: 0 !important;
}

/* head: erste Box über volle Breite, Rest teilt sich die Zeile darunter */
.flexbox-head > .panel-grid-cell,
.flex-container.flexbox-head {
	flex-wrap: wrap;
}

.flexbox-head > .panel-grid-cell > .so-panel:first-child,
.flex-container.flexbox-head > .flex-item:first-child {
	flex: 0 0 100%;
}

/* center: Boxen vertikal mittig zueinander */
@media (width > 1024px) {
	.flexbox-center > .panel-grid-cell {
		align-items: center;
	}
}

/* cards: Row-Klasse .flexbox-cards zusätzlich zu .flexbox
   Boxen ohne Innenabstand, Abstand nur über gap (auch mobil),
   die Widget-Klasse (.panel-widget-style) füllt die volle Höhe */
.flexbox-cards > .panel-grid-cell {
	display: grid;
	gap: var(--flexbox-gap);
}

.flexbox.flexbox-cards > .panel-grid-cell > .so-panel {
	display: flex;
	flex-direction: column;
	padding: 0;
	margin-bottom: 0 !important;
}

.flexbox-cards > .panel-grid-cell > .so-panel > .panel-widget-style {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.flexbox-cards > .panel-grid-cell > .so-panel > .panel-widget-style > .textwidget {
	flex: 1;
	display: flex;
	flex-direction: column;
}

@media (width > 1024px) {
	.flexbox-cards > .panel-grid-cell {
		display: flex;
	}
}









/* =================================================
   MYADMIN BUSINESS HOURS [my-erreichbar]
   ================================================= */
.my-erreichbar {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	line-height: 1.3;
	white-space: nowrap;
}

.my-erreichbar__dot {
	flex: 0 0 auto;
	width: .55em;
	height: .55em;
	border-radius: 50%;
	background: var(--status-closed, #9a948d);
	visibility: hidden;
}

.my-erreichbar.is-ready .my-erreichbar__dot {
	visibility: visible;
}

.my-erreichbar__dot {
	position: relative;
}

.my-erreichbar.is-open .my-erreichbar__dot {
	background: var(--status-open, #2e9e4f);
}

/* puls als Ring mit transform und opacity, kein Neuzeichnen pro Bild */
.my-erreichbar.is-open .my-erreichbar__dot::after {
	content: "";
	position: absolute;
	inset: -.2em;
	border: .2em solid color-mix(in srgb, var(--status-open, #2e9e4f) 25%, transparent);
	border-radius: 50%;
	animation: my-erreichbar-puls 2.4s ease-in-out infinite;
}

@keyframes my-erreichbar-puls {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.3); opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
	.my-erreichbar.is-open .my-erreichbar__dot::after {
		animation: none;
	}
}




/* ---------------------------------
      ARVE VIDEOS *refactored
   --------------------------------- */

.video-wrap {
	margin-block: 30px;
}

.video-hinweis {
	margin: 8px 0 0;
	font-size: .8em;
	color: var(--textlight, #6b6b6b);
	transition: opacity .3s ease;
}

/* nur Devices mit echtem Hover blenden aus, alle anderen zeigen dauerhaft */
@media (hover: hover) {
	.video-wrap .video-hinweis {
		opacity: 0;
	}

	.video-wrap:hover .video-hinweis,
	.video-wrap:focus-within .video-hinweis {
		opacity: 1;
	}
}










/* ---------------------------------
      HEADER
   --------------------------------- */

.site-header {
	max-width: var(--outer);
	margin-inline: auto;
	background-color: var(--base);
}

.site-header .inside-header {
	padding-block: 10px;
	padding-inline: var(--inner-pad);
	border-bottom: var(--border);
}



/* GP top bar widget */
.top-bar {
	border-bottom: var(--border);
	color: var(--textlight);
}

.top-bar .inside-top-bar {
	padding-inline: var(--inner-pad);
}

.top-bar .widget p {
	margin-bottom: 0;
}

.top-bar .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
	margin: 0;
	padding: 0;
}

/* Menü folgt der Ausrichtung aus dem Customizer */
.top-bar-align-right .menu {
	justify-content: flex-end;
}

.top-bar-align-center .menu {
	justify-content: center;
}

.top-bar a:link,
.top-bar a:visited {
	color: inherit;
}

.top-bar a:hover,
.top-bar a:active,
.top-bar a:focus-visible {
	color: var(--ci);
}


/* Preheader mit SiteOrigin-Layout: erstes Menü (Kontakt) links, zweites rechts */
.top-bar .inside-top-bar > .widget_siteorigin-panels-builder {
	flex: 1;
}

.top-bar .panel-grid-cell {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 4px 24px;
}

/* SiteOrigin und .flexbox setzen Abstände per ID- bzw. Row-Selektor, deshalb so spezifisch.
   GP verschiebt bei Ausrichtung "rechts" Widgets per order und margin-left. */
.top-bar .panel-grid-cell > .so-panel {
	flex: 0 1 auto;
	order: 0;
	margin-inline: 0;
	margin-bottom: 0 !important;
	padding: 0;
}

.top-bar .panel-grid-cell > .so-panel:first-child .menu {
	justify-content: flex-start;
}

/* mobil nur die Kontaktdaten, die übrigen Links stehen im Footer */
@media (width <= 767px) {
	.top-bar .panel-grid-cell > .so-panel:not(:first-child) {
		display: none;
	}
}

@media (width <= 1024px) {
	.top-bar-align-right .widget:first-child {
		margin-left: 0;
	}
}



/* GP: grauen Hintergrund des Hamburger-Buttons entfernen */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
	background-color: transparent;
}



/* logo */
.site-header .site-logo a {
	display: block;
}

.site-header .site-logo img {
	display: block;
	width: var(--logo-w);
	height: auto;
}



/* navi */
.main-navigation .main-nav ul li a {
	font-family: var(--fbold);
	font-size: .85rem;
	transition: color var(--ease), background-color var(--ease);
}

.main-navigation .main-nav ul ul li a {
	font-family: var(--fbase);
}

.main-navigation a:focus-visible,
.menu-toggle:focus-visible {
	outline: 2px solid var(--ci);
	outline-offset: -2px;
}



/* untermenü der Hauptnavigation: weiße Fläche, gut klickbare Punkte
   (GP setzt die Höhe per Customizer auf 0, deshalb .site-header davor) */
.site-header .main-navigation ul ul {
	padding-block: 8px;
	border: var(--border);
	background-color: var(--base);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.site-header .main-navigation .main-nav ul ul li a {
	padding: 10px 20px;
	font-size: .9375rem;
	line-height: 1.4;
	color: var(--contrast);
}

.site-header .main-navigation .main-nav ul ul li a:hover,
.site-header .main-navigation .main-nav ul ul li a:focus-visible,
.site-header .main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
	background-color: var(--bglight);
	color: var(--ci);
}



/* navi cta: Menüpunkt mit CSS-Klasse "navi-cta" */
.main-navigation .main-nav ul li.navi-cta > a {
	margin-left: 10px;
	padding-inline: 30px;
	border-radius: var(--radius);
	line-height: 2.4;
	background-color: var(--contrast);
	color: #fff;
	border: 1px solid transparent;
}

.main-navigation .main-nav ul li.navi-cta > a:hover,
.main-navigation .main-nav ul li.navi-cta > a:active,
.main-navigation .main-nav ul li.navi-cta > a:focus-visible {
	background-color: transparent;
	color: var(--contrast);
	border: 1px solid var(--contrast);
}

.main-navigation .main-nav ul li.navi-cta > a::after {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	margin-left: 10px;
	vertical-align: -1px;
	background-color: currentColor;
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
}

.main-navigation .main-nav ul li.navi-cta {
	display: flex;
	align-items: center;
}



/* nur im Off-Canvas: Menüpunkt mit CSS-Klasse "slideout" */
.main-navigation:not(.slideout-navigation) .menu-item.slideout {
	display: none;
}



/* sticky navi */
#sticky-navigation {
	background-color: var(--base);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

#sticky-navigation .inside-navigation {
	padding: 5px 20px;
}

#sticky-navigation .sticky-navigation-logo img {
	display: block;
	width: var(--logo-w-sticky);
	height: auto;
}

#sticky-navigation .main-nav ul li a {
	font-size: .875rem;
}



/* off-canvas */
#generate-slideout-menu .main-nav ul li a {
	padding-block: 10px;
	padding-inline: 20px;
	line-height: 1.6;
}

#generate-slideout-menu .main-nav ul li.navi-cta {
	display: block;
	margin-top: 16px;
	padding: 20px 20px 0;
	border-top: var(--border);
}

/* im Slideout ruhiger als im Header: nur Rahmen, einzeilig */
#generate-slideout-menu .main-nav ul li.navi-cta > a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 12px 16px;
	line-height: 1.3;
	white-space: nowrap;
	background-color: var(--contrast);
	border-color: var(--contrast);
	color: #fff;
}

#generate-slideout-menu .main-nav ul li.navi-cta > a:hover,
#generate-slideout-menu .main-nav ul li.navi-cta > a:active,
#generate-slideout-menu .main-nav ul li.navi-cta > a:focus-visible {
	background-color: transparent;
	color: var(--contrast);
}

#generate-slideout-menu .main-nav ul li.navi-cta > a::after {
	margin-left: 8px;
}

#generate-slideout-menu .main-nav ul li.slideout-navi-logo {
	padding-top: 30px;
	padding-bottom: 20px;
}

#generate-slideout-menu .main-nav ul li.slideout-navi-logo img {
	width: 150px;
	height: auto;
}








/* ---------------------------------
      CONTENT GENERAL
   --------------------------------- */

.fs-hero {
	font-size: var(--fs-h1-xl);
	line-height: .9;
}

.titles h1 {
	padding-bottom: 30px;
	letter-spacing: -.04em;
}

.titles :is(h2, h3, h4) {
	padding-bottom: 30px;
	letter-spacing: -.05em;
}

/* große Überschriften: Row-Klasse .titles-xl */
.titles-xl h1 { font-size: var(--fs-h1-xl); line-height: .9; }
.titles-xl h2 { font-size: var(--fs-h2-xl); line-height: 1; max-width: 15ch; }
.titles-xl h3 { font-size: var(--fs-h3-xl); line-height: 1; }
.titles-xl h4 { font-size: var(--fs-h4-xl); line-height: 1.1; }

.titles em {
	color: var(--ci);
}

.ci-dot {
	color: var(--ci);
}

@media (width <= 1024px) {
	.titles h1,
	h1.entry-title {
		padding-bottom: 30px;
	}

	.titles h2 {
		padding-bottom: 30px;
	}

	.titles :is(h3, h4) {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}



/* dachzeile: hgroup mit p.eyebrow */
hgroup p.eyebrow {
	display: block;
	font-size: .8rem;
	font-family: var(--fmono);
	text-transform: uppercase;
	padding-bottom: 0;
	letter-spacing: 2px;
	color: var(--textlight);
}

hgroup p.eyebrow::after {
	content: '';
	width: 50px;
	height: 1px;
	display: inline-block;
	background-color: var(--ci);
	position: relative;
	top: -5px;
	margin-left: 10px;
}

/* Dachzeile links neben dem Inhalt: Row-Klasse .eyebrow-side */
@media (width > 1024px) {
	.eyebrow-side .textwidget {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
		column-gap: 2rem;
	}

	.eyebrow-side .textwidget > *,
	.eyebrow-side hgroup > * {
		grid-column: 2;
	}

	.eyebrow-side hgroup {
		display: contents;
	}

	.eyebrow-side hgroup > p.eyebrow {
		grid-column: 1;
		grid-row: 1;
	}

	/* Elemente mit .full-width laufen über beide Spalten */
	.eyebrow-side .textwidget > .full-width {
		grid-column: 1 / -1;
	}
}



/* Seitenkopf: Row-Klasse .page-intro */
.page-intro h1 {
	font-size: var(--fs-display);
	line-height: .95;
}



/* Lead-Text: größer, grau (TinyMCE-Format "Lead-Text") */
p.lead {
	font-size: var(--fs-base-xl);
	line-height: 1.625;
	color: var(--textlight);
	font-family: var(--fbold);
}



/* Textlink mit Pfeil, z. B. "Mehr zu …" */
p.infolink a:link,
p.infolink a:visited {
	font-family: var(--fbold);
	font-size: var(--fs-base-xl);
	color: var(--contrast);
}

p.infolink a::after {
	content: '→';
	content: '→' / '';     /* für Screenreader ausblenden */
	display: inline-block;
	padding-left: 8px;
	transition: transform var(--ease);
}

p.infolink a:hover,
p.infolink a:active,
p.infolink a:focus-visible {
	color: var(--ci);
}

p.infolink a:hover::after,
p.infolink a:focus-visible::after {
	transform: translateX(4px);
}

.section-dark p.infolink a:link,
.section-dark p.infolink a:visited {
	color: #fff;
}



/* Mailadresse unter dem CTA */
p.maillink {
	font-size: var(--fs-small);
}

p.maillink a:link,
p.maillink a:visited {
	color: var(--contrast);
}

p.maillink a:hover,
p.maillink a:active,
p.maillink a:focus-visible {
	color: var(--ci);
}



/* aufzählungen mit pfeil: Row-Klasse .listings */
.listings ul {
	list-style-type: "→\00a0\00a0";
	list-style-position: inside;
	padding-top: 30px;
	padding-bottom: 30px;
}

.listings ul li {
	margin-left: 30px;
}



/* rechtstexte: Row-Klassen .titles .legals */
.titles.legals .textwidget h2 {
	padding: 40px 0 15px;
	font-size: var(--fs-h4-xl);
	line-height: 1.25;
}

.titles.legals .textwidget h3 {
	padding: 20px 0 10px;
	font-family: var(--fbold);
	font-size: var(--fs-base-xl);
	line-height: 1.4;
	letter-spacing: 0;
}

.legals .textwidget ul {
	margin: 0 0 15px;
	padding-left: 20px;
	list-style: disc;
}

/* GP setzt .widget ul li { list-style-type: none }, deshalb am li selbst */
.legals .textwidget li {
	margin: 0 0 5px;
	padding: 0;
	list-style: disc;
}

/* lange Links und Adressen umbrechen */
.legals .textwidget p {
	overflow-wrap: anywhere;
}


/* leere Absätze, die WordPress um Shortcodes in Text-Widgets erzeugt */
.textwidget > p:empty {
	display: none;
}







/* ---------------------------------
      STARTSEITE
   --------------------------------- */

/* hero: Bento-Raster im Widget "Individuelles HTML"
   Desktop: 4 Spalten, Hero 2×2, CI-Kachel oben rechts, Zahl und Foto darunter */
#home-hero {
	padding-top: 20px;
}

.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: minmax(300px, 1fr) minmax(300px, 1fr);
	gap: var(--flexbox-gap);
	min-height: min(calc(100svh - 140px), 760px);
}

.bento > div {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	min-width: 0;
	padding: clamp(24px, 2.8vw, 44px);
	border-radius: var(--radius-s);
	overflow: hidden;
}

.bento p {
	margin: 0;
}

.bento > .bento-hero {
	grid-column: 1 / span 2;
	grid-row: 1 / span 2;
	gap: 28px;
	background-color: var(--contrast);
	color: #fff;
}

/* Dachzeile oben, Rest unten: hgroup löst sich im Flex-Container auf */
.bento-hero hgroup {
	display: contents;
}

.bento-hero hgroup p.eyebrow {
	margin-bottom: auto;
	color: rgba(255, 255, 255, .7);
}

.bento-hero h1 {
	max-width: 13ch;
	font-size: clamp(2.625rem, 5vw, 4.75rem);
	line-height: .98;
	letter-spacing: -.05em;
	color: #fff;
}

.bento-hero p.lead {
	max-width: 44ch;
	font-family: var(--fbase);
	color: rgba(255, 255, 255, .75);
}

.bento-tagline {
	font-family: var(--fmono);
	color: var(--contrast);
	font-size: var(--fs-base);
	line-height: .9;
	letter-spacing: -.05em;
}

.bento-zahl {
	grid-column: 3;
	grid-row: 2;
	border: 1px solid var(--ci);
}

.bento-nummer {
	font-family: var(--ftitle);
	font-size: clamp(3.5rem, 6vw, 6rem);
	line-height: .9;
	letter-spacing: -.05em;
}

.bento-text {
	max-width: 22ch;
	color: var(--textlight);
}

.bento > .bento-foto {
	grid-column: 3 / span 2;
	grid-row: 1;
	justify-content: center;
	align-items: center;
	padding: 0;
	background-color: var(--bglight);
	color: var(--textlight);
	text-align: center;
}

/* bild füllt die Kachel bei jeder Breite, die Höhe kommt vom Raster */
.bento-foto img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
}

.bento-ci {
	grid-column: 4;
	grid-row: 2;
	container-type: inline-size;
	border: 1px solid var(--ci);
	color: var(--contrast);
}

/* schriftgröße folgt der Boxbreite, damit lange Wörter nicht mitten im Wort brechen */
.bento-ci .bento-claim {
	max-width: 16ch;
	font-family: var(--ftitle);
	font-size: clamp(1.375rem, 12cqi, 2.75rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.bento-ci p:last-child {
	font-size: var(--fs-base);
	color: var(--textlight);
}

@media (width <= 1024px) {
	.bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto;
		min-height: 0;
	}

	.bento > .bento-hero {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 520px;
	}

	/* foto direkt unter dem Hero über die volle Breite, Zahl und Text darunter nebeneinander */
	.bento > .bento-foto {
		order: 1;
		grid-column: 1 / -1;
		grid-row: auto;
		aspect-ratio: 16 / 9;
	}

	.bento-zahl,
	.bento-ci {
		order: 2;
		grid-column: auto;
		grid-row: auto;
		min-height: 240px;
	}
}

@media (width <= 767px) {
	.bento {
		grid-template-columns: minmax(0, 1fr);
	}

	.bento > .bento-hero {
		min-height: 0;
	}

	.bento-hero .cta a:link,
	.bento-hero .cta a:visited {
		width: 100%;
		padding-inline: 20px;
	}
	
		.bento > .bento-foto {
		aspect-ratio: 4 / 3;
	}
}





/* ticker: Meldungen über der Hero, Shortcode [mt_ticker] aus dem Plugin „MAITOPIA Meldungen“.
   Doppelte Klasse, damit GeneratePress (.widget ul li, 0,1,2) nicht gewinnt. */
.mt-ticker {
	--tk-dauer: 12s;
	--tk-farbe: var(--ci);
	margin-bottom: var(--flexbox-gap);
}

.mt-ticker[data-art="allgemein"],
.mt-ticker .mt-ticker__item[data-art="allgemein"] {
	--tk-farbe: var(--status-open);
}

.mt-ticker .mt-ticker__item[data-art="sicherheit"] {
	--tk-farbe: var(--ci);
}

.mt-ticker .mt-ticker__box {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	height: 48px;
	padding: 0 4px 0 24px;
	border-radius: var(--radius-s);
	overflow: hidden;
}

.mt-ticker .mt-ticker__liste {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
	overflow: clip; /* clip: Fokus auf einem Link darf die Liste nicht verschieben */
}

.mt-ticker .mt-ticker__item {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 14.5rem minmax(0, 1fr);
	column-gap: 24px;
	align-items: center;
	margin: 0;
	opacity: 0;
	transform: translateY(100%);
	transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .5s;
}

.mt-ticker .mt-ticker__item.ist-aktiv {
	opacity: 1;
	transform: none;
}

.mt-ticker .mt-ticker__item.ist-weg {
	transform: translateY(-100%);
}

/* Platz für den Puls (Punkt × 3) links: Liste 8 px nach links erweitern, Inhalt um 8 px zurückschieben */
.mt-ticker .mt-ticker__liste {
	margin-left: -8px;
}

.mt-ticker .mt-ticker__item {
	padding-left: 8px;
}

.mt-ticker .mt-ticker__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--fmono);
	font-size: .8rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--contrast);
}

.mt-ticker .mt-ticker__trenner,
.mt-ticker .mt-ticker__datum {
	color: var(--textlight);
}

.mt-ticker .mt-ticker__dot {
	position: relative;
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--tk-farbe);
}

.mt-ticker .mt-ticker__dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-color: inherit;
	animation: mt-tk-puls 2s ease-out infinite;
}

@keyframes mt-tk-puls {
	from { transform: scale(1); opacity: .6; }
	to { transform: scale(3); opacity: 0; }
}

.mt-ticker .mt-ticker__text {
	display: block;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--contrast);
	text-decoration: none;
}

.mt-ticker a.mt-ticker__text::after {
	content: '';
	display: inline-block;
	width: .8em;
	height: .8em;
	margin-left: .35em;
	vertical-align: -.05em;
	background-color: var(--tk-farbe);
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
}

.mt-ticker a.mt-ticker__text:hover,
.mt-ticker a.mt-ticker__text:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mt-ticker .mt-ticker__steuer {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: var(--fmono);
	font-size: .8rem;
	color: var(--textlight);
}

.mt-ticker .mt-ticker__steuer[hidden] {
	display: none;
}

.mt-ticker .mt-ticker__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--contrast);
	cursor: pointer;
}

.mt-ticker .mt-ticker__btn svg {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.mt-ticker .mt-ticker__linie {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background-color: var(--tk-farbe);
	transform: scaleX(0);
	transform-origin: left;
}

.mt-ticker .mt-ticker__linie.laeuft {
	animation: mt-tk-linie var(--tk-dauer) linear forwards;
}

.mt-ticker.ist-pause .mt-ticker__linie {
	animation-play-state: paused;
}

@keyframes mt-tk-linie {
	to { transform: scaleX(1); }
}


/* Unterseiten: Ticker in eigener Zeile unter dem Header, Abstand wie auf der Startseite */
.panel-grid-cell:not(:has(.bento)) .mt-ticker {
	margin-top: var(--flexbox-gap);
	margin-bottom: 0;
}

/* Desktop: Bento um Tickerhöhe plus Abstand kürzer, damit Hero und Buttons im ersten Bildschirm bleiben.
   Greift, wenn der Ticker vor dem Bento steht, im selben oder in einem eigenen Widget. */
@media (min-width: 1025px) {
	.mt-ticker + .bento,
	.panel-grid-cell:has(.mt-ticker) .bento {
		min-height: min(calc(100svh - 208px), 692px);
	}
}

/* Tablet und mobil: oben Label und Steuerung, darunter die Meldung auf bis zu zwei Zeilen */
@media (max-width: 1024px) {
	.mt-ticker .mt-ticker__box {
		align-items: start;
		height: 104px;
		padding: 0 4px 0 16px;
	}

	.mt-ticker .mt-ticker__liste {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.mt-ticker .mt-ticker__item {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 44px auto;
		align-items: start;
	}

	.mt-ticker .mt-ticker__label {
		align-self: center;
		font-size: .75rem;
		letter-spacing: 1.5px;
	}

	.mt-ticker .mt-ticker__text {
		display: -webkit-box;
		padding-right: 12px;
		white-space: normal;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}

	.mt-ticker .mt-ticker__steuer {
		position: relative;
		z-index: 1;
		grid-column: 2;
		grid-row: 1;
	}
}





/* home kunden: Logoleiste mit Laufband */
#home-kunden .textwidget {
	padding-block: 44px 48px;
	border-bottom: var(--border);
}

p.kunden-titel {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	font-family: var(--fmono);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--textlight);
}

p.kunden-titel::after {
	content: "";
	width: 50px;
	height: 1px;
	background-color: var(--ci);
}



/* ---------------------------------
      LOGO-LAUFBAND (Shortcode [mt_logos])
   --------------------------------- */

/* Zwei Spuren laufen hintereinander, so entsteht ein nahtloses Band.
   Die Dauer setzt der Shortcode passend zur Anzahl (--lm-dauer).
   Links und rechts blendet das Band weich aus (--lm-fade). */
.logo-marquee {
	--lm-dauer: 60s;
	--lm-fade: clamp(24px, 6vw, 96px);
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--lm-fade), #000 calc(100% - var(--lm-fade)), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 var(--lm-fade), #000 calc(100% - var(--lm-fade)), transparent 100%);
}

.logo-marquee .lm-track {
	display: flex;
	flex: none;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: lm-lauf var(--lm-dauer) linear infinite;
}

.logo-marquee .lm-track li {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 220px;
	height: 100px;
	margin: 0;
	padding: 16px 32px;
}

.logo-marquee img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .6;
	transition: opacity var(--ease), filter var(--ease);
}

.logo-marquee li:hover img {
	filter: none;
	opacity: 1;
}

/* Anhalten, solange die Maus darüber ist */
.logo-marquee:hover .lm-track {
	animation-play-state: paused;
}

@keyframes lm-lauf {
	to {
		transform: translateX(-100%);
	}
}

@media (width <= 767px) {
	.logo-marquee .lm-track li {
		width: 160px;
		height: 80px;
		padding: 12px 20px;
	}
}

/* Reduzierte Bewegung: stehende Reihe nur mit den Originalen */
@media (prefers-reduced-motion: reduce) {
	.logo-marquee {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.logo-marquee .lm-track {
		flex: 1 1 auto;
		flex-wrap: wrap;
		justify-content: center;
		animation: none;
	}

	.logo-marquee [aria-hidden="true"] {
		display: none;
	}
}



/* home leistungen: Kacheln (Widget-Klassen kachel, kachel-grau, kachel-dunkel)
   Nummer 01, 02, 03 kommt per CSS-Zähler */
.flexbox-cards > .panel-grid-cell {
	counter-reset: kachel;
}

.kachel {
	counter-increment: kachel;
	padding: clamp(28px, 3vw, 48px);
	border-radius: var(--radius-s);
	border: 1px solid var(--ci);
}

.kachel .textwidget {
	gap: 20px;
}

.kachel .textwidget::before {
	content: counter(kachel, decimal-leading-zero);
	font-family: var(--fbold);
	font-size: var(--fs-small);
	color: var(--textlight);
}

.kachel p {
	margin: 0;
}

.kachel h3 {
	padding: 0;
	font-size: clamp(1.75rem, 2.4vw, 2.375rem);
	line-height: 1.05;
	letter-spacing: -.05em;
}

.kachel ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid #d6d6d6;
}

.kachel ul li::before {
	content: "→\00a0\00a0" / "";
	color: var(--ci);
}

.kachel p.infolink {
	margin-top: auto;
}

.kachel-dunkel {
	background-color: var(--contrast);
	color: rgba(255, 255, 255, .75);
}

.kachel-dunkel h3 {
	color: #fff;
}

.kachel-dunkel .textwidget::before {
	color: rgba(255, 255, 255, .75);
}

.kachel-dunkel ul {
	border-top-color: rgba(255, 255, 255, .2);
}

.kachel-dunkel ul li::before {
	color: #fff;
}

.kachel-dunkel p.infolink a:link,
.kachel-dunkel p.infolink a:visited {
	color: #fff;
}

.kachel-dunkel p.infolink a:hover,
.kachel-dunkel p.infolink a:focus-visible {
	color: var(--cilight);
}

/* CI-farbene Kachel: Widget-Klassen "kachel kachel-highlight" */
.kachel-highlight {
	background-color: var(--ci);
	color: rgba(255, 255, 255, .85);
}

.kachel-highlight h3 {
	color: #fff;
}

.kachel-highlight .textwidget::before {
	color: rgba(255, 255, 255, .85);
}

.kachel-highlight ul {
	border-top-color: rgba(255, 255, 255, .3);
}

.kachel-highlight ul li::before {
	color: #fff;
}

.kachel-highlight p.infolink a:link,
.kachel-highlight p.infolink a:visited {
	color: #fff;
}

.kachel-highlight p.infolink a:hover,
.kachel-highlight p.infolink a:focus-visible {
	color: var(--cilight);
}

@media (width > 1024px) {
	.kachel {
		min-height: 460px;
	}
}



/* home sicherheit: Aussage statt Überschrift, Linie oben */
#home-sicherheit .textwidget {
	padding-top: clamp(40px, 4vw, 64px);
	border-top: var(--border);
}

#home-sicherheit h2 {
	max-width: 30em;
	font-family: var(--fbase);
	font-size: clamp(1.625rem, 2.6vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -.03em;
}

#home-sicherheit p.lead {
	max-width: 60ch;
}

ul.checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 48px;
	margin: 16px 0 40px;
	padding: 0;
	list-style: none;
}

ul.checks li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0;
	padding: 18px 0;
	border-bottom: var(--border);
}

ul.checks li::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--ci);
	transform: translateY(-2px);
}

@media (width <= 767px) {
	ul.checks {
		grid-template-columns: minmax(0, 1fr);
	}
}



/* home zahlen: vier Kacheln, die erste dunkel */
ul.facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--flexbox-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.facts li {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 48px;
	min-height: 260px;
	margin: 0;
	padding: clamp(24px, 2.6vw, 40px);
	border-radius: var(--radius-s);
	border: 1px solid var(--ci);
}

ul.facts li:first-child {
	background-color: var(--contrast);
}

.fact-zahl {
	font-family: var(--ftitle);
	font-size: clamp(3.25rem, 5.4vw, 5.5rem);
	line-height: .9;
	letter-spacing: -.05em;
	color: var(--contrast);
}

.fact-label {
	max-width: 24ch;
	color: var(--textlight);
}

ul.facts li:first-child .fact-zahl {
	color: #fff;
}

ul.facts li:first-child .fact-label {
	color: rgba(255, 255, 255, .75);
}

@media (width <= 1024px) {
	ul.facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	ul.facts li {
		min-height: 220px;
	}
}

@media (width <= 767px) {
	ul.facts {
		grid-template-columns: minmax(0, 1fr);
	}

	ul.facts li {
		min-height: 0;
	}
}



/* kopf mit link rechts: Widget-Klasse head-link */
.head-link .textwidget,
.flexbox-cards > .panel-grid-cell > .so-panel > .head-link > .textwidget {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0 40px;
}

.head-link p.infolink {
	padding-bottom: 30px;
}



/* home projekte: graue Karte, Bild randlos oben, Ergebnis über dem Link
   (Widget-Klasse projekt) */
.projekt {
	--projekt-pad: clamp(24px, 2.6vw, 40px);
	overflow: hidden;
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.projekt .textwidget {
	gap: 16px;
	padding-bottom: var(--projekt-pad);
}

.projekt .textwidget > * {
	margin: 0;
}

.projekt .textwidget > :not(:first-child) {
	margin-inline: var(--projekt-pad);
}

.projekt .textwidget > p:first-child {
	margin-bottom: 12px;
}

.projekt img,
p.projekt-bild {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

p.projekt-bild {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 24px;
	background-color: #e2e2e2;
	color: var(--textlight);
	text-align: center;
}

p.projekt-tag {
	font-family: var(--fmono);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--textlight);
}

.projekt h3 {
	padding: 0;
	font-size: clamp(1.625rem, 2.4vw, 2.375rem);
	line-height: 1.05;
	letter-spacing: -.05em;
}

dl.projekt-fakten {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 0 16px;
	margin: 0;
}

dl.projekt-fakten dt,
dl.projekt-fakten dd {
	margin: 0;
	padding-block: 14px;
	border-top: 1px solid #d6d6d6;
}

dl.projekt-fakten dt {
	font-family: var(--fbold);
	font-size: var(--fs-small);
	color: var(--textlight);
}

dl.projekt-fakten dd {
	color: var(--textlight);
}

/* Ergebnis: große Zahl mit Text daneben, schiebt sich mit dem Link nach unten */
.projekt .textwidget > p.projekt-ergebnis {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid #d6d6d6;
	color: var(--textlight);
}

p.projekt-ergebnis strong {
	font-family: var(--ftitle);
	font-size: clamp(2.5rem, 3.4vw, 3.5rem);
	line-height: 1;
	letter-spacing: -.05em;
	white-space: nowrap;
	color: var(--contrast);
}

@media (width <= 767px) {
	dl.projekt-fakten {
		grid-template-columns: minmax(0, 1fr);
	}

	dl.projekt-fakten dd {
		padding-top: 0;
		border-top: 0;
	}
}

/* dunkle Projektkarte: Widget-Klasse "projekt projekt-dunkel" */
.projekt-dunkel {
	background-color: var(--contrast);
	color: rgba(255, 255, 255, .75);
}

.projekt-dunkel h3,
.projekt-dunkel p.projekt-ergebnis strong {
	color: #fff;
}

.projekt-dunkel p.projekt-tag,
.projekt-dunkel dl.projekt-fakten dt,
.projekt-dunkel dl.projekt-fakten dd,
.projekt-dunkel .textwidget > p.projekt-ergebnis {
	color: rgba(255, 255, 255, .75);
}

.projekt-dunkel dl.projekt-fakten dt,
.projekt-dunkel dl.projekt-fakten dd,
.projekt-dunkel .textwidget > p.projekt-ergebnis {
	border-top-color: rgba(255, 255, 255, .2);
}

.projekt-dunkel p.infolink a:link,
.projekt-dunkel p.infolink a:visited {
	color: #fff;
}

.projekt-dunkel p.infolink a:hover,
.projekt-dunkel p.infolink a:focus-visible {
	color: var(--cilight);
}



/* home ablauf: Schritte (Widget-Klasse schritt) */
.schritt {
	padding-top: 24px;
	border-top: 1px solid var(--contrast);
}

.schritt .textwidget {
	gap: 14px;
}

.schritt p {
	margin: 0;
	color: var(--textlight);
}

.schritt h3 {
	padding: 0;
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	line-height: 1.1;
	letter-spacing: -.05em;
}

.schritt p.schritt-nr {
	font-family: var(--ftitle);
	font-size: clamp(3rem, 4.4vw, 4.5rem);
	line-height: .9;
	letter-spacing: -.05em;
	color: var(--ci);
}



/* home preise: Preiskarten (Widget-Klassen preis, preis-dunkel)
   Betrag sitzt unten, Beschreibung unter einer Linie */
.preis {
	min-height: 300px;
	padding: clamp(24px, 2.4vw, 36px);
	border-radius: var(--radius-s);
	border: 1px solid var(--ci);
}

.preis .textwidget {
	gap: 8px;
}

.preis p {
	margin: 0;
}

.preis h3 {
	padding: 0;
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.preis p.preis-betrag {
	margin-top: 16px;
	font-family: var(--ftitle);
	font-size: clamp(2.25rem, 3.2vw, 3.25rem);
	line-height: 1;
	letter-spacing: -.04em;
	white-space: nowrap;
}

.preis p.preis-einheit {
	font-size: var(--fs-small);
	color: var(--textlight);
}

.preis p:last-child {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #d6d6d6;
	font-size: .9375rem;
	color: var(--textlight);
}

.preis-dunkel {
	background-color: var(--contrast);
	color: #fff;
}

.preis-dunkel h3 {
	color: #fff;
}

.preis-dunkel p.preis-einheit,
.preis-dunkel p:last-child {
	color: rgba(255, 255, 255, .75);
}

.preis-dunkel p:last-child {
	border-top-color: rgba(255, 255, 255, .2);
}

/* zwischen 1025 und 1279px zwei Karten pro Reihe, sonst wird es zu eng */
@media (width > 1024px) and (width < 1280px) {
	#home-preise > .panel-grid-cell > .so-panel:not(:first-child) {
		flex: 1 1 calc(50% - var(--flexbox-gap));
	}
}

@media (width <= 1024px) {
	.preis {
		min-height: 0;
	}
}



/* home team: Text doppelt so breit wie ein Foto (Widget-Klasse person) */
@media (width > 1024px) {
	#home-team > .panel-grid-cell {
		align-items: flex-end;
	}

	#home-team > .panel-grid-cell > .so-panel:first-child {
		flex: 2;
		padding-right: clamp(0px, 4vw, 80px);
	}
}

/* Tablet: Text oben über volle Breite, Fotos nebeneinander */
@media (768px <= width <= 1024px) {
	#home-team > .panel-grid-cell {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#home-team > .panel-grid-cell > .so-panel:first-child {
		grid-column: 1 / -1;
	}
}

.person .textwidget {
	gap: 14px;
}

.person p {
	margin: 0;
	font-size: .9375rem;
	color: var(--textlight);
}

.person img,
p.person-foto {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-s);
}

p.person-foto {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--bglight);
	font-size: var(--fs-base);
}

.person h3 {
	padding: 6px 0 0;
	font-size: 1.625rem;
	letter-spacing: -.05em;
}



/* home stimmen: Zitate (Widget-Klasse zitat) */
.zitat {
	padding: clamp(28px, 2.6vw, 40px);
	border-radius: var(--radius-s);
}

.zitat .textwidget {
	gap: 32px;
}

.zitat blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-style: normal;
	font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
	line-height: 1.5;
}

.zitat blockquote::before {
	content: "„" / "";
	display: block;
	margin-bottom: 12px;
	font-family: var(--ftitle);
	font-size: 3.5rem;
	line-height: 1.2;
	color: var(--ci);
}

.zitat blockquote p {
	margin: 0;
}

p.zitat-quelle {
	margin: auto 0 0;
	font-size: var(--fs-small);
	color: var(--textlight);
}

p.zitat-quelle strong {
	display: block;
	color: var(--contrast);
}

/* home stimmen: eine Kundenstimme sichtbar, Auswahl über Radio-Buttons (ohne JavaScript)
   Widget-Klassen: "zitat zitat-1", "zitat zitat-2", "zitat zitat-3" und "stimmen-nav" */
#home-stimmen > .panel-grid-cell {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-areas:
		"kopf kopf"
		"zitat wahl";
	gap: var(--flexbox-gap);
}

#home-stimmen > .panel-grid-cell > .so-panel {
	grid-area: kopf;
}

#home-stimmen > .panel-grid-cell > .so-panel:has(> .zitat) {
	grid-area: zitat;
}

#home-stimmen > .panel-grid-cell > .so-panel:has(> .stimmen-nav) {
	grid-area: wahl;
}

/* alle Zitate liegen übereinander, die Box ist so hoch wie das längste */
#home-stimmen .zitat {
	transition: opacity .3s ease, visibility .3s ease;
}

#home-stimmen .zitat:not(.zitat-1),
#home-stimmen:has(#stimme-2:checked, #stimme-3:checked) .zitat-1 {
	visibility: hidden;
	opacity: 0;
}

#home-stimmen:has(#stimme-2:checked) .zitat-2,
#home-stimmen:has(#stimme-3:checked) .zitat-3 {
	visibility: visible;
	opacity: 1;
}

#home-stimmen .zitat blockquote {
	font-size: clamp(1.25rem, 1.9vw, 1.75rem);
	line-height: 1.45;
	letter-spacing: -.01em;
}

/* Auswahl: Name und Firma als Schaltfläche, die aktive ist dunkel */
.stimmen-wahl {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--flexbox-gap);
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.stimmen-wahl label {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 20px 24px;
	border-radius: var(--radius-s);
	background-color: var(--bglight);
	cursor: pointer;
	transition: background-color var(--ease);
}

.stimmen-wahl input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.stimmen-wahl strong {
	font-family: var(--ftitle);
	font-size: 1.25rem;
	line-height: 1.2;
	letter-spacing: -.02em;
	color: var(--contrast);
	transition: color var(--ease);
}

.stimmen-wahl span {
	font-size: var(--fs-small);
	color: var(--textlight);
}

.stimmen-wahl label:hover strong {
	color: var(--ci);
}

.stimmen-wahl label:has(:checked) {
	background-color: var(--contrast);
}

.stimmen-wahl label:has(:checked) strong {
	color: #fff;
}

.stimmen-wahl label:has(:checked) span {
	color: rgba(255, 255, 255, .75);
}

.stimmen-wahl label:has(:focus-visible) {
	outline: 2px solid var(--ci);
	outline-offset: 2px;
}

@media (width <= 1024px) {
	#home-stimmen > .panel-grid-cell {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"kopf"
			"zitat"
			"wahl";
	}

	.stimmen-wahl {
		flex-direction: row;
	}

	.stimmen-wahl label {
		padding: 16px 20px;
	}
}

@media (width <= 767px) {
	.stimmen-wahl {
		gap: 8px;
	}

	.stimmen-wahl label {
		align-items: center;
		padding: 14px 8px;
		text-align: center;
	}

	.stimmen-wahl strong {
		font-size: 1.0625rem;
	}

	.stimmen-wahl span {
		display: none;
	}
}


/* home agenturen (Widget-Klasse agentur-box) */
.agentur-box {
	padding: clamp(28px, 3.4vw, 56px);
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.agentur-box .textwidget {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 48px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}

.agentur-box h2 {
	grid-column: 1;
	max-width: 20ch;
	font-size: clamp(1.75rem, 2.8vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -.05em;
}

.agentur-box p {
	grid-column: 1;
	max-width: 56ch;
	margin: 0;
	color: var(--textlight);
}

.agentur-box p.cta {
	grid-column: 2;
	grid-row: 1 / span 2;
}

@media (width <= 767px) {
	.agentur-box .textwidget {
		grid-template-columns: minmax(0, 1fr);
	}

	.agentur-box p.cta {
		grid-column: 1;
		grid-row: auto;
		margin-top: 16px;
	}
}










/* ---------------------------------
      UNTERSEITEN: BAUSTEINE
   --------------------------------- */

/* seitenkopf: Row-Klasse .page-hero
   links Text (TinyMCE), rechts Grafik oder Bild (zweites Widget) */
.page-hero {
	padding-top: 20px;
}

.page-hero > .panel-grid-cell {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--flexbox-gap);
}

/* SiteOrigin setzt den Widget-Abstand per ID-Selektor, deshalb !important */
.page-hero > .panel-grid-cell > .so-panel {
	display: flex;
	flex-direction: column;
	margin-bottom: 0 !important;
}

.page-hero > .panel-grid-cell > .so-panel:first-child {
	justify-content: flex-end;
	padding-block: clamp(32px, 5vw, 80px) 8px;
}

.page-hero > .panel-grid-cell > .so-panel > .textwidget {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.page-hero h1 {
	max-width: 16ch;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	line-height: .98;
}

.page-hero p.lead {
	max-width: 56ch;
	margin-bottom: 28px;
}

@media (width <= 1024px) {
	.page-hero > .panel-grid-cell {
		grid-template-columns: minmax(0, 1fr);
	}

	.page-hero > .panel-grid-cell > .so-panel:first-child {
		padding-block: 24px 0;
	}
}



/* skizze suchergebnis + KI-Antwort (Widget "Individuelles HTML", div.suche-skizze) */
.suche-skizze {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	min-height: 520px;
	padding: clamp(24px, 2.8vw, 44px);
	border-radius: var(--radius-s);
	background-color: var(--contrast);
	color: #fff;
}

.suche-skizze p {
	margin: 0;
}

.suche-skizze :is(.sk-label, .sk-ki small) {
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .75);
	padding-top: 20px;
}

.suche-skizze .sk-label {
	margin-bottom: -4px;
}

.sk-suche {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 22px;
	border-radius: var(--radius);
	background-color: #fff;
	color: var(--contrast);
}

.sk-treffer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 16px 20px;
	background-color: #fff;
	color: var(--contrast);
}

.sk-treffer small,
.sk-treffer span {
	font-size: var(--fs-small);
	color: var(--textlight);
}

.sk-treffer b {
	padding-right: 72px;
	font-family: var(--ftitle);
	font-size: 1.1875rem;
	line-height: 1.3;
	color: var(--ci);
}

.sk-treffer i {
	position: absolute;
	top: 16px;
	right: 20px;
	padding: 3px 10px;
	border-radius: var(--radius);
	background-color: var(--ci);
	font-family: var(--fbold);
	font-size: .75rem;
	font-style: normal;
	color: #fff;
}

.sk-ki {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px;
	background-color: var(--ci);
	color: var(--contrast);
}

.sk-ki span {
	line-height: 1.5;
}

.sk-ki mark {
	padding: 0 4px;
	background-color: #fff;
	color: var(--contrast);
}

@media (width <= 1024px) {
	.suche-skizze {
		min-height: 0;
	}
}

@media (width <= 767px) {
	.sk-treffer b {
		padding-right: 0;
	}

	.sk-treffer i {
		position: static;
		align-self: flex-start;
		margin-top: 6px;
	}
}



/* lead-text im kopf mit link rechts (Widget-Klasse head-link) */
/* überschrift nimmt den freien Platz, Lead oder Link stehen rechts daneben */
.head-link hgroup {
	flex: 1 1 20rem;
}

.head-link p.lead {
	max-width: 44ch;
	padding-bottom: 30px;
}

/* lead-text direkt unter einer Überschrift: angenehme Zeilenlänge */
hgroup + p.lead {
	max-width: 60ch;
}



/* aussage: großer Satz statt Überschrift (Widget-Klasse aussage),
   mit box-dunkel oder box-highlight als Box mit Innenabstand */
.aussage hgroup p.eyebrow {
	margin-bottom: 20px;
}

.aussage h2 {
	max-width: 30em;
	font-family: var(--fbase);
	font-size: clamp(1.625rem, 2.6vw, 2.5rem);
	line-height: 1.2;
	letter-spacing: -.03em;
}

.aussage em {
	color: var(--textlight);
}

.aussage:is(.box-dunkel, .box-highlight) {
	padding: clamp(32px, 4vw, 72px);
	border-radius: var(--radius-s);
}



/* zweispaltig: Kopf links bleibt stehen, Inhalt rechts (Row-Klassen flexbox split) */
@media (width > 1024px) {
	.split > .panel-grid-cell > .so-panel:first-child {
		position: sticky;
		top: 24px;
		flex: 5;
		align-self: flex-start;
	}

	.split > .panel-grid-cell > .so-panel:last-child {
		flex: 7;
	}
}



/* nummerierte Liste mit Fachbegriffen: ol.hebel im TinyMCE */
ol.hebel {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: hebel;
	border-top: 1px solid var(--contrast);
}

ol.hebel > li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	column-gap: 24px;
	margin: 0;
	padding-block: 32px;
	border-bottom: var(--border);
	counter-increment: hebel;
}

ol.hebel > li::before {
	content: counter(hebel, decimal-leading-zero) / "";
	grid-row: 1 / span 3;
	font-family: var(--ftitle);
	font-size: clamp(2.25rem, 3.2vw, 3.25rem);
	line-height: .9;
	letter-spacing: -.05em;
	color: var(--ci);
}

ol.hebel > li > * {
	grid-column: 2;
}

ol.hebel h3 {
	padding: 0;
	margin-bottom: 12px;
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	line-height: 1.1;
	letter-spacing: -.05em;
}

ol.hebel p {
	margin: 0;
	color: var(--textlight);
}

ol.hebel p.begriffe {
	margin-top: 16px;
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}

@media (width <= 767px) {
	ol.hebel > li {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 8px;
	}

	ol.hebel > li::before,
	ol.hebel > li > * {
		grid-column: 1;
		grid-row: auto;
	}
}



/* projekt breit: Bild links, Text rechts (Widget-Klassen projekt projekt-breit, optional projekt-dunkel) */
.projekt-breit {
	position: relative;
	padding-left: 50%;
}

.projekt-breit .textwidget {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	min-height: 420px;
	padding-block: var(--projekt-pad);
}

.projekt-breit .textwidget > p:first-child {
	position: absolute;
	inset: 0 50% 0 0;
	margin: 0;
}

.projekt-breit .textwidget > p:first-child img {
	height: 100%;
	aspect-ratio: auto;
}

.projekt-breit h2 {
	padding: 0;
	font-size: clamp(1.75rem, 2.8vw, 2.75rem);
	line-height: 1.05;
	letter-spacing: -.05em;
}

.projekt-dunkel h2 {
	color: #fff;
}

.projekt-breit .textwidget > p.projekt-ergebnis {
	margin-top: 4px;
}

@media (width <= 767px) {
	.projekt-breit {
		padding-left: 0;
	}

	.projekt-breit .textwidget {
		min-height: 0;
		padding-top: 0;
	}

	.projekt-breit .textwidget > p:first-child {
		position: static;
	}

	.projekt-breit .textwidget > p:first-child img {
		height: auto;
		aspect-ratio: 16 / 10;
	}
}



/* zwischen 1025 und 1279px zwei Karten pro Reihe, sonst wird es zu eng (Row-Klasse karten-raster) */
@media (width > 1024px) and (width < 1280px) {
	.karten-raster > .panel-grid-cell > .so-panel:not(:first-child) {
		flex: 1 1 calc(50% - var(--flexbox-gap));
	}
}

.karten-raster .kachel h3 {
	font-size: clamp(1.5rem, 2vw, 2rem);
}

@media (width > 1024px) {
	.karten-raster .kachel {
		min-height: 380px;
	}
}



/* messwerte: dunkle Box im Seitenkopf (Widget "Individuelles HTML", div.messwerte) */
.messwerte {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 28px;
	padding: clamp(24px, 2.8vw, 44px);
	border-radius: var(--radius-s);
	background-color: var(--contrast);
	color: #fff;
}

.messwerte p,
.messwerte ul,
.messwerte dl {
	margin: 0;
}

p.mw-label {
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .75);
}


/* messwerte: Beleg-Bild beim Überfahren der Zeile */
p.mw-label {
	position: relative;
}

.mw-beleg {
	cursor: help;
	text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	text-underline-offset: .25em;
}

.mw-beleg:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.mw-beleg-bild {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	z-index: 20;
	width: min(420px, 100%);
	height: auto;
	transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, .2);
	background-color: #fff;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

.mw-label:has(.mw-beleg:hover) .mw-beleg-bild,
.mw-label:has(.mw-beleg:focus) .mw-beleg-bild {
	display: block;
}

@media (prefers-reduced-motion: no-preference) {
	.mw-label:has(.mw-beleg:hover) .mw-beleg-bild,
	.mw-label:has(.mw-beleg:focus) .mw-beleg-bild {
		animation: mw-beleg-auf .2s ease-out;
	}
}

@keyframes mw-beleg-auf {
	from {
		opacity: 0;
		transform: translate(-50%, 6px);
	}
}


ul.mw-scores {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	padding: 0;
	list-style: none;
}

ul.mw-scores li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0;
	text-align: center;
}

ul.mw-scores li.mw-ok    { color: var(--ok); }
ul.mw-scores li.mw-warn  { color: var(--warn); }
ul.mw-scores li.mw-alert { color: var(--alert); }

.mw-kreis {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 96px;
	aspect-ratio: 1;
	container-type: inline-size;
}

.mw-kreis svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.mw-kreis circle {
	fill: none;
	stroke-width: 8;
}

.mw-kreis circle:first-child {
	fill: color-mix(in srgb, currentColor 12%, transparent);
	stroke: color-mix(in srgb, currentColor 20%, transparent);
}

.mw-kreis circle + circle {
	stroke: currentColor;
}

ul.mw-scores b {
	position: relative;
	font-family: var(--fmono);
	font-weight: normal;
	font-size: 30cqi;
	line-height: 1;
	letter-spacing: -.02em;
}

ul.mw-scores .mw-name {
	font-size: .875rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, .75);
}

dl.mw-facts {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

dl.mw-facts dt,
dl.mw-facts dd {
	margin: 0;
	padding-block: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

dl.mw-facts dt {
	font-size: .9375rem;
	color: rgba(255, 255, 255, .75);
}

dl.mw-facts dd {
	padding-left: 16px;
	font-family: var(--fbold);
	text-align: right;
}



@media (width <= 767px) {
	.messwerte {
		padding: 20px;
	}

	dl.mw-facts dt {
		hyphens: auto;
	}
}

@media (width <= 479px) {
	ul.mw-scores {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
	}
}



/* ampel: Beispiel-Auswertung im Seitenkopf (Widget "Individuelles HTML", div.ampel) */
.ampel {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 24px;
	padding: clamp(24px, 2.8vw, 44px);
	border-radius: var(--radius-s);
	background-color: var(--contrast);
	color: #fff;
}

.ampel p,
.ampel ul {
	margin: 0;
}

p.am-label {
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .75);
}

ul.am-liste {
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

ul.am-liste li {
	display: grid;
	grid-template-columns: 12px minmax(0, 1fr) auto;
	align-items: center;
	gap: 2px 14px;
	margin: 0;
	padding-block: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	font-size: .9375rem;
}

ul.am-liste li::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

ul.am-liste li.am-ok::before    { background-color: var(--ok); }
ul.am-liste li.am-warn::before  { background-color: var(--warn); }
ul.am-liste li.am-alert::before { background-color: var(--alert); }

ul.am-liste span {
	color: rgba(255, 255, 255, .85);
}

ul.am-liste b {
	font-family: var(--fbold);
	font-weight: normal;
	text-align: right;
}

p.am-fazit {
	font-size: .9375rem;
	color: rgba(255, 255, 255, .75);
}

p.am-fazit b {
	font-family: var(--fbold);
	font-weight: normal;
	color: #fff;
}

@media (width <= 767px) {
	.ampel {
		padding: 20px;
	}

	ul.am-liste li {
		grid-template-columns: 12px minmax(0, 1fr);
	}

	ul.am-liste b {
		grid-column: 2;
		text-align: left;
		color: rgba(255, 255, 255, .75);
	}
}



/* check-box: Angebot mit Preis links, Prüfliste rechts (Widget-Klassen check-box box-highlight) */
.panel-widget-style.check-box {
	padding: clamp(32px, 4vw, 72px);
	border-radius: var(--radius-s);
}

.check-box .textwidget > * {
	margin: 0 0 20px;
}

.check-box h2 {
	max-width: 16ch;
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.check-box hgroup p.eyebrow {
	margin-bottom: 20px;
}

.check-box p.check-preis strong {
	margin-right: 12px;
	font-family: var(--ftitle);
	font-size: clamp(2.5rem, 4vw, 4rem);
	letter-spacing: -.05em;
	color: #fff;
}

.check-liste p.check-label {
	margin-bottom: 12px;
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.check-liste ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255, 255, 255, .3);
}

.check-box .check-liste li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 32px;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
}

.check-box .check-liste li::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 2px;
	width: 14px;
	height: 8px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(-45deg);
}

@media (width > 1024px) {
	.check-box .textwidget {
		display: grid;
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		column-gap: clamp(32px, 5vw, 96px);
		align-items: start;
	}

	.check-box .textwidget > * {
		grid-column: 1;
	}

	/* Prüfliste steht rechts neben allen anderen Elementen */
	.check-box .textwidget > .check-liste {
		grid-column: 2;
		grid-row: 1 / span 10;
		margin-bottom: 0;
	}
}

@media (width <= 1024px) {
	.check-box .textwidget > .check-liste {
		margin-top: 20px;
		margin-bottom: 0;
	}
}

/* link unter einem Hebel (p.infolink im ol.hebel) */
ol.hebel p.infolink {
	margin-top: 16px;
}



/* ansprechpartner: Foto links, Text rechts (Row-Klassen flexbox ansprechpartner) */
@media (width > 1024px) {
	.ansprechpartner > .panel-grid-cell {
		align-items: flex-end;
	}

	.ansprechpartner > .panel-grid-cell > .so-panel:last-child {
		flex: 2;
	}
}

.ansprechpartner > .panel-grid-cell > .so-panel {
	padding-block: 0;
}

.ansprechpartner > .panel-grid-cell > .so-panel:first-child p {
	margin: 0;
}

.ansprechpartner img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-s);
}

.ansprechpartner h2 {
	max-width: 18ch;
	padding-bottom: 20px;
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.ansprechpartner hgroup p.eyebrow {
	margin-bottom: 20px;
}

@media (width <= 1024px) {
	.ansprechpartner img {
		max-width: 320px;
		margin-bottom: 32px;
	}
}



/* faq: details mit gleichem name, immer nur eine Antwort offen (Widget "Individuelles HTML", div.faq) */
.faq {
	/*border-top: 1px solid var(--contrast);*/
}

.faq details {
	border-bottom: var(--border);
}

.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	list-style: none;
	font-family: var(--ftitle);
	font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
	line-height: 1.3;
	letter-spacing: -.02em;
	cursor: pointer;
	transition: color var(--ease);
}

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

.faq summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border-right: 1.6px solid currentColor;
	margin-right: 4px;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-4px) rotate(45deg);
	transition: transform var(--ease);
}

.faq details[open] summary::after {
	transform: translateY(2px) rotate(-135deg);
}

.faq summary:hover {
	color: var(--ci);
}

.faq details p {
	max-width: 64ch;
	margin: 0;
	padding: 0 48px 28px 0;
	color: var(--textlight);
}

@media (width <= 767px) {
	.faq details p {
		padding-right: 0;
	}
}



/* abschluss-box: Frage links, Button rechts (Widget-Klasse cta-box, dazu box-dunkel oder box-highlight) */
.cta-box {
	padding: clamp(32px, 4vw, 72px);
	border-radius: var(--radius-s);
}

.cta-box .textwidget {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px 48px;
}

.cta-box h2 {
	grid-column: 1;
	max-width: 18ch;
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.cta-box p {
	grid-column: 1;
	max-width: 52ch;
	margin: 0;
}

.cta-box p.cta {
	grid-column: 2;
	grid-row: 1 / span 2;
}

@media (width <= 767px) {
	.cta-box .textwidget {
		grid-template-columns: minmax(0, 1fr);
	}

	.cta-box p.cta {
		grid-column: 1;
		grid-row: auto;
		margin-top: 12px;
	}
}



/* notfallseite: dunkler Kopf über die volle Breite mit Signalkante (Row-Klassen section-alarm inner) */
/* SiteOrigin setzt das Zeilen-Padding per ID-Selektor, deshalb !important */
.section-alarm {
	padding-block: clamp(48px, 6vw, 96px) clamp(56px, 7vw, 112px) !important;
	border-top: 6px solid var(--alert);
	background-color: var(--contrast);
	color: #fff;
}

.section-alarm .textwidget {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.section-alarm .textwidget > * {
	margin: 0;
}

.section-alarm h1 {
	max-width: 14ch;
	font-size: clamp(2.75rem, 7vw, 7rem);
	line-height: .95;
	letter-spacing: -.05em;
	color: #fff;
}

p.alarm-lead {
	max-width: 56ch;
	font-size: clamp(1.125rem, 1.5vw, 1.375rem);
	line-height: 1.5;
	color: rgba(255, 255, 255, .8);
}

/* kennzeichnung "Notfall-Hilfe" mit pulsierendem Punkt */
p.alarm-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--fmono);
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--alert);
}

.alarm-dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: var(--alert);
	animation: alarm-puls 2s ease-out infinite;
}

@keyframes alarm-puls {
	0%   { box-shadow: 0 0 0 0 rgba(255, 90, 79, .6); }
	70%  { box-shadow: 0 0 0 12px rgba(255, 90, 79, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 90, 79, 0); }
}

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

/* telefonnummer groß, als Link zum Anrufen */
.alarm-call {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px 48px;
	width: 100%;
	margin-top: 16px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.alarm-call p {
	margin: 0;
}

a.alarm-tel:link,
a.alarm-tel:visited {
	display: inline-flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--ftitle);
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	line-height: 1;
	letter-spacing: -.04em;
	white-space: nowrap;
	color: var(--alert);
}

a.alarm-tel:hover,
a.alarm-tel:focus-visible {
	color: #fff;
}

a.alarm-tel small {
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .65);
}

p.alarm-zeiten {
	max-width: 44ch;
	font-size: .9375rem;
	color: rgba(255, 255, 255, .7);
}

p.alarm-zeiten a:link,
p.alarm-zeiten a:visited {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* sofort-karten mit großer Nummer und Signalkante (Widget-Klasse sofort-karte) */
.panel-widget-style.sofort-karte {
	padding: clamp(24px, 2.6vw, 40px);
	border-top: 6px solid var(--alert);
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.sofort-karte .textwidget {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sofort-karte .textwidget > * {
	margin: 0;
}

.sofort-karte p.sofort-nr {
	font-family: var(--ftitle);
	font-size: clamp(3.5rem, 6vw, 6rem);
	line-height: .85;
	letter-spacing: -.05em;
	color: var(--contrast);
}

.sofort-karte h3 {
	padding: 0;
	font-size: clamp(1.375rem, 2vw, 1.875rem);
	line-height: 1.1;
	letter-spacing: -.03em;
}

.sofort-karte p {
	color: var(--textlight);
}

/* anzeichen: Liste mit Warnsymbol (ul.anzeichen) */
ul.anzeichen {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--contrast);
}

ul.anzeichen li {
	position: relative;
	margin: 0;
	padding: 18px 0 18px 40px;
	border-bottom: var(--border);
	font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
	line-height: 1.45;
}

ul.anzeichen li::before {
	content: "!" / "";
	position: absolute;
	top: 20px;
	left: 0;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--warn);
	font-family: var(--fbold);
	font-size: .875rem;
	line-height: 1;
	color: var(--contrast);
}

/* rote Box: Widget-Klasse box-alarm, Gegenstück zu box-dunkel und box-highlight */
.panel-widget-style.box-alarm {
	padding: clamp(32px, 4vw, 72px);
	border-radius: var(--radius-s);
	background-color: var(--alert-dark);
	color: #fff;
}

.panel-widget-style.box-alarm :is(h1, h2, h3, h4) {
	color: #fff;
}

.panel-widget-style.box-alarm :is(p, em) {
	color: rgba(255, 255, 255, .85);
}

.panel-widget-style.box-alarm hgroup p.eyebrow::after {
	background-color: rgba(255, 255, 255, .6);
}

/* kosten: großer Betrag (Widget-Klasse kosten) */
.kosten .textwidget > p {
	max-width: 60ch;
	margin-bottom: 16px;
	color: var(--textlight);
}

.kosten p.kosten-betrag {
	font-size: 1.125rem;
}

.kosten p.kosten-betrag strong {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ftitle);
	font-size: clamp(2.75rem, 5vw, 5rem);
	line-height: 1;
	letter-spacing: -.05em;
	color: var(--contrast);
}

.kosten p.preis-hinweis {
	font-size: var(--fs-small);
}

/* abschluss-box mit Nummer (Widget-Klassen alarm-cta box-dunkel) */
.panel-widget-style.alarm-cta {
	padding: clamp(32px, 4vw, 72px);
	border-top: 6px solid var(--alert);
	border-radius: var(--radius-s);
}

.alarm-cta .textwidget > * {
	margin: 0;
}

.alarm-cta h2 {
	margin-top: 12px;
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.alarm-cta .textwidget > p:last-child {
	margin-top: 32px;
}

@media (width > 1024px) {
	.alarm-cta .textwidget {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		column-gap: 48px;
	}

	.alarm-cta .textwidget > p:last-child {
		grid-column: 2;
		grid-row: 1 / span 2;
		margin-top: 0;
	}
}

@media (width <= 767px) {
	.panel-widget-style.alarm-cta {
		padding: 28px 20px;
	}

	.alarm-cta a.alarm-tel:link,
	.alarm-cta a.alarm-tel:visited {
		font-size: 1.875rem;
	}
}

/* mitlaufende Anrufleiste, nur mobil (Widget "Individuelles HTML", a.alarm-sticky) */
a.alarm-sticky {
	display: none;
}

@media (width <= 767px) {
	a.alarm-sticky:link,
	a.alarm-sticky:visited {
		position: fixed;
		right: 16px;
		bottom: 12px;
		left: 16px;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		border-radius: var(--radius);
		background-color: var(--alert);
		box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
		font-family: var(--fbold);
		color: var(--contrast);
	}

	/* platz schaffen, damit die Leiste nichts verdeckt */
	body:has(.alarm-sticky) {
		padding-bottom: 76px;
	}

	body:has(.alarm-sticky) .generate-back-to-top {
		bottom: 84px;
	}
}




/* angebot: große Karte mit Liste, Preis und Link (Widget-Klasse angebot, optional box-highlight) */
.panel-widget-style.angebot {
	height: 100%;
	padding: clamp(28px, 3.4vw, 56px);
	border-radius: var(--radius-s);
}

/* hellgrauer Grund mit niedriger Spezifität, damit box-highlight oder box-dunkel ihn überschreiben */
.angebot {
	background-color: var(--bglight);
}

.angebot .textwidget {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	height: 100%;
}

.angebot .textwidget > * {
	margin: 0;
}

.angebot h2 {
	max-width: 14ch;
	font-size: clamp(1.875rem, 3vw, 3rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}

.angebot hgroup p.eyebrow {
	margin-bottom: 20px;
}

.angebot .textwidget > p {
	max-width: 56ch;
	color: var(--textlight);
}

.angebot ul {
	width: 100%;
	padding: 0;
	list-style: none;
	border-top: 1px solid #d6d6d6;
}

.panel-widget-style.angebot ul li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid #d6d6d6;
}

.panel-widget-style.angebot ul li::before {
	content: "\2192" / "";
	position: absolute;
	left: 0;
	color: var(--ci);
}

/* preis schiebt sich mit dem Link nach unten, damit beide Karten bündig enden */
.angebot .textwidget > p.angebot-preis {
	margin-top: auto;
}

.angebot p.angebot-preis strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--ftitle);
	font-size: clamp(2.25rem, 3.4vw, 3.25rem);
	line-height: 1;
	letter-spacing: -.04em;
	color: var(--contrast);
}

/* in CI-Box und dunkler Box helle Linien und Preis, in der CI-Box auch helle Pfeile */
.angebot:is(.box-highlight, .box-dunkel) ul {
	border-top-color: rgba(255, 255, 255, .2);
}

.panel-widget-style.angebot:is(.box-highlight, .box-dunkel) ul li {
	border-bottom-color: rgba(255, 255, 255, .2);
}

.panel-widget-style.angebot.box-highlight ul li {
	color: #fff;
}

.panel-widget-style.angebot.box-highlight ul li::before {
	color: #fff;
}

.angebot:is(.box-highlight, .box-dunkel) p.angebot-preis strong {
	color: #fff;
}






/* ---------------------------------
      DESIGN-SEITE
   --------------------------------- */

/* kopf: Row-Klassen inner page-hero ds-kopf, rechts Musterseite aus den Gestaltungsregeln */
.page-hero.ds-kopf > .panel-grid-cell {
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	align-items: center;
	padding-bottom: clamp(56px, 6vw, 96px);
}

/* "zusammenpasst" darf nie getrennt werden, deshalb ohne Silbentrennung und mit passender Größe */
.page-hero.ds-kopf h1 {
	font-size: clamp(2.25rem, 6.4vw, 7.5rem);
	line-height: .9;
	letter-spacing: -.06em;
	hyphens: manual;
	overflow-wrap: normal;
	word-break: normal;
}

.page-hero.ds-kopf hgroup {
	margin-bottom: 24px;
}

.ds-ci {
	color: var(--ci);
}

/* musterseite (Widget "Individuelles HTML", figure.ds-guide) */
figure.ds-guide {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
	padding: clamp(24px, 2.6vw, 40px);
	background-color: var(--bglight);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .25);
	transform: rotate(-2deg);
}

.ds-guide-kopf {
	display: flex;
	justify-content: space-between;
	padding-bottom: 12px;
	border-bottom: 1px solid #d6d6d6;
	font-family: var(--fmono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

/* logo auf Konstruktionsraster */
.ds-logo {
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 7;
	padding: 24px;
	border: 1px dashed color-mix(in srgb, var(--ci) 40%, transparent);
	background-color: #fff;
	background-image:
		linear-gradient(color-mix(in srgb, var(--ci) 12%, transparent) 1px, transparent 1px),
		linear-gradient(90deg, color-mix(in srgb, var(--ci) 12%, transparent) 1px, transparent 1px);
	background-size: 20px 20px;
}

.ds-logo img {
	display: block;
	width: min(80%, 320px);
	height: auto;
}

.ds-guide ul.ds-farben {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ds-guide ul.ds-farben li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	font-size: .75rem;
}

.ds-farben li::before {
	content: "";
	aspect-ratio: 1;
	border: 1px solid #d6d6d6;
	background-color: var(--swatch);
}

.ds-f-ci       { --swatch: var(--ci); }
.ds-f-kontrast { --swatch: var(--contrast); }
.ds-f-flaeche  { --swatch: var(--bglight); }
.ds-f-weiss    { --swatch: #fff; }

.ds-farben span {
	font-family: var(--fbold);
}

.ds-farben code {
	padding: 0;
	background: none;
	font-family: var(--fmono);
	font-size: .6875rem;
	color: var(--textlight);
}

.ds-schriften {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-top: 16px;
	border-top: 1px solid #d6d6d6;
}

.ds-schriften p {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
}

.ds-schriften b {
	font-family: var(--fbase);
	font-weight: normal;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1;
}

.ds-schriften b.ds-s-titel {
	font-family: var(--ftitle);
	letter-spacing: -.04em;
}

.ds-schriften b.ds-s-akzent {
	font-family: var(--fmono);
}

.ds-schriften span {
	font-size: .75rem;
	color: var(--textlight);
}

@media (width <= 1024px) {
	.page-hero.ds-kopf > .panel-grid-cell {
		grid-template-columns: minmax(0, 1fr);
	}

	figure.ds-guide {
		transform: none;
	}
}

/* bausteine als Bento-Raster (Widget "Individuelles HTML", div.ds-bento) */
.ds-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--flexbox-gap);
}

.ds-tile {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(20px, 2vw, 32px);
	background-color: var(--bglight);
}

.ds-tile > * {
	margin: 0;
}

.ds-tile h3 {
	margin-top: auto;
	padding: 0;
	font-size: clamp(1.25rem, 1.8vw, 1.625rem);
	letter-spacing: -.03em;
}

.ds-tile p {
	font-size: .9375rem;
	color: var(--textlight);
}

.ds-tile-gross {
	grid-column: span 2;
	grid-row: span 2;
}

.ds-vis {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 140px;
	margin-bottom: 8px;
}

.ds-tile-gross .ds-vis {
	flex: 1;
	height: auto;
	min-height: 260px;
}

/* logo-kachel: Konstruktionskreise als SVG, Farben per CSS */
.ds-vis-logo svg {
	width: min(100%, 280px);
	height: auto;
}

.ds-vis-logo :is(circle, path) {
	fill: none;
	stroke: var(--contrast);
	stroke-dasharray: 4 6;
	opacity: .4;
}

.ds-vis-logo text {
	font-family: var(--ftitle);
	font-size: 84px;
	fill: var(--contrast);
}

.ds-vis-logo tspan {
	fill: var(--ci);
}

.ds-vis-farben {
	justify-content: stretch;
}

.ds-vis-farben i {
	flex: 1;
	height: 100%;
}

.ds-vis-farben i:nth-child(1) { background-color: var(--ci); }
.ds-vis-farben i:nth-child(2) { background-color: var(--contrast); }
.ds-vis-farben i:nth-child(3) { background-color: color-mix(in srgb, var(--ci) 45%, #fff); }
.ds-vis-farben i:nth-child(4) { background-color: #fff; }

.ds-vis-schrift {
	font-family: var(--ftitle);
	font-size: 7.5rem;
	line-height: 1;
	letter-spacing: -.06em;
	color: var(--contrast);
}

.ds-vis-karten {
	position: relative;
}

.ds-vis-karten i {
	position: absolute;
	width: 150px;
	height: 88px;
	background-color: #fff;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3);
}

.ds-vis-karten i:first-child {
	background-color: var(--contrast);
	transform: rotate(-8deg) translate(-24px, -8px);
}

.ds-vis-karten i:last-child {
	transform: rotate(4deg) translate(24px, 10px);
}

.ds-vis-karten i:last-child::after {
	content: "";
	position: absolute;
	bottom: 14px;
	left: 14px;
	width: 40px;
	height: 4px;
	background-color: var(--ci);
	box-shadow: 0 -10px 0 0 #d6d6d6, 0 -20px 0 0 #d6d6d6;
}

.ds-vis-folie i {
	position: relative;
	width: 180px;
	aspect-ratio: 16 / 9;
	background-color: #fff;
	box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .3);
}

.ds-vis-folie i::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 14px;
	width: 60%;
	height: 10px;
	background-color: var(--contrast);
	box-shadow: 0 18px 0 -2px #d6d6d6, 0 32px 0 -2px #d6d6d6;
}

.ds-vis-folie i::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 28px;
	height: 28px;
	background-color: var(--ci);
}

/* social-media-kachel als CI-Band über die volle Breite */
.ds-tile-ci {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	align-items: center;
	column-gap: clamp(24px, 3vw, 48px);
	background-color: var(--ci);
	color: #fff;
}

.ds-tile-ci .ds-vis {
	grid-row: 1 / span 2;
	height: auto;
	margin: 0;
}

.ds-tile-ci h3 {
	align-self: end;
	margin-top: 0;
	color: #fff;
}

.ds-tile-ci p {
	align-self: start;
	max-width: 52ch;
	color: rgba(255, 255, 255, .85);
}

.ds-vis-social {
	display: grid;
	grid-template-columns: repeat(3, 44px);
	gap: 6px;
}

.ds-vis-social i {
	aspect-ratio: 1;
	background-color: rgba(255, 255, 255, .2);
}

.ds-vis-social i:nth-child(1),
.ds-vis-social i:nth-child(5) {
	background-color: #fff;
}

.ds-vis-social i:nth-child(3) {
	background-color: var(--contrast);
}

@media (width <= 1024px) {
	.ds-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ds-tile-gross {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

@media (width <= 767px) {
	.ds-bento {
		grid-template-columns: minmax(0, 1fr);
	}

	.ds-tile-gross .ds-vis {
		min-height: 200px;
	}

	.ds-tile-ci {
		grid-template-columns: minmax(0, 1fr);
	}

	.ds-tile-ci .ds-vis {
		grid-row: auto;
		justify-content: flex-start;
		margin-bottom: 8px;
	}
}

/* ablauf mit Outline-Nummern (ol.ds-ablauf im TinyMCE) */
ol.ds-ablauf {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--flexbox-gap);
	margin: clamp(32px, 4vw, 56px) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: ds-schritt;
}

ol.ds-ablauf > li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--contrast);
	counter-increment: ds-schritt;
}

ol.ds-ablauf > li::before {
	content: counter(ds-schritt, decimal-leading-zero) / "";
	font-family: var(--ftitle);
	font-size: clamp(3.5rem, 5.6vw, 6rem);
	line-height: .9;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--ci);
}

ol.ds-ablauf h3 {
	padding: 0;
	font-size: clamp(1.25rem, 1.6vw, 1.5rem);
	letter-spacing: -.03em;
}

ol.ds-ablauf p {
	margin: 0;
	font-size: .9375rem;
	color: var(--textlight);
}

@media (width <= 1024px) {
	ol.ds-ablauf {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width <= 767px) {
	ol.ds-ablauf {
		grid-template-columns: minmax(0, 1fr);
	}
}



/* ---------------------------------
      UNTERSEITEN: DETAILSEITE
   --------------------------------- */

/* kopf: Row-Klassen page-hero detail-kopf, links Titel, rechts Kasten "Auf einen Blick" */
.page-hero.detail-kopf > .panel-grid-cell {
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	align-items: end;
	padding-bottom: clamp(48px, 5vw, 80px);
}

.page-hero.detail-kopf h1 {
	max-width: 18ch;
	font-size: clamp(2.25rem, 4.2vw, 4rem);
	line-height: 1;
}

.page-hero.detail-kopf p.lead {
	margin-bottom: 0;
}

/* auf einen blick: Widget-Klasse auf-einen-blick, dl mit dt/dd */
.panel-widget-style.auf-einen-blick {
	padding: clamp(24px, 2.4vw, 36px);
	border-radius: var(--radius-s);
	background-color: var(--contrast);
	color: var(--base);
}

.auf-einen-blick .textwidget {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.auf-einen-blick .textwidget > * {
	margin: 0;
}

p.blick-titel {
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .6);
}

.auf-einen-blick dl {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	margin: 0;
}

.auf-einen-blick dt,
.auf-einen-blick dd {
	margin: 0;
	padding-block: 10px;
	border-top: 1px solid #d6d6d6;
}

.auf-einen-blick dt {
	padding-right: 24px;
	font-size: var(--fs-small);
	color: rgba(255, 255, 255, .6);
}

.auf-einen-blick dd {
	font-family: var(--fbold);
}

.auf-einen-blick .cta a {
	width: 100%;
}

/* buttons in der dunklen Box: dark wird automatisch weiß */
.auf-einen-blick .cta a.dark:link,
.auf-einen-blick .cta a.dark:visited {
	background-color: #fff;
	border-color: #fff;
	color: var(--contrast);
}

.auf-einen-blick .cta a.dark:hover,
.auf-einen-blick .cta a.dark:active,
.auf-einen-blick .cta a.dark:focus-visible {
	background-color: transparent;
	border-color: #fff;
	color: #fff;
}

@media (width <= 1024px) {
	.page-hero.detail-kopf > .panel-grid-cell {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (width <= 767px) {
	.auf-einen-blick dl {
		grid-template-columns: minmax(0, 1fr);
	}

	.auf-einen-blick dd {
		padding-top: 0;
		border-top: 0;
	}
}






/* detail-zeilen: Row-Klasse detail, je Abschnitt ein Widget mit Klasse detail-zeile,
   h2 links, Inhalt rechts. Mit box-dunkel wird eine Zeile zur Highlight-Box */
.detail > .panel-grid-cell > .so-panel {
	margin-bottom: 0 !important; /* SiteOrigin setzt den Widget-Abstand per ID-Selektor */
}

.panel-widget-style.detail-zeile {
	padding-block: clamp(40px, 4.5vw, 72px);
	border-top: var(--border);
}

.detail-zeile h2 {
	max-width: 14ch;
	margin-bottom: 20px;
	font-size: clamp(1.75rem, 2.6vw, 2.5rem);
	line-height: 1.05;
	letter-spacing: -.04em;
}

.detail-zeile .textwidget > :not(h2) {
	max-width: 64ch;
}

.detail-zeile .textwidget > :last-child {
	margin-bottom: 0;
}

.detail-zeile .textwidget > p {
	margin-bottom: 18px;
	color: var(--textlight);
}

/* erster Absatz als Antwort: etwas größer und dunkler */
.detail-zeile .textwidget > h2 + p {
	font-size: var(--fs-base-xl);
	line-height: 1.55;
	color: var(--contrast);
}

@media (width > 1024px) {
	.detail-zeile .textwidget {
		display: grid;
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		column-gap: clamp(24px, 6vw, 120px);
		align-items: start;
	}

	/* h2 belegt links alle Zeilen, der Rest fließt rechts untereinander */
	.detail-zeile .textwidget > h2 {
		grid-column: 1;
		grid-row: 1 / span 20;
		margin-bottom: 0;
	}

	.detail-zeile .textwidget > :not(h2) {
		grid-column: 2;
	}
}

/* highlight-box: Widget-Klassen detail-zeile box-dunkel */
.panel-widget-style.detail-zeile.box-dunkel {
	margin-block: clamp(16px, 2vw, 32px);
	padding-inline: clamp(24px, 4.5vw, 72px);
	border-top: 0;
	border-radius: var(--radius-s);
}

.panel-widget-style.detail-zeile.box-dunkel .textwidget > h2 + p {
	color: #fff;
}

.detail > .panel-grid-cell > .so-panel:has(> .box-dunkel) + .so-panel > .detail-zeile {
	border-top: 0;
}

/* liste mit pfeil: ul.detail-liste */
ul.detail-liste {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.detail-liste li {
	position: relative;
	margin: 0;
	padding-left: 28px;
	color: var(--textlight);
}

ul.detail-liste li::before {
	content: "\2192" / "";
	position: absolute;
	left: 0;
	color: var(--ci);
}

ul.detail-liste strong {
	color: var(--contrast);
}

/* nummerierte schritte: ol.detail-schritte mit h3 und p */
ol.detail-schritte {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: schritt;
}

ol.detail-schritte > li {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	column-gap: 16px;
	margin: 0;
	padding-block: 20px;
	border-bottom: var(--border);
	counter-increment: schritt;
}

ol.detail-schritte > li:first-child {
	padding-top: 0;
}

ol.detail-schritte > li::before {
	content: counter(schritt, decimal-leading-zero) / "";
	grid-row: 1 / span 2;
	padding-top: 4px;
	font-family: var(--fmono);
	font-size: .9375rem;
	color: var(--ci);
}

ol.detail-schritte h3 {
	margin-bottom: 6px;
	font-size: clamp(1.25rem, 1.6vw, 1.5rem);
	line-height: 1.2;
	letter-spacing: -.03em;
}

ol.detail-schritte p {
	grid-column: 2;
	margin: 0;
	color: var(--textlight);
}

/* preistabelle: table.preistabelle, Beschreibung als small in der Zelle */
table.preistabelle {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
}

table.preistabelle :is(th, td) {
	border: 0;
	border-bottom: var(--border);
	text-align: left;
	vertical-align: top;
}

table.preistabelle th {
	padding: 0 0 12px;
	border-bottom: 1px solid var(--contrast);
	font-family: var(--fmono);
	font-weight: normal;
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

table.preistabelle td {
	padding: 18px 0;
	font-family: var(--fbold);
	font-size: 1.125rem;
}

table.preistabelle :is(th, td):last-child {
	padding-left: 24px;
	text-align: right;
	white-space: nowrap;
}

table.preistabelle td:last-child {
	font-family: var(--ftitle);
	font-size: 1.375rem;
	letter-spacing: -.03em;
}

table.preistabelle small {
	display: block;
	font-family: var(--fbase);
	font-size: var(--fs-small);
	letter-spacing: 0;
	color: var(--textlight);
}

.detail-zeile p.preis-hinweis {
	margin-bottom: 8px;
	font-size: var(--fs-small);
}

@media (width <= 767px) {
	table.preistabelle td {
		font-size: 1rem;
	}

	table.preistabelle td:last-child {
		font-size: 1.125rem;
	}
}



/* lange Wörter in der linken Spalte trennen, Preisspalte etwas enger */
table.preistabelle td:first-child {
	hyphens: auto;
	overflow-wrap: break-word;
}

table.preistabelle :is(th, td):last-child {
	padding-left: 12px;
}

/* weiterführende links: ul.detail-links mit strong und span im Link */
ul.detail-links {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--contrast);
}

ul.detail-links li {
	margin: 0;
}

ul.detail-links a {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 16px;
	padding: 18px 0;
	border-bottom: var(--border);
}

ul.detail-links a::after {
	content: "\2192" / "";
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	color: var(--ci);
	transition: transform var(--ease);
}

ul.detail-links strong {
	font-family: var(--ftitle);
	font-weight: normal;
	font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
	letter-spacing: -.02em;
	color: var(--contrast);
	transition: color var(--ease);
}

ul.detail-links span {
	font-size: .9375rem;
	color: var(--textlight);
}

ul.detail-links a:hover strong,
ul.detail-links a:focus-visible strong {
	color: var(--ci);
}

ul.detail-links a:hover::after,
ul.detail-links a:focus-visible::after {
	transform: translateX(4px);
}



/* abschluss mit foto: Widget-Klassen cta-box cta-person box-hell,
   erster Absatz enthält das Foto (Größe Vorschaubild) */
.panel-widget-style.box-hell {
	background-color: var(--bglight);
}

.cta-person .textwidget {
	grid-template-columns: 96px minmax(0, 1fr) auto;
	column-gap: 40px;
}

.cta-person .textwidget > p:first-child {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.cta-person img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
}

.cta-person h2,
.cta-person p:not(:first-child) {
	grid-column: 2;
}

.cta-person h2 {
	max-width: none;
	font-size: clamp(1.625rem, 2.4vw, 2.25rem);
	line-height: 1.1;
}

.cta-person p:not(:first-child, .cta) {
	color: var(--textlight);
}

.cta-person p.cta {
	grid-column: 3;
}

@media (width <= 1024px) {
	.cta-person .textwidget {
		grid-template-columns: 72px minmax(0, 1fr);
		column-gap: 24px;
	}

	.cta-person img {
		width: 72px;
		height: 72px;
	}

	.cta-person p.cta {
		grid-column: 1 / -1;
		grid-row: auto;
		margin-top: 12px;
	}
}

@media (width <= 767px) {
	.cta-person .textwidget > p:first-child {
		grid-row: auto;
	}

	.cta-person h2,
	.cta-person p:not(:first-child) {
		grid-column: 1 / -1;
	}

	.cta-person .cta a {
		width: 100%;
	}
}



/* abschluss mit zwei fotos: zusätzliche Widget-Klasse cta-duo zu cta-box cta-person,
   beide Vorschaubilder im ersten Absatz, leicht überlappend */
.cta-duo .textwidget {
	grid-template-columns: 172px minmax(0, 1fr) auto;
}

.cta-duo .textwidget > p:first-child {
	display: flex;
}

.cta-duo img {
	border: 3px solid var(--contrast);
}

.cta-duo img + img {
	margin-left: -20px;
}

@media (width <= 1024px) {
	.cta-duo .textwidget {
		grid-template-columns: 128px minmax(0, 1fr);
	}

	.cta-duo img + img {
		margin-left: -16px;
	}
}

@media (width <= 767px) {
	.cta-duo .textwidget {
		grid-template-columns: minmax(0, 1fr);
	}
}



/* person-karte: Foto links, Text rechts (Widget-Klasse person-karte in einer Row mit flexbox-cards),
   erster Absatz enthält das Foto in voller Größe */
.panel-widget-style.person-karte {
	overflow: hidden;
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.flexbox-cards > .panel-grid-cell > .so-panel > .person-karte > .textwidget {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	grid-template-rows: auto auto auto 1fr;
	column-gap: clamp(24px, 2.6vw, 40px);
}

.person-karte .textwidget > * {
	grid-column: 2;
	margin: 0;
	padding-right: clamp(24px, 2.6vw, 40px);
}

.person-karte .textwidget > p:first-child {
	grid-column: 1;
	grid-row: 1 / -1;
	padding: 0;
}

.person-karte img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: 50% 20%;
}

.person-karte h3 {
	padding: clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 40px) 10px 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1;
	letter-spacing: -.05em;
}

.person-karte p.person-rolle {
	margin-bottom: 16px;
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

.person-karte p:not(:first-child, .person-rolle) {
	color: var(--textlight);
}

.person-karte ul.person-themen {
	display: flex;
	flex-wrap: wrap;
	align-self: end;
	gap: 8px;
	padding-block: 24px clamp(24px, 2.6vw, 40px);
	list-style: none;
}

.person-karte ul.person-themen li {
	margin: 0;
	padding: 0;
}

.person-karte ul.person-themen a {
	display: block;
	padding: 6px 14px;
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	background-color: #fff;
	font-size: var(--fs-small);
	color: var(--contrast);
	text-decoration: none;
	transition: border-color var(--ease), color var(--ease);
}

.person-karte ul.person-themen a:hover,
.person-karte ul.person-themen a:focus-visible {
	border-color: var(--ci);
	color: var(--ci);
}

/* zwischen 1025 und 1279px eine Karte pro Reihe, sonst wird das Foto zu schmal */
@media (width > 1024px) and (width < 1280px) {
	.flexbox-cards > .panel-grid-cell > .so-panel:has(> .person-karte) {
		flex: 1 1 100%;
	}
}

/* eine Karte pro Reihe: Foto schmaler, damit unter dem Text keine große Lücke entsteht */
@media (640px < width < 1280px) {
	.flexbox-cards > .panel-grid-cell > .so-panel > .person-karte > .textwidget {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}

	.person-karte ul.person-themen {
		align-self: start;
	}
}

@media (width <= 640px) {
	.flexbox-cards > .panel-grid-cell > .so-panel > .person-karte > .textwidget {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.person-karte .textwidget > * {
		grid-column: 1;
		padding-left: clamp(24px, 2.6vw, 40px);
	}

	.person-karte .textwidget > p:first-child {
		grid-row: auto;
		padding: 0;
	}

	.person-karte img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
}



/* orte-liste: Orte nebeneinander mit Trennstrich (ul.orte-liste) */
.detail-zeile ul.orte-liste {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.detail-zeile ul.orte-liste li {
	margin: 0;
	padding: 0 18px 0 0;
	border-right: var(--border);
	font-family: var(--ftitle);
	font-size: clamp(1.5rem, 2.2vw, 2.25rem);
	line-height: 1.1;
	letter-spacing: -.04em;
}

.detail-zeile ul.orte-liste li:last-child {
	padding-right: 0;
	border-right: 0;
}



/* logo-raster: Kundenlogos im Raster (ul.logo-raster, Bilder in Größe Mittel) */
.detail-zeile ul.logo-raster {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin: 8px 0 24px;
	padding: 0;
	list-style: none;
	border: var(--border);
	background-color: #e6e6e6;
}

.detail-zeile ul.logo-raster li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	margin: 0;
	padding: 16px 24px;
	background-color: #fff;
}

.logo-raster img {
	display: block;
	width: 100%;
	max-width: 160px;
	height: auto;
	filter: grayscale(1);
	opacity: .6;
	transition: opacity var(--ease), filter var(--ease);
}

.logo-raster li:hover img {
	filter: none;
	opacity: 1;
}

@media (width <= 640px) {
	.detail-zeile ul.logo-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}




/* kontakt-direkt: Kasten "Direkt erreichbar" im Seitenkopf (Widget "Individuelles HTML",
   Widget-Klasse kontakt-direkt). Nutzt ul.kontakt-wege, .kontakt-icon, .kontakt-label usw. aus dem Footer */
.panel-widget-style.kontakt-direkt {
	padding: clamp(24px, 2.4vw, 36px);
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.kontakt-direkt .textwidget {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kontakt-direkt .textwidget > * {
	margin: 0;
}

.kontakt-direkt ul.kontakt-wege li {
	margin: 0;
	padding: 0;
}

.kontakt-direkt .kontakt-wege a {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: var(--border);
	text-decoration: none;
}

.kontakt-direkt .kontakt-wege a:is(:link, :visited) {
	color: var(--contrast);
}

.kontakt-direkt .kontakt-icon:not(.kontakt-icon-wa) {
	background-color: #fff;
}

.kontakt-direkt .kontakt-wege a:is(:hover, :focus-visible) :is(.kontakt-wert, .kontakt-pfeil) {
	color: var(--ci);
}

.kontakt-direkt .kontakt-wege a:is(:hover, :focus-visible) .kontakt-pfeil {
	transform: translate(2px, -2px);
}

@media (width <= 767px) {
	.kontakt-direkt .kontakt-wege a {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 14px;
	}
}



/* kontakt-formular: Formular in der Breite der linken Kopfspalte (Row-Klasse kontakt-formular) */
@media (width > 1024px) {
	.kontakt-formular > .panel-grid-cell {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
		gap: var(--flexbox-gap);
	}
}

.kontakt-formular .so-panel {
	padding-top: clamp(28px, 3vw, 40px);
}

/* Überschrift als Widget-Titel (Gravity-Forms-Widget) oder als h2 im Text-Widget */
.kontakt-formular h2.widget-title,
.kontakt-formular .textwidget > h2 {
	margin-bottom: clamp(20px, 2.4vw, 32px);
	font-size: clamp(2rem, 3.6vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -.05em;
}






/* ---------------------------------
      PROJEKTE (Plugin MAITOPIA Projekte, Shortcode [mt_projekte])
   --------------------------------- */

/* filter: Radio-Buttons unsichtbar, die Labels sind die Pills */
.pj-radio {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.pj-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.pj-filter label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	background-color: #fff;
	font-size: var(--fs-small);
	cursor: pointer;
	transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.pj-filter label:hover {
	border-color: var(--contrast);
}

.pj-filter-wrap:has(.pj-radio:focus-visible) .pj-filter {
	outline: 2px solid var(--ci);
	outline-offset: 6px;
}

/* aktive Pill */
.pj-filter-wrap:has([id$="-alle"]:checked) label[for$="-alle"],
.pj-filter-wrap:has(.pj-radio-websites:checked) label[for$="-websites"],
.pj-filter-wrap:has(.pj-radio-onlineshops:checked) label[for$="-onlineshops"],
.pj-filter-wrap:has(.pj-radio-webanwendungen:checked) label[for$="-webanwendungen"],
.pj-filter-wrap:has(.pj-radio-seo-ki-suche:checked) label[for$="-seo-ki-suche"],
.pj-filter-wrap:has(.pj-radio-google-ads:checked) label[for$="-google-ads"],
.pj-filter-wrap:has(.pj-radio-sicherheit:checked) label[for$="-sicherheit"],
.pj-filter-wrap:has(.pj-radio-design:checked) label[for$="-design"],
.pj-filter-wrap:has(.pj-radio-ki-im-betrieb:checked) label[for$="-ki-im-betrieb"],
.pj-filter-wrap:has(.pj-radio-schulungen:checked) label[for$="-schulungen"] {
	border-color: var(--contrast);
	background-color: var(--contrast);
	color: #fff;
}

/* filter: je Leistung eine Regel. Neue Leistung = Slug hier ergänzen */
.pj-filter-wrap:has(.pj-radio-websites:checked) .pj-karte:not(.l-websites),
.pj-filter-wrap:has(.pj-radio-onlineshops:checked) .pj-karte:not(.l-onlineshops),
.pj-filter-wrap:has(.pj-radio-webanwendungen:checked) .pj-karte:not(.l-webanwendungen),
.pj-filter-wrap:has(.pj-radio-seo-ki-suche:checked) .pj-karte:not(.l-seo-ki-suche),
.pj-filter-wrap:has(.pj-radio-google-ads:checked) .pj-karte:not(.l-google-ads),
.pj-filter-wrap:has(.pj-radio-sicherheit:checked) .pj-karte:not(.l-sicherheit),
.pj-filter-wrap:has(.pj-radio-design:checked) .pj-karte:not(.l-design),
.pj-filter-wrap:has(.pj-radio-ki-im-betrieb:checked) .pj-karte:not(.l-ki-im-betrieb),
.pj-filter-wrap:has(.pj-radio-schulungen:checked) .pj-karte:not(.l-schulungen) {
	display: none;
}

/* karten */
.pj-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(32px, 3vw, 48px) var(--flexbox-gap);
}

.pj-karte {
	min-width: 0;
}

.pj-link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	text-decoration: none;
}

.pj-link:is(:link, :visited) {
	color: var(--contrast);
}

.pj-link > * {
	margin: 0;
}

.pj-bild {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	margin-bottom: 8px;
	object-fit: cover;
	border-radius: var(--radius-s);
	background-color: var(--bglight);
	transition: opacity var(--ease);
}

.pj-tags {
	font-family: var(--fmono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

.pj-karte h3 {
	padding: 0;
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	line-height: 1.08;
	letter-spacing: -.04em;
}

.pj-link:hover h3,
.pj-link:focus-visible h3 {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.pj-kunde,
.pj-zahl,
.pj-text {
	font-size: var(--fs-small);
	color: var(--textlight);
}

.pj-zahl {
	padding-top: 12px;
	border-top: var(--border);
}

.pj-zahl b {
	margin-right: 6px;
	font-family: var(--ftitle);
	font-size: 1.75rem;
	font-weight: normal;
	letter-spacing: -.04em;
	color: var(--contrast);
}

@media (width <= 1024px) {
	.pj-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (width <= 640px) {
	.pj-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* zwei Karten nebeneinander: [mt_projekte spalten="2"] */
.pj-grid.pj-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (width <= 640px) {
	.pj-grid.pj-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* zwei Karten: grauer Grund, Bild randlos oben, Text mit Innenabstand */
.pj-grid-2 .pj-karte {
	border: 1px solid var(--contrast);
}

.pj-grid-2 .pj-link {
	padding-bottom: clamp(24px, 2.4vw, 36px);
}

.pj-grid-2 .pj-link > :not(.pj-bild) {
	padding-inline: clamp(24px, 2.4vw, 36px);
}

.pj-grid-2 .pj-bild {
	margin-bottom: clamp(12px, 1.2vw, 20px);
}

/* trennlinie über der Kennzahl: nur so breit wie der Text, auf Grau sichtbar */
.pj-grid-2 .pj-link > .pj-zahl {
	margin-inline: clamp(24px, 2.4vw, 36px);
	padding-inline: 0;
	border-top-color: #d6d6d6;
}




/* projektseite: Bild links, Kennzahlen rechts (Row-Klassen section-bottom inner pjd-bildzeile,
   erstes Widget mit Klasse pjd-bild, zweites Widget mit ul.pjd-zahlen) */
.pjd-bildzeile > .panel-grid-cell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--flexbox-gap);
}

.pjd-bildzeile > .panel-grid-cell > .so-panel {
	display: flex;
	flex-direction: column;
	margin-bottom: 0 !important; /* SiteOrigin setzt den Widget-Abstand per ID-Selektor */
}

.pjd-bildzeile > .panel-grid-cell > .so-panel > .textwidget {
	flex: 1;
}

.pjd-bild p {
	margin: 0;
}

.pjd-bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-s);
}

/* kennzahlen: unter 768px untereinander, bis 1024px nebeneinander, darüber rechts neben dem Bild */
.textwidget ul.pjd-zahlen {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--flexbox-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.textwidget ul.pjd-zahlen li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--contrast);
	color: var(--textlight);
}

.pjd-zahlen strong {
	font-family: var(--ftitle);
	font-size: clamp(2.75rem, 5vw, 5rem);
	font-weight: normal;
	line-height: .9;
	letter-spacing: -.05em;
	color: var(--contrast);
}

@media (width > 1024px) {
	.pjd-bildzeile > .panel-grid-cell {
		grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	}

	.pjd-bildzeile .textwidget ul.pjd-zahlen {
		grid-template-columns: minmax(0, 1fr);
		align-content: space-between;
		row-gap: 24px;
		height: 100%;
	}
}

@media (width <= 767px) {
	.textwidget ul.pjd-zahlen {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* projektseite: Zitat in einer Detail-Zeile */
.detail-zeile blockquote {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	font-size: var(--fs-base-xl);
	line-height: 1.5;
	color: var(--contrast);
}

.detail-zeile blockquote p {
	margin: 0;
}




/* projektseite: Autorenbox (Shortcode [mt_projekt_autor], Row-Klasse inner) */
.pj-autor {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 8px clamp(24px, 3vw, 40px);
	align-items: start;
	padding: clamp(28px, 3vw, 48px);
	border-radius: var(--radius-s);
	background-color: var(--bglight);
}

.pj-autor-foto {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
}

.pj-autor-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-width: 64ch;
}

.pj-autor-text p {
	margin: 0;
}

.pj-autor-label,
.pj-autor-rolle {
	font-family: var(--fmono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

.pj-autor-rolle {
	color: var(--textlight);
}

.pj-autor-name {
	font-family: var(--ftitle);
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	line-height: 1.1;
	letter-spacing: -.04em;
	color: var(--contrast);
}

.pj-autor-bio {
	padding-top: 8px;
	color: var(--textlight);
}

.pj-autor-text p.pj-autor-meta {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid #d6d6d6;
	font-size: var(--fs-small);
	color: var(--textlight);
}

@media (width <= 640px) {
	.pj-autor {
		grid-template-columns: minmax(0, 1fr);
	}

	.pj-autor-foto {
		width: 72px;
		height: 72px;
	}
}










/* ---------------------------------
      INSIGHTS (Plugin MAITOPIA Meldungen, Shortcodes [mt_insights] und [mt_insight_…])
      Karten, Filter, Kopf und Autorbox nutzen die Klassen der Projekte, hier nur die Ergänzungen.
   --------------------------------- */

/* farbiger Punkt: Sicherheit rot, alle anderen Arten grün */
.in-punkt {
	display: inline-block;
	flex: none;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background-color: var(--status-open);
}

.in-punkt[data-art="sicherheit"] {
	background-color: var(--cierror);
}

/* karten: Art und Datum grau statt rot, der Punkt trägt die Farbe */
.pj-tags.in-tags {
	display: flex;
	align-items: center;
	color: var(--textlight);
}

/* beitragsbild auf der Insight-Seite: [mt_insight_bild] */
figure.in-bild {
	margin: 0 0 clamp(16px, 2vw, 32px);
}

figure.in-bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius-s);
}

/* zwischenüberschriften in den Abschnitten */
.detail-zeile .textwidget > h3 {
	margin: 12px 0 8px;
	font-size: var(--fs-h4);
	line-height: 1.25;
}

/* filter: aktive Pill und ausgeblendete Karten, je Art eine Zeile.
   Neue Art = Slug hier ergänzen (und in mt_in_arten() im Plugin) */
.pj-filter-wrap:has(.pj-radio-in-sicherheit:checked) label[for$="-sicherheit"],
.pj-filter-wrap:has(.pj-radio-in-seo:checked) label[for$="-seo"],
.pj-filter-wrap:has(.pj-radio-in-ki:checked) label[for$="-ki"],
.pj-filter-wrap:has(.pj-radio-in-websites:checked) label[for$="-websites"],
.pj-filter-wrap:has(.pj-radio-in-design:checked) label[for$="-design"],
.pj-filter-wrap:has(.pj-radio-in-insights:checked) label[for$="-insights"] {
	border-color: var(--contrast);
	background-color: var(--contrast);
	color: #fff;
}

.pj-filter-wrap:has(.pj-radio-in-sicherheit:checked) .pj-karte:not(.l-in-sicherheit),
.pj-filter-wrap:has(.pj-radio-in-seo:checked) .pj-karte:not(.l-in-seo),
.pj-filter-wrap:has(.pj-radio-in-ki:checked) .pj-karte:not(.l-in-ki),
.pj-filter-wrap:has(.pj-radio-in-websites:checked) .pj-karte:not(.l-in-websites),
.pj-filter-wrap:has(.pj-radio-in-design:checked) .pj-karte:not(.l-in-design),
.pj-filter-wrap:has(.pj-radio-in-insights:checked) .pj-karte:not(.l-in-insights) {
	display: none;
}


/* karten ohne Beitragsbild: Text-Kachel im Bildformat (16:10 kommt von .pj-bild),
   oben Punkt und „Insights“, unten die Art groß, Linie in der Farbe der Art */
.in-karte .in-kachel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(20px, 2vw, 32px);
	background-color: var(--bglight);
	overflow: hidden;
	transition: background-color var(--ease);
}

.in-kachel-kopf {
	display: flex;
	align-items: center;
	font-family: var(--fmono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--textlight);
}

.in-kachel-art {
	font-family: var(--ftitle);
	font-size: clamp(2.5rem, 4.2vw, 4.25rem);
	line-height: .9;
	letter-spacing: -.05em;
	color: var(--contrast);
}

.in-kachel::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: var(--status-open);
}

.in-kachel[data-art="sicherheit"]::after {
	background-color: var(--ci);
}

.in-karte .pj-link:hover .in-kachel,
.in-karte .pj-link:focus-visible .in-kachel {
	background-color: #e6e6e6;
}









/* ---------------------------------------------------------------
   MOTION: Grundlage (Klasse .mt-wartet setzt mt-motion.js)
   Animationen laufen ohne JS sofort beim Laden. Das Skript hält sie
   nur für Elemente an, die noch nicht im Bild sind.
   Reduzierte Bewegung: greift die globale Regel (Dauer .01ms).
   --------------------------------------------------------------- */

/* messwerte: Ringe füllen sich wie bei PageSpeed Insights */
@keyframes mw-fuellen {
	from {
		stroke-dasharray: 0 100;
	}
}

.mw-kreis circle + circle {
	animation: mw-fuellen 1.2s cubic-bezier(.25, .7, .25, 1) .15s both;
}

.mw-scores li:nth-child(2) .mw-kreis circle + circle { animation-delay: .3s; }
.mw-scores li:nth-child(3) .mw-kreis circle + circle { animation-delay: .45s; }
.mw-scores li:nth-child(4) .mw-kreis circle + circle { animation-delay: .6s; }

.mw-scores.mt-wartet .mw-kreis circle + circle {
	animation: none;
	stroke-dasharray: 0 100;
}

/* projektkarten: Bild zoomt beim Hover leicht, Rahmen schneidet zu */
.pj-bild-rahmen {
	display: block;
	margin-top: 35px;
	margin-bottom: 8px;
	overflow: hidden;
	border-radius: var(--radius-s);
}

.pj-bild-rahmen .pj-bild {
	margin-bottom: 0;
}

@media (hover: hover) {
	.pj-bild-rahmen .pj-bild {
		transition: transform .5s cubic-bezier(.2, .7, .2, 1);
	}

	.pj-link:is(:hover, :focus-visible) .pj-bild-rahmen .pj-bild {
		transform: scale(1.04);
	}
}

/* ampel: Sicherheits-Check läuft Punkt für Punkt durch */
@keyframes am-punkt {
	from {
		background-color: rgba(255, 255, 255, .25);
		transform: scale(.6);
	}
	60% {
		transform: scale(1.35);
	}
}

@keyframes mt-rein {
	from {
		opacity: 0;
		transform: translateX(-6px);
	}
}

ul.am-liste li::before {
	animation: am-punkt .5s ease-out both;
}

ul.am-liste li b {
	animation: mt-rein .4s ease-out both;
}

ul.am-liste li:nth-child(1)::before { animation-delay: .3s; }
ul.am-liste li:nth-child(1) b       { animation-delay: .4s; }
ul.am-liste li:nth-child(2)::before { animation-delay: .65s; }
ul.am-liste li:nth-child(2) b       { animation-delay: .75s; }
ul.am-liste li:nth-child(3)::before { animation-delay: 1s; }
ul.am-liste li:nth-child(3) b       { animation-delay: 1.1s; }
ul.am-liste li:nth-child(4)::before { animation-delay: 1.35s; }
ul.am-liste li:nth-child(4) b       { animation-delay: 1.45s; }
ul.am-liste li:nth-child(5)::before { animation-delay: 1.7s; }
ul.am-liste li:nth-child(5) b       { animation-delay: 1.8s; }
ul.am-liste li:nth-child(6)::before { animation-delay: 2.05s; }
ul.am-liste li:nth-child(6) b       { animation-delay: 2.15s; }

ul.am-liste + p.am-fazit {
	animation: mt-rein .5s ease-out 2.5s both;
}

ul.am-liste.mt-wartet li[class]::before {
	animation: none;
	background-color: rgba(255, 255, 255, .25);
}

ul.am-liste.mt-wartet li b,
ul.am-liste.mt-wartet + p.am-fazit {
	animation: none;
	opacity: 0;
}

/* einblenden: Zeilen-Klasse mt-einblenden, Widgets und Projektkarten
   gleiten beim Hereinscrollen nacheinander herein */
@keyframes mt-hoch {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
}

.mt-einblenden .mt-wartet {
	opacity: 0;
	transform: translateY(16px);
}

.mt-einblenden .mt-kommt {
	animation: mt-hoch .6s cubic-bezier(.2, .7, .2, 1) both;
}

/* scroll-fill: Wörter leuchten beim Scrollen nacheinander auf.
   Nur für große Schrift ab 24 px: die blassen Wörter halten 3:1 Kontrast. */
.scroll-fill {
	--sf-aus: rgba(18, 18, 18, .47);
	--sf-an: var(--contrast);
	--sf-akt: var(--ci);
}

:is(.box-dunkel, .kachel-dunkel, .section-dark) .scroll-fill {
	--sf-aus: rgba(255, 255, 255, .4);
	--sf-an: #fff;
}

.scroll-fill.sf-bereit .sf-w {
	color: var(--sf-aus);
	transition: color .3s ease;
}

.scroll-fill.sf-bereit .sf-w.sf-an {
	color: var(--sf-an);
}

.scroll-fill.sf-bereit .sf-w.sf-akt {
	color: var(--sf-akt);
}






/* ---------------------------------
      GRAVITY FORMS (Orbital)
   --------------------------------- */

.gform_wrapper.gform-theme--framework {
	/* GF schreibt pro Formular einen Inline-Block mit ID-Selektor
	   (#gform_wrapper_X[data-form-index]) und setzt dort sein Blau.
	   Ohne !important kommt die CI-Farbe nicht an. */
	--gf-color-primary: var(--ci) !important;
	--gf-color-primary-darker: var(--ci) !important;
	--gf-color-primary-lighter: var(--ci) !important;
	--gf-color-in-ctrl-primary: var(--ci) !important;
	--gf-ctrl-outline-color-focus: var(--ci);

	/* felder */
	--gf-ctrl-bg-color: transparent;
	--gf-ctrl-bg-color-hover: transparent;
	--gf-ctrl-bg-color-focus: transparent;
	--gf-ctrl-border-color: var(--textlight);
	--gf-ctrl-border-color-hover: var(--contrast);
	--gf-ctrl-border-color-focus: var(--ci);
	--gf-ctrl-color: var(--contrast);
	--gf-ctrl-font-family: var(--fbase);
	--gf-ctrl-radius: 0;
	--gf-ctrl-padding-x: 0;
	--gf-ctrl-padding-y: 12px;

	/* labels */
	--gf-ctrl-label-color-primary: var(--contrast);
	--gf-ctrl-label-font-family: var(--fbold);
	--gf-ctrl-label-color-req: var(--ci);
	--gf-ctrl-desc-color: var(--textlight);

	/* button */
	--gf-ctrl-btn-bg-color-primary: var(--contrast);
	--gf-ctrl-btn-bg-color-hover-primary: var(--ci);
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-color-hover-primary: #fff;
	--gf-ctrl-btn-border-color-primary: var(--contrast);
	--gf-ctrl-btn-radius: var(--radius);
	--gf-ctrl-btn-font-family: var(--fbold);
	--gf-ctrl-btn-padding-x: 60px;
	--gf-ctrl-btn-padding-y: 10px;
	--gf-ctrl-btn-shadow: none;

	/* abstände */
	--gf-form-gap-y: 20px;
	--gf-form-gap-x: 20px;

	/* fehler: eine Farbe, kein Rahmen, keine Fokus-Outline */
	--gf-form-validation-heading-color: var(--cierror);
	--gf-form-validation-summary-color: var(--cierror);
	--gf-form-validation-bg-color: transparent;
	--gf-form-validation-outline-focus: none;
	--gf-ctrl-border-color-error: var(--cierror);
	--gf-ctrl-desc-color-error: var(--cierror);
}

/* felder nur mit Linie unten */
.gform_wrapper.gform-theme--framework .gfield :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select) {
	border-width: 0 0 1px !important; /* Orbital setzt den Rahmen rundum mit hoher Spezifität */
	box-shadow: none !important;
}

.gform-theme--framework .gfield :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select):focus {
	outline: none;
	box-shadow: 0 1px 0 0 var(--gf-ctrl-border-color-focus) !important; /* Fokuslinie ohne Höhensprung */
}

/* fehlerhaftes Feld: nur die Linie wird rot */
.gform_wrapper.gform-theme--framework .gfield.gfield_error :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], textarea, select) {
	border-color: var(--cierror) !important;
}

/* submit: kein Fokusrahmen beim Klick, CI-Rahmen bei Tastaturbedienung */
.gform_wrapper.gform-theme--framework :is(.gform_footer, .gform_page_footer) :is(input[type="submit"], button):focus {
	outline: none;
}

.gform_wrapper.gform-theme--framework :is(.gform_footer, .gform_page_footer) :is(input[type="submit"], button):focus-visible {
	outline: 2px solid var(--ci);
	outline-offset: 3px;
}

/* links */
.gform_wrapper a:link,
.gform_wrapper a:visited {
	border-bottom: 1px solid var(--contrast);
}

.gform_wrapper a:hover,
.gform_wrapper a:active {
	border-bottom: none;
}

/* hinweistext */
.gform_wrapper .formular-consent {
	font-size: .8em;
	color: var(--textlight);
}

.gform_wrapper .formular-consent a {
	text-decoration: underline;
}

.gform_confirmation_wrapper .gform_confirmation_message {
	color: var(--ci);
}

.gform_wrapper .gfield_required {
	display: none !important;
}

/* fehlerhinweis oben: ohne Rahmen, ohne Icon, ohne Fokusrahmen */
.gform_wrapper.gform-theme--framework .gform_validation_errors {
	margin: 0 0 50px;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.gform_wrapper.gform-theme--framework .gform_validation_errors:focus {
	outline: none;
}

.gform_wrapper.gform-theme--framework .gform_validation_errors .gform_submission_error {
	justify-content: flex-start;
	padding-bottom: 0;	/* sonst greift padding von .titles h2 */
	font-size: .8125rem;
	line-height: 1.5;
	text-align: left;
}

.gform_wrapper.gform-theme--framework .gform_validation_errors .gform-icon {
	display: none;
}

.gform_wrapper.gform-theme--framework .gform_validation_errors ol {
	margin: 8px 0 0;
	padding: 0 0 0 1.25em;
	list-style: disc;
	font-size: .8125rem;
	text-align: left;
}

.gform_wrapper.gform-theme--framework .gform_validation_errors ol a {
	color: var(--cierror) !important;	/* sonst gewinnt #footer-form a:link */
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gform-theme--framework .ginput_counter,
.gform-theme--framework .charleft,
.gform-theme--framework .gform_required_legend {
	display: none !important;
}

/* dunkle Sektion: Zeilenklasse "form-dark" */
.form-dark .gform_wrapper.gform-theme--framework {
	--gf-ctrl-border-color: rgba(255, 255, 255, .5);
	--gf-ctrl-border-color-hover: #fff;
	--gf-ctrl-border-color-focus: #fff;
	--gf-ctrl-color: #fff;
	--gf-ctrl-label-color-primary: #fff;
	--gf-ctrl-label-color-req: #fff;
	--gf-ctrl-desc-color: rgba(255, 255, 255, .7);
}

.form-dark .gform_wrapper .formular-consent,
.form-dark .gform_wrapper .formular-consent a {
	color: rgba(255, 255, 255, .8);
}

/* submit mobil mittig */
@media (width <= 768px) {
	.gform_wrapper.gform-theme--framework :is(.gform_footer, .gform_page_footer) {
		justify-content: center;
	}
}


/* auf der Kontaktseite ausblenden, dort stehen Formular und Kontaktwege schon im Inhalt */
.mypage-kontakt #footer-widgets #footer-form {
	display: none;
}



/* ---------------------------------
      RÜCKRUF (Plugin MAITOPIA Rückruf, Blase unten rechts)
   --------------------------------- */

/* blase */
.rr-blase {
	position: fixed;
	right: clamp(16px, 2vw, 28px);
	bottom: clamp(16px, 2vw, 28px);
	z-index: 90;
	width: 64px;
	height: 64px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--contrast);
	color: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: transform var(--ease);
}

.rr-blase:hover,
.rr-blase:focus-visible {
	background-color: var(--contrast);
	transform: scale(1.05);
}

.rr-blase img,
.rr-kopf img {
	display: block;
	border-radius: 50%;
	object-fit: cover;
}

.rr-blase img {
	width: 100%;
	height: 100%;
	border: 3px solid #fff;
}

.rr-ohne-foto {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
}

.rr-ohne-foto svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linejoin: round;
}

.rr-blase .rr-punkt {
	position: absolute;
	right: 2px;
	bottom: 2px;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
	background-color: var(--status-closed);
}

.rr-offen .rr-blase .rr-punkt {
	background-color: var(--status-open);
}

/* fenster: natives Popover, sitzt über der Blase */
.rr-fenster {
	position: fixed;
	inset: auto clamp(16px, 2vw, 28px) calc(clamp(16px, 2vw, 28px) + 76px) auto;
	width: min(380px, calc(100vw - 32px));
	max-height: calc(100dvh - clamp(16px, 2vw, 28px) - 92px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background-color: #fff;
	color: var(--contrast);
	box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
	overflow: auto;
	overscroll-behavior: contain;
}

.rr-fenster:popover-open {
	animation: rr-auf .25s cubic-bezier(.2, .7, .2, 1);
}

@keyframes rr-auf {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

.rr-kopf {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 12px 18px 20px;
	background-color: var(--contrast);
	color: #fff;
}

.rr-kopf img,
.rr-kopf .rr-ohne-foto {
	flex: none;
	width: 44px;
	height: 44px;
}

.rr-kopf p {
	margin: 0;
	line-height: 1.3;
}

.rr-name {
	font-family: var(--fbold);
	font-size: var(--fs-base);
}

.rr-status {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: var(--fs-small);
	color: rgba(255, 255, 255, .75);
}

.rr-status[hidden] {
	display: none;
}

.rr-status::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: var(--status-closed);
}

.rr-offen .rr-status::before {
	background-color: var(--status-open);
}

.rr-kopf .rr-zu {
	flex: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.rr-inhalt {
	padding: 22px 20px 20px;
}

.rr-schritt-info {
	margin: 0 0 6px;
	font-family: var(--fmono);
	font-size: .75rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--textlight);
	text-align: center;
}

.rr-punkte {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 14px;
}

.rr-punkte span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #d6d6d6;
}

.rr-punkte .ist-dran {
	background-color: var(--ci);
}

.rr-punkte .ist-fertig {
	background-color: var(--status-open);
}

.rr-frage {
	margin: 0 0 16px;
	font-family: var(--ftitle);
	font-size: 1.6rem;
	line-height: 1.1;
	letter-spacing: -.03em;
	text-align: center;
}

/* themen-kacheln: Farbe je Kachel über --k */
.rr-wahl {
	display: grid;
	gap: 10px;
}

.rr .rr-kachel {
	--k: var(--info);
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 20px;
	align-items: center;
	column-gap: 14px;
	min-height: 72px;
	padding: 12px 14px;
	border: 1px solid var(--ci);
	border-radius: 0;
	background-color: var(--base);
	color: var(--contrast);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform var(--ease), border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.rr .rr-kachel.rr-gruen {
	--k: var(--status-open);
}

.rr .rr-kachel.rr-dunkel {
	--k: var(--contrast);
}

.rr .rr-kachel:hover,
.rr .rr-kachel:focus-visible {
	border-color: var(--k);
	background-color: color-mix(in srgb, var(--k) 12%, #fff);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--k) 18%, transparent);
	transform: translateY(-2px);
}

.rr-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--k);
	color: #fff;
}

.rr-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rr-k-titel {
	display: block;
	font-family: var(--fbold);
	font-size: 1rem;
	line-height: 1.25;
	hyphens: auto;
	overflow-wrap: break-word;
}

.rr-k-sub {
	display: block;
	margin-top: 2px;
	font-size: .8125rem;
	line-height: 1.35;
	color: var(--textlight);
}

.rr-pfeil {
	width: 18px;
	height: 18px;
	background-color: var(--k);
	-webkit-mask: var(--icon-arrow) center / contain no-repeat;
	mask: var(--icon-arrow) center / contain no-repeat;
	transition: transform var(--ease);
}

.rr .rr-kachel:hover .rr-pfeil {
	transform: translate(2px, -2px);
}

/* formular */
.rr-feld {
	display: block;
	margin-bottom: 10px;
}

.rr-feld span {
	display: block;
	margin-bottom: 4px;
	font-size: var(--fs-small);
	color: var(--textlight);
}

.rr .rr-feld input {
	width: 100%;
	min-height: 50px;
	padding: 10px 14px;
	border: 1px solid #d6d6d6;
	border-radius: 10px;
	background-color: #fff;
	font: inherit;
	font-size: 1.05rem; /* ab 16 px zoomt iOS beim Antippen nicht */
}

.rr .rr-feld input:focus {
	outline: 2px solid var(--contrast);
	outline-offset: 1px;
}

/* honeypot: für Menschen unsichtbar */
.rr-falle {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.rr-fehler {
	margin: 0 0 10px;
	font-size: var(--fs-small);
	color: var(--alert-dark);
}

.rr .rr-senden {
	width: 100%;
	min-height: 52px;
	margin-top: 4px;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--contrast);
	color: #fff;
	font: inherit;
	font-family: var(--fbold);
	cursor: pointer;
}

.rr .rr-senden:disabled {
	opacity: .6;
	cursor: wait;
}

.rr-hinweis,
.rr-anrufen {
	margin: 12px 0 0;
	font-size: .75rem;
	line-height: 1.45;
	color: var(--textlight);
}

.rr-hinweis a,
.rr-anrufen a {
	color: inherit;
}

.rr-anrufen {
	padding-top: 12px;
	border-top: var(--border);
	text-align: center;
}

.rr .rr-zurueck {
	margin-top: 10px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--textlight);
	font: inherit;
	font-size: var(--fs-small);
	cursor: pointer;
}

.rr-danke {
	text-align: center;
	outline: 0;
}

/* sehr schmale Handys: Kacheln etwas kompakter */
@media (max-width: 359px) {
	.rr-inhalt {
		padding-inline: 14px;
	}

	.rr .rr-kachel {
		grid-template-columns: 36px minmax(0, 1fr) 16px;
		column-gap: 10px;
		padding: 10px 12px;
	}

	.rr-icon {
		width: 36px;
		height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rr-fenster:popover-open {
		animation: none;
	}

	.rr .rr-kachel,
	.rr-blase {
		transition: none;
	}
}

@media print {
	.rr {
		display: none;
	}
}



/* ---------------------------------
      FOOTER
   --------------------------------- */

#footer-widgets {
	max-width: var(--outer);
	margin: 0 auto;
	background-color: var(--contrast);
	color: #fff;
}

#footer-widgets a:link,
#footer-widgets a:visited {
	color: #fff;
}

#footer-widgets a:hover,
#footer-widgets a:active {
	color: var(--ci);
}



/* footer form */
#footer-widgets #footer-form {
	background-color: var(--bglight);
	color: var(--contrast);
}

#footer-widgets #footer-form h2 {
	font-size: var(--fs-display);
}

#footer-widgets #footer-form a:link,
#footer-widgets #footer-form a:visited {
	color: var(--textlight);
}

#footer-widgets #footer-form a:hover,
#footer-widgets #footer-form a:active {
	color: var(--ci);
}

#footer-widgets #footer-form ul.menu li {
	padding: 10px 0;
}

#footer-widgets #footer-form ul.menu li a {
	display: inline-block;
	border-bottom: 1px solid var(--contrast);
	font-family: var(--fbold);
}

#footer-widgets #footer-form ul.menu li a:link,
#footer-widgets #footer-form ul.menu li a:visited {
	color: var(--contrast);
}

#footer-widgets #footer-form ul.menu li a:hover,
#footer-widgets #footer-form ul.menu li a:active {
	color: var(--ci);
}




/* footer form: Kontaktblock rechts (Widget "Individuelles HTML", Widget-Klasse kontakt-box) */
@media (width > 1024px) {
	#footer-widgets #footer-form > .panel-grid-cell {
		align-items: flex-end;
	}
}

#footer-widgets #footer-form .kontakt-box {
	padding: clamp(28px, 3vw, 48px);
	border-radius: var(--radius-s);
	background-color: var(--base);
	text-align: left;
}

#footer-widgets #footer-form .kontakt-box .textwidget {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

#footer-widgets #footer-form .kontakt-box p {
	margin: 0;
}

ul.kontakt-wege {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: var(--border);
}

#footer-widgets #footer-form ul.kontakt-wege li {
	margin: 0;
	padding: 0;
}

#footer-widgets #footer-form .kontakt-wege a {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: var(--border);
	color: var(--contrast);
}

.kontakt-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--bglight);
	color: var(--contrast);
}

.kontakt-icon-wa {
	background-color: var(--ciwa);
	color: #fff;
}

.kontakt-label {
	display: block;
	font-family: var(--fmono);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--textlight);
}

.kontakt-wert {
	display: block;
	font-family: var(--ftitle);
	font-size: clamp(1.1875rem, 1.7vw, 1.5rem);
	line-height: 1.25;
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
	transition: color var(--ease);
}

.kontakt-pfeil {
	color: var(--textlight);
	transition: color var(--ease), transform var(--ease);
}

#footer-widgets #footer-form .kontakt-wege a:hover .kontakt-wert,
#footer-widgets #footer-form .kontakt-wege a:focus-visible .kontakt-wert,
#footer-widgets #footer-form .kontakt-wege a:hover .kontakt-pfeil,
#footer-widgets #footer-form .kontakt-wege a:focus-visible .kontakt-pfeil {
	color: var(--ci);
}

#footer-widgets #footer-form .kontakt-wege a:hover .kontakt-pfeil,
#footer-widgets #footer-form .kontakt-wege a:focus-visible .kontakt-pfeil {
	transform: translate(2px, -2px);
}

/* Button über die volle Breite; die Footer-Linkfarbe darf ihn nicht überschreiben */
#footer-widgets #footer-form .kontakt-box .cta a {
	width: 100%;
	min-height: 60px;
}

#footer-widgets #footer-form .kontakt-box .cta a.dark:link,
#footer-widgets #footer-form .kontakt-box .cta a.dark:visited {
	color: #fff;
}

#footer-widgets #footer-form .kontakt-box .cta a.dark:hover,
#footer-widgets #footer-form .kontakt-box .cta a.dark:active,
#footer-widgets #footer-form .kontakt-box .cta a.dark:focus-visible {
	color: var(--contrast);
}

p.kontakt-hinweis {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: var(--fs-small);
	color: var(--textlight);
}

p.kontakt-hinweis::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--ciwa);
}

@media (width <= 1024px) {
	#footer-widgets #footer-form .kontakt-box {
		max-width: 560px;
		margin-inline: auto;
	}
}

@media (width <= 767px) {
	#footer-widgets #footer-form .kontakt-box {
		padding: 20px;
	}

	#footer-widgets #footer-form .kontakt-wege a {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 14px;
	}

	.kontakt-icon {
		width: 44px;
		height: 44px;
	}

	.kontakt-wert {
		font-size: 1.0625rem;
	}

	.kontakt-pfeil {
		display: none;
	}
}




/* footer infos */
#footer-widgets #footer-infos {
	color: #ffffff80;
}

#footer-widgets #footer-infos h2 {
	font-size: var(--fs-display);
	font-family: var(--ftitle);
	color: #fff;
}

#footer-widgets #footer-infos h2.footer-highlight {
	font-family: var(--fblack);
	font-size: clamp(4rem, 10vw, 9.5rem);
	line-height: .88;
	letter-spacing: -.06em;
	padding-bottom: 40px;
}

/* Claim im Footer: sieht aus wie eine Überschrift, ist aber ein Absatz */
#footer-widgets #footer-infos p.footer-claim {
	margin: 0;
	padding-block: 30px;
	font-family: var(--ftitle);
	font-size: var(--fs-h3);
	line-height: 1.25;
	letter-spacing: -.03em;
	color: #ffffff80;
}

#footer-widgets #footer-infos p.footer-claim em {
	color: var(--base);
}

#footer-widgets #footer-infos strong {
	display: block;
	padding-top: 20px;
	font-size: 2em;
	font-family: var(--ftitle);
	color: #fff;
}


#footer-widgets #footer-infos ul#menu-footer-imprint {
	padding-top: 40px;
	font-family: var(--fmono);
}

#footer-widgets #footer-infos ul#menu-footer-imprint li {
	display: inline-block;
	padding-right: 15px;
}

#footer-widgets #footer-infos ul#menu-footer-imprint li a:link,
#footer-widgets #footer-infos ul#menu-footer-imprint li a:visited {
	color: #ffffff80;
}

#footer-widgets #footer-infos ul#menu-footer-imprint li a:hover,
#footer-widgets #footer-infos ul#menu-footer-imprint li a:active {
	color: var(--ci);
}
 

/* Social-Icons: SVG im Navigations-Label des Menüs "Socials",
   Farbe kommt über currentColor vom Link (Top-Bar und Footer) */
.menu-socials-container .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
}

.menu-socials-container .menu a {
	display: flex;
}

.menu-socials-container .menu svg {
	display: block;
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	transition: fill var(--ease);
}

#footer-widgets #footer-infos .menu-socials-container .menu svg {
	width: 48px;
	height: 48px;
}

#footer-widgets #footer-infos .menu-socials-container .menu a:link,
#footer-widgets #footer-infos .menu-socials-container .menu a:visited {
	color: rgba(255, 255, 255, .7);
}

#footer-widgets #footer-infos .menu-socials-container .menu a:hover,
#footer-widgets #footer-infos .menu-socials-container .menu a:focus-visible {
	color: var(--ci);
}

@media (width <= 1024px) {
	#footer-widgets #footer-infos .menu-socials-container .menu {
		justify-content: center;
	}
}



@media (width > 1024px) {
	#footer-widgets #footer-infos.flexbox .panel-grid-cell .so-panel {
		align-self: flex-end;
		margin-bottom: 0 !important;
	}
}

@media (width <= 1024px) {
	#footer-widgets {
		text-align: center;
	}
}



/* mitgliedschaft im footer: Label und weißes Logo (Inline-SVG), verlinkt */
.footer-mitglied {
	margin: 28px 0;
}

.footer-mitglied a {
	display: inline-flex;
	flex-direction: column;
	gap: 12px;
	color: rgba(255, 255, 255, .5);
	text-decoration: none;
	transition: color var(--ease);
}

.footer-mitglied span {
	font-family: var(--fmono);
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.footer-mitglied .bvt-logo {
	display: block;
	width: 104px;
	height: auto;
	color: #fff;
	opacity: .85;
	transition: opacity var(--ease);
}

.footer-mitglied a:is(:hover, :focus-visible) .bvt-logo {
	opacity: 1;
}



/* footer copyright */
footer.site-info {
	max-width: var(--outer);
	margin: 0 auto;
	background-color: var(--contrast);
	font-size: .8em;
	border-top: 1px solid #333;
	color: #ffffff80;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
}

footer.site-info .copyright-bar a:link,
footer.site-info .copyright-bar a:visited {
	color: #ffffff50;
}

footer.site-info .copyright-bar a:hover,
footer.site-info .copyright-bar a:active {
	color: #fff;
}

footer.site-info .copyright-bar p {
	margin-bottom: 0;
}




/* GP go to top */
a.generate-back-to-top:link,
a.generate-back-to-top:visited {
	color: #fff;
}