:root {
	--zde-photo-radius: 1.25rem;
	--zde-photo-surface: #ece8df;
	--zde-photo-ink: #28332f;
	--zde-photo-overlay: rgba(25, 38, 33, 0.72);
	--zde-compass-surface: #1d3a31;
	--zde-compass-card: #1d3a31;
	--zde-compass-border: rgba(239, 231, 217, 0.3);
	--zde-compass-ink: #fbf8f2;
	--zde-compass-muted: #d2ddd8;
	--zde-compass-accent: #ddb87f;
	--zde-compass-focus: #ffd38f;
}

.zde-compass {
	position: relative;
	width: min(100%, 80rem);
	box-sizing: border-box;
	margin-inline: auto;
	padding: clamp(2.25rem, 5vw, 5rem);
	overflow: hidden;
	color: var(--zde-compass-ink);
	background:
		radial-gradient(circle at 50% 58%, rgba(221, 184, 127, 0.1), transparent 31%),
		var(--zde-compass-surface);
	border: 1px solid rgba(239, 231, 217, 0.12);
	border-radius: clamp(1.5rem, 3vw, 3rem);
	isolation: isolate;
}

.zde-compass__intro {
	max-width: 50rem;
	margin: 0 auto clamp(2.25rem, 5vw, 4.5rem);
	text-align: center;
}

.zde-compass__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--zde-compass-accent);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.zde-compass h2 {
	margin: 0 0 0.75rem;
	color: var(--zde-compass-ink) !important;
	font-size: clamp(2.2rem, 4.8vw, 4.25rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.035em;
}

.zde-compass__intro > :last-child,
.zde-compass__privacy {
	line-height: 1.65;
}

.zde-compass__intro > :last-child {
	max-width: 42rem;
	margin: 0 auto;
	color: var(--zde-compass-muted);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.zde-compass__rose {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-areas:
		". north ."
		"west dial east"
		". south .";
	grid-template-columns: minmax(14rem, 1fr) minmax(17rem, 20rem) minmax(14rem, 1fr);
	grid-template-rows: auto minmax(17rem, 20rem) auto;
	gap: clamp(0.5rem, 1.5vw, 1.25rem) clamp(1rem, 2vw, 2rem);
	align-items: center;
	max-width: 72rem;
	margin-inline: auto;
}

.zde-compass__rose::before {
	position: absolute;
	inset: 11% 9%;
	z-index: -1;
	content: "";
	background:
		linear-gradient(var(--zde-compass-border), var(--zde-compass-border)) 50% 0 / 1px 100% no-repeat,
		linear-gradient(90deg, var(--zde-compass-border), var(--zde-compass-border)) 0 50% / 100% 1px no-repeat;
	opacity: 0.48;
	pointer-events: none;
}

.zde-compass__route {
	position: relative;
	z-index: 3;
	display: flex;
	gap: 1.1rem;
	align-items: center;
	min-width: 0;
	padding: 0.6rem;
	color: var(--zde-compass-ink);
	text-decoration: none;
	background: transparent;
	border: 0;
	border-radius: 0;
}

.zde-compass__route--north {
	grid-area: north;
	flex-direction: column-reverse;
	justify-self: center;
	width: min(100%, 24rem);
	text-align: center;
}

.zde-compass__route--east {
	grid-area: east;
	justify-self: start;
}

.zde-compass__route--south {
	grid-area: south;
	flex-direction: column;
	justify-self: center;
	width: min(100%, 24rem);
	text-align: center;
}

.zde-compass__route--west {
	grid-area: west;
	justify-self: end;
	text-align: right;
}

.zde-compass__route--north .zde-compass__direction {
	margin-bottom: -1.85rem;
}

.zde-compass__route--east .zde-compass__direction {
	margin-left: -1.85rem;
}

.zde-compass__route--south .zde-compass__direction {
	margin-top: -1.85rem;
}

.zde-compass__route--west .zde-compass__direction {
	order: 2;
	margin-right: -1.85rem;
}

.zde-compass__route:hover {
	color: var(--zde-compass-ink);
	text-decoration: none;
}

.zde-compass__route:hover .zde-compass__direction {
	color: var(--zde-compass-surface);
	background: var(--zde-compass-accent);
	box-shadow: 0 0.8rem 2rem rgba(4, 19, 14, 0.28);
	transform: scale(1.06);
}

.zde-compass .zde-compass__route:focus,
.zde-compass .zde-compass__route:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

.zde-compass .zde-compass__route:focus-visible .zde-compass__direction {
	color: var(--zde-compass-surface);
	background: var(--zde-compass-focus);
	box-shadow: 0 0 0 4px rgba(255, 211, 143, 0.3) !important;
}

.zde-compass__direction {
	display: grid;
	place-items: center;
	flex: 0 0 4.5rem;
	width: 4.5rem;
	height: 4.5rem;
	color: var(--zde-compass-accent);
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
	background: rgba(29, 58, 49, 0.98);
	border: 1px solid var(--zde-compass-accent);
	border-radius: 999px;
	box-shadow: 0 0 0 0.45rem rgba(29, 58, 49, 0.92);
	transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zde-compass__direction span {
	display: block;
	transform: translateY(-0.08em);
}

.zde-compass__route-copy {
	display: flex;
	flex-direction: column;
	gap: 0.38rem;
	min-width: 0;
	max-width: 17rem;
}

.zde-compass__route--north .zde-compass__route-copy,
.zde-compass__route--south .zde-compass__route-copy {
	align-items: center;
}

.zde-compass__route-eyebrow {
	display: flex;
	gap: 0.55rem;
	align-items: center;
	color: var(--zde-compass-accent);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.35;
	text-transform: uppercase;
}

.zde-compass__route--north .zde-compass__route-eyebrow,
.zde-compass__route--south .zde-compass__route-eyebrow {
	justify-content: center;
}

.zde-compass__cardinal {
	display: inline-grid;
	place-items: center;
	width: 1.55rem;
	height: 1.55rem;
	font-size: 0.66rem;
	border: 1px solid rgba(221, 184, 127, 0.75);
	border-radius: 999px;
}

.zde-compass__route-copy strong {
	color: var(--zde-compass-ink);
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	font-weight: 600;
	hyphens: auto;
	line-height: 1.28;
	overflow-wrap: break-word;
}

.zde-compass__route-summary {
	color: var(--zde-compass-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.zde-compass__route-action {
	margin-top: 0.45rem;
	color: var(--zde-compass-ink);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(251, 248, 242, 0.45);
	text-underline-offset: 0.28em;
	overflow-wrap: anywhere;
}

.zde-compass__dial {
	position: relative;
	grid-area: dial;
	z-index: 1;
	width: min(100%, 20rem);
	aspect-ratio: 1;
	margin-inline: auto;
	filter: drop-shadow(0 1.5rem 2.5rem rgba(4, 19, 14, 0.24));
}

.zde-compass__dial svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.zde-compass__dial-ring {
	fill: rgba(255, 255, 255, 0.02);
	stroke: var(--zde-compass-accent);
	stroke-width: 1.5;
}

.zde-compass__dial-ring--inner {
	fill: none;
	stroke: rgba(239, 231, 217, 0.38);
	stroke-dasharray: 2 9;
	stroke-linecap: round;
}

.zde-compass__axis {
	stroke: rgba(239, 231, 217, 0.22);
	stroke-width: 1;
}

.zde-compass__dial-center-dot {
	fill: var(--zde-compass-accent);
	stroke: var(--zde-compass-surface);
	stroke-width: 3;
}

.zde-compass__dial text {
	fill: var(--zde-compass-muted);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.zde-compass__dial-label {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 7.5rem;
	height: 7.5rem;
	color: var(--zde-compass-ink);
	text-align: center;
	background: rgba(29, 58, 49, 0.96);
	border: 1px solid rgba(221, 184, 127, 0.58);
	border-radius: 999px;
	box-shadow: 0 0 0 0.65rem rgba(29, 58, 49, 0.82);
	transform: translate(-50%, -50%);
}

.zde-compass__dial-label small {
	color: var(--zde-compass-muted);
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.zde-compass__dial-label strong {
	font-family: inherit;
	font-size: 0.96rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0.02em;
}

.zde-compass__privacy {
	margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
	color: var(--zde-compass-muted);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-align: center;
}

.zde-photo-slot {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--zde-photo-surface);
	border-radius: var(--zde-photo-radius);
	isolation: isolate;
}

.zde-photo-slot--landscape {
	aspect-ratio: 3 / 2;
}

.zde-photo-slot--location {
	aspect-ratio: 4 / 3;
}

.zde-photo-slot--portrait {
	aspect-ratio: 4 / 5;
}

.zde-photo-slot--wide {
	aspect-ratio: 16 / 9;
}

.zde-photo-slot--stage {
	width: 100vw;
	min-height: clamp(38rem, 58vw, 44rem);
	margin-inline: calc(50% - 50vw);
	border-radius: 0;
}

.zde-photo-slot__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: var(--zde-photo-position, center center);
}

.zde-photo-slot__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 0.25rem;
	padding: clamp(2rem, 6vw, 5.5rem) max(1.5rem, calc((100vw - 76rem) / 2));
	color: #fff;
	background: linear-gradient(
		90deg,
		var(--zde-photo-overlay) 0%,
		rgba(25, 38, 33, 0.48) 42%,
		rgba(25, 38, 33, 0.08) 74%,
		rgba(25, 38, 33, 0) 100%
	);
	pointer-events: none;
}

.zde-photo-slot__overlay span {
	font-size: clamp(1rem, 1.6vw, 1.3rem);
	font-weight: 500;
	letter-spacing: 0.02em;
}

.zde-photo-slot__overlay strong {
	font-size: clamp(2.35rem, 6vw, 5.25rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
}

.zde-photo-slot--empty {
	display: grid;
	place-content: center;
	min-height: 15rem;
	padding: 2rem;
	border: 2px dashed #8a938e;
	color: var(--zde-photo-ink);
	text-align: center;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(236, 232, 223, 0.9)),
		repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(40, 51, 47, 0.04) 12px, rgba(40, 51, 47, 0.04) 24px);
}

.zde-photo-slot--empty code {
	margin-top: 0.5rem;
	font-size: 0.875rem;
}

.zde-photo-slot-error {
	padding: 1rem;
	border-left: 4px solid #b32d2e;
	background: #fcf0f1;
	color: #3c434a;
}

@media (max-width: 900px) {
	.zde-compass__rose {
		grid-template-areas:
			"dial dial"
			"north east"
			"west south";
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: auto auto auto;
		gap: 1rem 2rem;
		max-width: 46rem;
	}

	.zde-compass__rose::before {
		display: none;
	}

	.zde-compass__dial {
		width: min(100%, 18rem);
		margin-bottom: 1.5rem;
	}

	.zde-compass__route,
	.zde-compass__route--north,
	.zde-compass__route--south {
		flex-direction: row;
		justify-self: stretch;
		width: 100%;
		text-align: left;
	}

	.zde-compass__route--west {
		text-align: left;
	}

	.zde-compass__route--north .zde-compass__direction,
	.zde-compass__route--east .zde-compass__direction,
	.zde-compass__route--south .zde-compass__direction,
	.zde-compass__route--west .zde-compass__direction {
		order: 0;
		margin: 0;
	}

	.zde-compass__route--north .zde-compass__route-copy,
	.zde-compass__route--south .zde-compass__route-copy {
		align-items: flex-start;
	}

	.zde-compass__route--north .zde-compass__route-eyebrow,
	.zde-compass__route--south .zde-compass__route-eyebrow {
		justify-content: flex-start;
	}
}

@media (max-width: 767px) {
	.zde-compass {
		padding: 2rem 1.35rem;
		border-radius: 1.5rem;
	}

	.zde-compass__route {
		padding: 1rem 0.25rem;
	}

	.zde-compass__direction {
		flex-basis: 4rem;
		width: 4rem;
		height: 4rem;
	}

	.zde-photo-slot {
		--zde-photo-radius: 0.9rem;
	}

	.zde-photo-slot--stage {
		min-height: clamp(26rem, 125vw, 31rem);
	}

	.zde-photo-slot__overlay {
		justify-content: flex-end;
		padding: 2rem 1.25rem;
		background: linear-gradient(
			0deg,
			rgba(25, 38, 33, 0.82) 0%,
			rgba(25, 38, 33, 0.38) 54%,
			rgba(25, 38, 33, 0.06) 82%,
			rgba(25, 38, 33, 0) 100%
		);
	}
}

@media (max-width: 520px) {
	.zde-compass h2 {
		font-size: clamp(1.95rem, 9.5vw, 2.55rem);
	}

	.zde-compass__rose {
		grid-template-areas:
			"dial"
			"north"
			"east"
			"west"
			"south";
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.zde-compass__dial {
		width: min(100%, 16rem);
		margin-bottom: 2.25rem;
	}

	.zde-compass__dial-label {
		width: 6.5rem;
		height: 6.5rem;
		box-shadow: 0 0 0 0.45rem rgba(29, 58, 49, 0.84);
	}

	.zde-compass__dial-label strong {
		font-size: 0.88rem;
	}

	.zde-compass__route {
		min-height: 0;
		padding-block: 1.25rem;
		border-top: 1px solid rgba(239, 231, 217, 0.22);
	}

	.zde-compass__route--north {
		border-top-color: var(--zde-compass-accent);
	}

	.zde-compass__direction {
		flex-basis: 3.65rem;
		width: 3.65rem;
		height: 3.65rem;
		font-size: 1.65rem;
		box-shadow: 0 0 0 0.3rem rgba(29, 58, 49, 0.92);
	}
}

@media (max-width: 360px) {
	.zde-compass {
		padding-inline: 1rem;
	}

	.zde-compass__route {
		gap: 0.75rem;
	}

	.zde-compass__direction {
		flex-basis: 3.35rem;
		width: 3.35rem;
		height: 3.35rem;
	}
}

@media (max-width: 520px) {
	/* Verhindert, dass der feste Theme-Pfeil mobile Kompass-Inhalte ueberdeckt. */
	html body a.trx_addons_scroll_to_top.trx_addons_scroll_to_top {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zde-compass *,
	.zde-compass *::before,
	.zde-compass *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media (prefers-contrast: more) {
	.zde-compass__direction {
		border-width: 2px;
	}

	.zde-photo-slot__overlay {
		background: rgba(15, 25, 21, 0.86);
	}
}

