/* =================================================================
   Uckermärkische Waren – Single-page front layout
   Palette + type taken from the Elementor global kit.
   ================================================================= */

:root {
	--umw-sand: #bfac9b;
	--umw-sand-dark: #a8917c;
	--umw-grey: #dbdee1;
	--umw-text: #4d5a6b;
	--umw-text-soft: #6c7888;
	--umw-cream: #f3eeeb;
	--umw-white: #fffdfb;
	--umw-dark: #3a4350;

	--umw-serif: "Crimson Text", Georgia, "Times New Roman", serif;
	--umw-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--umw-maxw: 1160px;
	--umw-narrow: 760px;
	--umw-gap: clamp(1.5rem, 4vw, 3rem);
	--umw-section-y: clamp(3.5rem, 8vw, 7rem);
	--umw-radius: 4px;
	--umw-header-offset: 90px;
	--umw-shadow: 0 18px 40px -24px rgba(58, 67, 80, 0.55);
}

/* ----------------------------- Base ---------------------------- */

.umw-onepage {
	color: var(--umw-text);
	font-family: var(--umw-sans);
	font-size: 1.0625rem;
	line-height: 1.75;
	background: var(--umw-white);
	overflow-x: clip;
}

.umw-onepage p {
	margin: 0 0 1.1em;
}

.umw-onepage a:not(.umw-btn) {
	color: var(--umw-sand-dark);
}

.umw-onepage img {
	max-width: 100%;
	display: block;
}

/* Anchor offset so sections clear the sticky Elementor header.
   Covers both <section id="…"> and the inner <article id="…"> anchors
   (e.g. #veranstaltungen / #ferienwohnungen inside the Erleben band). */
.umw-onepage section[id],
.umw-onepage article[id],
#kontakt {
	scroll-margin-top: var(--umw-header-offset);
}

html {
	scroll-behavior: smooth;
}

/* ----------------------------- Lenis --------------------------- */
/* When Lenis is active it controls the scroll position, so the native
   smooth-scroll must yield. Recommended bootstrap CSS from the Lenis
   docs (1.3.x). */
html.lenis,
html.lenis body {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

.lenis.lenis-stopped {
	overflow: clip;
}

.lenis.lenis-smooth iframe {
	pointer-events: none;
}

/* --------------------------- Layout ---------------------------- */

.umw-container {
	width: min(100% - 2.5rem, var(--umw-maxw));
	margin-inline: auto;
}

.umw-container--narrow {
	max-width: var(--umw-narrow);
}

.umw-center {
	text-align: center;
}

.umw-band {
	padding-block: var(--umw-section-y);
}

.umw-band--cream {
	background: var(--umw-cream);
}

.umw-band--dark {
	background: var(--umw-dark);
	color: var(--umw-grey);
}

/* Two same-background bands stacked next to each other (e.g. Unser Shop →
   Aus den Höfen, both white) would otherwise add 2× the section padding
   between them, reading as a gap instead of one continuous flow. The
   bottom padding of the first band already provides the breathing room. */
.umw-band:not(.umw-band--cream):not(.umw-band--dark)
	+ .umw-band:not(.umw-band--cream):not(.umw-band--dark),
.umw-band--cream + .umw-band--cream,
.umw-band--dark + .umw-band--dark {
	padding-top: 0;
}

/* ------------------------- Typography -------------------------- */

.umw-eyebrow {
	font-family: var(--umw-sans);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	/* Enlarged for prominence, but kept well below .umw-h2 (1.9–3rem) so the
	   section label stays a kicker, not a competing heading. */
	font-size: clamp(0.86rem, 1.3vw, 1rem);
	font-weight: 600;
	color: var(--umw-sand-dark);
	margin: 0 0 0.9rem;
}

.umw-eyebrow--light {
	color: var(--umw-white);
}

.umw-h2 {
	font-family: var(--umw-serif);
	font-weight: 600;
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.12;
	color: var(--umw-text);
	margin: 0 0 0.6em;
}

.umw-h2--light {
	color: var(--umw-white);
}

.umw-h3 {
	font-family: var(--umw-serif);
	font-weight: 600;
	font-size: 1.45rem;
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--umw-text);
}

.umw-lead {
	font-family: var(--umw-serif);
	font-size: clamp(1.2rem, 2.4vw, 1.6rem);
	line-height: 1.55;
	color: var(--umw-text);
}

.umw-section__head {
	max-width: var(--umw-narrow);
	margin: 0 auto clamp(2rem, 5vw, 3.25rem);
	text-align: center;
}

/* Die Uckermark: flex column with a single gap value guarantees equal
   spacing above and below the full-width swiper (no margin-collapse games).
   The gap matches .umw-section__head's standard margin-bottom (5vw) so the
   rhythm head→swiper→gallery stays consistent with the other bands. */
#uckermark {
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 5vw, 3.25rem);
}

#uckermark .umw-section__head {
	margin-bottom: 0;
}

#uckermark > .umw-carousel--hero {
	margin: 0;
}

.umw-section__intro {
	color: var(--umw-text-soft);
	font-size: 1.1rem;
}

/* .umw-onepage prefix beats the generic ".umw-onepage p" margin reset
   so the auto side-margins actually centre these constrained blocks. */
.umw-onepage .umw-pull {
	font-family: var(--umw-serif);
	font-size: clamp(1.3rem, 3vw, 1.9rem);
	color: var(--umw-text);
	margin: clamp(2rem, 5vw, 3rem) auto 0.4em;
	max-width: var(--umw-narrow);
	text-align: center;
}

.umw-quote {
	font-family: var(--umw-serif);
	font-style: italic;
	color: var(--umw-sand-dark);
	font-size: 1.15rem;
	margin: 0;
}

.umw-note {
	border-left: 3px solid var(--umw-sand);
	padding-left: 1rem;
	color: var(--umw-text-soft);
}

.umw-fineprint {
	font-size: 0.85rem;
	color: var(--umw-text-soft);
}

/* "Currently no offers" status — shown in place of a reservation CTA. */
.umw-unavailable {
	margin-top: 0.6rem;
	padding: 0.9rem 1.2rem;
	background: var(--umw-white);
	border: 1px solid var(--umw-sand);
	border-left-width: 3px;
	border-radius: var(--umw-radius);
	color: var(--umw-text);
	font-family: var(--umw-serif);
	font-size: 1.05rem;
	line-height: 1.4;
}

/* "Current event" flyer — a clickable poster that opens in the lightbox. */
.umw-flyer {
	display: inline-block;
	width: 100%;
	max-width: 420px;
	margin-top: 1rem;
	padding: 0;
	border: 1px solid var(--umw-grey);
	border-radius: var(--umw-radius);
	overflow: hidden;
	background: none;
	cursor: zoom-in;
	box-shadow: var(--umw-shadow);
	transition: transform 0.3s ease;
}

.umw-flyer:hover,
.umw-flyer:focus-visible {
	transform: translateY(-3px);
}

.umw-flyer__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Multiple client-managed flyers in the Veranstaltungen section. */
.umw-flyers {
	display: grid;
	justify-items: center;
	gap: 1.8rem;
	margin-top: 1rem;
}

.umw-flyers__item {
	margin: 0;
	width: 100%;
	max-width: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.umw-flyers__item .umw-flyer {
	margin-top: 0;
}

.umw-flyers__cap {
	margin-top: 0.7rem;
	text-align: center;
}

.umw-flyers__link {
	font-family: var(--umw-sans);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--umw-sand-dark);
	text-decoration: none;
}

.umw-flyers__link:hover,
.umw-flyers__link:focus-visible {
	text-decoration: underline;
}

.umw-flyers__title {
	font-family: var(--umw-serif);
	color: var(--umw-text);
}

@media (min-width: 768px) {
	.umw-flyers--grid {
		grid-template-columns: repeat(2, minmax(0, 360px));
		align-items: start;
	}
}

/* --------------------------- Buttons --------------------------- */

.umw-btn {
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: var(--umw-sans);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	line-height: 1.2;
	padding: 0.85rem 1.9rem;
	border-radius: var(--umw-radius);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	border: 1.5px solid transparent;
	cursor: pointer;
}

.umw-btn:focus {
	outline: none;
}

.umw-btn:focus-visible {
	outline: 2px solid var(--umw-dark);
	outline-offset: 3px;
}

/* Explicit colours for every interactive state so no theme/native
   control styling (e.g. the macOS accent on <button> :active) leaks in. */
.umw-btn--solid,
.umw-btn--solid:link,
.umw-btn--solid:visited {
	background: var(--umw-sand);
	color: var(--umw-white);
}

.umw-btn--solid:hover,
.umw-btn--solid:focus,
.umw-btn--solid:focus-visible,
.umw-btn--solid:active {
	background: var(--umw-sand-dark);
	color: var(--umw-white);
}

.umw-btn--solid:hover {
	transform: translateY(-2px);
}

.umw-btn--ghost,
.umw-btn--ghost:link,
.umw-btn--ghost:visited {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--umw-white);
}

.umw-btn--ghost:hover,
.umw-btn--ghost:focus,
.umw-btn--ghost:focus-visible,
.umw-btn--ghost:active {
	background: rgba(255, 255, 255, 0.12);
	color: var(--umw-white);
}

.umw-btn--ghost:hover {
	transform: translateY(-2px);
}

/* ---------------------------- Hero ----------------------------- */

.umw-hero {
	position: relative;
	min-height: clamp(560px, 92vh, 880px);
	display: grid;
	place-items: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	color: var(--umw-white);
	padding: 6rem 1.5rem;
}

.umw-hero__overlay {
	position: absolute;
	inset: 0;
	/* Whisper-thin top→bottom darkening so the title and CTAs stay
	   readable on bright slides without flattening the photo. */
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.umw-hero__inner {
	position: relative;
	max-width: 720px;
}

.umw-hero__seal {
	width: 118px;
	height: 118px;
	margin: 0 auto 1.6rem;
	border-radius: 50%;
	background: rgba(255, 253, 251, 0.92);
	display: grid;
	place-items: center;
	box-shadow: var(--umw-shadow);
}

.umw-hero__seal-img {
	width: 84%;
	height: auto;
}

.umw-hero__title {
	font-family: var(--umw-serif);
	font-weight: 700;
	font-size: clamp(2.5rem, 7vw, 5rem);
	line-height: 1.04;
	margin: 0 0 0.5em;
	text-shadow: 0 2px 34px rgba(0, 0, 0, 0.55), 0 1px 8px rgba(0, 0, 0, 0.45);
}

.umw-hero .umw-eyebrow--light {
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.umw-onepage .umw-hero__lead {
	font-family: var(--umw-serif);
	font-size: clamp(1.15rem, 2.6vw, 1.5rem);
	line-height: 1.5;
	margin: 0 auto 2rem;
	max-width: 560px;
	text-shadow: 0 1px 20px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.umw-hero__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.umw-hero__scroll {
	position: absolute;
	bottom: 1.8rem;
	left: 50%;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, 0.65);
	border-radius: 14px;
}

.umw-hero__scroll span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	background: #fff;
	border-radius: 2px;
	animation: umw-scroll 1.6s ease-in-out infinite;
}

@keyframes umw-scroll {
	0% { opacity: 0; transform: translateY(0); }
	40% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}

/* --------------------------- Gallery --------------------------- */

.umw-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem;
}

.umw-gallery__tile {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--umw-grey);
	border-radius: var(--umw-radius);
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 1 / 1;
}

.umw-gallery__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(58, 67, 80, 0);
	transition: background 0.5s ease;
	pointer-events: none;
}

.umw-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.umw-gallery__tile:hover .umw-gallery__img,
.umw-gallery__tile:focus-visible .umw-gallery__img {
	transform: scale(1.05);
}

.umw-gallery__tile:hover::after,
.umw-gallery__tile:focus-visible::after {
	background: rgba(58, 67, 80, 0.07);
}

/* Wide panorama variant of the gallery. */
.umw-onepage .umw-panorama-label {
	margin: clamp(2rem, 5vw, 3rem) 0 1rem;
}

.umw-gallery.umw-gallery--wide {
	grid-template-columns: 1fr;
}

.umw-gallery--wide .umw-gallery__tile {
	aspect-ratio: 16 / 9;
}

@media (min-width: 700px) {
	.umw-gallery.umw-gallery--wide {
		grid-template-columns: 1fr 1fr;
	}
}

/* Region map (OpenStreetMap embed — no tracking cookies). */
.umw-map {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	width: 100%;
}

.umw-map__frame {
	display: block;
	width: 100%;
	height: clamp(340px, 48vw, 560px);
	border: 0;
	/* Maps JS API renders the muted palette natively via the styles[]
	   array — no CSS filter needed (would double-tint the colours). */
}

.umw-map__note {
	margin: 0.7rem 0 0;
	text-align: center;
	font-size: 0.85rem;
	color: var(--umw-text-soft);
}

/* --------------------------- Pillars --------------------------- */

.umw-pillars {
	list-style: none;
	margin: 2.5rem 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
	text-align: center;
}

.umw-pillars > li {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.umw-pillars strong {
	font-family: var(--umw-serif);
	font-size: 1.25rem;
	color: var(--umw-text);
}

.umw-pillars > li > span:not(.umw-pillars__mark) {
	color: var(--umw-text-soft);
	font-size: 0.95rem;
}

.umw-pillars__mark {
	width: 38px;
	height: 2px;
	background: var(--umw-sand);
	margin: 0 auto 0.5rem;
}

.umw-pillars__partners {
	list-style: none;
	margin: 0.75rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.umw-pillars__partners li {
	font-family: var(--umw-serif);
	color: var(--umw-text);
	font-size: 1rem;
}

/* ---------------------- Split (media/text) --------------------- */

.umw-split {
	display: grid;
	gap: var(--umw-gap);
	align-items: center;
}

.umw-split--center {
	align-items: center;
}

.umw-split__text p {
	color: var(--umw-text-soft);
}

/* --------------------------- Carousel -------------------------- */

.umw-carousel {
	position: relative;
}

/* Crossfade carousel: slides are grid-stacked and cross-fade via opacity,
   so looping is seamless (no jump back to the first slide). */
.umw-carousel__track {
	display: grid;
	border-radius: var(--umw-radius);
	overflow: hidden;
	touch-action: pan-y;
}

.umw-carousel__slide {
	grid-area: 1 / 1;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--umw-grey);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.9s ease;
}

.umw-carousel__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.umw-carousel__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.umw-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	/* Dark-on-light contrast so the arrows are visible on any photo. */
	background: rgba(58, 67, 80, 0.72);
	color: var(--umw-white);
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--umw-shadow);
	transition: background-color 0.2s ease, transform 0.2s ease;
	z-index: 3;
}

.umw-carousel__nav:hover {
	background: var(--umw-dark);
	transform: translateY(-50%) scale(1.06);
}

.umw-carousel__nav--prev { left: 0.75rem; }
.umw-carousel__nav--next { right: 0.75rem; }

/* Food carousel: dish photos, capped so the Gastronomie split stays balanced.
   Aspect-ratio is wider on desktop (4/3) to avoid an oversized portrait. */
.umw-carousel--food {
	max-width: 540px;
	margin-inline: auto;
}

.umw-carousel--food .umw-carousel__slide {
	aspect-ratio: 4 / 3;
}

.umw-carousel--food .umw-carousel__img {
	object-position: center;
}

/* Block the native HTML5 image drag (browsers otherwise let you drag the
   <img> as a file). Our pointer-drag swipe handler keeps working because
   user-drag: none stops the native dragstart, while pointer events still
   bubble to the track. */
.umw-carousel__img {
	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}

/* Wide single-slide panorama carousel. */
.umw-carousel--wide {
	margin: 1.25rem 0 0.5rem;
}

.umw-carousel--wide .umw-carousel__slide {
	aspect-ratio: 16 / 9;
}

.umw-carousel__dots {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 2;
}

.umw-carousel__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.umw-carousel__dot.is-active {
	background: #fff;
	transform: scale(1.25);
}

/* ----------------- Full-width hero text swiper ----------------- */

.umw-carousel--hero {
	margin: clamp(1.5rem, 4vw, 2.75rem) 0;
}

.umw-carousel--hero .umw-carousel__track {
	gap: 0;
	border-radius: 0;
}

.umw-carousel--hero .umw-carousel__slide {
	aspect-ratio: auto;
	border-radius: 0;
}

.umw-heroslide {
	position: relative;
	min-height: clamp(420px, 62vh, 640px);
	background-size: cover;
	background-position: center;
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--umw-white);
	padding: 4rem 1.5rem;
}

.umw-heroslide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(58, 67, 80, 0.1) 0%, rgba(58, 67, 80, 0.18) 45%, rgba(58, 67, 80, 0.42) 100%);
}

.umw-heroslide__content {
	position: relative;
	max-width: 820px;
}

.umw-heroslide__title {
	font-family: var(--umw-serif);
	font-weight: 600;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.12;
	margin: 0 0 0.5em;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.umw-heroslide__text {
	font-family: var(--umw-serif);
	font-size: clamp(1.1rem, 2.4vw, 1.5rem);
	line-height: 1.5;
	margin: 0 auto 1.5rem;
	max-width: 640px;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --------------- Animated underline on headings --------------- */

.umw-uline {
	position: relative;
	display: inline-block;
}

/* In flex columns (feature panels) shrink to text width, not full column. */
.umw-feature__panel .umw-uline {
	align-self: flex-start;
}

.umw-uline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.14em;
	width: 100%;
	height: 3px;
	background: var(--umw-sand);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.umw-uline.is-uline-in::after {
	transform: scaleX(1);
}

/* ---------------------------- Cards ---------------------------- */

.umw-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--umw-gap);
	align-items: stretch;
}

.umw-card {
	background: var(--umw-white);
	border: 1px solid var(--umw-grey);
	border-radius: var(--umw-radius);
	overflow: hidden;
	/* Idle shadow is tiny so the transition into the hover shadow is
	   visible (instead of looking instant). */
	box-shadow: 0 4px 14px -12px rgba(58, 67, 80, 0.35);
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Prefixed with .umw-onepage so the rule beats .umw-reveal { transition: … }
   later in the file — otherwise reveal's transition replaces the card's
   transition list (no box-shadow easing → shadow snaps in instantly). */
.umw-onepage .umw-card {
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.3s ease;
}

/* Same reason: .umw-reveal.is-in { transform: none } has equal specificity
   to .umw-card:hover and sits later in the file, so it wins. Prefixing
   bumps us above it. */
.umw-onepage .umw-card:hover {
	/* Whole card lifts a touch; the inner <img> rides along with the
	   parent's transform so we don't need a separate image zoom. */
	transform: scale(1.025);
	box-shadow: 0 28px 50px -22px rgba(58, 67, 80, 0.5);
	border-color: var(--umw-sand);
}

.umw-card__body {
	flex: 1 1 auto;
}

.umw-card__img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* Logo-type image: show it whole on a soft background instead of cropping. */
.umw-card__img--contain {
	object-fit: contain;
	background: var(--umw-white);
	padding: 1.4rem;
}

.umw-card__body {
	padding: 1.6rem 1.5rem 1.8rem;
}

.umw-card__body p {
	color: var(--umw-text-soft);
	font-size: 0.98rem;
}

.umw-card__meta a {
	font-weight: 600;
}

/* Whole-card link variant (Shop tiles): make <a class="umw-card"> behave
   like the article cards above, but with link semantics and an arrow CTA. */
.umw-onepage a.umw-card,
.umw-onepage a.umw-card:link,
.umw-onepage a.umw-card:visited {
	color: var(--umw-text);
	text-decoration: none;
}

.umw-onepage a.umw-card:hover,
.umw-onepage a.umw-card:focus,
.umw-onepage a.umw-card:focus-visible {
	color: var(--umw-text);
}

.umw-card--link {
	cursor: pointer;
}

.umw-card--link .umw-card__cta {
	display: inline-block;
	margin-top: 0.4rem;
	font-family: var(--umw-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--umw-sand-dark);
	transition: color 0.2s ease, transform 0.2s ease;
}

.umw-card--link:hover .umw-card__cta {
	color: var(--umw-text);
	transform: translateX(4px);
}

/* Feature-card variant for the scaled Erleben & Übernachten band:
   bigger image, looser body padding, prices/CTA breathe. */
.umw-card--feature .umw-card__img {
	aspect-ratio: 16 / 10;
}

.umw-card--feature .umw-card__body {
	padding: clamp(1.6rem, 3vw, 2.25rem);
}

.umw-card--feature .umw-prices {
	margin-top: 1.1rem;
}

/* ------------------------- Naturschutz ------------------------- */

/* Card image with an overlaid "80 gerettet" badge (fawn-rescue count). */
.umw-card__figure {
	position: relative;
	margin: 0;
}

.umw-card__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: baseline;
	padding: 0.4rem 0.9rem;
	background: var(--umw-sand);
	color: var(--umw-white);
	border-radius: var(--umw-radius);
	font-family: var(--umw-sans);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: var(--umw-shadow);
}

.umw-card__badge strong {
	font-family: var(--umw-serif);
	font-size: 1.35rem;
	letter-spacing: 0;
	line-height: 1;
}

/* --------------------------- Infobar --------------------------- */

.umw-infobar {
	margin-top: var(--umw-gap);
	display: grid;
	gap: var(--umw-gap);
	background: var(--umw-white);
	border: 1px solid var(--umw-grey);
	border-radius: var(--umw-radius);
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

.umw-infobar__col p {
	margin-bottom: 0.4rem;
}

/* --------------------------- Feature --------------------------- */

.umw-feature {
	display: grid;
	grid-template-columns: 1fr;
}

.umw-feature__media {
	position: relative;
	min-height: 280px;
}

.umw-feature__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.umw-feature__panel {
	background: var(--umw-cream);
	padding: clamp(2.5rem, 6vw, 5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* --------------------------- Prices ---------------------------- */

.umw-prices {
	width: 100%;
	border-collapse: collapse;
	margin: 0.75rem 0 1.25rem;
	font-size: 1.05rem;
	background: rgba(255, 253, 251, 0.55);
	border: 1px solid var(--umw-sand);
	border-radius: var(--umw-radius);
	overflow: hidden;
}

.umw-prices th,
.umw-prices td {
	padding: 1rem 1.2rem;
	border-bottom: 1px solid var(--umw-grey);
	text-align: left;
}

.umw-prices tr:last-child th,
.umw-prices tr:last-child td {
	border-bottom: 0;
}

.umw-prices th {
	font-weight: 400;
	color: var(--umw-text);
}

.umw-prices td {
	text-align: right;
	font-family: var(--umw-serif);
	font-size: 1.2rem;
	color: var(--umw-text);
	white-space: nowrap;
}

/* --------------------------- Figure ---------------------------- */

.umw-figure {
	margin: 0;
	border-radius: var(--umw-radius);
	overflow: hidden;
	box-shadow: var(--umw-shadow);
}

.umw-figure__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* --------------------------- Contact --------------------------- */

.umw-contact {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 1.5rem 0 2rem;
	font-size: 1.1rem;
}

.umw-contact span:first-child {
	font-family: var(--umw-serif);
	font-size: 1.3rem;
	color: var(--umw-white);
}

.umw-contact a {
	color: var(--umw-sand);
}

.umw-contact a:hover {
	color: var(--umw-white);
}

/* -------------------------- Lightbox --------------------------- */

.umw-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(28, 33, 40, 0.92);
	display: grid;
	place-items: center;
	padding: 4vw;
	opacity: 0;
	transition: opacity 0.25s ease;
}

/* The [hidden] attribute must win over display:grid, otherwise the
   invisible overlay covers the page and swallows all clicks. */
.umw-lightbox[hidden] {
	display: none;
}

.umw-lightbox.is-open {
	opacity: 1;
}

.umw-lightbox__img {
	max-width: 100%;
	max-height: 88vh;
	width: auto;
	border-radius: var(--umw-radius);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.umw-lightbox__close {
	position: absolute;
	top: 1.2rem;
	right: 1.6rem;
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
}

/* ------------------------- Breakpoints ------------------------- */

@media (min-width: 600px) {
	.umw-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) {
	.umw-pillars {
		grid-template-columns: repeat(3, 1fr);
	}

	.umw-split {
		grid-template-columns: 1fr 1fr;
	}

	.umw-cards {
		grid-template-columns: repeat(3, 1fr);
	}

	.umw-cards--two {
		grid-template-columns: repeat(2, 1fr);
	}

	.umw-cards--four {
		grid-template-columns: repeat(2, 1fr);
	}

	.umw-infobar {
		grid-template-columns: 1fr 1fr;
	}

	.umw-feature {
		grid-template-columns: 1fr 1fr;
	}

	.umw-feature--reverse .umw-feature__media {
		order: 2;
	}
}

@media (min-width: 1000px) {
	.umw-cards--four {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1000px) {
	.umw-gallery {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.umw-hero__scroll span {
		animation: none;
	}

	.umw-gallery__img,
	.umw-btn,
	.umw-hero__slide {
		transition: none;
	}
}

/* ----------------------- Hero slideshow ------------------------ */

.umw-hero__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.umw-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 2s ease;
}

.umw-hero__slide.is-active {
	opacity: 1;
}

.umw-hero__overlay {
	z-index: 1;
}

.umw-hero__inner,
.umw-hero__scroll {
	z-index: 2;
}

/* -------------------------- Parallax --------------------------- */

.umw-parallax {
	position: relative;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	min-height: clamp(320px, 46vw, 560px);
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--umw-white);
	padding: 4rem 1.5rem;
}

.umw-parallax__overlay {
	position: absolute;
	inset: 0;
	/* Soft top-and-bottom darkening so the quote sits cleanly on any photo;
	   middle stays bright to let the landscape breathe. */
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0.30) 0%,
		rgba(0, 0, 0, 0.10) 35%,
		rgba(0, 0, 0, 0.10) 65%,
		rgba(0, 0, 0, 0.42) 100%);
}

.umw-parallax__inner {
	position: relative;
	max-width: 760px;
}

.umw-parallax__quote {
	font-family: var(--umw-serif);
	font-weight: 600;
	font-size: clamp(1.6rem, 4vw, 2.8rem);
	line-height: 1.2;
	margin: 0 0 0.4em;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 6px rgba(0, 0, 0, 0.5);
}

.umw-parallax__sub {
	font-size: 1.05rem;
	margin: 0;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* background-attachment: fixed is janky / unsupported on touch devices. */
@media (max-width: 1024px) {
	.umw-parallax {
		background-attachment: scroll;
	}
}

/* -------------------------- Video band ------------------------- */
/* Same proportions and overlay vibe as .umw-parallax, but with a
   muted autoplay loop instead of a static photo. */
.umw-videoband {
	position: relative;
	overflow: hidden;
	min-height: clamp(380px, 56vw, 640px);
	background: var(--umw-dark);
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--umw-white);
	padding: 4rem 1.5rem;
}

.umw-videoband__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	/* Block the native HTML5 drag on the <video> element too. */
	-webkit-user-drag: none;
	user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}

.umw-videoband__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0.30) 0%,
		rgba(0, 0, 0, 0.12) 50%,
		rgba(0, 0, 0, 0.45) 100%);
	z-index: 1;
}

.umw-videoband__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.umw-videoband__quote {
	font-family: var(--umw-serif);
	font-weight: 600;
	font-size: clamp(1.6rem, 4vw, 2.8rem);
	line-height: 1.2;
	margin: 0 0 0.4em;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 6px rgba(0, 0, 0, 0.5);
}

.umw-videoband__sub {
	font-size: 1.05rem;
	margin: 0;
	text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Reduced-motion users see the still poster behind the gradient — the
   video element gets hidden so it doesn't auto-loop. */
@media (prefers-reduced-motion: reduce) {
	.umw-videoband__video {
		display: none;
	}
	.umw-videoband {
		background-size: cover;
		background-position: center;
	}
}

/* ----------------------- Contact modal ------------------------- */

.umw-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(28, 33, 40, 0.92);
	display: grid;
	place-items: center;
	padding: 5vw;
	opacity: 0;
	transition: opacity 0.25s ease;
	overflow-y: auto;
}

.umw-modal[hidden] {
	display: none;
}

.umw-modal.is-open {
	opacity: 1;
}

.umw-modal__dialog {
	position: relative;
	background: var(--umw-white);
	color: var(--umw-text);
	width: min(560px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	border-radius: var(--umw-radius);
	padding: clamp(1.8rem, 4vw, 2.8rem);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.umw-modal__close {
	position: absolute;
	top: 0.7rem;
	right: 0.9rem;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--umw-text);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.umw-modal .umw-h2 {
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	margin-bottom: 0.15em;
}

.umw-modal__context {
	color: var(--umw-sand-dark);
	font-weight: 600;
	margin: 0 0 1.3rem;
}

.umw-modal__context:empty {
	display: none;
}

/* ----------------------- Contact form -------------------------- */

.umw-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.umw-form__row {
	display: grid;
	gap: 1rem;
}

.umw-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--umw-text);
}

.umw-form__field input,
.umw-form__field textarea {
	font: inherit;
	font-weight: 400;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--umw-grey);
	border-radius: var(--umw-radius);
	background: var(--umw-cream);
	color: var(--umw-text);
}

.umw-form__field textarea {
	resize: vertical;
}

.umw-form__field input:focus,
.umw-form__field textarea:focus {
	outline: none;
	border-color: var(--umw-sand);
	box-shadow: 0 0 0 3px rgba(191, 172, 155, 0.25);
}

.umw-form__field--error input,
.umw-form__field--error textarea {
	border-color: #b4544f;
}

.umw-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.umw-form__status {
	margin: 0;
	font-size: 0.95rem;
	min-height: 1.2em;
}

.umw-form__status.is-error {
	color: #b4544f;
}

.umw-form__status.is-success {
	color: #4a7a52;
}

.umw-form button[disabled] {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

@media (min-width: 560px) {
	.umw-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

/* --------------------- Scroll reveal (AOS) --------------------- */

.umw-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.umw-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Variant: slide in from the right (used for the Gastronomie text). */
.umw-reveal--right {
	transform: translateX(40px);
}

/* ------------------------- Back to top ------------------------- */

.umw-totop {
	position: fixed;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 900;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--umw-sand);
	color: var(--umw-white);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--umw-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0.3s;
}

.umw-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.umw-totop:hover {
	background: var(--umw-sand-dark);
}

@media (prefers-reduced-motion: reduce) {
	.umw-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.umw-totop {
		transition: opacity 0.2s ease, visibility 0.2s;
	}

	.umw-uline::after {
		transition: none;
	}
}

/* --------------------- Hero entrance (load) -------------------- */

@keyframes umw-hero-rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.umw-hero__seal,
.umw-hero .umw-eyebrow,
.umw-hero__title,
.umw-onepage .umw-hero__lead,
.umw-hero__actions,
.umw-hero__scroll {
	animation: umw-hero-rise 2.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.umw-hero__seal {
	animation-delay: 0.15s;
}

.umw-hero .umw-eyebrow {
	animation-delay: 0.33s;
}

.umw-hero__title {
	animation-delay: 0.51s;
}

.umw-onepage .umw-hero__lead {
	animation-delay: 0.69s;
}

.umw-hero__actions {
	animation-delay: 0.87s;
}

/* The scroll cue is centred with translateX(-50%); keep it in the keyframe. */
@keyframes umw-hero-rise-scroll {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.umw-hero__scroll {
	animation-name: umw-hero-rise-scroll;
	animation-delay: 1.05s;
}

@media (prefers-reduced-motion: reduce) {
	.umw-hero__seal,
	.umw-hero .umw-eyebrow,
	.umw-hero__title,
	.umw-onepage .umw-hero__lead,
	.umw-hero__actions,
	.umw-hero__scroll {
		animation: none;
	}
}

/* ---------- Reset native control styling on custom buttons ---------- */
/* Prevents the OS accent colour flashing on :active/:focus (e.g. the red
   tap state on macOS) for buttons that are not .umw-btn. */
.umw-carousel__nav,
.umw-carousel__dot,
.umw-totop,
.umw-lightbox__close,
.umw-modal__close,
.umw-gallery__tile {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.umw-carousel__nav:focus,
.umw-carousel__dot:focus,
.umw-totop:focus,
.umw-lightbox__close:focus,
.umw-modal__close:focus,
.umw-gallery__tile:focus {
	outline: none;
}

.umw-carousel__nav:focus-visible,
.umw-totop:focus-visible,
.umw-gallery__tile:focus-visible {
	outline: 2px solid var(--umw-white);
	outline-offset: 2px;
}

/* ------------------------ Intro brand seal ------------------------- */
.umw-intro__seal {
	width: 92px;
	margin: clamp(1.75rem, 4vw, 2.75rem) auto;
}

.umw-intro__seal-img {
	width: 100%;
	height: auto;
	opacity: 0.85;
}

/* --------- Hero text swiper: fade entrance (no upward rise) --------- */
.umw-carousel--hero.umw-reveal {
	transform: none;
}

/* Favour the land over the sky in parallax bands. */
.umw-parallax {
	background-position: center 62%;
}

/* Grab cursor hint for swipeable carousels. */
.umw-carousel__track {
	cursor: grab;
}

.umw-carousel__track.is-dragging {
	cursor: grabbing;
}

/* Lock brand colours on every interactive state so hello-elementor's
   reset (a { color: #cc3366 }) never tints a button/link red. */
.umw-onepage a:not(.umw-btn):hover,
.umw-onepage a:not(.umw-btn):focus,
.umw-onepage a:not(.umw-btn):active {
	color: var(--umw-sand-dark);
}

.umw-onepage .umw-btn--solid:link,
.umw-onepage .umw-btn--solid:visited,
.umw-onepage .umw-btn--solid:hover,
.umw-onepage .umw-btn--solid:focus,
.umw-onepage .umw-btn--solid:active {
	color: var(--umw-white);
}

.umw-carousel__nav:hover,
.umw-carousel__nav:focus,
.umw-carousel__nav:active {
	color: var(--umw-white);
}

.umw-totop:hover,
.umw-totop:focus,
.umw-totop:active {
	color: var(--umw-white);
}

.umw-carousel__dot,
.umw-carousel__dot:hover,
.umw-carousel__dot:focus,
.umw-carousel__dot:active {
	color: var(--umw-dark);
}

.umw-carousel__dot:hover,
.umw-carousel__dot:focus,
.umw-carousel__dot:active {
	background: #fff;
}

/* -------------------- Event entry popup ---------------------- */
/* Reuses the .umw-modal overlay; tuned so the flyer image is the focus. */
.umw-eventpopup__dialog {
	width: min(460px, 100%);
	padding: 1.1rem;
	text-align: center;
	transform: translateY(26px) scale(0.94);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.umw-eventpopup.is-open .umw-eventpopup__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.umw-eventpopup__title {
	font-size: clamp(1.3rem, 3vw, 1.7rem);
	margin: 0.1em 0 0.8rem;
}

.umw-eventpopup__media {
	display: block;
}

.umw-eventpopup__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--umw-radius);
}

/* Close button: a clearly round, centred chip over the flyer. */
.umw-eventpopup .umw-modal__close {
	top: 0.6rem;
	right: 0.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--umw-dark);
	font-size: 1.5rem;
	line-height: 1;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.umw-eventpopup .umw-modal__close:hover,
.umw-eventpopup .umw-modal__close:focus-visible {
	background: #fff;
	transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
	.umw-eventpopup__dialog {
		transition: opacity 0.2s ease;
		transform: none;
	}

	.umw-eventpopup.is-open .umw-eventpopup__dialog {
		transform: none;
	}
}
