:root {
	--bg: #111;
	--sidebar: #1c1c1c;
	--accent: #6c63ff;
	--text: #fff;
	--hover: #2a2a2a;
}

/* Body-Layout */
body {
	margin: 0;
	font-family: 'Segoe UI', 'Inter', sans-serif;
	background-color: var(--bg);
	color: var(--text);
	overflow-x: hidden;
	min-height: 100vh;
	display: block;
}

/* Inhaltsbereich */
main {
	max-width: 90rem;
	margin: 0 auto;
	padding: 4rem 1rem;
	background-color: var(--bg);
}

/* Titel mit Unterstrich */
.section-title {
	position: relative;
	display: inline-block;
	padding-bottom: 0.5rem;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4rem;
	height: 0.25rem;
	background-color: #22c55e;
	border-radius: 9999px;
}

/* Icon-Hintergrund */
.icon-wrapper {
	position: relative;
	width: 3rem;
	height: 3rem;
	margin: 0 auto;
}

.icon-bg {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background: rgba(34, 197, 94, 0.3);
	transition: background-color 0.3s;
}

.group:hover .icon-bg {
	background: rgba(34, 197, 94, 0.6);
}

.icon-wrapper span {
	position: relative;
	display: block;
	text-align: center;
	line-height: 3rem;
	font-size: 1.5rem;
}

/* Footer zentriert */
footer {
	background-color: #1a1a1a;
	color: #888;
	text-align: center;
	padding: 2rem 1rem;
	font-size: 0.875rem;
}

/* Scroll-Pfeil */
html {
	scroll-behavior: smooth;
}

/* Pfeil-Scroll-Animation */
@keyframes custom-bounce {
	0%, 100% {
		transform: translateY(0);
	}
		50% {
		transform: translateY(-10px);
	}
}

.bounce-custom {
	animation: custom-bounce 1.5s infinite;
}

.discord-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background-color: #5865F2; /* Discord Blau */
	color: white;
	padding: 0.6rem 1.4rem;
	border-radius: 9999px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.discord-btn:hover {
	background-color: #4752C4;
	transform: translateY(-2px);
}

.discord-btn img {
	width: 24px;
	height: 24px;
	filter: none !important;
	opacity: 1 !important;
}

/* Background Video */
.bg-video-wrapper {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: -1;
}

#bgVideo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	z-index: -1;
}

/* Wenn das Seitenverhältnis breiter als 18:9 (~2:1) ist (z.B. 21:9) */
@media (min-aspect-ratio: 18/9) {
	#bgVideo {
		transform: translate(-50%, -48%);
	}
}

/* Bei sehr schmalen Screens (z.B. Handy) */
@media (max-aspect-ratio: 4/3) {
	#bgVideo {
		transform: translate(-50%, -60%);
	}
}