/* ==========================================================================
   Weinforum Unterkünfte: Landingpage /unterkuenfte (mu-plugin wf-unterkuenfte)
   Mobil zuerst. Farben und Schriften aus dem Child-Theme (style.css :root),
   CTA-Farbe zentral über --wf-cta / --wf-cta-hover (Entscheidung Master 20.11.2026).
   ========================================================================== */

.wf-uk,
.wf-uk-lage,
.wf-uk-vorteile {
	--wf-uk-rot: var(--color-primary, #7a1b2d);
	--wf-uk-cta: var(--wf-cta, #da3743);
	--wf-uk-cta-hover: var(--wf-cta-hover, #b92f39);
	--wf-uk-creme: var(--color-secondary, #f5f0e8);
	--wf-uk-text: var(--color-text, #2a2a2a);
	--wf-uk-leise: #5f5f5f;
	--wf-uk-linie: #e4dacb;
	--wf-uk-linie-stark: #cbbda8;
	--wf-uk-eiche: #8a5a2b;
	--wf-uk-radius: var(--border-radius, 4px);
	--wf-uk-schatten: 0 1px 2px rgba(26, 26, 26, .06), 0 8px 24px rgba(26, 26, 26, .08);
	--wf-uk-kopf: calc(var(--header-height, 96px) + 16px);
	color: var(--wf-uk-text);
	font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}

.wf-uk *,
.wf-uk *::before,
.wf-uk *::after {
	box-sizing: border-box;
}

.wf-uk [id],
.wf-uk-lage [id] {
	scroll-margin-top: var(--wf-uk-kopf);
}

.wf-uk .screen-reader-text,
.wf-uk-lage .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.wf-uk-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
   Buttons und Links
   -------------------------------------------------------------------------- */

.wf-uk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--wf-uk-radius);
	font-family: var(--font-body, 'Inter', system-ui, sans-serif);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.wf-uk-btn--haupt {
	background-color: var(--wf-uk-cta);
	border-color: var(--wf-uk-cta);
	color: #fff !important;
}

.wf-uk-btn--haupt:hover,
.wf-uk-btn--haupt:focus-visible {
	background-color: var(--wf-uk-cta-hover);
	border-color: var(--wf-uk-cta-hover);
	color: #fff !important;
}

.wf-uk-btn--zweit {
	background-color: transparent;
	border-color: var(--wf-uk-rot);
	color: var(--wf-uk-rot) !important;
}

.wf-uk-btn--zweit:hover,
.wf-uk-btn--zweit:focus-visible,
.wf-uk-btn--zweit[aria-pressed="true"] {
	background-color: var(--wf-uk-rot);
	color: #fff !important;
}

.wf-uk-btn:focus-visible,
.wf-uk-chip:focus-visible,
.wf-uk-link:focus-visible,
.wf-uk-mehr__knopf:focus-visible,
.wf-uk-zaehler__knopf:focus-visible,
.wf-uk-galerie__knopf:focus-visible,
.wf-uk-galerie__spur:focus-visible,
.wf-uk-dialog__zu:focus-visible,
.wf-uk-feld input:focus-visible {
	outline: 2px solid var(--wf-uk-rot);
	outline-offset: 2px;
}

.wf-uk-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wf-uk-rot);
	font: inherit;
	font-size: .9375rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.wf-uk-link:hover {
	color: var(--color-accent, #c2185b);
}

/* Farbpunkt je Haus */
.wf-uk-punkt {
	display: inline-block;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--wf-uk-rot);
	vertical-align: .05em;
}

.wf-uk-punkt--wuertheim {
	background: var(--wf-uk-eiche);
}

/* --------------------------------------------------------------------------
   Abschnitte und Köpfe
   -------------------------------------------------------------------------- */

.wf-uk-abschnitt {
	padding: 56px 0;
}

.wf-uk-kopf {
	max-width: 760px;
	margin: 0 auto 32px;
	text-align: center;
}

.wf-uk-strich {
	display: block;
	width: 48px;
	height: 2px;
	margin: 0 auto 20px;
	background: var(--wf-uk-rot);
}

.wf-uk-kopf h2 {
	margin: 0 0 12px;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
	font-weight: 500;
	line-height: 1.15;
}

.wf-uk-intro {
	margin: 0;
	color: var(--wf-uk-leise);
	font-size: 1rem;
	line-height: 1.65;
}

/* Volle Breite für den Häuser-Abschnitt ohne waagrechten Überlauf */
.wf-uk-haeuser-abschnitt {
	background: var(--wf-uk-creme);
	box-shadow: 0 0 0 100vmax var(--wf-uk-creme);
	clip-path: inset(0 -100vmax);
}

/* --------------------------------------------------------------------------
   Buchungsleiste
   -------------------------------------------------------------------------- */

.wf-uk-buchen-wrap {
	position: relative;
	z-index: 2;
	margin-top: -40px;
}

.wf-uk-buchen {
	padding: 20px 16px;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
	box-shadow: var(--wf-uk-schatten);
}

.wf-uk-buchen__titel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	color: var(--wf-uk-rot);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wf-uk-buchen__felder {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.wf-uk-feld {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.wf-uk-feld label {
	color: var(--wf-uk-leise);
	font-size: .8125rem;
	font-weight: 500;
}

.wf-uk-feld input[type="date"],
.wf-uk-feld input[type="number"] {
	width: 100%;
	min-width: 0;
	height: 48px;
	padding: 0 12px;
	border: 1px solid var(--wf-uk-linie-stark);
	border-radius: var(--wf-uk-radius);
	background: #fff;
	color: var(--wf-uk-text);
	font-family: inherit;
	font-size: 1rem;
	-webkit-appearance: none;
	appearance: none;
}

.wf-uk-feld input[type="date"]::-webkit-date-and-time-value {
	text-align: left;
}

.wf-uk-feld--zahl {
	grid-column: 1 / -1;
}

.wf-uk-zaehler {
	display: flex;
	align-items: stretch;
	height: 48px;
	border: 1px solid var(--wf-uk-linie-stark);
	border-radius: var(--wf-uk-radius);
	overflow: hidden;
}

.wf-uk-zaehler input[type="number"] {
	flex: 1 1 auto;
	height: 100%;
	border: 0;
	border-radius: 0;
	text-align: center;
	-moz-appearance: textfield;
}

.wf-uk-zaehler input::-webkit-outer-spin-button,
.wf-uk-zaehler input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wf-uk-zaehler__knopf {
	flex: 0 0 48px;
	border: 0;
	background: var(--wf-uk-creme);
	color: var(--wf-uk-rot);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.wf-uk-zaehler__knopf:hover {
	background: #ece3d5;
}

.wf-uk-zaehler__knopf[hidden] {
	display: none;
}

.wf-uk-buchen__fuss {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.wf-uk-buchen__info {
	margin: 0;
	color: var(--wf-uk-leise);
	font-size: .875rem;
}

.wf-uk-buchen__info:empty {
	display: none;
}

.wf-uk-buchen__los {
	width: 100%;
}

.wf-uk-buchen__hinweis {
	margin: 12px 0 0;
	color: var(--wf-uk-leise);
	font-size: .8125rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Häuser
   -------------------------------------------------------------------------- */

.wf-uk-haeuser {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

.wf-uk-haus {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, opacity .25s ease;
}

.wf-uk-haus:hover {
	box-shadow: var(--wf-uk-schatten);
}

.wf-uk-haus.is-aktiv {
	border-color: var(--wf-uk-rot);
	box-shadow: 0 0 0 1px var(--wf-uk-rot), var(--wf-uk-schatten);
}

.wf-uk-haus.is-gedimmt .wf-uk-haus__bild {
	opacity: .5;
}

.wf-uk-haus__bild {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 28px 16px 0;
	border-bottom: 1px solid var(--wf-uk-linie);
	background: linear-gradient(#fff, #fbf8f3);
}

.wf-uk-haus__zeichnung {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	aspect-ratio: 480 / 300;
}

.wf-uk-haus__bild > img:not(.wf-uk-haus__zeichnung) {
	display: block;
	width: calc(100% + 48px);
	max-width: none;
	height: auto;
	margin: -24px -24px 0;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.wf-uk-haus__inhalt {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 24px 20px;
}

.wf-uk-haus__etikett {
	margin: 0 0 6px;
	color: var(--wf-uk-leise);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wf-uk-haus__name {
	margin: 0;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.1;
}

.wf-uk-haus__unterzeile {
	margin: 6px 0 14px;
	color: var(--wf-uk-rot);
	font-size: .9375rem;
	font-style: italic;
}

.wf-uk-haus__text {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.65;
}

.wf-uk-haus__vorteile,
.wf-uk-ausstattung {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.wf-uk-haus__vorteile li,
.wf-uk-ausstattung li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .9375rem;
	line-height: 1.5;
}

.wf-uk-haus__vorteile .wf-uk-icon,
.wf-uk-ausstattung .wf-uk-icon {
	margin-top: 1px;
	color: var(--wf-uk-rot);
}

.wf-uk-haus__fuss {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}

.wf-uk-haus__zahl {
	margin: 0;
	color: var(--wf-uk-leise);
	font-size: .875rem;
}

.wf-uk-haus__fuss .wf-uk-btn {
	width: 100%;
}

/* Abstand zwischen den Häusern */
.wf-uk-abstand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	color: var(--wf-uk-rot);
}

.wf-uk-abstand__linie {
	flex: 1 1 auto;
	height: 0;
	border-top: 1px dashed var(--wf-uk-linie-stark);
}

.wf-uk-abstand__text {
	padding: 6px 14px;
	border: 1px solid var(--wf-uk-linie-stark);
	border-radius: 999px;
	background: #fff;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .08em;
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Filter
   -------------------------------------------------------------------------- */

.wf-uk-filter {
	display: grid;
	gap: 14px;
	margin: 0 0 32px;
	padding: 16px;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
}

.wf-uk-filter[hidden] {
	display: none;
}

.wf-uk-filter__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.wf-uk-filter__titel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--wf-uk-rot);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wf-uk-filter__treffer {
	margin: 0;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.375rem;
	font-weight: 600;
}

.wf-uk-filter__gruppe {
	display: grid;
	gap: 8px;
}

.wf-uk-filter__label {
	color: var(--wf-uk-leise);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.wf-uk-filter__chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0 -16px;
	padding: 2px 16px 4px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-padding-inline: 16px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 28px), transparent 100%);
}

.wf-uk-filter__chips::-webkit-scrollbar {
	display: none;
}

.wf-uk-chip {
	flex: 0 0 auto;
	white-space: nowrap;
}

.wf-uk-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--wf-uk-linie-stark);
	border-radius: 999px;
	background: #fff;
	color: var(--wf-uk-text);
	font-family: inherit;
	font-size: .9375rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.wf-uk-chip:hover {
	border-color: var(--wf-uk-rot);
}

.wf-uk-chip[aria-pressed="true"] {
	border-color: var(--wf-uk-rot);
	background: var(--wf-uk-rot);
	color: #fff;
}

.wf-uk-chip[aria-pressed="true"] .wf-uk-punkt {
	box-shadow: 0 0 0 2px #fff;
}

.wf-uk-chip__zahl {
	min-width: 22px;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--wf-uk-creme);
	color: var(--wf-uk-leise);
	font-size: .75rem;
	font-weight: 600;
	text-align: center;
}

.wf-uk-chip[aria-pressed="true"] .wf-uk-chip__zahl {
	background: rgba(255, 255, 255, .2);
	color: #fff;
}

.wf-uk-chip.is-leer {
	color: #767676;
	border-style: dashed;
}

.wf-uk-filter__reset {
	margin: -6px 0 0;
}

.wf-uk-filter__reset .wf-uk-link[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
   Gruppen und Karten
   -------------------------------------------------------------------------- */

.wf-uk-gruppe + .wf-uk-gruppe {
	margin-top: 48px;
}

.wf-uk-gruppe[hidden],
.wf-uk-karte[hidden],
.wf-uk-leer[hidden],
.wf-uk-mobilleiste[hidden] {
	display: none !important;
}

.wf-uk-gruppe__kopf {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--wf-uk-linie);
}

.wf-uk-gruppe__zeichnung {
	flex: 0 0 auto;
	width: 72px;
	height: auto;
	aspect-ratio: 480 / 300;
	margin-bottom: 2px;
}

.wf-uk-gruppe__titel {
	min-width: 0;
}

@media (min-width: 600px) {
	.wf-uk-gruppe__zeichnung {
		width: 96px;
	}
}

.wf-uk-gruppe__kopf h3 {
	display: flex;
	align-items: center;
	margin: 0 0 4px;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.75rem;
	font-weight: 500;
}

.wf-uk-gruppe__kopf p {
	margin: 0;
	color: var(--wf-uk-leise);
	font-size: .9375rem;
}

.wf-uk-raster {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.wf-uk-karte {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
	overflow: hidden;
	transition: box-shadow .2s ease;
}

.wf-uk-karte:hover {
	box-shadow: var(--wf-uk-schatten);
}

.wf-uk-karte__bild {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--wf-uk-creme);
}

.wf-uk--js .wf-uk-karte__bild {
	cursor: zoom-in;
}

.wf-uk-karte__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.wf-uk-karte:hover .wf-uk-karte__bild img {
	transform: scale(1.03);
}

.wf-uk-karte__bildzahl {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(26, 26, 26, .72);
	color: #fff;
	font-size: .8125rem;
	font-weight: 600;
}

.wf-uk-karte__bildzahl .wf-uk-icon {
	width: 16px;
	height: 16px;
}

.wf-uk-karte__platzhalter {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 16px;
	color: var(--wf-uk-rot);
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.5rem;
	text-align: center;
}

.wf-uk-karte__inhalt {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px;
}

.wf-uk-karte__overline {
	display: flex;
	align-items: center;
	margin: 0 0 6px;
	color: var(--wf-uk-leise);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.wf-uk-karte__overline span[aria-hidden="true"]:not(.wf-uk-punkt) {
	margin: 0 6px;
}

.wf-uk-karte__titel {
	margin: 0 0 12px;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.625rem;
	font-weight: 500;
	line-height: 1.15;
}

.wf-uk-fakten {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.wf-uk-fakten li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .875rem;
	font-weight: 500;
}

.wf-uk-fakten .wf-uk-icon {
	color: var(--wf-uk-rot);
}

.wf-uk-karte__text {
	margin: 0 0 12px;
	color: var(--wf-uk-text);
	font-size: .9375rem;
	line-height: 1.6;
}

/* Details: ohne JS klappt der Inhalt in der Karte auf */
.wf-uk-mehr {
	margin: 0 0 16px;
}

.wf-uk-mehr__knopf {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--wf-uk-rot);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	list-style: none;
	cursor: pointer;
}

.wf-uk-mehr__knopf::-webkit-details-marker {
	display: none;
}

.wf-uk-mehr__knopf::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
}

.wf-uk-mehr[open] .wf-uk-mehr__knopf::after {
	transform: rotate(45deg);
}

.wf-uk-mehr .wf-uk-detail {
	padding-top: 12px;
}

.wf-uk-karte__aktionen {
	margin-top: auto;
}

.wf-uk-karte__aktionen .wf-uk-btn {
	width: 100%;
}

.wf-uk-leer {
	padding: 40px 20px;
	border: 1px dashed var(--wf-uk-linie-stark);
	border-radius: var(--wf-uk-radius);
	text-align: center;
}

.wf-uk-leer p {
	margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   Detail: Galerie, Text (in der Karte ohne JS, im Dialog mit JS)
   -------------------------------------------------------------------------- */

.wf-uk-galerie {
	position: relative;
	background: #1a1a1a;
}

.wf-uk-galerie__spur {
	display: flex;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.wf-uk-galerie__spur::-webkit-scrollbar {
	display: none;
}

.wf-uk-galerie__bild {
	flex: 0 0 100%;
	margin: 0;
	aspect-ratio: 3 / 2;
	scroll-snap-align: start;
}

.wf-uk-galerie__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wf-uk-galerie__steuerung {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(26, 26, 26, .72);
	color: #fff;
}

.wf-uk-galerie__knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.wf-uk-galerie__knopf:hover {
	background: rgba(255, 255, 255, .16);
}

.wf-uk-galerie__zaehler {
	min-width: 48px;
	font-size: .875rem;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

.wf-uk-detail__text {
	padding: 20px 0 0;
}

.wf-uk-detail__text p {
	margin: 0 0 12px;
	font-size: 1rem;
	line-height: 1.65;
}

.wf-uk-detail__text .wf-uk-karte__overline {
	margin-bottom: 4px;
	font-size: .75rem;
}

.wf-uk-detail__titel {
	margin: 0 0 12px !important;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 2rem !important;
	font-weight: 500;
	line-height: 1.1 !important;
}

.wf-uk-detail__zwischen {
	margin: 20px 0 10px !important;
	color: var(--wf-uk-rot);
	font-size: .75rem !important;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wf-uk-detail__anzahl {
	color: var(--wf-uk-leise);
	font-size: .9375rem !important;
}

.wf-uk-detail__haus {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-radius: var(--wf-uk-radius);
	background: var(--wf-uk-creme);
	font-size: .9375rem !important;
}

.wf-uk-detail__haus .wf-uk-icon {
	color: var(--wf-uk-rot);
}

.wf-uk-detail__aktion {
	margin: 20px 0 0 !important;
}

.wf-uk-detail__aktion .wf-uk-btn {
	width: 100%;
}

/* --------------------------------------------------------------------------
   Dialog
   -------------------------------------------------------------------------- */

html.wf-uk-dialog-offen {
	overflow: hidden;
}

.wf-uk-dialog {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--wf-uk-text);
}

.wf-uk-dialog:not([open]) {
	display: none;
}

.wf-uk-dialog::backdrop {
	background: rgba(26, 26, 26, .62);
}

.wf-uk-dialog[open] {
	animation: wf-uk-auf .25s ease-out;
}

@keyframes wf-uk-auf {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.wf-uk-dialog__rahmen {
	position: relative;
	height: 100%;
}

.wf-uk-dialog__inhalt {
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.wf-uk-dialog__inhalt .wf-uk-detail__text {
	padding: 24px 20px calc(32px + env(safe-area-inset-bottom));
}

.wf-uk-dialog__zu {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 2px 8px rgba(26, 26, 26, .2);
	color: var(--wf-uk-text);
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Mobile Leiste unten
   -------------------------------------------------------------------------- */

.wf-uk-mobilleiste {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 900;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--wf-uk-linie);
	background: #fff;
	box-shadow: 0 -6px 20px rgba(26, 26, 26, .1);
}

.wf-uk-mobilleiste__info {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: var(--wf-uk-leise);
	font-size: .8125rem;
	line-height: 1.35;
}

.wf-uk-mobilleiste .wf-uk-btn {
	flex: 0 0 auto;
	padding: 10px 16px;
}

/* --------------------------------------------------------------------------
   Lage
   -------------------------------------------------------------------------- */

.wf-uk-lage {
	display: grid;
	gap: 24px;
	align-items: center;
}

.wf-uk-lage__plan {
	max-width: 560px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
}

.wf-uk-lage__plan svg {
	display: block;
	width: 100%;
	height: auto;
	font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}

.wf-uk-lage__plan figcaption {
	margin-top: 12px;
	color: var(--wf-uk-leise);
	font-size: .875rem;
	text-align: center;
}

.wf-uk-lage__strasse {
	fill: #efe8dc;
}

.wf-uk-lage__mitte {
	stroke: #fff;
	stroke-width: 2;
	stroke-dasharray: 14 10;
}

.wf-uk-lage__strassenname {
	fill: var(--wf-uk-leise);
	font-size: 15px;
	letter-spacing: .08em;
}

.wf-uk-lage__haus rect,
.wf-uk-lage__haus path {
	fill: #fff;
	stroke: var(--wf-uk-rot);
	stroke-width: 1.5;
}

.wf-uk-lage__haus--2 rect {
	stroke: var(--wf-uk-eiche);
}

.wf-uk-lage__haus text {
	fill: var(--wf-uk-text);
	stroke: none;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 24px;
	font-weight: 600;
}

.wf-uk-lage__haus--2 path {
	stroke: var(--wf-uk-eiche);
}

.wf-uk-lage__mass {
	fill: none;
	stroke: var(--wf-uk-rot);
	stroke-width: 1.5;
}

.wf-uk-lage__pille {
	fill: var(--wf-uk-rot);
}

.wf-uk-lage__abstand {
	fill: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .06em;
}

.wf-uk-lage__adressen {
	display: grid;
	gap: 16px;
}

.wf-uk-lage__adresse {
	padding: 16px 20px;
	border-left: 3px solid var(--wf-uk-rot);
	background: #fff;
}

.wf-uk-lage__adresse:nth-child(2) {
	border-left-color: var(--wf-uk-eiche);
}

.wf-uk-lage__adresse p {
	margin: 0 0 4px;
	font-size: .9375rem;
	line-height: 1.55;
}

.wf-uk-lage__name {
	display: flex;
	align-items: center;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.375rem !important;
	font-weight: 600;
}

.wf-uk-lage__zusatz {
	color: var(--wf-uk-leise);
}

/* --------------------------------------------------------------------------
   Vorteile (Gutenberg-Gruppe mit Klasse wf-uk-vorteile)
   -------------------------------------------------------------------------- */

.wf-uk-vorteile .wf-uk-vorteil {
	height: 100%;
	padding: 24px 20px;
	border: 1px solid var(--wf-uk-linie);
	border-radius: var(--wf-uk-radius);
	background: #fff;
}

.wf-uk-vorteile .wf-uk-vorteil h3 {
	margin: 0 0 8px;
	color: var(--wf-uk-rot);
	font-size: 1.375rem;
}

.wf-uk-vorteile .wf-uk-vorteil p {
	margin: 0;
	font-size: .9375rem;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Ab 600 px
   -------------------------------------------------------------------------- */

@media (min-width: 600px) {
	.wf-uk-buchen {
		padding: 24px;
	}

	.wf-uk-buchen__felder {
		grid-template-columns: 1fr 1fr 1fr;
	}

	.wf-uk-feld--zahl {
		grid-column: auto;
	}

	.wf-uk-raster {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wf-uk-filter {
		padding: 20px 24px;
	}

	.wf-uk-filter__gruppe {
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: center;
	}

	.wf-uk-filter__chips {
		flex-wrap: wrap;
		margin: 0;
		padding: 0;
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.wf-uk-filter__reset {
		margin-left: 104px;
	}

	.wf-uk-lage__adressen {
		grid-template-columns: 1fr 1fr;
	}
}

/* --------------------------------------------------------------------------
   Ab 900 px
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
	.wf-uk-abschnitt {
		padding: 80px 0;
	}

	.wf-uk-buchen-wrap {
		margin-top: -64px;
	}

	.wf-uk-buchen {
		padding: 24px 28px;
	}

	.wf-uk-buchen__felder {
		grid-template-columns: 1fr 1fr 180px;
	}

	.wf-uk-buchen__fuss {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.wf-uk-buchen__los {
		width: auto;
		margin-left: auto;
	}

	.wf-uk-haeuser {
		grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
		align-items: stretch;
	}

	.wf-uk-abstand {
		flex-direction: column;
		padding: 40px 0;
	}

	.wf-uk-abstand__linie {
		width: 0;
		height: auto;
		border-top: 0;
		border-left: 1px dashed var(--wf-uk-linie-stark);
	}

	.wf-uk-haus__inhalt {
		padding: 28px 32px 32px;
	}

	.wf-uk-haus__fuss {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.wf-uk-haus__fuss .wf-uk-btn {
		width: auto;
	}

	.wf-uk-mobilleiste {
		display: none !important;
	}

	/* Dialog als Fenster mit Galerie links, Text rechts */
	.wf-uk-dialog {
		width: min(1080px, calc(100vw - 64px));
		height: auto;
		max-height: calc(100vh - 64px);
		margin: auto;
		border-radius: var(--wf-uk-radius);
		box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
	}

	.wf-uk-dialog__rahmen {
		height: auto;
	}

	.wf-uk-dialog__inhalt {
		height: auto;
		max-height: calc(100vh - 64px);
	}

	.wf-uk-dialog__inhalt .wf-uk-detail {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		align-items: start;
	}

	.wf-uk-dialog__inhalt .wf-uk-galerie {
		position: sticky;
		top: 0;
	}

	.wf-uk-dialog__inhalt .wf-uk-galerie__bild {
		aspect-ratio: 4 / 3.4;
	}

	.wf-uk-dialog__inhalt .wf-uk-detail__text {
		padding: 32px 32px 32px;
	}

	.wf-uk-lage {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
		gap: 40px;
	}

	.wf-uk-lage__adressen {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Ab 1100 px
   -------------------------------------------------------------------------- */

@media (min-width: 1100px) {
	.wf-uk-raster {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Mobile Leiste darf den Seitenfuß nicht verdecken */
@media (max-width: 899px) {
	body:has(.wf-uk-mobilleiste:not([hidden])) {
		padding-bottom: 76px;
	}

	html:has(.wf-uk-mobilleiste:not([hidden])) {
		scroll-padding-bottom: 90px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wf-uk *,
	.wf-uk *::before,
	.wf-uk *::after {
		transition: none !important;
		animation: none !important;
	}

	.wf-uk-karte:hover .wf-uk-karte__bild img {
		transform: none;
	}
}

@media print {
	.wf-uk-buchen-wrap,
	.wf-uk-filter,
	.wf-uk-mobilleiste,
	.wf-uk-dialog,
	.wf-uk-karte__aktionen {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   Seitenbausteine aus dem Editor (Seite /unterkuenfte)
   -------------------------------------------------------------------------- */

/* Rahmen um den Shortcode: gleiche Breite wie die übrigen Abschnitte */
.wf-uk-seite > .wf-uk {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 16px;
}

@media (min-width: 600px) {
	.wf-uk-seite > .wf-uk {
		padding-inline: 24px;
	}
}

/* Roter CTA-Button in Gutenberg-Buttons (Klasse wf-uk-cta) */
.wp-block-button.wf-uk-cta .wp-block-button__link {
	border: 2px solid var(--wf-cta, #da3743);
	background-color: var(--wf-cta, #da3743);
	color: #fff !important;
}

/* Mit !important: Die Theme-Regel für gefüllte Buttons setzt den Hover per !important auf transparent (style.css um Z. 564). */
.wp-block-button.wf-uk-cta .wp-block-button__link:hover,
.wp-block-button.wf-uk-cta .wp-block-button__link:focus-visible {
	border-color: var(--wf-cta-hover, #b92f39) !important;
	background-color: var(--wf-cta-hover, #b92f39) !important;
	color: #fff !important;
}

.wp-block-button.wf-uk-cta .wp-block-button__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.wf-uk-abschluss .wp-block-button.wf-uk-cta .wp-block-button__link:focus-visible {
	outline-color: var(--color-primary, #7a1b2d);
}

/* Titelbild: Platz für die überlappende Buchungsleiste */
.wf-uk-hero.wp-block-cover {
	padding-bottom: 72px;
}

/* Häufige Fragen */
.wf-uk-faq .wp-block-details {
	margin: 0 0 12px;
	padding: 0;
	border: 1px solid var(--wf-uk-linie, #e4dacb);
	border-radius: var(--border-radius, 4px);
	background: #fff;
}

.wf-uk-faq .wp-block-details summary {
	position: relative;
	min-height: 56px;
	padding: 16px 52px 16px 20px;
	font-family: var(--font-heading, 'Cormorant Garamond', Georgia, serif);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.wf-uk-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wf-uk-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 1.5px solid var(--color-primary, #7a1b2d);
	border-bottom: 1.5px solid var(--color-primary, #7a1b2d);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

.wf-uk-faq .wp-block-details[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.wf-uk-faq .wp-block-details summary:focus-visible {
	outline: 2px solid var(--color-primary, #7a1b2d);
	outline-offset: -2px;
}

.wf-uk-faq .wp-block-details > p {
	margin: 0;
	padding: 0 20px 20px;
	font-size: 1rem;
	line-height: 1.65;
}

.wf-uk-vorteile .wf-uk-vorteil a,
.wf-uk-faq a,
.wf-uk-weiter a {
	color: var(--color-primary, #7a1b2d);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wf-uk-abschluss .wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid var(--color-primary, #7a1b2d);
	color: var(--color-primary, #7a1b2d);
}

.wf-uk-abschluss .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--color-primary, #7a1b2d);
	color: #fff !important;
}


/* Handy: Fließtext mindestens 16 px, Knöpfe und Kurztexte mindestens 14 px (Zwischenabnahme TZ-02, 20.11.2026).
   Die Großbuchstaben-Etiketten (Overline, Filtertitel, Zähler) bleiben bewusst bei 12 px. Ab 769 px unverändert. */
@media (max-width: 768px) {
	.wf-uk-buchen__hinweis,
	.wf-uk-haus__unterzeile,
	.wf-uk-haus__vorteile li,
	.wf-uk-ausstattung li,
	.wf-uk-gruppe__kopf p,
	.wf-uk-karte__text,
	.wf-uk-lage__plan figcaption,
	.wf-uk-lage__adresse p,
	.wf-uk-vorteile .wf-uk-vorteil p {
		font-size: 1rem;
	}

	.wf-uk-detail__anzahl,
	.wf-uk-detail__haus {
		font-size: 1rem !important;
	}

	.wf-uk-feld label,
	.wf-uk-mobilleiste__info,
	.wf-uk-karte__bildzahl,
	.wf-uk-abstand__text {
		font-size: .875rem;
	}

	/* Bei 320 px passt „Reisedaten“ sonst nicht in die Zeile neben dem Knopf. */
	.wf-uk-mobilleiste__info {
		overflow-wrap: break-word;
		hyphens: auto;
	}

	/* 14 px mit engerer Laufweite: so breit wie vorher 13 px mit .1em, die Knöpfe brechen nicht öfter um. */
	.wf-uk-btn {
		font-size: .875rem;
		letter-spacing: .04em;
	}
}
