/* com.on WEZ – Weihnachtslayout (Live-Zusatz). Greift nur mit body.wez-weihnachten. */

/* Kopfzeile: Lichtstrahlen und Tannengrün, gerade Unterkante */
body.wez-weihnachten header#site-header:before {
	background-color: #1f2a1c;
	background-image: url('header-weihnachten-2560.jpg');
	background-image: image-set(url('header-weihnachten-2560.webp') type('image/webp'), url('header-weihnachten-2560.jpg') type('image/jpeg'));
	background-position: center center;
	background-size: cover;
	-webkit-mask-image: none;
	mask-image: none;
	-webkit-clip-path: none;
	clip-path: none;
}

@media (max-width: 1024px) {
	body.wez-weihnachten header#site-header:before {
		background-image: url('header-weihnachten-1280.jpg');
		background-image: image-set(url('header-weihnachten-1280.webp') type('image/webp'), url('header-weihnachten-1280.jpg') type('image/jpeg'));
	}
}

/* „Welcher ist Dein WEZ Markt?“: ohne Tafel, hell wie die übrigen Abschnitte */
body.wez-weihnachten section#mein-markt {
	background: #fff none;
	-webkit-clip-path: none;
	clip-path: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 60px 20px 70px;
}

body.wez-weihnachten section#mein-markt > h2 {
	color: #333 !important;
	-webkit-text-fill-color: #333;
}

/* Fußzeile: oben Tannengrün, dann Schnee; Haus (rechts) und Tannen (links) stehen auf der Schneekante und ragen nach oben heraus */
body.wez-weihnachten footer#footer {
	position: relative;
	z-index: 6;
	overflow: visible;
	background-color: #e4dddf;
	background-image: url('footer-gruen-v2-2560.jpg');
	background-image: image-set(url('footer-gruen-v2-2560.webp') type('image/webp'), url('footer-gruen-v2-2560.jpg') type('image/jpeg'));
	background-position: center top;
	background-size: 100% auto;
	background-repeat: no-repeat;
	-webkit-clip-path: none;
	clip-path: none;
	color: #333;
}

body.wez-weihnachten footer#footer::before,
body.wez-weihnachten footer#footer::after {
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center bottom;
}

/* Haus: 32vw breit (Seitenverhältnis 0,661), Unterkante 12,5vw unter der Oberkante */
body.wez-weihnachten footer#footer::before {
	background-image: url('deko-haus-v2.webp');
	width: 32vw;
	height: 21.2vw;
	left: 64vw;
	top: -6.4vw;
}

/* Tannen-Gruppe: 30vw breit (Seitenverhältnis 0,692) */
body.wez-weihnachten footer#footer::after {
	background-image: url('deko-baeume-v2.webp');
	width: 30vw;
	height: 20.8vw;
	left: 1vw;
	top: -7.6vw;
}

body.wez-weihnachten #footer-widgets,
body.wez-weihnachten #footer-bottom {
	position: relative;
	z-index: 1;
}


body.wez-weihnachten #footer-bottom {
	-webkit-clip-path: none;
	clip-path: none;
}

/* Inhalt erst unterhalb der Schneekante und der Figuren */
body.wez-weihnachten #footer-widgets {
	padding-top: calc(13vw + 30px);
}

/* Holztafel mit Schnee, die im Schnee steht */
body.wez-weihnachten #footer-widgets {
	padding-bottom: 90px;
}

body.wez-weihnachten #footer-widgets .footer-widgets-inner {
	position: relative;
	padding: 45px 35px 30px;
	background-color: #5a3a24;
	background-image: linear-gradient(rgba(25, 14, 6, 0.3), rgba(25, 14, 6, 0.3)), url('holz-foto3.jpg');
	background-image: linear-gradient(rgba(25, 14, 6, 0.3), rgba(25, 14, 6, 0.3)), image-set(url('holz-foto3.webp') type('image/webp'), url('holz-foto3.jpg') type('image/jpeg'));
	background-size: 100% 100%, max(100%, 1320px) auto;
	background-position: left top, left top;
	background-repeat: no-repeat, repeat-y;
	border-radius: 4px;
	box-shadow: inset 0 0 0 9px rgba(38, 22, 12, 0.55), inset 0 0 0 10px rgba(255, 230, 200, 0.12), 0 14px 28px rgba(40, 30, 40, 0.35);
}

/* Kekz mit Schneeball steht oben links auf dem Schild (Seitenverhältnis 1,183) */
body.wez-weihnachten #footer-widgets .footer-widgets-inner::before {
	content: '';
	display: block;
	position: absolute;
	z-index: 2;
	pointer-events: none;
	width: 90px;
	height: 106px;
	left: 40px;
	bottom: calc(100% - 12px);
	background: url('deko-kekz-schneeball.webp') center bottom / contain no-repeat;
}

@media (max-width: 767px) {
	body.wez-weihnachten #footer-widgets .footer-widgets-inner::before {
		width: 64px;
		height: 76px;
		left: 24px;
		bottom: calc(100% - 10px);
	}
}

/* Pfosten, die im Schnee verschwinden */
body.wez-weihnachten #footer-widgets .footer-widgets-inner::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 75px;
	display: block;
	width: auto;
	/* Pfosten stecken in kleinen Schneehügeln (Textur aus demselben Foto wie der Hintergrund) */
	background:
		url('deko-schneehuegel.webp') calc(12% - 39.5px) 100% / 150px 60px no-repeat,
		url('deko-schneehuegel.webp') calc(88% + 39.5px) 100% / 150px 60px no-repeat,
		url('deko-pfosten.webp') 12% 0 / 46px 70% no-repeat,
		url('deko-pfosten.webp') 88% 0 / 46px 70% no-repeat;
	pointer-events: none;
}

body.wez-weihnachten #footer-widgets .widget-title {
	color: #fff !important;
	font-weight: 600;
}

body.wez-weihnachten #footer-widgets,
body.wez-weihnachten #footer-widgets a,
body.wez-weihnachten #footer-widgets li,
body.wez-weihnachten #footer-widgets p {
	color: #fff !important;
}

body.wez-weihnachten #footer-widgets a {
	font-size: 17px;
	font-weight: 500;
}

body.wez-weihnachten #footer-widgets .widget-title,
body.wez-weihnachten #footer-widgets a {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.55);
}

/* Hover: kein grauer Hintergrund, kein Einrücken – WEZ-Gelb mit Unterstrich */
body.wez-weihnachten #footer-widgets .footer-widget a:hover,
body.wez-weihnachten #footer-widgets .footer-widget a:focus,
body.wez-weihnachten #footer-widgets a:hover,
body.wez-weihnachten #footer-widgets a:focus {
	background: none !important;
	padding-left: 0 !important;
	color: #ffd500 !important;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

body.wez-weihnachten #footer-widgets a:focus-visible {
	outline: 2px solid #ffd500;
	outline-offset: 3px;
}

@media (max-width: 1024px) {
	body.wez-weihnachten footer#footer {
		background-image: url('footer-gruen-v2-1280.jpg');
		background-image: image-set(url('footer-gruen-v2-1280.webp') type('image/webp'), url('footer-gruen-v2-1280.jpg') type('image/jpeg'));
	}
}

/* Handy: eigener Ausschnitt, darunter Schneefläche im Hochformat; Figuren größer */
@media (max-width: 767px) {
	body.wez-weihnachten footer#footer {
		background-image: url('footer-gruen-v2-mobil.webp'), url('footer-schnee-kachel.webp');
		background-size: 100% auto, 100% auto;
		background-position: center top, center 37vw;
		background-repeat: no-repeat, repeat-y;
	}
	body.wez-weihnachten footer#footer::before {
		width: 62vw;
		height: 41vw;
		left: 38vw;
		top: -5.6vw;
	}
	body.wez-weihnachten footer#footer::after {
		width: 54vw;
		height: 37.4vw;
		left: -3vw;
		top: -4.6vw;
	}
	body.wez-weihnachten #footer-widgets {
		padding-top: calc(32vw + 40px);
	}
	body.wez-weihnachten #footer-widgets .footer-widgets-inner {
		margin-left: 12px;
		margin-right: 12px;
		width: auto;
		padding: 35px 20px 20px;
	}
}

/* Preisstörer der Angebote in Gold */
body.wez-weihnachten .angebot__item-price__container {
	background: #d4b063;
	background-image: linear-gradient(90deg, #d4b063 0%, #d4b063 20%, #b8944a 100%);
}

/* Startseite: Karussell „Weihnachtliche Rezepte“ (Demo) */
.wez-xr {
	position: relative;
	padding: 70px 0 60px;
	background-color: #e9e4e6;
	background-image: url('rezepte-hg-2560.jpg');
	background-image: image-set(url('rezepte-hg-2560.webp') type('image/webp'), url('rezepte-hg-2560.jpg') type('image/jpeg'));
	background-position: center top;
	background-size: cover;
}

@media (max-width: 1024px) {
	.wez-xr {
		background-image: url('rezepte-hg-1280.jpg');
		background-image: image-set(url('rezepte-hg-1280.webp') type('image/webp'), url('rezepte-hg-1280.jpg') type('image/jpeg'));
	}
}

.wez-xr__kopf {
	text-align: center;
	padding-bottom: 50px;
}

@media (max-width: 767px) {
	.wez-xr__kopf { padding-bottom: 35px; }
}

.wez-xr .wez-xr__titel {
	color: #fff;
	margin-bottom: 10px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.wez-xr__text {
	color: #fff;
	font-size: 18px;
	margin-bottom: 25px;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.wez-xr__buehne {
	position: relative;
}

.wez-xr__reiter {
	display: inline-flex;
	gap: 6px;
	padding: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.wez-xr__reiter [role="tab"] {
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #333;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.wez-xr__reiter [role="tab"]:hover {
	background: #f1ede6;
}

.wez-xr__reiter [role="tab"][aria-selected="true"] {
	background: #ffd500;
	color: #333;
}

.wez-xr__reiter [role="tab"]:focus-visible {
	outline: 3px solid #333;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.wez-xr__reiter [role="tab"] { padding: 9px 14px; font-size: 15px; }
}

.wez-xr__liste {
	display: flex;
	gap: 20px;
	margin: -10px -16px -22px;
	padding: 10px 16px 40px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-padding: 0 16px;
}

.wez-xr__liste::-webkit-scrollbar {
	display: none;
}

.wez-xr__liste:focus-visible {
	outline: 2px solid #ffd500;
	outline-offset: 4px;
}

.wez-xr__karte {
	flex: 0 0 calc((100% - 60px) / 4);
	scroll-snap-align: start;
	margin: 0;
}

@media (max-width: 1024px) {
	.wez-xr__karte { flex-basis: calc((100% - 40px) / 3); }
}

@media (max-width: 767px) {
	.wez-xr { padding: 50px 0 40px; }
	.wez-xr__karte { flex-basis: 78%; }
}

.wez-xr__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 8px 18px rgba(30, 30, 40, 0.18);
	color: #333;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wez-xr__link:hover,
.wez-xr__link:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(30, 30, 40, 0.25);
	color: #333;
}

.wez-xr__link:focus-visible {
	outline: 3px solid #ffd500;
	outline-offset: 2px;
}

.wez-xr__bild {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.wez-xr__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wez-xr__name {
	display: block;
	padding: 16px 18px 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

.wez-xr__mehr {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 6px 18px 18px;
	font-size: 15px;
}

.wez-xr__pfeil {
	position: absolute;
	top: calc(50% - 30px);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #333;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.wez-xr__pfeil[hidden] { display: none; }
.wez-xr__pfeil:disabled { opacity: 0; pointer-events: none; }
.wez-xr__pfeil:hover { background: #ffd500; }
.wez-xr__pfeil:focus-visible { outline: 3px solid #ffd500; outline-offset: 2px; }
.wez-xr__pfeil--zurueck { left: -10px; }
.wez-xr__pfeil--weiter { right: -10px; }

@media (max-width: 767px) {
	.wez-xr__pfeil { display: none; }
}

.wez-xr__alle {
	margin: 25px auto 0;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.wez-xr__link { transition: none; }
	.wez-xr__link:hover, .wez-xr__link:focus-visible { transform: none; }
}

/* Angebote mit App-Preis: Titel volle Breite, Siegel (Platzhalter rechts) neben der Beschreibung */
body.wez-weihnachten .wez-app-umgebaut .angebot__item-description-has-apppreis {
	width: 100%;
}

body.wez-weihnachten .wez-app-umgebaut .angebot__item-description-has-apppreis p {
	display: flow-root;
}

body.wez-weihnachten .wez-app-platz {
	--s: 0.9;
	position: relative;
	float: right;
	width: calc(118px * var(--s));
	height: calc(125px * var(--s));
	margin: 4px -10px 0 8px;
}

body.wez-weihnachten .wez-app-platz .angebot__item-apppreis {
	right: 0;
	bottom: auto;
	top: 0;
	transform: scale(var(--s));
	transform-origin: right top;
}

/* Schrift wie außerhalb der Beschreibung, sonst rutscht der Preis aus dem Siegel */
body.wez-weihnachten .wez-app-platz .angebot__item-apppreis,
body.wez-weihnachten .wez-app-platz .angebot__item-apppreis * {
	font-size: 16px;
	line-height: 25px;
	font-weight: 400;
}

body.wez-weihnachten .wez-app-platz .apppreis-euro { font-size: 7rem; }
body.wez-weihnachten .wez-app-platz .apppreis-cent { font-size: 4.5rem; }

@media (min-width: 992px) and (max-width: 1199px) {
	body.wez-weihnachten .wez-app-platz { --s: 0.7; }
}

@media (max-width: 991px) {
	body.wez-weihnachten .wez-app-platz { --s: 0.6; }
}

@media (max-width: 767px) {
	body.wez-weihnachten .wez-app-platz { --s: 0.55; margin-right: -5px; }
}

/* Schneefall */
#wez-schnee {
	position: fixed;
	inset: 0;
	z-index: 9990;
	pointer-events: none;
}

#wez-schnee[hidden] { display: none; }

#wez-schnee-knopf {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9991;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #333;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
	cursor: pointer;
}

#wez-schnee-knopf:hover { background: #ffd500; }
#wez-schnee-knopf:focus-visible { outline: 3px solid #333; outline-offset: 2px; }

@media (max-width: 767px) {
	#wez-schnee-knopf { left: 10px; bottom: 10px; padding: 9px; }
	#wez-schnee-knopf .wez-schnee-text {
		position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
	}
}

#wez-schnee-knopf[hidden] { display: none; }
