/* Globale Schriftart */

body {
	margin-left: 200px;
	background: #ffffff;
	/* echtes Weiß */
	color: #111;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 500;
	/* Regular oder Bold (je nach System) */
	letter-spacing: -0.5px;
}

a {
	color: #111;
	/* Schwarz */
	text-decoration: underline;
	text-underline-offset: 2px;
}

.opacity-hover {
	opacity: 1;
	transition: opacity 0.3s ease;
}

.opacity-hover:hover {
	opacity: 0.6;
}

.hero h1 {
	font-size: 4rem;
	font-weight: 700;
	/* Bold für Haupttitel */
	margin: 0;
}



section {
	margin-bottom: 3rem;
}

footer {
	text-align: center;
	padding: 2rem;
	font-size: 0.9rem;
	color: #777;
}

.home-only-logo {
	margin: 0;
	padding: 0;
	background-color: white;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}


.logo-container {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #ffffff;
	/* Falls du's explizit setzen willst */
}


/* Wichtig: body nach links verschieben wegen Side-Nav */
body {
	margin-left: 200px;
}

body {
	margin-left: 200px;
	/* Platz schaffen für Side-Nav */
}

.logo {
	width: 80vw;
	max-width: 500px;
	height: auto;
	object-fit: cover;
	object-position: center;
	clip-path: inset(10% 0 10% 0);
	/* schneidet oben & unten 10% weg */
}

/* Animation für das Logo (optional Fade in) */
.logo {
	width: 80vw;
	max-width: 500px;
	height: auto;
	opacity: 0;
	transform: scale(0.95);
	animation: logoFadeIn 1.5s ease-out forwards;
	animation-delay: 0.3s;
}

@keyframes logoFadeIn {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.about-content {

	max-width: 800px;
	margin: 5rem auto;
	padding: 7rem 2rem 2rem 2rem;
	/* 👈 Abstand nach oben erhöht */
	font-weight: 300;
	line-height: 1.7;
}

.about-content h1 {
	font-weight: 500;
	font-size: 2.5rem;
	margin-bottom: 2rem;
}

.top-logo {
	width: 150px;
	height: auto;
}

.top-logo-wrapper {
	position: fixed;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

.work-content {
	max-width: 800px;
	margin: 5rem auto;
	padding: 8rem 2rem 2rem 2rem;
	font-weight: 300;
	line-height: 1.7;
}

.project {
	margin-bottom: 3rem;
}

.project h2 {
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 0;
	/* ❌ kein Abstand */
	padding: 0;
	/* ❌ kein Innenabstand */
	margin: 0;
	/* ❌ kein Außenabstand */
}


.video-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}



.project-detail {
	max-width: 800px;
	margin: 5rem auto;
	padding: 8rem 2rem 2rem 2rem;
	font-weight: 300;
	line-height: 1.7;
}

.project-detail h1 {
	font-weight: 500;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.project-detail a {
	font-weight: bold;
	text-decoration: underline;
}

.page-header {
	position: relative;
	padding: 2rem 0 1rem 0;
	background-color: white;
}

.logo-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}

.top-logo {
	width: 100px;
	height: auto;
}

.video-tile {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	/* quadratisch */
	overflow: hidden;
	cursor: pointer;
}

.video-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.video-tile:hover img {
	transform: scale(1.03);
}

.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: none;
	/* kein Schleier */
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}

.video-title {
	color: white;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
	font-size: 1.3rem;
	text-align: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	padding: 0.5rem 1rem;
	z-index: 2;
}

.video-tile:hover .video-title {
	opacity: 1;
}

/* Side Navigation */
.side-nav {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 200px;
	background-color: #fff;
	/* border-right: 1px solid #ddd; */
	/* entfernt für cleaner Look */
	padding-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.side-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.side-nav a {
	text-decoration: none;
	color: #111;
	font-weight: 300;
	/* Light */
	font-size: 1rem;
	transition: 0.2s;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.side-nav a:hover {
	opacity: 0.6;
}

.has-submenu .submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	list-style: none;
	padding-left: 1rem;
	margin-top: 0.6rem;
	margin-bottom: 0rem;
	gap: 0.5rem;
	padding-bottom: 0rem;

}


.has-submenu.active .submenu {
	max-height: 200px;
	/* reicht locker für 2 Einträge */
}

/*
.submenu {
  display: flex;
  flex-direction: column;
  gap: 1rem; !important;
  padding: 0;
  margin: 0;
}
*/

.submenu li {
	list-style: none;
}

.submenu li a {
	font-size: 1rem;
	padding: 0.8rem 0.4rem;
	display: block;
}






.main-footer {
	margin: 0 auto;
	padding: 2rem 1rem;
	text-align: center;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	font-size: 0.85rem;
	color: blue;
	text-shadow: 0 0 2px blue;
	max-width: 700px;
	/* oder die gleiche Breite wie dein Content */
}

/* SMOOTH SCROLL */
html {
	scroll-behavior: smooth;
}

.sub-nav {
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding: 2rem 0 1rem 0;
	font-family: Helvetica, sans-serif;
	font-size: 12rem;
	background: none;
	border: none;
	margin-top: 2rem;
	/* mehr Abstand vom Logo */
}

.sub-nav a {
	color: blue;
	text-decoration: none;
	/*  font-weight: lighter;*/
	position: relative;
}

.sub-nav a::after {
	content: '';
	display: block;
	width: 0%;
	height: 2px;
	background: blue;
	transition: width 0.3s;
	margin: 0 auto;
}

.sub-nav a:hover::after {
	width: 100%;
}

/* SECTION TITLE */
.section-title-glow {
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 300;
	font-size: 1.6rem;
	text-align: center;
	color: blue;
	padding: 2rem 2rem 1rem 2rem;
	text-shadow: 0 0 6px blue;
}

/* Liste untereinander */
.photo-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	/* keine Abstände zwischen Bildern */
}

.photo-item {
	position: relative;
	display: block;
	overflow: hidden;
}

.photo-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

/* Hover-Zoom */
.photo-item:hover img {
	transform: scale(1.02);
}

/* Titel Overlay */
.photo-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-weight: 400;
	font-size: 2rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	text-shadow: 0 0 5px black;
}

.photo-item:hover .photo-title {
	opacity: 1;
}

.inline-gif {
	width: 200px;
	height: 200px;
	vertical-align: middle;
	margin: 0 4px;
	padding-top: 10px;
}

/* Smartphones */
@media (max-width: 600px) {
	body {
		font-size: 0.9rem;
		/* Schrift kleiner */
	}

	}

	.main-nav ul li a {
		font-size: 0.8rem;
		/* kleinere Schrift */
	}

	.video-grid,
	.photo-grid {
		grid-template-columns: 1fr;
		/* nur eine Kachel pro Reihe */
	}

	.video-title,
	.photo-title {
		font-size: 1rem;
		/* Titel kleiner */
	}

	.side-nav {
		width: 80px;
		/* viel schmaler */
		padding: 0.5rem;
		/* weniger Abstand */
	}

	.side-nav ul li a {
		font-size: 0.8rem;
		/* kleinere Schrift in der Nav */
	}

	body {
		margin-left: 90px;
		/* Content rutscht näher an die Nav */
	}
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {

	.video-grid,
	.photo-grid {
		grid-template-columns: repeat(2, 1fr);
		/* zwei Kacheln */
	}

	.main-nav ul li a {
		font-size: 1rem;
	}
}

/* Große Screens (optional) */
@media (min-width: 900px) {

	.video-grid,
	.photo-grid {
		grid-template-columns: repeat(3, 1fr);
		/* mehr Spalten auf Riesenscreens */
	}
}

/* Burger standardmäßig unsichtbar */
.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1001;
}

/* Mobile Style */
@media (max-width: 800px) {
  .burger {
    display: block; /* Burger sichtbar */
  }

  .side-nav {
    position: fixed;
    top: 0;
    left: -250px; /* versteckt außerhalb vom Screen */
    width: 200px;
    height: 100%;
    background: white;
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 4rem; /* Platz unter dem Burger */
  }

  .side-nav.active {
    left: 0; /* fährt rein */
  }

  body {
    margin-left: 0; /* kein extra Margin auf Mobile */
  }
	@media (max-width: 800px) {
  .side-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;   /* ganze Breite */
    height: 100%;
    background: rgba(255,255,255,0.95); /* leicht transparent */
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    text-align: center;
    padding-top: 5rem;
  }

  .side-nav.active {
    transform: translateY(0);
  }

  .side-nav ul li {
    margin: 1.5rem 0;
  }
}
