/* DIGANETZ Systemhäuser. Buttons/Inputs mit !important gegen globale Theme-Stile abgesichert. */
.dgzsh {
	--s-navy: #072042;
	--s-blue: #0b5fd7;
	--s-light: #e6f1fb;
	--s-muted: #5b616b;
	--s-border: #e1e6ee;
	--s-amber: #f5a524;
	--dgzsh-h: 640px;
	display: grid;
	grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
	height: var(--dgzsh-h);
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--s-border);
	box-shadow: 0 1px 2px rgba(7, 32, 66, 0.04), 0 20px 50px rgba(7, 32, 66, 0.08);
	font-family: Arial, Helvetica, sans-serif;
	color: var(--s-navy);
	text-align: left;
	box-sizing: border-box;
}
.dgzsh *,
.dgzsh *::before,
.dgzsh *::after {
	box-sizing: border-box;
}
.dgzsh p {
	margin: 0;
}
.dgzsh .dgzsh-ic {
	display: inline-flex;
	flex: 0 0 auto;
	line-height: 0;
}

/* ---------- Linke Spalte ---------- */
.dgzsh-side {
	display: flex;
	flex-direction: column;
	min-height: 0;
	border-right: 1px solid var(--s-border);
	background: #fbfcfe;
}
.dgzsh-head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 20px 12px;
	background: #fff;
	border-bottom: 1px solid var(--s-border);
}
.dgzsh-search {
	position: relative;
	display: block;
	margin: 0;
}
.dgzsh-search .dgzsh-ic {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--s-muted);
	pointer-events: none;
}
.dgzsh .dgzsh-search input[type="search"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block !important;
	width: 100% !important;
	height: 46px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 14px 0 42px !important;
	border: 1.5px solid var(--s-border) !important;
	border-radius: 12px !important;
	background: #f5f7fa !important;
	color: var(--s-navy) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.15s, background-color 0.15s;
}
.dgzsh .dgzsh-search input[type="search"]::placeholder {
	color: #8a919c !important;
	opacity: 1;
}
.dgzsh .dgzsh-search input[type="search"]:focus {
	border-color: var(--s-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(11, 95, 215, 0.12) !important;
}
.dgzsh-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 28px;
}
.dgzsh-count {
	font-size: 13px;
	font-weight: 700;
	color: var(--s-muted);
}
.dgzsh .dgzsh-reset {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 4px 12px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--s-light) !important;
	color: var(--s-blue) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
	white-space: nowrap;
}
.dgzsh .dgzsh-reset[hidden] {
	display: none !important;
}
.dgzsh .dgzsh-reset:hover,
.dgzsh .dgzsh-reset:focus {
	background: #d4e6fa !important;
	color: var(--s-navy) !important;
}

.dgzsh-list {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 12px 16px;
	scrollbar-width: thin;
	scrollbar-color: #c9d2df transparent;
}
.dgzsh-letter {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0 -12px !important;
	padding: 12px 22px 6px;
	background: linear-gradient(#fbfcfe 75%, rgba(251, 252, 254, 0));
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--s-blue);
}
.dgzsh-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.dgzsh-item {
	border: 1px solid transparent;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(7, 32, 66, 0.05);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.dgzsh-item:hover {
	border-color: #cfdcf0;
}
.dgzsh-item.is-open {
	border-color: var(--s-blue);
	box-shadow: 0 6px 20px rgba(11, 95, 215, 0.12);
}
.dgzsh .dgzsh-item-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: transparent !important;
	color: var(--s-navy) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	white-space: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}
.dgzsh .dgzsh-item-btn:hover,
.dgzsh .dgzsh-item-btn:focus {
	background: transparent !important;
	color: var(--s-navy) !important;
}
.dgzsh .dgzsh-item-btn:focus-visible {
	outline: 3px solid rgba(11, 95, 215, 0.45) !important;
	outline-offset: -3px !important;
}
.dgzsh-item-btn > .dgzsh-ic:last-child {
	color: #9aa3af;
	transition: transform 0.2s;
}
.dgzsh-item.is-open .dgzsh-item-btn > .dgzsh-ic:last-child {
	transform: rotate(180deg);
	color: var(--s-blue);
}
.dgzsh-logo {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--s-light);
	color: var(--s-navy);
	font-size: 15px;
	font-weight: 700;
	overflow: hidden;
}
.dgzsh-logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 4px;
	background: #fff;
}
.dgzsh-item.is-featured .dgzsh-logo:not(:has(img)) {
	background: var(--s-navy);
	color: #fff;
}
.dgzsh-item-main {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.dgzsh-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--s-navy);
	overflow-wrap: anywhere;
}
.dgzsh-place {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	color: var(--s-muted);
}
.dgzsh-premium {
	align-self: flex-start;
	margin-top: 2px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff4e0;
	color: #8a5300;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.dgzsh-details {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0 14px 14px 70px;
}
.dgzsh-details[hidden] {
	display: none;
}
.dgzsh-desc {
	font-size: 14px;
	line-height: 1.5;
	color: #343a44;
}
.dgzsh-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.dgzsh-tag {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--s-light);
	color: var(--s-navy);
	font-size: 12px;
	font-weight: 600;
}
.dgzsh-contact {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.dgzsh .dgzsh-row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #343a44;
	text-decoration: none;
	overflow-wrap: anywhere;
}
.dgzsh .dgzsh-row .dgzsh-ic {
	margin-top: 1px;
	color: var(--s-blue);
}
.dgzsh a.dgzsh-row:hover {
	color: var(--s-blue);
	text-decoration: underline;
}
.dgzsh-nogeo {
	font-size: 12.5px;
	color: var(--s-muted);
}
.dgzsh-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px 10px;
	font-size: 14px;
	color: var(--s-muted);
}

/* ---------- Karte ---------- */
.dgzsh-mapwrap {
	position: relative;
	min-height: 0;
	background: #eef2f6;
}
.dgzsh-map {
	position: absolute;
	inset: 0;
	z-index: 0;
	font-family: inherit;
}
.dgzsh-consent {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background-color: #e9eef5;
	background-image:
		linear-gradient(rgba(7, 32, 66, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(7, 32, 66, 0.06) 1px, transparent 1px);
	background-size: 40px 40px;
}
.dgzsh-consent-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 380px;
	padding: 28px 26px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(7, 32, 66, 0.14);
	text-align: center;
}
.dgzsh-consent-card > .dgzsh-ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--s-light);
	color: var(--s-blue);
}
.dgzsh-consent-title {
	font-size: 18px;
	font-weight: 700;
}
.dgzsh-consent-text {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--s-muted);
}
.dgzsh-consent-text a {
	color: var(--s-blue);
}
.dgzsh .dgzsh-btn {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 46px !important;
	margin: 6px 0 0 !important;
	padding: 12px 26px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--s-navy) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer;
}
.dgzsh .dgzsh-btn:hover,
.dgzsh .dgzsh-btn:focus {
	background: var(--s-blue) !important;
	color: #fff !important;
}
.dgzsh-consent.is-loading .dgzsh-btn {
	opacity: 0.6;
	pointer-events: none;
}
.dgzsh-remember {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: 13px;
	color: var(--s-muted);
	cursor: pointer;
}
.dgzsh .dgzsh-remember input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	accent-color: var(--s-navy);
}

/* Marker */
.dgzsh-pin {
	background: none;
	border: 0;
}
.dgzsh-pin span {
	position: absolute;
	left: 3px;
	top: 0;
	width: 24px;
	height: 24px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--pin, #0b5fd7);
	box-shadow: 0 3px 8px rgba(7, 32, 66, 0.35);
	transform: rotate(-45deg) translate(-2px, 6px);
	transition: transform 0.15s, background-color 0.15s;
}
.dgzsh-pin span::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 50%;
	background: #fff;
}
.dgzsh-pin.is-featured {
	--pin: #f5a524;
}
.dgzsh-pin.is-active {
	z-index: 1000 !important;
	--pin: #072042;
}
.dgzsh-pin.is-active span {
	transform: rotate(-45deg) translate(-2px, 6px) scale(1.2);
}

/* Cluster */
.dgzsh-cluster {
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(7, 32, 66, 0.18);
	cursor: pointer;
	transition: transform 0.15s;
}
.dgzsh-cluster span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--s-navy, #072042);
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 3px 10px rgba(7, 32, 66, 0.3);
}
.dgzsh-cluster:hover {
	transform: scale(1.08);
}

/* Popup */
.dgzsh .leaflet-popup-content-wrapper {
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(7, 32, 66, 0.2);
}
.dgzsh .leaflet-popup-content {
	margin: 14px 16px;
	font-family: Arial, Helvetica, sans-serif;
}
.dgzsh-pop {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dgzsh-pop-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--s-navy);
}
.dgzsh-pop-addr {
	font-size: 13px;
	line-height: 1.45;
	color: var(--s-muted);
}
.dgzsh-pop-links {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}
.dgzsh .dgzsh-pop-links a {
	color: var(--s-blue);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.dgzsh .dgzsh-pop-links a:hover {
	text-decoration: underline;
}
.dgzsh .leaflet-control-attribution {
	font-size: 10.5px;
}
.dgzsh .leaflet-bar a {
	color: var(--s-navy);
}

/* ---------- Tablet & Handy ---------- */
@media (max-width: 900px) {
	.dgzsh {
		grid-template-columns: 1fr;
		height: auto;
		border-radius: 18px;
	}
	.dgzsh-mapwrap {
		order: -1;
		height: 380px;
	}
	.dgzsh-side {
		border-right: 0;
		border-top: 1px solid var(--s-border);
	}
	.dgzsh-head {
		position: static;
		padding: 16px 16px 10px;
	}
	.dgzsh-list {
		overflow: visible;
		padding: 0 10px 14px;
	}
	.dgzsh-letter {
		position: static;
		background: none;
	}
	.dgzsh-details {
		padding-left: 14px;
	}
}
@media (max-width: 480px) {
	.dgzsh-mapwrap {
		height: 320px;
	}
	.dgzsh-consent-card {
		padding: 20px 18px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.dgzsh-item,
	.dgzsh-pin span,
	.dgzsh-cluster {
		transition: none;
	}
}
