.msv-vereinsfinder *,
.msv-vereinsfinder *::before,
.msv-vereinsfinder *::after {
	box-sizing: border-box;
}

.msv-vereinsfinder {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	font-family: inherit;
}

.msv-search-form {
	margin-bottom: 1.5em;
}

.msv-search-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5em;
	font-size: 1rem;
	color: #1a1a1a;
}

.msv-input-group {
	display: flex;
	gap: 0;
	flex-wrap: nowrap;
	width: 100%;
}

.msv-location-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.4em 0.75em;
	font-size: 1rem;
	line-height: 1.4;
	border: 2px solid #767676;
	border-right: none;
	border-radius: 0;
	background: #fff;
	color: #1a1a1a;
	transition: border-color 0.15s ease;
	min-height: 44px;
}

.msv-location-input:focus {
	outline: none;
	border-color: #10428c;
	box-shadow: 0 0 0 3px rgba(16, 66, 140, 0.2);
}

.msv-search-btn {
	flex: 0 0 auto;
	padding: 0 1.2em;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	min-height: 44px;
	background: #10428c;
	color: #fff;
	border: 2px solid #10428c;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.15s ease;
	white-space: nowrap;
}

.msv-search-btn:hover { background: #0c3270; border-color: #0c3270; }

.msv-search-btn:focus {
	outline: 3px solid #0c3270;
	outline-offset: 2px;
}

.msv-search-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.msv-search-error {
	margin-top: 0.5em;
	padding: 0.5em 0.85em;
	background: #fce8e8;
	border-left: 4px solid #cc1818;
	color: #cc1818;
	border-radius: 0;
	font-size: 0.95rem;
}

.msv-results-status {
	margin-bottom: 0.75em;
	font-style: italic;
	color: #1a1a1a;
	min-height: 1.4em;
}

.msv-results-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 0.75em;
	width: 100%;
}

.msv-results-list li {
	list-style: none !important;
	list-style-type: none !important;
	margin-left: 0 !important;
}

.msv-club-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch;
	gap: 1em;
	border: 1px solid #ddd;
	border-radius: 0;
	padding: 0.9em 1em !important;
	background: #fff;
	width: 100%;
	min-width: 0;
	transition: box-shadow 0.15s ease;
}

.msv-club-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.msv-club-left {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}

.msv-club-name {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a1a1a;
	word-break: break-word;
}

.msv-club-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em 1em;
	font-size: 1.1rem;
	color: #1a1a1a;
}

.msv-club-city { color: #1a1a1a; }
.msv-club-ksv  { color: #1a1a1a; }

.msv-club-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em 1em;
}

.msv-club-email,
.msv-club-phone,
.msv-club-web {
	color: #10428c;
	text-decoration: none;
	font-size: 1.1rem;
	word-break: break-all;
}

.msv-club-email:hover,
.msv-club-phone:hover,
.msv-club-web:hover {
	text-decoration: underline;
	color: #0c3270;
}

.msv-club-email:focus,
.msv-club-phone:focus,
.msv-club-web:focus {
	outline: 3px solid #10428c;
	outline-offset: 2px;
}

.msv-club-right {
	flex: 0 0 auto;
	min-width: 160px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.5em;
}

.msv-distance {
	font-size: 0.875rem;
	background: #e8f4f8;
	color: #10428c;
	padding: 2px 8px;
	border-radius: 0;
	font-weight: 600;
	white-space: nowrap;
}

.msv-maps-btn {
	display: inline-block;
	padding: 0.5em 0.9em;
	border-radius: 0;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	background: #10428c;
	color: #fff;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.msv-maps-btn:hover {
	background: #0c3270;
	color: #fff;
}

.msv-maps-btn:focus {
	outline: 3px solid #10428c;
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media ( max-width: 600px ) {
	.msv-input-group {
		flex-wrap: wrap;
	}
	.msv-location-input {
		flex: 1 1 100%;
		border-right: 2px solid #767676;
		border-bottom: none;
	}
	.msv-location-input:focus {
		border-color: #10428c;
	}
	.msv-search-btn {
		flex: 1 1 100%;
		padding: 0.5em 1em;
	}
	.msv-club-item {
		flex-direction: column !important;
		gap: 0.6em;
	}
	.msv-club-right {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	.msv-maps-btn {
		font-size: 0.95rem;
	}
	.msv-club-meta,
	.msv-club-email,
	.msv-club-phone,
	.msv-club-web {
		font-size: 1rem;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.msv-location-input,
	.msv-search-btn,
	.msv-club-item,
	.msv-maps-btn { transition: none; }
}

.msv-vereinsliste {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.msv-vereinsliste *,
.msv-vereinsliste *::before,
.msv-vereinsliste *::after {
	box-sizing: border-box;
}

.msv-liste-count {
	color: #1a1a1a;
	font-style: italic;
	margin-bottom: 0.75em;
}

.msv-liste-ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 1.25em;
}

.msv-liste-ul li {
	list-style: none !important;
	margin-left: 0 !important;
}

.msv-vereinsliste .msv-liste-item {
	display: block !important;
	padding: 1.75em 2em !important;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fff;
	width: 100%;
	min-width: 0;
}

.msv-liste-item--nonmember {
	opacity: 0.65;
}

.msv-vereinsliste .msv-liste-name {
	margin: 0 0 0.6em;
	padding: 0;
	border: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #1a1a1a;
	word-break: break-word;
}

.msv-vereinsliste .msv-liste-adresse {
	margin: 0 0 1.25em;
	font-size: 1rem;
	line-height: 1.55;
	color: #1a1a1a;
}

.msv-vereinsliste .msv-liste-kontakt {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: #1a1a1a;
}

.msv-liste-kontaktzeile {
	display: block;
}

.msv-liste-kontaktzeile + .msv-liste-kontaktzeile {
	margin-top: 0.2em;
}

.msv-liste-kontaktlabel {
	display: inline-block;
	min-width: 5.5em;
	color: #555;
}

.msv-vereinsliste .msv-liste-kontakt a {
	display: inline-block;
	padding: 0.2em 0;
	color: #10428c;
	text-decoration: none;
	word-break: break-word;
}

.msv-vereinsliste .msv-liste-kontakt a:hover {
	text-decoration: underline;
}

.msv-vereinsliste .msv-liste-kontakt a:focus-visible {
	outline: 3px solid #10428c;
	outline-offset: 2px;
}

.msv-ksv-group { margin-bottom: 1.75em; }

.msv-ksv-heading {
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 0 !important;
	padding-bottom: 0.4em;
	margin-bottom: 0.3em;
}

@media ( max-width: 768px ) {
	.msv-vereinsliste .msv-liste-item {
		padding: 1.35em 1.35em !important;
	}
}

@media ( max-width: 480px ) {
	.msv-liste-ul {
		gap: 1em;
	}
	.msv-vereinsliste .msv-liste-item {
		padding: 1.15em 1.15em !important;
	}
	.msv-vereinsliste .msv-liste-name {
		font-size: 1.15rem;
	}
	.msv-liste-kontaktlabel {
		display: block;
		min-width: 0;
	}
	.msv-liste-kontaktzeile + .msv-liste-kontaktzeile {
		margin-top: 0.7em;
	}
}

.msv-vereinskarte-wrap {
	width: 100%;
}

#msv-karte {
	width: 100%;
	height: 520px;
	border: 1px solid #ddd;
	background: #f0f0f0;
}

.msv-karte-status {
	padding: 1em;
	color: #1a1a1a;
	font-style: italic;
}

.leaflet-popup-content strong {
	font-size: 1rem;
	color: #1a1a1a;
	display: block;
	margin-bottom: 0.2em;
}

.leaflet-popup-content a {
	color: #10428c;
	text-decoration: none;
	font-size: 0.9rem;
}

.leaflet-popup-content a:hover {
	text-decoration: underline;
}

.msv-popup-maps {
	display: inline-block;
	margin-top: 0.4em;
	background: #10428c;
	color: #fff !important;
	padding: 3px 10px;
	font-size: 0.85rem !important;
	font-weight: 600;
}

.msv-popup-maps:hover {
	background: #0c3270;
	text-decoration: none !important;
}

@media ( max-width: 600px ) {
	#msv-karte {
		height: 360px;
	}
}

.msv-show-all-btn {
	display: block;
	width: 100%;
	margin-top: 0.75em;
	padding: 0.6em 1em;
	border: none;
	border-radius: 0;
	font-size: 1.1rem;
	font-weight: 600;
	font-family: inherit;
	background: #10428c;
	color: #fff;
	cursor: pointer;
	transition: background 0.15s ease;
	text-align: center;
}

.msv-show-all-btn:hover {
	background: #0c3270;
}

.msv-show-all-btn:focus {
	outline: 3px solid #10428c;
	outline-offset: 2px;
}

@media ( prefers-reduced-motion: reduce ) {
	.msv-show-all-btn { transition: none; }
}

@media (pointer: coarse) {
	.msv-vereinsfinder .msv-location-input[type] {
		font-size: 16px;
	}
}
