/* ===== FONTS ===== */

@font-face {
  font-family: "SlokeRegular";
  src: url('../fonts/SlokeRegular/font.woff2') format('woff2'),
       url('../fonts/SlokeRegular/font.woff') format('woff');
  font-display: swap;
}

/* ===== WORDPRESS SPECIFIC ===== */

/* Admin bar fix */
body.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}

/* Gutenberg blocks alignment */
.alignleft {
  float: left;
  margin-right: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Default link styling for WordPress content */
.entry-content a {
  color: #fff;
  text-decoration: underline;
}

.entry-content a:hover {
  opacity: 0.8;
}

/* ===== BASIC ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "acumin-pro", sans-serif;
  font-weight: 400;
  color: #fff;
  background-color: #551dd4;
}

.mobileonly {
  display: none;
}
.desktoponly {
  display: block;
}

.ausblenden {
  display: none;
}

.bg-weiss {
  background: #fff;
}

p {
  font-size: 45px;
  line-height: 50px;
  margin: 0;
}

h1,
h2,
h2,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}


  h1 {
    font-family: SlokeRegular;
    font-size: clamp(64px, 8vw, 110px);
    font-weight: 400;
  }

h2 {
  font-family: "tosh-b", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

h3 {
  font-family: "tosh-b", sans-serif;
  font-size: 50px;
  font-weight: 500;
}

.text-legal {
  font-size: 22px !important;
  line-height: 34px !important;
  font-weight: 400;
}

.trennlinie {
  display: block;
  max-width: 100%;
  margin: 200px auto 0 auto;
  height: 1px;
  background: #fff;
}

.abstand-20 {
  display: block;
  height: 20px;
}

.abstand-50 {
  display: block;
  height: 50px;
}

.abstand-80 {
  display: block;
  height: 80px;
}

a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  color: inherit;
}

a.nodeco {
  text-decoration:none!important;  
}

/* --- fadein bei scroll --- */
.fade {
  opacity: 0;
  transform: translateY(50px);
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

.fade_in {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background: #551dd4;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease;
}

.navbar.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-family: SlokeRegular;
  color: white;
  font-size: 37px;
}

.logo a {
  color: white;
  text-decoration: none;
}

/* DESKTOP MENU */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: white;
  font-size: 19px;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* UNDERLINE */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: white;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* MENU TEXT BUTTON */
.menu-toggle {
  color: white;
  cursor: pointer;
  display: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.menu-toggle:hover {
  opacity: 0.7;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 70px;
  right: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: #551dd4;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;

  transform: translateX(100%);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.4s ease;

  pointer-events: none;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav-link {
 font-family: SlokeRegular;
  font-size: 32px;
  opacity: 0;
  transform: translateY(20px);
}

/* Toggle menue - close */
.menu-toggle {
  position: relative;
  width: 40px;
  height: 20px;
  cursor: pointer;
  display: none;
  color: white;
  overflow: hidden;
}

/* Texte */
.menu-toggle span {
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* MENU */
.menu-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  letter-spacing: 0.02em;
}

/* CLOSE */
.close-text {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  letter-spacing: 0.2em;
}

/* ACTIVE STATE → Morphing */
.menu-toggle.active .menu-text {
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
  letter-spacing: 0.2em;
}

.menu-toggle.active .close-text {
  opacity: 1;
  transform: translateY(0) scale(1);
  letter-spacing: 0.02em;
}

/* STAGGER */
.mobile-menu.active .nav-link {
  animation: fadeUp 0.5s ease forwards;
}

.mobile-menu.active .nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu.active .nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu.active .nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu.active .nav-link:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu.active .nav-link:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-menu.active .nav-link:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* INTRO */
.intro {
  position: fixed;
  inset: 0;
  background: #551dd4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.intro.hide {
  transform: translateY(-100%);
}

.intro-title {
  font-family: SlokeRegular;
  color: white;
  font-size: clamp(40px, 8vw, 120px);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  min-height: -webkit-fill-available;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT OVERLAY */
.hero-text {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 45px;
  line-height: 50px;
  color: white;
  z-index: 2;
  opacity: 1;
  transform: translateY(-60px);
  transition: all 0.8s ease;
}

.hero-text.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* wenn kein Cookie-Banner vorhanden ist, sofort Endposition ohne Slide */
.hero-text.no-cookie-bar {
  transition: none !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

/* equalizer */

.eq-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}
.eq-container.show {
  opacity: 1;
}
.eq-bar {
  flex: 1 0 0;
  min-width: 0;
  height: 100px;
  margin-right: -1px;
  background-color: #551dd4;
  transform-origin: top;
  animation: studio-equalizer infinite linear;
}

.eq-bar:last-child {
  margin-right: 0;
}

@keyframes studio-equalizer {
  0% {
    transform: scaleY(0.1);
  }
  10% {
    transform: scaleY(0.6);
  }
  15% {
    transform: scaleY(0.55);
  }
  25% {
    transform: scaleY(0.3);
  }
  35% {
    transform: scaleY(0.95);
  }
  45% {
    transform: scaleY(0.75);
  }
  55% {
    transform: scaleY(0.4);
  }
  65% {
    transform: scaleY(0.15);
  }
  75% {
    transform: scaleY(0.85);
  }
  85% {
    transform: scaleY(0.3);
  }
  100% {
    transform: scaleY(0.1);
  }
}

.eq-bar:nth-child(1) {
  animation-duration: 4.2s;
  animation-delay: -1s;
}
.eq-bar:nth-child(2) {
  animation-duration: 5.1s;
  animation-delay: -3.5s;
}
.eq-bar:nth-child(3) {
  animation-duration: 3.5s;
  animation-delay: -0.2s;
}
.eq-bar:nth-child(4) {
  animation-duration: 6.4s;
  animation-delay: -5.1s;
}
.eq-bar:nth-child(5) {
  animation-duration: 5.3s;
  animation-delay: -2.8s;
}
.eq-bar:nth-child(6) {
  animation-duration: 4.7s;
  animation-delay: -4.4s;
}
.eq-bar:nth-child(7) {
  animation-duration: 6.6s;
  animation-delay: -1.9s;
}

/* CONTENT */
.content-start,
.content {
  background: #551dd4;
  color: #fff;
  padding: 0 20px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.content-start.hidden {
  opacity: 0;
}

.content {
  background: #551dd4;
  color: #fff;
  padding: 100px 20px 0 20px;
}

/* TITEL-TEXT BOX */

.artikel-box {
  --gallery-gap: 20px;
  display: flex;
  align-items: flex-start;
  gap: var(--gallery-gap);
  padding: 150px 0;
}

.artikel-box-title {
  flex: 0 0 calc((100% - var(--gallery-gap)) / 2);
  min-width: 0;
  padding: 0;
}

.artikel-box-text {
  flex: 0 0 calc((100% - var(--gallery-gap)) / 2);
  min-width: 0;
  max-width: calc((100% - var(--gallery-gap)) / 2);
  overflow-wrap: anywhere;
  font-size: 45px;
  line-height: 50px;
}

/* GALLERY GRID */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 150px 20px;
}

.gallery-video {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 150px 20px;
}

/* ITEM */
.gallery-item {
  display: flex;
  flex-direction: column;
}

.gallery-item[data-type] {
  cursor: pointer;
}
.copyright {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 12px;
}

.gallery-title {
  padding: 100px 0;
}

.gallery-text h2 {
  margin: 20px 0 10px 0;
}

.gallery-text h2::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("../img/titel_pfeil.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 20px;
  vertical-align: middle;
}

.gallery-text {
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
}

/* IMAGE WRAPPER */
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* IMAGE */
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* grid item blur */
.image-wrapper img,
.hover-video {
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.gallery-item[data-type]:hover img,
.gallery-item[data-type]:hover .hover-video {
  transform: scale(1.1);
}

/* Hover Effekt */

.gallery-item[data-type]:hover .play-button,
.gallery-item[data-type]:hover .play-button-video {
  transform: scale(1.1);
}

/* PLAY BUTTON */
.play-button {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 33%;
  height: 33%;
  background: #551dd4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Triangle */
.play-button::after {
  content: "";
  width: 40%;
  height: 40%;
  background: white;

  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* PLAY BUTTON Video Breitformat */
.play-button-video {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 33%;
  height: 33%;
  background: #551dd4;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: scale(1);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}

.gallery-video .play-button-video {
  width: 22%;
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Triangle */
.play-button-video::after {
  content: "";
  width: 40%;
  height: auto;
  aspect-ratio: 0.866 / 1;
  background: white;

  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* MODAL */

.video-wrapper {
  width: 80%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  position: relative;
  z-index: 2;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.youtube-wrapper,
.local-wrapper {
  display: none;
}

.youtube-wrapper.active,
.local-wrapper.active {
  display: block;
}

/* MODAL OVERLAY */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;

  z-index: 3000;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal video {
  width: 80%;
  max-width: 1000px;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;

  color: white;
  font-size: 28px;
  cursor: pointer;

  z-index: 3;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.modal-close:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* COOKIE BAR */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #551dd4;
  color: white;
  height: 70px;
  z-index: 1500;

  opacity: 1;
  transition: opacity 0.4s ease;
}

/* hidden state */
.cookie-bar.hidden {
  opacity: 0;
  pointer-events: none;
}

/* inner layout */
.cookie-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* text */
.cookie-text {
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
}

/* button */
.cookie-btn {
  background: white;
  color: #551dd4;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 400;
  font-size: 50px;
  font-family: SlokeRegular;
  transition: opacity 0.3s ease;
}

.cookie-btn:hover {
  opacity: 0.7;
}

.headline {
  font-size: clamp(35px, 7vw, 70px);
  font-weight: 700;
  z-index: 200;
}

/* ===== TV BAND ===== */

.tv-band {
  --tv-band-top-space: 0px;
  --tv-band-bottom-space: 0px;
  --tv-band-scroll-factor: 0.64;
  position: relative;
  margin: 0;
}

.tv-band-sticky {
  position: sticky;
  top: 30vh;
  /* min-height: 100vh; */
  display: flex;
  align-items: flex-start;
  padding-top: var(--tv-band-top-space);
  padding-bottom: var(--tv-band-bottom-space);
  overflow: hidden;
}

.tv-band-viewport {
  width: 100%;
  overflow: hidden;
}

.tv-band-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.tv-band-item {
  flex: 0 0 50vw;
}

.tv-band-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 600px) {
  .tv-band-item {
    flex-basis: 100vw;
  }
}

/* ===== LAUFBAND ===== */

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 100px;
}

.marquee {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;

  /* seitlicher fade */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee:active,
.marquee.is-dragging {
  cursor: grabbing;
}

.marquee-inner {
  display: flex;
  gap: 80px; /* Abstand zwischen Track und Clone */
  width: max-content;
}

.marquee-track {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  white-space: nowrap;
}

.marquee-track span {
  flex-shrink: 0;
}

.marquee-track span img {
  width: clamp(200px, 30vw, 400px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* ===== CONTENT ===== */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 26px;
  background: #fcfb72;
  color: #000;
  text-decoration: none;
  font-size: 29px;
  font-weight: 400;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background: #e5e44f;
}

/* ===== FOOTER ===== */

footer {
  padding: 20px;
  background-color: #fff;
  color: #6e3cde;
}

.footer-text {
  font-size: 20px;
  line-height: 25px;
}

.footer-email a {
  font-family: SlokeRegular;
  font-size: clamp(40px, 8vw, 100px);
  font-weight: 500;
  text-decoration: none;
  color: #6e3cde;
  display: block;
  padding: 100px 0 10px 0;
}

.footer-email a::after {
  content: "";
  display: inline-block;
  width: clamp(30px, 6vw, 80px);
  height: clamp(30px, 6vw, 80px);
  background-image: url("../img/pfeil-violett.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 20px;
  vertical-align: baseline;
}

.footer-email {
  white-space: nowrap;
}

/* Impressum & Datenschutz */
.footer-navi {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
}

.footer-navi a {
  text-decoration: none;
  color: #6e3cde;
  font-size: 16px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

/* UNDERLINE */
.footer-navi a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #6e3cde;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.footer-navi a:hover::after {
  width: 100%;
}

/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .artikel-box-text {
    font-size: 24px;
    line-height: 34px;
  }


  h3 {
    font-family: "tosh-b", sans-serif;
    font-size: 30px;
    font-weight: 500;
  }
  .text-legal {
    font-size: 18px !important;
    line-height: 26px !important;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .mobileonly {
    display: block;
  }
  .desktoponly {
    display: none;
  }

  .logo {
    font-size: 27px;
  }

  .hero img {
    object-position: bottom;
  }

  .hero-text {   
    font-size: 27px;
    line-height: 34px;   
  }

  .trennlinie {
    margin: 80px auto 0 auto;
  }

  .gallery,
  .gallery-video {
    grid-template-columns: 1fr;
  }

  .gallery { 
  gap: 90px 20px;
}

  .artikel-box {
    flex-direction: column;
    gap: 20px;
    padding: 80px 0 40px;
  }

  .artikel-box-title,
  .artikel-box-text {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
  }

  .abstand-50 {
    height: 30px;
  }

  .abstand-80 {
    height: 50px;
  }

  @keyframes studio-equalizer {
    0% {
      transform: scaleY(0.1);
    }
    10% {
      transform: scaleY(0.6);
    }
    15% {
      transform: scaleY(0.45);
    }
    25% {
      transform: scaleY(0.3);
    }
    35% {
      transform: scaleY(0.65);
    }
    45% {
      transform: scaleY(0.35);
    }
    55% {
      transform: scaleY(0.4);
    }
    65% {
      transform: scaleY(0.15);
    }
    75% {
      transform: scaleY(0.55);
    }
    85% {
      transform: scaleY(0.3);
    }
    100% {
      transform: scaleY(0.1);
    }
  }

  .eq-bar:nth-child(3) {
    display: none;
  }
  .eq-bar:nth-child(5) {
    display: none;
  }
}
