/* --------------------------
   Inter Schriftart einbinden
--------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 1000;
  font-style: normal;
}

/* --------------------------
   Reset & Grundschrift
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: transparent;
  color: #000;
  line-height: 1.6;
}

/* --------------------------
   Page Layout (Footer unten)
--------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------
   Header
--------------------------- */
.header-text {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  font-weight: 700;
  color: #a0a0a0;
  z-index: 10;
  background-color: transparent;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  gap: 2rem;
}

.header-text a {
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 700;
}

/* --------------------------
   Hero Video / Bild
--------------------------- */
.hero {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  text-align: center;
  z-index: 5;
}

/* --------------------------
   About Fullscreen
--------------------------- */
.about {
  flex: 1;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  max-width: none;
  margin: 0;
  padding: 2rem;
  padding-bottom: 4rem;
}

.about p {
  max-width: 1000px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 1000;
  line-height: 1.15;
}

/* --------------------------
   Portrait Section (NEU)
--------------------------- */
.portrait-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  margin-top: -18vh;
  margin-bottom: -18vh;
  padding-bottom: 0rem;
}

.portrait-container {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  aspect-ratio: 1 / 1;
  z-index: 5;
}

.portrait-piece {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

/* --------------------------
   Work Seite
--------------------------- */
.work-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  padding-top: 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.project img {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background-color: #000;
  display: block;
  border-radius: 4px;
}

.project h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.5rem;
  text-align: center;
}

.header-text,
.header-text a {
  font-family: 'Inter', sans-serif;
}

/* --------------------------
   Projekt Detail mit Plyr
--------------------------- */
.project-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 3rem 2rem;
  padding-top: 5rem;
}

/* Video Container (Plyr) – zentriert */
.video-container {
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  background-color: #000;
  border-radius: 4px;
}

.video-container #player {
  width: 100%;
  height: 100%;
  display: block;
}

/* Projekt Titel oben */
.project-title {
  text-align: center;
  font-weight: 1000;
  font-size: 3rem;
  margin-bottom: 2rem;
}

/* Credits direkt unter Player, linksbündig */
.project-meta {
  width: 80%;
  max-width: 800px;
  margin: 0.5rem auto 0 auto;
  text-align: left;
  font-size: 1rem;
}

.project-meta ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  line-height: 1.5;
}

.project-meta li {
  font-weight: 400;
}

/* Optional: Plyr Controls anpassen */
.plyr {
  border-radius: 4px;
  background-color: #000;
}

.plyr__controls {
  background-color: rgba(0,0,0,0.6);
}

/* Footer */
.footer {
  margin-top: 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 2rem;
}

.footer a {
  color: #000;
  text-decoration: none;
}

/* --------------------------
   Responsive Anpassungen
--------------------------- */
@media (max-width: 768px) {
  .about p {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .video-container,
  .project-meta {
    width: 90%;
    max-width: 100%;
  }

  .portrait-container {
    width: 90vw;
  }
}

:root {
  --plyr-color-main: #aaaaaa;
}