/* 
 * Amelie Mueller Theme - Main Stylesheet
 * This file contains all the styling for the website
 * 
 * IMPORTANT: Font files are expected in assets/fonts/ directory
 * Bootstrap CSS is expected in assets/css/bootstrap.min.css
 */

/* ==========================================
   CUSTOM FONTS
========================================== */

/* OverusedGrotesk font family */
@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Light.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-LightItalic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Roman.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Italic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Medium.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-MediumItalic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-SemiBold.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-SemiBoldItalic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Bold.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-BoldItalic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-Black.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OverusedGrotesk";
  src: url("../fonts/OverusedGrotesk-BlackItalic.woff2") format("woff2"),
       url("../fonts/OverusedGrotesk-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Rinter font family */
@font-face {
  font-family: "Rinter";
  src: url("../fonts/Rinter.woff2") format("woff2"),
       url("../fonts/Rinter.woff") format("woff"),
       url("../fonts/Rinter.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rinter";
  src: url("../fonts/Rinter-Italic.woff2") format("woff2"),
       url("../fonts/Rinter-Italic.woff") format("woff"),
       url("../fonts/Rinter-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Rinter";
  src: url("../fonts/Rinter-Bold.woff2") format("woff2"),
       url("../fonts/Rinter-Bold.woff") format("woff"),
       url("../fonts/Rinter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================
   ROOT VARIABLES
========================================== */
:root {
  --font-menu: clamp(1.3rem, 4vw, 3rem);
  --font-logo-text: clamp(1.3rem, 4vw, 3rem);
  --logo-height: clamp(1.3rem, 4vw, 3rem);
  --gap-menu: 0.9rem;
  --color-text: #ffffff;
  --color-hover: #ffffff;
  --font-text: "Rinter";
  --menu-text: "OverusedGrotesk";
  --h-text: "Rinter";
  --head-logo: clamp(1rem, 2vw, 2rem);
  --head-menu: clamp(0.7rem, 2vw, 1.3rem);
}

/* ==========================================
   GLOBAL STYLES
========================================== */
body {
  font-family: var(--menu-text);
  background-color: #000;
  color: var(--color-text);
  margin: 0;
  padding: 0;
}

html, body {
  background-color: #000;
}

/* ==========================================
   BACKGROUND CONTAINER (HOMEPAGE)
========================================== */
.bg-container {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  position: relative;
}

.bg-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.30);
  pointer-events: none;
  z-index: 0;
}

.bg-container > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .bg-container {
    background-position: center top;
  }
}

/* ==========================================
   HOMEPAGE - NO SCROLL
========================================== */
.homepage-body {
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.homepage-body html {
  height: 100vh;
  overflow: hidden;
}

/* ==========================================
   GRID & LAYOUT
========================================== */
.row {
  margin-top: 10vh;
}

/* ==========================================
   HOMEPAGE MENU POINTS
========================================== */
.menu-point {
  font-size: var(--font-menu);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--menu-text);
  font-weight: 300;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.2;
}

.menu-point:hover {
  font-style: italic;
}


.homepage-hero-row {
  margin-top: 0 !important;
  --home-logo-size: clamp(1.2rem, 4.6vw, 3.5rem);
  --home-logo-text-size: clamp(1.15rem, 3.8vw, 2.8rem);
  --home-logo-text-gap: 0.5rem;
  --home-columns-gap: clamp(0.20rem, calc(var(--font-menu) * 0.20), 0.75rem);
  --home-menu-gap: clamp(
    0.35rem,
    calc(var(--home-logo-size) + var(--home-logo-text-gap) - (1.025 * var(--home-logo-text-size))),
    1rem
  );
}

.homepage-menu-col {
  padding-top: 0;
}

.homepage-brand-col {
  padding-left: clamp(0.5rem, 2vw, 1.5rem) !important;
  padding-right: 0 !important;
}

.homepage-menu-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--home-menu-gap);
}

.homepage-menu-list .menu-point {
  font-size: var(--home-logo-text-size);
  line-height: 1;
}

/* ==========================================
   LOGO & BRANDING
========================================== */
.logo {
  min-height: var(--logo-height);
  display: block;
}

.homepage-logo {
  height: var(--home-logo-size);
  width: auto;
}

.homepage-logo-link {
  display: inline-block;
  text-decoration: none;
}

.homepage-logo-link:hover {
  opacity: 0.92;
}

.logo-text {
  font-size: var(--font-logo-text);
  font-weight: 400;
  color: var(--color-text);
}

.homepage-logo-text {
  font-family: "Rinter", serif;
  font-size: var(--home-logo-text-size);
  font-weight: 300;
  line-height: 0.95;
  margin-top: var(--home-logo-text-gap);
  margin-bottom: 0;
}




/* ==========================================
   HEADER & NAVIGATION
========================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
}

.head-logo {
  min-height: var(--head-logo);
  display: block;
}

.menu-point-head {
  font-size: var(--head-menu);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--menu-text);
  font-weight: 300;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.2;
  margin-right: var(--gap-menu);
}

.menu-point-head:last-child {
  margin-right: 0;
}

.menu-point-head:hover {
  font-style: italic;
}

.menu {
  display: flex;
  gap: var(--gap-menu);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================
   BURGER MENU (RESPONSIVE)
========================================== */
.burger {
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}

.burger-line {
  position: absolute;
  left: 3px;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.25s ease, top 0.3s ease;
  transform-origin: center;
}

.burger .line1 {
  top: 8px;
}

.burger .line2 {
  top: 15px;
}

.burger .line3 {
  top: 22px;
}

.burger.active .line1 {
  top: 15px;
  transform: rotate(45deg);
}

.burger.active .line2 {
  opacity: 0;
}

.burger.active .line3 {
  top: 15px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.mobile-menu-point {
  font-family: var(--menu-text);
  font-size: 4.5rem;
  color: #fff;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-weight: 300;
  line-height: 5rem;
  text-align: left;
}

.mobile-menu-point:hover {
  font-style: italic;
}

.mobile-menu.active {
  display: flex;
}

/* ==========================================
   ARBEITEN PAGE (PROJECTS LISTING)
========================================== */
.project-container {
  display: block;
  position: relative;
  height: 700px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s ease-in;
  z-index: 1;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.project-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease-in-out;
  z-index: 0;
}

.project-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 0;
  pointer-events: none;
}

.project-content {
  position: relative;
  z-index: 2;
  margin: 0;
  margin-top: 12.9vh;
  margin-left: 4px;
}

.project-title {
  font-family: var(--h-text);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 8rem);
  margin-bottom: 1rem;
  max-width: 85%;
  line-height: 0.95;
  padding-left: 0.5rem;
  text-transform: uppercase;
}

.project-hover-text {
  font-family: var(--font-menu);
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
  white-space: normal;
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.4s ease;
  pointer-events: none;
  padding-top: 2rem;
}

.project-container.active .project-hover-text {
  opacity: 1;
  transform: translateY(0);
}

.project-container.active {
  height: calc(var(--vh) * 100);
}

/* ==========================================
   PROJECT SINGLE PAGE (HERO)
========================================== */
.project-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.project-page {
  container-type: inline-size;
}

.project-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.project-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0) 100%
  );
  z-index: 1;
}

.hero-title-row {
  position: relative;
  z-index: 3;
  padding: 1rem 3rem;
}

.project-back-link {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  left: auto;
  margin-top: 0;
  color: #fff;
  text-decoration: none;
  width: clamp(2rem, 4vw, 3rem);
  height: clamp(2rem, 4vw, 3rem);
  z-index: 1000;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-left: 0;
  display: none;
}

@media (min-width: 993px) {
  .project-back-link {
    display: block;
  }
}

.project-back-link:hover {
  opacity: 0.75;
  transform: translateX(-2px);
}

.project-back-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.project-back-icon path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Navigation Arrows on Arbeiten Page */
.project-navigation-arrows {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  display: none;
  flex-direction: column;
  gap: 2rem;
  z-index: 50;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .project-navigation-arrows {
    display: flex;
  }
}

.project-nav-arrow {
  width: clamp(2rem, 4vw, 3rem);
  height: clamp(2rem, 4vw, 3rem);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-nav-up:hover:not(:disabled):not(.disabled) {
  opacity: 0.75;
  transform: translateY(-2px);
}

.project-nav-down:hover:not(:disabled):not(.disabled) {
  opacity: 0.75;
  transform: translateY(2px);
}

.project-nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.project-nav-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-arrow-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-arrow-icon path {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}



.project-title-single {
  margin-top: 12.9vh;
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: var(--h-text);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 8rem);
  width: 80vw;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  padding: 1rem 3rem !important;
  padding-left: 3rem;
  padding-right: 3rem;
}

.project-hero-content .row {
  width: 100%;
  margin: 0 !important;
  margin-top: 0 !important;
}

.hero-col-desc {
  width: 35vw;
  max-width: 35vw;
  padding-right: 2rem;
}

.hero-credits-col {
  width: 55vw;
  max-width: 55vw;
  padding-left: 2rem;
}

.credit-row {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  margin-bottom: 0.75rem;
}

.label-credits {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 1rem;
  flex-shrink: 0;
}

.credit-label {
    font-size: clamp(0.8rem, 2vw, 2.4rem);
  text-align: right;
  white-space: nowrap;
  color: #fff;
  line-height: 1.1;
}

.name-credits {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.credit-name {
    font-size: clamp(0.8rem, 2vw, 2.4rem);
  text-align: left;
  font-weight: 300;
  text-transform: uppercase;
  padding-left: 0.3rem;
  color: #fff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.1;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.7rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 300;
  color: #fff;
}

.project-description {
  padding: 1rem 3rem;
  background: #000;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

@media (min-width: 993px) {
  @container (max-width: 1220px) {
    .project-title,
    .project-title-single {
      font-size: clamp(2rem, 7vw, 8rem);
    }

    .project-hero-content {
      padding: 2rem 2rem !important;
    }

    .project-hero-content .row {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .hero-credits-col {
      width: 100%;
      max-width: 100%;
      padding: 0;
      box-sizing: border-box;
    }

    .credit-row {
      flex-direction: column !important;
      margin-bottom: 0.8rem;
    }

    .label-credits {
      justify-content: flex-start !important;
      text-align: left !important;
      padding-right: 0 !important;
      margin-left: 0;
      width: auto !important;
      flex: none !important;
      margin-bottom: 0.2rem;
    }

    /* When credits stay in row layout on desktop with hidden description */
    .credits-layout-row .credit-row {
      flex-direction: row !important;
      margin-bottom: 0.75rem !important;
    }

    .credits-layout-row .label-credits {
      justify-content: flex-end !important;
      text-align: right !important;
      padding-right: 1rem !important;
      margin-left: 0 !important;
      width: auto !important;
      flex: none !important;
      margin-bottom: auto !important;
    }

    .credits-layout-row .credit-label {
      text-align: right !important;
    }

    .credits-layout-row .name-credits {
      width: auto !important;
      flex: 1 !important;
      padding-left: 0 !important;
      margin-left: 0 !important;
    }

    .credits-layout-row .credit-name {
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal !important;
      max-width: 100%;
    }

    .credit-label {
      text-align: left;
    }

    .name-credits {
      width: 100% !important;
      flex: none !important;
      padding-left: 0;
      margin-left: 0;
    }

    .credit-name {
      padding-left: 0;
      word-wrap: break-word;
      overflow-wrap: break-word;
      white-space: normal;
      max-width: 100%;
    }
  }
}

@media (min-width: 993px) and (max-width: 1980px) {
  .project-page-die-zauberfloete .project-title,
  .project-page-die-zauberfloete .project-title-single {
    font-size: clamp(2rem, 7vw, 8rem);
    padding-left: 0.5rem;
  }

  .project-page-die-zauberfloete .hero-col-desc {
    display: none !important;
  }

  .project-page-die-zauberfloete .hero-credits-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .project-page-die-zauberfloete .project-hero-content {
    padding: 1rem 3rem !important;
  }

  .project-page-die-zauberfloete .project-hero-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .project-page-die-zauberfloete .project-description {
    display: block !important;
  }

  .project-page-die-zauberfloete .credit-row {
    flex-direction: column !important;
    margin-bottom: 1.5rem;
  }

  .project-page-die-zauberfloete .label-credits {
    justify-content: flex-start !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-left: 0;
    width: auto !important;
    flex: none !important;
  }

  .project-page-die-zauberfloete .credit-label {
    text-align: left;
  }

  .project-page-die-zauberfloete .name-credits {
    width: 100% !important;
    flex: none !important;
    padding-left: 0;
    margin-left: 0;
  }

  .project-page-die-zauberfloete .credit-name {
    padding-left: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
}

@media (min-width: 993px) and (max-width: 1770px) {
  .project-page-don-chisciotte .project-title,
  .project-page-don-chisciotte .project-title-single {
    font-size: clamp(2rem, 7vw, 8rem);
  }

  .project-page-don-chisciotte .hero-col-desc {
    display: none !important;
  }

  .project-page-don-chisciotte .hero-credits-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .project-page-don-chisciotte .project-hero-content {
    padding: 1rem 3rem !important;
  }

  .project-page-don-chisciotte .project-hero-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .project-page-don-chisciotte .project-description {
    display: block !important;
  }

  .project-page-don-chisciotte .credit-row {
    flex-direction: column !important;
    margin-bottom: 1.5rem;
  }

  .project-page-don-chisciotte .label-credits {
    justify-content: flex-start !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-left: 0;
    width: auto !important;
    flex: none !important;
  }

  .project-page-don-chisciotte .credit-label {
    text-align: left;
  }

  .project-page-don-chisciotte .name-credits {
    width: 100% !important;
    flex: none !important;
    padding-left: 0;
    margin-left: 0;
  }

  .project-page-don-chisciotte .credit-name {
    padding-left: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
}

@media (min-width: 993px) and (max-width: 1890px) {
  .project-page-die-goettin-der-vernunft .project-title,
  .project-page-die-goettin-der-vernunft .project-title-single {
    font-size: clamp(2rem, 7vw, 8rem);
  }

  .project-page-die-goettin-der-vernunft .hero-col-desc {
    display: none !important;
  }

  .project-page-die-goettin-der-vernunft .hero-credits-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .project-page-die-goettin-der-vernunft .project-hero-content {
    padding: 0rem 3rem !important;
  }

  .project-page-die-goettin-der-vernunft .project-hero-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .project-page-die-goettin-der-vernunft .project-description {
    display: block !important;
  }

  .project-page-die-goettin-der-vernunft .credit-row {
    flex-direction: column !important;
    margin-bottom: 0.75rem;
  }

  .project-page-die-goettin-der-vernunft .label-credits {
    justify-content: flex-start !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-left: 0;
    width: auto !important;
    flex: none !important;
  }

  .project-page-die-goettin-der-vernunft .credit-label {
    text-align: left;
  }

  .project-page-die-goettin-der-vernunft .name-credits {
    width: 100% !important;
    flex: none !important;
    padding-left: 0;
    margin-left: 0;
  }

  .project-page-die-goettin-der-vernunft .credit-name {
    padding-left: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
}

/* ==========================================
   PHOTO GALLERY
========================================== */
.photo-gallery {
  width: 100%;
  column-count: 4;
  column-gap: 0.75rem;
  padding: 0 1rem;
  background: #000;
}

.photo-gallery .gallery-item {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0 0 0.75rem;
  break-inside: avoid;
  cursor: pointer;
  vertical-align: top;
}

@media (max-width: 1200px) {
  .photo-gallery {
    column-count: 3;
    padding: 0 0.75rem;
  }
}

@media (max-width: 768px) {
  .photo-gallery {
    column-count: 2;
    padding: 0 0.5rem;
  }
}

@media (max-width: 576px) {
  .photo-gallery {
    column-count: 1;
    padding: 0;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1600px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 4rem);
  object-fit: contain;
}

.gallery-lightbox__caption {
  font-family: "OverusedGrotesk", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: clamp(0.95rem, 1.2vw, 1.2rem);
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.gallery-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 3rem;
}

.gallery-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  padding: 0.5rem 0.75rem;
}

.gallery-lightbox__arrow--prev {
  left: 1rem;
}

.gallery-lightbox__arrow--next {
  right: 1rem;
}

.gallery-lightbox__close:focus-visible,
.gallery-lightbox__arrow:focus-visible,
.photo-gallery .gallery-item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 992px) {
  .gallery-lightbox {
    padding: 1rem;
  }

  .gallery-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .gallery-lightbox__arrow {
    font-size: 2.5rem;
    padding: 0.5rem;
  }

  .gallery-lightbox__arrow--prev {
    left: 0.25rem;
  }

  .gallery-lightbox__arrow--next {
    right: 0.25rem;
  }

  .project-title-single{
      margin-top: 6rem;
      margin-bottom: 3.5rem;
  }
}

/* ==========================================
   VITA PAGE
========================================== */
.vita-wrapper {
  position: relative;
  width: 100%;
  background: #000;
}

.sticky-image {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.customer-img {
  width: clamp(300px, min(80vw, 80vh), 800px);
  height: clamp(300px, min(80vw, 80vh), 800px);
  object-fit: cover;
  border-radius: 50%;
}

.text-layer {
  position: relative;
  width: 100%;
  min-height: 200vh;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 10%, rgba(0,0,0,0.5) 90%, rgba(0,0,0,0) 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8rem;
  z-index: 4;
}

/* Desktop: JS dynamically sets padding-left/right to match header */
@media (min-width: 993px) {
  .text-layer {
    padding-top: 8rem;
  }
}

/* Mobile: Text respects nav padding */
@media (max-width: 992px) {
  .text-layer {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 6rem;
  }
}

.text-content {
  max-width: clamp(300px, 100vw, 2400px);
  opacity: 1;
  color: #fff;
  font-weight: 400;
  line-height: 1.3;
  font-family: var(--h-text);
  font-size: clamp(1.5rem, 5vw, 6rem);
  text-transform: uppercase;
  z-index: 4;
  text-align: justify;
  text-justify: inter-word;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  letter-spacing: 0.1rem;
}

/* Desktop: Scale text based on available container width */
@media (min-width: 993px) {
  .text-content {
    font-size: clamp(0.5rem, 4vw, 5rem);
    max-width: 100%;
  }
}

/* Mobile: Full responsive scaling */
@media (max-width: 992px) {
  .text-content {
    font-size: clamp(1.2rem, 5vw, 4rem);
    max-width: 100%;
  }
}

/* ==========================================
   CONTACT PAGE
========================================== */
.contact-page {
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-email {
  font-family: "OverusedGrotesk", sans-serif;
  font-weight: 300;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 10rem);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: clamp(0.01em, 0.08vw, 0.05em);
  white-space: nowrap;
  display: block;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  margin: 0 auto;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-email:hover {
  font-style: italic;
}

/* ==========================================
   FOOTER
========================================== */
.site-footer {
  height: 100vh;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  overflow: hidden;
}

.footer-link {
  font-family: "OverusedGrotesk", sans-serif;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  line-height: 0.8;
  white-space: nowrap;
  width: 100%;
  text-align: left;
  font-size: clamp(1rem, 14.5vw, 26em);
  max-width: 100%;
  transform-origin: left center;
  box-sizing: border-box;
}

.footer-link:hover {
  font-style: italic;
}

/* ==========================================
   IMPRESSUM & DATENSCHUTZ PAGES
========================================== */
.impressum-page,
.datenschutz-page {
  min-height: 100vh;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.page-template-page-impressum-php .hero-title-row,
.page-template-page-datenschutz-php .hero-title-row {
  background: #000;
}

@media (min-width: 993px) {
  .page-template-page-impressum-php .hero-title-row,
  .page-template-page-datenschutz-php .hero-title-row {
    position: sticky;
    top: 0;
    z-index: 2;
  }
}

.impressum-content,
.datenschutz-content {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

.impressum-left,
.datenschutz-left {
  width: 50%;
  position: relative;
  z-index: 1;
}

.page-template-page-impressum-php .impressum-left .hero-title-row,
.page-template-page-datenschutz-php .datenschutz-left .hero-title-row {
  position: static;
  z-index: auto;
}

.impressum-right,
.datenschutz-right {
  width: 50%;
  padding-right: 1rem;
  box-sizing: border-box;
  display: flex;
  position: relative;
  z-index: 3;
  align-items: flex-start;
  flex-direction: column;
}

.impressum-right p,
.datenschutz-right p {
  max-width: 520px;
  line-height: 1.2;
  font-family: "OverusedGrotesk", sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 5vw, 1.4rem);
}

.impressum-right h1,
.impressum-right h2,
.datenschutz-right h1,
.datenschutz-right h2 {
  font-size: clamp(1.8rem, 3vw, 4rem);
  line-height: 1.3;
  font-family: "OverusedGrotesk", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}

.impressum-right a,
.datenschutz-right a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.impressum-right a:hover,
.datenschutz-right a:hover {
  font-style: italic;
}

.project-title-info {
  margin-top: 10vh;
  margin-bottom: 1.5rem;
  color: #fff;
  font-family: var(--h-text);
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 6rem);
  width: 80vw;
  line-height: 0.95;
  margin-left: -5px;
  text-transform: uppercase;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

@media (max-width: 1200px) {
  .project-title,
  .project-title-single {
    font-size: clamp(2rem, 7vw, 8rem);
  
  }

  .project-title {
    padding-left: 0.5rem;
  }

  .project-hover-text {
    padding-left: 0.5rem;
  }

  .hero-credits-col {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .project-hero-content {
    padding: 1rem 3rem !important;
  }

  .project-hero-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .credit-row {
    flex-direction: column !important;
    margin-bottom: 0.75rem;
  }

  .label-credits {
    justify-content: flex-start !important;
    text-align: left !important;
    padding-right: 0 !important;
    margin-left: 0;
    width: auto !important;
    flex: none !important;
  }

  .credit-label {
    text-align: left;
  }

  .name-credits {
    width: 100% !important;
    flex: none !important;
    padding-left: 0;
    margin-left: 0;
  }

  .credit-name {
    padding-left: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .photo-gallery {
    column-count: 1 !important;
  }

  .project-hero-content {
    padding: 0 2rem 2rem !important;
    margin-top: -1rem;
  }

  .project-description {
    padding: 2rem 2rem !important;
  }

  .credit-label,
  .credit-name {
    font-size: clamp(1rem, 2.2vw, 2.4rem);
  }

  .main-header {
    padding: 1rem 2rem;
  }

  .hero-title-row {
    padding-left: 4rem !important;
    margin-left: -30px;
  }

  .project-back-link {
    left: 4rem;
    bottom: 3rem;
  }

  .project-content {
    margin-top: 2vh;
  }

  .project-container {
    height: 250px !important;
    overflow: hidden;
    transition: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .project-container.active {
    height: auto !important;
  }

  .project-hover-text {
    display: none;
  }

  .project-title {
    padding: 1rem 1.5rem;
  }

  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
  }

  .footer-link {
    font-size: clamp(1rem, 13.3vw, 10rem) !important;
  }

  .menu-point-head {
    font-size: 4.5rem;
  }

  .impressum-left,
  .datenschutz-left {
    width: 0% !important;
  }

  .impressum-right,
  .datenschutz-right {
    width: 100% !important;
    padding-left: 2rem;
    padding-right: 2rem !important;
  }
}

@media (min-width: 992px) {
  .main-header {
    padding: 1rem 3rem;
  }

  .project-container {
    padding: 1rem 3rem;
  }

  .footer-container {
    padding: 3rem 3rem;
  }
}

/* End of stylesheet */

