/* ==================================================================
   SB.WERK Gutenberg – zentrale Gestaltung (Frontend und Editor-Inhalt)
   Werte gemessen an der Divi-Seite (getComputedStyle, 1440 px) bzw. aus
   dem Bricks-Design-System (sbwerk-bricks/design-system/design.php).
   Breakpoints wie Divi: Tablet ≤ 980 px, Handy ≤ 767 px.
   ================================================================== */

/* ---------- Schriften (lokal, ohne Google-Verbindung) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/Poppins_300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/Poppins_300italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Poppins_regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/Poppins_italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Poppins_500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Poppins_600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Poppins_700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/Poppins_700italic.woff2") format("woff2"); }

/* ---------- Variablen ---------- */
:root {
	--sb-green: #abef00;
	--sb-navy: #1a2740;
	--sb-text: rgba(26, 39, 64, 0.95);
	--sb-light: rgba(26, 39, 64, 0.05);
	--sb-grey: #f4f4f4;
	--sb-line: #eaeaea;
	--sb-radius: 5px;
	--sb-gap: 20px;
	--sb-col-gap: 5.5%;
	--sb-container: min(80%, 1300px);
	--sb-narrow: min(80%, 800px);
	--sb-section-y: 57px;
	--sb-font: "Poppins", Helvetica, Arial, sans-serif;
}
@media (max-width: 980px) { :root { --sb-section-y: 50px; } }
/* Sprungmarken: weich scrollen, Ziel bleibt unter dem Sticky Header lesbar.
   --sbw-header-h setzt assets/js/site.js aus der tatsächlichen Höhe von Header + Admin-Leiste. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sbw-header-h, 110px) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Icons aus der Divi-Iconschrift als SVG (inc/blocks.php: sbwg_icon/sbwg_svg_icon): Größe = Schriftgröße, Farbe = Textfarbe */
.sbw-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1em; height: 1em; line-height: 1; vertical-align: -.125em; }
.sbw-icon svg { display: block; width: 1em; height: 1em; fill: currentColor; overflow: visible; }
@media (max-width: 767px) { :root { --sb-section-y: 40px; --sb-container: 85%; --sb-narrow: 85%; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--sb-text);
	font: 300 17px/1.8 var(--sb-font);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Ersatz für WordPress-Kern-CSS (Block-Bibliothek), das im Frontend abgemeldet ist (inc/assets.php).
   Nur die Regeln, die hier greifen; :where() = gleiche (keine) Spezifität wie im Original. */
:where(figure) { margin: 0 0 1em; }
html :where(img[class*=wp-image-]) { height: auto; max-width: 100%; }
.screen-reader-text:focus { background-color: #ddd; clip-path: none; color: #444; display: block; font-size: 1em; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
.sbw-skip { position: absolute; left: -9999px; top: 0; z-index: 10001; background: var(--sb-navy); color: #fff; padding: 10px 16px; }
.sbw-skip:focus { left: 8px; }

h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--sb-navy); font-family: var(--sb-font); font-weight: 700; line-height: 1.2; }
h1 { font-size: 45px; }
h2 { font-size: 33px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }
@media (max-width: 980px) { h1 { font-size: 38px; } h2 { font-size: 30px; } h3 { font-size: 25px; } }
@media (max-width: 767px) { h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 20px; } }
/* Lange Komposita mobil trennen (braucht lang="de-DE"); Safari ignoriert hyphenate-limit-chars */
@media (max-width: 767px) {
	h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 14 5 5; overflow-wrap: break-word; }
}

/* Akzentlinie (Divi-Trenner 100 × 7 px, grün) */
.is-style-akzent::after, .is-style-akzent-mitte::after, .sbw-head__title::after, .sbw-aside-box__title::after, .sbw-footer__title::after {
	content: ""; display: block; width: 100px; height: 7px; margin-top: 16px; background: var(--sb-green);
}
.is-style-akzent-mitte { text-align: center; }
.is-style-akzent-mitte::after { margin-inline: auto; }

/* ---------- Sektionen und Container ---------- */
.sbw-section { padding-block: var(--sb-section-y); }
.sbw-container { width: var(--sb-container); margin-inline: auto; }
.sbw-container--narrow { width: var(--sb-narrow); }
.sbw-section.bg-hell { background: var(--sb-light); }
.sbw-section.bg-grau { background: var(--sb-grey); }
.sbw-section.bg-dunkel { background: var(--sb-navy); color: #fff; }
.sbw-section.bg-dunkel :where(h1, h2, h3, h4, h5, h6, p, li, strong, .sbw-benefit__title, .sbw-card__title) { color: #fff; }

/* Kopf einer Sektion */
.sbw-head { margin-bottom: 40px; max-width: 66%; }
.sbw-head--center { max-width: none; text-align: center; }
.sbw-head--center .sbw-head__title::after { margin-inline: auto; }
.sbw-head__intro { margin: 16px 0 0; font-size: 22px; line-height: 1.3; font-weight: 300; }
@media (max-width: 980px) { .sbw-head { max-width: none; } }

/* ---------- Fließtext (Kernblöcke: Überschrift, Text, Liste) ---------- */
.sbw-flow > * { margin-block: 0; }
.sbw-flow > * + * { margin-top: 1em; }
.sbw-flow > :is(h1, h2, h3, h4, h5, h6) { margin-bottom: .1em; }
.sbw-flow > * + :is(h2, h3) { margin-top: 1.6em; }
.sbw-flow > * + :is(h4, h5, h6) { margin-top: 1.3em; }
.sbw-flow > :is(h1, h2, h3, h4, h5, h6) + * { margin-top: .6em; }
.sbw-flow > .is-style-akzent + *, .sbw-flow > .is-style-akzent-mitte + * { margin-top: 1.4em; }
.sbw-flow ul, .sbw-flow ol { padding-left: 1.2em; }
.sbw-flow li + li { margin-top: .3em; }
/* Icon-Listen (Listen-Varianten): grünes Icon links, Text halbfett in Navy (wie die Divi-Blurbs) */
:is(ul, ol):is(.is-style-punkte, .is-style-haken, .is-style-pfeile, .is-style-dateien) { list-style: none; padding-left: 0 !important; }
:is(.is-style-punkte, .is-style-haken, .is-style-pfeile, .is-style-dateien) > li { position: relative; padding-left: 44px; color: var(--sb-navy); font-weight: 500; font-size: 16px; line-height: 1.6; }
:is(.is-style-punkte, .is-style-haken, .is-style-pfeile, .is-style-dateien) > li + li { margin-top: 14px !important; }
:is(.is-style-punkte, .is-style-haken, .is-style-pfeile, .is-style-dateien) > li::before {
	position: absolute; left: 4px; top: 1px; width: 24px; text-align: center;
	color: var(--sb-green); font: 400 20px/1.25 "Font Awesome 6 Free";
}
/* Punkte, Häkchen, Pfeile: feine Divi-Icons (assets/icons/ei/) als Maske in Grün */
:is(.is-style-punkte, .is-style-haken, .is-style-pfeile) > li::before { content: ""; top: 3px; width: 22px; height: 22px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.is-style-punkte > li::before { -webkit-mask-image: url("../icons/ei/circle-slelected.svg"); mask-image: url("../icons/ei/circle-slelected.svg"); }
.is-style-haken > li::before { -webkit-mask-image: url("../icons/ei/box-checked.svg"); mask-image: url("../icons/ei/box-checked.svg"); }
.is-style-pfeile > li::before { -webkit-mask-image: url("../icons/ei/arrow-carrot-right-alt.svg"); mask-image: url("../icons/ei/arrow-carrot-right-alt.svg"); }
.is-style-dateien > li::before { content: "\f1c1"; color: var(--sb-navy); }
:is(.is-style-pfeile, .is-style-dateien) > li a { color: var(--sb-navy); font-weight: 600; }
/* Liste „Kästen mit Pfeil“ (Divi: gerahmte Blurbs, z. B. „Das Wichtigste in Kürze“): je Punkt ein Rahmen, Divi-Pfeil links */
ul.is-style-kaesten, ol.is-style-kaesten { list-style: none; padding-left: 0 !important; }
.is-style-kaesten > li { position: relative; padding: 15px 15px 15px 52px; border: 1px solid rgba(26, 39, 64, .14); border-radius: var(--sb-radius); color: var(--sb-navy); font-size: 15px; line-height: 1.6; }
.is-style-kaesten > li + li { margin-top: 12px !important; }
.is-style-kaesten > li::before { content: ""; position: absolute; left: 15px; top: 15px; width: 24px; height: 24px; background: currentColor; -webkit-mask: url("../icons/ei/arrow-carrot-right.svg") center / contain no-repeat; mask: url("../icons/ei/arrow-carrot-right.svg") center / contain no-repeat; }
.is-style-kaesten > li strong { font-weight: 600; }
.bg-dunkel .is-style-kaesten > li { border-color: rgba(255, 255, 255, .25); color: #fff; }
@media (max-width: 767px) { .is-style-kaesten > li { font-size: 13px; line-height: 1.4; } }
.is-style-dateien > li strong { display: block; }
.bg-dunkel :is(.is-style-punkte, .is-style-haken, .is-style-pfeile, .is-style-dateien) > li,
.bg-dunkel :is(.is-style-pfeile, .is-style-dateien) > li a { color: #fff; }
.bg-dunkel .is-style-dateien > li::before { color: var(--sb-green); }

/* Buttons (Block „Buttons“, steht im Fließtext) */
.sbw-buttons { display: flex; flex-wrap: wrap; gap: 15px 20px; }
.sbw-buttons.is-style-mitte { justify-content: center; }
.sbw-flow > .sbw-buttons { margin-top: 1.6em; }
.sbw-flow > .sbw-buttons + * { margin-top: 1.6em; }

.sbw-flow .is-style-einleitung { font-size: 22px; line-height: 1.5; }
@media (max-width: 767px) { .sbw-flow .is-style-einleitung { font-size: 19px; } }
/* Links im Fließtext: dunkel, fett, grün unterstrichen (aus Divis globalem CSS) */
.sbw-flow a:not(.sbw-button) { color: var(--sb-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 3px; text-underline-offset: 2px; }
.bg-dunkel .sbw-flow a:not(.sbw-button) { color: var(--sb-green); font-weight: inherit; text-decoration: none; }

/* ---------- Buttons (Divi-Preset: grün, Pfeil rechts, Hover weiß) ---------- */
.sbw-button {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 11px 30px; border-radius: 3px;
	background: var(--sb-green); color: var(--sb-navy);
	font: 600 15px/1.7 var(--sb-font); text-decoration: none;
	transition: all .3s ease;
}
.sbw-button::after {
	content: ""; flex: none; width: 12px; height: 12px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 7px 12px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 1px) 2px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 12'%3E%3Cpath d='M1 1l5 5-5 5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 7px 12px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 1px) 2px no-repeat;
	transition: width .3s ease, margin .3s ease;
}
.sbw-button:hover { background: #fff; color: #383838; box-shadow: inset 0 0 0 2px var(--sb-green); }
.sbw-button:hover::after { width: 20px; margin-right: -8px; }
.sbw-button--small { padding: .2em 1em; font-size: 17px; }
.sbw-button--plain::after, .sbw-button--small::after { display: none; }
.sbw-button--plain:hover { background: var(--sb-green); color: var(--sb-navy); box-shadow: none; }
.sbw-button--dark { background: var(--sb-navy); color: #fff; }
.sbw-button--text { padding: 0; background: none; font-size: 16px; }
.sbw-button--text:hover { background: none; box-shadow: none; color: var(--sb-navy); opacity: .8; }
/* Links auf PDF-Dateien: kleines PDF-Icon vor dem Text (Broschüren, Downloads) */
.sbw-button:is([href$=".pdf" i], [href*=".pdf?" i])::before { content: "\f1c1"; flex: none; font: 900 15px/1 "Font Awesome 6 Solid"; }

/* ---------- Header ---------- */
.sbw-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .1); }
.admin-bar .sbw-header { top: 32px; }
.sbw-header__top, .sbw-header__nav { width: 80%; max-width: 1300px; margin-inline: auto; display: flex; align-items: center; }
@media (max-width: 1300px) { .sbw-header__top, .sbw-header__nav { width: 95%; } }
.sbw-header__top { padding: 6px 0 13px; border-bottom: 1px solid rgba(0, 0, 0, .08); gap: 15px; }
.sbw-header__logo { display: block; line-height: 0; }
.sbw-header__logo img { width: 240px; height: auto; }
.sbw-header__logo-mobil { display: none; }
.sbw-header__meta { margin-left: auto; }
.sbw-header__nav { padding: 7px 0; gap: 25px; }
.sbw-header__primary { margin-right: auto; }
.sbw-header__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: #333; text-decoration: none; }
.sbw-header__phone :is(i, .sbw-icon) { color: #1a274b; font-size: 16px; }
.sbw-header__phone-icon, .sbw-header__burger { display: none; }

.sbw-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.sbw-menu a { text-decoration: none; }
.sbw-menu--meta { gap: 0 15px; }
.sbw-menu--meta a { font-size: 15px; font-weight: 500; color: rgba(0, 0, 0, .6); }
.sbw-menu--meta .wissensdatenbank > a::before, .sbw-menu--meta .login > a::before { font-family: "Font Awesome 6 Solid"; font-weight: 900; margin-right: 6px; }
.sbw-menu--meta .wissensdatenbank > a::before { content: "\f0ac"; }
.sbw-menu--meta .login > a::before { content: "\f2f6"; }

.sbw-menu--primary { gap: 0 35px; }
.sbw-menu--primary > li { position: relative; }
.sbw-menu--primary > li > a { display: inline-block; padding: 8px 0; font-size: 15px; font-weight: 600; color: #1a274b; }
.sbw-menu--primary > .menu-item-has-children > a::after { content: "\f078"; font-family: "Font Awesome 6 Solid"; font-weight: 900; font-size: 9px; margin-left: 6px; vertical-align: 2px; }
.sbw-menu--primary .sub-menu {
	position: absolute; top: 100%; left: -20px; z-index: 10; list-style: none; margin: 0;
	width: 240px; padding: 20px 10px; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	border-top: 3px solid var(--sb-green);
	opacity: 0; visibility: hidden; transition: opacity .2s;
}
.sbw-menu--primary li:hover > .sub-menu, .sbw-menu--primary li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.sbw-menu--primary .sub-menu li { padding: 0 30px 0 10px; }
.sbw-menu--primary .sub-menu a { display: block; padding: 6px 20px; font-size: 14px; font-weight: 500; line-height: 1.1; color: #000; transition: color .2s, margin .2s; }
.sbw-menu--primary .sub-menu a:hover { color: var(--sb-navy); margin-left: 5px; }

/* Mobiles Menü: Panel von rechts (header.php, site.js). Seite dahinter gesperrt, Panel scrollt selbst. */
.sbw-drawer { position: fixed; inset: 0; z-index: 10000; }
.sbw-drawer__backdrop { position: absolute; inset: 0; background: rgba(26, 39, 64, .55); opacity: 0; transition: opacity .3s; touch-action: none; }
.sbw-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 420px); display: flex; flex-direction: column;
	background: #fff; box-shadow: -6px 0 24px rgba(0, 0, 0, .18);
	transform: translateX(100%); transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.sbw-drawer.is-open .sbw-drawer__backdrop { opacity: 1; }
.sbw-drawer.is-open .sbw-drawer__panel { transform: none; }
.sbw-drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--sb-line); }
.sbw-drawer__logo { display: block; line-height: 0; }
.sbw-drawer__logo img { width: 140px; height: auto; }
.sbw-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 24px; color: var(--sb-navy); background: none; border: 0; cursor: pointer; }
.sbw-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 6px 12px 20px 22px; }
.sbw-drawer__foot { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--sb-line); background: var(--sb-grey); }
.sbw-drawer__phone { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--sb-navy); text-decoration: none; }
.sbw-drawer__contact { justify-content: center; text-align: center; }
html.sbw-locked, html.sbw-locked body { overflow: hidden; }

.sbw-menu--mobile { flex-direction: column; flex-wrap: nowrap; }
.sbw-menu--mobile li { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--sb-line); }
.sbw-menu--mobile > li:first-child { border-top: 0; }
.sbw-menu--mobile a { flex: 1 1 0; min-width: 0; padding: 13px 0; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--sb-navy); }
.sbw-menu--mobile .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.sbw-sub-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -6px; padding: 0; background: none; border: 0; cursor: pointer; }
.sbw-sub-toggle__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); transition: rotate .25s ease; }
.sbw-sub-toggle__icon::before { content: "\f054"; font: 900 13px/1 "Font Awesome 6 Solid"; margin-left: 2px; }
.sbw-sub-toggle[aria-expanded="true"] .sbw-sub-toggle__icon { rotate: 90deg; }
.sbw-sub-toggle:focus-visible { outline: none; }
.sbw-sub-toggle:focus-visible .sbw-sub-toggle__icon { outline: 2px solid var(--sb-navy); outline-offset: 2px; }
/* Unterebenen: je Ebene weiter eingerückt, Höhe animiert site.js */
.sbw-menu--mobile .sub-menu { flex: 0 0 100%; list-style: none; margin: 0; padding: 0 0 0 16px; overflow: hidden; transition: height .3s ease; }
.sbw-menu--mobile .sub-menu li { border-top-color: rgba(26, 39, 64, .06); }
.sbw-menu--mobile .sub-menu a { padding: 10px 0; font-size: 16px; font-weight: 400; }
@media (prefers-reduced-motion: reduce) {
	.sbw-drawer__backdrop, .sbw-drawer__panel, .sbw-sub-toggle__icon, .sbw-menu--mobile .sub-menu { transition: none; }
}

@media (max-width: 980px) {
	.sbw-header__nav, .sbw-header__meta { display: none; }
	.sbw-header__top { padding: 10px 0; border: 0; }
	.sbw-header__logo { margin-right: auto; }
	.sbw-header__logo img { width: 160px; }
	/* Wie Divi mobil: kleines Logo (falls gepflegt), nur der Burger – kein Telefon-Icon (Telefon steht in der Leiste unten) */
	.sbw-header__logo:has(.sbw-header__logo-mobil) .sbw-header__logo-voll { display: none; }
	.sbw-header__logo .sbw-header__logo-mobil { display: block; width: 90px; }
	.sbw-header__phone-icon { display: none; }
	.sbw-header__burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 22px; color: var(--sb-navy); background: none; border: 0; cursor: pointer; text-decoration: none; }
}
@media (min-width: 981px) { .sbw-drawer { display: none !important; } }

/* Hinweisleiste (grün, über dem Header) */
.sbw-notice { background: var(--sb-green); color: var(--sb-navy); }
.sbw-notice__inner { width: 90%; margin: 0 auto; padding: 8px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 15px; }
.sbw-notice__text { margin: 0; font-weight: 600; font-size: 15px; }
.sbw-notice__close { background: none; border: 0; font-size: 18px; cursor: pointer; color: inherit; }

/* Leiste unten (Handy): Menü „Mobil: Leiste unten“, Icons/Hervorhebung über CSS-Klassen der Einträge (inc/content.php) */
.sbw-mobile-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; padding-bottom: env(safe-area-inset-bottom); background: var(--sb-navy); box-shadow: 0 -2px 10px rgba(0, 0, 0, .18); }
.sbw-menu--fixed { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); flex-wrap: nowrap; }
.sbw-menu--fixed > li { display: flex; min-width: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
.sbw-menu--fixed > li:first-child { border-left: 0; }
.sbw-menu--fixed > li > a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 62px; padding: 8px 2px 7px; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.sbw-menu--fixed > li.is-highlight > a { background: var(--sb-green); color: var(--sb-navy); }
.sbw-fixed__icon { font-size: 22px; line-height: 1; }
@media (min-width: 1026px) { .sbw-mobile-fixed { display: none; } }
@media (max-width: 1025px) {
	body:has(.sbw-mobile-fixed) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
	body:has(.sbw-mobile-fixed) #ht-ctc-chat { display: none !important; } /* WhatsApp steckt in der Leiste */
}

/* ---------- Footer ---------- */
.sbw-footer { background: var(--sb-navy); color: #fff; font-size: 14px; line-height: 1.7; }
.sbw-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px var(--sb-col-gap); padding: 60px 0 40px; }
.sbw-footer__title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 25px; }
.sbw-footer__title::after { width: 20px; height: 3px; margin-top: 14px; }
.sbw-footer p { margin: 0 0 1em; }
.sbw-footer a { color: var(--sb-green); text-decoration: none; }
.sbw-footer__cert { max-width: 200px; margin-bottom: 15px; border-radius: 3px; }
.sbw-footer__links { list-style: none; margin: 0; padding: 0; }
.sbw-footer__links li { position: relative; padding-left: 15px; margin-bottom: .2em; }
.sbw-footer__links li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--sb-green); }
.sbw-footer__links a { color: #fff; font-weight: 500; }
.sbw-social { list-style: none; margin: 15px 0 0; padding: 0; display: flex; gap: 8px; }
.sbw-social a { width: 40px; height: 40px; border: 2px solid var(--sb-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.sbw-footer__bottom { padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
@media (max-width: 980px) { .sbw-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sbw-footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Raster ---------- */
.sbw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--sb-col-gap); align-items: stretch; }
.cols-2 .sbw-grid, .cols-2 .sbw-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-4 .sbw-grid, .cols-4 .sbw-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-1 .sbw-grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .sbw-grid, .sbw-benefits { grid-template-columns: minmax(0, 1fr) !important; } .cols-4 .sbw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 767px) { .cols-4 .sbw-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* ---------- Zahlen (Kennzahlen, zählen hoch) ---------- */
.sbw-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.sbw-stat { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 !important; padding: 0 20px; text-align: center; }
.sbw-stat + .sbw-stat { border-left: 1px solid var(--sb-line); }
.sbw-stat__num { color: var(--sb-green); font-size: 66px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.sbw-stat__label { color: #7d8597; font-size: 17px; font-weight: 600; line-height: 1.3; }
.bg-dunkel .sbw-stat__label { color: #fff; }
@media (max-width: 767px) { .sbw-stats { grid-auto-flow: row; gap: 30px; } .sbw-stat + .sbw-stat { border-left: 0; } .sbw-stat__num { font-size: 52px; } }

/* ---------- Animierte Icons (Lottie) in „Vorteile“ ---------- */
.sbw-lottie { display: block; width: 70px; height: 70px; }
.sbw-lottie svg { display: block; }
.sbw-lottie--preview { display: flex; align-items: center; justify-content: center; border: 2px dashed #c3c4c7; border-radius: 8px; color: #8c8f94; font-size: 24px; }

/* ---------- Standorte (Karte mit Punkten) ---------- */
.sbw-map { position: relative; max-width: 480px; margin-inline: auto; }
.sbw-map__img { display: block; width: 100%; height: auto; border-radius: 0 !important; }
.sbw-map__pin { position: absolute; width: 26px; height: 26px; margin: -26px 0 0 -13px; padding: 0; border: 0; background: none; cursor: pointer; }
.sbw-map__pin::before { content: "\f3c5"; position: relative; z-index: 1; display: block; color: var(--sb-green); font: 900 26px/1 "Font Awesome 6 Solid"; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.sbw-map__pin::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 16px; height: 6px; margin-left: -8px; border-radius: 50%; background: rgba(171, 239, 0, .6); animation: sbw-ripple 2.2s ease-out infinite; }
@keyframes sbw-ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sbw-map__pin::after { animation: none; } }
.sbw-map__tip { position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 2; translate: -50% 0; padding: 6px 12px; border-radius: 10px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .15); color: var(--sb-navy); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .2s; pointer-events: none; }
.sbw-map__pin:hover .sbw-map__tip, .sbw-map__pin:focus-visible .sbw-map__tip { opacity: 1; visibility: visible; }

/* ---------- Galerie (Raster / Mosaik) mit Lightbox ---------- */
.sbw-gallery { margin: 0; padding: 0; list-style: none; }
.is-raster .sbw-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.is-raster .sbw-gallery__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.is-mosaik .sbw-gallery { columns: 3; column-gap: 20px; }
.is-mosaik .sbw-gallery__item { break-inside: avoid; margin: 0 0 20px !important; }
.is-mosaik .sbw-gallery__img { width: 100%; height: auto; }
.sbw-gallery__item { margin: 0 !important; }
.sbw-gallery__link { display: block; overflow: hidden; border-radius: var(--sb-radius); line-height: 0; }
.sbw-gallery__img { display: block; transition: transform .5s; }
.sbw-gallery__link:hover .sbw-gallery__img { transform: scale(1.04); }
@media (max-width: 767px) { .is-raster .sbw-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .is-mosaik .sbw-gallery { columns: 2; column-gap: 10px; } .is-mosaik .sbw-gallery__item { margin-bottom: 10px !important; } }
.sbw-lightbox { width: auto; max-width: 92vw; background: transparent; }
.sbw-lightbox__img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
.sbw-lightbox__prev, .sbw-lightbox__next { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font-size: 18px; cursor: pointer; }
.sbw-lightbox__prev { left: 10px; }
.sbw-lightbox__next { right: 10px; }

/* ---------- Inhaltsverzeichnis (im Fließtext, aufklappbar) ---------- */
.sbw-toc { border-radius: 8px; background: var(--sb-grey); overflow: hidden; }
.sbw-toc__head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 20px; cursor: pointer; list-style: none; color: var(--sb-navy); font-size: 21px; font-weight: 600; line-height: 1.4; }
.sbw-toc__head::-webkit-details-marker { display: none; }
.sbw-toc__head::after { content: "\f078"; font: 900 14px/1 "Font Awesome 6 Solid"; transition: transform .3s; }
.sbw-toc[open]:not(.is-closing) .sbw-toc__head::after { transform: rotate(180deg); }
.sbw-toc__list { margin: 0 !important; padding: 0 20px 18px 42px !important; }
.sbw-toc__list li { margin: 0 0 10px !important; font-size: 16px; line-height: 1.5; }
.sbw-toc__list a { color: var(--sb-text); font-weight: 500; text-decoration: none; }
.sbw-toc__list a:hover { text-decoration: underline; text-decoration-color: var(--sb-green); }
.sbw-flow > .sbw-toc { margin-top: 1.6em; }
.sbw-flow > .sbw-toc + * { margin-top: 1.6em; }

/* ---------- Kasten (sbw/kasten) – Hinweis/Grau im Fließtext, Bereich als Sektion ---------- */
.sbw-kasten--hinweis { padding: 25px; background: #fff; border: 3px dashed var(--sb-green); border-radius: 0 30px 0 30px; }
.sbw-kasten--grau { padding: 25px; background: var(--sb-grey); }
.sbw-flow > :is(.sbw-kasten--hinweis, .sbw-kasten--grau) { margin-top: 40px; }
.sbw-flow > .sbw-kasten--hinweis + * { margin-top: 55px; }
.sbw-flow > .sbw-kasten--grau + * { margin-top: 1.6em; }
.sbw-kasten__body > :first-child { margin-top: 0; }
/* Blöcke mit eigenem Sektionsrahmen im Kasten: ohne Außenabstand und volle Kastenbreite */
.sbw-kasten__body > .sbw-section { padding-block: 0; background: none; }
.sbw-kasten__body > * + .sbw-section { margin-top: 1.6em; }
.sbw-kasten__body .sbw-container { width: 100%; }
/* Bereich grau: Kasten in Containerbreite (Divi-Zeile mit #f4f4f4) */
.sbw-section.sbw-kasten--bereich { padding-block: 60px; }
.sbw-kasten--bereich > .sbw-container { padding: 50px; background: var(--sb-grey); }
/* Bereich mit Video: weiß bis zur halben Höhe des ersten Videos, darunter grau über die volle Breite (Divi #warum) */
.sbw-section.sbw-kasten--bereich-video { padding-block: 40px 50px; overflow: clip; isolation: isolate; }
.sbw-kasten--bereich-video > .sbw-container { max-width: 900px; }
.sbw-kasten--bereich-video .sbw-videos:not(.sbw-videos ~ .sbw-videos) { position: relative; }
.sbw-kasten--bereich-video .sbw-videos:not(.sbw-videos ~ .sbw-videos)::before { content: ""; position: absolute; z-index: -1; top: 50%; bottom: -100vh; left: -100vw; right: -100vw; background: rgba(26, 39, 64, .05); }
.sbw-kasten--bereich-video .sbw-kasten__body > * + .sbw-videos { margin-top: 1.4em; }
.sbw-kasten--bereich-video .sbw-kasten__body > .sbw-videos + * { margin-top: 50px; }
.sbw-kasten--bereich-video .sbw-kasten__body > :is(h2, h3) { text-align: center; }
@media (max-width: 767px) {
	.sbw-kasten--hinweis, .sbw-kasten--grau { padding: 20px; }
	.sbw-section.sbw-kasten--bereich { padding-block: 40px; }
	.sbw-kasten--bereich > .sbw-container { width: 100%; padding: 30px 7.5%; }
}

/* ---------- Aufklapptext (im Fließtext) ---------- */
.sbw-toggle { border: 1px solid var(--sb-line); border-radius: var(--sb-radius); }
.sbw-toggle__head { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 20px; cursor: pointer; list-style: none; color: var(--sb-navy); font-size: 17px; font-weight: 600; }
.sbw-toggle__head::-webkit-details-marker { display: none; }
.sbw-toggle__head::after { content: "\f078"; display: flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font: 900 10px/1 "Font Awesome 6 Solid"; transition: transform .3s; }
.sbw-toggle[open]:not(.is-closing) .sbw-toggle__head::after { transform: rotate(180deg); }
.sbw-toggle__body { padding: 0 20px 18px; font-size: 16px; }
.sbw-flow > .sbw-toggle { margin-top: 1.6em; }
.sbw-flow > .sbw-toggle + * { margin-top: 1.6em; }

/* ---------- Video (im Fließtext) ---------- */
.sbw-videos { display: grid; gap: 30px; }
.sbw-videos.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbw-videos.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .sbw-videos.cols-2, .sbw-videos.cols-3 { grid-template-columns: minmax(0, 1fr); } }
.sbw-video { aspect-ratio: 16 / 9; background: #000; border-radius: var(--sb-radius); overflow: hidden; }
.sbw-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.sbw-video-item { margin: 0; }
.sbw-video-item figcaption { margin-top: 12px; color: var(--sb-navy); font-size: 16px; line-height: 1.6; }
.sbw-video-item__title { display: block; font-weight: 600; }
.sbw-video-item__text { display: block; margin-top: 4px; font-size: 15px; font-weight: 300; }
/* Stil „Kasten grau“: je Video eine graue Karte mit Titel und Text */
.sbw-videos.is-style-kasten-grau { gap: 30px; }
.is-style-kasten-grau .sbw-video-item { padding: 30px 33px 30px 30px; background: var(--sb-light); border-radius: 10px; }
.is-style-kasten-grau .sbw-video-item figcaption { margin-top: 20px; }
.is-style-kasten-grau .sbw-video-item__title { margin-bottom: 5px; font-size: 30px; font-weight: 700; line-height: 1.2; }
.is-style-kasten-grau .sbw-video-item__text { font-size: 16px; font-weight: 400; line-height: 2; }
@media (max-width: 767px) {
	.is-style-kasten-grau .sbw-video-item { padding: 20px; }
	.is-style-kasten-grau .sbw-video-item__title { font-size: 24px; }
	.is-style-kasten-grau .sbw-video-item__text { font-size: 15px; line-height: 1.8; }
}
.sbw-video--preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--sb-navy); color: #fff; font: 400 13px/1.4 system-ui, sans-serif; text-align: center; padding: 20px; }
.sbw-video--preview :is(i, .sbw-icon) { font-size: 48px; color: var(--sb-green); }
.sbw-flow > .sbw-videos { margin-top: 1.6em; }
.sbw-flow > .sbw-videos + * { margin-top: 1.6em; }

/* ---------- Kurskacheln (Bild, Titel, Dauer, Preis, Button) ---------- */
.sbw-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 62px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 980px) { .sbw-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; } }
@media (max-width: 767px) { .sbw-courses { grid-template-columns: minmax(0, 1fr); } }
.sbw-course { display: flex; flex-direction: column; margin: 0 !important; background: var(--sb-light); border-radius: var(--sb-radius); overflow: hidden; }
.bg-hell .sbw-course, .bg-grau .sbw-course { background: #fff; }
.sbw-course__img { display: block; width: 100%; aspect-ratio: 332 / 218; object-fit: cover; }
.sbw-course__box { display: flex; flex-direction: column; flex-grow: 1; padding: 50px 25px 25px; }
.sbw-course__title { margin: 0 0 18px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.sbw-course__meta { margin: 0 0 30px; padding: 0; list-style: none; }
.sbw-course__meta li { display: flex; align-items: center; gap: 25px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--sb-navy); }
.sbw-course__meta li + li { margin-top: 8px; }
.sbw-course__meta :is(i, .sbw-icon) { width: 22px; font-size: 20px; text-align: center; color: var(--sb-navy); }
.sbw-course .sbw-button { align-self: flex-start; margin-top: auto; }
/* Schmale Spalte der Seminarseiten: drei kompakte Kacheln */
.sbw-seminar__main .sbw-courses { gap: 25px; }
.sbw-seminar__main .sbw-course__box { padding: 30px 18px 20px; }
.sbw-seminar__main .sbw-course__title { font-size: 18px; }
.sbw-seminar__main .sbw-course__meta li { gap: 12px; font-size: 15px; }
.sbw-seminar__main .sbw-course .sbw-button { padding-inline: 20px; }
@media (max-width: 1200px) and (min-width: 981px) { .sbw-seminar__main .sbw-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Karten ---------- */
.sbw-card { display: flex; flex-direction: column; background: var(--sb-light); border-radius: var(--sb-radius); overflow: hidden; }
.bg-hell .sbw-card, .bg-grau .sbw-card { background: #fff; }
.sbw-card__media { display: block; line-height: 0; }
.sbw-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sbw-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 25px; }
.sbw-card__title { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.sbw-card__icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: var(--sb-radius); background: var(--sb-navy); color: var(--sb-green); font-size: 30px; }
.sbw-card__media + .sbw-card__body .sbw-card__icon { margin-top: -55px; }
.sbw-card__text { margin: 0; font-size: 16px; line-height: 1.5; color: var(--sb-navy); }
.sbw-card .sbw-button { align-self: flex-start; margin-top: auto; }
.sbw-card__text + .sbw-button { margin-top: 25px; }
.sbw-card__text:has(+ .sbw-button) { margin-bottom: 0; }
.is-style-bild .sbw-card__title { gap: 0; }
.is-style-icon .sbw-card { background: none; }
.is-style-icon .sbw-card__body { padding: 0; }
.is-style-icon .sbw-card__icon { background: none; width: auto; height: auto; font-size: 42px; justify-content: flex-start; }
.is-style-icon .sbw-card__title { gap: 15px; }
.is-style-text .sbw-card__title { gap: 0; }
.is-style-text .sbw-card__body, .is-style-preise .sbw-card__body { padding: 30px; }
.is-style-preise .sbw-card { background: var(--sb-navy); }
.is-style-preise .sbw-card:first-child { background: var(--sb-green); }
.is-style-preise .sbw-card__title { gap: 0; margin-bottom: 6px; color: #fff; font-size: 24px; }
.is-style-preise .sbw-card__text { color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.5; }
.is-style-preise .sbw-card__text::first-line { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.6; }
.is-style-preise .sbw-card:first-child :is(.sbw-card__title, .sbw-card__text) { color: var(--sb-navy); }
.is-style-preise .sbw-card:first-child .sbw-card__text::first-line { color: var(--sb-navy); }

/* ---------- Vorteile ---------- */
.sbw-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px var(--sb-col-gap); }
.sbw-benefit { display: flex; flex-direction: column; gap: 19px; }
.sbw-benefit__media { display: block; line-height: 0; color: var(--sb-green); font-size: 60px; }
.sbw-benefit__media img { width: 110px; height: 110px; object-fit: contain; }
.sbw-benefit__body { display: flex; flex-direction: column; gap: 11px; }
.sbw-benefit__title { font-size: 22px; font-weight: 700; line-height: 1.6; color: var(--sb-navy); }
.sbw-benefit__text { font-size: 16px; line-height: 1.6; color: var(--sb-navy); }
/* Große Ziffern (SVG mit viel Leerraum, wie Divi „Unser Leitbild“) */
.is-style-nummern .sbw-benefit__media img { width: 260px; max-width: 100%; height: auto; margin: -40px 0 -12px -6px; }
.is-style-nummern .sbw-benefits { row-gap: 60px; }
.is-style-liste .sbw-benefits { grid-template-columns: minmax(0, 1fr) !important; gap: 20px; }
.is-style-liste .sbw-benefit { flex-direction: row; align-items: flex-start; gap: 15px; }
.is-style-liste .sbw-benefit__media { font-size: 26px; flex: none; }
.is-style-liste .sbw-benefit__media img { width: 40px; height: 40px; }
.is-style-liste .sbw-benefit__title { font-size: 18px; line-height: 1.4; }
.is-style-liste .sbw-benefit__body { gap: 4px; }

/* ---------- Text & Bild ---------- */
.sbw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 8%; align-items: center; }
.media-left .sbw-split__media { order: -1; }
.sbw-split__media img { width: 100%; border-radius: var(--sb-radius); }
.sbw-split__text .sbw-button { margin-top: 30px; }
@media (max-width: 980px) { .sbw-split { grid-template-columns: minmax(0, 1fr); } .media-left .sbw-split__media { order: 0; } }
.sbw-mask svg { display: block; width: 100%; height: auto; overflow: visible; }
.sbw-mask__deco { fill: var(--sb-green); }
/* Akzent: asymmetrische Ecken + versetzte grüne Fläche. Die spitze Ecke zeigt zum Text. */
.sbw-accent { --acc-r: 56px; --acc-x: 22px; --acc-y: 22px; position: relative; margin: 0 var(--acc-x) var(--acc-y) 0; }
.media-left .sbw-accent { --acc-x: -22px; margin: 0 0 var(--acc-y) 22px; }
.sbw-accent::before { content: ""; position: absolute; inset: 0; background: var(--sb-green); border-radius: var(--acc-r) var(--acc-r) var(--acc-r) 0; transform: translate(var(--acc-x), var(--acc-y)); transition: transform .35s ease; }
.sbw-split__media .sbw-accent img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--acc-r) var(--acc-r) var(--acc-r) 0; transition: transform .35s ease; }
.media-left .sbw-accent::before, .media-left .sbw-split__media .sbw-accent img { border-radius: var(--acc-r) var(--acc-r) 0 var(--acc-r); }
.sbw-accent:hover img { transform: translate(calc(var(--acc-x) / 3), calc(var(--acc-y) / 3)); }
@media (max-width: 980px) {
	.sbw-accent, .media-left .sbw-accent { --acc-r: 36px; --acc-x: 14px; --acc-y: 14px; margin: 0 14px 14px 0; }
	.media-left .sbw-accent::before, .media-left .sbw-split__media .sbw-accent img { border-radius: var(--acc-r) var(--acc-r) var(--acc-r) 0; }
}
@media (prefers-reduced-motion: reduce) { .sbw-accent::before, .sbw-accent img { transition: none; } }

/* ---------- FAQ ---------- */
.sbw-faq-list { border-top: 1px solid var(--sb-line); }
.sbw-faq { border-bottom: 1px solid var(--sb-line); background: #fff; }
.sbw-faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 15px 20px 22px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--sb-navy); }
.sbw-faq__q::-webkit-details-marker { display: none; }
.sbw-faq__q::after { content: "\f063"; flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font: 900 10px/1 "Font Awesome 6 Solid"; transition: transform .3s; }
.sbw-faq[open]:not(.is-closing) > .sbw-faq__q::after { transform: rotate(180deg); }
.sbw-faq__a { padding: 0 22px 20px; font-size: 16px; }
.sbw-faq__a > :first-child { margin-top: 0; }
.sbw-faq__a > :last-child { margin-bottom: 0; }
.sbw-faq .sbw-head__title, .sbw-faq > .sbw-container > h2 { margin-bottom: 30px; }

/* ---------- Formular (WPForms) mit Ansprechpartner ---------- */
.sbw-formular__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px 71px; align-items: start; }
.sbw-formular.no-person .sbw-formular__grid { grid-template-columns: minmax(0, 843px); }
@media (max-width: 980px) { .sbw-formular__grid, .sbw-formular.no-person .sbw-formular__grid { grid-template-columns: minmax(0, 1fr); } }
.sbw-formular__main > h1 { font-size: 33px; }
@media (max-width: 980px) { .sbw-formular__main > h1 { font-size: 30px; } }
@media (max-width: 767px) { .sbw-formular__main > h1 { font-size: 26px; } }
.sbw-form--preview { pointer-events: none; }
.sbw-form div.wpforms-container-full { margin: 0; }
.sbw-form div.wpforms-container-full .wpforms-head-container { padding: 0 0 24px; }
.sbw-form div.wpforms-container-full .wpforms-description { color: var(--sb-text); font: 300 16px/1.75 var(--sb-font); }
.sbw-form div.wpforms-container-full .wpforms-form .wpforms-field { padding: 0 0 18px; }
.sbw-form div.wpforms-container-full .wpforms-form .wpforms-field-label { margin-bottom: 6px; color: var(--sb-navy); font: 600 16px/1.4 var(--sb-font); }
.sbw-form div.wpforms-container-full .wpforms-form :is(.wpforms-field-sublabel, .wpforms-field-label-inline, .wpforms-field-description) { color: var(--sb-text); font-family: var(--sb-font); font-size: 15px; font-weight: 300; line-height: 1.6; }
.sbw-form div.wpforms-container-full .wpforms-form :is(input.wpforms-field-medium, select.wpforms-field-medium, textarea.wpforms-field-medium, .wpforms-field-row.wpforms-field-medium) { max-width: 100%; }
.sbw-form div.wpforms-container-full .wpforms-form :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=url], input[type=date], select, textarea) {
	height: auto; padding: 10px 12px; border: 1px solid #cfd3da; border-radius: 3px; background: #fff;
	color: var(--sb-navy); font: 400 16px/1.5 var(--sb-font);
}
.sbw-form div.wpforms-container-full .wpforms-form :is(input, select, textarea):focus { border-color: var(--sb-navy); box-shadow: 0 0 0 2px var(--sb-green); outline: 0; }
.sbw-form div.wpforms-container-full .wpforms-form .wpforms-required-label { color: #e02b20; }
.sbw-form div.wpforms-container-full .wpforms-form .wpforms-submit-container { padding-top: 6px; }
.sbw-form div.wpforms-container-full .wpforms-form button[type=submit] {
	height: auto; padding: 11px 30px; border: 0; border-radius: 3px;
	background: var(--sb-green); color: var(--sb-navy); font: 600 15px/1.7 var(--sb-font);
	transition: all .3s ease;
}
.sbw-form div.wpforms-container-full .wpforms-form button[type=submit]:hover { background: #fff; color: #383838; box-shadow: inset 0 0 0 2px var(--sb-green); }
.bg-dunkel .sbw-form div.wpforms-container-full .wpforms-form :is(.wpforms-field-label, .wpforms-field-sublabel, .wpforms-field-label-inline, .wpforms-field-description) { color: #fff; }
.sbw-form .wpforms-confirmation-container-full { margin: 0; border-color: var(--sb-green); background: rgba(171, 239, 0, .15); color: var(--sb-navy); }

/* ---------- Seminarseite (Vorlage „Seminar“) ---------- */
.sbw-seminar { padding-top: 59px; }
.sbw-seminar__grid { display: grid; grid-template-columns: minmax(0, 843fr) minmax(0, 386fr); gap: 40px 71px; align-items: start; }
.sbw-seminar__main > .sbw-section, .sbw-seminar__main .sbw-section { padding-block: 0; }
/* Farbige Sektionen in der Seminarspalte: als Kasten mit Innenabstand */
.sbw-seminar__main .sbw-section:is(.bg-hell, .bg-grau, .bg-dunkel) { padding: 40px; }
@media (max-width: 767px) { .sbw-seminar__main .sbw-section:is(.bg-hell, .bg-grau, .bg-dunkel) { padding: 25px 20px; } }
.sbw-seminar__main .sbw-container { width: 100%; }
.sbw-seminar__main > * + * { margin-top: 36px; }
.sbw-seminar__aside { padding-left: 30px; border-left: 1px solid var(--sb-line); display: flex; flex-direction: column; gap: 45px; }
.sbw-aside-box { display: flex; flex-direction: column; gap: 20px; }
.sbw-aside-box__title { font-size: 24px; line-height: 1; }
.sbw-aside-box__brochure { width: 100%; }
.sbw-aside-box .sbw-button { align-self: flex-start; font-size: 14px; padding: 13px 40px; }
/* Autor (Artikelseiten): rundes Foto + Name/Aufgabe; Desktop in der Seitenleiste, mobil oben im Inhalt */
.sbw-author { display: flex; align-items: center; gap: 15px; }
.sbw-author__photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sbw-author__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sb-navy); }
.sbw-author__text strong { display: block; font-size: 16px; font-weight: 600; }
.sbw-author--main, .sbw-rating-mobil { display: none; }
@media (max-width: 980px) {
	.sbw-author--main { display: flex; margin-bottom: 25px; }
	.sbw-rating-mobil { display: block; margin-bottom: 25px; }
	.sbw-author--aside { display: none; }
	.sbw-author__photo { width: 48px; height: 48px; }
}
/* Ansprechpartner: Foto direkt über dem dunkelblauen Kasten */
.sbw-person__photo { display: block; width: 100%; }
.sbw-person__box { padding: 25px; background: var(--sb-navy); color: #fff; }
.sbw-person__name { margin: 0 0 15px; font-size: 14px; line-height: 1.5; color: #fff; }
.sbw-person__name strong { display: block; font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.sbw-person__contact { list-style: none; margin: 0; padding: 0; }
.sbw-person__contact li { display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.sbw-person__contact :is(i, .sbw-icon) { color: var(--sb-green); font-size: 22px; width: 24px; }
.sbw-person__contact a { color: #fff; font-weight: 600; font-size: 17px; text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 2px; }
.sbw-aside-box__cert { max-width: 50%; }
.sbw-aside-box p { margin: 0; font-size: 14px; line-height: 1.7; }
@media (max-width: 980px) {
	.sbw-seminar__grid { grid-template-columns: minmax(0, 1fr); }
	.sbw-seminar__aside { padding-left: 0; border-left: 0; }
}
/* Handy: Seitenleiste ausgeblendet wie in Divi (Infomaterial und Kontakt gibt es in der Leiste unten) */
@media (max-width: 767px) { .sbw-seminar__aside { display: none; } }

/* ---------- Abschnittswechsel (sbw/abschnitt, Ausgabe in inc/content.php) ----------
   Breite: Textspalte 2/3 (so breit wie die Seminarspalte) links oder zentriert, oder volle Inhaltsbreite.
   Hintergrund: volle Breite bis zum Browserrand, Textspalte als Kasten; jeweils mit Abstand oben und unten.
   Gleicher Hintergrund hintereinander: kein Abstand dazwischen (is-joined-*). */
.sbw-abschnitt { padding-block: 0 var(--sb-section-y); }
.sbw-abschnitt.after-color { padding-top: var(--sb-section-y); }
.sbw-kasten--bereich-video + .sbw-abschnitt { padding-top: var(--sb-section-y); } /* grauer Video-Kasten reicht bis zur Unterkante */
.sbw-section.sbw-abschnitt--voll:is(.bg-hell, .bg-grau, .bg-dunkel) { padding-block: var(--sb-section-y); }
.sbw-section.sbw-abschnitt--voll.is-joined-top { padding-top: 0; }
.sbw-section.sbw-abschnitt--voll.is-joined-bottom { padding-bottom: 36px; }
.sbw-abschnitt:is(.sbw-abschnitt--links, .sbw-abschnitt--mitte).is-joined-bottom { padding-bottom: 0; }
.sbw-abschnitt:is(.sbw-abschnitt--links, .sbw-abschnitt--mitte) .sbw-abschnitt__inhalt { width: calc((100% - 71px) * 843 / 1229); }
.sbw-abschnitt--mitte .sbw-abschnitt__inhalt { margin-inline: auto; }
.sbw-abschnitt__inhalt.sbw-section:is(.bg-hell, .bg-grau, .bg-dunkel) { padding: 40px; }
.sbw-abschnitt.is-joined-bottom .sbw-abschnitt__inhalt.sbw-section { padding-bottom: 36px; }
.sbw-abschnitt.is-joined-top .sbw-abschnitt__inhalt.sbw-section { padding-top: 0; }
/* Inhalt eines Abschnitts wie in der Seminarspalte: Sektionsblöcke ohne eigenen Außenabstand, farbige als Kasten */
.sbw-abschnitt__inhalt .sbw-section:not(.sbw-kasten) { padding-block: 0; }
.sbw-abschnitt__inhalt .sbw-section:not(.sbw-kasten):is(.bg-hell, .bg-grau, .bg-dunkel) { padding: 40px; }
.sbw-abschnitt__inhalt .sbw-container { width: 100%; }
.sbw-abschnitt__inhalt > * + * { margin-top: 36px; }
@media (max-width: 980px) {
	.sbw-abschnitt:is(.sbw-abschnitt--links, .sbw-abschnitt--mitte) .sbw-abschnitt__inhalt { width: auto; }
}
@media (max-width: 767px) {
	.sbw-abschnitt__inhalt.sbw-section:is(.bg-hell, .bg-grau, .bg-dunkel),
	.sbw-abschnitt__inhalt .sbw-section:not(.sbw-kasten):is(.bg-hell, .bg-grau, .bg-dunkel) { padding: 25px 20px; }
}

/* Seminar-Kopf: Bild + Brotkrumen */
.sbw-hero-image img { display: block; width: 100%; }
.sbw-breadcrumbs { margin-top: 25px; font-size: 14px; font-weight: 500; color: var(--sb-navy); }
.sbw-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.sbw-breadcrumbs li:not(:last-child)::after { content: "\f178"; font: 900 11px/1 "Font Awesome 6 Solid"; margin: 0 9px; }
.sbw-breadcrumbs a { text-decoration: none; }
.sbw-breadcrumbs [aria-current] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 2px; }
.sbw-crumbbar .sbw-breadcrumbs { margin: 0; padding: 16px 0; }
@media (max-width: 767px) { .sbw-crumbbar .sbw-breadcrumbs { padding: 12px 0; font-size: 12px; } }

/* ---------- Bild, Tabelle, Termine ---------- */
/* Nur den Standardrand von <figure> entfernen – ohne die Abstände der Vorlagen (z. B. Seminarspalte) zu überschreiben. */
:where(figure.sbw-bild) { margin: 0; }
.sbw-bild img { display: block; width: 100%; }
.sbw-bild figcaption { margin-top: 8px; font-size: 14px; color: #666; }
.sbw-termine .sbw-container { overflow-x: auto; }
/* Tabellen im Fließtext: Abstand wie ein Absatz nach der Überschrift; Ninja Tables setzt unten 30px inline. */
.sbw-table { overflow-x: auto; }
.sbw-table table { margin-bottom: 0 !important; }
.sbw-flow > :is(h1, h2, h3, h4, h5, h6) + .sbw-table { margin-top: 1em; }
.sbw-flow > .sbw-table + * { margin-top: 1.6em; }
/* Termintabelle (Ausgabe des Plugins sbwerk-termine) wie in Divi */
.sbw-termine table { width: 100%; border-collapse: collapse; border: 1px solid var(--sb-line); font-size: 13px; line-height: 1.5; }
.sbw-termine th { padding: 12px 8px; background: var(--sb-grey); text-align: left; font-weight: 600; color: var(--sb-navy); }
.sbw-termine td { padding: 10px 8px; border-top: 1px solid var(--sb-line); vertical-align: middle; }
.sbw-termine td:first-child { font-weight: 600; }
/* Überschrift (eigener Text-Abschnitt) + Termintabelle: Abstand wie im Fließtext statt doppelter Sektionsabstand.
   Ebenso nach der Tabelle zum nächsten Text-Abschnitt nur ein Sektionsabstand.
   Gilt auch in der Seminarspalte (dort sonst 36px Blockabstand). Farbige Kästen bleiben unberührt. */
.sbw-section.sbw-text:not(.bg-hell, .bg-grau, .bg-dunkel):has(+ .sbw-termine) { padding-bottom: 0; }
.sbw-section.sbw-text:not(.bg-hell, .bg-grau, .bg-dunkel) + .sbw-section.sbw-termine { margin-top: 0; padding-top: 1em; }
.sbw-section.sbw-text:not(.bg-hell, .bg-grau, .bg-dunkel):has(.sbw-flow > .is-style-akzent:last-child) + .sbw-section.sbw-termine { padding-top: 1.4em; }
.sbw-section.sbw-termine + .sbw-section.sbw-text:not(.bg-hell, .bg-grau, .bg-dunkel) { padding-top: 0; }
/* Button „Infomaterial anfragen“ unter der Tabelle (Plugin setzt keinen Abstand) */
.sbw-termine .infobtn_extern { margin-top: 1.6em; }
@media (max-width: 800px) { .sbw-termine .responsive-sbwerk-table tr:last-child { margin-bottom: 0; } }

/* ---------- Beitrag ---------- */
.sbw-progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 1001; }
.admin-bar .sbw-progress { top: 32px; }
.sbw-progress span { display: block; height: 100%; width: 0; background: var(--sb-green); }
.sbw-pagehead { position: relative; padding: 80px 0 140px; }
.sbw-pagehead::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: #fff;
	-webkit-mask: url("../ramp.svg") center bottom / 100% 100% no-repeat; mask: url("../ramp.svg") center bottom / 100% 100% no-repeat;
}
.sbw-pagehead h1 { color: #fff; font-size: 35px; }
@media (max-width: 767px) { .sbw-pagehead h1 { font-size: 30px; } }
.sbw-pagehead__text { margin: 22px 0 0; max-width: 760px; color: #fff; font-size: 18px; line-height: 1.7; }
.sbw-pagehead__meta { margin: 25px 0 10px; font-size: 13px; font-weight: 600; color: #fff; }
.sbw-pagehead__meta :is(i, .sbw-icon) { color: var(--sb-green); font-size: 22px; margin-right: 12px; vertical-align: -4px; }
.sbw-article__body .sbw-container { width: var(--sb-narrow); }
.sbw-article__body > .sbw-container:first-child .sbw-breadcrumbs { margin: 10px 0 0; }
.sbw-article__body .sbw-section { padding-block: 0 25px; }
.sbw-article__body > .sbw-container + .sbw-section { padding-top: 30px; }
.sbw-article__body .sbw-section:last-child { padding-bottom: 60px; }
.sbw-related { background: #fff; }
.sbw-related h2 { margin-bottom: 40px; font-size: 28px; }
.sbw-post-card .sbw-card__title { font-size: 18px; }
.sbw-post-card .sbw-card__title a { text-decoration: none; }

/* ---------- Platzhalter (nur für Redakteure) ---------- */
.sbw-todo { padding: 14px 18px; border: 2px dashed #e02b20; background: #fff5f5; color: #e02b20; font: 600 13px/1.5 system-ui, sans-serif; }
.sbw-todo span { display: block; margin-top: 4px; font-weight: 400; color: #8a1c15; }
.sbw-section.sbw-platzhalter { padding-block: 15px; }
.sbw-empty { padding: 24px; border: 2px dashed #c3c4c7; color: #757575; font: 400 14px/1.4 system-ui, sans-serif; text-align: center; }

/* ==================================================================
   Weitere Sektionen (Runde 2)
   ================================================================== */
.sbw-center { text-align: center; margin: 30px 0 0; }

/* ---------- Hero ---------- */
.sbw-section.sbw-hero { padding: 0; }
.sbw-section.sbw-hero > .sbw-container { width: min(100%, 1800px); max-width: none; }
.sbw-hero-box { position: relative; overflow: hidden; background: var(--sb-navy); color: #fff; }
.sbw-hero__bg { position: absolute; inset: 0 0 0 auto; width: 52%; }
.sbw-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.sbw-hero__bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(86deg, var(--sb-navy) 0%, rgba(26, 39, 64, .89) 18%, rgba(26, 39, 64, 0) 52%); z-index: 1; }
.sbw-hero__content { position: relative; z-index: 2; width: var(--sb-container); margin-inline: auto; padding: 132px 0; }
.sbw-hero__content > * { max-width: 66%; }
.sbw-hero__title { color: #fff; font-size: 45px; line-height: 1.4; margin-bottom: 20px; }
.sbw-hero__text { margin: -5px 0 30px; font-size: 18px; font-weight: 400; line-height: 1.7; }
.sbw-hero__list { list-style: none; margin: 0 0 30px; padding: 0; }
.sbw-hero__list li { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; font-size: 16px; font-weight: 500; line-height: 1.8; }
.sbw-hero__list :is(i, .sbw-icon) { color: var(--sb-green); font-size: 28px; }
.sbw-hero__logos img { width: 450px; max-width: 100%; display: block; margin-bottom: 30px; }
/* Klasse „has-logo-kasten“ (Block → Erweitert): dunkles Logo im weißen Kasten statt direkt auf Blau; mobil liegt es ohnehin auf Weiß */
.has-logo-kasten .sbw-hero__logos img { width: auto; height: 130px; padding: 15px; background: #fff; border-radius: var(--sb-radius); }
@media (max-width: 767px) { .has-logo-kasten .sbw-hero__logos img { height: 80px; padding: 0; } }
.sbw-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 25px; }
/* Kurs-Badge (wie Plugin sbwerk-course-badge): grüner Kreis oben rechts am Hero-Bild */
.sbw-badge { position: absolute; z-index: 3; top: 60px; right: max(16px, calc((100% - var(--sb-container)) / 2)); display: flex; align-items: center; justify-content: center; width: 160px; height: 160px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); text-align: center; text-decoration: none; line-height: 1.15; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: transform .18s ease; }
a.sbw-badge:is(:hover, :focus-visible) { transform: scale(1.06); color: var(--sb-navy); }
.sbw-badge__inner { display: flex; flex-direction: column; gap: 2px; padding: 0 14px; transform: rotate(-8deg); }
.sbw-badge__top { margin-bottom: 4px; font-size: 15px; font-weight: 900; font-style: italic; }
.sbw-badge__date { font-size: 20px; font-weight: 700; }
.sbw-badge__city { font-size: 16px; font-weight: 700; }
.sbw-button--caps { padding: 15px 40px; font-size: 14px; text-transform: uppercase; }
.sbw-button--caps::after { display: none; }
.sbw-play { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; font: 600 19px/1 var(--sb-font); cursor: pointer; }
.sbw-play :is(i, .sbw-icon) { color: var(--sb-green); font-size: 22px; }
.sbw-play:hover { color: var(--sb-green); }
@media (max-width: 980px) {
	.sbw-hero__bg { position: relative; width: 100%; height: 300px; }
	.sbw-badge { top: 20px; right: 16px; width: 120px; height: 120px; }
	.sbw-badge__top { font-size: 12px; }
	.sbw-badge__date { font-size: 16px; }
	.sbw-badge__city { font-size: 13px; }
	.sbw-hero__bg::before { background: linear-gradient(0deg, var(--sb-navy) 0%, rgba(26, 39, 64, 0) 60%); }
	.sbw-hero__content { padding: 40px 0 60px; }
	.sbw-hero__content > * { max-width: none; }
	.sbw-hero__title { font-size: 32px; }
}
.sbw-hero__crumbs { display: none; }
/* Hero-Stil „Bild + Kasten“ (Divi /kfz-gutachter/): Bild links über die volle Höhe in natürlicher Größe,
   dunkelblauer Kasten in der rechten Hälfte einer 90-%-Zeile, Logos unten rechts im Bild,
   Kurs-Badge mittig auf der linken oberen Ecke des Kastens. Unter 981 px wie der Standard-Hero. */
@media (min-width: 981px) {
	.sbw-section.sbw-hero.is-style-bild-kasten { position: relative; overflow: hidden; padding-block: 90px; }
	.is-style-bild-kasten .sbw-hero-box { position: static; overflow: visible; display: grid; grid-template-columns: 1fr 1fr; width: 90%; margin-inline: auto; background: none; color: inherit; }
	.is-style-bild-kasten .sbw-hero__bg { inset: 0 auto 0 0; width: auto; height: 100%; }
	.is-style-bild-kasten .sbw-hero__bg::before { display: none; }
	.is-style-bild-kasten .sbw-hero__bg img { width: auto; max-width: none; height: 100%; object-fit: contain; object-position: left center; }
	.is-style-bild-kasten .sbw-hero__content { grid-column: 2; width: auto; margin: 0; padding: 65px; background: var(--sb-navy); color: #fff; border-radius: 0 0 20px 0; }
	.is-style-bild-kasten .sbw-hero__content > * { max-width: none; }
	.is-style-bild-kasten .sbw-hero__title { font-size: 35px; line-height: 1.2; }
	.is-style-bild-kasten .sbw-hero__logos { position: absolute; right: calc(100% + 25px); bottom: 25px; margin: 0; }
	.is-style-bild-kasten .sbw-hero__logos img { width: 300px; margin: 0; }
	.is-style-bild-kasten .sbw-hero__actions { margin-top: 10px; }
	.is-style-bild-kasten .sbw-badge { top: 0; left: 0; right: auto; transform: translate(-50%, -50%); }
	.is-style-bild-kasten a.sbw-badge:is(:hover, :focus-visible) { transform: translate(-50%, -50%) scale(1.06); }
}
@media (min-width: 981px) and (max-width: 1200px) {
	.is-style-bild-kasten .sbw-hero-box { grid-template-columns: 2fr 3fr; }
	.is-style-bild-kasten .sbw-hero__content { padding: 60px; }
}
/* Tablet: Badge unten rechts auf dem Bild statt im Kasten */
@media (min-width: 768px) and (max-width: 980px) {
	.is-style-bild-kasten .sbw-badge { top: auto; bottom: calc(100% + 16px); right: 16px; }
}
/* Handy: kompakter Hero wie Divi – Bild oben, Logos auf Weiß, Box mit Brotkrumen, kleiner H1,
   ohne Häkchen-Liste, Kurs-Badge als grüner Balken darunter. */
@media (max-width: 767px) {
	.sbw-hero-box { display: flex; flex-direction: column; }
	.sbw-hero__content { display: contents; }
	.sbw-hero-box > *, .sbw-hero__content > * { order: 3; }
	.sbw-hero__content > * { width: var(--sb-container); margin-inline: auto; }
	.sbw-hero__bg { order: 1; height: auto; aspect-ratio: 4 / 3; }
	.sbw-hero__bg::before { display: none; }
	.sbw-hero__content > .sbw-hero__logos { order: 2; width: 100%; margin: 0; padding: 10px 16px; background: #fff; }
	.sbw-hero__logos img { width: 210px; margin: 0 0 0 auto; }
	.sbw-hero__crumbs { display: block; padding-top: 22px; }
	.sbw-hero__crumbs .sbw-breadcrumbs { margin: 0; font-size: 11px; color: #fff; }
	.sbw-hero__crumbs .sbw-breadcrumbs a { color: #fff; }
	.sbw-hero__crumbs li:not(:last-child)::after { color: var(--sb-green); }
	.sbw-hero .sbw-hero__title { margin: 14px auto 18px; font-size: 20px; line-height: 1.4; }
	.sbw-hero__text { margin: -6px auto 18px; font-size: 15px; }
	.sbw-hero__list { display: none; }
	.sbw-hero__actions { padding-bottom: 28px; gap: 12px 20px; }
	.sbw-hero__actions .sbw-button--caps { padding: 11px 18px; font-size: 11px; }
	.sbw-hero__actions .sbw-button--caps::after { display: inline; content: "\2192"; margin-left: 6px; }
	.sbw-hero .sbw-badge { order: 9; position: static; width: 100%; height: auto; border-radius: 0; box-shadow: none; padding: 12px 16px; }
	.sbw-hero a.sbw-badge:is(:hover, :focus-visible) { transform: none; }
	.sbw-hero .sbw-badge__inner { flex-flow: row wrap; justify-content: center; align-items: baseline; gap: 0 10px; padding: 0; transform: none; }
	.sbw-hero .sbw-badge__top { margin: 0; font-size: 13px; }
	.sbw-hero .sbw-badge__date { font-size: 16px; }
	.sbw-hero .sbw-badge__city { flex-basis: 100%; font-size: 14px; }
	.sbw-hero + .sbw-crumbbar { display: none; }
}

/* Video-Dialog */
.sbw-dialog { width: min(92vw, 1100px); padding: 0; border: 0; background: #000; overflow: visible; }
.sbw-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.sbw-dialog__video { aspect-ratio: 16 / 9; }
.sbw-dialog__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.sbw-dialog__close { position: absolute; top: -16px; right: -16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sb-green); color: var(--sb-navy); font-size: 18px; cursor: pointer; z-index: 2; }

/* ---------- Kontaktleiste ---------- */
.sbw-section.sbw-kontaktleiste { padding-block: 20px; }
.sbw-contactbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 30px; padding: 13px 30px 10px; background: var(--sb-grey); border-radius: var(--sb-radius); }
.sbw-contactbar__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 2.3; color: var(--sb-navy); }
.sbw-contactbar__item { display: inline-flex; align-items: center; gap: 15px; font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--sb-navy); text-decoration: none; }
.sbw-contactbar__item :is(i, .sbw-icon) { color: var(--sb-green); font-size: 30px; }
.sbw-contactbar .sbw-button { font-size: 14px; }
@media (max-width: 980px) { .sbw-contactbar { justify-content: flex-start; } }

/* ---------- Karussells (gemeinsam) ---------- */
.sbw-slider { position: relative; }
.sbw-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 35px) / 3); column-gap: 35px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.sbw-slider__track::-webkit-scrollbar { display: none; }
.sbw-slider__track > * { scroll-snap-align: start; }
@media (hover: hover) and (pointer: fine) { .sbw-slider__track { cursor: grab; } }
.sbw-slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.sbw-slider__track.is-dragging a { pointer-events: none; }
@media (max-width: 980px) { .sbw-slider__track { grid-auto-columns: calc((100% - 35px) / 2); } }
@media (max-width: 767px) { .sbw-slider__track { grid-auto-columns: 85%; column-gap: 15px; } }
.sbw-slider__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 15px; }
.sbw-slider__nav button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font-size: 16px; cursor: pointer; transition: opacity .3s; }
.sbw-slider__nav button:disabled { opacity: .35; cursor: default; }

/* Seminar-Kacheln */
.sbw-tile { position: relative; display: block; overflow: hidden; line-height: 0; text-decoration: none; transition: transform .5s; }
.sbw-tile img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.sbw-tile:hover { transform: scale(1.04); }
.sbw-tile__box { position: absolute; left: 20px; bottom: 10px; max-width: 85%; padding: 20px 20px 0; margin-bottom: 15px; background: #fff; border-radius: 20px 0 20px 0; line-height: 1; }
.sbw-tile__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; color: var(--sb-navy); hyphens: auto; }
.sbw-tile__label { display: inline-block; margin: 13px 0 -15px; padding: 10px 15px; border-radius: 20px; background: var(--sb-green); color: #1a274b; font-size: 12px; font-weight: 500; line-height: 15px; white-space: nowrap; }

/* Schalter (zwei Bereiche) */
.sbw-switch__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.sbw-switch__none { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--sb-radius); background: var(--sb-light); color: var(--sb-navy); }
.sbw-switch__label { font-size: 16px; font-weight: 600; color: #333; cursor: pointer; }
.sbw-switch__toggle { position: relative; flex: 0 0 62px; width: 62px; height: 31px; padding: 0; border: 0; border-radius: 31px; background: #efefef; cursor: pointer; transition: background .4s; }
.sbw-switch__toggle::before { content: ""; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: var(--sb-green); transition: transform .4s, background .4s; }
.sbw-switch__toggle[aria-checked="true"] { background: var(--sb-green); }
.sbw-switch__toggle[aria-checked="true"]::before { transform: translateX(31px); background: #fff; }
.sbw-switch:not(.is-ready) .sbw-switch__bar { display: none; }
.sbw-switch.is-ready .sbw-switch__panel[data-hidden] { display: none; }
.sbw-switch:not(.is-ready) .sbw-switch__panel + .sbw-switch__panel { margin-top: 40px; }

/* Bild-Karussell */
.sbw-slide { line-height: 0; }
.sbw-slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Bild-Kacheln (CTA) ---------- */
.sbw-section.sbw-kacheln > .sbw-container { width: min(100% - 16px, 1800px); }
.sbw-cta-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.is-style-mosaik .sbw-cta-grid, .sbw-kacheln:not([class*="is-style-"]) .sbw-cta-grid { grid-template-columns: 3fr 2fr; }
.is-style-mosaik .sbw-cta:first-child, .sbw-kacheln:not([class*="is-style-"]) .sbw-cta:first-child { grid-row: span 2; min-height: 600px; }
.n-1 .sbw-cta-grid { grid-template-columns: 1fr !important; }
.sbw-cta { position: relative; display: flex; align-items: flex-end; min-height: 296px; overflow: hidden; background: #383838; color: #fff; }
.sbw-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sbw-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(185deg, rgba(26, 39, 64, 0) 30%, rgba(26, 39, 64, .85) 100%); }
.sbw-cta__body { position: relative; z-index: 2; padding: 40px 40px 45px 50px; }
.sbw-cta__title { color: #fff; font-size: 28px; line-height: 1.2; }
.sbw-cta__text { margin: 5px 0 20px; font-size: 14px; font-weight: 500; }
.sbw-cta__title + .sbw-button { margin-top: 20px; }
@media (max-width: 980px) { .sbw-cta-grid { grid-template-columns: 1fr !important; } .sbw-cta:first-child { min-height: 400px !important; } .sbw-cta__body { padding: 30px; } }

/* ---------- Linklisten ---------- */
.sbw-linklist__title { font-size: 22px; font-weight: 600; margin-bottom: 15px; }
.sbw-linklist ul { list-style: none; margin: 0; padding: 0; }
.sbw-linklist li { border-bottom: 1px solid var(--sb-line); }
.sbw-linklist li:last-child { border-bottom: 0; }
.sbw-linklist a { display: flex; align-items: center; gap: 15px; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--sb-navy); text-decoration: none; }
.sbw-linklist a::before { content: "\f054"; flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font: 900 9px/1 "Font Awesome 6 Solid"; }
.sbw-linklist a:hover { color: #000; }
/* PDF-Links: Datei-Icon wie Listenstil „Dateien“ (ohne grünen Kreis) */
.sbw-linklist a:is([href$=".pdf" i], [href*=".pdf?" i])::before { content: "\f1c1"; width: 24px; height: auto; border-radius: 0; background: none; font: 400 20px/1.25 "Font Awesome 6 Free"; }

/* ---------- Bewertungen, Instagram ---------- */
.sbw-section.sbw-bewertungen { padding-block: 30px; }
/* Bis das Widget da ist (z. B. vor der Cookie-Einwilligung), keinen leeren Platz belegen. Im Editor bleibt der Platzhalter. */
.sbw-section.sbw-bewertungen:not(:has(.ti-widget, .sbw-empty)) { display: none; }

/* ---------- Infomaterial-CTA (Usertest 30.11.2026) ---------- */
/* Button: Download-Pfeil vorn, Pfeil hinten (::after von .sbw-button) */
.sbw-button--info { justify-content: center; text-align: center; line-height: 1.35; }
.sbw-button--info > i { flex: none; font-size: 14px; }
/* Zweitbutton im dunklen Hero: dunkel mit grünem Rahmen */
.sbw-button--info-outline { padding: 15px 28px; background: transparent; color: #fff; font-size: 14px; line-height: 1.7; box-shadow: inset 0 0 0 2px var(--sb-green); }
/* Im Hero gleich hoch wie „Zur Terminübersicht“ (auch wenn ein Text umbricht) */
.sbw-hero__actions > .sbw-button { align-self: stretch; }
.sbw-button--info-outline:hover { background: var(--sb-green); color: var(--sb-navy); box-shadow: none; }
/* Hinweis-Box / Banner */
.sbw-infobox { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; border: 3px solid var(--sb-green); border-radius: 8px; background: var(--sb-navy); color: #fff; }
.sbw-infobox p { margin: 0; }
.sbw-infobox .sbw-infobox__kicker { color: var(--sb-green); font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; }
.sbw-infobox .sbw-infobox__title { margin-top: 4px; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.35; }
.sbw-infobox--box .sbw-button { width: 100%; }
.sbw-infobox--banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 15px 30px; }
.sbw-infobox--banner .sbw-button { flex: none; }
@media (max-width: 767px) {
	.sbw-infobox--banner { flex-direction: column; align-items: stretch; }
	.sbw-infobox { padding: 18px 20px; }
}
/* Box rechts im Fließtext: fließt neben die folgende Überschrift (Desktop) */
@media (min-width: 981px) {
	.sbw-flow:has(> .sbw-infobox--rechts) { display: flow-root; }
	.sbw-flow > .sbw-infobox--rechts { float: right; width: min(480px, 45%); margin: 0 0 25px 40px; }
	.sbw-flow > .sbw-infobox--rechts + * { margin-top: 0; }
}
@media (max-width: 980px) { .sbw-flow > .sbw-infobox--rechts { margin-bottom: 1.6em; } }
.sbw-flow > .sbw-infobox--banner { margin-block: 1.6em; }
/* Seitenkopf mit Button/Box rechts */
.sbw-pagehead--cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 50px; align-items: start; }
.sbw-pagehead--cta > * { grid-column: 1; }
.sbw-pagehead--cta > .sbw-pagehead__cta { grid-column: 2; grid-row: 1 / span 4; position: relative; z-index: 1; max-width: 480px; }
.sbw-pagehead .sbw-infobox { background: rgba(255, 255, 255, .06); }
@media (max-width: 980px) {
	.sbw-pagehead--cta { grid-template-columns: minmax(0, 1fr); }
	.sbw-pagehead--cta > .sbw-pagehead__cta { grid-column: 1; grid-row: auto; order: 9; max-width: none; margin-top: 30px; }
}
/* Seminarseiten: Seitenleiste rutscht ab 980 px ans Ende → Infomaterial-Button über dem Text */
.sbw-seminar__info-mobil { display: none; }
@media (max-width: 980px) { .sbw-seminar__info-mobil { display: block; margin-bottom: 25px; } }
/* Globale Einstiege: Header (Desktop + mobil), Menü, Footer */
.sbw-header__contact { font-size: 15px; font-weight: 700; color: var(--sb-navy); text-decoration: none; }
.sbw-header__contact:hover { text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.sbw-header__info-mobil { display: none; }
@media (max-width: 980px) {
	.sbw-header__info-mobil { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 20px; background: var(--sb-green); color: var(--sb-navy); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
	.sbw-header__info-mobil > i { font-size: 13px; }
}
.sbw-drawer__info { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 12px 10px 10px 0; padding: 12px 16px; border-radius: 6px; background: var(--sb-green); color: var(--sb-navy); text-align: center; text-decoration: none; }
.sbw-drawer__info-main { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.sbw-drawer__info-main::after { content: "\2192"; }
.sbw-drawer__info-sub { font-size: 12px; font-weight: 500; }
/* Menüpunkt „Infomaterial anfordern“ (CSS-Klasse is-info-neu im Menü): Stern, hell-grün */
.sbw-menu--primary .sub-menu .is-info-neu > a, .sbw-menu--mobile .sub-menu .is-info-neu > a { border-radius: 4px; background: rgba(171, 239, 0, .2); font-weight: 600; }
.sbw-menu--primary .sub-menu .is-info-neu > a { padding-inline: 12px; }
.sbw-menu--mobile .sub-menu .is-info-neu > a { padding-inline: 10px; }
:is(.sbw-menu--primary, .sbw-menu--mobile) .sub-menu .is-info-neu > a::before { content: "\f005"; margin-right: 8px; font: 900 12px/1 "Font Awesome 6 Solid"; }
.sbw-footer__links li.is-info-neu { padding-left: 0; }
.sbw-footer__links li.is-info-neu::before { display: none; }
.sbw-footer__links .is-info-neu > a { color: var(--sb-green); font-weight: 600; }
.sbw-footer__links .is-info-neu > a::before { content: "\2192"; margin-right: 6px; }
/* Footer-Kasten nur auf dem Handy */
.sbw-footer__info { display: none; }
.sbw-footer .sbw-infobox { background: rgba(255, 255, 255, .06); }
.sbw-footer .sbw-button { color: var(--sb-navy); }
@media (max-width: 767px) { .sbw-footer__info { display: block; padding-top: 40px; } }
/* Karten „Kontakt“ (Seite Kontakt, wie Divi): dunkle Box, grünes Icon links, weißer Text */
.is-style-kontakt .sbw-card { justify-content: center; padding: 20px; border: 1px solid #dbdbdb; border-radius: 5px; background: var(--sb-navy); }
.sbw-card__kontakt { display: flex; align-items: center; gap: 18px; margin: 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.5; }
.sbw-card__kontakt a { color: #fff; text-decoration: none; }
.sbw-card__kontakt a:hover { text-decoration: underline; text-decoration-color: var(--sb-green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.is-style-kontakt .sbw-card__icon { flex: none; width: 32px; height: auto; background: none; font-size: 30px; }
/* Hero: Zeilenumbruch vor dem Infomaterial-Button, wenn ein Imagefilm-Button da ist */
.sbw-hero__break { flex-basis: 100%; height: 0; }

/* ---------- Formular-Stil „Schritte“ (Infomaterial, Usertest Folie 19/20) ---------- */
.sbw-formular:has(.sbw-schritte) .sbw-formular__grid { grid-template-columns: minmax(0, 720px); justify-content: center; }
.sbw-schritte { padding: 32px 36px 36px; border-radius: 14px; background: var(--sb-navy); color: #fff; box-shadow: 0 10px 30px rgba(26, 39, 64, .18); }
.sbw-schritte .sbw-flow :is(.acf-innerblocks-container, .sbw-flow) > :is(h1, h2, h3, h4), .sbw-schritte .sbw-flow > :is(h1, h2, h3, h4) { color: #fff; }
.sbw-schritte .sbw-flow :is(h1, h2):not(.sbw-form *) { font-size: 30px; }
.sbw-schritte .sbw-flow p:not(.sbw-form *) { color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.6; }
.sbw-schritte .sbw-flow > .sbw-form { margin-top: 26px; }
.sbw-schritte__progress { display: none; margin-bottom: 22px; }
.sbw-js .sbw-schritte__progress { display: block; }
.sbw-schritte__step { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #fff; }
.sbw-schritte__bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.sbw-schritte__bar > span { display: block; width: 33%; height: 100%; border-radius: 4px; background: var(--sb-green); transition: width .3s ease; }
.sbw-schritte.is-done .sbw-schritte__progress, .sbw-schritte.is-done .sbw-flow :is(h1, h2, h3, h4, p):not(.sbw-form *) { display: none; }
.sbw-schritte__trust { margin: 16px 0 0; color: var(--sb-text); font-size: 13px; text-align: center; }
.sbw-schritt--aus { display: none !important; }
.sbw-schritte__back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font: 500 14px/1.4 var(--sb-font); cursor: pointer; }
.sbw-schritte__back::before { content: "\f060"; font: 900 12px/1 "Font Awesome 6 Solid"; }
.sbw-schritte__back:hover { color: var(--sb-green); }
/* Felder in der dunklen Karte */
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .wpforms-field-label { color: #fff; font-size: 18px; font-weight: 700; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form :is(.wpforms-field-sublabel, .wpforms-field-label-inline, .wpforms-field-description) { color: rgba(255, 255, 255, .85); }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .wpforms-required-label { color: var(--sb-green); }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form :is(input[type=text], input[type=email]) { max-width: none; border-color: transparent; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .wpforms-field-gdpr-checkbox .wpforms-field-label-inline { font-size: 13px; line-height: 1.5; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form button[type=submit] { width: 100%; justify-content: center; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form label.wpforms-error, .sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form em.wpforms-error { color: #ffb3ad; }
/* Auswahlkarten (Radio-Felder mit CSS-Klasse sbw-karten) */
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li { position: relative; margin: 0; padding: 0; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li label {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
	margin: 0; padding: 14px 18px; border: 2px solid transparent; border-radius: 8px; background: #fff; color: var(--sb-navy);
	font-size: 16px; font-weight: 700; line-height: 1.35; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li label::before { content: "\f005"; grid-row: 1 / span 2; font: 900 24px/1 "Font Awesome 6 Solid"; color: var(--sb-navy); text-align: center; }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li label::after { content: "\f054"; grid-column: 3; grid-row: 1 / span 2; font: 900 13px/1 "Font Awesome 6 Solid"; color: rgba(26, 39, 64, .45); }
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li label:hover,
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li input:focus-visible + label,
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li input:checked + label { border-color: var(--sb-green); box-shadow: 0 0 0 2px rgba(171, 239, 0, .35); }
/* Bestätigung */
.sbw-schritte .sbw-form div.wpforms-confirmation-container-full { margin: 0; padding: 10px 0 0; border: 0; background: none; color: #fff; }
/* WPForms färbt Absätze der Bestätigung #333 (div[submit-success] > … p) → hier stärker weiß */
.sbw-schritte .sbw-form .wpforms-confirmation-container-full .sbw-danke p { color: #fff; }
.sbw-danke { text-align: center; }
.sbw-danke::before { content: "\f00c"; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--sb-green); color: var(--sb-navy); font: 900 40px/1 "Font Awesome 6 Solid"; }
.sbw-danke__title { margin: 0 0 14px; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; }
.sbw-danke__list { display: inline-flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; text-align: left; }
.sbw-danke__list li { color: var(--sb-green); font-weight: 600; }
.sbw-danke__list li::before { content: "\f00c"; margin-right: 8px; font: 900 13px/1 "Font Awesome 6 Solid"; }
@media (max-width: 767px) {
	.sbw-schritte { padding: 24px 20px 26px; border-radius: 10px; }
	.sbw-schritte .sbw-flow :is(h1, h2):not(.sbw-form *) { font-size: 24px; }
}

/* ---------- Kurzinfo-Boxen (Usertest Folie 26) ---------- */
.sbw-flow > ul.sbw-kurzinfo, .sbw-kurzinfo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-block: 1em 1.6em; padding: 0; list-style: none; }
.sbw-kurzinfo.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sbw-kurzinfo.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbw-flow .sbw-kurzinfo li + li { margin-top: 0; }
.sbw-kurzinfo__box { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 14px 16px; border: 1px solid var(--sb-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(26, 39, 64, .06); }
.sbw-kurzinfo__icon { margin-bottom: 6px; color: var(--sb-green); font-size: 24px; }
.sbw-kurzinfo__titel { color: var(--sb-navy); font-size: 14px; font-weight: 600; line-height: 1.4; }
.sbw-kurzinfo__wert { color: var(--sb-navy); font-size: 15px; font-weight: 700; line-height: 1.35; }
.sbw-kurzinfo__hinweis { color: #666; font-size: 12px; line-height: 1.4; }
.sbw-kurzinfo__badge { margin-top: 6px; padding: 3px 8px; border-radius: 10px; background: rgba(171, 239, 0, .3); color: var(--sb-navy); font-size: 11px; font-weight: 600; line-height: 1.35; }
@media (max-width: 1200px) { .sbw-flow > ul.sbw-kurzinfo, .sbw-kurzinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sbw-flow > ul.sbw-kurzinfo, .sbw-kurzinfo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preisspalten (Usertest Folie 27) ---------- */
.sbw-flow > .sbw-preise { margin-block: 1.4em 1.6em; }
.sbw-preise__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.sbw-preise__grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sbw-preise__grid.cols-1 { grid-template-columns: minmax(0, 1fr); }
.sbw-preise__spalte { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 18px 20px; border: 1px solid var(--sb-line); border-radius: 10px; background: #fff; text-align: center; }
.sbw-preise__spalte.is-top { border: 2px solid var(--sb-green); box-shadow: 0 8px 24px rgba(26, 39, 64, .12); }
.sbw-preise__badge { position: absolute; top: 0; left: 50%; translate: -50% -50%; padding: 3px 12px; border-radius: 12px; background: var(--sb-green); color: var(--sb-navy); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sbw-preise__badge::before { content: "\f005"; margin-right: 5px; font: 900 10px/1 "Font Awesome 6 Solid"; }
.sbw-preise .sbw-preise__titel { margin: 0; color: var(--sb-navy); font-size: 18px; font-weight: 700; line-height: 1.3; }
.sbw-preise p { margin: 0; }
.sbw-preise .sbw-preise__untertitel { margin-top: 4px; color: #666; font-size: 12px; line-height: 1.4; }
.sbw-preise .sbw-preise__preis { margin-top: 16px; color: var(--sb-navy); font-size: 34px; font-weight: 800; line-height: 1.1; }
.sbw-preise .sbw-preise__dauer { margin-top: 6px; color: var(--sb-navy); font-size: 14px; font-weight: 500; }
.sbw-preise .sbw-preise__hinweis { margin-top: 6px; color: #4d7a00; font-size: 12px; font-weight: 600; }
.sbw-preise__button { width: 100%; margin-top: 16px; justify-content: center; font-size: 14px; }
.sbw-preise__button.is-outline { background: #fff; color: var(--sb-navy); box-shadow: inset 0 0 0 2px var(--sb-navy); }
.sbw-preise__button.is-outline:hover { background: var(--sb-navy); color: #fff; }
.sbw-flow .sbw-preise__punkte { align-self: stretch; margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.sbw-flow .sbw-preise__punkte li { position: relative; margin: 0; padding-left: 24px; color: var(--sb-navy); font-size: 13px; font-weight: 500; line-height: 1.45; }
.sbw-flow .sbw-preise__punkte li + li { margin-top: 8px; }
.sbw-preise__punkte li::before { content: "\f00c"; position: absolute; left: 0; top: 2px; color: #6aa800; font: 900 13px/1 "Font Awesome 6 Solid"; }
.sbw-preise .sbw-preise__leiste { margin-top: 16px; padding: 12px 18px; border-radius: 8px; background: var(--sb-grey); color: var(--sb-navy); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; }
.sbw-flow .sbw-preise__leiste a { white-space: nowrap; }
.sbw-preise__leiste a::after { content: " \2192"; }
@media (max-width: 1100px) and (min-width: 981px), (max-width: 767px) {
	.sbw-preise__grid, .sbw-preise__grid.cols-2 { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
/* Zeile „Ihre Anfrage: Kfz-Gutachter · ändern“ unter der Einleitung */
.sbw-schritte .sbw-flow > p.sbw-schritte__kontext { display: none; }
.sbw-js .sbw-schritte .sbw-flow > p.sbw-schritte__kontext { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 16px 0 0; padding: 6px 12px; border-radius: 16px; background: rgba(171, 239, 0, .15); color: #fff; font-size: 14px; line-height: 1.4; }
.sbw-schritte__kontext strong { color: var(--sb-green); }
.sbw-schritte__kontext button { padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font: 500 13px/1.4 var(--sb-font); text-decoration: underline; cursor: pointer; }
.sbw-schritte__kontext button:hover { color: var(--sb-green); }
.sbw-schritte .sbw-flow > .sbw-schritte__kontext + .sbw-form { margin-top: 20px; }
/* Vor dem Start von site.js (Markierung sbw-js aus dem Kopf): nur der erste Schritt sichtbar → kein Aufblitzen */
.sbw-js .sbw-schritte:not(.is-js) :is(.sbw-schritt-2, .sbw-schritt-3, .wpforms-submit-container) { display: none; }
.sbw-js .sbw-schritte.has-vorauswahl:not(.is-js) .sbw-schritt-1 { display: none; }
.sbw-js .sbw-schritte.has-vorauswahl:not(.is-js) .sbw-schritt-2 { display: block; }
/* Auswahlkarten: Icon je Wahl/Bereich und Unterzeile (li::after) aus dem CSS */
.sbw-schritte .sbw-form div.wpforms-container-full .wpforms-form .sbw-karten li label { grid-template-rows: auto 20px; } /* 2. Zeile = Platz für die Unterzeile (li::after) */
.sbw-schritte .sbw-schritt-1 li.choice-1 label::before { content: "\f1b9" !important; }
.sbw-schritte .sbw-schritt-1 li.choice-2 label::before { content: "\f1ad" !important; }
.sbw-schritte .sbw-schritt-2 li.choice-1 label::before { content: "\f00c" !important; }
.sbw-schritte[data-bereich="kfz"] .sbw-schritt-2 li.choice-1 label::before { content: "\f1b9" !important; }
.sbw-schritte[data-bereich="bau"] .sbw-schritt-2 li.choice-1 label::before { content: "\f1ad" !important; }
.sbw-schritte .sbw-karten li::after { position: absolute; left: 78px; right: 44px; bottom: 15px; color: #555; font-size: 14px; font-weight: 400; line-height: 1.3; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbw-schritte .sbw-schritt-1 li.choice-1::after { content: "Basis-, Kombi- & Spezialseminare"; }
.sbw-schritte .sbw-schritt-1 li.choice-2::after { content: "Schaden- & Wertgutachten Bau"; }
.sbw-schritte .sbw-schritt-1 li.choice-3::after { content: "Infos zu beiden Bereichen"; }
.sbw-schritte .sbw-schritt-2 li.choice-1::after { content: "Schaden-, Wert- & Kombiseminare"; }
.sbw-schritte .sbw-schritt-2 li.choice-2::after { content: "Zusatzqualifikationen Kfz & Bau"; }
.sbw-schritte[data-bereich="kfz"] .sbw-schritt-2 li.choice-1::after { content: "Schaden-, Wert- & Kombiseminar"; }
.sbw-schritte[data-bereich="kfz"] .sbw-schritt-2 li.choice-2::after { content: "Oldtimer, E-Auto, Unfallrekonstruktion …"; }
.sbw-schritte[data-bereich="bau"] .sbw-schritt-2 li.choice-1::after { content: "Schaden-, Wert- & Kombiseminar Bau"; }
.sbw-schritte[data-bereich="bau"] .sbw-schritt-2 li.choice-2::after { content: "Bauwerksabdichtung, Feuchte & Schimmel …"; }
/* Karten mit Bildformat „Original“ (z. B. Broschüren-Cover): nichts abschneiden */
.has-bild-original .sbw-card__media img { aspect-ratio: auto; height: auto; object-fit: contain; }
