/**
 * Seniorenbeirat Dorsten – Design v1.3
 */

:root {
	--sb-green: #8dbb33;
	--sb-green-dark: #6f9a24;
	--sb-green-soft: #e8f2d4;
	--sb-green-mid: #b8d67a;
	--sb-blue: #1e73be;
	--sb-blue-dark: #155a96;
	--sb-blue-soft: #e8f4fc;
	--sb-blue-mid: #5a9fd4;
	--sb-grey: #555555;
	--sb-grey-dark: #2f3a45;
	--sb-grey-light: #767676;
	--sb-grey-soft: #eceff3;
	--sb-grey-mid: #8a939c;
	--sb-slate: #3d4f5f;
	--sb-white: #ffffff;
	--sb-bg: #f0f4f8;
	--sb-bg-warm: #f7f9f4;
	--sb-surface: #ffffff;
	--sb-border: #d5dee8;
	--sb-border-green: rgba(141, 187, 51, 0.35);
	--sb-border-blue: rgba(30, 115, 190, 0.25);
	--sb-shadow: 0 6px 24px rgba(30, 55, 80, 0.08);
	--sb-shadow-green: 0 8px 24px rgba(111, 154, 36, 0.14);
	--sb-shadow-blue: 0 8px 24px rgba(30, 115, 190, 0.14);
	--sb-radius: 14px;
	--sb-content-width: min(94rem, 96vw);
	--sb-content-padding: clamp(1.25rem, 3vw, 2.5rem);
	--sb-hero-height: clamp(220px, 38vw, 520px);

	--go--max-width: min(94rem, 96vw);
	--go--max-width--alignwide: min(112rem, 98vw);
	--go-entryheader--max-width: min(94rem, 96vw);

	--go--color--primary: var(--sb-green);
	--go--color--secondary: var(--sb-blue);
	--go-header--color--background: var(--sb-white);
	--go-site-title--color--text: var(--sb-blue-dark);
	--go-navigation--color--text: var(--sb-grey-dark);
	--go-footer--color--background: var(--sb-grey-dark);
	--go--font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
	--go-heading--font-family: var(--go--font-family);
	--go--font-size: 1.125rem;
}

html[data-sb-font-level="0"] { font-size: 100%; }
html[data-sb-font-level="1"] { font-size: 112.5%; }
html[data-sb-font-level="2"] { font-size: 125%; }
html[data-sb-font-level="3"] { font-size: 140%; }

html.sb-high-contrast {
	--sb-green: #3d6600;
	--sb-green-dark: #294400;
	--sb-green-soft: #fff;
	--sb-blue: #003d73;
	--sb-blue-dark: #001a33;
	--sb-blue-soft: #fff;
	--sb-grey: #000;
	--sb-grey-dark: #000;
	--sb-grey-light: #000;
	--sb-grey-soft: #fff;
	--sb-white: #fff;
	--sb-bg: #fff;
	--sb-bg-warm: #fff;
	--sb-surface: #fff;
	--sb-border: #000;
	--sb-shadow: none;
	--go-header--color--background: #fff;
	--go-site-title--color--text: #000;
	--go-navigation--color--text: #000;
	--go-footer--color--background: #000;
}

html.sb-high-contrast body {
	background: #fff !important;
	color: #000 !important;
}

html.sb-high-contrast a,
html.sb-high-contrast a:visited {
	color: #0000cc !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

html.sb-high-contrast a:hover,
html.sb-high-contrast a:focus-visible {
	color: #000 !important;
	background: #ff0 !important;
}

html.sb-high-contrast .site-header,
html.sb-high-contrast .site-footer,
html.sb-high-contrast .sb-quicklink,
html.sb-high-contrast .sb-article-card,
html.sb-high-contrast .sb-termine-preview__box,
html.sb-high-contrast .sb-geschichte__card,
html.sb-high-contrast .sb-a11y__panel,
html.sb-high-contrast .sb-intro .sb-container,
html.sb-high-contrast .sb-info-button a {
	border: 2px solid #000 !important;
	background: #fff !important;
	color: #000 !important;
	box-shadow: none !important;
}

html.sb-high-contrast .site-footer,
html.sb-high-contrast .site-footer a {
	background: #000 !important;
	color: #fff !important;
	border-color: #fff !important;
}

html.sb-high-contrast .sb-section__title,
html.sb-high-contrast h1,
html.sb-high-contrast h2,
html.sb-high-contrast h3,
html.sb-high-contrast .sb-intro__title,
html.sb-high-contrast .sb-quicklink__title {
	color: #000 !important;
}

html.sb-high-contrast .sb-intro,
html.sb-high-contrast .sb-quicklinks,
html.sb-high-contrast .sb-termine-preview,
html.sb-high-contrast .sb-articles,
html.sb-high-contrast .sb-ziele,
html.sb-high-contrast .sb-geschichte {
	background: #fff !important;
	color: #000 !important;
}

html.sb-high-contrast .sb-intro .sb-container {
	border-left: 5px solid #000 !important;
}

html.sb-high-contrast .sb-intro__kicker,
html.sb-high-contrast .sb-intro__lead,
html.sb-high-contrast .sb-quicklink__desc,
html.sb-high-contrast .sb-ziele__lead,
html.sb-high-contrast .sb-article-card__excerpt,
html.sb-high-contrast .sb-article-card__date,
html.sb-high-contrast .sb-termine-preview__date,
html.sb-high-contrast .sb-geschichte__content p,
html.sb-high-contrast .sb-geschichte__facts li {
	color: #000 !important;
}

html.sb-high-contrast .sb-intro__kicker {
	font-weight: 800;
}

html.sb-high-contrast .sb-btn,
html.sb-high-contrast button,
html.sb-high-contrast .sb-a11y__font-btn,
html.sb-high-contrast .sb-a11y__contrast,
html.sb-high-contrast .sb-a11y__dark,
html.sb-high-contrast .sb-a11y__reset {
	border: 2px solid #000 !important;
	font-weight: 700 !important;
}

html.sb-high-contrast .sb-btn--primary,
html.sb-high-contrast .sb-a11y__font-btn.is-active,
html.sb-high-contrast .sb-a11y__contrast.is-active,
html.sb-high-contrast .sb-a11y__dark.is-active {
	background: #000 !important;
	color: #fff !important;
}

html.sb-high-contrast .sb-hero__nav,
html.sb-high-contrast .sb-hero__dots {
	border: 2px solid #fff !important;
	background: #000 !important;
}

html.sb-high-contrast img {
	filter: contrast(1.15);
}

html.sb-high-contrast .sb-section__title::after {
	background: #000 !important;
}

body.home #page {
	max-width: none !important;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.home #page > .sb-hero--gallery {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Dunkelmodus */
html.sb-dark-mode {
	color-scheme: dark;
	--sb-green: #a8d65a;
	--sb-green-dark: #8dbb33;
	--sb-green-soft: #1e2a14;
	--sb-green-mid: #6f9a24;
	--sb-blue: #5aafe8;
	--sb-blue-dark: #9fd0ff;
	--sb-blue-soft: #152535;
	--sb-blue-mid: #1e73be;
	--sb-grey: #c5ced8;
	--sb-grey-dark: #e8edf2;
	--sb-grey-light: #9aa8b5;
	--sb-grey-soft: #243040;
	--sb-grey-mid: #7a8896;
	--sb-slate: #1a2432;
	--sb-white: #1c2532;
	--sb-bg: #0f141c;
	--sb-bg-warm: #141b25;
	--sb-surface: #1c2532;
	--sb-border: #3a4d62;
	--sb-border-green: rgba(168, 214, 90, 0.35);
	--sb-border-blue: rgba(90, 175, 232, 0.3);
	--sb-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
	--go-header--color--background: #1c2532;
	--go-site-title--color--text: #9fd0ff;
	--go-navigation--color--text: #e8edf2;
	--go-footer--color--background: #0a0e14;
}

html.sb-dark-mode body {
	background: var(--sb-bg);
	color: var(--sb-grey-dark);
}

html.sb-dark-mode a {
	color: var(--sb-blue);
}

html.sb-dark-mode a:hover,
html.sb-dark-mode a:focus-visible {
	color: var(--sb-green);
}

html.sb-dark-mode .site-header {
	border-bottom: 1px solid var(--sb-border);
}

html.sb-dark-mode .sb-intro {
	background: linear-gradient(135deg, var(--sb-surface) 0%, var(--sb-blue-soft) 100%);
}

html.sb-dark-mode .sb-quicklinks {
	background: var(--sb-bg-warm);
}

html.sb-dark-mode .sb-quicklink {
	background: var(--sb-surface);
	border-color: var(--sb-border);
}

html.sb-dark-mode .sb-termine-preview {
	background: var(--sb-bg);
}

html.sb-dark-mode .sb-termine-preview__box {
	background: var(--sb-surface);
}

html.sb-dark-mode .sb-articles {
	background: linear-gradient(165deg, #1a3048 0%, var(--sb-surface) 42%, var(--sb-bg) 100%);
	border-top-color: rgba(30, 115, 190, 0.35);
}

html.sb-dark-mode .sb-article-card {
	background: var(--sb-surface);
}

html.sb-dark-mode .sb-ziele {
	background: linear-gradient(180deg, var(--sb-bg) 0%, #1e3020 38%, var(--sb-surface) 100%);
	border-top-color: rgba(141, 187, 51, 0.35);
}

html.sb-dark-mode .sb-ziele .sb-section__title,
html.sb-dark-mode .sb-ziele__lead,
html.sb-dark-mode .sb-ziele__text {
	color: var(--sb-grey-dark);
}

html.sb-dark-mode .sb-ziele__list li {
	background: var(--sb-surface);
	color: var(--sb-grey-dark);
}

html.sb-dark-mode .sb-ziele__list li:nth-child(4n + 1),
html.sb-dark-mode .sb-ziele__list li:nth-child(4n + 4) {
	border-left-color: var(--sb-green);
}

html.sb-dark-mode .sb-ziele__list li:nth-child(4n + 2),
html.sb-dark-mode .sb-ziele__list li:nth-child(4n + 3) {
	border-left-color: var(--sb-blue);
}

html.sb-dark-mode .sb-geschichte {
	background: linear-gradient(180deg, var(--sb-bg-warm) 0%, var(--sb-bg) 100%);
}

html.sb-dark-mode .sb-geschichte__card {
	background: linear-gradient(145deg, var(--sb-blue-soft) 0%, var(--sb-surface) 72%);
	border-color: var(--sb-border-blue);
}

html.sb-dark-mode .sb-geschichte__title {
	color: var(--sb-blue-dark);
}

html.sb-dark-mode .sb-geschichte__content p {
	color: var(--sb-grey-dark);
}

html.sb-dark-mode .sb-geschichte__facts li {
	background: rgba(15, 20, 28, 0.72);
	color: var(--sb-grey-dark);
}

html.sb-dark-mode .sb-geschichte__facts li:nth-child(3n + 1) {
	border-left-color: var(--sb-green);
}

html.sb-dark-mode .sb-geschichte__facts li:nth-child(3n + 2) {
	border-left-color: var(--sb-blue);
}

html.sb-dark-mode .sb-geschichte__facts li:nth-child(3n + 3) {
	border-left-color: var(--sb-grey-mid);
}

html.sb-dark-mode .sb-geschichte__facts li strong {
	color: var(--sb-blue-dark);
}

html.sb-dark-mode .sb-a11y__panel {
	background: var(--sb-surface);
	border-color: var(--sb-border);
}

html.sb-dark-mode .sb-a11y__panel-head {
	background: var(--sb-blue-soft);
}

html.sb-dark-mode .sb-info-button a {
	background: var(--sb-green-dark);
	color: #fff;
}

html.sb-dark-mode.sb-high-contrast {
	--sb-bg: #000;
	--sb-surface: #000;
	--sb-white: #000;
	--sb-grey-dark: #ffff00;
	--sb-blue: #ffff00;
	--sb-green: #ffff00;
	--sb-border: #ffff00;
}

html.sb-dark-mode.sb-high-contrast body {
	background: #000 !important;
	color: #ff0 !important;
}

html.sb-dark-mode.sb-high-contrast a,
html.sb-dark-mode.sb-high-contrast a:visited {
	color: #ff0 !important;
}

html.sb-dark-mode.sb-high-contrast .site-header,
html.sb-dark-mode.sb-high-contrast .site-footer,
html.sb-dark-mode.sb-high-contrast .sb-quicklink,
html.sb-dark-mode.sb-high-contrast .sb-article-card,
html.sb-dark-mode.sb-high-contrast .sb-termine-preview__box,
html.sb-dark-mode.sb-high-contrast .sb-geschichte__card,
html.sb-dark-mode.sb-high-contrast .sb-a11y__panel,
html.sb-dark-mode.sb-high-contrast .sb-intro,
html.sb-dark-mode.sb-high-contrast .sb-intro .sb-container,
html.sb-dark-mode.sb-high-contrast .sb-quicklinks,
html.sb-dark-mode.sb-high-contrast .sb-termine-preview,
html.sb-dark-mode.sb-high-contrast .sb-articles,
html.sb-dark-mode.sb-high-contrast .sb-ziele,
html.sb-dark-mode.sb-high-contrast .sb-geschichte {
	background: #000 !important;
	color: #ff0 !important;
	border-color: #ff0 !important;
}

html.sb-dark-mode.sb-high-contrast .sb-intro__kicker,
html.sb-dark-mode.sb-high-contrast .sb-intro__title,
html.sb-dark-mode.sb-high-contrast .sb-intro__lead,
html.sb-dark-mode.sb-high-contrast .sb-section__title,
html.sb-dark-mode.sb-high-contrast h1,
html.sb-dark-mode.sb-high-contrast h2,
html.sb-dark-mode.sb-high-contrast h3,
html.sb-dark-mode.sb-high-contrast p,
html.sb-dark-mode.sb-high-contrast li,
html.sb-dark-mode.sb-high-contrast .sb-quicklink__desc,
html.sb-dark-mode.sb-high-contrast .sb-article-card__excerpt,
html.sb-dark-mode.sb-high-contrast .sb-article-card__date {
	color: #ff0 !important;
}

/* Layout */
.sb-container {
	width: 100%;
	max-width: var(--sb-content-width);
	margin: 0 auto;
	padding: 0 var(--sb-content-padding);
	box-sizing: border-box;
}

.site-content,
.content-area,
.content-area__wrapper,
.site-main {
	max-width: 100% !important;
	width: 100%;
}

.content-area.entry-content {
	max-width: 100% !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

body:not(.home):not(.page-inner) .content-area.entry-content > *:not(.alignfull):not(.alignwide):not(.sb-hero--gallery):not(.sb-hero-cover):not(.sb-board-section):not(.sb-district-nav):not(.sb-district-section) {
	max-width: var(--sb-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sb-content-padding);
	padding-right: var(--sb-content-padding);
	box-sizing: border-box;
}

.sb-section {
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.sb-section__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	color: var(--sb-blue-dark);
}

.sb-section__title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 4px;
	margin-top: 0.55rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--sb-green), var(--sb-blue));
}

.sb-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.sb-section__head .sb-section__title {
	margin: 0;
}

.sb-section__more {
	font-weight: 600;
	color: var(--sb-blue);
	text-decoration: none;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--sb-blue-soft);
	transition: background 0.15s, color 0.15s;
}

.sb-section__more:hover {
	color: var(--sb-white);
	background: var(--sb-blue);
	text-decoration: none;
}

.home .entry-content > .sb-section {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Header */
.site-header {
	background: var(--sb-white) !important;
	border-bottom: 1px solid var(--sb-border);
}

.site-header::before { display: none !important; }

.site-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--sb-green), var(--sb-blue));
}

.site-header .header__inner {
	max-width: var(--sb-content-width);
	margin: 0 auto;
	padding: 0.65rem var(--sb-content-padding) !important;
	gap: 0.5rem;
}

.site-header .sb-header-logo,
.site-header .sb-header-title {
	flex: 0 1 auto;
	min-width: 0;
}

.site-header .sb-header-logo {
	line-height: 0;
}

.site-header .sb-header-logo__link {
	display: block;
	text-decoration: none;
	line-height: 0;
}

.site-header .sb-header-logo__link:hover,
.site-header .sb-header-logo__link:focus-visible {
	opacity: 0.92;
	outline: 2px solid var(--sb-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.site-header .sb-header-logo__image {
	display: block;
	width: auto;
	height: clamp(2.2rem, 5vw, 3.35rem);
	max-width: min(18rem, 48vw);
}

.site-header .header__extras {
	margin-left: auto;
	flex-shrink: 0;
}

.site-header .header__title-nav {
	gap: 1rem;
	min-width: 0;
	flex: 0 0 auto;
}

/* Desktop: Logo links, Menü rechts – eine Zeile */
@media (min-width: 960px) {
	.site-header .header__inner {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.75rem 1rem;
		padding-top: 0.7rem !important;
		padding-bottom: 0.65rem !important;
	}

	.site-header .sb-header-logo,
	.site-header .sb-header-title {
		order: 1;
		flex: 0 0 auto;
		position: relative;
		z-index: 3;
		margin-right: 0.5rem;
	}

	.site-header .sb-header-logo {
		max-width: min(20rem, 28vw);
	}

	.site-header .sb-header-title {
		max-width: min(22rem, 32vw);
	}

	.site-header .sb-header-logo__image {
		height: clamp(2.85rem, 3.6vw, 3.55rem);
		max-width: 100%;
	}

	.site-header .header__title-nav {
		order: 2;
		flex: 1 1 auto !important;
		min-width: 0;
		width: auto !important;
		justify-content: flex-end;
		border-top: none;
		padding-top: 0;
		margin-top: 0;
	}

	.site-header .header__navigation {
		flex: 1 1 auto !important;
		min-width: 0;
		width: auto !important;
		margin-left: 0 !important;
		padding-left: 0.25rem !important;
		justify-content: flex-end !important;
	}

	.site-header .header__navigation .primary-menu {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: center;
		gap: 0.2rem 0.4rem;
	}

	.site-header .header__navigation a {
		font-size: 1.1rem !important;
		font-weight: 600 !important;
		padding: 0.55rem 0.82rem !important;
		border-radius: 8px;
		line-height: 1.3;
		white-space: nowrap;
	}

	.site-header .header__navigation a:hover,
	.site-header .header__navigation a:focus-visible {
		background: var(--sb-green-soft);
		text-decoration: none !important;
	}

	.site-header .header__navigation .current-menu-item > a {
		background: var(--sb-blue-soft) !important;
		color: var(--sb-blue-dark) !important;
		font-weight: 700 !important;
		box-shadow: inset 0 -2px 0 var(--sb-green);
	}

	.site-header .header__navigation li:not(:first-child) {
		margin-left: 0 !important;
	}

	.site-header .header__extras {
		order: 3;
		margin-left: 0.35rem !important;
		flex: 0 0 auto !important;
		padding-top: 0;
	}

	.site-header .header__nav-toggle {
		display: none;
	}
}

@media (min-width: 960px) and (max-width: 1240px) {
	.site-header .sb-header-logo {
		max-width: min(17rem, 24vw);
	}

	.site-header .sb-header-logo__image {
		height: clamp(2.5rem, 3vw, 3rem);
	}

	.site-header .header__navigation a {
		font-size: 1rem !important;
		padding: 0.48rem 0.65rem !important;
	}
}

.site-header .site-title {
	margin: 0;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
	line-height: 1.2;
}

.site-header .site-title a {
	color: var(--sb-blue-dark) !important;
	font-weight: 700;
	text-decoration: none;
}

.site-header .site-title a:hover,
.site-header .site-title a:focus-visible {
	color: var(--sb-green-dark) !important;
	outline: 2px solid var(--sb-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.site-header .site-description {
	display: none !important;
}

.header__navigation a {
	color: var(--sb-grey-dark) !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	border-radius: 8px;
	padding: 0.45rem 0.65rem;
}

.header__navigation a:hover,
.header__navigation a:focus-visible {
	color: var(--sb-green-dark) !important;
	background: var(--sb-green-soft);
	text-decoration: none !important;
	outline: 2px solid var(--sb-blue);
	outline-offset: 2px;
}

.header__navigation .current-menu-item > a {
	color: var(--sb-blue-dark) !important;
	background: var(--sb-blue-soft);
}

.header__navigation .sub-menu {
	background: var(--sb-white);
	border: 1px solid var(--sb-border);
	border-radius: 10px;
	box-shadow: var(--sb-shadow-blue);
	padding: 0.35rem 0;
	min-width: 12rem;
}

.header__navigation .sub-menu a {
	display: block;
	padding: 0.55rem 0.9rem;
	font-size: 1.05rem;
	white-space: normal;
}

/* Desktop: Untermenü stabil beim Hover (Lücke zwischen Link und Dropdown überbrücken) */
@media (min-width: 960px) {
	.header__navigation .primary-menu > .menu-item-has-children::after {
		content: '';
		position: absolute;
		top: 100%;
		left: -0.35rem;
		right: -0.35rem;
		height: 1.35rem;
		z-index: 998;
	}

	.header__navigation .primary-menu > .menu-item-has-children > .sub-menu {
		top: calc(100% + 0.55rem);
		z-index: 999;
	}

	.header__navigation .primary-menu .menu-item-has-children:hover > .sub-menu,
	.header__navigation .primary-menu .menu-item-has-children.child-has-focus > .sub-menu,
	.header__navigation .primary-menu .menu-item-has-children.sb-submenu-open > .sub-menu {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
	}
}

.nav-toggle {
	border: 2px solid var(--sb-blue) !important;
	border-radius: 10px !important;
	background: var(--sb-blue-soft) !important;
	color: var(--sb-blue-dark) !important;
	padding: 0.5rem 0.75rem !important;
	font-weight: 700 !important;
	min-width: 2.75rem;
	min-height: 2.75rem;
}

/* Mobile-Navigation: Schublade von rechts, flache Liste, Untermenüs sichtbar */
.sb-mobile-nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9998;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(10, 24, 42, 0.45);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	cursor: pointer;
}

.sb-mobile-nav-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

@media (max-width: 959px) {
	.site-header .header__inner {
		padding: 0.55rem 0.75rem !important;
		gap: 0.35rem;
	}

	.site-header .sb-header-logo__image {
		height: clamp(2.15rem, 9vw, 2.7rem);
		max-width: min(14.5rem, 74vw);
	}

	.site-header .header__title-nav {
		flex: 0 0 auto;
		min-width: 0;
	}

	body.menu-is-open {
		overflow: hidden;
	}

	body.menu-is-open .site-header {
		position: relative;
		z-index: 10001;
	}

	body.menu-is-open .nav-toggle {
		background: var(--sb-blue) !important;
		border-color: var(--sb-blue-dark) !important;
		color: var(--sb-white) !important;
	}

	body.menu-is-open .header__navigation {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: auto !important;
		width: min(20.5rem, 90vw) !important;
		max-width: none !important;
		height: auto !important;
		z-index: 10000 !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		text-align: left !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		background: var(--sb-white) !important;
		box-shadow: -8px 0 32px rgba(10, 24, 42, 0.18);
		animation: sb-mobile-drawer-in 0.24s ease-out;
	}

	body.menu-is-open .header__navigation::before {
		content: 'Navigation';
		display: block;
		flex: 0 0 auto;
		padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 1.25rem 0.75rem;
		font-size: 0.78rem;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		color: var(--sb-green-mid);
		border-bottom: 3px solid var(--sb-green);
		background: linear-gradient(180deg, var(--sb-blue-soft) 0%, var(--sb-white) 100%);
	}

	body.menu-is-open .header__navigation-inner {
		display: block !important;
		position: static !important;
		flex: 1 1 auto !important;
		width: 100% !important;
		min-height: 0 !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
	}

	body.menu-is-open .header__navigation-inner > div {
		position: static !important;
		height: auto !important;
		width: 100% !important;
		overflow: visible !important;
	}

	body.menu-is-open .primary-menu {
		display: block !important;
		position: static !important;
		width: 100% !important;
		height: auto !important;
		margin: 0 !important;
		padding: 0.35rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
	}

	body.menu-is-open .primary-menu > .menu-item {
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}

	body.menu-is-open .header__navigation a {
		display: block;
		color: var(--sb-grey-dark) !important;
		font-size: 1.2rem !important;
		line-height: 1.4;
		font-weight: 600 !important;
		padding: 1.05rem 1.25rem !important;
		border: none !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		border-bottom: 1px solid var(--sb-border) !important;
	}

	body.menu-is-open .header__navigation a:hover,
	body.menu-is-open .header__navigation a:focus-visible {
		background: var(--sb-green-soft) !important;
		color: var(--sb-blue-dark) !important;
		outline: none;
	}

	body.menu-is-open .header__navigation .current-menu-item > a {
		background: var(--sb-blue-soft) !important;
		color: var(--sb-blue-dark) !important;
		font-weight: 700 !important;
		box-shadow: inset 4px 0 0 var(--sb-green);
	}

	body.menu-is-open .header__navigation .menu-item-has-children > a {
		font-weight: 700 !important;
		color: var(--sb-blue-dark) !important;
		font-size: 1rem !important;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		padding-top: 1.15rem !important;
		padding-bottom: 0.55rem !important;
		border-bottom: none !important;
		background: var(--sb-bg-warm) !important;
	}

	body.menu-is-open .header__navigation .menu-item-has-children > a svg {
		display: none !important;
	}

	body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu,
	body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu[aria-hidden='true'] {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		overflow: visible;
		margin: 0 !important;
		padding: 0 0 0.5rem !important;
		border: none !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: var(--sb-bg-warm) !important;
		min-width: 0 !important;
	}

	body.menu-is-open .header__navigation .sub-menu .menu-item {
		margin: 0 !important;
	}

	body.menu-is-open .header__navigation .sub-menu a {
		font-size: 1.12rem !important;
		font-weight: 600 !important;
		padding: 0.9rem 1.25rem 0.9rem 1.65rem !important;
		text-transform: none;
		letter-spacing: normal;
		border-bottom: 1px solid rgba(30, 115, 190, 0.1) !important;
		background: transparent !important;
	}

	body.menu-is-open .header__navigation .sub-menu .menu-item:last-child a {
		border-bottom: none !important;
		padding-bottom: 0.95rem !important;
	}

	body.menu-is-open .header__navigation .sub-menu .current-menu-item > a {
		background: var(--sb-blue-soft) !important;
		box-shadow: inset 4px 0 0 var(--sb-green);
	}
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	width: min(20.5rem, 90vw) !important;
	max-width: none !important;
	height: auto !important;
	z-index: 10000 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	text-align: left !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--sb-white) !important;
	box-shadow: -8px 0 32px rgba(10, 24, 42, 0.18);
	animation: sb-mobile-drawer-in 0.24s ease-out;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation::before,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation::before {
	content: 'Navigation';
	display: block;
	flex: 0 0 auto;
	padding: calc(0.9rem + env(safe-area-inset-top, 0px)) 1.25rem 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sb-green-mid);
	border-bottom: 3px solid var(--sb-green);
	background: linear-gradient(180deg, var(--sb-blue-soft) 0%, var(--sb-white) 100%);
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation-inner,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation-inner {
	display: block !important;
	position: static !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	min-height: 0 !important;
	overflow-y: auto !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation-inner > div,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation-inner > div {
	position: static !important;
	height: auto !important;
	width: 100% !important;
	overflow: visible !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .primary-menu,
html[data-sb-viewport-level="2"] body.menu-is-open .primary-menu {
	display: block !important;
	position: static !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0.35rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

html[data-sb-viewport-level="1"] body.menu-is-open .primary-menu > .menu-item,
html[data-sb-viewport-level="2"] body.menu-is-open .primary-menu > .menu-item {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation a,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation a {
	display: block !important;
	font-size: 1.12rem !important;
	padding: 0.95rem 1.25rem !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--sb-border) !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation .menu-item-has-children > a,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation .menu-item-has-children > a {
	font-weight: 700 !important;
	font-size: 0.92rem !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding-top: 1.15rem !important;
	padding-bottom: 0.55rem !important;
	border-bottom: none !important;
	background: var(--sb-bg-warm) !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation .menu-item-has-children > a svg,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation .menu-item-has-children > a svg {
	display: none !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu,
html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu[aria-hidden='true'],
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu[aria-hidden='true'] {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 0 0.5rem !important;
	border: none !important;
	background: var(--sb-bg-warm) !important;
}

html[data-sb-viewport-level="1"] body.menu-is-open .header__navigation .sub-menu a,
html[data-sb-viewport-level="2"] body.menu-is-open .header__navigation .sub-menu a {
	font-size: 1.02rem !important;
	padding: 0.8rem 1.25rem 0.8rem 1.65rem !important;
}

@keyframes sb-mobile-drawer-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

html.sb-dark-mode body.menu-is-open .header__navigation {
	background: var(--sb-surface) !important;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
}

html.sb-dark-mode body.menu-is-open .header__navigation::before {
	background: linear-gradient(180deg, var(--sb-blue-soft) 0%, var(--sb-surface) 100%);
	color: var(--sb-green);
}

html.sb-dark-mode body.menu-is-open .header__navigation a {
	color: var(--sb-grey-dark) !important;
	border-bottom-color: var(--sb-border) !important;
}

html.sb-dark-mode body.menu-is-open .header__navigation .menu-item-has-children > a,
html.sb-dark-mode body.menu-is-open .header__navigation .menu-item-has-children > .sub-menu {
	background: var(--sb-bg-warm) !important;
}

html.sb-dark-mode .sb-mobile-nav-backdrop {
	background: rgba(0, 0, 0, 0.62);
}

.site-footer {
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--sb-green), var(--sb-blue), var(--sb-grey-mid)) 1;
	padding-top: 0.85rem !important;
	padding-bottom: 0.65rem !important;
}

.site-footer__inner {
	max-width: var(--sb-content-width);
	padding: 0 var(--sb-content-padding) !important;
	text-align: center;
}

.site-footer .footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.35rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .footer-menu a {
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.95) !important;
	text-decoration: none;
	padding: 0.25rem 0;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-menu a:focus-visible {
	color: var(--sb-green-mid) !important;
	text-decoration: underline;
}

.site-footer .site-info {
	margin: 0.5rem 0 0 !important;
	padding: 0 !important;
	font-size: 0.78rem !important;
	opacity: 0.8;
	line-height: 1.4;
}

.site-footer .site-info .privacy-policy-link {
	display: none !important;
}

.site-footer .footer-menu .menu-item-privacy-policy,
.site-footer .footer-menu .sb-footer-privacy {
	margin-left: 0;
}

.site-footer .footer-menu li.menu-item-impressum + .menu-item-privacy-policy a,
.site-footer .footer-menu li:has(a[href*="/impressum/"]) + .menu-item-privacy-policy a {
	white-space: nowrap;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.92);
}

.site-footer a:hover {
	color: var(--sb-green-mid) !important;
}

/* Hero – volle Seitenbreite */
body.home {
	background: var(--sb-bg);
	overflow-x: clip;
}

body.home #page,
body.home #site-content,
body.home .content-area__wrapper,
body.home .content-area.entry-content {
	max-width: none !important;
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.home #site-content {
	overflow: visible !important;
}

.sb-hero--gallery {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	height: var(--sb-hero-height);
	overflow: hidden;
	background: var(--sb-slate);
}

.sb-hero--gallery::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	z-index: 2;
	height: 5px;
	background: linear-gradient(90deg, var(--sb-green) 0%, var(--sb-blue) 55%, var(--sb-grey) 100%);
}

.sb-hero__slider {
	position: absolute;
	inset: 0;
}

.sb-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.7s ease;
}

.sb-hero__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.sb-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.sb-hero__caption {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 2;
	margin: 0;
	padding: 0.45rem 0.85rem;
	max-width: min(22rem, calc(100% - 2rem));
	font-size: clamp(0.82rem, 1.6vw, 1rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: var(--sb-white);
	background: rgba(21, 90, 150, 0.82);
	border-left: 4px solid var(--sb-green);
	border-radius: 0 8px 8px 0;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(4px);
}

.sb-hero__slide:not(.is-active) .sb-hero__caption {
	opacity: 0;
}

.sb-hero__slide.is-active .sb-hero__caption {
	opacity: 1;
	transition: opacity 0.45s ease 0.15s;
}

.sb-hero__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: rgba(21, 90, 150, 0.72);
	backdrop-filter: blur(6px);
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transform: translateY(-50%);
	transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.sb-hero__nav-icon {
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	border-top: 2.5px solid var(--sb-white);
	border-right: 2.5px solid var(--sb-white);
}

.sb-hero__nav--prev .sb-hero__nav-icon {
	transform: rotate(-135deg);
	margin-left: 0.15rem;
}

.sb-hero__nav--next .sb-hero__nav-icon {
	transform: rotate(45deg);
	margin-right: 0.15rem;
}

.sb-hero__nav:hover,
.sb-hero__nav:focus-visible {
	background: var(--sb-green-dark);
	outline: 2px solid var(--sb-white);
	outline-offset: 2px;
}

.sb-hero__nav--prev { left: 0.75rem; }
.sb-hero__nav--next { right: 0.75rem; }

.sb-hero__dots {
	position: absolute;
	bottom: 0.85rem;
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
	display: flex;
	gap: 0.45rem;
	padding: 0.35rem 0.65rem;
	background: rgba(47, 58, 69, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
}

.sb-hero__dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.sb-hero__dots button.is-active {
	background: var(--sb-green);
	border-color: var(--sb-green);
}

/* Intro */
.sb-intro {
	background: linear-gradient(135deg, var(--sb-white) 0%, var(--sb-blue-soft) 100%);
	text-align: left;
	padding-top: 2rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--sb-border-blue);
}

.sb-intro .sb-container {
	border-left: 5px solid var(--sb-green);
	padding-left: calc(var(--sb-content-padding) + 0.5rem);
}

.sb-intro--has-logo .sb-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(1rem, 3vw, 2rem);
	align-items: center;
}

.sb-intro__content {
	min-width: 0;
}

.sb-intro__logo {
	flex-shrink: 0;
	line-height: 0;
	justify-self: end;
}

.sb-intro__logo-image {
	display: block;
	width: auto;
	height: clamp(8.5rem, 20vw, 12.5rem);
	max-width: min(18rem, 46vw);
	object-fit: contain;
	object-position: center;
}

.sb-intro__kicker {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--sb-green-dark);
}

.sb-intro__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--sb-blue-dark);
}

.sb-intro__lead {
	margin: 0;
	max-width: none;
	color: var(--sb-grey);
	line-height: 1.65;
	font-size: 1.12rem;
}

/* Quicklinks */
.sb-quicklinks {
	background: linear-gradient(180deg, var(--sb-bg-warm) 0%, var(--sb-bg) 100%);
}

.sb-quicklinks .sb-section__title::after {
	background: var(--sb-blue);
}

.sb-quicklinks__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.sb-quicklink {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	min-width: 0;
	padding: 1.15rem 1.1rem;
	background: var(--sb-white);
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius);
	border-top: 4px solid var(--sb-blue);
	text-decoration: none;
	color: inherit;
	box-shadow: var(--sb-shadow);
	transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.sb-quicklink:focus-visible {
	outline: 3px solid var(--sb-blue);
	outline-offset: 3px;
}

.sb-quicklink:nth-child(3n + 1) { border-top-color: var(--sb-blue); }
.sb-quicklink:nth-child(3n + 2) { border-top-color: var(--sb-green); }
.sb-quicklink:nth-child(3n + 3) { border-top-color: var(--sb-grey-mid); }

.sb-quicklink:nth-child(3n + 1):hover {
	border-color: var(--sb-blue-mid);
	box-shadow: var(--sb-shadow-blue);
}

.sb-quicklink:nth-child(3n + 2):hover {
	border-color: var(--sb-green-mid);
	box-shadow: var(--sb-shadow-green);
}

.sb-quicklink:nth-child(3n + 3):hover {
	border-color: var(--sb-grey);
	box-shadow: 0 10px 28px rgba(85, 85, 85, 0.12);
}

.sb-quicklink:hover {
	transform: translateY(-2px);
}

.sb-quicklink__icon {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	background: var(--sb-blue-soft);
	position: relative;
}

.sb-quicklink:nth-child(3n + 2) .sb-quicklink__icon {
	background: var(--sb-green-soft);
}

.sb-quicklink:nth-child(3n + 3) .sb-quicklink__icon {
	background: var(--sb-grey-soft);
}

.sb-quicklink__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1.1rem;
	height: 1.1rem;
	background: var(--sb-blue);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

.sb-quicklink:nth-child(3n + 2) .sb-quicklink__icon::after {
	background: var(--sb-green-dark);
}

.sb-quicklink:nth-child(3n + 3) .sb-quicklink__icon::after {
	background: var(--sb-grey);
}

.sb-quicklink__icon--calendar::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1V3a1 1 0 0 1 1-1zm13 9H4v8a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-8z'/%3E%3C/svg%3E"); }
.sb-quicklink__icon--users::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 2c2.2 0 4 1.2 4 3v1H12v-1c0-1.8 1.8-3 4-3zM4 15c0-1.8 1.8-3 4-3s4 1.2 4 3v1H4v-1z'/%3E%3C/svg%3E"); }
.sb-quicklink__icon--grid::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E"); }
.sb-quicklink__icon--heart::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21s-7-4.5-9.5-9C.5 8.5 2.5 5 6 5c2 0 3.2 1.2 4 2.2C10.8 6.2 12 5 14 5c3.5 0 5.5 3.5 3.5 7-2.5 4.5-9.5 9-9.5 9z'/%3E%3C/svg%3E"); }
.sb-quicklink__icon--news::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm2 4v2h12V8H6zm0 4v2h8v-2H6z'/%3E%3C/svg%3E"); }
.sb-quicklink__icon--mail::after { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 6h16v12H4V6zm2 2v.2l6 3.8 6-3.8V8H6z'/%3E%3C/svg%3E"); }

.sb-quicklink__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	flex: 1;
}

.sb-quicklink__title {
	font-weight: 700;
	color: var(--sb-blue-dark);
	font-size: clamp(1rem, 2.5vw, 1.05rem);
	line-height: 1.3;
	overflow-wrap: break-word;
	hyphens: auto;
}

.sb-quicklink__desc {
	font-size: clamp(0.88rem, 2.2vw, 0.92rem);
	color: var(--sb-grey);
	line-height: 1.45;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* Termine preview */
.sb-termine-preview {
	background: var(--sb-white);
}

.sb-termine-preview .sb-section__title::after {
	background: linear-gradient(90deg, var(--sb-green), var(--sb-green-mid));
}

.sb-termine-preview__box {
	background: linear-gradient(135deg, var(--sb-blue-soft) 0%, var(--sb-white) 100%);
	border: 1px solid var(--sb-border-blue);
	border-radius: var(--sb-radius);
	padding: 1rem 1.25rem;
}

.sb-termine-preview__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.65rem;
}

.sb-termine-preview__item {
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 10px;
	box-shadow: none;
	overflow: hidden;
}

.sb-termine-preview__item:nth-child(even) {
	border-left-color: transparent;
}

.sb-termine-preview__link {
	display: grid;
	grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
	gap: 0.35rem 1.25rem;
	align-items: start;
	padding: 0.85rem 1rem;
	background: var(--sb-white);
	border-radius: 10px;
	border-left: 4px solid var(--sb-blue);
	line-height: 1.45;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 8px rgba(30, 115, 190, 0.06);
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
	overflow-wrap: break-word;
	hyphens: auto;
}

.sb-termine-preview__item:nth-child(even) .sb-termine-preview__link {
	border-left-color: var(--sb-green);
}

.sb-termine-preview__link:hover,
.sb-termine-preview__link:focus-visible {
	transform: translateY(-1px);
	box-shadow: var(--sb-shadow-blue);
	outline: 2px solid var(--sb-blue);
	outline-offset: 2px;
}

.sb-termine-preview__item:nth-child(even) .sb-termine-preview__link:hover,
.sb-termine-preview__item:nth-child(even) .sb-termine-preview__link:focus-visible {
	box-shadow: var(--sb-shadow-green);
	outline-color: var(--sb-green-dark);
}

.sb-termine-preview__date {
	font-weight: 600;
	color: var(--sb-blue-dark);
	overflow-wrap: break-word;
	hyphens: auto;
}

.sb-termine-preview__item:nth-child(even) .sb-termine-preview__date {
	color: var(--sb-green-dark);
}

.sb-termine-preview__title {
	grid-column: 2;
	color: var(--sb-grey-dark);
	font-weight: 600;
	overflow-wrap: break-word;
	hyphens: auto;
}

.sb-termine-preview__tags {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.1rem;
}

.sb-termine-preview__tag {
	display: inline-flex;
	align-items: center;
	padding: 0.18rem 0.6rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.35;
	border: 1px solid var(--sb-border);
	background: var(--sb-grey-soft);
	color: var(--sb-grey-dark);
}

.sb-termine-preview__tag--oeffentlich {
	background: #e8f5e9;
	border-color: #43a047;
	color: #2e7d32;
}

.sb-termine-preview__tag--nicht-oeffentlich {
	background: #f5f5f5;
	border-color: #9e9e9e;
	color: #616161;
}

.sb-termine-preview__tag--ort {
	background: var(--sb-blue-soft);
	border-color: var(--sb-blue-mid);
	color: var(--sb-blue-dark);
}

html.sb-high-contrast .sb-termine-preview__tag {
	border: 2px solid #000 !important;
	background: #fff !important;
	color: #000 !important;
}

html.sb-dark-mode.sb-high-contrast .sb-termine-preview__tag {
	background: #000 !important;
	color: #ff0 !important;
	border-color: #ff0 !important;
}

html.sb-dark-mode .sb-termine-preview__tag--oeffentlich {
	background: #1e3a1e;
	border-color: #6fbf73;
	color: #b8e6ba;
}

html.sb-dark-mode .sb-termine-preview__tag--nicht-oeffentlich {
	background: #2a2a2a;
	border-color: #888;
	color: #ccc;
}

html.sb-dark-mode .sb-termine-preview__tag--ort {
	background: var(--sb-blue-soft);
	border-color: var(--sb-blue-mid);
	color: var(--sb-blue-dark);
}

.sb-termine-preview__empty {
	margin: 0;
	padding: 0.5rem 0;
	color: var(--sb-grey);
}

/* Artikel (Startseite) */
.sb-articles {
	background: linear-gradient(165deg, var(--sb-blue-soft) 0%, var(--sb-white) 42%, var(--sb-bg) 100%);
	border-top: 1px solid var(--sb-border-blue);
}

.sb-articles .sb-section__title::after {
	background: linear-gradient(90deg, var(--sb-blue), var(--sb-blue-mid));
}

.sb-articles__empty {
	margin: 0;
	padding: 1rem 0;
	color: var(--sb-grey);
}

.sb-articles__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.sb-articles__item {
	margin: 0;
}

.sb-article-card {
	display: grid;
	grid-template-columns: minmax(0, 140px) minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	padding: 1rem 1.1rem;
	background: var(--sb-white);
	border: 1px solid var(--sb-border);
	border-left: 4px solid var(--sb-blue);
	border-radius: var(--sb-radius);
	box-shadow: var(--sb-shadow);
	overflow-wrap: break-word;
	hyphens: manual;
}

.sb-articles__item:first-child .sb-article-card {
	border-left-color: var(--sb-green);
}

.sb-article-card__thumb {
	display: block;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}

.sb-article-card__thumb img {
	width: 100%;
	height: 100%;
	min-height: 5rem;
	max-height: 6.5rem;
	object-fit: cover;
	display: block;
}

.sb-article-card__date {
	display: block;
	margin-bottom: 0;
	color: var(--sb-green-dark);
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.sb-article-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
	margin-bottom: 0.35rem;
}

.sb-article-card__meta .sb-archive-badge {
	margin: 0;
}

.sb-article-card__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1rem, 2.5vw, 1.15rem);
	line-height: 1.35;
}

.sb-article-card__title a {
	color: var(--sb-blue-dark);
	text-decoration: none;
	font-weight: 700;
}

.sb-article-card__title a:hover,
.sb-article-card__title a:focus-visible {
	color: var(--sb-green-dark);
	text-decoration: underline;
}

.sb-article-card__excerpt {
	margin: 0;
	color: var(--sb-grey);
	font-size: 0.95rem;
	line-height: 1.45;
}

.sb-article-card:not(:has(.sb-article-card__thumb)) {
	grid-template-columns: minmax(0, 1fr);
}

/* Ziele */
.sb-ziele {
	background: linear-gradient(180deg, var(--sb-bg-warm) 0%, var(--sb-green-soft) 38%, var(--sb-white) 100%);
	border-top: 1px solid var(--sb-border-green);
}

.sb-ziele .sb-section__title::after {
	background: linear-gradient(90deg, var(--sb-green-dark), var(--sb-green));
}

.sb-ziele__lead {
	margin: 0 0 1.25rem;
	font-size: 1.08rem;
	color: var(--sb-grey-dark);
	max-width: none;
}

.sb-ziele__list {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.sb-ziele__list li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.95rem 1.05rem;
	background: rgba(255, 255, 255, 0.88);
	border-radius: var(--sb-radius);
	line-height: 1.5;
	overflow-wrap: break-word;
	hyphens: auto;
}

/* 2-Spalten-Raster: diagonal abwechselnd (Schachbrett) */
.sb-ziele__list li:nth-child(4n + 1),
.sb-ziele__list li:nth-child(4n + 4) {
	border-left: 4px solid var(--sb-green);
	box-shadow: var(--sb-shadow-green);
}

.sb-ziele__list li:nth-child(4n + 2),
.sb-ziele__list li:nth-child(4n + 3) {
	border-left: 4px solid var(--sb-blue);
	box-shadow: var(--sb-shadow-blue);
}

.sb-ziele__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	position: relative;
}

.sb-ziele__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1.35rem;
	height: 1.35rem;
	-webkit-mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

.sb-ziele__list li:nth-child(4n + 1) .sb-ziele__icon,
.sb-ziele__list li:nth-child(4n + 4) .sb-ziele__icon {
	background: var(--sb-green-soft);
}

.sb-ziele__list li:nth-child(4n + 2) .sb-ziele__icon,
.sb-ziele__list li:nth-child(4n + 3) .sb-ziele__icon {
	background: var(--sb-blue-soft);
}

.sb-ziele__list li:nth-child(4n + 1) .sb-ziele__icon::after,
.sb-ziele__list li:nth-child(4n + 4) .sb-ziele__icon::after {
	background: var(--sb-green-dark);
}

.sb-ziele__list li:nth-child(4n + 2) .sb-ziele__icon::after,
.sb-ziele__list li:nth-child(4n + 3) .sb-ziele__icon::after {
	background: var(--sb-blue);
}

.sb-ziele__icon--voice::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}

.sb-ziele__icon--generations::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 2c2.2 0 4 1.2 4 3v1H12v-1c0-1.8 1.8-3 4-3zM4 15c0-1.8 1.8-3 4-3s4 1.2 4 3v1H4v-1z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M16 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM8 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 2c2.2 0 4 1.2 4 3v1H12v-1c0-1.8 1.8-3 4-3zM4 15c0-1.8 1.8-3 4-3s4 1.2 4 3v1H4v-1z'/%3E%3C/svg%3E");
}

.sb-ziele__icon--handshake::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 17H7a5 5 0 0 1 0-10h2v2H7a3 3 0 0 0 0 6h2v2zm4 0h2a5 5 0 0 0 0-10h-2v2h2a3 3 0 0 1 0 6h-2v2zM8 11h8v2H8v-2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 17H7a5 5 0 0 1 0-10h2v2H7a3 3 0 0 0 0 6h2v2zm4 0h2a5 5 0 0 0 0-10h-2v2h2a3 3 0 0 1 0 6h-2v2zM8 11h8v2H8v-2z'/%3E%3C/svg%3E");
}

.sb-ziele__icon--participate::after {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4l4 4 4-4h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 11H6v-2h12v2zm0-4H6V7h12v2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4l4 4 4-4h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-2 11H6v-2h12v2zm0-4H6V7h12v2z'/%3E%3C/svg%3E");
}

.sb-ziele__text {
	flex: 1;
	min-width: 0;
}

.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.65rem 1.5rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s;
}

.sb-btn--primary {
	background: linear-gradient(135deg, var(--sb-green) 0%, var(--sb-green-dark) 100%);
	color: var(--sb-white) !important;
	box-shadow: var(--sb-shadow-green);
}

.sb-btn--primary:hover {
	background: linear-gradient(135deg, var(--sb-green-dark) 0%, var(--sb-slate) 100%);
}

/* Geschichte */
.sb-geschichte {
	background: linear-gradient(180deg, var(--sb-grey-soft) 0%, var(--sb-white) 100%);
}

.sb-geschichte__card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
	align-items: start;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: linear-gradient(145deg, var(--sb-blue-soft) 0%, var(--sb-white) 70%);
	border-radius: var(--sb-radius);
	border: 1px solid var(--sb-border-blue);
	box-shadow: var(--sb-shadow-blue);
}

.sb-geschichte__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 6.5rem;
	min-height: 6.5rem;
	padding: 1rem;
	background: linear-gradient(160deg, var(--sb-blue) 0%, var(--sb-blue-dark) 100%);
	color: var(--sb-white);
	border-radius: 12px;
	text-align: center;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	box-shadow: inset 0 0 0 3px rgba(141, 187, 51, 0.45);
}

.sb-geschichte__title {
	margin: 0 0 0.75rem;
	color: var(--sb-blue-dark);
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.sb-geschichte__content p {
	margin: 0 0 0.85rem;
	line-height: 1.65;
	color: var(--sb-grey-dark);
}

.sb-geschichte__facts {
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

.sb-geschichte__facts li {
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.82);
	border-radius: 8px;
	font-size: 0.98rem;
	border-left: 3px solid var(--sb-green);
}

.sb-geschichte__facts li:nth-child(3n + 1) {
	border-left-color: var(--sb-green);
}

.sb-geschichte__facts li:nth-child(3n + 2) {
	border-left-color: var(--sb-blue);
}

.sb-geschichte__facts li:nth-child(3n + 3) {
	border-left-color: var(--sb-grey-mid);
}

.sb-geschichte__facts li strong {
	color: var(--sb-blue-dark);
}

/* Angebote-Sticker (fixed, unten rechts) */
.sb-info-button {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9000;
	pointer-events: none;
}

.sb-info-button a {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 9.5rem;
	height: 9.5rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--sb-white) 0%, var(--sb-green-soft) 100%);
	border: 3px solid var(--sb-green);
	color: var(--sb-grey-dark);
	box-shadow: var(--sb-shadow-green);
	text-align: center;
	font-size: 1.15rem;
	line-height: 1.15;
	text-decoration: none;
	transform: rotate(-12deg);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sb-info-button a:hover,
.sb-info-button a:focus-visible {
	transform: rotate(-12deg) scale(1.04);
	border-color: var(--sb-blue);
	box-shadow: 0 10px 28px rgba(30, 115, 190, 0.2);
	color: var(--sb-blue-dark);
	outline: none;
}

.sb-info-button a strong {
	font-size: 1.35rem;
	color: var(--sb-blue-dark);
}

@media (max-width: 781px) {
	.sb-info-button {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.sb-info-button a {
		width: 7.5rem;
		height: 7.5rem;
		font-size: 0.95rem;
	}

	.sb-info-button a strong {
		font-size: 1.1rem;
	}
}

@media (max-width: 540px) {
	.sb-info-button a {
		width: 6.5rem;
		height: 6.5rem;
		font-size: 0.85rem;
	}
}

/* A11y */
body:not(.page-ueber-uns):not(.page-id-7) .wp-block-button__link {
	background: var(--sb-green) !important;
	border-radius: 999px !important;
}

a { color: var(--sb-blue); }

.site-footer a:hover { color: var(--sb-green); }

/* Barrierefreiheit */
.sb-a11y {
	position: fixed;
	left: max(1rem, env(safe-area-inset-left));
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 9999;
}

.sb-a11y__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 3.25rem;
	padding: 0.55rem 1rem 0.55rem 0.75rem;
	border: 2px solid var(--sb-green);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--sb-blue-dark) 0%, var(--sb-blue) 100%);
	color: var(--sb-white);
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	box-shadow: var(--sb-shadow-blue);
	transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.sb-a11y__toggle:hover,
.sb-a11y__toggle:focus-visible {
	transform: translateY(-1px);
	border-color: var(--sb-green-mid);
	box-shadow: 0 10px 24px rgba(30, 115, 190, 0.28);
	outline: none;
}

.sb-a11y__toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	font-size: 1rem;
	line-height: 1;
}

.sb-a11y__toggle-label {
	line-height: 1.2;
}

.sb-a11y__panel {
	position: absolute;
	bottom: calc(100% + 0.65rem);
	left: 0;
	min-width: min(18rem, calc(100vw - 2rem));
	overflow: hidden;
	border: 2px solid var(--sb-blue-dark);
	border-radius: 14px;
	box-shadow: 0 14px 36px rgba(21, 90, 150, 0.28);
	background: var(--sb-white);
}

.sb-a11y__panel[hidden] {
	display: none;
}

.sb-a11y__panel-head {
	padding: 0.85rem 1rem;
	background: linear-gradient(135deg, var(--sb-blue-dark) 0%, var(--sb-blue) 100%);
	border-bottom: 3px solid var(--sb-green);
}

.sb-a11y__panel-title {
	margin: 0;
	color: var(--sb-white);
	font-size: 1rem;
	font-weight: 700;
}

.sb-a11y__panel-body {
	padding: 1rem;
	background: linear-gradient(180deg, var(--sb-blue-soft) 0%, var(--sb-white) 100%);
}

.sb-a11y__label {
	margin: 0 0 0.55rem;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--sb-blue-dark);
}

.sb-a11y__group {
	display: flex;
	gap: 0.45rem;
	margin-bottom: 0.85rem;
}

.sb-a11y__hint {
	margin: -0.35rem 0 0.85rem;
	font-size: 0.84rem;
	line-height: 1.35;
	color: var(--sb-grey);
}

.sb-a11y__hint--note {
	margin-top: -0.55rem;
	font-size: 0.78rem;
	color: var(--sb-grey-light);
}

.sb-a11y__font-btn,
.sb-a11y__contrast,
.sb-a11y__dark,
.sb-a11y__reset {
	flex: 1;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border: 2px solid var(--sb-blue);
	border-radius: 10px;
	background: var(--sb-white);
	color: var(--sb-blue-dark);
	cursor: pointer;
	font-weight: 700;
	font-size: 0.95rem;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sb-a11y__font-btn:hover,
.sb-a11y__contrast:hover,
.sb-a11y__dark:hover,
.sb-a11y__reset:hover,
.sb-a11y__font-btn:focus-visible,
.sb-a11y__contrast:focus-visible,
.sb-a11y__dark:focus-visible,
.sb-a11y__reset:focus-visible {
	background: var(--sb-blue-soft);
	border-color: var(--sb-blue-dark);
	outline: none;
}

.sb-a11y__font-btn.is-active {
	background: var(--sb-green);
	border-color: var(--sb-green-dark);
	color: var(--sb-white);
}

.sb-a11y__font-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.sb-a11y__contrast {
	width: 100%;
	background: var(--sb-green-soft);
	border-color: var(--sb-green-dark);
	color: var(--sb-green-dark);
}

.sb-a11y__contrast.is-active {
	background: var(--sb-green);
	border-color: var(--sb-green-dark);
	color: var(--sb-white);
}

.sb-a11y__dark {
	width: 100%;
	margin-top: 0.5rem;
	background: var(--sb-blue-soft);
	border-color: var(--sb-blue-dark);
	color: var(--sb-blue-dark);
}

.sb-a11y__dark.is-active {
	background: var(--sb-blue);
	border-color: var(--sb-blue-dark);
	color: var(--sb-white);
}

.sb-a11y__reset {
	width: 100%;
	margin-top: 0.85rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--sb-border);
	border-radius: 10px;
	background: var(--sb-white);
	border-color: var(--sb-grey-mid);
	color: var(--sb-grey-dark);
	font-weight: 600;
}

.sb-a11y__reset:hover,
.sb-a11y__reset:focus-visible {
	background: var(--sb-grey-soft);
	border-color: var(--sb-grey);
	color: var(--sb-grey-dark);
}

html.sb-high-contrast .sb-a11y__panel {
	border-color: #000;
}

html.sb-high-contrast .sb-a11y__font-btn,
html.sb-high-contrast .sb-a11y__contrast,
html.sb-high-contrast .sb-a11y__dark,
html.sb-high-contrast .sb-a11y__reset {
	border-color: #000;
}

/* Buttons global */
#empfehlen-sie-uns-weiter,
h3#empfehlen-sie-uns-weiter {
	display: none !important;
}

#empfehlen-sie-uns-weiter + .wp-block-social-links,
h3#empfehlen-sie-uns-weiter + .wp-block-social-links {
	display: none !important;
}

@media (max-width: 1024px) {
	.sb-quicklinks__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	:root {
		--sb-hero-height: clamp(180px, 48vw, 280px);
		--sb-content-padding: 1rem;
	}

	body.home {
		padding-bottom: calc(6rem + env(safe-area-inset-bottom));
	}

	.sb-a11y {
		left: max(0.65rem, env(safe-area-inset-left));
		bottom: max(0.65rem, env(safe-area-inset-bottom));
	}

	.sb-info-button {
		right: max(0.65rem, env(safe-area-inset-right));
		bottom: max(0.65rem, env(safe-area-inset-bottom));
	}

	.sb-a11y__toggle-label {
		font-size: 0.88rem;
	}

	.sb-intro--has-logo .sb-intro__inner {
		grid-template-columns: 1fr;
	}

	.sb-intro__logo {
		justify-self: center;
		margin-top: 0.35rem;
	}

	.sb-intro__logo-image {
		height: clamp(6.5rem, 28vw, 9rem);
		max-width: min(18rem, 85vw);
	}

	.sb-hero__nav {
		width: 2.25rem;
		height: 2.25rem;
		border-radius: 8px;
	}

	.sb-hero__nav--prev { left: 0.5rem; }
	.sb-hero__nav--next { right: 0.5rem; }

	.sb-hero__nav-icon {
		width: 0.45rem;
		height: 0.45rem;
		border-width: 2px;
	}

	.sb-hero__dots {
		bottom: 0.5rem;
		padding: 0.3rem 0.5rem;
	}

	.sb-hero__caption {
		left: 0.65rem;
		bottom: 2.35rem;
		padding: 0.35rem 0.65rem;
		font-size: 0.78rem;
		max-width: calc(100% - 1.3rem);
	}

	.sb-intro .sb-container {
		border-left-width: 4px;
		padding-left: calc(var(--sb-content-padding) + 0.35rem);
	}

	.sb-intro__title {
		font-size: 1.35rem;
	}

	.sb-quicklinks__grid,
	.sb-ziele__list {
		grid-template-columns: 1fr;
	}

	/* Mobil: einspaltig, klassisch abwechselnd */
	.sb-ziele__list li:nth-child(odd) {
		border-left: 4px solid var(--sb-green);
		box-shadow: var(--sb-shadow-green);
	}

	.sb-ziele__list li:nth-child(even) {
		border-left: 4px solid var(--sb-blue);
		box-shadow: var(--sb-shadow-blue);
	}

	.sb-ziele__list li:nth-child(odd) .sb-ziele__icon {
		background: var(--sb-green-soft);
	}

	.sb-ziele__list li:nth-child(even) .sb-ziele__icon {
		background: var(--sb-blue-soft);
	}

	.sb-ziele__list li:nth-child(odd) .sb-ziele__icon::after {
		background: var(--sb-green-dark);
	}

	.sb-ziele__list li:nth-child(even) .sb-ziele__icon::after {
		background: var(--sb-blue);
	}

	.sb-quicklink__title,
	.sb-quicklink__desc {
		hyphens: none !important;
	}

	.sb-quicklink {
		padding: 1rem;
	}

	.sb-termine-preview__link {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.sb-termine-preview__title {
		grid-column: 1;
	}

	.sb-article-card {
		grid-template-columns: 1fr;
	}

	.sb-article-card__thumb img {
		max-height: 10rem;
		min-height: auto;
	}

	.sb-article-card__excerpt {
		display: none;
	}

	.sb-geschichte__card {
		grid-template-columns: 1fr;
	}

	.sb-geschichte__badge {
		min-width: auto;
		width: fit-content;
	}
}

@media (max-width: 480px) {
	.sb-a11y__toggle {
		padding: 0.55rem 0.75rem;
	}

	.sb-a11y__toggle-label {
		display: none;
	}

	.sb-a11y__toggle-icon {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 1.05rem;
	}

	.sb-quicklinks__grid {
		gap: 0.75rem;
	}

	.sb-quicklink {
		gap: 0.65rem;
	}

	.sb-quicklink__icon {
		width: 2.15rem;
		height: 2.15rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sb-hero__slide { transition: none; }
}
