/* ===== Fonts ===== */
@font-face {
	font-family: "Michroma";
	src: url("../fonts/Michroma.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Audiowide";
	src: url("../fonts/Audiowide.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Rajdhani";
	src: url("../fonts/Rajdhani.ttf") format("truetype");
	font-weight: 400 700;
	font-display: swap;
}
@font-face {
	font-family: "Sarabun";
	src: url("../fonts/Sarabun.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}

/* ===== Tokens: Disco Cosmos ===== */
:root {
	--bg: #120a1e;
	--bg-raised: #1c0f2c;
	--bg-card: rgba(28, 15, 44, 0.55);
	--ink: #f1e9ff;
	--dim: #a595c2;
	--line: #30204a;
	--c1: #c92fff; /* Magenta */
	--c2: #00e0ff; /* Cyan */
	--c3: #ffd23f; /* Flyer-Gelb */

	--font-display: "Michroma", sans-serif;
	--font-label: "Audiowide", sans-serif;
	--font-sub: "Rajdhani", sans-serif;
	--font-body: "Sarabun", -apple-system, "Helvetica Neue", sans-serif;

	--sidebar-w: 260px;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
}

a { color: inherit; text-decoration: none; }

#vls-stars {
	position: fixed;
	inset: 0;
	z-index: 0;
	display: block;
	pointer-events: none;
}

#vls-rocket {
	position: fixed;
	top: 0; left: 0;
	width: 40px; height: 40px;
	z-index: 999;
	pointer-events: none;
	will-change: transform;
	filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.5));
}
@media (hover: none) {
	#vls-rocket { display: none; }
}
body.vls-has-rocket { cursor: none; }

/* ===== Top-Bar ===== */
.vls-topbar {
	position: sticky;
	top: 0;
	z-index: 500;
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1.1rem 1.6rem;
	background: rgba(18, 10, 30, 0.55);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.vls-menu-btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.vls-menu-btn span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.vls-menu-btn:hover span { background: var(--c2); }

.vls-brand {
	font-family: var(--font-label);
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	color: var(--ink);
	white-space: nowrap;
}

.vls-lang-switch {
	margin-left: auto;
	display: flex;
	gap: 0.5rem;
}
.vls-lang-link {
	font-family: var(--font-label);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	color: var(--dim);
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 0.35rem 0.7rem;
	transition: color 0.15s ease, border-color 0.15s ease;
}
.vls-lang-link:hover { color: var(--ink); }
.vls-lang-link.is-active {
	color: var(--bg);
	background: var(--c2);
	border-color: var(--c2);
}

/* ===== Layout / Drawer ===== */
.vls-layout {
	position: static;
}

.vls-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 600;
	background: rgba(9, 5, 15, 0.6);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}
.vls-drawer-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.vls-drawer {
	position: fixed;
	top: 16px; left: 16px; bottom: 16px;
	width: min(380px, calc(88vw - 32px));
	z-index: 700;
	padding: 1.6rem 1.6rem 1.8rem;
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
	border-radius: 22px;
	overflow: hidden;

	/* Milchglas: durchsichtig, nur ein dezenter Farbschleier, kein Panel-Look */
	background: rgba(241, 233, 255, 0.035);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	border: 1px solid rgba(241, 233, 255, 0.14);
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);

	transform: translateX(calc(-100% - 32px));
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.vls-drawer.is-open { transform: translateX(0); }

.vls-drawer > * { position: relative; z-index: 1; }

.vls-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid rgba(241, 233, 255, 0.12);
	flex-shrink: 0;
}

.vls-drawer-eyebrow {
	font-family: var(--font-label);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c2);
}

.vls-drawer-close {
	background: none;
	border: none;
	color: var(--dim);
	font-size: 1.7rem;
	cursor: pointer;
	line-height: 1;
}
.vls-drawer-close:hover { color: var(--ink); }

.vls-drawer-search {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: rgba(9, 5, 15, 0.35);
	border: 1px solid rgba(241, 233, 255, 0.12);
	border-radius: 12px;
	padding: 0.65rem 0.9rem;
	flex-shrink: 0;
}
.vls-drawer-search svg {
	width: 15px; height: 15px;
	flex-shrink: 0;
	color: var(--dim);
}
.vls-drawer-search input {
	flex: 1;
	background: none;
	border: none;
	outline: none;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 0.88rem;
}
.vls-drawer-search input::placeholder { color: var(--dim); }

.vls-drawer-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	flex-shrink: 0;
}
.vls-chip {
	font-family: var(--font-sub);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	color: var(--dim);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(241, 233, 255, 0.12);
	border-radius: 100px;
	padding: 0.35rem 0.75rem;
	cursor: pointer;
	white-space: nowrap;
}
.vls-chip:hover { color: var(--ink); }
.vls-chip.is-active {
	color: var(--bg);
	background: var(--c2);
	border-color: var(--c2);
}
.vls-chip-count { opacity: 0.75; }

.vls-drawer-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: min-content;
	align-content: start;
	gap: 0.6rem;
	overflow-y: auto;
	flex: 1 1 0;
	min-height: 0;
	margin: 0 -0.2rem;
	padding: 0.2rem;
}

.vls-grid-card {
	position: relative;
	min-height: 0;
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(241, 233, 255, 0.1);
	background: var(--bg);
	display: flex;
	align-items: flex-end;
	transition: transform 0.15s ease, border-color 0.15s ease;
}
.vls-grid-card:hover,
.vls-grid-card.is-active {
	transform: translateY(-2px);
	border-color: var(--c2);
}
.vls-grid-card img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.vls-grid-card-empty {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--bg-card), var(--bg));
}
.vls-grid-card-label {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 0.5rem 0.55rem;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 0.72rem;
	line-height: 1.3;
	color: var(--ink);
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 10%, transparent 95%);
}
.vls-grid-card.is-active .vls-grid-card-label { color: var(--c1); }
.vls-grid-card-label small {
	display: block;
	margin-top: 0.15rem;
	font-family: var(--font-label);
	font-size: 0.56rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dim);
}

.vls-drawer-empty {
	text-align: center;
	color: var(--dim);
	font-family: var(--font-sub);
	font-size: 0.85rem;
	padding: 1rem 0;
}

.vls-drawer-foot {
	padding-top: 1.1rem;
	border-top: 1px solid rgba(241, 233, 255, 0.12);
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	flex-shrink: 0;
}
.vls-drawer-note {
	margin: 0;
	font-family: var(--font-sub);
	font-size: 0.9rem;
	color: var(--dim);
	line-height: 1.4;
}

.vls-anfrage-btn {
	font-family: var(--font-label);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bg);
	background: var(--c3);
	border: none;
	border-radius: 100px;
	padding: 0.85rem 1.1rem;
	cursor: pointer;
	text-align: center;
}
.vls-anfrage-btn:hover { filter: brightness(1.08); }

/* ===== Anfrage-Overlay ===== */
.vls-anfrage-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(9, 5, 15, 0.75);
	backdrop-filter: blur(3px);
}
.vls-anfrage-overlay.is-open { display: flex; }

.vls-anfrage-box {
	position: relative;
	background: var(--bg-raised);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 2.4rem 2.2rem;
	max-width: 380px;
	width: 90%;
	text-align: center;
}
.vls-anfrage-box h2 {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--c1);
	margin: 0 0 0.6rem;
}
.vls-anfrage-box p { color: var(--dim); margin: 0 0 1.4rem; }
.vls-contact-item {
	display: block;
	font-family: var(--font-sub);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--c2);
	margin-bottom: 0.6rem;
}
.vls-anfrage-close {
	position: absolute;
	top: 0.8rem; right: 1rem;
	background: none; border: none;
	color: var(--dim);
	font-size: 1.4rem;
	cursor: pointer;
	line-height: 1;
}
.vls-anfrage-close:hover { color: var(--ink); }

/* ===== Main / Feed ===== */
.vls-main { min-width: 0; }

.vls-feed {
	max-width: 1100px;
	margin: 0 auto;
	padding: 3rem 2rem 8rem;
}
.vls-feed-single { padding-top: 4rem; }

.vls-projekt-card {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2.5rem;
	background: var(--bg-card);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 2rem;
	margin-bottom: 3rem;
	scroll-margin-top: 2rem;
}
@media (max-width: 860px) {
	.vls-feed { padding-left: 1rem; padding-right: 1rem; }

	/* Kein "Fensterrahmen" auf Mobile: Karte wird zu einem einfachen Block,
	   nur eine dünne Linie trennt die Projekte — Fotos bekommen den vollen Platz. */
	.vls-projekt-card {
		grid-template-columns: 1fr;
		background: none;
		border: none;
		border-radius: 0;
		padding: 0;
		gap: 1.2rem;
		margin-bottom: 2.6rem;
		padding-top: 2rem;
		border-top: 1px solid var(--line);
	}
	.vls-projekt-card:first-child {
		padding-top: 0;
		border-top: none;
	}
	.vls-projekt-text { padding: 0 0.2rem; }
}

.vls-projekt-media { display: flex; flex-direction: column; gap: 1rem; }

.vls-slideshow {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg);
}
.vls-slideshow-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dim);
	font-family: var(--font-label);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px dashed var(--line);
}
.vls-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}
.vls-slide.is-active { opacity: 1; }
.vls-slide-native-video {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.vls-media-frame {
	position: absolute;
	inset: 0;
	z-index: 0; /* eigener Stapelkontext, damit .vls-media-fg's z-index nicht nach außen dringt */
}
.vls-media-backdrop {
	position: absolute;
	inset: -6%;
	background-size: cover;
	background-position: center;
	filter: blur(30px) brightness(0.55) saturate(120%);
	transform: scale(1.1);
}
.vls-media-fg {
	position: relative;
	z-index: 1;
	width: 100%; height: 100%;
	object-fit: contain;
	display: block;
}
.vls-slide-nav {
	position: absolute;
	top: 50%; transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	background: rgba(18, 10, 30, 0.6);
	border: 1px solid var(--line);
	color: var(--ink);
	width: 34px; height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1rem;
}
.vls-slide-prev { left: 0.6rem; }
.vls-slide-next { right: 0.6rem; }
.vls-slide-dots {
	position: absolute;
	bottom: 0.8rem; left: 0; right: 0;
	display: flex;
	justify-content: center;
	gap: 0.4rem;
}
.vls-slide-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: rgba(241, 233, 255, 0.35);
}
.vls-slide-dot.is-active { background: var(--c2); }

.vls-slide-video {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}
.vls-slide-video iframe {
	width: 100%; height: 100%;
	border: none;
	display: block;
}

/* ===== Über mich ===== */
.vls-about {
	max-width: 1100px;
	margin: 0 auto;
	padding: 4.5rem 2rem 2rem;
}
.vls-about-inner {
	max-width: 720px;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--line);
}
.vls-about-eyebrow {
	display: block;
	font-family: var(--font-label);
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c2);
	margin-bottom: 0.8rem;
}
.vls-about-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 3rem);
	color: var(--c1);
	text-shadow: 0 0 30px rgba(201, 47, 255, 0.3);
	margin: 0 0 1.4rem;
	text-wrap: balance;
}
.vls-about-body {
	color: var(--ink);
	font-size: 1.02rem;
	line-height: 1.75;
}
.vls-about-body p { margin: 0 0 1.1rem; }
.vls-about-body p:last-child { margin-bottom: 0; }
.vls-about-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.6rem;
}
.vls-about-cta {
	margin-top: 1.8rem;
	display: inline-block;
}

.vls-projekt-text { display: flex; flex-direction: column; justify-content: center; }

.vls-projekt-meta { display: flex; gap: 0.6rem; margin-bottom: 0.8rem; }
.vls-tag {
	font-family: var(--font-label);
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c2);
	border: 1px solid var(--line);
	border-radius: 100px;
	padding: 0.3rem 0.7rem;
}
.vls-tag-jahr { color: var(--c3); }

.vls-projekt-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--c1);
	text-shadow: 0 0 24px rgba(201, 47, 255, 0.3);
	margin: 0 0 0.8rem;
	text-wrap: balance;
}
.vls-projekt-kurztext {
	font-family: var(--font-sub);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--ink);
	margin: 0 0 0.9rem;
}
.vls-projekt-langtext {
	color: var(--dim);
	line-height: 1.7;
	font-size: 0.95rem;
}
.vls-projekt-langtext p:first-child { margin-top: 0; }

.vls-expand-wrap {
	position: relative;
	max-height: 4.6em;
	overflow: hidden;
	transition: max-height 0.35s ease;
}
.vls-expand-wrap::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 2.4em;
	background: linear-gradient(0deg, var(--bg-card) 15%, transparent);
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.vls-projekt-card.is-expanded .vls-expand-wrap {
	max-height: 800px;
}
.vls-projekt-card.is-expanded .vls-expand-wrap::after { opacity: 0; }

.vls-expand-toggle {
	margin-top: 1rem;
	background: none;
	border: 1px solid var(--line);
	color: var(--c2);
	font-family: var(--font-label);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 100px;
	padding: 0.5rem 1rem;
	cursor: pointer;
}
.vls-expand-toggle:hover { border-color: var(--c2); }
.vls-projekt-card.is-expanded .vls-expand-toggle .vls-expand-label-more { display: none; }
.vls-expand-toggle .vls-expand-label-less { display: none; }
.vls-projekt-card.is-expanded .vls-expand-toggle .vls-expand-label-less { display: inline; }

.vls-empty-state {
	color: var(--dim);
	text-align: center;
	padding: 4rem 1rem;
	font-family: var(--font-sub);
}

@media (prefers-reduced-motion: reduce) {
	.vls-slide { transition: none; }
}

/* ===== Rechtstexte (Impressum / Datenschutz) ===== */
.vls-legal {
	max-width: 720px;
	margin: 0 auto;
	padding: 4rem 2rem 6rem;
}
.vls-legal-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	color: var(--c1);
	margin: 0 0 2rem;
}
.vls-legal-body {
	color: var(--ink);
	line-height: 1.75;
	font-size: 0.95rem;
}
.vls-legal-body h2 {
	font-family: var(--font-sub);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--c2);
	margin: 2.2rem 0 0.8rem;
}
.vls-legal-body h2:first-child { margin-top: 0; }
.vls-legal-body p { margin: 0 0 1rem; color: var(--dim); }
.vls-legal-body a { color: var(--c2); text-decoration: underline; }
.vls-legal-body ul { color: var(--dim); padding-left: 1.2rem; margin: 0 0 1rem; }

/* ===== Footer ===== */
.vls-site-footer {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 2rem 3rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem 1.6rem;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 0.8rem;
}
.vls-footer-nav { display: flex; gap: 1.2rem; }
.vls-footer-nav a { color: var(--dim); }
.vls-footer-nav a:hover { color: var(--c2); }

/* ===== Video-Facade (privacy-freundliches Laden externer Embeds) ===== */
.vls-video-facade {
	position: relative;
	width: 100%; height: 100%;
	background: #000 center / cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	padding: 0;
}
.vls-video-facade::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(9, 5, 15, 0.35);
}
.vls-video-play {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--font-label);
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bg);
	background: var(--c3);
	border-radius: 100px;
	padding: 0.7rem 1.2rem;
}
.vls-video-play svg { width: 14px; height: 14px; }
.vls-video-note {
	position: absolute;
	bottom: 0.7rem; left: 0.7rem;
	z-index: 1;
	font-family: var(--font-label);
	font-size: 0.6rem;
	letter-spacing: 0.06em;
	color: rgba(241, 233, 255, 0.6);
}
