* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #0a0e27;
	color: #fff;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
}

/* Sternenhimmel */
.stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.star {
	position: absolute;
	background: white;
	border-radius: 50%;
	animation: twinkle 3s infinite;
}

@keyframes twinkle {
	0%, 100% { opacity: 0.3; }
	50% { opacity: 1; }
}

/* Hauptinhalt */
main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	position: relative;
	z-index: 1;
}

/* Logo mit Planet-Animation */
.logo-container {
	perspective: 1000px;
	margin-bottom: 2rem;
}

.logo {
	font-size: 5rem;
	font-weight: bold;
	background: linear-gradient(135deg, #667eea 0%, #8b9dc3 50%, #dfe7f2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	position: relative;
	animation: float 60s ease-in-out infinite;
	text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
}

.logo::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.3), transparent);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	animation: orbit 60s linear infinite;
	z-index: -1;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

@keyframes orbit {
	from {
		transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
	}
	to {
		transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg);
	}
}

/* Willkommenstext */
.welcome {
	font-size: 1.5rem;
	margin-bottom: 3rem;
	color: #b8c5d6;
	text-align: center;
	animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Login-Button */
.login-btn {
	padding: 15px 40px;
	font-size: 1.1rem;
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #8b9dc3 70%, #dfe7f2 100%);
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 25px rgba(102, 126, 234, 0.4);
	position: relative;
	overflow: hidden;
}

.login-btn.disabled {
	cursor: not-allowed;
	opacity: .45;
	box-shadow: none;
}

.login-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s;
}

.login-btn:hover::before {
	left: 100%;
}

.login-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 35px rgba(102, 126, 234, 0.6);
}

.login-btn.disabled:hover,
.login-btn.disabled:hover::before {
	transform: none;
	left: -100%; /* zurücksetzen, damit der Effekt nicht startet */
	box-shadow: none;
}

/* ::before im disabled-Fall komplett deaktivieren */
.login-btn.disabled::before {
	display: none; /* oder opacity: 0; */
}

/* Footer */
footer {
	background: rgba(10, 14, 39, 0.8);
	padding: 2rem;
	text-align: center;
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
	color: #b8c5d6;
	margin-bottom: 0.5rem;
}

footer a {
	color: #667eea;
	text-decoration: none;
	transition: color 0.3s ease;
}

footer a:hover {
	color: #dfe7f2;
	text-decoration: underline;
}

/* Datenschutz-Seite */
.privacy-page {
	display: none;
	max-width: 800px;
	margin: 0 auto;
	padding: 3rem 2rem;
	position: relative;
	z-index: 1;
}

.privacy-page.active {
	display: block;
}

.privacy-page h1 {
	color: #667eea;
	margin-bottom: 2rem;
	font-size: 2.5rem;
}

.privacy-page h2 {
	color: #8b9dc3;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.privacy-page p {
	color: #b8c5d6;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.back-btn {
	padding: 10px 25px;
	font-size: 1rem;
	color: #fff;
	background: linear-gradient(135deg, #667eea 0%, #8b9dc3 70%, #dfe7f2 100%);
	border: none;
	border-radius: 50px;
	cursor: pointer;
	margin-bottom: 2rem;
	transition: all 0.3s ease;
}

.back-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
	.logo {
		font-size: 3rem;
	}

	.welcome {
		font-size: 1.2rem;
	}
}