/**
 * Landing Page "Nicht eingeloggt" (indexnew.php)
 * Hero, CTAs, Feature-Kacheln
 */
#main.index-main.index-landing {
	background: radial-gradient(circle at 12% -8%, #2589bf 0%, rgba(37, 137, 191, 0) 36%), linear-gradient(180deg, #eaf3fb 0%, #f7fbff 45%, #ffffff 100%);
	border: 1px solid #c7d9ea;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(9, 41, 76, 0.09);
	padding: 24px 20px 28px;
	margin: 0 var(--goalz-space-2) var(--goalz-space-2) var(--goalz-content-margin-left) !important;
	min-width: 0 !important;
	box-sizing: border-box;
}

.index-landing .landing-hero {
	text-align: center;
	margin-bottom: 16px;
	padding: 16px 16px 12px;
	background: linear-gradient(120deg, #06669f 0%, #0a75af 52%, #0e87bc 100%);
	border: 1px solid #0a5d8f;
	border-radius: 14px;
	box-shadow: 0 8px 18px rgba(7, 75, 118, 0.2);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.index-landing .landing-hero-layout {
	width: 100%;
	max-width: none;
	display: grid;
	grid-template-columns: minmax(190px, 0.95fr) minmax(680px, 2.2fr) minmax(190px, 0.95fr);
	gap: 10px 14px;
	align-items: stretch;
}

.index-landing .landing-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 6px;
	max-width: 1300px;
	margin: 0 auto;
}

.index-landing .landing-hero h1 {
	margin: 0 0 8px 0;
	font-size: clamp(2rem, 2.2vw, 2.6rem);
	line-height: 1.16;
	color: #ffffff;
	font-weight: 700;
	text-shadow: 0 2px 8px rgba(7, 38, 61, 0.28);
}

.index-landing .landing-hero .landing-tagline {
	font-size: clamp(1.2rem, 1.35vw, 1.55rem);
	font-weight: 700;
	color: #f8fcff;
	margin: 0 0 6px 0;
	line-height: 1.24;
	max-width: 1240px;
	text-wrap: balance;
	margin-left: auto;
	margin-right: auto;
}

.index-landing .landing-hero .landing-subline {
	font-size: clamp(1rem, 1.05vw, 1.2rem);
	color: #e8f5ff;
	margin: 0 0 6px 0;
	line-height: 1.32;
	max-width: 1240px;
	text-wrap: balance;
	margin-left: auto;
	margin-right: auto;
}

.index-landing .landing-value-column {
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: flex-start;
	padding-top: 4px;
}

.index-landing .landing-value-item {
	background: rgba(8, 56, 88, 0.22);
	border: 1px solid rgba(173, 218, 248, 0.33);
	border-radius: 11px;
	padding: 10px 13px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.index-landing .landing-value-item .value-title {
	display: block;
	color: #ffffff;
	font-weight: 700;
	font-size: clamp(1.02rem, 1vw, 1.16rem);
	line-height: 1.25;
	margin-bottom: 3px;
}

.index-landing .landing-value-item .value-text {
	display: block;
	color: #e1f2ff;
	font-size: clamp(0.91rem, 0.86vw, 1rem);
	line-height: 1.25;
}

.index-landing .landing-ctas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
	margin-top: 2px;
	margin-bottom: 0;
}

.index-landing .landing-ctas .btn-primary {
	display: inline-block;
	padding: 11px 20px;
	background: linear-gradient(135deg, #ffffff 0%, #eaf6ff 100%);
	border: 1px solid rgba(189, 229, 252, 0.85);
	color: #0a5f95 !important;
	text-decoration: none;
	border-radius: 9px;
	font-weight: 700;
	font-size: 1.06rem;
	box-shadow: 0 5px 14px rgba(6, 47, 76, 0.24);
	transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.index-landing .landing-ctas .btn-primary:hover {
	filter: brightness(1.04);
	box-shadow: 0 8px 18px rgba(6, 47, 76, 0.3);
	transform: translateY(-1px);
}

.index-landing .landing-ctas .btn-secondary {
	display: inline-block;
	padding: 11px 20px;
	background: rgba(8, 56, 88, 0.38);
	color: #ffffff !important;
	text-decoration: none;
	border: 1px solid rgba(189, 229, 252, 0.62);
	border-radius: 9px;
	font-weight: 700;
	font-size: 1.06rem;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.index-landing .landing-ctas .btn-secondary:hover {
	background: rgba(8, 56, 88, 0.62);
	transform: translateY(-1px);
}

.index-landing .landing-spotlight {
	position: relative;
	margin: 20px 0 24px 0;
	padding: 10px;
	border-radius: 14px;
	border: 1px solid #abd0ea;
	background: linear-gradient(135deg, #0a5f95 0%, #0f77b1 58%, #1488bf 100%);
	box-shadow: 0 10px 24px rgba(6, 52, 84, 0.22);
	display: block;
}

.index-landing .spotlight-media-frame {
	position: relative;
	min-height: clamp(420px, 52vw, 640px);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(173, 223, 252, 0.45);
	background: #063352;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.index-landing .spotlight-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 72px;
	height: 72px;
	border-radius: 999px;
	border: 1px solid rgba(180, 225, 255, 0.7);
	background: rgba(6, 40, 66, 0.78);
	color: #eaf7ff;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	text-shadow: 0 2px 6px rgba(3, 18, 30, 0.55);
	box-shadow: 0 10px 24px rgba(4, 20, 32, 0.35);
	transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
	z-index: 10;
}

.index-landing .spotlight-nav-left {
	left: 14px;
}

.index-landing .spotlight-nav-right {
	right: 14px;
}

.index-landing .spotlight-nav:hover {
	background: rgba(12, 66, 102, 0.78);
	transform: translateY(-50%) scale(1.05);
}


.index-landing .spotlight-camera {
	position: absolute;
	inset: 0;
	--camera-x: -4%;
	--camera-y: -8%;
	--camera-zoom: 1.32;
	animation: spotlight-pan 16s ease-in-out infinite alternate;
}

.index-landing .spotlight-iframe {
	position: absolute;
	top: var(--camera-y);
	left: var(--camera-x);
	width: 156%;
	height: 156%;
	border: 0;
	pointer-events: none;
	transform-origin: top left;
	transform: scale(var(--camera-zoom));
	filter: saturate(1.04) contrast(1.02);
}

.index-landing .spotlight-media-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(2, 20, 34, 0.46) 0%, rgba(2, 20, 34, 0.08) 36%, rgba(2, 20, 34, 0.18) 100%);
	pointer-events: none;
}

.index-landing .spotlight-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 1.14rem;
	line-height: 1.2;
	font-weight: 700;
	color: #fff;
	background: rgba(5, 33, 52, 0.76);
	border: 1px solid rgba(178, 223, 248, 0.5);
	backdrop-filter: blur(3px);
	text-shadow: 0 1px 4px rgba(4, 24, 38, 0.38);
	max-width: calc(100% - 98px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.index-landing .spotlight-score {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	color: #e8f6ff;
	background: rgba(6, 31, 49, 0.82);
	border: 1px solid rgba(168, 218, 246, 0.52);
	text-shadow: 0 1px 3px rgba(2, 16, 28, 0.32);
	opacity: 0;
	transform: translateY(-2px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
	max-width: calc(100% - 220px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.index-landing .spotlight-score.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.index-landing .spotlight-loading {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #d6eeff;
	background: rgba(11, 34, 52, 0.75);
	border: 1px solid rgba(173, 221, 249, 0.34);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.index-landing .spotlight-loading.is-visible {
	opacity: 1;
}

@keyframes spotlight-pan {
	0% {
		transform: translate3d(1.5%, 1.2%, 0);
	}
	100% {
		transform: translate3d(-1.5%, -1.2%, 0);
	}
}

.index-landing .landing-section-title {
	margin: 0 0 14px 0;
	font-size: 1.15rem;
	color: #ffffff;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: 12px;
	background: linear-gradient(100deg, #0a5f95 0%, #0a6da8 65%, #0d76af 100%);
	box-shadow: 0 4px 10px rgba(10, 77, 120, 0.18);
	text-shadow: 0 1px 4px rgba(5, 36, 58, 0.32);
}

.index-landing .landing-carousel {
	position: relative;
	margin: 0 0 20px 0;
}

.index-landing .landing-tiles {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	gap: 14px;
	padding: 2px 38px 12px;
	margin: 0;
	scrollbar-width: thin;
	scrollbar-color: #8eaac3 #e7eff6;
}

.index-landing .landing-tiles::-webkit-scrollbar {
	height: 9px;
}

.index-landing .landing-tiles::-webkit-scrollbar-track {
	background: #e7eff6;
	border-radius: 999px;
}

.index-landing .landing-tiles::-webkit-scrollbar-thumb {
	background: #8eaac3;
	border-radius: 999px;
}

.index-landing .landing-carousel-btn {
	position: absolute;
	top: calc(50% - 6px);
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: 1px solid #9ec2df;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffffff 0%, #eaf4fc 100%);
	color: #0b4f7d;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(9, 41, 76, 0.16);
	transition: background 0.15s ease, box-shadow 0.15s ease;
	z-index: 5;
}

.index-landing .landing-carousel-btn:hover {
	background: linear-gradient(180deg, #ffffff 0%, #dff0ff 100%);
	box-shadow: 0 6px 14px rgba(9, 41, 76, 0.2);
}

.index-landing .landing-carousel-btn-left {
	left: 2px;
}

.index-landing .landing-carousel-btn-right {
	right: 2px;
}

.index-landing .landing-tile {
	display: block;
	position: relative;
	flex: 0 0 280px;
	scroll-snap-align: start;
	padding: 16px 14px 14px;
	background: linear-gradient(145deg, #ffffff 0%, #f2f8ff 100%);
	border: 1px solid #cddff0;
	border-radius: 12px;
	text-decoration: none;
	color: #14486d;
	font-weight: 600;
	font-size: 0.95rem;
	box-shadow: 0 4px 12px rgba(9, 41, 76, 0.1);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.index-landing .landing-tile::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	border-radius: 12px 12px 0 0;
	background: linear-gradient(90deg, #0c73ad 0%, #12a2db 100%);
}

.index-landing .landing-tile:hover {
	border-color: #0065a2;
	box-shadow: 0 10px 20px rgba(0, 101, 162, 0.2);
	background: linear-gradient(145deg, #ffffff 0%, #edf7ff 100%);
	color: #004d7a;
	transform: translateY(-2px);
}

.index-landing .landing-tile.is-featured {
	border-color: #0b7fbe;
	box-shadow: 0 10px 24px rgba(11, 127, 190, 0.25);
	background: linear-gradient(145deg, #ffffff 0%, #e7f5ff 100%);
}

.index-landing .landing-tile .tile-title {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
}

.index-landing .landing-tile small {
	display: block;
	font-weight: 400;
	font-size: 0.82rem;
	color: #5e7f99;
	margin-top: 3px;
}

.index-landing .landing-tile .tile-preview {
	display: block;
	margin-top: 9px;
	padding-top: 8px;
	border-top: 1px solid #d9e8f5;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.4;
	color: #345d7d;
}

.index-landing .landing-tile.landing-tile-clone {
	opacity: 0.97;
}

@media (max-width: 600px) {
	.index-landing .landing-hero {
		padding: 12px 10px 10px;
	}
	.index-landing .landing-hero-layout {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.index-landing .landing-hero-copy {
		order: 1;
	}
	.index-landing .landing-value-column-left {
		order: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.index-landing .landing-value-column-right {
		order: 3;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.index-landing .landing-ctas {
		margin-top: 14px;
	}
	.index-landing .landing-ctas .btn-primary,
	.index-landing .landing-ctas .btn-secondary {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}
	.index-landing .landing-spotlight {
		padding: 10px;
	}
	.index-landing .spotlight-media-frame {
		min-height: 270px;
	}
	.index-landing .spotlight-badge {
		font-size: 0.9rem;
		padding: 7px 11px;
		max-width: calc(100% - 86px);
	}
	.index-landing .spotlight-score {
		top: 54px;
		right: 10px;
		font-size: 0.72rem;
		padding: 6px 9px;
		max-width: calc(100% - 22px);
	}
	.index-landing .landing-tiles {
		padding-left: 2px;
		padding-right: 2px;
	}
	.index-landing .landing-hero h1 {
		font-size: 1.3rem;
	}
	.index-landing .landing-hero .landing-tagline {
		font-size: 0.95rem;
	}
	.index-landing .landing-hero .landing-subline {
		font-size: 0.88rem;
	}
	.index-landing .landing-carousel-btn {
		display: none;
	}
	.index-landing .landing-tile {
		flex-basis: 220px;
	}
}

@media (max-width: 1360px) {
	.index-landing .landing-hero-layout {
		grid-template-columns: 1fr;
	}
	.index-landing .landing-hero-copy {
		order: 1;
	}
	.index-landing .landing-value-column-left {
		order: 2;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.index-landing .landing-value-column-right {
		order: 3;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}
