@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Thin.woff2") format("woff2");
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Light.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Normal.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Neutral.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Medium.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Heavy.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: "Normal";
	src: url("../fonts/ABCNormal-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
}

/* ——— Allgemeine Einstellungen ——— */

html {
	font-size: 62.5%; /* 1rem = 10px */
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*, *::before, *::after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Normal", sans-serif;
	font-size: 1.6rem; /* = 16px */
	line-height: 1.5;
	word-wrap: break-word;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	interpolate-size: allow-keywords;
	color: #E6EDF2;
	background-color: #00070D;
	background-repeat: no-repeat;
}

img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}

input, button, textarea, select {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	outline: none;
}

p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
}

p {
	text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

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

ul, ol {
	list-style: none;
}

hr {
	border: none;
}

::selection {
	color: #00070D;
	background: #E6EDF2;
}

::placeholder {
    color: #AAAAAA;
}

/* ——— Navigation ——— */

nav {
	position: fixed;
	top: 3rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	
	height: 5rem;
	max-width: 95%;
	padding: 0 0.5rem;
	overflow: hidden;
	white-space: nowrap;
	
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(25px);
	border-radius: 2.5rem;
	box-shadow: 0px 0px 0px 1.5px rgba(255, 255, 255, 0.1) inset;
}

.nav-link,
.nav-link-legal {
	display: flex;
	justify-content: center;
	align-items: center;
	
	height: 4rem;
	width: 10rem;
	border-radius: 2rem;
	
	transition: all 150ms ease;
}

.nav-link-legal {
	width: 13rem;
}

.nav-link:hover,
.nav-link-legal:hover {
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}

.link-active {
	background-color: rgba(255, 255, 255, 0.1);
}

.link-active:hover {
	box-shadow: none;
}

.nav-link-label {
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1;
	text-align: center;
	pointer-events: none;
	transform: translateY(-0.05rem);
}

.nav-link:active .nav-link-label,
.nav-link-legal:active .nav-link-label {
	font-size: 1.7rem;
}

.nav-link-icon {
	margin-right: 0.8rem;
	height: 1.8rem;
	width: 1.8rem;
	
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	
	display: inline-block;
	
	transform: translate(0, 0.05rem);
	transition: transform 300ms ease;
}

.nav-link-legal:hover .icon-arrow-left {
	transform: translate(-0.5rem, 0.05rem);
}

.icon-arrow-left {
	background-image: url('../img/icons/arrow-left.svg');
}

.nav-link-legal:hover .icon-arrow-left {
	background-image: url('../img/icons/arrow-left-light.svg');
}

.icon-face {
	background-image: url('../img/icons/face.svg');
}

.icon-id {
	background-image: url('../img/icons/id.svg');
}

/* ——— Main ——— */

main {
	height: auto;
	min-height: 100vh;
	padding: 3rem;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

.start {
	height: auto;
	min-height: calc(100vh - 7rem);
	width: calc(100vw - 7rem);
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	border-radius: 4rem;
	background-image: linear-gradient(#00070D, #001220);
}

.start-content {
	width: 90%;
	max-width: 980px;
	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 7rem;
	
	animation: fade-in 1.5s linear forwards;
	transform: translateY(-1rem);
}

.card-box {
	align-self: center;
	perspective: 800px;
}

.card {
	position: relative;
	overflow: hidden;
	
	height: 43rem;
	width: 27rem;
	box-sizing: border-box;
	
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
	background-clip: padding-box;
	backdrop-filter: blur(25px);
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
	border-radius: 3.5rem;
	
	transform: rotate3d(0);
	transform-style: preserve-3d;
	will-change: transform;
	transition: transform 300ms ease-out, box-shadow 300ms ease-out;
}

.card:hover {
	transition-duration: 150ms;
}

.card .glow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: none;
	pointer-events: none;
	opacity: 0;
	transition: opacity 150ms ease;
}

.card-portrait {
	margin: 0.5rem auto 0;
	height: 36.4rem;
	width: 26rem;
	border-radius: 3rem;
	overflow: hidden;
	background-image: url('../img/portrait.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.card-label {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0.8rem;
	margin: 1.6rem 2.4rem;
}

.card-label-name,
.card-label-badge {
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
}

.card-label-name {
	height: 1.6rem;
	width: 14rem;
	background-image: url('../img/name.svg');
}

.card-label-badge {
	height: 2.4rem;
	width: 2.4rem;
	background-image: url('../img/icons/badge-blue.svg');
}

.hello-box {
	text-align: left;
	max-width: 58rem;
	align-self: flex-start;
	transform: translateY(1.2rem);
}

.hello-info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: nowrap;
	gap: 1rem;
}

.hello-title,
.hello-location {
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	border-radius: 1.5rem;
	padding: 0.7rem 1rem;
	
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #AAAAAA;
	
	cursor: default;
	
	transition: all 0.3s ease;
}

.hello-title:hover,
.hello-location:hover {
	border: 1.5px solid rgba(255, 255, 255, 0.2);
	color: #E6EDF2;
}

.hello-title-label,
.hello-location-label {
	transform: translateY(-0.4px);
}

.hello-title-icon,
.hello-location-icon {
	height: 1.4rem;
	width: 1.4rem;
	
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.hello-title-icon {
	background-image: url('../img/icons/cursor.svg');
}

.hello-title:hover .hello-title-icon {
	background-image: url('../img/icons/cursor-blue.svg');
	animation: title 900ms linear;
	animation-fill-mode: forwards;
}

.hello-location-icon {
	background-image: url('../img/icons/pin.svg');
}

.hello-location:hover .hello-location-icon {
	background-image: url('../img/icons/pin-blue.svg');
	animation: location 500ms linear;
	animation-fill-mode: forwards;
}

.hello {
	font-size: 4.5rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 1.5rem 0 3.5rem 0.2rem;
}

.hello-actions {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 2rem;
}

.hello-button {
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1;
	
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	
	padding: 0.9rem 1.5rem;
	border-radius: 1.8rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
	background-clip: padding-box;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
	
	transition: all 0.3s ease;
}

.hello-button:hover {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
	background-color: rgba(0, 0, 240, 0.8);
}

.hello-button-label {
	transform: translateY(-1px);
}

.hello-button-icon {
	height: 2.4rem;
	width: 2.4rem;
	display: inline-block;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	animation: fade-in 150ms linear forwards;
}

.icon-mail {
	display: inline-block;
	background-image: url('../img/icons/mail.svg');
}

a.hello-button:hover .icon-mail {
	display: none;
	animation: fade-out 150ms linear forwards;
}

.icon-mail-fill {
	display: none;
	background-image: url('../img/icons/mail-fill.svg');
}

a.hello-button:hover .icon-mail-fill {
	display: inline-block;
	animation: fade-in 150ms linear forwards;
}

.hello-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1;
	color: #AAAAAA;
	
	cursor: default;
}

.hello-status-label {
	transform: translateY(-1px);
}

.hello-status-icon {
	height: 1.8rem;
	width: 1.8rem;
	background-image: url('../img/icons/available.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.hello-status:hover .hello-status-icon {
	animation: status 500ms linear;
	animation-fill-mode: forwards;
}

.projects {
	scroll-margin-top: 11.5rem;
	height: auto;
	min-height: 100vh;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	background-color: #00070D;
}

.projects-content {
	width: 90%;
	max-width: 980px;
	
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.project {
	aspect-ratio: 3 / 4;
	border-radius: 3.5rem;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	background-clip: padding-box;
	
	transition: all 150ms ease;
}

.project:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
	background-color: rgba(0, 0, 240, 0.6);
}

.project-image {
	margin: 0.5rem auto;
	height: calc(100% - 1rem);
	width: calc(100% - 1rem);
	border-radius: 3rem;
	overflow: hidden;
	background-image: url('../img/projects/placeholder.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	
	transition: all 150ms ease;
}

.project:hover .project-image {
	margin: 1rem auto;
	height: calc(100% - 2rem);
	width: calc(100% - 2rem);
	border-radius: 2.5rem;
}

.project-kreis {
	background-image: url('../img/projects/kreis.png');
}

.project-icons {
	background-image: url('../img/projects/icons.png');
}

.contact {
	scroll-margin-top: 11.5rem;
	height: auto;
	min-height: 100vh;
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	background-image: linear-gradient(#00070D, #001220);
}

.contact-content {
	width: 90%;
	max-width: 980px;
	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 3rem;
}



/* ——— Footer ——— */

footer {
	margin: 0 auto;
	width: calc(100vw - 7rem);
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	border-radius: 4rem 4rem 0 0;
	background-image: linear-gradient(#001220, #00070D);
}

.footer-content {
	margin: 0 auto;
	width: 90%;
	max-width: 980px;
	padding: 3rem 0 3.5rem;
	
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	
	font-size: 1.8rem;
	font-weight: 500;
}

.footer-copyright {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.footer-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem;
	
	color: #AAAAAA;
}

.footer-links a {
	transition: all 150ms ease;
}

.footer-links a:hover {
	color: #E6EDF2;
}

.footer-links span {
	color: rgba(170, 170, 170, 0.5);
}

/* ——— Overlay ——— */

.overlay {
    position: fixed;
    bottom: 50%;
    left: 50%;
	z-index: 2;
	
    height: 100%;
    width: 100%;
	
	background-color: rgba(0, 7, 13, 0.7);
	backdrop-filter: blur(50px);
	border-top: 1.5px solid rgba(255, 255, 255, 0.1);
	border-radius: 3.5rem 3.5rem 0 0;
	
	display: none;
	overflow-y: scroll;
	
	transition: all 500ms cubic-bezier(.02, .01, .47, 1);
	animation: slide-up 500ms ease-out forwards;
}

.overlay.active {
    display: block;
}

.pattern-dots {
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, #00070D 2px);
	background-size: 40px 40px;
}

.pattern-boxes {
	background-image: linear-gradient(rgba(255,255,255,0.05) 2px, transparent 2px), linear-gradient(to right, rgba(255,255,255,0.05) 2px, #00070D 2px);
	background-size: 40px 40px;
}

.pattern-lines {
	background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 2px, #00070D 2px, #00070D);
	background-size: 40px 40px;
}

.pattern-lines-2 {
	background-image: repeating-linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 2px, #00070D 2px, #00070D);
	background-size: 40px 40px;
}

.close-overlay {
	position: absolute;
	top: 4rem;
	right: 4rem;
	
	height: 4rem;
	width: 4rem;
	background-image: url('../img/icons/cross.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	
	cursor: pointer;
	animation: fade-in 500ms linear forwards;
}

.close-overlay:hover {
	background-image: url('../img/icons/cross-light.svg');
}

/* ——— Rechtliches ——— */

.legal {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: auto;
	padding: 15rem 0;
}

.legal-content {
	width: 90%;
	max-width: 980px;
	text-align: left;
}

.legal-header {
	font-size: 4rem;
	font-weight: 600;
}

.legal-header-line {
	margin: 2rem 0 3rem;
	border-bottom: 1.5px rgba(255, 255, 255, 0.1) solid;
}

.legal-header2 {
	margin: 4rem 0 2rem;
	font-size: 2.7rem;
	font-weight: 600;
}

.legal-header3 {
	margin: 3rem 0 1.5rem;
	font-size: 2.4rem;
	font-weight: 600;
}

.legal-header4 {
	margin: 2rem 0 1rem;
	font-size: 2rem;
	font-weight: 600;
}

.legal-text {
	font-size: 2rem;
	line-height: 1.8;
}

/* —————————————————————————————————————————————— */

/* ——— Keyframes ——— */

@keyframes fade-in {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
}

@keyframes fade-out {
	from {
	  opacity: 1;
	}
	to {
	  opacity: 0;
	}
}

@keyframes slide-up {
	0% {
		transform: translate(-50%, 150%);
	}
	50%{
		transform: translate(-50%, 51%);
	}
	75%{
		transform: translate(-50%, 52%);
	}
	100% {
		transform: translate(-50%, 51%);
	}
}

@keyframes title {
	0% {
		transform: translate(0px, 0px);
	}
	7% {
		transform: translate(-2px, 1px);
	}
	15% {
		transform: translate(-4px, -1px);
	}
	22% {
		transform: translate(-2px, -3px);
	}
	30% {
		transform: translate(0px, -4px);
	}
	37% {
		transform: translate(2px, -3px);
	}
	45% {
		transform: translate(4px, -1px);
	}
	52% {
		transform: translate(2px, 2px);
	}
	60% {
		transform: translate(0px, 0px);
		background-size: contain;
	}
	70% {
		background-size: 14px;
	}
	80% {
		transform: translate(0px, 0px);
		background-size: 11px;
	}
	90% {
		background-size: 14px;
	}
	100% {
		transform: translate(0px, 0px);
		background-size: contain;
	}
}

@keyframes location {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-7px);
	}
	65% {
		transform: translateY(3px);
	}
	100% {
		transform: translateY(0px);
	}
}

@keyframes status {
	0% {
		opacity: 1;
		background-size: contain;
	}
	50% {
		opacity: 0;
		background-size: 16px;
	}
	100% {
		opacity: 1;
		background-size: contain;
	}
}

/* ——— Media Queries ——— */

@media	(max-height: 800px),
		(max-width: 1092px) {
	.start {
		padding: 4rem 0 7rem;
	}
}

@media (max-width: 768px) {
	.start-content {
		gap: 4rem;
	}
	.projects-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	nav {
		top: auto;
		bottom: 1.5rem;
	}
	main {
		padding: 1rem 1rem 2rem 1rem;
	}
	.start {
		min-height: calc(100vh - 1rem);
		width: calc(100vw - 1rem);
		padding: 4rem 0 7rem;
	}
	.card {
		height: calc(43rem * 0.8);
		width: calc(27rem * 0.8);
		border-radius: 3rem;
	}
	.card-portrait {
		margin-top: calc(0.5rem * 0.8);
		height: calc(36.4rem * 0.8);
		width: calc(26rem * 0.8);
		border-radius: calc(3rem - (0.5rem * 0.8));
	}
	.card-label {
		gap: 0.6rem;
		margin: 1.2rem 1.8rem;
	}
	.card-label-name {
		height: 1.5rem;
		width: 13.5rem;
	}
	
	.card-label-badge {
		height: 2rem;
		width: 2rem;
	}
	.hello-box {
		transform: none;
	}
	.hello {
		margin: 2rem 0 3.5rem;
		font-size: 3.3rem;
	}
	.hello-actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.5rem;
	}
	footer {
		width: calc(100vw - 1rem);
	}
	.footer-content {
		padding: 3rem 0 4rem;
		flex-direction: column;
		text-align: center;
	}
	.footer-copyright {
		flex-direction: column;
		text-align: center;
	}
	.footer-links {
		color: #AAAAAA;
	}
	.legal {
		padding: 4rem 0 8rem;
	}
}