/**
 * Solumondo Sitewide — Ambient-Animation, Footer, Retouren, Kontrast.
 * Energiearm: nur CSS, GPU-freundlich (transform/opacity), prefers-reduced-motion.
 */

/* ==========================================================================
   Ambient Mesh — langsame Farbverläufe (Hero + Footer-CTA)
   ========================================================================== */

@keyframes solumondo-aurora-shift {
	0% {
		background-position: 0% 40%, 100% 60%, 50% 100%;
		opacity: 0.72;
	}
	50% {
		background-position: 55% 20%, 30% 80%, 80% 30%;
		opacity: 0.92;
	}
	100% {
		background-position: 100% 50%, 0% 40%, 20% 70%;
		opacity: 0.78;
	}
}

@keyframes solumondo-orb-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(0, -6%, 0) scale(1.04);
	}
}

@media (prefers-reduced-motion: no-preference) {
	body.solumondo-app.solumondo-page-3610 .solumondo-hero::before,
	body.solumondo-app .solumondo-ambient-layer,
	body.solumondo-app .solumondo-footer__ambient::before {
		content: "";
		position: absolute;
		inset: -15%;
		z-index: 0;
		pointer-events: none;
		background-image:
			radial-gradient(ellipse 70% 55% at 18% 35%, color-mix(in srgb, var(--solumondo-orange) 38%, transparent), transparent 68%),
			radial-gradient(ellipse 55% 45% at 82% 22%, color-mix(in srgb, white 14%, transparent), transparent 62%),
			radial-gradient(ellipse 50% 50% at 62% 88%, color-mix(in srgb, var(--solumondo-orange) 22%, transparent), transparent 70%);
		background-size: 180% 180%;
		background-repeat: no-repeat;
		animation: solumondo-aurora-shift 32s ease-in-out infinite alternate;
		will-change: opacity;
	}

	body.solumondo-app.solumondo-page-3610 .solumondo-hero__orb--primary {
		animation: solumondo-orb-float 18s ease-in-out infinite;
	}

	body.solumondo-app.solumondo-page-3610 .solumondo-hero__orb--secondary {
		animation: solumondo-orb-float 24s ease-in-out infinite reverse;
	}
}

/* Performance budget: mobile/tablet bekommen saubere, schnelle Darstellung */
@media (max-width: 1024px) {
	body.solumondo-app .solumondo-ambient-layer,
	body.solumondo-app.solumondo-page-3610 .solumondo-hero__orb {
		display: none !important;
	}

	body.solumondo-app .solumondo-card,
	body.solumondo-app .solumondo-path-card,
	body.solumondo-app .solumondo-catalog-card {
		box-shadow: var(--solumondo-shadow-sm) !important;
	}

	body.solumondo-app .solumondo-page-hero::after {
		filter: none !important;
		opacity: 0.55;
	}
}

body.solumondo-app.solumondo-page-3610 .solumondo-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

body.solumondo-app.solumondo-page-3610 .solumondo-hero > * {
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Premium Footer
   ========================================================================== */

body.solumondo-app .site-footer.solumondo-footer {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 0;
	color: color-mix(in srgb, white 90%, var(--solumondo-navy));
	background: linear-gradient(180deg, var(--solumondo-navy-mid) 0%, var(--solumondo-navy) 100%);
	border-top: 1px solid color-mix(in srgb, var(--solumondo-orange) 28%, transparent);
}

body.solumondo-app .solumondo-footer .site-footer-row-container,
body.solumondo-app .solumondo-footer .footer-html-inner {
	display: none;
}

body.solumondo-app .solumondo-footer__ambient {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

body.solumondo-app .solumondo-footer__cta {
	position: relative;
	z-index: 1;
	padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0;
	border-bottom: 1px solid color-mix(in srgb, white 10%, transparent);
}

body.solumondo-app .solumondo-footer__cta-inner {
	max-width: var(--solumondo-content-max, 75rem);
	margin-inline: auto;
	text-align: center;
}

body.solumondo-app .solumondo-footer__cta-kicker {
	margin: 0 0 0.65rem;
	color: color-mix(in srgb, var(--solumondo-orange) 88%, white);
	font-size: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.solumondo-app .solumondo-footer__cta-title {
	margin: 0 0 0.75rem;
	color: #ffffff;
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

body.solumondo-app .solumondo-footer__cta-lead {
	max-width: 40rem;
	margin: 0 auto 1.5rem;
	color: color-mix(in srgb, white 82%, var(--solumondo-navy));
	font-size: clamp(1rem, 0.94rem + 0.25vw, 1.125rem);
	line-height: 1.55;
}

body.solumondo-app .solumondo-footer__cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

body.solumondo-app .solumondo-footer a.solumondo-btn--ghost,
body.solumondo-app .solumondo-footer .solumondo-btn--ghost,
body.solumondo-app .solumondo-footer__cta-actions .solumondo-app-install-trigger {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	border: 1px solid color-mix(in srgb, white 42%, transparent) !important;
	border-color: color-mix(in srgb, white 42%, transparent) !important;
	background: color-mix(in srgb, white 8%, transparent) !important;
	cursor: pointer;
	font-family: inherit;
}

body.solumondo-app .solumondo-footer__main {
	position: relative;
	z-index: 1;
	padding: clamp(2rem, 1.25rem + 2.5vw, 3.25rem) 0;
}

body.solumondo-app .solumondo-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

@media (min-width: 640px) {
	body.solumondo-app .solumondo-footer__grid {
		grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
	}
}

body.solumondo-app .solumondo-footer__logo-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 800;
	text-decoration: none;
}

body.solumondo-app .solumondo-footer__logo-image {
	display: block;
	width: auto;
	height: clamp(2rem, 1.7rem + 0.8vw, 2.6rem);
	max-width: clamp(6rem, 5rem + 3vw, 8rem);
	object-fit: contain;
}

body.solumondo-app .solumondo-footer__logo-mark {
	display: inline-block;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--solumondo-orange), var(--solumondo-orange-hover));
	box-shadow: 0 0 0 2px color-mix(in srgb, white 18%, transparent);
}

body.solumondo-app .solumondo-footer__tagline {
	margin: 0.85rem 0 0;
	max-width: 22rem;
	color: color-mix(in srgb, white 72%, var(--solumondo-navy));
	font-size: var(--solumondo-font-small, 0.9rem);
	line-height: 1.55;
}

body.solumondo-app .solumondo-footer__col-title {
	margin: 0 0 0.85rem;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.solumondo-app .solumondo-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.solumondo-app .solumondo-footer__list li + li {
	margin-top: 0.45rem;
}

body.solumondo-app .solumondo-footer__list a {
	color: color-mix(in srgb, white 86%, var(--solumondo-navy));
	font-size: var(--solumondo-font-small, 0.9rem);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.solumondo-app .solumondo-footer__list a:hover,
body.solumondo-app .solumondo-footer__list a:focus-visible {
	color: var(--solumondo-orange);
}

body.solumondo-app .solumondo-footer__bar {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	padding: 1rem 0 1.35rem;
	border-top: 1px solid color-mix(in srgb, white 8%, transparent);
	max-width: var(--solumondo-content-max, 75rem);
	margin-inline: auto;
}

body.solumondo-app .solumondo-footer__copy,
body.solumondo-app .solumondo-footer__made {
	margin: 0;
	color: color-mix(in srgb, white 58%, var(--solumondo-navy));
	font-size: 0.8rem;
	line-height: 1.45;
}

/* App-Install-Panel vor Footer */
body.solumondo-app .solumondo-pre-footer-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding-inline: 0;
	background: transparent !important;
}

body.solumondo-app .solumondo-app-strip {
	margin: 0 !important;
}

body.solumondo-app .site-footer.solumondo-footer {
	margin-top: 0 !important;
}

/* ==========================================================================
   Retouren-Seite — Navy/Orange statt generischem Grau
   ========================================================================== */

body.solumondo-app.solumondo-page-retouren .entry-hero-container-inner,
body.solumondo-app.solumondo-page-retouren .page-title,
body.solumondo-app.solumondo-page-retouren .entry-hero {
	display: none !important;
}

body.solumondo-app.solumondo-page-retouren .entry-content {
	color: var(--solumondo-text);
}

body.solumondo-app.solumondo-page-retouren .solu-retoure-wrapper {
	max-width: 52rem;
	margin: 0 auto;
	padding: 0 max(var(--solumondo-gutter-mobile), env(safe-area-inset-left, 0px))
		clamp(2rem, 1rem + 3vw, 4rem);
	color: var(--solumondo-text);
	font-family: inherit;
}

body.solumondo-app.solumondo-page-retouren .solu-retoure-wrapper h2,
body.solumondo-app.solumondo-page-retouren .solu-retoure-wrapper h3 {
	color: var(--solumondo-navy);
	font-weight: 800;
	letter-spacing: -0.02em;
}

body.solumondo-app.solumondo-page-retouren .solu-info-box {
	margin-bottom: 1.5rem;
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	background: var(--solumondo-surface);
	border: 1px solid var(--solumondo-border);
	border-radius: var(--solumondo-radius-lg, 1rem);
	box-shadow: var(--solumondo-shadow-md);
}

body.solumondo-app.solumondo-page-retouren .solu-info-box p,
body.solumondo-app.solumondo-page-retouren .solu-info-list {
	color: var(--solumondo-text-muted);
	line-height: 1.6;
}

body.solumondo-app.solumondo-page-retouren .solu-info-list li {
	margin-bottom: 0.85rem;
}

body.solumondo-app.solumondo-page-retouren .solu-info-list strong {
	color: var(--solumondo-navy);
}

body.solumondo-app.solumondo-page-retouren .solu-video-promo {
	margin: 1.5rem 0 2rem;
	padding: 1.15rem 1.25rem !important;
	color: #ffffff !important;
	background: linear-gradient(135deg, var(--solumondo-navy-mid), var(--solumondo-navy)) !important;
	border: 1px solid color-mix(in srgb, var(--solumondo-orange) 45%, transparent) !important;
	border-left: 4px solid var(--solumondo-orange) !important;
	border-radius: var(--solumondo-radius-md, 0.625rem) !important;
	box-shadow: var(--solumondo-shadow-md);
}

body.solumondo-app.solumondo-page-retouren .solu-video-promo strong {
	color: #ffffff !important;
}

body.solumondo-app.solumondo-page-retouren .solu-form-container label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--solumondo-navy);
	font-weight: 700;
	font-size: 0.92rem;
}

body.solumondo-app.solumondo-page-retouren .solu-form-container input:not([type="checkbox"]):not([type="file"]),
body.solumondo-app.solumondo-page-retouren .solu-form-container select,
body.solumondo-app.solumondo-page-retouren .solu-form-container textarea {
	width: 100%;
	min-height: var(--solumondo-touch-min, 2.75rem);
	margin-bottom: 1rem;
	padding: 0.65em 0.85em;
	color: var(--solumondo-text);
	background: var(--solumondo-surface);
	border: 1px solid var(--solumondo-border);
	border-radius: var(--solumondo-radius-sm, 0.375rem);
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.solumondo-app.solumondo-page-retouren .solu-form-container input:focus,
body.solumondo-app.solumondo-page-retouren .solu-form-container select:focus,
body.solumondo-app.solumondo-page-retouren .solu-form-container textarea:focus {
	border-color: var(--solumondo-orange);
	box-shadow: 0 0 0 3px var(--solumondo-orange-muted);
	outline: none;
}

body.solumondo-app.solumondo-page-retouren .solu-form-container button,
body.solumondo-app.solumondo-page-retouren .solu-form-container input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--solumondo-touch-min, 2.75rem);
	padding: 0.85rem 1.6rem !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: linear-gradient(145deg, var(--solumondo-orange), var(--solumondo-orange-hover)) !important;
	border: 2px solid var(--solumondo-orange) !important;
	border-radius: var(--solumondo-radius-md, 0.625rem) !important;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.solumondo-app.solumondo-page-retouren .solu-form-container button:not(:disabled):hover,
body.solumondo-app.solumondo-page-retouren .solu-form-container input[type="submit"]:not(:disabled):hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px color-mix(in srgb, var(--solumondo-orange) 35%, transparent);
}

body.solumondo-app.solumondo-page-retouren .solu-form-container button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* ==========================================================================
   Startseite — Final CTA (Marketing)
   ========================================================================== */

body.solumondo-app.solumondo-page-3610 .solumondo-final-cta {
	max-width: var(--solumondo-content-max, 75rem);
	margin-inline: auto;
	padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
	text-align: center;
	border: 1px solid color-mix(in srgb, var(--solumondo-orange) 35%, white);
	border-radius: var(--solumondo-radius-xl, 1.625rem);
	background:
		radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--solumondo-orange) 12%, transparent), transparent 40%),
		linear-gradient(180deg, #ffffff, var(--solumondo-surface-alt));
	box-shadow: var(--solumondo-shadow-md);
}

body.solumondo-app.solumondo-page-3610 .solumondo-final-cta h2 {
	margin: 0 0 0.75rem;
	color: var(--solumondo-navy);
}

body.solumondo-app.solumondo-page-3610 .solumondo-final-cta p {
	max-width: 42rem;
	margin: 0 auto 1.25rem;
	color: var(--solumondo-text-muted);
}
