:root {
  --gap: clamp(14px, 2.4vw, 28px);
  --wrap: min(1180px, 92vw);
  --fg: #0e0e0e;
  --muted: #6a6a6a;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 60px; /* Höhe deines Headers */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--fg);
  background: #fff;
  line-height: 1.5;
}

/* Header transparent + sticky */
.site-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 50;
  background: transparent;
  border: none;
  

}


.site-header .wrap {
  width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  
}

.brand {
  text-decoration: none;
  color: var(--fg);
  font-size: 22px;
  letter-spacing: .02em;
  color: #e8e8e8;
  
}

.nav a {
  text-decoration: none;
  color: var(--fg);
  font-size: 22px;
  margin-left: clamp(16px, 2vw, 28px);
  color: #e8e8e8;
  
}

/* Footer */
.site-footer {
  margin-top: 48px;
  background: linear-gradient(#ffffff00, #fafafa00);
}

.site-footer .wrap {
  width: var(--wrap);
  margin: 0 auto;
  padding: 16px var(--gap);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-grid a {
  color: var(--fg);
  text-decoration: none;
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Index */
.hero-full {
  position: relative;
  height: 100vh;
  width: 100%;
  margin-top: calc(-1 * var(--header-h));
}

.hero-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 106%;
  object-fit: cover;
  display: block;
}

.index-stream {
  width: 100%;
  margin: 80px auto;
  padding: 0 var(--gap);
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1400px) {
  .index-stream {
    grid-template-columns: 1fr;
  }
}

.index-stream figure {
  aspect-ratio: 5 / 4;       /* Container-Verhältnis */
  overflow: hidden;          /* Bild ragt nicht über */
  margin: 0;                 /* optional: Ränder entfernen */
}

.index-stream img {
  width: 100%;
  height: 100%;              /* füllt Container */
  object-fit: cover;         /* zuschneiden statt verzerren */
  display: block;
}


/* Seiten-Top-Abstand */
.page-work main,
.page-about main,
.page-project main {
  padding-top: calc(var(--header-h) + 8px);
}

/* Work-Seite: Galerie fast fullscreen */
.page-work {
  --wrap: min(1800px, 98vw); /* überschreibt nur auf .page-work */
}




.page-project main.wrap {
  max-width: 1280px;
  padding: clamp(32px, 6vw, 80px) var(--gap);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "video sidebar";
  column-gap: clamp(24px, 5vw, 80px);
  row-gap: clamp(32px, 4vw, 48px);
  align-items: start;
}

/* Titel */
.page-project h1 {
  grid-area: title;
  text-align: center;
  margin: 0;
  line-height: 1;
  font-size: clamp(42px, 10vw, 120px);
  font-weight: 800;
}

/* Video links */
.page-project .video {
  grid-area: video;
  width: 100%;
  aspect-ratio: 16/9;
}

/* Rechte Spalte: Credits + Meta zusammen */
.page-project .sidebar {
  grid-area: sidebar;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Credits oben, Meta unten */
}

/* Credits */
.page-project .credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-project .credit-list li {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin: 0.2em 0;
}

/* Meta unten rechts */
.page-project .meta {
  text-align: right;
  margin: 0;
  color: #666;
}


/* Work */
.filters {
  width: var(--wrap);
  margin: 12px auto 8px auto;
  padding: 0 var(--gap);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.chip {
  background: none;       /* kein Button-Hintergrund */
  border: none;           /* keine Linie */
  padding: 0;             /* kein Innenabstand */
  cursor: pointer;
  font-size: 18px;        /* optional: etwas größer */
  color: #bfbfbf;       /* Standardfarbe */
}

.chip.active {
  background: none;       /* auch aktiv ohne Hintergrund */
  color: #010101;            /* nur Textfarbe ändern */
  font-weight: 600;       /* aktiv etwas fetter */
}

.page-work .work-grid,
.page-work .filters {
  width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  width: var(--wrap);
  margin: 12px auto 24px auto;
  padding: 0 var(--gap);
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card figure {
  margin: 0;
}

.work-card img {
  width: 100%;
  height: auto;
  display: block;
}

.work-card .caption {
  padding: 8px 2px;
  color: #111;
  font-size: 14px;
}

/* Project (Detail) */
.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}

.header-bar a {
  color: #0e0e0e;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 4px 8px;
}

.wrap {
  max-width: 1300px;
  margin: 16px auto;
  padding: 0 120px;

}



h1 {
  margin: 8px 0 4px 0;
  font-size: clamp(22px, 4vw, 32px);
}

h2 {
  margin: 4px 0 4px 0;
  font-size: clamp(44px, 4vw, 54px);
  padding: 100px;
  line-height: 100%;
  
}
.meta {
  color: #666;
  margin: 0 0 14px 0;

}

.video {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid #eee;
  margin: 10px 0 16px 0;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section {
  margin: 14px 0;
}

.section h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
  margin: 0 0 6px 0;
}

.credit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credit-list li {
  display: flex;
  gap: 6px;
}

.credit-role {
  min-width: 84px;
  color: #666;
}
