* {
  hyphens: auto; /* Aktiviert die automatische Silbentrennung */
  overflow-wrap: break-word; /* Falls ein Wort trotzdem zu lang ist, wird es umgebrochen */
  word-break: normal; /* Standard-Wortumbruch einstellen */
  white-space: normal; /* Kein erzwungener Zeilenumbruch durch Whitespace-Regeln */
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  --festland-green: #00ff38;
}


html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Selection and color tabbing */

::selection {
  background-color: #00ff38;
  color: #000;
}

::focus-visible {
  box-shadow: 0 0 0 2px #00ff38; /* Rahmenfarbe beim Fokus */
}

.body--blog *::selection {
  background-color: #000;
  color: #00ff38;
}

.body--blog *::focus-visible {
  box-shadow: 0 0 0 2px #000; /* Rahmenfarbe beim Fokus */
}

.hero_title {
  box-shadow: 0px 0px 0px 100vw rgb(255, 255, 255);
  -webkit-box-shadow: 0px 0px 0px 100vw rgb(255, 255, 255);
  outline: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.lead-text span {
  color: #dadada;
  transition: color 0.2s ease-out;
}

/*----Grid Projekte  (css-start)----*/

.collection-list-grid.projekte
  .collection-item:nth-child(2n)
  .item-grid.projekte
  .projekte_content_cover {
  grid-column-start: 1;
  grid-column-end: 13;
  aspect-ratio: 1 / 1;
}

@media only screen and (min-width: 991px) {
  .collection-list-grid.projekte
    .collection-item:nth-child(2n)
    .item-grid.projekte
    .projekte_content_cover {
    grid-column-start: 7;
    grid-column-end: 12;
    aspect-ratio: 1 / 1;
  }
}

.collection-list-grid.projekte
  .collection-item:nth-child(2n)
  .item-grid.projekte
  .projekte_content_text {
  grid-column-start: 1;
  grid-column-end: 13;
  text-align: left;
}

@media only screen and (min-width: 768px) {
.collection-list-grid.projekte
  .collection-item:nth-child(2n)
  .item-grid.projekte
  .projekte_content_text {
  grid-column-start: 1;
  grid-column-end: 7;
  text-align: right;
}
}

/*----Grid Projekte (css-end)----*/

/*----Grid Rich-Text (css-start)----*/

/*-<<<<<< Medien----*/

figure div {
  width: 100%;
}

figure.w-richtext-align-fullwidth {
  max-width: 100% !important;
  grid-column-start: 1;
  grid-column-end: 13;
}

figure.w-richtext-align-center.w-richtext-figure-type-video {
  max-width: 100% !important;
  grid-column-start: 1;
  grid-column-end: 13;
}

/*----Medien >>>>>>-*/

/*-<<<<<< Text----*/

blockquote + p {
  margin-top: 2rem !important;
  margin-left: 0rem;
  padding-left: 1.25rem;
  border-left: 0.3rem solid #00ff38;
}

@media only screen and (min-width: 768px) {
  blockquote + p {
    margin-top: 2rem !important;
    margin-left: 6rem;
    padding-left: 1.25rem;
    border-left: 0.3rem solid #00ff38;
  }
}

@media only screen and (min-width: 992px) {
  blockquote + p {
    margin-top: 2rem !important;
    margin-left: 10rem;
    padding-left: 1.25rem;
    border-left: 0.3rem solid #00ff38;
  }
}

.blog-content blockquote + p {
  border-left: 0.3rem solid #000000;
}

.body-blog > blockquote + p {
  border-left: 0.3rem solid #000;
}

.rich-text-block figure + figure {
  margin: 0rem !important;
  margin-top: 2rem !important;
}

@media screen and (max-width: 991px) {
  .rich-text-block figure + figure {
    margin-top: 1rem !important;
  }}

.rich-text-block .w-embed {
  grid-column-start: 3;
  grid-column-end: 11;
}

.rich-text-block figure + p,
.rich-text-block figure + h1,
.rich-text-block figure + h2,
.rich-text-block figure + h3,
.rich-text-block figure + h4,
.rich-text-block figure + h5,
.rich-text-block figure + h6,
.rich-text-block figure + blockquote {
  margin-top: 10vw;
}

.rich-text-block p + figure,
.rich-text-block h1 + figure,
.rich-text-block h2 + figure,
.rich-text-block h3 + figure,
.rich-text-block h4 + figure,
.rich-text-block h5 + figure,
.rich-text-block h6 + figure,
.rich-text-block ul + figure,
.rich-text-block ol + figure {
  margin-top: 10vw;
}

.rich-text-block p + p,
.rich-text-block h1 + p,
.rich-text-block h2 + p,
.rich-text-block h3 + p,
.rich-text-block h4 + p,
.rich-text-block h5 + p,
.rich-text-block h6 + p {
  margin-top: 2rem !important;
}

.rich-text-block p + p,
.rich-text-block p + h1,
.rich-text-block p + h2,
.rich-text-block p + h3,
.rich-text-block p + h4,
.rich-text-block p + h5,
.rich-text-block p + h6 {
  margin-top: 4rem !important;
}

.rich-text-block p + ul,
.rich-text-block h1 + ul,
.rich-text-block h2 + ul,
.rich-text-block h3 + ul,
.rich-text-block h4 + ul,
.rich-text-block h5 + ul,
.rich-text-block h6 + ul {
  margin-top: 2rem !important;
}

.rich-text-block p a,
.rich-text-block h1 a,
.rich-text-block h2 a,
.rich-text-block h3 a,
.rich-text-block h4 a,
.rich-text-block h5 a,
.rich-text-block h6 a {
  font-size: inherit;
  text-decoration: underline;
}

.rich-text-block iframe {
  margin: 0 auto !important;
}

/*----Text >>>>>>-*/

/*----Grid Rich-Text (css-end)----*/

/*----Team (css-start)----*/

/*----Team Teaser*/

.portrait-image-item {
  width: 100%;
  height: 100%;
}

.portrait-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(2n)
    .team-member-wrapper {
    align-items: center;
  }
}

@media screen and (min-width: 768px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(3n)
    .team-member-wrapper {
    align-items: end;
  }
}

@media screen and (min-width: 768px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(2n)
    .team-member-wrapper
    .team-member-card-position
    img {
    max-width: 40vw;
    min-width: 600px;
    height: 100%;
    aspect-ratio: 4 / 3;
  }
}

@media screen and (min-width: 768px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(3n)
    .team-member-wrapper
    .team-member-card-position
    img {
    max-width: 25vw;
    min-width: 500px;
    height: 100%;
    aspect-ratio: 3 / 4;
  }
}

@media screen and (min-width: 768px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(3n)
    .team-member-wrapper
    .team-member-card-position
    div {
    order: -1;
    text-align: right;
  }
}

@media screen and (min-width: 992px) {
  .collection-list-wrapper.team
    .collection-item:nth-child(3n)
    .team-member-wrapper
    .team-member-card-position
    div {
    order: -1;
    text-align: right;
  }
}

.collection-list-wrapper.team.zeitreise
  .collection-item:nth-child(2n)
  .team-member-wrapper
  .team-member-card-position
  img {
  aspect-ratio: auto !important;
}

.collection-list-wrapper.team.zeitreise
  .collection-item:nth-child(3n)
  .team-member-wrapper
  .team-member-card-position
  img {
  aspect-ratio: auto !important;
}

@media screen and (min-width: 768px) {
  .mood-img-collection-item:nth-child(2n) {
    justify-content: end;
  }
}

@media screen and (min-width: 768px) {
  .mood-img-collection-item:nth-child(2n) .mood-img-wrapper {
    aspect-ratio: 1 / 1;
  }
}

/* needs to be in webflow */
.team-teaser-grid {
  display: grid;
  place-items: center;
  padding: 2rem;
  width: 100%;
  perspective: 1500px;
  /*grid-template-columns: repeat(8, 1fr);
  gap: 2vh;
  */
}

.team-teaser-grid-wrap {
  height: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2vh;
  transform-style: preserve-3d;
}

.team-teaser-grid__item {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
}

.team-teaser-grid__item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
}

/*----Team (css-end)----*/

/*----Text Animation (css-Start)----*/

.section-titel span {
  text-indent: 0rem;
}

/*[text-split] {opacity: 0;}
html.w-editor [text-split] {opacity: 1;}

.word {
	overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  transform-origin: bottom;
}*/

/*----Text Animation (css-End)----*/

/*----Cursor styling (css-Start)----*/

.cursor {
  width: 20px;
  height: 20px;
  background-color: #000;
  border-radius: 50%;
  position: fixed;
  top: -100px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-origin: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 999;
  text-align: center;
  hyphens: none;
  /*mix-blend-mode: difference;*/
}

.cursor span.cursor-text {
  display: none;
  pointer-events: none;
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  /*  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm1 10h-2v-2h2v2zm0-4h-2V7h2v7z"/></svg>') no-repeat right;*/
}

.cursor span.cursor-text .letter {
  display: inline-block;
  pointer-events: none;
}

* {
  cursor: none;
}

*:hover {
  cursor: none;
}

/*----Cursor styling (css-end)----*/

.kunden_name span.letter,
.projekt_name span.letter {
  display: inline-block;
  opacity: 1;
}

.char {
  display: inline-block;
}

/*-----Wave Animation (css-start)----*/

.page-transition-wave {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ensure it covers the full height of the viewport */
  background: #000000; /* Change to your preferred wave color */
  z-index: 9999; /* Ensure it's above all other content */
  transform: translateY(100%); /* Start below the viewport */
}

.page-transition-wave path {
  fill: #000000; /* Ensure the path is visible */
}

/*-----Wave Animation (css-end)----*/

.text-footer.small,
.text-footer.big._1,
.text-footer.big._2 {
  transform: translate3d(0, 0, 0) !important;
}

@media only screen and (max-width: 767px) {
  .cursor {
    display: none !important;
  }
}

@media screen and (max-width: 991px) {
  .next_member_container .team-member {
    aspect-ratio: 1 / 1;
   
  }
  .next_member_container > *:nth-child(2n) {
    margin-top: 5rem;
  }
}

.next_member_container > *:nth-child(2n) {
  aspect-ratio: 1 / 1;
}

.navbar.w-nav {
  position: fixed;
  top: 0;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease-in-out;
}

.navbar.w-nav.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
}

.navbar.w-nav.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/****** Swiper JS ******/
.swiper-scrollbar-drag {
  height: 3px;
  background: #000;
  border-radius: 0;
  top: 50%;
  margin-top: -1.5px;
}

.swiper-scrollbar.swiper-scrollbar-horizontal {
  height: 1px;
}

.swiper-slide img {
  max-width: 60%;
}

/**** Distort image ****/
.distorted-image {
  position: absolute;
  top: 0;
  left: 0;
}

.projekte_content_cover {
  position: relative;
}



/* Cutstom VIMEO */

.custom-vimeo-container {
  position: relative; /* Das ist der Anker für alles, was darin liegt */
  width: 100% !important;
  aspect-ratio: 16 / 9!important;
}

.custom-vimeo-container iframe {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9!important;
  border: none;
  pointer-events: none;
}

.vimeo-controls-ui {
  position: absolute; /* "Schwebend" über dem Video */
  bottom: 20px;       /* 20px Abstand von unten */
  left: 20px;         /* 20px Abstand von links */
  display: flex;      /* Buttons nebeneinander anordnen */
  gap: 10px;          /* Abstand zwischen den Buttons */
  z-index: 100;       /* Ganz nach oben legen, damit man sie klicken kann */
}

.vimeo-btn {
  width: 60px;
  height: 60px;
  background-color: var(--festland-green); 
  color: black;
  border-radius: 100%;
  cursor: pointer;
}

.vimeo-icon {
  width: 32px;
  height: 32px;
  pointer-events: none; /* Verhindert, dass das Bild den Klick abfängt */
  display: block;
}

