/* === Globaler Letter-Spacing Reset === */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
strong,
em,
blockquote,
label,
input,
textarea,
button {
  letter-spacing: normal;
}


/* Navbar */

/* Logo Ruckel Animation mit einer opacity überschreiben */

.open .navbar .logotype__front,
.open .navbar .btn-link {
  opacity: 0;
}

.open .navbar .logotype__back {
  opacity: 1;
}

.navbar .logotype__back {
  opacity: 0;
}

.logotype {
  transition: opacity 0.4s ease;
  will-change: opacity;
}


.hamburger__inner::before, .hamburger__inner::after {
  height: 4px;
  width: 30px;
}

.logotype {
  height: 110px;
  max-height: 110px;
}
.navbar,
.navbar.sticky {
  height: 125px;
}

@media only screen and (max-width: 992px) {
  .navbar,
  .navbar.sticky {
    height: 95px;
  }
  .logotype {
    height: 80px;
  }
}


@media only screen and (max-width: 768px) {
  .navbar,
  .navbar.sticky {
    height: 85px;
  }
  .logotype {
    height: 70px;
  }
}

@media only screen and (max-width: 580px) {
  .navbar,
  .navbar.sticky {
    height: 75px;
  }
  .logotype {
    height: 60px;
  }
}


/* Menü */

.menu a.menu-list__item {
    font-weight: 900;
}

.social__link {
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 400;
}

@media only screen and (max-width: 768px) {
  .menu-list__item {
  margin-top: 5px;
  }
}

/* Footer */

.footer-new ul.listContact h6.title--h6 {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer-new ul.listContact li {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 16px;
}

.footer-new .link_decoration {
  text-underline-offset: 7px;
}

@media only screen and (max-width: 580px) {
  .footer-new ul.listContact li {
      font-size: 1rem;
  }
}

.logotype-footer {
  height: 95px;
}

@media only screen and (min-width: 450px) {
  .logotype-footer {
    height: 110px;
  }
}

@media only screen and (min-width: 768px) {
  .logotype-footer {
    height: 120px;
  }
}

/* Index */


/* Basis-Styles (für große Bildschirme) */
.lead-wrapper h1 {
  /* 35px @ 350px → 60px @ 1200px */
  font-size: clamp(2.1875rem, calc(2.1875rem + (3.75 - 2.1875) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead-wrapper h2 {
  /* 35px @ 350px → 60px @ 1200px */
  font-size: clamp(2.1875rem, calc(2.1875rem + (3.75 - 2.1875) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  font-weight: 400;
  text-transform: uppercase;
}

.lead-wrapper {
  margin-top: 5rem;
  margin-bottom: 8rem;
}

/* Tablet und kleiner: bis 768px */
@media only screen and (max-width: 768px) {

  .lead-wrapper {
    margin-top: 5rem;
    margin-bottom: 7rem;
  }
}

/* Smartphone: bis 580px */
@media only screen and (max-width: 580px) {

  body.start .header-page {
    margin-top: 6rem;
  }

  .lead-wrapper {
    margin-top: 3rem;
    margin-bottom: 2.8rem;
  }
}

/* Portfolio */

@media only screen and (max-width: 992px) {
  .item-project {
    flex: 0 0 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}


body.portfolio .header-page {
  margin-bottom: 5rem;
}

body.portfolio .header-page h1 {
  font-size: clamp(3.125rem, calc(3.125rem + (3.75 - 3.125) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  margin-bottom: 12px;
  font-weight: 900;
}

body.portfolio h6.filters-title {
    color: #000;
    font-weight: 400;
    font-size: 49px;
    letter-spacing: normal;
    text-transform: uppercase;
}

body.portfolio li.filters__item {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.7;
}

body.portfolio figure.item-project figcaption .client {
    font-weight: 400;
    text-transform: uppercase;
}

body.portfolio figure.item-project figcaption h3 {
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {

  body.portfolio div.select span.placeholder {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 18px;
  }

  body.portfolio li.filters__item {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.3;
  }

  body.portfolio .header-page {
    margin-bottom: 2rem;
  }
}

@media only screen and (min-width: 769px) {
  .filters__item {
    padding-right: 1rem;
}}

.item-project {
  position: relative;
  overflow: hidden;
}

.item-project img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.item-project:hover .img-color {
  opacity: 1;
}

/* Unterseiten */

body.subpage .header-page h1.title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.875rem, calc(1.875rem + (3.75 - 1.875) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  min-height: 0vw;
  margin-bottom: 0px;
}

body.subpage .header-page {
  margin-bottom: clamp(1.25rem, calc(1.25rem + (1.875 - 1.25) * ((100vw - 21.875rem) / (75 - 21.875))), 1.875rem);
  min-height: 0vw;
}

body.subpage .item-details__title {
  font-size: clamp(1.125rem, calc(1.125rem + (1.3125 - 1.125) * ((100vw - 21.875rem) / (75 - 21.875))), 1.3125rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: normal;
  color: #000;
  line-height: 1;
}

body.subpage .item-details__text {
  font-size: clamp(1.125rem, calc(1.125rem + (1.3125 - 1.125) * ((100vw - 21.875rem) / (75 - 21.875))), 1.3125rem);
  font-weight: 400;
  text-transform: uppercase;
}

body.subpage .yt-video-project {
  padding-top: 50px;
  padding-left: 0px;
  padding-right: 0px;
}

body.subpage .yt-video-project .item-details__text a {
  text-underline-offset: 7px;
}

@media only screen and (max-width: 768px) {
  body.subpage .item-details {
    margin-bottom: 20px;
  }

  body.subpage .yt-video-project {
  padding-top: 35px;
  }
}

@media only screen and (max-width: 580px) {
  body.subpage .yt-video-project {
    padding-top: 30px;
  }

  body.subpage .header-page {
    margin-top: 6.5rem;
  }
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
  overflow-x: hidden;
}

.img-section img {
  margin-bottom: 35px;
}

@media only screen and (max-width: 580px) {
.img-section img {
  margin-bottom: 20px;
}}

.reel-section {
  padding-top: 150px;
  padding-bottom: 150px;
  overflow-x: hidden;
  background-color: #000;
  margin-top: 200px;
}

@media only screen and (max-width: 768px) {
.reel-section {
  margin-top: 140px;
}}

@media only screen and (max-width: 580px) {
.reel-section {
    padding-top: 120px;
    padding-bottom: 120px;
    margin-top: 80px;
}}

.reel-section h2,
.reel-section h3 {
  color: white;
  font-weight: 900;
  font-size: clamp(1.8125rem, calc(1.8125rem + (3.125 - 1.8125) * ((100vw - 21.875rem) / (75 - 21.875))), 3.125rem);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.reel-section h3 {
  font-size: clamp(22px, calc(22px + 8 * ((100vw - 350px) / 850)), 30px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0px;
}


@media only screen and (max-width: 768px) {
.reel-section h3 {
  margin-bottom: 35px;
}}

.reel-section.bg-white h2,
.reel-section.bg-white h3 {
  color: #000;
}

.footer-section {
  margin-top: 0px;
}


.n-film {
  background-color: #f7f7f7;
  margin-top: 150px;
}

@media only screen and (max-width: 580px) {
  .n-film {
    padding-top: 120px;
    padding-bottom: 120px;
    margin-top: 80px;
  }
}


h2.sub-title,
h3.sub-title {
  font-size: clamp(1.625rem, calc(1.625rem + (2.5 - 1.625) * ((100vw - 21.875rem) / (75 - 21.875))), 2.5rem);
  font-weight: 400px;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.n-film h2.title {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.875rem, calc(1.875rem + (3.75 - 1.875) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  margin-bottom: 0px;
}

.n-film h3.sub-title {
  margin-bottom: clamp(1.25rem, calc(1.25rem + (1.875 - 1.25) * ((100vw - 21.875rem) / (75 - 21.875))), 1.875rem);
}

.img-section h2, 
.img-section h3 {
  text-transform: uppercase;
}

.img-section h2.title {
  font-size: clamp(1.875rem, calc(1.875rem + (3.75 - 1.875) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
  font-weight: 900;
  margin-bottom: 0px;
}

.img-section h3.sub-title {
  margin-bottom: clamp(1.25rem, calc(1.25rem + (1.875 - 1.25) * ((100vw - 21.875rem) / (75 - 21.875))), 1.875rem);
}


/* Reel Slider */

@media (max-width: 576px) {
  .headline {
    margin-bottom: 30px;
  }
}


.reel-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.reel-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1rem;
  will-change: transform;
}

.reel-slide {
  flex: 0 0 calc(33.333% - 1rem);
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .reel-slide {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 575.98px) {
  .reel-slide {
    flex: 0 0 100%;
  }
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-50%) scale(1); /* kein Hover-Sprung */
}


.slider-nav-prev {
  left: -20px; /* oder 0 für mobile-optimiert */
}

.slider-nav-next {
  right: -20px;
}

/* Optional: Auf kleineren Screens etwas näher ran */
@media (max-width: 576px) {
  .slider-nav-prev {
    left: 4px;
  }
  .slider-nav-next {
    right: 4px;
  }
}

.pr-5 {
  padding-right: 50px;
}

.bg-white{
  background-color: white;
}

.headline {
  margin-bottom: 50px;
}

/* Video Container Frame */

.video-container-1 {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.aspect-3840-1634 {
  aspect-ratio: 3840 / 1634;
}
.aspect-16-9 {
  aspect-ratio: 16 / 9;
}
.aspect-21-9 {
    aspect-ratio: 21 / 9;
}
.aspect-18-9 {
  aspect-ratio: 18 / 9;
}
.aspect-16-10 {
  aspect-ratio: 16 / 10;
}
.aspect-4-3 {
    aspect-ratio: 4 / 3;
}
.aspect-2-1 {
  aspect-ratio: 2 / 1;
}

.video-container-1 iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.reel-container {
  width: 100%;
  /* max-width: 400px; /* Optional: Begrenzung der maximalen Breite */
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.reel-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.lazy-reel {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  cursor: pointer;
}


.lazy-video {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  cursor: pointer;
}

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


.lazy-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Overlay über das Thumbnail */
.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* leicht dunkler Standard-Schleier */
  transition: background 0.3s ease;
  z-index: 1; /* unter dem Play-Button */
}

/* Beim Hover über das ganze Video heller */
.lazy-video:hover .thumbnail-overlay,
.lazy-reel:hover .thumbnail-overlay {
  background: rgba(0, 0, 0, 0.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(48px, 10vw, 80px);
  height: clamp(48px, 10vw, 80px);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: clamp(10px, 2.2vw, 18px) 0 clamp(10px, 2.2vw, 18px) clamp(18px, 3.5vw, 30px);
  border-color: transparent transparent transparent white;
}


/* CTA Section */

.cta-section {
  padding-top: 175px;
  padding-bottom: 175px;
}

.cta-section h2 {
  font-weight: 900;
  margin-bottom: 1px;
  text-transform: uppercase;
  font-size: clamp(34px, calc(34px + 16 * ((100vw - 350px) / 850)), 50px);
}

.cta-section h3 {
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, calc(26px + 6 * ((100vw - 350px) / 850)), 32px);
  margin-bottom: 10px;
}

.cta-section h3 a {
  text-underline-offset: clamp(10px, calc(10px + 2 * ((100vw - 350px) / 850)), 12px);
}

@media only screen and (max-width: 768px) {
  .cta-section h3 {
    line-height: 1.9;
  }
}

.img-section + .cta-section {
  padding-top: 50px;
}


/* 404 und 500 */

  .error h1 {
    font-size: clamp(3.125rem, calc(3.125rem + (4.375 - 3.125) * ((100vw - 21.875rem) / (75 - 21.875))), 4.375rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .error h2 {
    font-size: clamp(2.8125rem, calc(2.8125rem + (3.75 - 2.8125) * ((100vw - 21.875rem) / (75 - 21.875))), 3.75rem);
    font-weight: 400;
    text-transform: uppercase;
  }

  .section.error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }

  .logo_wrapper {
    aspect-ratio: 974 / 1081; /* oder 0.901 */
    width: clamp(12.5rem, calc(12.5rem + (18.75 - 12.5) * ((100vw - 21.875rem) / (75 - 21.875))), 18.75rem);
    margin-left: auto;
    margin-right: auto;
  }
  .logo_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }


/* Sonstige Überschreibungen von Media Queries die im theme.css nicht ganz rund laufen */

@media only screen and (max-width: 768px) {
  .case-details .item-details:last-child {
flex: 0 0 100%;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: left;
  }
}