/*
 * Datei-Info
 * Letzte Änderung: 19.05.2026
 * Uhrzeit: 23:45 Uhr
 * Version: v1.0.2
 *
 * JuBo Universal Landingpage
 * Scope: ausschließlich .jubo-universal-page / .jubo-universal-*.
 */

.jubo-universal-page {
	--jubo-white-rock: #e7e7d9;
	--jubo-bombay: #b4babc;
	--jubo-dim-gray: #67646c;
	--jubo-chicago: #545c56;
	--jubo-zeus: #272119;
	--jubo-deco: #dad99b;
	--jubo-golden-dream: #f4dd30;
	--jubo-dark-goldenrod: #b7890a;
	--jubo-shadow: #81744e;
	--jubo-raw-umber: #6f5113;
	--jubo-container: 1280px;
	--jubo-radius-xl: 38px;
	--jubo-radius-lg: 30px;
	--jubo-radius-md: 22px;
	--jubo-line: rgba(183, 137, 10, 0.24);
	--jubo-soft-line: rgba(39, 33, 25, 0.1);
	--jubo-shadow-soft: 0 24px 70px rgba(39, 33, 25, 0.16);
	--jubo-shadow-dark: 0 30px 88px rgba(0, 0, 0, 0.32);
	background: var(--jubo-white-rock);
	color: var(--jubo-zeus);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	overflow: hidden;
}

.jubo-universal-page *,
.jubo-universal-page *::before,
.jubo-universal-page *::after {
	box-sizing: border-box;
}

.jubo-universal-page a {
	color: inherit;
	text-decoration: none;
}

.jubo-universal-shell {
	width: min(calc(100% - clamp(38px, 8vw, 132px)), var(--jubo-container));
	margin-inline: auto;
}

.jubo-universal-page h1,
.jubo-universal-page h2,
.jubo-universal-page p {
	margin-top: 0;
}

.jubo-universal-page h1,
.jubo-universal-page h2 {
	color: inherit;
	font-family: inherit;
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1;
}

.jubo-universal-page h1 {
	max-width: 980px;
	margin-bottom: clamp(20px, 2.2vw, 30px);
	font-size: clamp(44px, 6vw, 84px);
}

.jubo-universal-page h2 {
	max-width: 910px;
	margin-bottom: clamp(18px, 2vw, 26px);
	font-size: clamp(34px, 4.7vw, 68px);
}

.jubo-universal-page p {
	color: rgba(39, 33, 25, 0.74);
	font-family: inherit;
	font-size: clamp(16px, 1.05vw, 18px);
	line-height: 1.66;
}

.jubo-universal-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 clamp(14px, 1.25vw, 19px);
	color: var(--jubo-dark-goldenrod) !important;
	font-family: inherit;
	font-size: clamp(14px, 1.05vw, 18px) !important;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.35 !important;
	text-transform: uppercase;
}

.jubo-universal-eyebrow::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, transparent, currentColor);
}

.jubo-universal-eyebrow--light {
	color: var(--jubo-deco) !important;
}

.jubo-universal-section {
	position: relative;
	padding: clamp(50px, 5.1vw, 78px) 0;
}

.jubo-universal-section-head {
	max-width: 840px;
	margin-bottom: clamp(26px, 3.8vw, 42px);
}

.jubo-universal-section-head > p:not(.jubo-universal-eyebrow) {
	max-width: 760px;
	margin-bottom: 0;
	color: rgba(39, 33, 25, 0.76);
	font-size: clamp(16px, 1.1vw, 18px);
}

/* Hero */
.jubo-universal-hero {
	position: relative;
	isolation: isolate;
	min-height: auto;
	display: flex;
	align-items: center;
	padding: clamp(50px, 5.1vw, 78px) 0;
	background:
		radial-gradient(circle at 18% 18%, rgba(244, 221, 48, 0.16), transparent 28%),
		linear-gradient(135deg, var(--jubo-zeus), #383028 58%, var(--jubo-chicago));
	color: var(--jubo-white-rock);
	overflow: hidden;
}

.jubo-universal-hero__background {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.jubo-universal-hero__background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.015);
}

.jubo-universal-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(90deg, rgba(39, 33, 25, 0.86) 0%, rgba(39, 33, 25, 0.62) 42%, rgba(39, 33, 25, 0.2) 100%),
		linear-gradient(180deg, rgba(39, 33, 25, 0.18), rgba(39, 33, 25, 0.5));
}

.jubo-universal-hero::after {
	content: "";
	position: absolute;
	inset: auto clamp(24px, 5vw, 72px) 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(218, 217, 155, 0.42), transparent);
}

.jubo-universal-hero__inner {
	position: relative;
	z-index: 1;
}

.jubo-universal-hero__content {
	max-width: 850px;
}

.jubo-universal-hero__text {
	max-width: 770px;
	margin-bottom: 0;
	color: rgba(231, 231, 217, 0.86) !important;
	font-size: clamp(18px, 1.45vw, 23px) !important;
	line-height: 1.54 !important;
}

.jubo-universal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(26px, 3vw, 36px);
}

.jubo-universal-button {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: clamp(15.5px, 0.85vw, 17px);
	font-weight: 800;
	letter-spacing: 0.065em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;
	overflow: hidden;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.jubo-universal-button::after {
	content: "";
	position: absolute;
	top: -45%;
	bottom: -45%;
	left: -35%;
	z-index: -1;
	width: 34%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: translateX(-180%) rotate(14deg);
	transition: transform 0.62s ease;
}

.jubo-universal-button--primary {
	border-color: rgba(244, 221, 48, 0.22);
	background: linear-gradient(135deg, var(--jubo-dark-goldenrod), #d2a51a);
	color: var(--jubo-zeus) !important;
	box-shadow: 0 18px 48px rgba(183, 137, 10, 0.3);
}

.jubo-universal-button:hover,
.jubo-universal-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.jubo-universal-button:hover::after,
.jubo-universal-button:focus-visible::after {
	transform: translateX(420%) rotate(14deg);
}


/* Intro */
.jubo-universal-section--intro {
	background:
		linear-gradient(135deg, rgba(231, 231, 217, 0.98), rgba(218, 217, 155, 0.22)),
		var(--jubo-white-rock);
}

.jubo-universal-intro {
	display: grid;
	grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 74px);
	align-items: start;
}

.jubo-universal-intro__content {
	max-width: 890px;
}

.jubo-universal-intro__content p {
	max-width: 790px;
	margin-bottom: 0;
	font-size: clamp(17px, 1.22vw, 20px);
	line-height: 1.62;
}

/* Cards */
.jubo-universal-section--cards {
	background:
		radial-gradient(circle at 88% 18%, rgba(183, 137, 10, 0.16), transparent 26%),
		linear-gradient(180deg, #f3f1e2 0%, var(--jubo-white-rock) 42%, #dddcc4 100%);
}

.jubo-universal-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.2vw, 30px);
}

.jubo-universal-card {
	position: relative;
	isolation: isolate;
	display: flex;
	min-height: clamp(420px, 34vw, 510px);
	border: 1px solid rgba(183, 137, 10, 0.22);
	border-radius: var(--jubo-radius-lg);
	background: var(--jubo-zeus);
	box-shadow: var(--jubo-shadow-soft);
	overflow: hidden;
	transform: translateZ(0);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.jubo-universal-card__media,
.jubo-universal-card__shade {
	position: absolute;
	inset: 0;
}

.jubo-universal-card__media {
	z-index: -3;
	background:
		radial-gradient(circle at 26% 18%, rgba(244, 221, 48, 0.2), transparent 30%),
		linear-gradient(135deg, var(--jubo-chicago), var(--jubo-zeus));
}

.jubo-universal-card__image,
.jubo-universal-card__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.jubo-universal-card__image {
	object-fit: cover;
	object-position: center;
	transform: scale(1.02);
	transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.jubo-universal-card__image--hover {
	opacity: 0;
	transform: scale(1.05);
}

.jubo-universal-card__placeholder {
	display: grid;
	place-items: center;
	padding: 32px;
	color: rgba(231, 231, 217, 0.18);
	font-size: clamp(42px, 4vw, 72px);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.92;
	text-align: center;
}

.jubo-universal-card__shade {
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(39, 33, 25, 0.28) 0%, rgba(39, 33, 25, 0.58) 43%, rgba(39, 33, 25, 0.88) 100%),
		linear-gradient(120deg, rgba(39, 33, 25, 0.38), rgba(39, 33, 25, 0.06));
	transition: background 0.32s ease;
}

.jubo-universal-card__content {
	display: flex;
	width: 100%;
	min-height: 100%;
	flex-direction: column;
	justify-content: space-between;
	gap: clamp(22px, 2.4vw, 34px);
	padding: clamp(22px, 2.3vw, 34px);
	color: var(--jubo-white-rock);
}

.jubo-universal-card__badge {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	align-items: center;
	padding: 8px 12px;
	border: 1px solid rgba(218, 217, 155, 0.3);
	border-radius: 999px;
	background: rgba(39, 33, 25, 0.42);
	backdrop-filter: blur(10px);
	color: var(--jubo-deco);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.jubo-universal-card__textwrap {
	display: grid;
	gap: 10px;
	margin-top: auto;
}

.jubo-universal-card__title,
.jubo-universal-card__intro,
.jubo-universal-card__description,
.jubo-universal-card__button {
	display: block;
}

.jubo-universal-card__title {
	color: var(--jubo-white-rock);
	font-size: clamp(25px, 2.25vw, 36px);
	font-weight: 720;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.jubo-universal-card__intro {
	max-width: 34ch;
	color: rgba(231, 231, 217, 0.92);
	font-size: clamp(15.5px, 0.95vw, 17px);
	font-weight: 650;
	line-height: 1.42;
}

.jubo-universal-card__description {
	max-width: 43ch;
	color: rgba(231, 231, 217, 0.78);
	font-size: clamp(14.5px, 0.88vw, 16px);
	line-height: 1.54;
}

.jubo-universal-card__button {
	width: fit-content;
	max-width: 100%;
	margin-top: clamp(16px, 1.9vw, 24px);
	padding: 12px 16px;
	border: 1px solid rgba(244, 221, 48, 0.26);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--jubo-dark-goldenrod), #d2a51a);
	color: var(--jubo-zeus);
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0.075em;
	line-height: 1.2;
	text-transform: uppercase;
	box-shadow: 0 14px 36px rgba(183, 137, 10, 0.28);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.jubo-universal-card:hover,
.jubo-universal-card:focus-visible {
	border-color: rgba(244, 221, 48, 0.42);
	box-shadow: var(--jubo-shadow-dark);
	transform: translateY(-6px);
}

.jubo-universal-card:hover .jubo-universal-card__image,
.jubo-universal-card:focus-visible .jubo-universal-card__image {
	transform: scale(1.07);
	filter: saturate(1.04) contrast(1.02);
}

.jubo-universal-card:hover .jubo-universal-card__image--hover,
.jubo-universal-card:focus-visible .jubo-universal-card__image--hover {
	opacity: 1;
}

.jubo-universal-card:hover .jubo-universal-card__shade,
.jubo-universal-card:focus-visible .jubo-universal-card__shade {
	background:
		linear-gradient(180deg, rgba(39, 33, 25, 0.22) 0%, rgba(39, 33, 25, 0.55) 41%, rgba(39, 33, 25, 0.9) 100%),
		linear-gradient(120deg, rgba(39, 33, 25, 0.32), rgba(183, 137, 10, 0.14));
}

.jubo-universal-card:hover .jubo-universal-card__button,
.jubo-universal-card:focus-visible .jubo-universal-card__button {
	box-shadow: 0 18px 44px rgba(183, 137, 10, 0.36);
	transform: translateY(-2px);
}

/* Reveal */
.jubo-universal-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.58s ease, transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--jubo-reveal-delay, 0ms);
}

.jubo-universal-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1120px) {
	.jubo-universal-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jubo-universal-card {
		min-height: 430px;
	}
}

@media (max-width: 767px) {
	.jubo-universal-shell {
		width: min(calc(100% - 34px), var(--jubo-container));
	}

	.jubo-universal-page h1 {
		font-size: clamp(39px, 12vw, 54px);
		letter-spacing: -0.05em;
	}

	.jubo-universal-page h2 {
		font-size: clamp(31px, 9.8vw, 43px);
		letter-spacing: -0.045em;
	}

	.jubo-universal-section {
		padding: 46px 0;
	}

	.jubo-universal-hero {
		min-height: auto;
		align-items: center;
		padding: 46px 0;
	}

	.jubo-universal-hero__overlay {
		background:
			linear-gradient(180deg, rgba(39, 33, 25, 0.32) 0%, rgba(39, 33, 25, 0.72) 48%, rgba(39, 33, 25, 0.94) 100%),
			linear-gradient(90deg, rgba(39, 33, 25, 0.52), rgba(39, 33, 25, 0.36));
	}

	.jubo-universal-hero__text {
		font-size: clamp(17px, 4.7vw, 20px) !important;
	}

	.jubo-universal-intro {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.jubo-universal-card-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.jubo-universal-card {
		min-height: 430px;
		border-radius: 26px;
	}

	.jubo-universal-card__content {
		padding: 22px;
	}

	.jubo-universal-card__description {
		font-size: 15px;
	}
}

@media (max-width: 420px) {
	.jubo-universal-card {
		min-height: 455px;
	}

	.jubo-universal-card__button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jubo-universal-page *,
	.jubo-universal-page *::before,
	.jubo-universal-page *::after {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	.jubo-universal-reveal {
		opacity: 1;
		transform: none;
	}
}
