/* Search result highlight */
.cms-search-highlight { background: #fef08a; padding: 0 0.1em; border-radius: 2px; }

/* Leere CMS-Abschnitte (Features/Beiträge/Mini-Posts): nur [hidden] reicht nicht — Editorial setzt section { display:block } */
#main > .inner > section.cms-section-empty-hidden,
#sidebar > .inner > section.cms-section-empty-hidden {
	display: none !important;
}

/* Editorial flex + breiter Tabelleninhalt: ohne min-width: 0 schiebt #main die Sidebar aus dem Viewport */
#main {
	min-width: 0;
}
#main > .inner {
	min-width: 0;
}

/* Scroll fixes: prevent flickering & improve scroll-to-bottom on mobile */
html {
	min-height: 100%;
}
#wrapper {
	min-height: 100vh;
	min-height: 100dvh; /* Dynamic viewport - fixes mobile Safari 100vh bug */
}
@supports (min-height: -webkit-fill-available) {
	#wrapper {
		min-height: -webkit-fill-available;
	}
}

/* Button gap – space between text and action buttons */
ul.actions {
	margin-top: 1.25em;
}

/* Vorstand & Trainer team page */
.cms-team-wrap { margin-top: 1.5rem; }
.cms-team-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 2rem;
	padding: 0 0 1.25rem;
	border-bottom: 1px solid #e5e7eb;
}
.cms-team-filters .cms-team-filter {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0.4rem 0.85rem !important;
	height: auto !important;
	line-height: 1.2 !important;
	font-family: "Open Sans", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.015em !important;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	cursor: pointer;
	border: 1px solid #e5e7eb !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	color: #4b5563 !important;
	box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02) !important;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.08s ease;
}
.cms-team-filters .cms-team-filter:hover {
	background: #f9fafb !important;
	color: #f56a6a !important;
	border-color: #fecaca !important;
	box-shadow: 0 1px 2px rgba(245, 106, 106, 0.08) !important;
}
.cms-team-filters .cms-team-filter:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(245, 106, 106, 0.22) !important;
}
.cms-team-filters .cms-team-filter:active {
	transform: translateY(1px);
}
.cms-team-filters .cms-team-filter.active {
	background: #f56a6a !important;
	color: #ffffff !important;
	border-color: #f56a6a !important;
	box-shadow: 0 2px 6px rgba(245, 106, 106, 0.3) !important;
}
.cms-team-filters .cms-team-filter.active:hover {
	background: #f04f4f !important;
	color: #ffffff !important;
	border-color: #f04f4f !important;
}
@media screen and (max-width: 736px) {
	.cms-team-filters {
		gap: 0.35rem;
		padding-bottom: 1rem;
		margin-bottom: 1.5rem;
	}
	.cms-team-filters .cms-team-filter {
		padding: 0.38rem 0.75rem !important;
		font-size: 0.75rem !important;
	}
}
.cms-team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.75rem;
}
.cms-team-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	border: 1px solid #e5e7eb;
	transition: box-shadow 0.25s, transform 0.25s;
	display: flex;
	flex-direction: column;
}
.cms-team-card:hover {
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}
.cms-team-photo {
	aspect-ratio: 1;
	overflow: hidden;
	background: #f3f4f6;
}
.cms-team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cms-team-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; min-height: 160px; }
.cms-team-types {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.35rem;
	margin-bottom: 0.35rem;
	color: #f56a6a;
	font-size: 0.625rem;
}
.cms-team-type {
	display: inline-block;
	font-size: inherit;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f56a6a;
}
.cms-team-body h3 {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	line-height: 1.3;
}
.cms-team-contacts {
	font-size: 0.85rem;
	color: #6b7280;
	margin-bottom: 0.75rem;
	line-height: 1.5;
}
.cms-team-contact {
	color: #6b7280;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.cms-team-contact:hover { color: #f56a6a; }
.cms-team-contact .icon { font-size: 0.8em; }
.cms-team-bio {
	font-size: 0.9rem;
	line-height: 1.55;
	color: #4b5563;
	margin-top: auto;
}
.cms-team-bio-inner p { margin: 0 0 0.5em; }
.cms-team-bio-inner p:last-child { margin-bottom: 0; }
.cms-team-bio-inner.cms-team-bio-truncated {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cms-team-bio-toggle {
	font-size: 0.8rem;
	font-weight: 600;
	color: #f56a6a;
	text-decoration: none;
}
.cms-team-bio-toggle:hover { text-decoration: underline; }
.cms-team-empty {
	color: #6b7280;
	font-size: 0.95rem;
	padding: 2rem;
	text-align: center;
	background: #f9fafb;
	border-radius: 8px;
}

/* Team bio modal (mehr) */
.cms-team-bio-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}
.cms-team-bio-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
}
.cms-team-bio-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 480px;
	width: 100%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0,0,0,0.2);
	overflow: hidden;
}
.cms-team-bio-modal-header {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-shrink: 0;
}
.cms-team-bio-modal-title { margin: 0; font-size: 1.1rem; }
.cms-team-bio-modal-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #6b7280;
	line-height: 1;
	padding: 0 0.25rem;
}
.cms-team-bio-modal-close:hover { color: #374151; }
.cms-team-bio-modal-body {
	padding: 1.25rem;
	overflow-y: auto;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #4b5563;
}
.cms-team-bio-modal-body .rich-text p { margin: 0 0 0.5em; }
.cms-team-bio-modal-body .rich-text p:last-child { margin-bottom: 0; }

/* Sidebar logo (image or text) – target design */
.cms-sidebar-logo {
	text-align: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border: none !important;
	border-bottom: none !important;
}
.cms-sidebar-logo-link {
	display: block;
	text-decoration: none;
	color: inherit;
	border: none !important;
	border-bottom: none !important;
}
.cms-sidebar-logo-img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}
.cms-sidebar-logo-text {
	font-size: 1.1em;
}
#sidebar #search {
	border: none !important;
	border-bottom: none !important;
}
#sidebar #search form {
	position: relative;
}
.cms-search-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 0.35rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	border: 1px solid rgba(210,215,217,0.6);
	overflow: hidden;
	z-index: 1000;
	max-height: 280px;
	overflow-y: auto;
}
.cms-search-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.6rem 0.85rem;
	font-size: 0.9rem;
	color: #374151;
	text-decoration: none;
	border-bottom: none !important;
	transition: background 0.15s;
}
.cms-search-item:hover {
	background: rgba(245,106,106,0.08);
	color: #111;
}
.cms-search-item .icon {
	color: #f56a6a;
	font-size: 0.85em;
	flex-shrink: 0;
}
.cms-search-item .cms-search-title {
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* Menu heading with coral underline */
#menu > header.major h2 {
	border-bottom: 3px solid #f56a6a;
	padding-bottom: 0.5rem;
	margin-bottom: 0.75rem;
}
/* Hamburger toggle in coral to match design */
#sidebar .toggle:before {
	color: #f56a6a;
}
/* Subtle hover zoom — fine pointer only (real desktop / trackpad), not touch-first */
@media (hover: hover) and (pointer: fine) {
	#sidebar .toggle:before {
		transition: transform 0.22s ease, color 0.22s ease;
	}
	#sidebar .toggle:hover:before,
	#sidebar .toggle:focus-visible:before {
		transform: scale(1.07);
	}
}
/* Pure CSS hamburger on mobile – reliable, no font dependency */
@media screen and (max-width: 1280px) {
	#sidebar .toggle:before {
		content: '';
		display: block;
		width: 1.25em;
		height: 2px;
		background: currentColor;
		box-shadow: 0 0.4em 0 currentColor, 0 0.8em 0 currentColor;
		left: 50%;
		top: 50%;
		margin-left: -0.625em;
		margin-top: -0.45em;
	}
	/* Submenu opener: pure CSS down-arrow (replaces broken FA icon) */
	#sidebar #menu ul a.opener:before,
	#sidebar #menu ul span.opener:before {
		content: '' !important;
		font-family: inherit;
		font-size: 0;
		display: block;
		position: absolute;
		right: 0;
		top: 50%;
		margin-top: -3px;
		width: 0;
		height: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 6px solid currentColor;
		transform-origin: 50% 0;
	}
}
/* Center hamburger within gray box (toggle 7.25em, box 1em–6em) */
@media screen and (max-width: 736px) {
	#sidebar .toggle:before {
		left: 0;
		right: 0;
		margin-left: auto;
		margin-right: auto;
		margin-top: -0.45em;
	}
}

/* Active menu item highlight — light red-ish background to indicate current page */
#menu ul li.is-active > a,
#menu ul li.is-active > span {
	background: rgba(245, 106, 106, 0.12) !important;
	color: #f56a6a !important;
	border-radius: 6px;
	padding-left: 0.75em !important;
	padding-right: 0.75em !important;
	font-weight: 600 !important;
}
#menu ul li.is-active > a:hover,
#menu ul li.is-active > span:hover {
	background: rgba(245, 106, 106, 0.2) !important;
	color: #f56a6a !important;
}
#menu ul li.is-active-parent > span.opener {
	color: #f56a6a;
	font-weight: 600;
}
#menu ul li.is-active-parent > span.opener:before {
	color: #f56a6a !important;
}

/* CMS image sizing - match template ratios (pic01-06: 416×256, pic07-09: 288×174, pic10: 736×512) */
/* Banner/hero: already has object-fit in template; ensure cover for all images */
#banner .image.object {
	overflow: hidden;
	min-height: 18em;
}
#banner .image.object img,
.cms-block#banner .image.object img {
	width: 100%;
	height: 100%;
	min-height: 18em;
	display: block;
	object-fit: cover;
	object-position: center;
}
.mini-posts article .image,
.mini-posts article .image img {
	aspect-ratio: 288 / 174;
	object-fit: cover;
	object-position: center;
}
.mini-posts article .image {
	overflow: hidden;
}
.mini-posts article .image img {
	width: 100%;
	height: 100%;
	display: block;
}
.posts article .image,
.posts article .image img {
	aspect-ratio: 416 / 256;
	object-fit: cover;
	object-position: center;
}
.posts article .image {
	overflow: hidden;
}
.posts article .image img {
	width: 100%;
	height: 100%;
	display: block;
}
.image.main,
.image.main img {
	aspect-ratio: 736 / 512;
	object-fit: cover;
	object-position: center;
}
.image.main img {
	width: 100%;
	height: 100%;
	display: block;
}

/* CMS image block – size & align presets (admin-selectable) */
.cms-block-image .image.main { width: 100%; }
.cms-block-image .image.main,
.cms-block-image .image.main img {
	aspect-ratio: auto;
	object-fit: contain;
}
.cms-block-image .image.main img {
	height: auto;
}
.cms-block-image.cms-img-medium .image.main {
	width: 100%;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}
.cms-block-image.cms-img-small .image.main {
	width: 100%;
	max-width: 320px;
	margin-left: auto;
	margin-right: auto;
}
.cms-block-image.cms-align-left { text-align: left; }
.cms-block-image.cms-align-left .image.main { margin-left: 0; margin-right: auto; }
.cms-block-image.cms-align-right { text-align: right; }
.cms-block-image.cms-align-right .image.main { margin-left: auto; margin-right: 0; }
.cms-block-image.cms-align-center .image.main { margin-left: auto; margin-right: auto; }

/* Galerie-Block (Block-Seiten) */
.cms-block-gallery {
	margin: 1.5rem 0 2rem;
	width: 100%;
}
/* Gallery block section title */
.cms-block-gallery > header.major:first-child {
	margin-top: 0;
}
.cms-block-gallery .cms-gallery-grid {
	display: grid;
	gap: 0.75rem;
	width: 100%;
}
.cms-block-gallery--cols-2 .cms-gallery-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cms-block-gallery--cols-3 .cms-gallery-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cms-block-gallery--cols-4 .cms-gallery-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cms-gallery-cell {
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
	aspect-ratio: 4 / 3;
}
.cms-gallery-cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
@media screen and (max-width: 736px) {
	.cms-block-gallery--cols-4 .cms-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (max-width: 480px) {
	.cms-block-gallery--cols-3 .cms-gallery-grid,
	.cms-block-gallery--cols-4 .cms-gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* === MOBILE: center image blocks – remove this block to undo === */
@media screen and (max-width: 736px) {
	.cms-block-image.cms-align-left,
	.cms-block-image.cms-align-right { text-align: center; }
	.cms-block-image.cms-align-left .image.main,
	.cms-block-image.cms-align-right .image.main { margin-left: auto; margin-right: auto; }
}
.cms-blog-entry .cms-blog-image {
	aspect-ratio: 416 / 256;
	overflow: hidden;
}
.cms-blog-entry .cms-blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Rich text content - render HTML from editor (no escape) */
.rich-text, .banner-paragraph, .content-body { line-height: 1.55; }
.rich-text p, .banner-paragraph p, .content-body p { margin: 0 0 0.5em; }
.rich-text p:last-child, .banner-paragraph p:last-child, .content-body p:last-child { margin-bottom: 0; }
/* Quill/CMS: headings inside page body must not use homepage-sized h1 (global theme uses 4em) */
#main .content-body h1 { font-size: 1.75em; line-height: 1.35; margin: 0 0 0.5em; }
#main .content-body h2 { font-size: 1.35em; margin: 1em 0 0.5em; }
#main .content-body h3 { font-size: 1.15em; margin: 0.85em 0 0.4em; }
#main .content-body ul,
#main .content-body ol { margin: 0 0 0.5em !important; padding-left: 1.25em !important; }
#main .content-body li { margin: 0.05em 0 !important; line-height: 1.5; }
/* Quill wraps list lines in <p> — kill double spacing */
#main .content-body li > p { margin: 0 0 0.2em !important; }
#main .content-body li > p:last-child { margin-bottom: 0 !important; }

/*
 * Legal / long-form CMS pages: override theme’s 2em paragraph & list margins (main.css).
 * #main … (not .inner > section) so it always matches page.html / any main layout.
 */
#main .content-body.rich-text {
	line-height: 1.5;
}
#main .content-body.rich-text p {
	margin: 0 0 0.35em !important;
}
#main .content-body.rich-text p:last-child {
	margin-bottom: 0 !important;
}
/* Quill: empty lines are often <p></p> or <p><br></p> — each still had 2em from main.css */
#main .content-body.rich-text p:empty {
	margin: 0 !important;
	min-height: 0;
}
#main .content-body.rich-text p:has(> br:only-child) {
	margin: 0 0 0.12em !important;
}
#main .content-body.rich-text ul,
#main .content-body.rich-text ol {
	margin: 0 0 0.4em !important;
	padding-left: 1.35em !important;
}
#main .content-body.rich-text li {
	margin: 0 !important;
	padding: 0.1em 0;
}
#main .content-body.rich-text li p {
	margin: 0 !important;
}
#main .content-body.rich-text h1 {
	font-size: 1.75em !important;
	margin: 0.65em 0 0.35em !important;
	line-height: 1.35;
}
#main .content-body.rich-text h2 {
	font-size: 1.35em !important;
	margin: 0.65em 0 0.35em !important;
	line-height: 1.35;
}
#main .content-body.rich-text h3 {
	font-size: 1.15em !important;
	margin: 0.65em 0 0.35em !important;
	line-height: 1.35;
}
#main .content-body.rich-text h4 {
	font-size: 1.05em !important;
	margin: 0.65em 0 0.35em !important;
	line-height: 1.35;
}
#main .content-body.rich-text h1:first-child,
#main .content-body.rich-text h2:first-child,
#main .content-body.rich-text h3:first-child {
	margin-top: 0 !important;
}

/* Block text blocks (same Quill HTML as content pages) */
#main .cms-block-text.rich-text p {
	margin: 0 0 0.35em !important;
}
#main .cms-block-text.rich-text p:empty {
	margin: 0 !important;
	min-height: 0;
}
#main .cms-block-text.rich-text p:has(> br:only-child) {
	margin: 0 0 0.12em !important;
}
#main .cms-block-text.rich-text li > p {
	margin: 0 !important;
}
#main .cms-block-text.rich-text ul,
#main .cms-block-text.rich-text ol {
	margin: 0 0 0.4em !important;
}

/* Block-based page layouts */
.cms-block { margin-bottom: 3em; }
.cms-block:last-child { margin-bottom: 0; }

/* Blog list: article-style entry — big heading, meta date, image on the right */
.cms-blog-list .cms-blog-header {
	font-weight: 700;
	color: #374151;
	margin-bottom: 0.75em;
	padding-bottom: 0.5em;
	border-bottom: 3px solid #f56a6a;
}
.cms-blog-list .cms-blog-header:empty,
.cms-blog-list .cms-blog-header--hidden {
	display: none;
}
.cms-blog-entry {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: flex-start;
	padding: 2.5rem 0;
	border-bottom: 1px solid #e5e7eb;
}
.cms-blog-entry:first-child { padding-top: 1.5rem; }
.cms-blog-entry:last-child { border-bottom: none; }
.cms-blog-entry .cms-blog-text {
	flex: 1 1 320px;
	min-width: 0;
}
.cms-blog-entry .cms-blog-text h3 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.75em, 3.4vw, 2.5em);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #1f2937;
}
.cms-blog-entry .cms-blog-date {
	display: inline-block;
	font-size: 0.78em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #9ca3af;
	margin: 0 0 1.25rem;
}
.cms-blog-entry .cms-blog-date-prefix {
	color: #9ca3af;
	margin-right: 0.35em;
}
.cms-blog-entry .cms-blog-content {
	font-size: 1em;
	color: #4b5563;
	line-height: 1.7;
}
.cms-blog-entry .cms-blog-content p {
	margin: 0 0 0.75em;
}
.cms-blog-entry .cms-blog-content p:last-child {
	margin-bottom: 0;
}
.cms-blog-entry .cms-blog-content a {
	color: #f56a6a;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.cms-blog-entry .cms-blog-image {
	flex: 0 0 44%;
	max-width: 520px;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
	aspect-ratio: 16 / 10;
	background: #f3f4f6;
}
.cms-blog-entry .cms-blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 0;
}
@media (max-width: 980px) {
	.cms-blog-entry { gap: 1.75rem; padding: 2rem 0; }
	.cms-blog-entry .cms-blog-image { flex: 0 0 40%; }
}
@media (max-width: 736px) {
	.cms-blog-entry {
		flex-direction: column-reverse;
		gap: 1.25rem;
		padding: 1.75rem 0;
	}
	.cms-blog-entry .cms-blog-text h3 {
		font-size: clamp(1.5em, 6vw, 1.9em);
	}
	.cms-blog-entry .cms-blog-image {
		flex: 1 1 100%;
		max-width: none;
		aspect-ratio: 16 / 9;
	}
}

/* Footer-style contact (left-aligned, red accents) */
.cms-contact-footer {
	text-align: left;
	padding: 2rem 0;
	border-bottom: none !important;
}
.cms-contact-footer-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}
/* Match Kontakt and all buttons to MORE button style */
.cms-contact-footer-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
	height: 3.5em;
	line-height: 1;
	padding: 0 2.25em;
	box-shadow: inset 0 0 0 2px #f56a6a;
	background-color: transparent;
	letter-spacing: 0.075em;
	margin-bottom: 1rem;
}
.cms-contact-footer-btn:hover {
	background-color: rgba(245, 106, 106, 0.05);
}
.cms-contact-footer-btn .icon { font-size: 1em; margin-right: 0.5em; }
.cms-contact-footer-org {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #374151;
	margin: 0 0 1rem;
	line-height: 1.3;
}
.cms-contact-footer-divider {
	width: 100%;
	max-width: 12rem;
	align-self: flex-start;
	height: 4px;
	background: #f56a6a;
	margin-bottom: 1.5rem;
}
.cms-contact-footer-item {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.75em;
	width: 100%;
}
.cms-contact-footer-icon {
	color: #f56a6a;
	flex-shrink: 0;
	margin-top: 0.2em;
}
.cms-contact-footer-text {
	color: #6b7280;
	font-size: 0.95em;
	line-height: 1.5;
}
.cms-contact-footer-sep {
	width: 100%;
	height: 1px;
	background: rgba(210, 215, 217, 0.75);
	margin: 1rem 0;
}
.cms-contact-footer-icon-spacer {
	visibility: hidden;
	pointer-events: none;
}
.cms-contact-footer-links {
	font-size: 0.8em;
}
.cms-contact-footer-links a {
	color: #f56a6a;
	text-decoration: none;
}
.cms-contact-footer-links a:hover {
	color: #e55555;
}
.cms-contact-footer-copyright {
	font-size: 0.8em;
	color: #9ca3af;
}

/* Sidebar admin login – only visible when pointer is over this strip */
.cms-sidebar-admin-wrap {
	margin-top: 0.6rem;
	padding: 0.15rem 0;
	min-height: 1.35em;
}
.cms-sidebar-admin-link {
	opacity: 0;
	transition: opacity 0.15s ease;
	font-size: 0.8em;
	color: #9ca3af;
	text-decoration: none;
}
.cms-sidebar-admin-wrap:hover .cms-sidebar-admin-link,
.cms-sidebar-admin-wrap:focus-within .cms-sidebar-admin-link {
	opacity: 1;
}
#footer .cms-sidebar-admin-link {
	color: #9fa3a6;
}

/* Kontaktformular (page type: contact) */
.cms-contact-form-root {
	margin-top: 1.5rem;
	max-width: 42rem;
}
#main .cms-contact-form .form-row {
	margin-bottom: 1rem;
}
/* Only field captions (label above input); not the GDPR row (theme uses checkbox + label siblings) */
#main .cms-contact-form .form-row:not(.cms-contact-gdpr) > label:first-of-type {
	display: block;
	font-weight: 600;
	font-size: 0.9em;
	color: #3d4449;
	margin-bottom: 0.35rem;
}
#main .cms-contact-form input[type="text"],
#main .cms-contact-form input[type="email"],
#main .cms-contact-form input[type="tel"],
#main .cms-contact-form select,
#main .cms-contact-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid rgba(210, 215, 217, 0.85);
	border-radius: 0.375em;
	font-size: 1em;
	background: #fff;
}
#main .cms-contact-form textarea {
	min-height: 8rem;
	resize: vertical;
}
#main .cms-contact-form .button {
	margin-top: 0.25rem;
}
.cms-contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
/* Match Editorial theme: invisible native checkbox + adjacent label :before draws the box */
#main .cms-contact-form .cms-contact-gdpr {
	overflow: hidden;
}
#main .cms-contact-form .cms-contact-gdpr-label {
	color: #3d4449 !important;
	font-weight: 400 !important;
	line-height: 1.5;
}
#main .cms-contact-form .cms-contact-gdpr-label .cms-contact-gdpr-text a {
	color: #f56a6a;
	text-decoration: underline;
}
.cms-contact-msg {
	margin: 0.75rem 0 0;
	font-size: 0.95em;
}
.cms-contact-msg-ok {
	color: #059669;
}
.cms-contact-msg-error {
	color: #b91c1c;
}

/* Vereinsgelände — OpenStreetMap (Leaflet) */
.cms-vereinsgelaende {
	margin-top: 0;
}
.cms-vereinsgelaende-header h1 {
	margin-bottom: 0.35em;
}
.cms-vereinsgelaende-intro {
	color: #6b7280;
	font-size: 1.05em;
	line-height: 1.65;
	max-width: 52rem;
	margin-bottom: 1.75rem;
}
.cms-vereinsgelaende-map-shell {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow:
		0 4px 6px -1px rgba(15, 23, 42, 0.08),
		0 12px 24px -8px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 40%, #f8fafc 100%);
	padding: 3px;
	margin-bottom: 2.5rem;
}

/* OpenStreetMap — Einwilligung vor dem Laden (externe Verbindungen / IP) */
/* Über dem ::before-Inlay der Map-Shell (z-index 2), sonst blockiert die Ebene Klicks auf Checkbox/Button */
/* display:flex würde [hidden] sonst überschreiben — Hinweis wird per JS aus dem DOM entfernt, falls doch hidden: */
.cms-vg-map-consent[hidden] {
	display: none !important;
}
.cms-vg-map-consent {
	position: relative;
	z-index: 3;
	padding: 1.25rem 1.35rem 1.4rem;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.88);
	color: #374151;
	font-size: 0.95rem;
	line-height: 1.55;
	min-height: min(52vh, 440px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cms-vg-map-consent-heading {
	font-size: 1.1rem;
	margin: 0 0 0.75rem;
	color: #1f2937;
	font-weight: 600;
}
.cms-vg-map-consent-text {
	margin-bottom: 1.1rem;
}
.cms-vg-map-consent-text p {
	margin: 0 0 0.65em;
}
.cms-vg-map-consent-text p:last-child {
	margin-bottom: 0;
}
.cms-vg-map-consent-text a {
	color: #047857;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.cms-vg-map-consent-text a:hover {
	color: #065f46;
}
.cms-vg-map-consent-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: stretch;
	max-width: 48rem;
}
.cms-vg-map-consent-hint {
	margin: 0 0 0.25rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #374151;
}
.cms-vg-map-consent-hint strong {
	color: #111827;
	font-weight: 600;
}
.cms-vg-map-consent-hint-btnref {
	font-weight: 600;
	color: #047857;
	white-space: nowrap;
}
/* Ganzer Bereich = Klickfläche (nicht nur der Text daneben) */
.cms-vg-map-consent-label {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
	cursor: pointer;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #1f2937;
	padding: 1rem 1.15rem;
	border: 2px solid #d1d5db;
	border-radius: 10px;
	background: #f9fafb;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.cms-vg-map-consent-label:hover {
	border-color: #047857;
	background: #ecfdf5;
	box-shadow: 0 1px 3px rgba(4, 120, 87, 0.12);
}
.cms-vg-map-consent-label:focus-within {
	border-color: #047857;
	box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.25);
	outline: none;
}
.cms-vg-map-consent-label-text {
	flex: 1;
	min-width: 0;
}
.cms-vg-map-consent-label input {
	margin-top: 0.12rem;
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	min-width: 1.35rem;
	min-height: 1.35rem;
	accent-color: #047857;
	cursor: pointer;
}
.cms-vg-map-consent-actions .cms-vg-map-load-btn {
	align-self: flex-start;
}
.cms-vg-map-load-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.cms-vereinsgelaende-map--pending[hidden] {
	display: none !important;
}
.cms-vereinsgelaende-map-shell::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 10px;
	pointer-events: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
	z-index: 2;
}
.cms-vereinsgelaende-map {
	height: min(52vh, 440px);
	min-height: 280px;
	width: 100%;
	border-radius: 9px;
	z-index: 1;
}
.cms-vereinsgelaende-map .leaflet-control-attribution {
	font-size: 11px;
	background: rgba(255, 255, 255, 0.92);
}
.cms-vereinsgelaende-address {
	margin-top: 0.5rem;
	padding-left: 1.25rem;
	border-left: 4px solid #e5e7eb;
}
.cms-vereinsgelaende-address-title {
	font-size: 1.15em;
	margin: 0 0 0.65rem;
	color: #3d4449;
}
.cms-vereinsgelaende-address-inner {
	color: #c2416c;
	font-style: italic;
	font-size: 1.05em;
	line-height: 1.6;
}
.cms-vereinsgelaende-address-inner p {
	margin: 0 0 0.35em;
}
@media (max-width: 736px) {
	.cms-vereinsgelaende-map {
		height: 52vw;
		min-height: 240px;
	}
}
