/* Eiman Design 1.0 — Premium-Hero, einheitliche Schrift, Feinschliff, Footer-Links */

@font-face {
	font-family: 'Eiman Cinzel';
	src: url('../fonts/cinzel.woff2') format('woff2');
	font-weight: 400 900;
	font-display: swap;
}

/* ============================================================ Hero */

.eiman-hero {
	--gold: #c9a45c;
	--gold-deep: #a3671f;
	position: relative;
	overflow: hidden;
	min-height: min(34vh, 320px);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: #241a10;
	margin-bottom: 40px;
}

.eiman-hero * ,
.eiman-hero *::before,
.eiman-hero *::after {
	box-sizing: border-box;
}

.eiman-hero__bg {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
	animation: eiman-hero-zoom 18s ease-out both;
	/* Color grade: calms an oversaturated phone photo (harsh blue sky, cold
	   shadows) into a warmer, more cinematic tone that matches the gold/ink
	   brand palette, without touching the original image file. */
	filter: saturate(0.82) contrast(1.06) brightness(0.97) sepia(0.1);
}

/* Warm duotone wash + soft vignette on top of the photo, underneath the
   existing dark gradient — this is what actually unifies the tone. */
.eiman-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(120% 90% at 50% 15%, transparent 55%, rgba(10, 7, 4, 0.35) 100%),
		linear-gradient(180deg, rgba(58, 38, 16, 0.28), rgba(20, 13, 6, 0.18) 55%, rgba(20, 13, 6, 0.4));
	mix-blend-mode: multiply;
	pointer-events: none;
}

.eiman-hero__bg--placeholder {
	background: radial-gradient(120% 100% at 50% 0%, #4a3419, #241a10 70%);
}

@keyframes eiman-hero-zoom {
	from { transform: scale(1.06); }
	to   { transform: scale(1); }
}

.eiman-hero__admin-note {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	padding: 6px 12px;
	border-radius: 6px;
	background: #b32d2e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
}

.eiman-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(14, 10, 6, 0.92) 4%, rgba(14, 10, 6, 0.55) 42%, rgba(14, 10, 6, 0.22) 100%);
}

.eiman-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 22px 20px 20px;
	text-align: center;
	color: #fff;
}

.eiman-hero__name-wrap {
	position: relative;
	display: inline-block;
	padding: 10px 26px;
}

.eiman-hero__name {
	font-family: 'Eiman Cinzel', Georgia, serif;
	font-weight: 700;
	font-size: clamp(26px, 7.6vw, 50px);
	line-height: 1.05;
	margin: 0;
	color: #f6ecd8;
	text-shadow: 0 3px 22px rgba(0, 0, 0, 0.45);
	opacity: 0;
	animation: eiman-hero-name 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s both;
}

@keyframes eiman-hero-name {
	from { opacity: 0; letter-spacing: 0.34em; transform: translateY(10px); }
	to   { opacity: 1; letter-spacing: 0.1em; transform: none; }
}

/* Thin gold rectangle that traces itself around the name once it has
   settled: top and bottom grow outward from the centre, then left and
   right grow from the middle — drawn, not just faded in. */
.eiman-hero__name-frame {
	position: absolute;
	background: var(--gold);
	opacity: 0;
}

.eiman-hero__name-frame--top,
.eiman-hero__name-frame--bottom {
	left: 50%;
	height: 2px;
	width: 0;
	transform: translateX(-50%);
	animation: eiman-hero-frame-x 0.4s ease-out 0.75s both;
}

.eiman-hero__name-frame--top { top: 0; }
.eiman-hero__name-frame--bottom { bottom: 0; }

.eiman-hero__name-frame--left,
.eiman-hero__name-frame--right {
	top: 50%;
	width: 2px;
	height: 0;
	transform: translateY(-50%);
	animation: eiman-hero-frame-y 0.35s ease-out 1.05s both;
}

.eiman-hero__name-frame--left { left: 0; }
.eiman-hero__name-frame--right { right: 0; }

@keyframes eiman-hero-frame-x {
	from { opacity: 1; width: 0; }
	to   { opacity: 1; width: 100%; }
}

@keyframes eiman-hero-frame-y {
	from { opacity: 1; height: 0; }
	to   { opacity: 1; height: 100%; }
}

.eiman-hero__rule {
	display: block;
	width: 0;
	height: 2px;
	margin: 16px auto 0;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	animation: eiman-hero-rule 0.5s ease 1.3s both;
}

@keyframes eiman-hero-rule {
	to { width: 150px; }
}

.eiman-hero__subline {
	margin: 12px auto 0;
	max-width: 30em;
	font-size: clamp(14px, 3.6vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.93);
	opacity: 0;
	animation: eiman-hero-up 0.5s ease 1.4s both;
}

.eiman-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 18px;
	opacity: 0;
	animation: eiman-hero-up 0.5s ease 1.55s both;
}

.eiman-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eiman-hero__btn:hover {
	transform: translateY(-2px);
}

.eiman-hero__btn--gold {
	background: linear-gradient(135deg, var(--gold), var(--gold-deep));
	color: #1b1208;
	box-shadow: 0 10px 26px rgba(163, 103, 31, 0.45);
}

.eiman-hero__btn--gold:hover {
	color: #1b1208;
}

.eiman-hero__btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	color: #fff;
}

.eiman-hero__btn--ghost:hover {
	color: #fff;
	border-color: #fff;
}

.eiman-hero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.8);
	opacity: 0;
	animation: eiman-hero-up 0.5s ease 1.7s both;
}

.eiman-hero__trust li {
	display: flex;
	align-items: center;
	gap: 7px;
}

.eiman-hero__trust li::before {
	content: "✓";
	color: var(--gold);
	font-weight: 700;
}

@keyframes eiman-hero-up {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.eiman-hero__bg,
	.eiman-hero__name,
	.eiman-hero__name-frame,
	.eiman-hero__rule,
	.eiman-hero__subline,
	.eiman-hero__actions,
	.eiman-hero__trust {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}

	.eiman-hero__name {
		letter-spacing: 0.1em;
	}

	.eiman-hero__name-frame--top,
	.eiman-hero__name-frame--bottom {
		width: 100%;
	}

	.eiman-hero__name-frame--left,
	.eiman-hero__name-frame--right {
		height: 100%;
	}

	.eiman-hero__rule {
		width: 150px;
	}
}

/* Space at the very bottom of the page so the WhatsApp bubble and the
   sticky "Anfrage senden" bar never sit on top of the last section's text. */
body.eiman-polish {
	padding-bottom: 88px;
}

/* ============================================================ Einheitliche Schrift (Startseite) */

body.eiman-unify-font h1,
body.eiman-unify-font h2,
body.eiman-unify-font h3,
body.eiman-unify-font h4,
body.eiman-unify-font p,
body.eiman-unify-font li,
body.eiman-unify-font a,
body.eiman-unify-font button,
body.eiman-unify-font span {
	font-family: inherit !important;
	font-style: normal !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* The hero's own name and eyebrow labels are the deliberate exceptions. */
body.eiman-unify-font .eiman-hero__name {
	font-family: 'Eiman Cinzel', Georgia, serif !important;
	letter-spacing: 0.1em !important;
}

body.eiman-unify-font [class*="eyebrow"],
body.eiman-unify-font [class*="slider-title"]::before {
	text-transform: uppercase !important;
	letter-spacing: 0.2em !important;
}

/* ============================================================ Feinschliff bestehender Bereiche
 *
 * Diese Regeln sind bewusst konservativ gehalten: sie zielen auf allgemeine,
 * in WordPress/Elementor-Themes übliche Klassenmuster statt auf exakte
 * Tripfery-Klassennamen, weil uns der tatsächliche HTML-Code der Startseite
 * nicht vorliegt. Nach dem Hochladen bitte kurz prüfen, ob etwas sich nicht
 * wie gewünscht ändert — dann feilen wir anhand des echten Markups nach.
 * ========================================================================= */

body.eiman-polish main,
body.eiman-polish #content,
body.eiman-polish .site-content {
	overflow-x: hidden;
}

/* Textblöcke auf der Startseite: linksbündig statt zentriert, lesbare Breite. */
body.eiman-polish main p:not([class]),
body.eiman-polish main > .elementor-widget-text-editor p {
	max-width: 62ch;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

/* "Warum Eiman Tours"-Karten: einheitliche Kanten und Goldakzent statt reinem Weiß-auf-Blau. */
body.eiman-polish [class*="why"] > div > div,
body.eiman-polish [class*="warum"] > div > div {
	border-left: 3px solid #c9a45c;
	border-radius: 10px;
}

/* ============================================================ Footer-Links */

.eiman-footer-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 34px 20px;
	color: inherit;
}

@media (min-width: 640px) {
	.eiman-footer-links {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 980px) {
	.eiman-footer-links {
		grid-template-columns: repeat(4, 1fr);
	}
}

.eiman-footer-links__heading {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #c9a45c;
}

.eiman-footer-links__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eiman-footer-links__col li {
	margin: 0 0 8px;
}

.eiman-footer-links__col a {
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	opacity: 0.85;
}

.eiman-footer-links__col a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* ============================================================ Info-Karten */

.eiman-cards {
	margin: 44px 0;
	padding: 0 4px;
}

.eiman-cards__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	max-width: 1160px;
	margin: 0 auto;
}

@media (min-width: 720px) {
	.eiman-cards__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.eiman-cards__item {
	padding: 30px 26px 28px;
	background: #fffdf8;
	border: 1px solid rgba(201, 164, 92, 0.3);
	border-radius: 16px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eiman-cards__item:hover {
	transform: translateY(-4px);
	border-color: #c9a45c;
	box-shadow: 0 16px 34px rgba(27, 24, 21, 0.1);
}

.eiman-cards__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(201, 164, 92, 0.14);
	color: #a3671f;
}

.eiman-cards__title {
	margin: 0 0 10px;
	font-size: 19px;
	font-weight: 700;
	color: #1b1815;
}

.eiman-cards__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #4a443c;
}

.eiman-cards__text a {
	color: #a3671f;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(163, 103, 31, 0.4);
}

.eiman-cards__text a:hover {
	border-color: #a3671f;
}

/* ============================================================ Warum Eiman Tours */

.eiman-why {
	margin: 44px 0;
	padding: 40px 24px;
	background: linear-gradient(180deg, #fbf7ee, #f4ead4);
	border-radius: 20px;
}

.eiman-why__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.eiman-why__title {
	margin: 0 0 14px;
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 700;
	color: #1b1815;
}

.eiman-why__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin: 14px auto 0;
	background: #c9a45c;
}

.eiman-why__intro {
	margin: 0 auto;
	max-width: 56ch;
	font-size: 16px;
	line-height: 1.7;
	color: #4a443c;
}

.eiman-why__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 26px;
	max-width: 620px;
	margin: 28px auto 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

@media (min-width: 620px) {
	.eiman-why__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.eiman-why__list li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.5;
	color: #1b1815;
	font-weight: 600;
}

.eiman-why__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #c9a45c;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.eiman-why__outro {
	margin: 26px auto 0;
	max-width: 56ch;
	font-size: 15px;
	line-height: 1.65;
	color: #4a443c;
}
