/* Klickbare Karten – Frontend Styles */

.kk-wrapper {
	position: relative;
	margin-block: 1.5rem;
}

.kk-desktop-map {
	display: block;
}

.kk-map-container {
	position: relative;
	display: inline-block;
	max-width: 100%;
	line-height: 0;
}

.kk-map-image {
	display: block;
	max-width: 100%;
	height: auto;
}

.kk-marker-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
}

.kk-marker {
	transition: r .15s ease, fill .15s ease;
}

.kk-marker.kk-hover {
	r: 13;
	fill: rgba(255, 140, 0, .9);
}

/* Modal */
.kk-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .55);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.kk-modal-overlay.kk-open {
	display: flex;
	animation: kkFadeIn .2s ease;
}

@keyframes kkFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.kk-modal-box {
	background: #fff;
	border-radius: 8px;
	padding: 2rem 2.25rem;
	max-width: 640px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 12px 48px rgba(0, 0, 0, .28);
	animation: kkSlideUp .22s cubic-bezier(.16, 1, .3, 1);
}

@keyframes kkSlideUp {
	from { transform: translateY(24px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.kk-modal-close {
	position: absolute;
	top: .75rem;
	right: 1rem;
	font-size: 1.6rem;
	line-height: 1;
	background: none;
	border: none;
	cursor: pointer;
	color: #666;
	padding: 0;
	transition: color .15s;
}

.kk-modal-close:hover { color: #111; }

.kk-modal-headline {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.25;
	padding-right: 2rem;
}

.kk-modal-body {
	font-size: 1rem;
	line-height: 1.65;
	color: #333;
}

.kk-modal-body p { margin-bottom: .75rem; }
.kk-modal-body img { max-width: 100%; height: auto; border-radius: 4px; }

/* Mobile */
.kk-mobile-only {
	display: none;
}

@media (max-width: 767px) {
	.kk-desktop-map { display: none; }
	.kk-mobile-only { display: block; }
}

.kk-mobile-image {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
/*
.kk-mobile-toggle-btn {
	display: block;
	margin-top: 1rem;
	padding: .65rem 1.25rem;
	background: #a42522;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 1rem;
	cursor: pointer;
	transition: background .18s;
}

.kk-mobile-toggle-btn:hover { background: #bc5150; }
*/
.kk-mobile-list {
	display: none;
	margin-top: 1rem;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
}

.kk-mobile-list.kk-open { display: block; }

.kk-mobile-item {
	border-bottom: 1px solid #eee;
}

.kk-mobile-item:last-child { border-bottom: none; }

.kk-mobile-item-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: .85rem 1rem;
	background: #f9f8f5;
	border: none;
	cursor: pointer;
	font-size: .95rem;
	font-weight: 600;
	text-align: left;
	transition: background .15s;
}

.kk-mobile-item-toggle:hover { background: #f0ede8; }

.kk-mobile-item-toggle .kk-chevron {
	flex-shrink: 0;
	margin-left: .5rem;
	transition: transform .2s;
}

.kk-mobile-item-toggle.kk-item-open .kk-chevron {
	transform: rotate(180deg);
}

.kk-mobile-item-content {
	display: none;
	padding: .85rem 1rem 1rem;
	font-size: .9rem;
	line-height: 1.6;
	color: #333;
	background: #fff;
}

.kk-mobile-item-content.kk-open { display: block; }
.kk-mobile-item-content p { margin-bottom: .5rem; }

.kk-error {
	color: #a12c7b;
	font-style: italic;
}
