/*
 * Elementor kann Widgets innerhalb eines Flexbox-Containers auf Inhaltsbreite
 * schrumpfen. Diese Regeln stellen sicher, dass das Hero-Widget grundsätzlich
 * die gesamte verfügbare Zeile einnimmt.
 */
.elementor-widget-odyssai-hero-element {
	width: 100% !important;
	max-width: none !important;
	align-self: stretch !important;
	flex-basis: 100% !important;
}

.elementor-widget-odyssai-hero-element > .elementor-widget-container {
	width: 100%;
	max-width: none;
}

/*
 * Durchbricht bei Bedarf auch einen "Boxed"-Elterncontainer und zieht den Hero
 * bis an beide Browserränder.
 */
.odyssai-hero--viewport-width {
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}

.odyssai-hero--container-width {
	left: auto;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.odyssai-hero {
	--odyssai-side-inset: 10vw;
	--odyssai-vertical-inset: 8vh;
	position: relative;
	display: flex;
	width: 100%;
	min-height: 82vh;
	overflow: hidden;
	isolation: isolate;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	box-sizing: border-box;
}

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

.odyssai-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: #000;
	opacity: 0.42;
	pointer-events: none;
}

.odyssai-hero--gradient.odyssai-hero--left .odyssai-hero__overlay {
	background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.08) 78%, rgba(0, 0, 0, 0) 100%);
}

.odyssai-hero--gradient.odyssai-hero--right .odyssai-hero__overlay {
	background-image: linear-gradient(270deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 42%, rgba(0, 0, 0, 0.08) 78%, rgba(0, 0, 0, 0) 100%);
}

.odyssai-hero--gradient.odyssai-hero--center .odyssai-hero__overlay {
	background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.34) 55%, rgba(0, 0, 0, 0.12) 100%);
}

.odyssai-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: inherit;
	padding-top: var(--odyssai-vertical-inset);
	padding-bottom: var(--odyssai-vertical-inset);
}

.odyssai-hero--left .odyssai-hero__inner {
	justify-content: flex-start;
	padding-left: var(--odyssai-side-inset);
	padding-right: max(24px, 4vw);
}

.odyssai-hero--right .odyssai-hero__inner {
	justify-content: flex-end;
	padding-left: max(24px, 4vw);
	padding-right: var(--odyssai-side-inset);
}

.odyssai-hero--center .odyssai-hero__inner {
	justify-content: center;
	padding-left: var(--odyssai-side-inset);
	padding-right: var(--odyssai-side-inset);
}

.odyssai-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 50%;
	gap: 18px;
	text-align: left;
}

.odyssai-hero__quote {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4em;
	margin: 0;
	color: #f1d5a5;
	font-size: clamp(0.92rem, 1.1vw, 1.12rem);
	font-style: italic;
	line-height: 1.45;
}

.odyssai-hero__quote-author {
	white-space: nowrap;
	font-size: 0.9em;
	font-style: normal;
	opacity: 0.82;
}

.odyssai-hero__heading {
	max-width: 100%;
	margin: 0;
	color: #fff;
	font-size: clamp(2.35rem, 5vw, 5.6rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.odyssai-hero__description {
	max-width: 62ch;
	margin: 0;
	color: #fff;
	font-size: clamp(1rem, 1.25vw, 1.22rem);
	line-height: 1.62;
}

.odyssai-hero__description > :first-child {
	margin-top: 0;
}

.odyssai-hero__description > :last-child {
	margin-bottom: 0;
}

.odyssai-hero__buttons {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 4px;
}

.odyssai-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 14px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 650;
	line-height: 1.2;
	transition:
		transform 180ms ease,
		background-color 180ms ease,
		color 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.odyssai-hero__button:hover,
.odyssai-hero__button:focus {
	transform: translateY(-2px);
	text-decoration: none;
}

.odyssai-hero__button:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.odyssai-hero__button--primary {
	border: 1px solid transparent;
	color: #17120d;
	background-color: #d8a652;
}

.odyssai-hero__button--primary:hover,
.odyssai-hero__button--primary:focus {
	color: #fff;
	background-color: #a86f26;
}

.odyssai-hero__button--secondary {
	border: 1px solid rgba(255, 255, 255, 0.65);
	color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.odyssai-hero__button--secondary:hover,
.odyssai-hero__button--secondary:focus {
	color: #17120d;
	background-color: #fff;
}

@media (max-width: 1024px) {
	.odyssai-hero {
		--odyssai-side-inset: 6vw;
		--odyssai-vertical-inset: 70px;
		min-height: 680px;
	}

	.odyssai-hero__content {
		max-width: 65%;
	}

	.odyssai-hero__heading {
		font-size: clamp(2.6rem, 7vw, 4.8rem);
	}
}

@media (max-width: 767px) {
	.odyssai-hero {
		--odyssai-side-inset: 24px;
		--odyssai-vertical-inset: 72px;
		min-height: 620px;
	}

	.odyssai-hero--left .odyssai-hero__inner,
	.odyssai-hero--right .odyssai-hero__inner,
	.odyssai-hero--center .odyssai-hero__inner {
		padding-left: var(--odyssai-side-inset);
		padding-right: var(--odyssai-side-inset);
	}

	.odyssai-hero__content {
		max-width: 100%;
	}

	.odyssai-hero__heading {
		font-size: clamp(2.25rem, 12vw, 3.75rem);
	}

	.odyssai-hero__buttons {
		width: 100%;
	}

	.odyssai-hero__button {
		max-width: 100%;
	}

	.odyssai-hero--gradient.odyssai-hero--left .odyssai-hero__overlay,
	.odyssai-hero--gradient.odyssai-hero--right .odyssai-hero__overlay {
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.68) 55%, rgba(0, 0, 0, 0.82) 100%);
	}
}

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

	.odyssai-hero__button:hover,
	.odyssai-hero__button:focus {
		transform: none;
	}
}
