/* === CORE VARIABLES & RESET === */
:root {
  --bg-color: #0b0b0b; /* Elegantes Dunkelgrau */
  --surface-color: #141414;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --accent-color: #ffffff;
  --border-color: #1f1f1f;
  --nav-bg: rgba(11, 11, 11, 0.95);

  /* Schmale Breite für kompakteren Look */
  --max-width: 1100px;

  --font-main:
    "Helvetica Neue", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;

  --gap-grid: 20px; /* Engerer Abstand */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff;
}

/* === HEADER & NAV === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: 60px;
  display: flex;
  align-items: center;
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
}

nav a {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

nav a:hover {
  color: var(--text-primary);
}

/* === MAIN LAYOUT === */
main {
  padding-top: 60px;
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 30px; /* Weniger Padding für mehr Kompattheit */
}

/* === HERO SECTION (SEHR KOMPAKT) === */
.hero-section {
  padding: 40px 30px 20px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-headline {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  font-weight: 300;
  margin-bottom: 15px;
  letter-spacing: -0.03em;
}

.hero-intro {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.6;
}

.btn-read-more {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* === WORK SECTION (GRID) === */
.section-header {
  margin-bottom: 40px;
  text-align: left;
}

.section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.main-headline {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  font-weight: 400;
}

/* Professional Grid Layout */
.films-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-grid);
}

.film-card {
  display: block;
}

.film-poster-container {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 2px;
  position: relative;
  background: #1a1a1a;
}

.film-poster-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: grayscale(30%);
}

.film-card:hover .film-poster-container img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.poster-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.film-card:hover .poster-overlay {
  opacity: 1;
}

.view-project-text {
  color: #fff;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid #fff;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.card-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 400;
}

.card-info p {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === ABOUT SECTION === */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-image img {
  width: 80%;
  height: auto;
  display: block;
  filter: brightness(0.85);
}

.bio-text p {
  font-size: 16px;
  color: #d1d1d1;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.7;
}

/* === CONTACT SECTION === */
.contact-wrapper {
  text-align: center;
  padding: 40px 0;
}

.contact-details h2 {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 300;
}

.contact-details p {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 300;
}

.contact-details a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.social-icons {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons img {
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: all 0.3s;
}

.social-icons img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border-color);
  padding: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  margin: 0 8px;
  color: var(--text-secondary);
}

footer a:hover {
  color: #fff;
}

/* === FILM SUBPAGE NAV === */
.film-header .header-content {
  padding: 0 30px;
}

.back-link {
  display: flex;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.back-link:hover {
  color: var(--text-primary);
}
.back-link .arrow {
  margin-right: 8px;
}

/* === FILM DETAIL PAGES (SINGLE COLUMN LAYOUT) === */
.film-page {
  min-height: 100vh;
  background-color: var(--bg-color);
  position: relative;
  color: var(--text-primary);
  padding-top: 0;
}

.film-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh; /* Hintergrundbild kleiner als Vollbild */
  background-size: cover;
  background-position: center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.thermiq-page::before {
  background-image: url("../assets/stills/thermiq1.jpg");
  filter: brightness(0.7);
}
.herr-l-page::before {
  background-image: url("../assets/stills/herr-l1.jpg");
  filter: brightness(0.6); /* Bild abdunkeln für besseren Textkontrast */
}
.hello-page::before {
  background-image: url("../assets/stills/hello1.jpg");
  filter: brightness(0.8);
}
.ein-job-page::before {
  background-image: url("../assets/stills/ein-job1.jpg");
  filter: brightness(0.5);
}
.frau-k-page::before {
  background-image: url("../assets/stills/frau-k1.jpg");
  filter: brightness(0.7);
}
.luftschiff-page::before {
  background-image: url("../assets/stills/luftschiff1.jpg");
  filter: brightness(0.8);
}

/* Block Layout statt Flex für Filmseiten */
.film-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 30px 80px 30px;
  display: block; /* Normale Blockdarstellung */
}

.film-column-text {
  max-width: 700px; /* Elegant schmale Textbreite */
  margin: 0 auto; /* Zentriert */
  text-align: left;
}

/* Poster komplett ausblenden */
.film-column-poster {
  display: none;
}

/* Film Page Typography */
.film-intro h1 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 20px;
  line-height: 1;
  font-weight: 300;
}
.film-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.film-synopsis h2,
.film-credits h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.4);
}
.film-synopsis p {
  font-size: 17px;
  color: #dcdcdc;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
}

.credits-list {
  list-style: none;
  margin-bottom: 50px;
}
.credits-list li {
  margin-bottom: 8px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.credits-list strong {
  color: var(--text-primary);
  font-weight: 400;
}

.film-access {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.film-access p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #cccccc;
}
.film-access a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* === CONTENT DIVIDER (Für saubere Trennung) === */
.content-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 40px 0; /* Platz über und unter dem Strich */
}

/* === SCROLL HINT (Für Herr L) === */
.scroll-hint-wrapper {
  margin-top: 0; /* Direkt am Text */
  margin-bottom: 40px;
  text-align: center;
}

.scroll-hint-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  padding: 20px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}

.scroll-hint-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.scroll-hint-arrow {
  font-size: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* === MAKING OF SLIDER GALLERY === */
.gallery-section {
  margin: 0 auto; /* <--- PERFEKTE ZENTRIERUNG */
  max-width: 850px; /* Breiter als Text (700px), aber nicht zu breit */
  width: 100%;
  padding-bottom: 60px;
}

.gallery-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-track img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
  background: #0b0b0b; /* Schwarz statt #111 damit es zum Hintergrund passt */
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}

.slider-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .films-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-container {
    grid-template-columns: 1fr;
  }
  .hero-section {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .films-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .header-content {
    padding: 0 20px;
  }
  nav a {
    margin-left: 15px;
  }
  section {
    padding: 60px 20px;
  }
  .hero-headline {
    font-size: 36px;
  }
  .film-column-text {
    padding: 0;
  } /* Kein Padding auf Mobile für Text */
  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* === AWARDS PAGE (Besonderer Hintergrund) === */
.awards-page {
  min-height: 100vh;
  background-color: var(--bg-color);
  position: relative;
  color: var(--text-primary);
  padding-top: 0;
}

.awards-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  background-image: url("assets/stills/ivan.png"); /* Das neue Portrait */
  background-size: cover;
  background-position: top center;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Optional: Kleinerer Abstand zwischen den Film-Titeln in der Liste */
.film-credits h2 {
  margin-top: 50px;
  color: rgba(255, 255, 255, 0.6); /* Titel heller */
}
/* === AWARDS PAGE (CLEAN VERSION, NO BG IMAGE) === */
.awards-page-clean {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  padding-top: 80px; /* Damit es unter dem Header anfängt */
}

/* Portrait Styling */
.awards-portrait {
  width: 100%;
  max-width: 240px; /* Deutlich größer */
  height: auto; /* Seitenverhältnis beibehalten */

  margin-bottom: 50px; /* Mehr Abstand zum Text */
}

/* Layout für Text */
.awards-column {
  max-width: 600px; /* Schmale Spalte für bessere Lesbarkeit */
  margin: 0 auto;
  text-align: left;
}

/* Liste Styling */
.awards-list {
  margin-top: 40px;
}

.awards-list h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}

.awards-list ul {
  list-style: none;
}

.awards-list li {
  font-size: 16px;
  margin-bottom: 15px;
  color: #dcdcdc;
  line-height: 1.6;
}

.awards-list strong {
  color: #fff;
  font-weight: 500;
  margin-right: 5px;
}

/* === AWARDS PAGE (SPLIT LAYOUT) === */
.awards-page-clean {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  padding-top: 80px;
}

/* Container für Text links, Bild rechts */
.awards-split-layout {
  display: flex;
  gap: 60px; /* Abstand zwischen Text und Bild */
  align-items: flex-start; /* Beides startet oben */
}

/* Linke Spalte: Text */
.awards-text-column {
  flex: 1; /* Nimmt den restlichen Platz ein */
}

/* Rechte Spalte: Bild */
.awards-image-column {
  flex: 0 0 280px; /* Feste Breite für das Bild */

  align-self: flex-start;
  margin-left: 30px;
}

/* Portrait Styling angepasst */
.awards-portrait {
  width: 100%;
  height: auto;
  border-radius: 4px; /* Leicht abgerundet */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Auf Mobile wieder untereinander, da der Platz zu eng ist */
@media (max-width: 768px) {
  .awards-split-layout {
    flex-direction: column; /* Bild kommt nach unten auf Mobile (oder column oben) */
    gap: 40px;
  }
  .awards-image-column {
    flex: none;
    width: 100%;
    max-width: 240px; /* Bild auf Mobile nicht zu groß */
    margin: 0 auto; /* Zentriert auf Mobile */
    position: static; /* Sticky-Effekt abschalten */
  }
  .awards-text-column {
    width: 100%;
  }
}

/* Listen Styling für Awards Seite falls noch nicht da */
.awards-list ul {
  list-style: none;
}
.awards-list h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 5px;
}
.awards-list li {
  font-size: 16px;
  margin-bottom: 12px;
  color: #dcdcdc;
  line-height: 1.6;
}
.awards-list strong {
  color: #fff;
  font-weight: 500;
  margin-right: 5px;
}
/* === ABOUT IMAGE UPDATE (Wie Filmkarten) === */

/* Container für das Bild, damit das Overlay drüber passt */
.about-image {
  position: relative; /* Wichtig für Overlay-Positionierung */
  overflow: hidden; /* Wichtig damit Overlay nicht rausquillt */
  border-radius: 0;
}

/* Der Link */
.about-image a {
  display: block;
}

/* Das Bild selbst */
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
  filter: brightness(1); /* Standard: Normal hell */
}

/* HOVER EFFETK: Abdunkeln und Zoomen (Gleiches Prinzip wie Filmkarten) */
.about-image:hover img {
  filter: brightness(0.6); /* Abdunkeln */
  transform: scale(1.03); /* Eleganter Zoom */
}

/* Das Overlay ist bereits global definiert, aber wir stellen sicher, dass es passt */
.about-image .poster-overlay {
  z-index: 2;
}
/* === FIX: Hover Text für About Image anzeigen === */
.about-image:hover .poster-overlay {
  opacity: 1; /* Macht den Text sichtbar */
}
