/* EHEMOMENTE Homepage: Grundstil aller Abschnitte. Alles unter .ehm-hp, damit nichts mit Elementor kollidiert. */
.ehm-hp {
	box-sizing: border-box;
}
.ehm-hp *,
.ehm-hp *::before,
.ehm-hp *::after {
	box-sizing: inherit;
}

/* Testabschnitt */
.ehm-hp-test {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 20px;
	margin: 20px auto;
	max-width: 640px;
	border: 2px dashed #a33b5e;
	border-radius: 12px;
	background: #fdf3f6;
	color: #5a1f33;
	font: 15px/1.4 system-ui, sans-serif;
	text-align: center;
}

/* ================= Erster Abschnitt: Text links, Design-Fächer rechts ================= */
.ehm-hero {
	--beere: #aa3c66;
	--beere-d: #8e2f53;
	--tinte: #1d1d1d;
	--grau: #5e5a5c;
	position: relative;
	width: 100%;
	overflow: hidden;
	overflow: clip;
	background: #f6f8fb var(--ehm-hero-bg) center / cover no-repeat;
	color: var(--tinte);
	font-family: Montserrat, system-ui, sans-serif;
	z-index: 1;
}
/* wie im bisherigen Abschnitt: helle Fläche (90 %) über dem Blätterkranz */
.ehm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: #f6f8fb;
	opacity: .9;
	z-index: -1;
	pointer-events: none;
}
/* weiße Welle unten */
.ehm-hero__welle {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 36px;
	line-height: 0;
	transform: rotate(180deg);
	pointer-events: none;
	z-index: 0;
}
.ehm-hero__welle svg { width: calc(100% + 1.3px); height: 36px; display: block; fill: #fff; }
.ehm-hero__innen {
	position: relative;
	z-index: 1;
	max-width: 1320px;
	margin: 0 auto;
	padding: 105px 40px 190px;
	min-height: min(780px, 100vh);
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	align-items: center;
	gap: 20px;
}
.ehm-hero__titel {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	font-size: clamp(40px, 3.9vw, 56px);
	line-height: 1.1;
	color: var(--tinte);
	margin: 0 0 30px;
	letter-spacing: 0;
}
.ehm-hero__liste {
	list-style: none;
	margin: 0 0 38px;
	padding: 0;
	display: grid;
	gap: 14px;
}
.ehm-hero__liste li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}
.ehm-hero__haken {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--beere); /* wie im Original: schlichter Haken ohne Kreis */
	display: grid;
	place-items: center;
}
.ehm-hero__haken svg { width: 18px; height: 18px; }
.ehm-hero__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.ehm-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	background: var(--beere);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 17px;
	line-height: 1.2;
	padding: 17px 30px; /* wie im Original für Gäste */
	border-radius: 37px;
	transition: background .2s, transform .2s;
}
.ehm-hero__cta svg { width: 16px; height: 16px; flex: 0 0 16px; }
.ehm-hero__cta:hover { background: var(--beere-d); transform: translateY(-1px); }
/* „Demo ↗“ neben dem Button: Linie mit Abstand, die beim Überfahren von links hereingleitet (wie „Diese Demo öffnen“) */
.ehm-hero__demo {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--tinte) !important;
	text-decoration: none !important;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: .2px;
	line-height: 1.2;
	padding: 0;
	transition: color .2s;
}
.ehm-hero__demo::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -9px;
	height: 1.5px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s cubic-bezier(.22, .8, .24, 1);
}
.ehm-hero__pfeil { width: 18px; height: 18px; flex: none; }
.ehm-hero__demo:hover, .ehm-hero__demo:focus-visible { color: var(--beere) !important; }
.ehm-hero__demo:hover::after, .ehm-hero__demo:focus-visible::after { transform: scaleX(1); }
.ehm-hero__play {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tinte);
	color: #fff;
	display: grid;
	place-items: center;
}
.ehm-hero__play svg { width: 82%; height: 82%; margin-left: 2px; } /* Dreieck kräftiger, etwa wie das Original-Symbol */
.ehm-hero__bewertung { display: inline-block; margin-top: 40px; }
.ehm-hero__bewertung img { display: block; width: 420px; max-width: 100%; height: auto; }
.ehm-hero__bewertung-m, .ehm-hero__knoepfe--m, .ehm-hero__bewertung-bild-m { display: none; }

/* ---------- Fächer ---------- */
.ehm-fan {
	--w: clamp(170px, calc((100vh - 330px) * .5), 232px);
	--h: calc(var(--w) * 2.078);
	position: relative;
	height: calc(var(--h) + 120px);
	user-select: none;
	-webkit-user-select: none;
}
.ehm-fan__buehne {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: calc(var(--h) + 50px);
	touch-action: pan-y;
}
.ehm-fan__karte {
	position: absolute;
	left: 50%;
	top: 24px;
	width: var(--w);
	margin-left: calc(var(--w) / -2);
	aspect-ratio: 232 / 482;
	transform-origin: 50% 120%;
	transition: transform .7s cubic-bezier(.22, .8, .24, 1), opacity .5s ease;
	cursor: pointer;
	will-change: transform;
}
.ehm-fan__karte.ist-weg { opacity: 0; pointer-events: none; }
/* Blätter-Hinweis: das links hereinschauende Handy läuft nach außen weich aus */
.ehm-fan__karte.ist-verlauf { -webkit-mask-image: linear-gradient(to right, transparent 10%, #000 90%); mask-image: linear-gradient(to right, transparent 10%, #000 90%); }
/* Live: keine eigene Zeichenebene für das Handy, sonst flackern 3D-Animationen der Seite (Umschlag-Lasche) am Handy */
.ehm-fan__karte.ist-live { will-change: auto; }
.ehm-fan__frame { -webkit-transform-style: flat; transform-style: flat; }
/* Vor dem Skript nur das Start-Handy zeigen (die anderen liegen noch übereinander) */
.ehm-fan:not(.ist-bereit) .ehm-fan__karte:not([data-ehm-start]) { opacity: 0; transition: none; }
.ehm-fan:not(.ist-bereit) .ehm-fan__karte[data-ehm-start] { z-index: 30; transition: none; }
.ehm-fan__handy {
	position: absolute;
	inset: 0;
	border-radius: 34px;
	background: #111;
	padding: 7px;
	box-shadow: 0 26px 50px rgba(40, 20, 30, .22), inset 0 0 0 1.5px #2b2b2b;
	transition: box-shadow .4s;
}
.ehm-fan__handy::before {
	content: "";
	position: absolute;
	top: 12px; /* Kamera: deutlich kleiner als beim echten iPhone, damit sie kaum etwas von der Seite verdeckt */
	left: 50%;
	transform: translateX(-50%);
	width: 21%;
	height: 11px;
	border-radius: 20px;
	background: #111;
	z-index: 5;
	pointer-events: none;
}
.ehm-fan__karte.ist-aktiv .ehm-fan__handy { box-shadow: 0 34px 70px rgba(40, 20, 30, .32), inset 0 0 0 1.5px #2b2b2b; }
.ehm-fan__schirm {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 27px;
	overflow: hidden;
	background: #f4efeb;
}
.ehm-fan__seite {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}
.ehm-fan__platzhalter {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 22px;
	color: var(--grau);
	background: linear-gradient(160deg, #f6eee8, #ead9d1);
}
.ehm-fan__platzhalter small { font-family: Montserrat, sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ehm-fan__frame {
	position: absolute;
	left: 0;
	top: 0;
	width: 390px !important;
	max-width: none !important;
	height: 844px;
	max-height: none !important;
	margin: 0 !important;
	border: 0;
	transform-origin: 0 0;
	background: #fff;
	opacity: 0;
	transition: opacity .4s;
}
.ehm-fan__frame.ist-geladen { opacity: 1; }
.ehm-fan__frame:not(.ist-geladen) { pointer-events: none; } /* Klick geht bis dahin an die Karte */
/* Am Handy erst nach dem Antippen bedienbar, damit Wischen und Scrollen über dem Handy funktionieren */
.ehm-fan__karte:not(.ist-bedienbar) .ehm-fan__frame { pointer-events: none; }
/* Ladeanzeige: feiner Ladebalken in Beere ganz unten im Display, bis die echte Seite da ist */
.ehm-fan__lader {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	overflow: hidden;
	background: rgba(170, 60, 102, .16);
	pointer-events: none;
	z-index: 3;
}
.ehm-fan__lader::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	border-radius: 3px;
	background: var(--beere, #aa3c66);
	animation: ehm-ladebalken 1.3s cubic-bezier(.45, .05, .35, 1) infinite;
}
@keyframes ehm-ladebalken {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(250%); }
}
@media (prefers-reduced-motion: reduce) {
	.ehm-fan__lader::after { animation-duration: 2.6s; }
}

.ehm-hp .ehm-fan__pfeil {
	position: static; /* in der Zeile mit den Punkten, nicht über den Handys */
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 0 !important;
	background: #fff !important;
	color: var(--tinte) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	transition: transform .2s, opacity .3s;
}
.ehm-hp .ehm-fan__pfeil svg { width: 18px; height: 18px; }
.ehm-fan__navi { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.ehm-fan__navi .ehm-fan__punkte { margin-top: 0; }
.ehm-hp .ehm-fan__pfeil:hover, .ehm-hp .ehm-fan__pfeil:focus { transform: scale(1.06); background: #fff !important; color: var(--beere) !important; }

/* „Diese Demo öffnen“ unter den Punkten: am PC ohne Linie, beim Überfahren wächst die Linie von links;
   am Handy (kein Hover) steht die Linie fest, mit etwas Abstand zum Text */
.ehm-hp .ehm-fan__demolink {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 24px;
	padding: 0 0 4px;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	color: #3b3b3b !important;
	font-size: 14px;
	line-height: 1.3;
	text-decoration: none !important;
	transition: color .2s;
}
.ehm-hp .ehm-fan__demolink::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s cubic-bezier(.22, .8, .24, 1);
}
.ehm-hp .ehm-fan__demolink svg { width: 13px; height: 13px; }
.ehm-hp .ehm-fan__demolink:hover, .ehm-hp .ehm-fan__demolink:focus-visible { color: var(--beere) !important; background: transparent !important; }
.ehm-hp .ehm-fan__demolink:hover::after, .ehm-hp .ehm-fan__demolink:focus-visible::after { transform: scaleX(1); }
.ehm-hp .ehm-fan__demolink.ist-wechsel { animation: ehm-demowechsel .6s cubic-bezier(.4, 0, .2, 1); }
@keyframes ehm-demowechsel {
	0% { opacity: 1; transform: translateX(0); }
	40% { opacity: 0; transform: translateX(calc(var(--ehm-r, 1) * -24px)); }
	41% { opacity: 0; transform: translateX(calc(var(--ehm-r, 1) * 24px)); }
	100% { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .ehm-hp .ehm-fan__demolink.ist-wechsel { animation: none; } }
@media (hover: none), (pointer: coarse) {
	.ehm-hp .ehm-fan__demolink { padding-bottom: 7px; }
	.ehm-hp .ehm-fan__demolink::after { transform: scaleX(1); transition: none; }
}
.ehm-fan__unten {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--h) + 34px); /* Punkte dicht unter den Handys */
	text-align: center;
}
.ehm-fan__titel {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
}
.ehm-fan__titel em { font-style: italic; color: var(--beere); }
.ehm-fan__hinweis { font-size: 12.5px; color: var(--grau); margin-top: 6px; letter-spacing: .02em; }
.ehm-fan__live-leiste { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.ehm-fan__live-leiste[hidden] { display: none; }
.ehm-hp .ehm-fan__schliessen, .ehm-hp .ehm-fan__oeffnen {
	font: 600 13px/1 Montserrat, sans-serif;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid #e6dcd5 !important;
	background: #fff !important;
	color: var(--tinte) !important;
	text-decoration: none !important;
	cursor: pointer;
}
.ehm-hp .ehm-fan__oeffnen { background: var(--beere) !important; border-color: var(--beere) !important; color: #fff !important; }
.ehm-fan__punkte { display: flex; gap: 7px; justify-content: center; margin-top: 14px; }
.ehm-hp .ehm-fan__punkte button {
	width: 7px;
	height: 7px;
	min-height: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 6px;
	background: #e0d4cc !important;
	cursor: pointer;
	transition: width .3s, background .3s;
}
.ehm-hp .ehm-fan__punkte button.ist-aktiv { width: 22px; background: var(--beere) !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.ehm-hero__innen { padding: 100px 24px 190px; gap: 0; }
	.ehm-fan { --w: clamp(170px, calc((100vh - 330px) * .5), 208px); }
}

/* ---------- Handy und schmale Tablets ---------- */
@media (max-width: 860px) {
	/* Blätterkranz im Hintergrund am Handy etwas höher, damit er hinter Titel und Handys sitzt */
	.ehm-hero { background-position: center -50px; }
	.ehm-hero__innen {
		display: flex;
		flex-direction: column;
		min-height: 0;
		padding: 86px 20px 150px;
		text-align: center;
	}
	.ehm-hero__bewertung-m {
		display: inline-block;
		font-size: 12px; /* Original: 11px */
		color: #333 !important;
		text-decoration: none !important;
		margin-bottom: 14px;
	}
	.ehm-hero__sterne { color: #f2b01e; letter-spacing: 1px; }
	.ehm-hero__titel { font-size: clamp(32px, 9.4vw, 40px); margin: 0; }
	.ehm-hero__liste, .ehm-hero__text .ehm-hero__knoepfe, .ehm-hero__bewertung { display: none; }
	.ehm-fan { --w: 200px; width: 100%; margin-top: 16px; height: calc(var(--h) + 134px); }
	.ehm-fan__unten { top: calc(var(--h) + 30px); }
	.ehm-fan__karte { top: 18px; }
	.ehm-fan__titel { font-size: 24px; }
	/* Handy wie auf der bisherigen Startseite: Button, darunter „Demo ansehen“, darunter die Bewertungen */
	.ehm-hero__knoepfe--m { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 0; margin-top: 28px; }
	.ehm-hero__knoepfe--m .ehm-hero__cta { width: 100%; padding: 15px 33px; font-size: 16px; line-height: 16px; }
	/* am Handy dauerhaft unterstrichen, Linie unter Text und Symbol, mit Abstand wie im Original */
	.ehm-hero__knoepfe--m .ehm-hero__demo { margin: 24px 0 0; font-size: 14px; padding-bottom: 11px; border-bottom: 1.5px solid var(--tinte); text-decoration: none !important; }
	.ehm-hero__knoepfe--m .ehm-hero__play { width: 18px; height: 18px; }
	.ehm-hero__bewertung-bild-m { display: block; margin-top: 76px; } /* „Demo ansehen“ ist am Handy weggefallen */
	.ehm-hero__bewertung-bild-m img { display: block; width: 294px; max-width: 100%; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.ehm-fan__karte { transition: none; }
}

/* Handy: Berührungen auf dem mittleren Handy gehen an den Fächer (Wischen wie bei Fotos, Scrollen wird weitergereicht) */
@media (hover: none), (pointer: coarse) {
	.ehm-fan__karte.ist-aktiv.ist-fern .ehm-fan__schirm { touch-action: none; }
	/* geschlossener Umschlag: senkrecht wischen scrollt die Startseite, seitlich blättert der Fächer */
	.ehm-fan__karte.ist-aktiv.ist-fern.hat-umschlag:not([data-offen]) .ehm-fan__schirm { touch-action: pan-y; }
}

/* Kein blaues Aufleuchten beim Antippen (Handy) */
.ehm-fan, .ehm-fan * { -webkit-tap-highlight-color: transparent; }

/* Tipp-Hand auf dem Umschlag (nur Hinweis, Klicks gehen hindurch an den Umschlag) */
.ehm-fan__tipp {
	position: absolute;
	left: 50%;
	top: calc(24px + var(--h) * .63);
	width: 38px;
	height: 38px;
	margin-left: -19px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .8);
	color: #333;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
	display: grid;
	place-items: center;
	z-index: 30;
	pointer-events: none;
	opacity: 0;
	transform: scale(.8);
	transition: opacity .35s, transform .35s;
}
.ehm-fan__tipp svg { width: 21px; height: 21px; }
.ehm-fan__tipp.ist-da { opacity: 1; transform: scale(1); animation: ehm-tipp 1.4s ease-in-out .3s 2; }
.ehm-fan__tipp::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .9);
	opacity: 0;
}
.ehm-fan__tipp.ist-da::after { animation: ehm-welle 1.4s ease-out .3s 2; }
@keyframes ehm-tipp { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(.88); } }
@keyframes ehm-welle { 0%, 25% { opacity: 0; transform: scale(1); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.7); } }
@media (prefers-reduced-motion: reduce) { .ehm-fan__tipp.ist-da, .ehm-fan__tipp.ist-da::after { animation: none; } }

/* Scroll-Hinweis: zweimal kurz nach dem Laden einer Seite (Maus am PC, wischende Hand am Handy) */
.ehm-fan__scroll {
	position: absolute;
	left: 50%;
	top: calc(24px + var(--h) * .74); /* unteres Drittel */
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .8);
	color: #333;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .15);
	display: grid;
	place-items: center;
	z-index: 30;
	pointer-events: none;
	opacity: 0;
}
.ehm-fan__scroll svg { width: 22px; height: 22px; display: none; }
.ehm-fan__scroll.ist-maus .ehm-fan__scroll-maus, .ehm-fan__scroll.ist-hand .ehm-fan__scroll-hand { display: block; }
/* bleibt stehen, bis gescrollt oder getippt wird; bewegt sich in Abständen */
.ehm-fan__scroll { transition: opacity .3s, transform .3s; transform: scale(.85); }
.ehm-fan__scroll.ist-da { opacity: 1; transform: scale(1); }
.ehm-fan__scroll.ist-da .ehm-fan__rad { animation: ehm-rad 2.4s ease-in-out .3s infinite; }
.ehm-fan__scroll.ist-hand.ist-da .ehm-fan__scroll-hand { animation: ehm-wisch 2.4s ease-in-out .3s infinite; }
@keyframes ehm-rad { 0% { transform: translateY(0); opacity: 1; } 30% { transform: translateY(6px); opacity: 0; } 31% { transform: translateY(0); opacity: 0; } 50%, 100% { opacity: 1; transform: translateY(0); } }
@keyframes ehm-wisch { 0% { transform: translateY(8px); } 30% { transform: translateY(-8px); } 50%, 100% { transform: translateY(8px); } }
/* Fang-Fläche über der Live-Seite (PC), bis zur ersten Bedienung */
.ehm-fan__fang { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .ehm-fan__scroll.ist-da, .ehm-fan__scroll.ist-da * { animation: none !important; } }

/* Der folgende Elementor-Abschnitt ragt nach oben (-90px). Sein Deko-Foto hinter dem
   Schriftzug lag sonst unsichtbar über den Knöpfen des Fächers. */
.elementor-element-9f7bc26,
.elementor-element-9f7bc26 * { pointer-events: none; }
