/* EP Halloween – Bausteine der Halloween-Startseite ([ephw_*]-Shortcodes) */

.ephw-gp, .ephw-kammern, .ephw-reel, .ephw-countdown {
	--ephw-o: #e06a10;
	--ephw-o2: #ff8a2a;
	--ephw-creme: #f3e9dc;
	--ephw-rauch: #b5a38f;
	--ephw-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Countdown-Zeile unter der Hero-Headline ---------- */
.ephw-countdown {
	margin: 0;
	color: var(--ephw-creme);
	font-size: 15px;
	letter-spacing: 0.01em;
	opacity: 0.85;
}
.ephw-countdown b { color: var(--ephw-o2); font-weight: 700; }

/* ---------- Filmstreifen „Der Geist bringt die Preise“ ---------- */
.ephw-gp {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}
.ephw-gp-karte {
	position: relative;
	display: block;
	border-radius: 8px;
	overflow: hidden;
	background: #0e0a08;
	color: var(--ephw-creme);
	text-decoration: none;
	isolation: isolate;
	box-shadow: 0 0 0 1px rgba(224, 106, 16, 0.22);
	transition: box-shadow 200ms ease;
}
.ephw-gp-bild {
	display: block;
	aspect-ratio: 9 / 16;
}
.ephw-gp-bild video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--ephw-ease);
}
.ephw-gp-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 72px 18px 18px;
	background: linear-gradient(0deg, rgba(10, 6, 4, 0.92) 0%, rgba(10, 6, 4, 0.7) 45%, rgba(10, 6, 4, 0) 100%);
}
.ephw-gp-name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ephw-creme);
}
.ephw-gp-preis,
.ephw-gp-preis .amount,
.ephw-gp-preis bdi {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--ephw-o2) !important;
	font-variant-numeric: tabular-nums;
}
.ephw-gp-preis del,
.ephw-gp-preis del .amount,
.ephw-gp-preis del bdi {
	font-size: 15px;
	font-weight: 500;
	color: var(--ephw-rauch) !important;
	opacity: 0.85;
}
.ephw-gp-preis ins { text-decoration: none; }
.ephw-gp-preis small { display: block; font-size: 11px; color: var(--ephw-rauch); font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
	.ephw-gp-karte:hover { box-shadow: 0 0 0 1px rgba(255, 138, 42, 0.7), 0 18px 40px -20px rgba(224, 106, 16, 0.6); }
	.ephw-gp-karte:hover video { transform: scale(1.03); }
}
.ephw-gp-karte:focus-visible { outline: 2px solid var(--ephw-o2); outline-offset: 3px; }

/* Einmaliger Auftritt: Karten werden von unten aufgedeckt, gestaffelt */
.ephw-gp.ist-bereit .ephw-gp-karte {
	clip-path: inset(100% 0 0 0 round 8px);
	transition: clip-path 900ms var(--ephw-ease), box-shadow 200ms ease;
	transition-delay: calc(var(--i) * 80ms), 0ms;
}
.ephw-gp.ist-bereit.ist-da .ephw-gp-karte { clip-path: inset(0 0 0 0 round 8px); }

@media (max-width: 959px) {
	.ephw-gp {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 62%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-bottom: 4px;
	}
	.ephw-gp::-webkit-scrollbar { display: none; }
	.ephw-gp-karte { scroll-snap-align: start; }
}
@media (max-width: 569px) {
	.ephw-gp { grid-auto-columns: 78%; gap: 12px; }
}

/* ---------- Kategorie-Verzeichnis ---------- */
.ephw-index {
	--ephw-o: #e06a10;
	--ephw-o2: #ff8a2a;
	--ephw-creme: #f3e9dc;
	--ephw-rauch: #b5a38f;
	--ephw-ease: cubic-bezier(0.23, 1, 0.32, 1);
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 72px;
	align-items: center;
}
.ephw-index-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(243, 233, 220, 0.14);
}
.ephw-index-liste li { margin: 0; padding: 0; border-bottom: 1px solid rgba(243, 233, 220, 0.14); }
.ephw-index-liste li::before { content: none; }
.ephw-index-eintrag {
	display: grid;
	grid-template-columns: 1fr;
	padding: 27px 0 24px;
	color: var(--ephw-creme);
	text-decoration: none;
}
.ephw-index-mini { display: none; }
.ephw-index-name {
	display: block;
	font-size: clamp(34px, 4.6vw, 80px);
	line-height: 1;
	color: var(--ephw-creme);
	transition: transform 300ms var(--ephw-ease), color 200ms ease;
}
.ephw-index-info {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ephw-rauch);
	transition: transform 300ms var(--ephw-ease);
}
.ephw-index-eintrag.ist-an .ephw-index-name,
.ephw-index-eintrag:focus-visible .ephw-index-name { color: var(--ephw-o2); transform: translateX(18px); }
.ephw-index-eintrag.ist-an .ephw-index-info,
.ephw-index-eintrag:focus-visible .ephw-index-info { transform: translateX(18px); }
.ephw-index-eintrag:focus-visible { outline: none; }
.ephw-index-bilder {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #0e0a08;
	box-shadow: 0 0 0 1px rgba(224, 106, 16, 0.22), 0 55px 80px -40px rgba(0, 0, 0, 0.6);
}
.ephw-index-bilder img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 82% 50%;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 400ms ease, transform 900ms var(--ephw-ease);
}
.ephw-index-bilder img.ist-an { opacity: 1; transform: scale(1); }

@media (max-width: 959px) {
	.ephw-index { grid-template-columns: 1fr; gap: 0; }
	.ephw-index-bilder { display: none; }
	.ephw-index-eintrag {
		grid-template-columns: 96px 1fr;
		grid-template-rows: auto auto;
		column-gap: 18px;
		align-items: center;
		padding: 18px 0;
	}
	.ephw-index-mini {
		display: block;
		grid-row: 1 / 3;
		width: 96px;
		height: 96px;
		object-fit: cover;
		object-position: 72% 50%;
		border-radius: 6px;
	}
	.ephw-index-name { font-size: clamp(26px, 7vw, 40px); }
	.ephw-index-info { margin-top: 6px; font-size: 14px; }
	.ephw-index-eintrag.ist-an .ephw-index-name,
	.ephw-index-eintrag.ist-an .ephw-index-info { transform: none; color: inherit; }
	.ephw-index-eintrag.ist-an .ephw-index-name { color: var(--ephw-creme); }
}
@media (prefers-reduced-motion: reduce) {
	.ephw-index-name, .ephw-index-info, .ephw-index-bilder img { transition: opacity 200ms ease; transform: none !important; }
}

/* ---------- Reel hochkant ---------- */
.ephw-reel {
	position: relative;
	margin: 0 auto;
	max-width: 360px;
	border-radius: 18px;
	overflow: hidden;
	background: #0e0a08;
	box-shadow: 0 0 0 1px rgba(224, 106, 16, 0.3), 0 55px 80px -40px rgba(0, 0, 0, 0.6);
}
.ephw-reel video {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}
.ephw-reel-ton {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 8px 14px;
	border: 1px solid rgba(243, 233, 220, 0.5);
	border-radius: 10em;
	background: rgba(14, 10, 8, 0.7);
	color: var(--ephw-creme);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 200ms ease, color 200ms ease, transform 160ms ease-out;
}
.ephw-reel-ton:hover { border-color: var(--ephw-o2); color: var(--ephw-o2); }
.ephw-reel-ton:active { transform: scale(0.97); }
.ephw-reel-ton:focus-visible { outline: 2px solid var(--ephw-o2); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	.ephw-gp.ist-bereit .ephw-gp-karte { clip-path: none; transition: none; }
	.ephw-gp-bild video { transition: none; }
}

/* ---------- Oranges Rabatt-Band (Row el_class ephw-band) ---------- */
.ephw-band { background-color: #e06a10 !important; }
.ephw-band .ephw-band-titel :is(h1, h2, h3, h4, h5, h6) {
	font-size: clamp(54px, 9vw, 150px) !important;
	line-height: 0.95 !important;
	color: #141618 !important;
}
.ephw-band :is(p, .text-lead, small) { color: #1e130c !important; }

/* Theme-Aufzählungszeichen in der Kategorie-Liste ausblenden */
.ephw-index .ephw-index-liste > li {
	list-style: none !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}
.ephw-index .ephw-index-liste > li::before,
.ephw-index .ephw-index-liste > li::marker { content: none !important; display: none !important; }
@media (max-width: 569px) {
	.ephw-index-eintrag { grid-template-columns: 72px 1fr; column-gap: 14px; }
	.ephw-index-mini { width: 72px; height: 72px; }
	.ephw-index .ephw-index-name { font-size: clamp(19px, 5.4vw, 26px); overflow-wrap: anywhere; }
}

.ephw-index .ephw-index-liste { margin: 0 !important; padding: 0 !important; }
