/*
 * Club Dual — Frontend Styles
 * Übernommen aus der statischen Version (index.html), angepasst auf
 * self-hosted Assets und WordPress-Struktur.
 */

/* CSS Reset & Variables */
:root {
	--bg: #030303;
	--text: #e0e0e0;
	--accent: #ff003c; /* Neon Red */
	--font-heading: 'Oswald', sans-serif;
	--font-body: 'Space Grotesk', sans-serif;
}

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

html.lenis {
	height: auto;
}

.lenis.lenis-smooth {
	scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
	overscroll-behavior: contain;
}

body {
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	overflow-x: hidden;
	cursor: none;
}

/* Noise Overlay */
.noise {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.04;
	background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Cursor */
.cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 12px;
	height: 12px;
	background: var(--accent);
	border-radius: 50%;
	pointer-events: none;
	z-index: 10000;
	transform: translate(-50%, -50%);
	transition: width 0.3s, height 0.3s, background 0.3s;
	mix-blend-mode: difference;
}
.cursor-follower {
	position: fixed;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: width 0.3s, height 0.3s, border-color 0.3s;
	transition-timing-function: ease-out;
}
.cursor.active {
	width: 80px;
	height: 80px;
	background: #fff;
}
.cursor-follower.active {
	width: 0;
	height: 0;
	border-color: transparent;
}

/* Typography */
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	text-transform: uppercase;
	line-height: 0.9;
}

/* Navigation */
.site-nav {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 2rem 4rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;
	mix-blend-mode: difference;
}
.logo {
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 2px;
	color: #fff;
	text-decoration: none;
}
.nav-links {
	display: flex;
	gap: 3rem;
}
.nav-links a {
	color: #fff;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	overflow: hidden;
	padding: 5px 0;
}
.nav-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--accent);
	transform: translateX(-101%);
	transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}
.nav-links a:hover::after {
	transform: translateX(0);
}

/* Hero Section */
.hero {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background: url('../images/IMG_6015.webp') no-repeat center center;
	background-size: cover;
	opacity: 0.5;
	z-index: -1;
	filter: grayscale(100%) contrast(1.2);
}
.hero-content {
	text-align: center;
	z-index: 1;
	mix-blend-mode: difference;
}
.hero-title {
	font-size: 16vw;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	margin-bottom: -1vw;
	white-space: nowrap;
}
.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 300;
	letter-spacing: 8px;
	text-transform: uppercase;
	color: #fff;
}

/* Marquee */
.marquee-wrapper {
	padding: 3rem 0;
	background: var(--accent);
	color: var(--bg);
	overflow: hidden;
	white-space: nowrap;
	display: flex;
	align-items: center;
	transform: rotate(-2deg) scale(1.05);
	margin: 4rem 0;
	box-shadow: 0 20px 50px rgba(255, 0, 60, 0.1);
}
.marquee {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 5rem;
	font-weight: 700;
	text-transform: uppercase;
	animation: marquee 25s linear infinite;
}
@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Info Section */
.info-section {
	padding: 8rem 4rem;
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 6rem;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
}
.info-content h2 {
	font-size: 5rem;
	margin-bottom: 3rem;
	color: #fff;
}
.info-content p {
	font-size: 1.4rem;
	line-height: 1.6;
	margin-bottom: 2rem;
	color: #999;
	font-weight: 300;
}
.info-content strong {
	color: #fff;
	font-weight: 600;
}
.image-reveal-container {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	height: 80vh;
}
.info-image {
	width: 100%;
	height: 100%;
	background: url('../images/IMG_9031.webp') no-repeat center center;
	background-size: cover;
	filter: grayscale(80%);
	transition: filter 0.8s ease, transform 0.8s ease;
}
.image-reveal-container:hover .info-image {
	filter: grayscale(0%);
	transform: scale(1.05);
}

/* Image Grid Section */
.gallery-section {
	padding: 5rem 4rem;
	max-width: 1600px;
	margin: 0 auto;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.gallery-item {
	height: 50vh;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	filter: grayscale(100%);
	transition: all 0.5s ease;
}
.gallery-item--1 { background-image: url('../images/image00003.webp'); }
.gallery-item--2 { background-image: url('../images/image00004.webp'); }
.gallery-item--3 { background-image: url('../images/IMG_9037.avif'); }
.gallery-item:hover {
	filter: grayscale(0%);
}

/* Programm / Conversion Section */
.programm-section {
	padding: 10rem 4rem;
	background: #080808;
	position: relative;
}
.programm-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 6rem;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}
.programm-header h2 {
	font-size: 8rem;
	color: transparent;
	-webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
	transition: -webkit-text-stroke 0.3s, color 0.3s;
}
.programm-header h2:hover {
	-webkit-text-stroke: 2px var(--accent);
	color: rgba(255, 0, 60, 0.1);
}
.events-list {
	max-width: 1600px;
	margin: 0 auto;
}
.events-empty {
	color: #999;
	font-size: 1.2rem;
}
.event-card {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 4rem 0;
	display: grid;
	grid-template-columns: 1fr 3fr 1fr;
	align-items: center;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}
.event-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
	z-index: 0;
}
.event-card:hover::before {
	transform: scaleY(1);
	transform-origin: top;
}
.event-card:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.event-card > * {
	position: relative;
	z-index: 1;
}
.event-date {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--accent);
	transition: color 0.4s;
}
.event-card:hover .event-date {
	color: #fff;
}
.event-name {
	font-size: 4rem;
	font-family: var(--font-heading);
	font-weight: 700;
	color: #fff;
	transition: transform 0.4s;
	text-transform: uppercase;
}
.event-card:hover .event-name {
	transform: translateX(20px);
}
.event-action {
	text-align: right;
}
.btn {
	display: inline-block;
	padding: 1.2rem 3rem;
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: none;
	transition: all 0.4s;
	text-decoration: none;
}
.event-card:hover .btn {
	border-color: #fff;
	background: #fff;
	color: var(--accent);
}

/* Footer */
.footer {
	padding: 10rem 4rem 2rem;
	background: #000;
}
.footer-content {
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 6rem;
}
.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 4rem;
}
.footer-title {
	font-size: 10vw;
	line-height: 0.85;
	letter-spacing: -2px;
	color: #fff;
}
.footer-contact {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2rem;
}
.contact-block h4 {
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0.5rem;
	letter-spacing: 2px;
}
.contact-block p, .contact-block a {
	font-size: 1.5rem;
	color: #fff;
	text-decoration: none;
}
.contact-block a {
	position: relative;
	display: inline-block;
}
.contact-block a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.4s ease;
}
.contact-block a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	font-size: 0.9rem;
	color: #555;
}
.footer-links a {
	color: #555;
	text-decoration: none;
	margin-left: 2rem;
	transition: color 0.3s;
}
.footer-links a:hover {
	color: #fff;
}

/* Content-Seiten (Impressum, Datenschutz) */
.page-main {
	max-width: 720px;
	margin: 0 auto;
	padding: 12rem 2rem 6rem;
	min-height: 60vh;
}
.page-title {
	font-size: clamp(3rem, 6vw, 5rem);
	color: #fff;
	margin-bottom: 3rem;
}
.page-content {
	font-size: 1.1rem;
	line-height: 1.7;
	font-weight: 300;
}
.page-content h2 {
	font-size: 1.8rem;
	color: #fff;
	margin: 2.5rem 0 1rem;
}
.page-content h3 {
	font-size: 1.3rem;
	color: #fff;
	margin: 2rem 0 0.75rem;
}
.page-content p {
	margin-bottom: 1.25rem;
}
.page-content a {
	color: var(--accent);
}
.page-content ul, .page-content ol {
	margin: 0 0 1.25rem 1.25rem;
}
.page-content li {
	margin-bottom: 0.5rem;
}
.not-found .btn {
	margin-top: 2rem;
}

/* Reduced Motion — Cursor, Smooth-Scroll und Animationen respektieren die OS-Einstellung */
@media (prefers-reduced-motion: reduce) {
	body {
		cursor: auto;
	}
	.cursor, .cursor-follower {
		display: none;
	}
	.marquee {
		animation: none;
	}
	.btn, .nav-links a {
		cursor: pointer;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.info-section {
		grid-template-columns: 1fr;
	}
	.image-reveal-container {
		height: 50vh;
	}
	.event-card {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 2rem 0;
	}
	.event-action {
		text-align: left;
		margin-top: 1rem;
	}
	.footer-top {
		grid-template-columns: 1fr;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.site-nav {
		padding: 1.5rem;
	}
	.nav-links {
		display: none; /* Add hamburger menu for real prod */
	}
	.hero-title {
		font-size: 20vw;
	}
	.programm-header h2 {
		font-size: 4rem;
	}
	.event-name {
		font-size: 2.5rem;
	}
	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
	}
	.footer-links a {
		margin-left: 0;
		margin-right: 1.5rem;
	}
}
