* {
	box-sizing: border-box;
	user-select: none;
}

::selection {
	background: #ffffff;
	color: #050505;
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

::-moz-selection {
	background: #ffffff;
	color: #050505;
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

:root {
	color-scheme: dark;
	--bg: #050505;
	--line: rgba(255, 255, 255, 0.09);
	--text: #f6f7fb;
	--muted: rgba(246, 247, 251, 0.72);
	--cursor-x: 50vw;
	--cursor-y: 50vh;
}

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	min-height: 100vh;
	background: #0b0d0f;
	color: var(--text);
	font-family: 'Satoshi', sans-serif;
	overflow: hidden;
	cursor: default;
}

.enter-screen {
	position: fixed;
	inset: 0;
	z-index: 5000;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 1.8rem;
	width: 100%;
	min-height: 100vh;
	border: 0;
	padding: 0;
	background:
		radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.035), transparent 28rem),
		linear-gradient(180deg, #070a0c 0%, #050607 100%);
	color: #f6f7fb;
	font: inherit;
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transition:
		opacity 650ms ease,
		visibility 650ms ease;
}

.enter-screen::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
	background-size: 3rem 3rem;
	mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
	opacity: 0.38;
	pointer-events: none;
}

.enter-screen.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.enter-title,
.enter-hint {
	position: relative;
	z-index: 1;
	display: block;
}

.enter-title {
	font-size: clamp(2.35rem, 4vw, 3.15rem);
	line-height: 0.9;
	font-weight: 700;
	letter-spacing: 0;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.enter-hint {
	font-family: "Consolas", "SFMono-Regular", "Roboto Mono", monospace;
	font-size: 0.72rem;
	letter-spacing: 0;
	text-transform: lowercase;
	color: rgba(246, 247, 251, 0.42);
	animation: enterHintPulse 1.8s ease-in-out infinite;
}

.starfield {
	position: fixed;
	inset: -12vh -12vw;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	transform: translate3d(calc(var(--bg-shift-x, 0) * 0.75px), calc(var(--bg-shift-y, 0) * 0.75px), 0);
	transition: transform 260ms ease-out;
}

.star {
	position: absolute;
	left: var(--star-left, 50%);
	top: var(--star-top, 50%);
	width: var(--star-size, 1px);
	height: var(--star-size, 1px);
	background: rgba(255, 255, 255, var(--star-alpha, 0.34));
	border-radius: 50%;
	opacity: 0.22;
	box-shadow:
		0 0 calc(var(--star-size, 1px) * 2) rgba(255, 255, 255, 0.28),
		0 0 calc(var(--star-size, 1px) * 6) rgba(190, 205, 255, 0.08);
	animation:
		twinkle var(--twinkle-speed, 5.8s) ease-in-out infinite,
		starFloat var(--float-speed, 14s) ease-in-out infinite alternate;
	animation-delay: var(--twinkle-delay, 0s), var(--float-delay, 0s);
	transform: translate3d(var(--repel-x, 0px), var(--repel-y, 0px), 0) scale(var(--repel-scale, 1));
	transition:
		transform 180ms ease-out,
		opacity 180ms ease-out,
		filter 180ms ease-out;
	will-change: transform, opacity;
}

/* Stern-Positionen */
.star:nth-child(1) { top: 5%; left: 8%; animation-delay: 0s; animation-duration: 3.2s; }
.star:nth-child(2) { top: 12%; left: 25%; animation-delay: 0.4s; animation-duration: 4.1s; }
.star:nth-child(3) { top: 8%; left: 45%; animation-delay: 1.2s; animation-duration: 3.6s; }
.star:nth-child(4) { top: 18%; left: 68%; animation-delay: 0.8s; animation-duration: 4.8s; }
.star:nth-child(5) { top: 3%; left: 82%; animation-delay: 2.1s; animation-duration: 3.4s; }
.star:nth-child(6) { top: 22%; left: 12%; animation-delay: 1.6s; animation-duration: 4.3s; }
.star:nth-child(7) { top: 28%; left: 38%; animation-delay: 0.2s; animation-duration: 3.8s; }
.star:nth-child(8) { top: 15%; left: 92%; animation-delay: 2.5s; animation-duration: 4.5s; }
.star:nth-child(9) { top: 35%; left: 5%; animation-delay: 0.9s; animation-duration: 3.1s; }
.star:nth-child(10) { top: 32%; left: 55%; animation-delay: 1.4s; animation-duration: 4.2s; }
.star:nth-child(11) { top: 40%; left: 78%; animation-delay: 2.8s; animation-duration: 3.7s; }
.star:nth-child(12) { top: 38%; left: 22%; animation-delay: 0.5s; animation-duration: 4.6s; }
.star:nth-child(13) { top: 45%; left: 88%; animation-delay: 1.8s; animation-duration: 3.3s; }
.star:nth-child(14) { top: 50%; left: 35%; animation-delay: 2.2s; animation-duration: 4.4s; }
.star:nth-child(15) { top: 48%; left: 65%; animation-delay: 0.3s; animation-duration: 3.5s; }
.star:nth-child(16) { top: 55%; left: 15%; animation-delay: 1.1s; animation-duration: 4.0s; }
.star:nth-child(17) { top: 58%; left: 48%; animation-delay: 2.6s; animation-duration: 3.9s; }
.star:nth-child(18) { top: 62%; left: 75%; animation-delay: 0.7s; animation-duration: 4.7s; }
.star:nth-child(19) { top: 65%; left: 8%; animation-delay: 1.9s; animation-duration: 3.0s; }
.star:nth-child(20) { top: 68%; left: 30%; animation-delay: 2.4s; animation-duration: 4.5s; }
.star:nth-child(21) { top: 72%; left: 58%; animation-delay: 0.6s; animation-duration: 3.6s; }
.star:nth-child(22) { top: 75%; left: 85%; animation-delay: 1.5s; animation-duration: 4.2s; }
.star:nth-child(23) { top: 78%; left: 18%; animation-delay: 2.0s; animation-duration: 3.8s; }
.star:nth-child(24) { top: 82%; left: 42%; animation-delay: 0.1s; animation-duration: 4.1s; }
.star:nth-child(25) { top: 85%; left: 70%; animation-delay: 1.3s; animation-duration: 3.4s; }
.star:nth-child(26) { top: 88%; left: 28%; animation-delay: 2.7s; animation-duration: 4.6s; }
.star:nth-child(27) { top: 92%; left: 52%; animation-delay: 0.8s; animation-duration: 3.2s; }
.star:nth-child(28) { top: 95%; left: 90%; animation-delay: 1.7s; animation-duration: 4.0s; }
.star:nth-child(29) { top: 7%; left: 58%; animation-delay: 2.3s; animation-duration: 3.7s; }
.star:nth-child(30) { top: 25%; left: 72%; animation-delay: 0.4s; animation-duration: 4.3s; }
.star:nth-child(31) { top: 42%; left: 95%; animation-delay: 1.0s; animation-duration: 3.5s; }
.star:nth-child(32) { top: 52%; left: 5%; animation-delay: 2.9s; animation-duration: 4.8s; }
.star:nth-child(33) { top: 60%; left: 92%; animation-delay: 0.2s; animation-duration: 3.1s; }
.star:nth-child(34) { top: 70%; left: 50%; animation-delay: 1.6s; animation-duration: 4.4s; }
.star:nth-child(35) { top: 80%; left: 5%; animation-delay: 2.5s; animation-duration: 3.9s; }
.star:nth-child(36) { top: 10%; left: 35%; animation-delay: 0.9s; animation-duration: 4.2s; }
.star:nth-child(37) { top: 30%; left: 82%; animation-delay: 1.4s; animation-duration: 3.3s; }
.star:nth-child(38) { top: 47%; left: 25%; animation-delay: 2.1s; animation-duration: 4.5s; }
.star:nth-child(39) { top: 63%; left: 40%; animation-delay: 0.5s; animation-duration: 3.6s; }
.star:nth-child(40) { top: 77%; left: 62%; animation-delay: 1.8s; animation-duration: 4.0s; }
.star:nth-child(41) { top: 15%; left: 5%; animation-delay: 2.6s; animation-duration: 3.7s; }
.star:nth-child(42) { top: 33%; left: 48%; animation-delay: 0.3s; animation-duration: 4.1s; }
.star:nth-child(43) { top: 50%; left: 82%; animation-delay: 1.2s; animation-duration: 3.4s; }
.star:nth-child(44) { top: 67%; left: 95%; animation-delay: 2.4s; animation-duration: 4.6s; }
.star:nth-child(45) { top: 84%; left: 12%; animation-delay: 0.7s; animation-duration: 3.8s; }
.star:nth-child(46) { top: 20%; left: 30%; animation-delay: 1.9s; animation-duration: 4.3s; }
.star:nth-child(47) { top: 38%; left: 60%; animation-delay: 0.6s; animation-duration: 3.2s; }
.star:nth-child(48) { top: 55%; left: 28%; animation-delay: 2.2s; animation-duration: 4.7s; }
.star:nth-child(49) { top: 72%; left: 88%; animation-delay: 1.1s; animation-duration: 3.5s; }
.star:nth-child(50) { top: 90%; left: 75%; animation-delay: 2.8s; animation-duration: 4.0s; }

@keyframes twinkle {
	0%, 100% {
		opacity: 0.18;
	}
	50% {
		opacity: 0.82;
	}
}

@keyframes starFloat {
	0% {
		margin-top: -0.35rem;
		margin-left: -0.2rem;
	}
	100% {
		margin-top: 0.35rem;
		margin-left: 0.2rem;
	}
}

@keyframes enterHintPulse {
	0%, 100% {
		opacity: 0.42;
	}
	50% {
		opacity: 0.8;
	}
}

@keyframes letterEnter {
	0% {
		opacity: 0;
		transform: translateY(1.1em) scale(0.82);
		filter: blur(14px);
	}
	68% {
		opacity: 1;
		transform: translateY(-0.08em) scale(1.04);
		filter: blur(0);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

.cursor-halo {
	position: fixed;
	top: 0;
	left: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1000;
	transform: translate(-50%, -50%);
	opacity: 0;
	background: transparent;
	box-shadow: none;
	filter: none;
	transition: opacity 120ms ease;
	will-change: left, top, opacity;
}

.scroll-shell {
	position: relative;
	height: 100vh;
	overflow-y: auto;
	scrollbar-width: none;
}

.scroll-shell::-webkit-scrollbar {
	display: none;
}

.portfolio {
	min-height: 100%;
}

.reveal {
	opacity: 0;
	transform: translateY(18px) scale(0.985);
	filter: blur(8px);
	transition:
		opacity 700ms ease,
		transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
		filter 700ms ease;
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform, filter;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

.panel {
	position: relative;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 2rem;
	z-index: 1;
}

.hero {
	position: relative;
	z-index: 1;
	text-align: center;
}

.hero-content {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(1rem, 4vw, 3rem);
	width: min(72rem, 92vw);
	margin-left: clamp(1rem, 5vw, 4rem);
	align-self: end;
	padding-bottom: 5rem;
}

.brand-name {
	margin: 0;
	font-size: clamp(5rem, 18vw, 16rem);
	line-height: 0.85;
	letter-spacing: 0;
	font-weight: 700;
	color: #ffffff;
	background: none;
	transform: translate3d(var(--float-x, 0px), calc(var(--float-y, 0px) - 5.4rem), 0);
	text-shadow: none;
	transition: transform 240ms ease-out;
	will-change: transform;
}

.brand-letter {
	display: inline-block;
	opacity: 0;
	transform: translateY(1.1em) scale(0.82);
	filter: blur(14px);
	will-change: transform, opacity, filter;
}

body.is-entered .brand-letter {
	animation: letterEnter 680ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--letter-delay, 0ms);
}

.lanyard-card {
	position: relative;
	width: min(25.5rem, 100%);
	min-height: 31rem;
	padding: 4.35rem 3rem 3rem;
	border-radius: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: blur(2px);
	text-align: right;
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 220ms ease-out, border-color 180ms ease, background 180ms ease;
	will-change: transform;
}

.lanyard-card::before {
	display: none;
}

.lanyard-clock,
.lanyard-card-top,
.lanyard-idle-note,
.lanyard-activity {
	position: relative;
	z-index: 1;
}

.lanyard-clock {
	display: grid;
	justify-items: end;
	gap: 0.3rem;
	margin-bottom: 2.35rem;
	text-align: right;
}

.lanyard-time {
	font-family: "Consolas", "SFMono-Regular", "Roboto Mono", monospace;
	font-size: clamp(1.9rem, 3.4vw, 2.35rem);
	line-height: 1;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.9);
	font-variant-numeric: tabular-nums;
}

.lanyard-location {
	font-family: "Consolas", "SFMono-Regular", "Roboto Mono", monospace;
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: lowercase;
	color: rgba(255, 255, 255, 0.46);
}

.lanyard-card-top {
	display: grid;
	place-items: end;
	justify-content: end;
	gap: 0;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: 0;
}

.lanyard-card-top .lanyard-avatar,
.lanyard-card-top .lanyard-label,
.lanyard-card-top [data-lanyard-name] {
	display: none;
}

.lanyard-avatar {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.6rem;
	height: 3.6rem;
	flex: 0 0 auto;
	border-radius: 1rem;
	background: #24252c;
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
	overflow: visible;
}

.lanyard-avatar-img,
.lanyard-avatar-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.lanyard-avatar-img {
	display: none;
	object-fit: cover;
}

.lanyard-avatar-img.loaded {
	display: block;
}

.lanyard-avatar-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.lanyard-avatar-img.loaded + .lanyard-avatar-fallback {
	display: none;
}

.lanyard-status-dot {
	position: absolute;
	right: -0.15rem;
	bottom: -0.15rem;
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	background: #23a55a;
	border: 3px solid #161619;
}

.lanyard-card[data-status="online"] .lanyard-status-dot {
	background: #23a55a;
}

.lanyard-card[data-status="idle"] .lanyard-status-dot {
	background: #23a55a;
}

.lanyard-card[data-status="dnd"] .lanyard-status-dot {
	background: #23a55a;
}

.lanyard-card[data-status="offline"] .lanyard-status-dot {
	background: #23a55a;
}

.lanyard-user {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
	justify-items: end;
	text-align: right;
}

.lanyard-label,
.lanyard-activity-label,
.lanyard-state {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.58);
}

.lanyard-user strong {
	font-size: 0.95rem;
	line-height: 1.1;
	color: #ffffff;
}

.lanyard-state {
	justify-self: end;
	margin-top: 0;
	font-size: 0.92rem;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: rgba(107, 255, 164, 0.86);
}

.lanyard-state::before {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: #23a55a;
	box-shadow: 0 0 8px rgba(35, 165, 90, 0.4);
}

.lanyard-card[data-status="idle"] .lanyard-state {
	color: rgba(107, 255, 164, 0.86);
}

.lanyard-card[data-status="dnd"] .lanyard-state {
	color: rgba(107, 255, 164, 0.86);
}

.lanyard-card[data-status="offline"] .lanyard-state {
	color: rgba(107, 255, 164, 0.86);
}

.lanyard-idle-note {
	margin: 2.15rem 0 0;
	text-align: right;
	font-size: 0.88rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.42);
}

.lanyard-activity {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2.3rem;
	padding-top: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	padding-bottom: 1.25rem;
	position: relative;
}

.lanyard-activity::before,
.lanyard-activity::after {
	position: absolute;
	bottom: 0.12rem;
	font-family: "Consolas", "SFMono-Regular", "Roboto Mono", monospace;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.55);
}

.lanyard-activity::before {
	content: "discord";
	left: 0;
}

.lanyard-activity::after {
	content: attr(data-status-label);
	right: 0;
}

.lanyard-activity-icon {
	width: 4rem;
	height: 4rem;
	border-radius: 0.55rem;
	flex: 0 0 auto;
	object-fit: cover;
	filter: none;
	opacity: 0.92;
}

.lanyard-activity-copy {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
	text-align: right;
	margin-left: auto;
	padding-top: 0.1rem;
	justify-items: end;
}

.lanyard-activity strong {
	font-size: 0.92rem;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 11rem;
}

.lanyard-activity-subtitle {
	font-size: 0.74rem;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 11rem;
}

.lanyard-card:hover {
	border-color: transparent;
}



.social-row {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 0.1rem 0;
}

.social-row-bottom {
	position: absolute;
	left: 1.5rem;
	bottom: 1.5rem;
	z-index: 5;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	color: #ffffff;
	text-decoration: none;
	filter:
		drop-shadow(0 0 4px rgba(255, 255, 255, 0.55))
		drop-shadow(0 0 10px rgba(255, 255, 255, 0.35))
		drop-shadow(0 0 18px rgba(128, 170, 255, 0.22));
	transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease, color 180ms ease;
}


.social-icon svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.social-icon img,
.social-icon-img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.social-icon:hover,
.social-icon:focus-visible,
.dot:hover,
.dot:focus-visible {
	transform: translateY(-1px) scale(1.06);
	outline: none;
	opacity: 1;
}

.social-icon:hover,
.social-icon:focus-visible {
	filter:
		drop-shadow(0 0 6px rgba(255, 255, 255, 0.85))
		drop-shadow(0 0 14px rgba(255, 255, 255, 0.55))
		drop-shadow(0 0 24px rgba(150, 190, 255, 0.35));
}

.scroll-more {
	position: absolute;
	left: 50%;
	bottom: 1.35rem;
	transform: translateX(-50%);
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	color: rgba(255, 255, 255, 0.72);
	text-align: center;
}

.scroll-more-text {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: none;
}

.scroll-more-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	line-height: 1;
	color: #ffffff;
	text-shadow:
		0 0 8px rgba(255, 255, 255, 0.85),
		0 0 18px rgba(186, 201, 255, 0.32);
	animation: arrowFloat 1.5s ease-in-out infinite;
}

.section-dots {
	position: fixed;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	display: grid;
	gap: 0.6rem;
}

.dot {
	width: 0.6rem;
	height: 0.6rem;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.dot.active {
	background: #ffffff;
	box-shadow:
		0 0 10px rgba(255, 255, 255, 0.95),
		0 0 22px rgba(255, 255, 255, 0.45);
	transform: scale(1.45);
}

.secondary,
.tertiary {
	background: rgba(8, 8, 9, 0.22);
}

.projects-layout {
	width: min(72rem, 92vw);
	display: grid;
	gap: 1.4rem;
	align-content: center;
	padding: 1rem 0;
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 260ms ease-out;
	will-change: transform;
}

.projects-title {
	margin: 0 0 0.25rem clamp(0.25rem, 3vw, 0.5rem);
	font-size: clamp(2rem, 3.4vw, 3rem);
	line-height: 1;
	font-weight: 700;
	color: #ffffff;
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.9),
		0 0 24px rgba(173, 188, 255, 0.22);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.project-card {
	position: relative;
	min-height: 27rem;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background-size: cover;
	background-position: center;
	padding: 0;
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.42),
		inset 0 0 40px rgba(0, 0, 0, 0.3);
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 220ms ease-out, box-shadow 180ms ease;
	will-change: transform;
}

.project-card-two {
	cursor: pointer;
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	font: inherit;
	background-color: transparent;
}

.project-card-two:hover,
.project-card-two:focus-visible {
	outline: none;
	box-shadow:
		0 28px 80px rgba(0, 0, 0, 0.48),
		0 0 28px rgba(184, 127, 255, 0.12),
		inset 0 0 40px rgba(0, 0, 0, 0.3);
}

.project-card-one {
	background-image: url('image.png');
}

.project-card-two {
	background-image: url('Futuristisches_Logo_von_Ascnd.lol.png');
}

.project-overlay {
	position: absolute;
	inset: 0;
	background: rgba(8, 8, 8, 0.58);
	backdrop-filter: blur(1px);
}

.project-copy {
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 1.4rem;
	z-index: 1;
}

.project-center-note {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, calc(-50% - 190px));
	width: 100%;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.9),
		0 0 24px rgba(170, 184, 255, 0.2);
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.1rem;
}

.project-tags span {
	display: inline-flex;
	align-items: center;
	height: 1.55rem;
	padding: 0 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(10px);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.32);
}

.project-copy h3 {
	margin: 0;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	line-height: 1;
	color: #ffffff;
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.9),
		0 0 24px rgba(181, 190, 255, 0.22);
}

.link-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: rgba(0, 0, 0, 0.52);
	backdrop-filter: blur(6px);
}

.link-modal.open {
	display: flex;
}

.link-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.link-modal-card {
	position: relative;
	z-index: 1;
	width: min(25rem, 92vw);
	padding: 1.25rem 1.25rem 1.1rem;
	border-radius: 1.45rem;
	background: rgba(14, 14, 14, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.55),
		0 0 24px rgba(167, 76, 214, 0.1);
}

.link-modal-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
}

.link-modal-close {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.link-modal-card h3 {
	margin: 1rem 0 0;
	font-size: 1.7rem;
	line-height: 1.1;
	text-align: center;
	color: #ffffff;
}

.link-modal-url {
	margin: 0.9rem auto 0;
	padding: 0.5rem 0.8rem;
	width: fit-content;
	max-width: 100%;
	border-radius: 0.8rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.92rem;
	word-break: break-word;
}

.link-modal-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.1rem;
}

.link-modal-button {
	min-width: 6.8rem;
	height: 2.7rem;
	padding: 0 1rem;
	border-radius: 999px;
	border: 0;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.link-modal-button.secondary {
	background: #242424;
	color: #ffffff;
}

.link-modal-button.primary {
	background: rgba(150, 51, 181, 0.92);
	color: #ffffff;
	box-shadow: 0 0 0 1px rgba(204, 129, 255, 0.22), 0 0 18px rgba(173, 88, 228, 0.24);
}

.link-modal-button:hover,
.link-modal-button:focus-visible,
.link-modal-close:hover,
.link-modal-close:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.about-layout {
	width: min(72rem, 92vw);
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(20rem, 0.9fr);
	gap: 2rem;
	align-items: center;
	padding: 1rem 0;
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 260ms ease-out;
	will-change: transform;
}

.about-copy {
	max-width: 34rem;
	margin-left: clamp(1rem, 5vw, 4rem);
	justify-self: start;
}

.about-copy h2 {
	margin: 0.15rem 0 1.15rem;
	font-size: clamp(2.3rem, 4vw, 4rem);
	line-height: 0.98;
	letter-spacing: 0.01em;
	color: #ffffff;
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.72),
		0 0 24px rgba(173, 188, 255, 0.24);
}

.about-lead {
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.22rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
}

.about-divider {
	width: 5.5rem;
	height: 1px;
	margin: 1.45rem 0 1.15rem;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.14);
}

.about-note {
	margin: 0;
	max-width: 30rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.68);
}

.tech-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.1rem;
	align-items: center;
}

.tech-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	height: 2.4rem;
	padding: 0 0.9rem 0 0.35rem;
	border-radius: 999px;
	background: rgba(18, 18, 18, 0.98);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.02),
		0 0 12px rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 220ms ease-out;
	will-change: transform;
}

.tech-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.55rem;
	height: 1.55rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #ffffff;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.36);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
	font-size: 0.72rem;
	letter-spacing: 0.02em;
}

.tech-mark[src] {
	width: 1.1rem;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.tech-mark:not([src]) {
	width: 1.1rem;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	font-size: 0.72rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
	justify-self: stretch;
	max-width: 42rem;
	margin-left: auto;
}

.stat-card {
	position: relative;
	padding: 1rem 1rem 0.95rem;
	border-radius: 1rem;
	background: #181818;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0);
	transition: transform 220ms ease-out, border-color 180ms ease, background 180ms ease;
	will-change: transform;
}

.stat-card:hover,
.tech-pill:hover,
.project-card:hover {
	border-color: rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: reduce) {
	.star,
	.scroll-more-arrow,
	.enter-hint,
	.brand-letter {
		animation: none;
	}

	.brand-letter {
		opacity: 1;
		transform: none;
		filter: none;
	}

	.brand-name,
	.lanyard-card,
	.about-layout,
	.projects-layout,
	.project-card,
	.stat-card,
	.tech-pill {
		transform: none;
		transition: none;
	}
}

.reveal {
	transform: translate3d(var(--float-x, 0px), calc(18px + var(--float-y, 0px)), 0) scale(0.985);
}

.reveal.is-visible {
	transform: translate3d(var(--float-x, 0px), var(--float-y, 0px), 0) scale(1);
}

.starfield .star {
	left: var(--star-left, 50%);
	top: var(--star-top, 50%);
}

@media (prefers-reduced-motion: reduce) {
	.reveal,
	.reveal.is-visible,
	.brand-name,
	.lanyard-card,
	.about-layout,
	.projects-layout,
	.project-card,
	.stat-card,
	.tech-pill {
		transform: none;
		transition: none;
	}
}

.stat-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	background: none;
	pointer-events: none;
}

.stat-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow:
		0 0 8px rgba(255, 255, 255, 0.08);
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.42);
}

.stat-value {
	display: block;
	margin-top: 0.8rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
	text-shadow:
		0 0 8px rgba(255, 255, 255, 0.85),
		0 0 18px rgba(180, 194, 255, 0.18);
}

.stat-label {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.content-card {
	width: min(40rem, 92vw);
	padding: 2rem;
	border-radius: 1.5rem;
	background: rgba(10, 10, 10, 0.92);
	border: 1px solid var(--line);
	backdrop-filter: blur(18px);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.eyebrow {
	margin: 0 0 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.64);
}

.content-card h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.75rem);
	line-height: 1.05;
}

.content-card p {
	margin: 1rem 0 0;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
}

@media (max-width: 700px) {
	.reveal {
		transform: translateY(14px) scale(0.99);
	}

	.section-dots {
		right: 0.7rem;
	}

	.panel {
		padding-inline: 1rem;
	}

	.social-row {
		gap: 0.5rem;
		padding-inline: 0.55rem;
	}

	.social-row-bottom {
		left: 1rem;
		bottom: 1rem;
	}

	.hero-content {
		flex-direction: column;
		align-items: flex-start;
		margin-left: 0;
		padding-bottom: 3rem;
		gap: 0.85rem;
	}

	.brand-name {
		font-size: clamp(4rem, 22vw, 9rem);
	}

	.lanyard-card {
		width: min(20rem, 100%);
		padding: 0.85rem;
	}

	.content-card {
		padding: 1.4rem;
	}

	.about-layout {
		grid-template-columns: 1fr;
		gap: 1.4rem;
		padding: 0;
	}

	.about-copy {
		margin-left: 0;
		max-width: none;
	}

	.stats-grid {
		grid-template-columns: 1fr;
		max-width: none;
		margin-left: 0;
	}

	.projects-grid {
		grid-template-columns: 1fr;
	}

	.project-card {
		min-height: 20rem;
		border-radius: 1.4rem;
	}

	.project-copy {
		left: 1rem;
		right: 1rem;
		bottom: 1rem;
	}

	.link-modal-card {
		padding: 1rem;
	}

	body {
		cursor: auto;
	}

	.cursor-halo {
		display: none;
	}
}

@keyframes arrowFloat {
	0% {
		opacity: 0;
		transform: translateY(0.1rem);
	}
	20% {
		opacity: 1;
	}
	50% {
		transform: translateY(0.6rem);
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		transform: translateY(1rem);
	}
}
