/* cta */
/* FontAwesome-Icon in der Backend-Vorschau: be_style liefert die kompletten FA6-Webfont-Dateien bereits
   mit (fuer seine eigenen rex-icon-*-Klassen), aber keine CSS-Zuordnung fuer generische fa-*-Namen -
   daher hier keine neue Abhaengigkeit, nur die Zuordnung fuer die im Demo genutzten Icons ergaenzen.
   Weiteres Icon noetig? Eigene Zeile "._gb-el-cta-icon-<name>::before { content: '\fXXX'; }" mit dem
   FA6-Codepoint ergaenzen (echtes FA-Cheatsheet nutzen). Betrifft NUR die Backend-Vorschau - auf der
   echten Website laedt weiterhin das eigene Projekt-FontAwesome. */
@font-face {
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url("/assets/addons/be_style/webfonts/fa-solid-900.woff2") format("woff2");
}
.fas, .fa-solid { font-family: "Font Awesome 6 Free"; font-weight: 900; font-style: normal; }
.fa-arrow-right::before { content: "\f061"; }

.gb-el-cta-align {
	--gb-cta-gap: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--gb-cta-gap);
}
.gb-el-cta-align-links { text-align: left; justify-content: flex-start; }
.gb-el-cta-align-mitte { text-align: center; justify-content: center; }
.gb-el-cta-align-rechts { text-align: right; justify-content: flex-end; }

.gb-el-cta {
	--cta-fill-a: #3a76b2;
	--cta-fill-b: #2c6196;
	--cta-accent: #2c6196;
	--cta-radius: 999px;
	--cta-shadow: rgba(44, 97, 150, 0.35);
	--cta-shadow-hover: rgba(44, 97, 150, 0.45);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 26px;
	border: 2px solid transparent;
	border-radius: var(--cta-radius);
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 12px var(--cta-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}
.gb-el-cta-default {
	background: #2f6a9f;
	background: linear-gradient(135deg, var(--cta-fill-a), var(--cta-fill-b));
	color: #fff;
}
.gb-el-cta:hover,
.gb-el-cta:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px var(--cta-shadow-hover);
}
.gb-el-cta-default:hover,
.gb-el-cta-default:focus-visible { color: #fff; }
.gb-el-cta:active { transform: translateY(0); box-shadow: 0 3px 8px var(--cta-shadow); }
.gb-el-cta:focus-visible { outline: 2px solid #2c6ea3; outline-offset: 2px; }

.gb-el-cta i { font-size: 0.9em; }

.gb-el-cta-style-outline {
	background: transparent;
	color: var(--cta-accent);
	border-color: currentColor;
	box-shadow: none;
}
.gb-el-cta-style-outline:hover,
.gb-el-cta-style-outline:focus-visible,
.gb-el-cta-style-outline:active {
	background: rgba(44, 97, 150, 0.1);
	color: var(--cta-accent);
	box-shadow: none;
	transform: none;
}

.gb-el-cta-style-link {
	background: transparent;
	color: var(--cta-accent);
	padding-left: 0;
	padding-right: 0;
	box-shadow: none;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.gb-el-cta-style-link:hover,
.gb-el-cta-style-link:focus-visible,
.gb-el-cta-style-link:active {
	color: var(--cta-accent);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	box-shadow: none;
	transform: none;
}

.gb-el-cta-radius-abgerundet .gb-el-cta { --cta-radius: 8px; }
.gb-el-cta-radius-eckig .gb-el-cta { --cta-radius: 0; }

.gb-el-cta-shadow-off .gb-el-cta,
.gb-el-cta-shadow-off .gb-el-cta:hover,
.gb-el-cta-shadow-off .gb-el-cta:focus-visible,
.gb-el-cta-shadow-off .gb-el-cta:active { box-shadow: none; }

.gb-el-cta-full .gb-el-cta {
	flex: 1 1 100%;
	width: 100%;
	box-sizing: border-box;
}

.gb2-be-dark .gb-el-cta { --cta-accent: #8fc1ee; --cta-shadow: rgba(0, 0, 0, 0.45); --cta-shadow-hover: rgba(0, 0, 0, 0.55); }
.gb2-be-dark .gb-el-cta:focus-visible { outline-color: #8fc1ee; }
.gb2-be-dark .gb-el-cta-style-outline:hover,
.gb2-be-dark .gb-el-cta-style-outline:focus-visible,
.gb2-be-dark .gb-el-cta-style-outline:active { background: rgba(143, 193, 238, 0.14); }

@media (prefers-color-scheme: dark) {
	.gb-el-cta:not(.gb2-be-light .gb-el-cta) { --cta-accent: #8fc1ee; --cta-on-accent: #10243a; --cta-shadow: rgba(0, 0, 0, 0.45); --cta-shadow-hover: rgba(0, 0, 0, 0.55); }
	.gb-el-cta:not(.gb2-be-light .gb-el-cta):focus-visible { outline-color: #8fc1ee; }
	.gb-el-cta-style-outline:not(.gb2-be-light .gb-el-cta-style-outline):hover,
	.gb-el-cta-style-outline:not(.gb2-be-light .gb-el-cta-style-outline):focus-visible,
	.gb-el-cta-style-outline:not(.gb2-be-light .gb-el-cta-style-outline):active { background: rgba(143, 193, 238, 0.14); }
}

/* Hover-Effekte der CTA-Buttons: Modifier-Klasse am Wrapper (.gb-el-cta-fx-NAME), nur CSS, kein zusaetzliches Markup (::before/::after). */
.gb-el-cta { --cta-on-accent: #fff; }
.gb2-be-dark .gb-el-cta { --cta-on-accent: #10243a; }

[class*="gb-el-cta-fx-"] .gb-el-cta:hover,
[class*="gb-el-cta-fx-"] .gb-el-cta:focus-visible { transform: none; box-shadow: 0 4px 12px var(--cta-shadow); }
[class*="gb-el-cta-fx-"] .gb-el-cta-style-outline:hover,
[class*="gb-el-cta-fx-"] .gb-el-cta-style-outline:focus-visible,
[class*="gb-el-cta-fx-"] .gb-el-cta-style-link:hover,
[class*="gb-el-cta-fx-"] .gb-el-cta-style-link:focus-visible { box-shadow: none; }

.gb-el-cta.gb-el-cta-pal { transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.gb-el-cta.gb-el-cta-pal.gb-el-cta-style-fill { background: var(--cta-bg, linear-gradient(135deg, var(--cta-fill-a), var(--cta-fill-b))); color: var(--cta-fg, #fff); }
.gb-el-cta.gb-el-cta-pal.gb-el-cta-style-outline:hover:not(.gb-el-cta-hov), .gb-el-cta.gb-el-cta-pal.gb-el-cta-style-outline:focus-visible:not(.gb-el-cta-hov) { background: color-mix(in srgb, var(--cta-accent) 12%, transparent); }
.gb-el-cta.gb-el-cta-hov.gb-el-cta-style-fill:not(.gb-el-cta-pal) { color: var(--cta-fg, inherit); }
.gb-el-cta.gb-el-cta-hov.gb-el-cta-style-fill:hover, .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-fill:focus-visible { background: var(--cta-hbg); color: var(--cta-hfg); }
.gb-el-cta.gb-el-cta-hov.gb-el-cta-style-outline:hover, .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-outline:focus-visible { background: var(--cta-hbg); color: var(--cta-hfg); border-color: var(--cta-hbd, currentColor); }
.gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:hover, .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:focus-visible { box-shadow: inset 0 0 0 2px var(--cta-bg), 0 4px 12px var(--cta-shadow); }
.gb-el-cta-shadow-off .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:hover, .gb-el-cta-shadow-off .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:focus-visible { box-shadow: inset 0 0 0 2px var(--cta-bg); }

/* Vergroessern */
.gb-el-cta-fx-vergroessern .gb-el-cta:hover, .gb-el-cta-fx-vergroessern .gb-el-cta:focus-visible { transform: scale(1.07); }

/* Pulsieren (Textlink: Textschein statt Ring) */
@keyframes gb-el-cta-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta-accent) 55%, transparent); } 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--cta-accent) 0%, transparent); } }
@keyframes gb-el-cta-pulse-text { 0% { text-shadow: 0 0 0 color-mix(in srgb, var(--cta-accent) 80%, transparent); } 100% { text-shadow: 0 0 16px color-mix(in srgb, var(--cta-accent) 0%, transparent); } }
.gb-el-cta-fx-pulsieren .gb-el-cta:hover, .gb-el-cta-fx-pulsieren .gb-el-cta:focus-visible { animation: gb-el-cta-pulse 1.1s ease-out infinite; }
.gb-el-cta-fx-pulsieren .gb-el-cta-style-link:hover, .gb-el-cta-fx-pulsieren .gb-el-cta-style-link:focus-visible { animation: gb-el-cta-pulse-text 1.1s ease-out infinite; }

/* Huepfen */
@keyframes gb-el-cta-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } 55% { transform: translateY(0); } 75% { transform: translateY(-4px); } }
.gb-el-cta-fx-huepfen .gb-el-cta:hover, .gb-el-cta-fx-huepfen .gb-el-cta:focus-visible { animation: gb-el-cta-bounce 0.65s ease-out 1; }

.gb-el-cta-fx-fuellung-links .gb-el-cta-style-fill, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline { position: relative; isolation: isolate; transition: color 0.35s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline { border-color: var(--cta-accent); }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-fill::before, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: var(--cta-radius); background: rgba(0, 0, 0, 0.3); clip-path: inset(0 100% 0 0); transition: clip-path 0.35s ease; }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline::before { background: var(--cta-accent); }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline:hover, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline:focus-visible { background: transparent; color: var(--cta-on-accent); }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-fill:hover::before, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-fill:focus-visible::before,
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline:hover::before, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-outline:focus-visible::before { clip-path: inset(0 0 0 0); }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-link { text-decoration: none; background-image: linear-gradient(color-mix(in srgb, currentColor 45%, transparent), color-mix(in srgb, currentColor 45%, transparent)), linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: left bottom 7px, left bottom 7px; background-size: 100% 1px, 0 2px; transition: background-size 0.35s ease; }
.gb-el-cta-fx-fuellung-links .gb-el-cta-style-link:hover, .gb-el-cta-fx-fuellung-links .gb-el-cta-style-link:focus-visible { text-decoration: none; background-size: 100% 1px, 100% 2px; }

.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-hov::before { background: var(--cta-hbg); }
.gb-el-cta-fx-fuellung-links .gb-el-cta-ring::before { box-shadow: inset 0 0 0 2px var(--cta-bg); }
.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-fill:hover, .gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-fill:focus-visible { background: var(--cta-bg, linear-gradient(135deg, var(--cta-fill-a), var(--cta-fill-b))); }
.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-outline:hover, .gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-hov.gb-el-cta-style-outline:focus-visible { background: transparent; }
.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:hover, .gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:focus-visible { box-shadow: 0 4px 12px var(--cta-shadow); }
.gb-el-cta-shadow-off.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:hover, .gb-el-cta-shadow-off.gb-el-cta-fx-fuellung-links .gb-el-cta.gb-el-cta-pal.gb-el-cta-ring:focus-visible { box-shadow: none; }

/* Glanzstreifen: Gefuellt/Umrandet bekommen den Streifen, Textlink einen Textmarker, der von links hinter den Text laeuft */
.gb-el-cta-fx-glanz .gb-el-cta-style-fill, .gb-el-cta-fx-glanz .gb-el-cta-style-outline { position: relative; overflow: hidden; isolation: isolate; }
.gb-el-cta-fx-glanz .gb-el-cta-style-fill::after, .gb-el-cta-fx-glanz .gb-el-cta-style-outline::after { content: ""; position: absolute; top: 0; left: -110%; width: 75%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.62), transparent); transform: skewX(-20deg); transition: left 0.7s ease; }
.gb-el-cta-fx-glanz .gb-el-cta-style-outline::after { background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--cta-accent) 30%, transparent), transparent); }
.gb-el-cta-fx-glanz .gb-el-cta-style-fill:hover::after, .gb-el-cta-fx-glanz .gb-el-cta-style-fill:focus-visible::after,
.gb-el-cta-fx-glanz .gb-el-cta-style-outline:hover::after, .gb-el-cta-fx-glanz .gb-el-cta-style-outline:focus-visible::after { left: 150%; }
.gb-el-cta-fx-glanz .gb-el-cta-style-link { background-image: linear-gradient(color-mix(in srgb, var(--cta-accent) 30%, transparent), color-mix(in srgb, var(--cta-accent) 30%, transparent)); background-repeat: no-repeat; background-position: left bottom 11px; background-size: 0 0.62em; transition: background-size 0.4s ease; }
.gb-el-cta-fx-glanz .gb-el-cta-style-link:hover, .gb-el-cta-fx-glanz .gb-el-cta-style-link:focus-visible { background-size: 100% 0.62em; }

/* Unterstreichung laeuft ein */
.gb-el-cta-fx-unterstreichen .gb-el-cta { position: relative; overflow: hidden; isolation: isolate; text-decoration: none; }
.gb-el-cta-fx-unterstreichen .gb-el-cta::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 0; height: 2px; background: currentColor; transition: width 0.3s ease, left 0.3s ease; }
.gb-el-cta-fx-unterstreichen .gb-el-cta:hover::after, .gb-el-cta-fx-unterstreichen .gb-el-cta:focus-visible::after { left: 14%; width: 72%; }
.gb-el-cta-fx-unterstreichen .gb-el-cta-style-link, .gb-el-cta-fx-unterstreichen .gb-el-cta-style-link:hover, .gb-el-cta-fx-unterstreichen .gb-el-cta-style-link:focus-visible { text-decoration: none; }
.gb-el-cta-fx-unterstreichen .gb-el-cta-style-link::after { left: 0; bottom: 4px; }
.gb-el-cta-fx-unterstreichen .gb-el-cta-style-link:hover::after, .gb-el-cta-fx-unterstreichen .gb-el-cta-style-link:focus-visible::after { left: 0; width: 100%; }

/* Gummiband: elastisches Zusammendruecken und Dehnen */
@keyframes gb-el-cta-jelly { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.16, 0.84); } 50% { transform: scale(0.9, 1.1); } 70% { transform: scale(1.05, 0.95); } }
.gb-el-cta-fx-gummiband .gb-el-cta:hover, .gb-el-cta-fx-gummiband .gb-el-cta:focus-visible { animation: gb-el-cta-jelly 0.75s ease-out 1; }

/* Schweben: sanftes Treiben wie bei den Infokarten. */
@property --gb-cta-k { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes gb-el-cta-float { 0%, 100% { transform: translate(0, calc(-2px * var(--gb-cta-k))); } 25% { transform: translate(calc(2px * var(--gb-cta-k)), calc(-5px * var(--gb-cta-k))); } 50% { transform: translate(0, calc(-7px * var(--gb-cta-k))); } 75% { transform: translate(calc(-2px * var(--gb-cta-k)), calc(-4px * var(--gb-cta-k))); } }
.gb-el-cta-fx-schweben .gb-el-cta { --gb-cta-k: 0; transition: --gb-cta-k 0.4s ease-out, box-shadow 0.4s ease-out; animation: gb-el-cta-float 6s ease-in-out infinite paused; }
.gb-el-cta-fx-schweben .gb-el-cta:hover, .gb-el-cta-fx-schweben .gb-el-cta:focus-visible { --gb-cta-k: 1; transition: --gb-cta-k 1.2s ease-in-out, box-shadow 1.2s ease-in-out; animation-play-state: running; box-shadow: 0 12px 24px color-mix(in srgb, var(--cta-accent) 45%, transparent); }
.gb-el-cta-fx-schweben .gb-el-cta-style-outline:hover, .gb-el-cta-fx-schweben .gb-el-cta-style-outline:focus-visible, .gb-el-cta-fx-schweben .gb-el-cta-style-link:hover, .gb-el-cta-fx-schweben .gb-el-cta-style-link:focus-visible { box-shadow: none; }

/* Welle: ein heller Ring breitet sich einmal aus der Mitte aus; Textlink bekommt eine weiche Flaeche, die hinter dem Text einblendet */
@keyframes gb-el-cta-ripple { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(42); opacity: 0; } }
.gb-el-cta-fx-welle .gb-el-cta-style-fill, .gb-el-cta-fx-welle .gb-el-cta-style-outline { position: relative; overflow: hidden; isolation: isolate; }
.gb-el-cta-fx-welle .gb-el-cta-style-fill::after, .gb-el-cta-fx-welle .gb-el-cta-style-outline::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; z-index: 1; pointer-events: none; opacity: 0; background: rgba(255, 255, 255, 0.5); }
.gb-el-cta-fx-welle .gb-el-cta-style-outline::after { background: color-mix(in srgb, var(--cta-accent) 35%, transparent); }
.gb-el-cta-fx-welle .gb-el-cta-style-fill:hover::after, .gb-el-cta-fx-welle .gb-el-cta-style-fill:focus-visible::after,
.gb-el-cta-fx-welle .gb-el-cta-style-outline:hover::after, .gb-el-cta-fx-welle .gb-el-cta-style-outline:focus-visible::after { animation: gb-el-cta-ripple 0.8s ease-out 1; }
.gb-el-cta-fx-welle .gb-el-cta-style-link { position: relative; isolation: isolate; }
.gb-el-cta-fx-welle .gb-el-cta-style-link::before { content: ""; position: absolute; inset: -4px -12px; z-index: -1; border-radius: 999px; background: color-mix(in srgb, var(--cta-accent) 15%, transparent); opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease, transform 0.25s ease; }
.gb-el-cta-fx-welle .gb-el-cta-style-link:hover::before, .gb-el-cta-fx-welle .gb-el-cta-style-link:focus-visible::before { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
	[class*="gb-el-cta-fx-"] .gb-el-cta, [class*="gb-el-cta-fx-"] .gb-el-cta::before, [class*="gb-el-cta-fx-"] .gb-el-cta::after { transition: none !important; animation: none !important; }
}

/* formular */
.gb-el-form { max-width: 640px; font-family: inherit; }
.gb-el-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.gb-el-form-step-title { font-size: 1.15em; font-weight: 600; margin: 0 0 12px; padding: 0; border: 0; }
.gb-el-form-progress { margin: 0 0 12px; font-size: 0.9em; opacity: 0.7; }
.gb-el-form .form-group, .gb-el-form .yform-element { margin-bottom: 14px; }
.gb-el-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.gb-el-form input[type="text"], .gb-el-form input[type="email"], .gb-el-form input[type="tel"], .gb-el-form input[type="url"],
.gb-el-form input[type="number"], .gb-el-form input[type="date"], .gb-el-form input[type="week"], .gb-el-form input[type="month"], .gb-el-form input[type="time"], .gb-el-form input[type="file"], .gb-el-form select, .gb-el-form textarea {
	width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #c4cad1; border-radius: 4px; font: inherit; background: #fff;
}
.gb-el-form .radio label, .gb-el-form .checkbox label { font-weight: 400; display: flex; gap: 8px; align-items: baseline; }
.gb-el-form-info { margin: 0 0 14px; padding: 10px 12px; background: rgba(83, 145, 204, 0.08); border-radius: 4px; }
.gb-el-form-nav { display: flex; gap: 10px; margin-top: 12px; }
.gb-el-form button, .gb-el-form input[type="submit"] { padding: 8px 18px; border: 0; border-radius: 4px; background: #2c6fb0; color: #fff; font: inherit; cursor: pointer; }
.gb-el-form .gb-el-form-prev { background: #e3e7eb; color: #2c3e50; }
.gb-el-form-note { margin-top: 10px; font-size: 0.85em; opacity: 0.75; }
.gb-el-form-error { padding: 12px 14px; background: #fdecea; border-radius: 4px; }
.gb-el-form .gb-el-form-fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.gb-el-form .gb-el-form-fieldset > legend { display: block; width: auto; margin: 0 0 4px; padding: 0; border: 0; font-size: inherit; font-weight: 600; }
.gb-el-form-info-title { display: block; font-weight: 700; margin: 0 0 4px; }
.gb-el-form .gb-el-form-info.gb-el-form-spacer { background: none; padding: 0; margin: 0; border: 0; }
.gb-el-form .radio label, .gb-el-form .checkbox label { float: none; margin: 0 0 6px; }

/* hero */
/* FontAwesome-Icon in der Backend-Vorschau: be_style liefert die FA6-Webfont-Dateien bereits mit, aber keine
   Zuordnung fuer generische fa-*-Namen. Hier nur die Zuordnung fuer den Standard-Pfeil (weitere Icons laedt
   output.php aus dem Addon fa_iconpicker, falls aktiv). Betrifft nur die Backend-Vorschau. */
@font-face {
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url("/assets/addons/be_style/webfonts/fa-solid-900.woff2") format("woff2");
}
.fas, .fa-solid { font-family: "Font Awesome 6 Free"; font-weight: 900; font-style: normal; }
.fa-arrow-right::before { content: "\f061"; }

.gb-el-hero {
	--gb-hero-ratio: 16 / 9;
	--gb-hero-gap: 60px;
	--gb-hero-gap-wide: 80px;
	--gb-hero-text-max: 74rem;
	--gb-hero-inset: clamp(16px, 5%, 64px);
	--gb-hero-radius: 12px;
	--gb-hero-pad: 25px;
	--gb-hero-accent: #2c6196;
	--gb-hero-btn-a: #3a76b2;
	--gb-hero-btn-b: #2c6196;
	--gb-hero-btn-accent: #2c6196;
	--gb-hero-card-bg: rgba(255, 255, 255, 0.78);
	--gb-hero-card-color: #1f2d3d;
	position: relative;
	box-sizing: border-box;
	isolation: isolate;
	container-type: inline-size;
	max-width: var(--gb-hero-max, none);
	margin-left: auto;
	margin-right: auto;
	padding: 24px 0;
}
@media (min-width: 768px) {
	.gb-el-hero:not(.gb-el-hero-layout-vollflaechig) {
		padding-left: var(--gb-hero-pad);
		padding-right: var(--gb-hero-pad);
		max-width: calc(var(--gb-hero-max) + 2 * var(--gb-hero-pad));
	}
}
.gb-el-hero-ratio-1-1 { --gb-hero-ratio: 1 / 1; }
.gb-el-hero-ratio-16-9 { --gb-hero-ratio: 16 / 9; }
.gb-el-hero-ratio-21-9 { --gb-hero-ratio: 21 / 9; }
.gb-el-hero-ratio-3-1 { --gb-hero-ratio: 3 / 1; }
.gb-el-hero-ratio-4-3 { --gb-hero-ratio: 4 / 3; }
.gb-el-hero-ratio-3-2 { --gb-hero-ratio: 3 / 2; }
.gb-el-hero-ratio-8-5 { --gb-hero-ratio: 8 / 5; }
.gb-el-hero-ratio-5-8 { --gb-hero-ratio: 5 / 8; }
.gb-el-hero-ratio-2-3 { --gb-hero-ratio: 2 / 3; }
.gb-el-hero-ratio-3-4 { --gb-hero-ratio: 3 / 4; }
.gb-el-hero-ratio-4-5 { --gb-hero-ratio: 4 / 5; }

.gb-el-hero-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: var(--gb-hero-gap);
	align-items: center;
}
.gb-el-hero-layout-nebeneinander .gb-el-hero-inner,
.gb-el-hero-layout-karten .gb-el-hero-inner { column-gap: var(--gb-hero-gap-wide); }
.gb-el-hero-nomedia .gb-el-hero-inner { grid-template-columns: 1fr; }
.gb-el-hero-side-links .gb-el-hero-media { order: -1; }

.gb-el-hero-text { min-width: 0; }
/* lange (deutsche) Woerter duerfen umbrechen, sonst laeuft der Text auf schmalem Platz ueber den Rand */
.gb-el-hero-title, .gb-el-hero-lead, .gb-el-hero-bullets, .gb-el-hero-card p { overflow-wrap: anywhere; hyphens: auto; }
.gb-el-hero-align-links .gb-el-hero-title, .gb-el-hero-align-links .gb-el-hero-lead { text-align: left; }
.gb-el-hero-title { margin: 0 0 0.5em; }
.gb-el-hero-title-normal {
	font-size: clamp(1.9rem, 4.2cqi, 3rem);
	line-height: 1.12;
	font-weight: 700;
}
.gb-el-hero-title-normal.gb-el-hero-title-big { font-size: clamp(2.2rem, 7.5cqi, 5.5rem); line-height: 1.04; }
.gb-el-hero-title-scale { display: inline; font-size: calc(1em * var(--gb-hero-title-scale, 1.6)); line-height: 1.1; }
.gb-el-hero-accent { color: var(--gb-hero-accent); }
.gb-el-hero-lead { margin: 0; font-size: 1.15em; line-height: 1.6; }

.gb-el-hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.gb-el-hero-bullets {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.95em;
}
.gb-el-hero-bullets li::before {
	content: "\2713";
	content: "\2713" / "";
	margin-right: 8px;
	font-weight: 700;
	color: var(--gb-hero-accent);
}

.gb-el-hero-bullets-icon li::before, .gb-el-hero-bullets-text li::before { content: none; }
.gb-el-hero-bullets-text { column-gap: 12px; }
.gb-el-hero-bullets-text li:not(:last-child)::after {
	content: "\2022";
	content: "\2022" / "";
	margin-left: 12px;
	color: var(--gb-hero-accent);
}
.gb-el-hero-bullets-top { margin: 0 0 16px; }
.gb-el-hero-bullets-icon i { margin-right: 6px; color: var(--gb-hero-accent); }
.gb-el-hero-bullets-stack { flex-direction: column; gap: 6px; }
.gb-el-hero-align-mitte .gb-el-hero-bullets-stack { align-items: center; }
.gb-el-hero-align-rechts .gb-el-hero-bullets-stack { align-items: flex-end; }
.gb-el-hero-align-mitte .gb-el-hero-text { text-align: center; }
.gb-el-hero-align-mitte .gb-el-hero-title, .gb-el-hero-align-mitte .gb-el-hero-lead { text-align: center; }
.gb-el-hero-align-mitte .gb-el-hero-buttons, .gb-el-hero-align-mitte .gb-el-hero-bullets { justify-content: center; }
.gb-el-hero-align-rechts .gb-el-hero-text { text-align: right; }
.gb-el-hero-align-rechts .gb-el-hero-title, .gb-el-hero-align-rechts .gb-el-hero-lead { text-align: right; }
.gb-el-hero-align-rechts .gb-el-hero-buttons, .gb-el-hero-align-rechts .gb-el-hero-bullets { justify-content: flex-end; }

.gb-el-hero-media { position: relative; min-width: 0; }
.gb-el-hero-img, .gb-el-hero-video, .gb-el-hero-player {
	display: block;
	width: 100%;
	aspect-ratio: var(--gb-hero-ratio);
	object-fit: cover;
	object-position: var(--gb-hero-focus, center);
	border-radius: var(--gb-hero-radius);
}
.gb-el-hero-placeholder { display: flex; align-items: center; justify-content: center; box-sizing: border-box; background: #e3e7ec; color: #9aa5b1; }
.gb-el-hero-placeholder svg { width: 64px; max-width: 30%; height: auto; }
.gb-el-hero-square { --gb-hero-radius: 0; }
.gb-el-hero-imgshadow .gb-el-hero-img,
.gb-el-hero-imgshadow .gb-el-hero-video,
.gb-el-hero-imgshadow .gb-el-hero-player { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }
.gb-el-hero-player media-player { width: 100%; height: 100%; border-radius: var(--gb-hero-radius); overflow: hidden; }

.gb-el-hero-play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
}
.gb-el-hero-play::after {
	content: "";
	position: absolute;
	left: 26px;
	top: 20px;
	border-left: 18px solid #fff;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
}

/* Vollflaechig: Hintergrundvideo hat keinen Play-Knopf in der Mitte, die Vorschau deutet das Video nur klein unten rechts an */
.gb-el-hero-play-corner { z-index: 2; left: auto; top: auto; right: 16px; bottom: 16px; width: 44px; height: 44px; margin: 0; }
.gb-el-hero-play-corner::after { left: 17px; top: 13px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }

.gb-el-hero-layout-zentriert .gb-el-hero-inner { grid-template-columns: 1fr; justify-items: stretch; }
.gb-el-hero-layout-zentriert .gb-el-hero-text { max-width: 96rem; width: 100%; }
.gb-el-hero-layout-zentriert .gb-el-hero-media { width: 100%; }
.gb-el-hero-stack-ueber .gb-el-hero-media { order: -1; }

.gb-el-hero-layout-vollflaechig {
	display: grid;
	align-items: center;
	overflow: hidden;
	padding: 0;
	color: #fff;
	background: #243447;
	--gb-hero-accent: #9fd0ff;
	--gb-hero-btn-accent: #fff;
}
.gb-el-hero-layout-vollflaechig::before { content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: var(--gb-hero-ratio); }
.gb-el-hero-layout-vollflaechig .gb-el-hero-inner { grid-area: 1 / 1; }
.gb-el-hero-layout-vollflaechig .gb-el-hero-media { position: absolute; inset: 0; }
.gb-el-hero-layout-vollflaechig .gb-el-hero-img,
.gb-el-hero-layout-vollflaechig .gb-el-hero-video,
.gb-el-hero-layout-vollflaechig .gb-el-hero-bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.gb-el-hero-layout-vollflaechig .gb-el-hero-inner { display: block; position: relative; z-index: 1; box-sizing: border-box; width: 100%; padding: 48px var(--gb-hero-inset); }
.gb-el-hero-inset-gross { --gb-hero-inset: clamp(24px, 10%, 140px); }
.gb-el-hero-inset-sehr-gross { --gb-hero-inset: clamp(32px, 15%, 220px); }
.gb-el-hero-layout-vollflaechig .gb-el-hero-text { max-width: var(--gb-hero-text-max); }
.gb-el-hero-layout-vollflaechig.gb-el-hero-vpos-oben { align-items: start; }
.gb-el-hero-layout-vollflaechig.gb-el-hero-vpos-unten { align-items: end; }
.gb-el-hero-pos-links .gb-el-hero-text { margin-left: 0; margin-right: auto; }
.gb-el-hero-pos-mitte .gb-el-hero-text { margin-left: auto; margin-right: auto; }
.gb-el-hero-pos-rechts .gb-el-hero-text { margin-left: auto; margin-right: 0; }
.gb-el-hero-overlay { position: absolute; inset: 0; }
.gb-el-hero-overlay-leicht .gb-el-hero-overlay { background: rgba(0, 0, 0, 0.25); background: color-mix(in srgb, var(--gb-hero-overlay, #000) 25%, transparent); }
.gb-el-hero-overlay-mittel .gb-el-hero-overlay { background: rgba(0, 0, 0, 0.45); background: color-mix(in srgb, var(--gb-hero-overlay, #000) 45%, transparent); }
.gb-el-hero-overlay-stark .gb-el-hero-overlay { background: rgba(0, 0, 0, 0.65); background: color-mix(in srgb, var(--gb-hero-overlay, #000) 65%, transparent); }
.gb-el-hero-overlay-verlauf .gb-el-hero-overlay { background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0) 70%); background: linear-gradient(to top, color-mix(in srgb, var(--gb-hero-overlay, #000) 78%, transparent), color-mix(in srgb, var(--gb-hero-overlay, #000) 0%, transparent) 70%); }
.gb-el-hero-overlay-verlauf-ecke .gb-el-hero-overlay { background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 70%); background: radial-gradient(ellipse 80% 100% at 0% 100%, color-mix(in srgb, var(--gb-hero-overlay, #000) 70%, transparent), color-mix(in srgb, var(--gb-hero-overlay, #000) 0%, transparent)), linear-gradient(to right, color-mix(in srgb, var(--gb-hero-overlay, #000) 85%, transparent), color-mix(in srgb, var(--gb-hero-overlay, #000) 0%, transparent) 70%); }
.gb-el-hero-overlay-verlauf-ecke-rechts .gb-el-hero-overlay { background: linear-gradient(to left, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 70%); background: radial-gradient(ellipse 80% 100% at 100% 100%, color-mix(in srgb, var(--gb-hero-overlay, #000) 70%, transparent), color-mix(in srgb, var(--gb-hero-overlay, #000) 0%, transparent)), linear-gradient(to left, color-mix(in srgb, var(--gb-hero-overlay, #000) 85%, transparent), color-mix(in srgb, var(--gb-hero-overlay, #000) 0%, transparent) 70%); }

.gb-el-hero-pause {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	cursor: pointer;
}
.gb-el-hero-pause::before {
	content: "";
	display: block;
	width: 14px;
	height: 16px;
	margin: 0 auto;
	box-sizing: border-box;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;
}
.gb-el-hero-pause.is-paused::before {
	width: 0;
	height: 0;
	margin-left: 16px;
	border-left: 14px solid currentColor;
	border-right: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}
.gb-el-hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.gb-el-hero-layout-karten .gb-el-hero-media:not(:has(.gb-el-hero-img)) {
	aspect-ratio: var(--gb-hero-ratio);
	border-radius: var(--gb-hero-radius);
	background: linear-gradient(135deg, rgba(83, 145, 204, 0.18), rgba(83, 145, 204, 0.05));
}
.gb-el-hero-cards {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	pointer-events: none;
}
.gb-el-hero-card {
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	width: min(72%, 340px);
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--gb-hero-card-bg);
	color: var(--gb-hero-card-color);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
}
.gb-el-hero-cardsv-oben .gb-el-hero-cards { justify-content: flex-start; padding: 6% 0; }
.gb-el-hero-cardsv-unten .gb-el-hero-cards { justify-content: flex-end; padding: 6% 0; }
.gb-el-hero-card p { margin: 0; font-size: 0.95em; line-height: 1.45; }
.gb-el-hero-card-media { flex: none; display: block; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; }
.gb-el-hero-card .gb-el-hero-card-media > img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border-radius: 0; object-fit: cover; }
.gb-el-hero-card .gb-el-hero-card-media-icon { overflow: visible; border-radius: 0; }
.gb-el-hero-card .gb-el-hero-card-media-icon > img { object-fit: contain; }
/* Beim Darueberfahren treibt die Karte langsam auf einer kleinen Bahn. */
@property --gb-hero-k { syntax: "<number>"; inherits: false; initial-value: 0; }
.gb-el-hero-card {
	--gb-hero-k: 0;
	transition: --gb-hero-k 1.4s ease-in-out, box-shadow 1.4s ease-in-out;
	animation: gb-el-hero-card-drift 9s ease-in-out infinite paused;
}
.gb-el-hero-card:hover {
	--gb-hero-k: 1;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	animation-play-state: running;
}
@keyframes gb-el-hero-card-drift {
	0%, 100% { transform: translate(0, 0); }
	25% { transform: translate(calc(3px * var(--gb-hero-k)), calc(-3px * var(--gb-hero-k))); }
	50% { transform: translate(0, calc(-5px * var(--gb-hero-k))); }
	75% { transform: translate(calc(-3px * var(--gb-hero-k)), calc(-2px * var(--gb-hero-k))); }
}
@media (prefers-reduced-motion: reduce) {
	.gb-el-hero-card { transition: none; animation: none; }
}

.gb-el-hero-cards-aussen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(1) { margin-left: max(-5%, -24px); }
.gb-el-hero-cards-aussen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(2) { margin-left: 14%; }
.gb-el-hero-cards-aussen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(3) { margin-left: max(-3%, -24px); }
.gb-el-hero-cards-innen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(1) { margin-left: 8%; }
.gb-el-hero-cards-innen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(2) { margin-left: 16%; }
.gb-el-hero-cards-innen.gb-el-hero-side-rechts .gb-el-hero-card:nth-child(3) { margin-left: 10%; }
.gb-el-hero-cards-aussen.gb-el-hero-side-links .gb-el-hero-card { align-self: flex-end; }
.gb-el-hero-cards-aussen.gb-el-hero-side-links .gb-el-hero-card:nth-child(1) { margin-right: max(-5%, -24px); }
.gb-el-hero-cards-aussen.gb-el-hero-side-links .gb-el-hero-card:nth-child(2) { margin-right: 14%; }
.gb-el-hero-cards-aussen.gb-el-hero-side-links .gb-el-hero-card:nth-child(3) { margin-right: max(-3%, -24px); }
.gb-el-hero-cards-innen.gb-el-hero-side-links .gb-el-hero-card { align-self: flex-end; }
.gb-el-hero-cards-innen.gb-el-hero-side-links .gb-el-hero-card:nth-child(1) { margin-right: 8%; }
.gb-el-hero-cards-innen.gb-el-hero-side-links .gb-el-hero-card:nth-child(2) { margin-right: 16%; }
.gb-el-hero-cards-innen.gb-el-hero-side-links .gb-el-hero-card:nth-child(3) { margin-right: 10%; }

@container (max-width: 800px) {
	.gb-el-hero-cards-aussen .gb-el-hero-card:nth-child(odd) { margin-left: 0 !important; margin-right: 0 !important; }
}
@container (max-width: 640px) {
	.gb-el-hero-cards { position: static; margin-top: 12px; padding: 0 !important; pointer-events: auto; }
	.gb-el-hero-layout-karten .gb-el-hero-card { width: auto; margin: 0 !important; align-self: stretch; }
	.gb-el-hero-layout-karten .gb-el-hero-media:not(:has(.gb-el-hero-img)) { aspect-ratio: auto; padding: 16px; }
	.gb-el-hero-layout-vollflaechig .gb-el-hero-inner { padding: 32px 16px; }
}

.gb-el-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 26px;
	border: 2px solid transparent;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 12px rgba(44, 97, 150, 0.35);
	max-width: 100%;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.gb-el-hero-btn-default {
	background: #2f6a9f;
	background: linear-gradient(135deg, var(--gb-hero-btn-a), var(--gb-hero-btn-b));
	color: #fff;
}
.gb-el-hero-btn:hover, .gb-el-hero-btn:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(44, 97, 150, 0.45);
}
.gb-el-hero-btn-default:hover, .gb-el-hero-btn-default:focus-visible { color: #fff; }
.gb-el-hero-btn-fill:not([style*="--gb-hero-btn-accent"]) { --gb-hero-btn-accent: var(--gb-hero-btn-b); }
.gb-el-hero-btn:focus-visible { outline: 2px solid #2c6ea3; outline-offset: 2px; }
.gb-el-hero-layout-vollflaechig .gb-el-hero-btn:focus-visible { outline-color: #fff; }
.gb-el-hero-btn i { font-size: 0.9em; }
.gb-el-hero-btn-outline { background: transparent; color: var(--gb-hero-btn-accent); border-color: currentColor; box-shadow: none; }
.gb-el-hero-btn-outline:hover, .gb-el-hero-btn-outline:focus-visible { background: rgba(44, 97, 150, 0.12); color: var(--gb-hero-btn-accent); box-shadow: none; transform: none; }
.gb-el-hero-btn-link { background: transparent; color: var(--gb-hero-btn-accent); padding-left: 0; padding-right: 0; box-shadow: none; text-decoration: underline; text-underline-offset: 3px; }
.gb-el-hero-btn-link:hover, .gb-el-hero-btn-link:focus-visible { color: var(--gb-hero-btn-accent); text-decoration: underline; text-decoration-thickness: 2px; box-shadow: none; transform: none; }

.gb2-be-dark .gb-el-hero {
	color: #e6edf3;
	--gb-hero-accent: #8fc1ee;
	--gb-hero-btn-accent: #8fc1ee;
	--gb-hero-card-bg: rgba(30, 41, 53, 0.78);
	--gb-hero-card-color: #e6edf3;
}
.gb2-be-dark .gb-el-hero-layout-vollflaechig { color: #fff; --gb-hero-btn-accent: #fff; }
@media (prefers-color-scheme: dark) {
	.gb-el-hero:not(.gb2-be-light .gb-el-hero) {
		color: #e6edf3;
		--gb-hero-accent: #8fc1ee;
		--gb-hero-btn-accent: #8fc1ee;
		--gb-hero-card-bg: rgba(30, 41, 53, 0.78);
		--gb-hero-card-color: #e6edf3;
	}
	.gb-el-hero-layout-vollflaechig:not(.gb2-be-light .gb-el-hero-layout-vollflaechig) { color: #fff; --gb-hero-btn-accent: #fff; }
}

/* Hover-Effekte der Hero-Buttons: Modifier-Klasse am Wrapper (.gb-el-hero-fx-NAME), nur CSS, kein zusaetzliches Markup (::before/::after). */
.gb-el-hero-btn { --gb-hero-btn-on: #fff; }
.gb2-be-dark .gb-el-hero-btn { --gb-hero-btn-on: #10243a; }

[class*="gb-el-hero-fx-"] .gb-el-hero-btn:hover,
[class*="gb-el-hero-fx-"] .gb-el-hero-btn:focus-visible { transform: none; box-shadow: 0 4px 12px var(--gb-hero-btn-shadow); }
[class*="gb-el-hero-fx-"] .gb-el-hero-btn-outline:hover,
[class*="gb-el-hero-fx-"] .gb-el-hero-btn-outline:focus-visible,
[class*="gb-el-hero-fx-"] .gb-el-hero-btn-link:hover,
[class*="gb-el-hero-fx-"] .gb-el-hero-btn-link:focus-visible { box-shadow: none; }

.gb-el-hero-btn.gb-el-hero-btn-pal { transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-fill { background: var(--gb-hero-btn-bg, linear-gradient(135deg, var(--gb-hero-btn-a), var(--gb-hero-btn-b))); color: var(--gb-hero-btn-fg, #fff); }
.gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-outline:hover:not(.gb-el-hero-btn-hov), .gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-outline:focus-visible:not(.gb-el-hero-btn-hov) { background: color-mix(in srgb, var(--gb-hero-btn-accent) 12%, transparent); }
.gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-fill:not(.gb-el-hero-btn-pal) { color: var(--gb-hero-btn-fg, inherit); }
.gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-fill:hover, .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-fill:focus-visible { background: var(--gb-hero-btn-hbg); color: var(--gb-hero-btn-hfg); }
.gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-outline:hover, .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-outline:focus-visible { background: var(--gb-hero-btn-hbg); color: var(--gb-hero-btn-hfg); border-color: var(--gb-hero-btn-hbd, currentColor); }
.gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-ring:hover, .gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-ring:focus-visible { box-shadow: inset 0 0 0 2px var(--gb-hero-btn-bg), 0 4px 12px var(--gb-hero-btn-shadow); }

/* Vergroessern */
.gb-el-hero-fx-vergroessern .gb-el-hero-btn:hover, .gb-el-hero-fx-vergroessern .gb-el-hero-btn:focus-visible { transform: scale(1.07); }

/* Pulsieren (Textlink: Textschein statt Ring) */
@keyframes gb-el-hero-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gb-hero-btn-accent) 55%, transparent); } 100% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--gb-hero-btn-accent) 0%, transparent); } }
@keyframes gb-el-hero-pulse-text { 0% { text-shadow: 0 0 0 color-mix(in srgb, var(--gb-hero-btn-accent) 80%, transparent); } 100% { text-shadow: 0 0 16px color-mix(in srgb, var(--gb-hero-btn-accent) 0%, transparent); } }
.gb-el-hero-fx-pulsieren .gb-el-hero-btn:hover, .gb-el-hero-fx-pulsieren .gb-el-hero-btn:focus-visible { animation: gb-el-hero-pulse 1.1s ease-out infinite; }
.gb-el-hero-fx-pulsieren .gb-el-hero-btn-link:hover, .gb-el-hero-fx-pulsieren .gb-el-hero-btn-link:focus-visible { animation: gb-el-hero-pulse-text 1.1s ease-out infinite; }

/* Huepfen */
@keyframes gb-el-hero-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } 55% { transform: translateY(0); } 75% { transform: translateY(-4px); } }
.gb-el-hero-fx-huepfen .gb-el-hero-btn:hover, .gb-el-hero-fx-huepfen .gb-el-hero-btn:focus-visible { animation: gb-el-hero-bounce 0.65s ease-out 1; }

.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-fill, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline { position: relative; isolation: isolate; transition: color 0.35s ease, transform 0.15s ease, box-shadow 0.15s ease; }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline { border-color: var(--gb-hero-btn-accent); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-fill::before, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: rgba(0, 0, 0, 0.3); clip-path: inset(0 100% 0 0); transition: clip-path 0.35s ease; }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline::before { background: var(--gb-hero-btn-accent); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline:hover, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline:focus-visible { background: transparent; color: var(--gb-hero-btn-on); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-fill:hover::before, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-fill:focus-visible::before,
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline:hover::before, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-outline:focus-visible::before { clip-path: inset(0 0 0 0); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-link { text-decoration: none; background-image: linear-gradient(color-mix(in srgb, currentColor 45%, transparent), color-mix(in srgb, currentColor 45%, transparent)), linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: left bottom 7px, left bottom 7px; background-size: 100% 1px, 0 2px; transition: background-size 0.35s ease; }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-link:hover, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn-link:focus-visible { text-decoration: none; background-size: 100% 1px, 100% 2px; }

.gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-hov::before { background: var(--gb-hero-btn-hbg); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn-ring::before { box-shadow: inset 0 0 0 2px var(--gb-hero-btn-bg); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-fill:hover, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-fill:focus-visible { background: var(--gb-hero-btn-bg, linear-gradient(135deg, var(--gb-hero-btn-a), var(--gb-hero-btn-b))); }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-outline:hover, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-hov.gb-el-hero-btn-outline:focus-visible { background: transparent; }
.gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-ring:hover, .gb-el-hero-fx-fuellung-links .gb-el-hero-btn.gb-el-hero-btn-pal.gb-el-hero-btn-ring:focus-visible { box-shadow: 0 4px 12px var(--gb-hero-btn-shadow); }

/* Glanzstreifen: Gefuellt/Umrandet bekommen den Streifen, Textlink einen Textmarker, der von links hinter den Text laeuft */
.gb-el-hero-fx-glanz .gb-el-hero-btn-fill, .gb-el-hero-fx-glanz .gb-el-hero-btn-outline { position: relative; overflow: hidden; isolation: isolate; }
.gb-el-hero-fx-glanz .gb-el-hero-btn-fill::after, .gb-el-hero-fx-glanz .gb-el-hero-btn-outline::after { content: ""; position: absolute; top: 0; left: -110%; width: 75%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.62), transparent); transform: skewX(-20deg); transition: left 0.7s ease; }
.gb-el-hero-fx-glanz .gb-el-hero-btn-outline::after { background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--gb-hero-btn-accent) 30%, transparent), transparent); }
.gb-el-hero-fx-glanz .gb-el-hero-btn-fill:hover::after, .gb-el-hero-fx-glanz .gb-el-hero-btn-fill:focus-visible::after,
.gb-el-hero-fx-glanz .gb-el-hero-btn-outline:hover::after, .gb-el-hero-fx-glanz .gb-el-hero-btn-outline:focus-visible::after { left: 150%; }
.gb-el-hero-fx-glanz .gb-el-hero-btn-link { background-image: linear-gradient(color-mix(in srgb, var(--gb-hero-btn-accent) 30%, transparent), color-mix(in srgb, var(--gb-hero-btn-accent) 30%, transparent)); background-repeat: no-repeat; background-position: left bottom 11px; background-size: 0 0.62em; transition: background-size 0.4s ease; }
.gb-el-hero-fx-glanz .gb-el-hero-btn-link:hover, .gb-el-hero-fx-glanz .gb-el-hero-btn-link:focus-visible { background-size: 100% 0.62em; }

/* Unterstreichung laeuft ein */
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn { position: relative; overflow: hidden; isolation: isolate; text-decoration: none; }
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 0; height: 2px; background: currentColor; transition: width 0.3s ease, left 0.3s ease; }
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn:hover::after, .gb-el-hero-fx-unterstreichen .gb-el-hero-btn:focus-visible::after { left: 14%; width: 72%; }
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link, .gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link:hover, .gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link:focus-visible { text-decoration: none; }
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link::after { left: 0; bottom: 4px; }
.gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link:hover::after, .gb-el-hero-fx-unterstreichen .gb-el-hero-btn-link:focus-visible::after { left: 0; width: 100%; }

/* Gummiband: elastisches Zusammendruecken und Dehnen */
@keyframes gb-el-hero-jelly { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.16, 0.84); } 50% { transform: scale(0.9, 1.1); } 70% { transform: scale(1.05, 0.95); } }
.gb-el-hero-fx-gummiband .gb-el-hero-btn:hover, .gb-el-hero-fx-gummiband .gb-el-hero-btn:focus-visible { animation: gb-el-hero-jelly 0.75s ease-out 1; }

/* Schweben: sanftes Treiben wie bei den Infokarten. */
@keyframes gb-el-hero-float { 0%, 100% { transform: translate(0, calc(-2px * var(--gb-hero-k))); } 25% { transform: translate(calc(2px * var(--gb-hero-k)), calc(-5px * var(--gb-hero-k))); } 50% { transform: translate(0, calc(-7px * var(--gb-hero-k))); } 75% { transform: translate(calc(-2px * var(--gb-hero-k)), calc(-4px * var(--gb-hero-k))); } }
.gb-el-hero-fx-schweben .gb-el-hero-btn { --gb-hero-k: 0; transition: --gb-hero-k 0.4s ease-out, box-shadow 0.4s ease-out; animation: gb-el-hero-float 6s ease-in-out infinite paused; }
.gb-el-hero-fx-schweben .gb-el-hero-btn:hover, .gb-el-hero-fx-schweben .gb-el-hero-btn:focus-visible { --gb-hero-k: 1; transition: --gb-hero-k 1.2s ease-in-out, box-shadow 1.2s ease-in-out; animation-play-state: running; box-shadow: 0 12px 24px color-mix(in srgb, var(--gb-hero-btn-accent) 45%, transparent); }
.gb-el-hero-fx-schweben .gb-el-hero-btn-outline:hover, .gb-el-hero-fx-schweben .gb-el-hero-btn-outline:focus-visible, .gb-el-hero-fx-schweben .gb-el-hero-btn-link:hover, .gb-el-hero-fx-schweben .gb-el-hero-btn-link:focus-visible { box-shadow: none; }

/* Welle: ein heller Ring breitet sich einmal aus der Mitte aus; Textlink bekommt eine weiche Flaeche, die hinter dem Text einblendet */
@keyframes gb-el-hero-ripple { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0.9; } 100% { transform: translate(-50%, -50%) scale(42); opacity: 0; } }
.gb-el-hero-fx-welle .gb-el-hero-btn-fill, .gb-el-hero-fx-welle .gb-el-hero-btn-outline { position: relative; overflow: hidden; isolation: isolate; }
.gb-el-hero-fx-welle .gb-el-hero-btn-fill::after, .gb-el-hero-fx-welle .gb-el-hero-btn-outline::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; z-index: 1; pointer-events: none; opacity: 0; background: rgba(255, 255, 255, 0.5); }
.gb-el-hero-fx-welle .gb-el-hero-btn-outline::after { background: color-mix(in srgb, var(--gb-hero-btn-accent) 35%, transparent); }
.gb-el-hero-fx-welle .gb-el-hero-btn-fill:hover::after, .gb-el-hero-fx-welle .gb-el-hero-btn-fill:focus-visible::after,
.gb-el-hero-fx-welle .gb-el-hero-btn-outline:hover::after, .gb-el-hero-fx-welle .gb-el-hero-btn-outline:focus-visible::after { animation: gb-el-hero-ripple 0.8s ease-out 1; }
.gb-el-hero-fx-welle .gb-el-hero-btn-link { position: relative; isolation: isolate; }
.gb-el-hero-fx-welle .gb-el-hero-btn-link::before { content: ""; position: absolute; inset: -4px -12px; z-index: -1; border-radius: 999px; background: color-mix(in srgb, var(--gb-hero-btn-accent) 15%, transparent); opacity: 0; transform: scale(0.85); transition: opacity 0.25s ease, transform 0.25s ease; }
.gb-el-hero-fx-welle .gb-el-hero-btn-link:hover::before, .gb-el-hero-fx-welle .gb-el-hero-btn-link:focus-visible::before { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
	[class*="gb-el-hero-fx-"] .gb-el-hero-btn, [class*="gb-el-hero-fx-"] .gb-el-hero-btn::before, [class*="gb-el-hero-fx-"] .gb-el-hero-btn::after { transition: none !important; animation: none !important; }
}

/* Variablen der Button-Effekte (Textfarbe auf der Akzentfarbe, Schatten) */
.gb-el-hero-btn { --gb-hero-btn-shadow: rgba(44, 97, 150, 0.35); }
.gb-el-hero-layout-vollflaechig .gb-el-hero-btn { --gb-hero-btn-on: #1b2733; }
@media (prefers-color-scheme: dark) {
	.gb-el-hero-btn:not(.gb2-be-light .gb-el-hero-btn) { --gb-hero-btn-on: #10243a; }
	.gb-el-hero-layout-vollflaechig .gb-el-hero-btn:not(.gb2-be-light .gb-el-hero-btn) { --gb-hero-btn-on: #1b2733; }
}

/* karten */
.gb-el-cards {
	--gb-cards-w: 300px;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: var(--gb-cards-gap, 24px);
}
.gb-el-cards-ca-mitte { justify-content: center; }
.gb-el-cards-ca-rechts { justify-content: flex-end; }
.gb-el-cards-w-schmal { --gb-cards-w: 220px; }
.gb-el-cards-w-normal { --gb-cards-w: 300px; }
.gb-el-cards-w-breit { --gb-cards-w: 400px; }
.gb-el-cards-w-sehr-breit { --gb-cards-w: 560px; }
.gb-el-cards-w-voll { --gb-cards-w: 100%; }

.gb-el-cards-item { display: flex; flex: 0 1 var(--gb-cards-w); max-width: 100%; min-width: 0; margin: 0; padding: 0; }
.gb-el-cards-w-voll .gb-el-cards-item { flex: 1 1 100%; }

.gb-el-cards-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	background: var(--gb-cards-bg, var(--gb-d-bg, #fff));
	color: var(--gb-cards-fg, var(--gb-d-fg, currentColor));
	border-radius: var(--gb-cards-radius, 10px);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.gb-el-cards-card:hover,
a.gb-el-cards-card:focus-visible {
	color: var(--gb-cards-fg, var(--gb-d-fg, currentColor));
	text-decoration: none;
	transform: translateY(-3px);
}
a.gb-el-cards-card:focus-visible { outline: 2px solid var(--gb-cards-accent, #2c5fa8); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.gb-el-cards-card, .gb-el-cards-btn, .gb-el-cards-media img { transition: none; }
	a.gb-el-cards-card:hover, a.gb-el-cards-card:focus-visible { transform: none; }
}

.gb-el-cards-media { position: relative; display: block; width: 100%; overflow: hidden; }
.gb-el-cards-media img { display: block; width: 100%; height: auto; transition: transform 0.25s ease; }
.gb-el-cards-media-icon { width: 56px; height: 56px; aspect-ratio: auto; overflow: visible; }
.gb-el-cards-media-icon img { width: 100%; height: 100%; object-fit: contain; }
.gb-el-cards-a-mitte .gb-el-cards-media-icon { align-self: center; }
.gb-el-cards-a-rechts .gb-el-cards-media-icon { align-self: flex-end; }

.gb-el-cards-body { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; min-width: 0; }
.gb-el-cards-a-mitte .gb-el-cards-body { align-items: center; text-align: center; }
.gb-el-cards-a-rechts .gb-el-cards-body { align-items: flex-end; text-align: right; }

.gb-el-cards-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: inherit; }
.gb-el-cards-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gb-cards-fg, var(--gb-d-muted, #555)); }
.gb-el-cards-has-fg .gb-el-cards-text { opacity: 0.9; }

.gb-el-cards-label {
	display: inline-flex;
	align-items: center;
	padding: 6px 13px 5px;
	border-radius: min(8px, var(--gb-cards-radius, 8px));
	background: var(--gb-cards-accent, #2c5fa8);
	color: var(--gb-cards-on-accent, #fff);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}
.gb-el-cards-media .gb-el-cards-label { position: absolute; left: 16px; bottom: 14px; }
.gb-el-cards-a-mitte .gb-el-cards-media .gb-el-cards-label { left: 50%; transform: translateX(-50%); }
.gb-el-cards-a-rechts .gb-el-cards-media .gb-el-cards-label { left: auto; right: 16px; }

.gb-el-cards-btn {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--gb-cards-btn-radius, 10px);
	background: var(--gb-cards-accent, #2c5fa8);
	color: var(--gb-cards-on-accent, #fff);
	transition: filter 0.15s ease;
}
.gb-el-cards-btn::after {
	content: "";
	width: 9px;
	height: 9px;
	margin-right: 3px;
	border: solid currentColor;
	border-width: 3px 3px 0 0;
	transform: rotate(45deg);
}
a.gb-el-cards-card:hover .gb-el-cards-btn,
a.gb-el-cards-card:focus-visible .gb-el-cards-btn { filter: brightness(1.12); }

.gb-el-cards-s-klassisch .gb-el-cards-card {
	align-items: flex-start;
	gap: 14px;
	padding: 24px;
	border: 1px solid rgba(83, 145, 204, 0.2);
	box-shadow: 0 4px 14px rgba(31, 74, 105, 0.08);
}
.gb-el-cards-s-klassisch .gb-el-cards-media { aspect-ratio: var(--gb-cards-ratio, 16 / 9); border-radius: calc(var(--gb-cards-radius, 10px) * 0.6); }
.gb-el-cards-s-klassisch .gb-el-cards-media img { height: 100%; object-fit: cover; }
.gb-el-cards-s-klassisch .gb-el-cards-media-icon { border-radius: 0; }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel .gb-el-cards-media { width: 120px; }
.gb-el-cards-s-klassisch.gb-el-cards-is-klein .gb-el-cards-media { width: 64px; }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel .gb-el-cards-media-icon { height: 120px; }
.gb-el-cards-s-klassisch.gb-el-cards-is-klein .gb-el-cards-media-icon { height: 64px; }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel .gb-el-cards-media:not(.gb-el-cards-media-icon),
.gb-el-cards-s-klassisch.gb-el-cards-is-klein .gb-el-cards-media:not(.gb-el-cards-media-icon) { aspect-ratio: auto; }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel .gb-el-cards-media:not(.gb-el-cards-media-icon) img,
.gb-el-cards-s-klassisch.gb-el-cards-is-klein .gb-el-cards-media:not(.gb-el-cards-media-icon) img { height: auto; object-fit: contain; }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon),
.gb-el-cards-s-klassisch.gb-el-cards-is-klein.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon) { aspect-ratio: var(--gb-cards-ratio); }
.gb-el-cards-s-klassisch.gb-el-cards-is-mittel.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon) img,
.gb-el-cards-s-klassisch.gb-el-cards-is-klein.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon) img { height: 100%; object-fit: cover; }
.gb-el-cards-s-klassisch.gb-el-cards-a-mitte[class*="gb-el-cards-is-"] .gb-el-cards-media { align-self: center; }
.gb-el-cards-s-klassisch.gb-el-cards-a-rechts[class*="gb-el-cards-is-"] .gb-el-cards-media { align-self: flex-end; }
.gb-el-cards-s-klassisch a.gb-el-cards-card:hover { box-shadow: 0 10px 22px rgba(31, 74, 105, 0.16); }

.gb-el-cards-s-offen .gb-el-cards-card { gap: 18px; background: transparent; border-radius: 0; overflow: visible; }
.gb-el-cards-s-offen .gb-el-cards-media { aspect-ratio: var(--gb-cards-ratio, 1 / 1); border-radius: var(--gb-cards-radius, 12px); box-shadow: 0 4px 14px rgba(31, 74, 105, 0.12); }
.gb-el-cards-s-offen .gb-el-cards-media img { height: 100%; object-fit: cover; }
.gb-el-cards-s-offen .gb-el-cards-media-icon { box-shadow: none; border-radius: 0; }
.gb-el-cards-s-offen .gb-el-cards-title { font-size: 22px; font-weight: 700; }
.gb-el-cards-s-offen .gb-el-cards-text { font-size: 16px; }
.gb-el-cards-s-offen a.gb-el-cards-card:hover { box-shadow: none; }

.gb-el-cards-s-kachel .gb-el-cards-card {
	border: 1px solid rgba(83, 145, 204, 0.2);
	box-shadow: 0 4px 14px rgba(31, 74, 105, 0.12);
}
.gb-el-cards-s-kachel .gb-el-cards-media { aspect-ratio: var(--gb-cards-ratio, 16 / 9); }
.gb-el-cards-s-kachel .gb-el-cards-media img { height: 100%; object-fit: cover; }
.gb-el-cards-s-kachel .gb-el-cards-media-icon { margin: 22px 22px 0; }
.gb-el-cards-s-kachel .gb-el-cards-label { padding: 4px 10px 3px; }
.gb-el-cards-s-kachel .gb-el-cards-body { padding: 18px 22px 22px; gap: 8px; }
.gb-el-cards-s-kachel.gb-el-cards-has-btn .gb-el-cards-body { position: relative; min-height: 84px; padding-right: 82px; }
.gb-el-cards-s-kachel .gb-el-cards-title { font-size: 22px; font-weight: 700; }
.gb-el-cards-s-kachel .gb-el-cards-text { font-size: 16px; }
.gb-el-cards-s-kachel.gb-el-cards-stripe .gb-el-cards-card { border-bottom: 6px solid var(--gb-cards-accent, #2c5fa8); }
a.gb-el-cards-card:hover .gb-el-cards-media img { transform: scale(1.04); }
a.gb-el-cards-card:hover .gb-el-cards-media-icon img { transform: none; }

.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-card { flex-direction: row; }
.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-card { flex-direction: row-reverse; }
.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-media:not(.gb-el-cards-media-icon),
.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-media:not(.gb-el-cards-media-icon) { flex: 0 0 42%; width: 42%; min-height: 200px; aspect-ratio: auto; }
.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-media:not(.gb-el-cards-media-icon) img,
.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-media:not(.gb-el-cards-media-icon) img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-media-icon,
.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-media-icon { flex: none; margin: 22px 0 0 22px; }
.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-body,
.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-body { flex: 1 1 0; justify-content: center; }
@media (max-width: 600px) {
	.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-card,
	.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-card { flex-direction: column; }
	.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-media:not(.gb-el-cards-media-icon),
	.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-media:not(.gb-el-cards-media-icon) { flex: none; width: 100%; min-height: 0; aspect-ratio: var(--gb-cards-ratio, 16 / 9); }
	.gb-el-cards-s-kachel.gb-el-cards-img-links .gb-el-cards-media-icon,
	.gb-el-cards-s-kachel.gb-el-cards-img-rechts .gb-el-cards-media-icon { margin: 22px 22px 0; }
}

.gb-el-cards-s-kompakt .gb-el-cards-card {
	flex-direction: row;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid rgba(83, 145, 204, 0.22);
	border-radius: var(--gb-cards-radius, 12px);
	box-shadow: 0 4px 14px rgba(31, 74, 105, 0.08);
}
.gb-el-cards-s-kompakt .gb-el-cards-media { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; aspect-ratio: auto; overflow: visible; align-self: center; }
.gb-el-cards-s-kompakt .gb-el-cards-media img { width: 100%; height: 100%; object-fit: contain; }
.gb-el-cards-s-kompakt .gb-el-cards-body { flex: 1 1 auto; width: auto; gap: 4px; }
.gb-el-cards-s-kompakt .gb-el-cards-title { font-size: 17px; font-weight: 700; }
.gb-el-cards-s-kompakt .gb-el-cards-link::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	margin: 0 6px 0 auto;
	border: solid var(--gb-cards-accent, #2c5fa8);
	border-width: 3px 3px 0 0;
	transform: rotate(45deg);
}
.gb-el-cards-s-kompakt a.gb-el-cards-card:hover .gb-el-cards-media img { transform: none; }

.gb-el-cards-s-kompakt.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon) { width: 72px; height: auto; aspect-ratio: var(--gb-cards-ratio); overflow: hidden; border-radius: calc(var(--gb-cards-radius, 12px) * 0.5); }
.gb-el-cards-s-kompakt.gb-el-cards-has-ratio .gb-el-cards-media:not(.gb-el-cards-media-icon) img { object-fit: cover; }
.gb-el-cards-s-kompakt.gb-el-cards-ratio-original .gb-el-cards-media:not(.gb-el-cards-media-icon) { width: 72px; height: auto; overflow: hidden; border-radius: calc(var(--gb-cards-radius, 12px) * 0.5); }
.gb-el-cards-ratio-original .gb-el-cards-media:not(.gb-el-cards-media-icon) { aspect-ratio: auto; }
.gb-el-cards-ratio-original .gb-el-cards-media:not(.gb-el-cards-media-icon) img { height: auto; object-fit: contain; }
.gb-el-cards-noshadow .gb-el-cards-card,
.gb-el-cards-noshadow .gb-el-cards-media,
.gb-el-cards-noshadow a.gb-el-cards-card:hover { box-shadow: none; }

.gb2-be-dark .gb-el-cards { --gb-d-bg: #1f2a36; --gb-d-fg: #e6edf3; --gb-d-muted: #b5c3d0; }
.gb2-be-dark .gb-el-cards-card { border-color: rgba(143, 193, 238, 0.25); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
.gb2-be-dark a.gb-el-cards-card:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5); }
.gb2-be-dark .gb-el-cards-noshadow .gb-el-cards-card,
.gb2-be-dark .gb-el-cards-noshadow a.gb-el-cards-card:hover { box-shadow: none; }

@media (prefers-color-scheme: dark) {
	.gb-el-cards:not(.gb2-be-light .gb-el-cards) { --gb-d-bg: #1f2a36; --gb-d-fg: #e6edf3; --gb-d-muted: #b5c3d0; }
	.gb-el-cards:not(.gb2-be-light .gb-el-cards) .gb-el-cards-card { border-color: rgba(143, 193, 238, 0.25); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }
	.gb-el-cards:not(.gb2-be-light .gb-el-cards) a.gb-el-cards-card:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5); }
	.gb-el-cards-noshadow:not(.gb2-be-light .gb-el-cards-noshadow) .gb-el-cards-card { box-shadow: none; }
}

/* zitat */
.gb-el-zitate {
	--gb-zitat-gap: 20px;
	--gb-zitat-cols: 3;
	--gb-zitat-img-size: 52px;
	--gb-zitat-slide-min: 280px;
	--gb-zitat-grid-min: 260px;
}
.gb-el-zitate-cols-1 { --gb-zitat-cols: 1; }
.gb-el-zitate-cols-2 { --gb-zitat-cols: 2; }
.gb-el-zitate-cols-3 { --gb-zitat-cols: 3; }
.gb-el-zitate-cols-4 { --gb-zitat-cols: 4; }

.gb-el-zitat {
	--zt-pad-side: 32px;
	--zt-pad-quote: 72px;
	--zt-bg: linear-gradient(135deg, rgba(83, 145, 204, 0.07), rgba(83, 145, 204, 0.02));
	--zt-text: #2c3e50;
	--zt-mark: #3b82c4;
	--zt-mark-opacity: 0.85;
	--zt-cap-text: #595959;
	--zt-cap-bg: #c6dbed;
	--zt-border: #c6dbed;
	position: relative;
	margin: 0;
	padding: 28px var(--zt-pad-side) 24px var(--zt-pad-quote);
	background: var(--zt-bg);
	border: 1px solid var(--zt-border);
	border-radius: 10px;
	font-size: 22px;
	line-height: 1.6;
	color: var(--zt-text);
	font-style: italic;
}
.gb-el-zitat::before {
	content: "\201C";
	content: "\201C" / "";
	position: absolute;
	top: 6px;
	left: 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-style: normal;
	font-size: 88px;
	line-height: 1;
	color: var(--zt-mark);
	opacity: var(--zt-mark-opacity);
}
.gb-el-zitat blockquote { margin: 0; padding: 0; border: 0; }
.gb-el-zitat p { margin: 0; }

.gb-el-zitat .autor {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 0;
	padding: 3px 25px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	color: var(--zt-cap-text);
	background: var(--zt-cap-bg);
}
.gb-el-zitat cite { font-style: normal; }
.gb-el-zitat .autor a { color: inherit; text-decoration: underline; }

.gb-el-zitat-align-mitte { text-align: center; padding-top: 56px; padding-left: var(--zt-pad-side); padding-right: var(--zt-pad-side); }
.gb-el-zitat-align-mitte::before { left: 50%; top: 4px; transform: translateX(-50%); }
.gb-el-zitat-align-mitte .autor { justify-content: center; }

.gb-el-zitat-align-rechts { text-align: right; padding-left: var(--zt-pad-side); padding-right: var(--zt-pad-quote); }
.gb-el-zitat-align-rechts::before { left: auto; right: 20px; }
.gb-el-zitat-align-rechts .autor { justify-content: flex-end; }

.gb-el-zitate-imgpos-rechts .gb-el-zitat-align-links .autor,
.gb-el-zitate-imgpos-links .gb-el-zitat-align-rechts .autor { justify-content: space-between; }

.gb-el-zitat .autor.gb-el-zitat-cap-img { padding: 10px 16px; }
.gb-el-zitat-cap-img .gb-el-zitat-sep { display: none; }
.gb-el-zitat-cap-img .gb-el-zitat-cap-text > span:not(.gb-el-zitat-sep),
.gb-el-zitat-cap-img .gb-el-zitat-cap-text > cite { display: block; }
.gb-el-zitat-cap-img .gb-el-zitat-role,
.gb-el-zitat-cap-img .gb-el-zitat-source { font-weight: 400; }

.gb-el-zitat-img {
	flex: none;
	display: block;
	width: var(--gb-zitat-img-size);
	height: var(--gb-zitat-img-size);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 0;
}
.gb-el-zitat-img.gb-el-zitat-img-contain { object-fit: contain; }
.gb-el-zitate-round .gb-el-zitat-img { border-radius: 50%; }

.gb-el-zitate-layout-raster .gb-el-zitat,
.gb-el-zitate-layout-slider .gb-el-zitat {
	--zt-pad-side: 22px;
	--zt-pad-quote: 52px;
	font-size: 17px;
}
.gb-el-zitate-layout-raster .gb-el-zitat::before,
.gb-el-zitate-layout-slider .gb-el-zitat::before { font-size: 64px; left: 14px; }
.gb-el-zitate-layout-raster .gb-el-zitat-align-rechts::before,
.gb-el-zitate-layout-slider .gb-el-zitat-align-rechts::before { left: auto; right: 14px; }
.gb-el-zitate-layout-raster .gb-el-zitat-align-mitte::before,
.gb-el-zitate-layout-slider .gb-el-zitat-align-mitte::before { left: 50%; top: 4px; }
.gb-el-zitate-layout-raster .gb-el-zitat-align-mitte,
.gb-el-zitate-layout-slider .gb-el-zitat-align-mitte { padding-top: 44px; }

.gb-el-zitate-layout-einzel .gb-el-zitat { --zt-pad-quote: 88px; }
.gb-el-zitate-layout-einzel .gb-el-zitat::before { font-size: 128px; top: -20px; left: 28px; }
.gb-el-zitate-layout-einzel .gb-el-zitat-align-mitte { padding-top: 48px; }
.gb-el-zitate-layout-einzel .gb-el-zitat-align-mitte::before { left: 50%; }
.gb-el-zitate-layout-einzel .gb-el-zitat-align-rechts::before { left: auto; right: 28px; }

.gb-el-zitate-layout-raster .gb-el-zitate-list {
	column-count: var(--gb-zitat-cols);
	column-width: var(--gb-zitat-grid-min);
	column-gap: var(--gb-zitat-gap);
}
.gb-el-zitate-layout-raster .gb-el-zitat {
	break-inside: avoid;
	margin: 0 0 var(--gb-zitat-gap);
}

.gb-el-zitate-layout-slider .gb-el-zitate-list {
	--zt-track: rgba(83, 145, 204, 0.15);
	--zt-thumb: #5391cc;
	display: flex;
	gap: var(--gb-zitat-gap);
	overflow-x: auto;
	padding-bottom: 14px;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.gb-el-zitate-layout-slider .gb-el-zitat {
	flex: 0 0 max(min(var(--gb-zitat-slide-min), 100%), calc((100% - (var(--gb-zitat-cols) - 1) * var(--gb-zitat-gap)) / var(--gb-zitat-cols)));
	box-sizing: border-box;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
}
.gb-el-zitate-layout-slider .gb-el-zitat .autor { margin-top: auto; }
.gb-el-zitate-layout-slider .gb-el-zitat blockquote { margin-bottom: 16px; }
.gb-el-zitate-layout-slider .gb-el-zitate-list:focus-visible { outline: 2px solid var(--zt-thumb); outline-offset: 2px; }

@supports selector(::-webkit-scrollbar) {
	.gb-el-zitate-layout-slider .gb-el-zitate-list::-webkit-scrollbar { height: 10px; }
	.gb-el-zitate-layout-slider .gb-el-zitate-list::-webkit-scrollbar-track { background: var(--zt-track); border-radius: 5px; }
	.gb-el-zitate-layout-slider .gb-el-zitate-list::-webkit-scrollbar-thumb { background: var(--zt-thumb); border-radius: 5px; }
}
@supports not selector(::-webkit-scrollbar) {
	.gb-el-zitate-layout-slider .gb-el-zitate-list { scrollbar-width: thin; scrollbar-color: var(--zt-thumb) var(--zt-track); }
}

.gb-el-zitate-nobg .gb-el-zitat { background: none; }
.gb-el-zitate-nobg .gb-el-zitat .autor { background: none; padding-left: 0; padding-right: 0; }

.gb2-be-dark .gb-el-zitat {
	--zt-bg: linear-gradient(135deg, #263646, #1d2935);
	--zt-text: #e6edf3;
	--zt-mark: #8fc1ee;
	--zt-mark-opacity: 0.85;
	--zt-cap-text: #dce6ef;
	--zt-cap-bg: rgba(95, 163, 222, 0.28);
	--zt-border: rgba(95, 163, 222, 0.45);
}
.gb2-be-dark .gb-el-zitate-layout-slider .gb-el-zitate-list { --zt-track: rgba(143, 193, 238, 0.18); --zt-thumb: #8fc1ee; }

@media (prefers-color-scheme: dark) {
	.gb-el-zitat:not(.gb2-be-light .gb-el-zitat) {
		--zt-bg: linear-gradient(135deg, #263646, #1d2935);
		--zt-text: #e6edf3;
		--zt-mark: #8fc1ee;
		--zt-mark-opacity: 0.85;
		--zt-cap-text: #dce6ef;
		--zt-cap-bg: rgba(95, 163, 222, 0.28);
		--zt-border: rgba(95, 163, 222, 0.45);
	}
	.gb-el-zitate-layout-slider .gb-el-zitate-list:not(.gb2-be-light .gb-el-zitate-list) { --zt-track: rgba(143, 193, 238, 0.18); --zt-thumb: #8fc1ee; }
}

