/*BASICS*/


:root {
	--primary-color: #ca3730;
    /*--primary-color: #3095aa;*/
	--secondary-color: #9e3462;;
	--tertiary-color: #3095aa11;
	--quaternary-color: #9e346211;
	--extra-color: #093a3dbd;
	--extra-color-two: #79435c;
	}
	
.bg-dark {
  background-color: #262626 !important; /* Beispiel: dein neuer dunkler Farbcode */
  color: #ffffff; /* Falls du auch die Textfarbe anpassen willst */
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

.underlined{
  text-decoration-thickness: from-font;
}


/*BASIC-ENDE*/




/*ANIMATIONEN*/

/* Basis-Zustand: noch nicht sichtbar */
.animate-fade-right,
.animate-fade-left {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Startposition: rechts außerhalb */
.animate-fade-right {
  transform: translateX(40px);
}

/* Startposition: links außerhalb */
.animate-fade-left {
  transform: translateX(-40px);
}

/* Wenn sichtbar im Viewport */
.animate-fade-right.visible,
.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}



.backgroundgradient {
	background: linear-gradient(180deg, #3095aa22, #9e346222);
	border-radius: 20px;
	}

.videoSectionMobile {
  position: relative;
  padding-bottom: 125%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
.videoSectionMobile iframe,
.videoSectionMobile object,
.videoSectionMobile embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.buttonsPortofolio
{
	position:relative;

}

.intention-filter-project-inner img,
.category-filter-project-inner img{
  width: 320px;
  height: 174px;
  border-radius: 12px;
}

.intention-filter-project,
.category-filter-project{
  width: 320px;

  border: 0;
  position: relative;
  display: inline-block;
  margin: 10px;
  vertical-align: top;
  /*overflow: hidden;*/
  /* box-shadow: 0 0 10px rgba(0,0,0,0.2); */ 
}

a.category-filter-project-inner, a.intention-filter-project-inner {
  display: inline-grid;
}

.category-filter-title-container{
  height: 70px;
}

a:hover .category-filter-title, a:hover .category-filter-subtitle{
  text-decoration: none;
  color: #000;
}

.category-filter-title, .category-filter-subtitle{
  text-align: left;
  color: #000;
  font-size: 15px;
  line-height: 23px;

}

.category-filter-title{
  color: #000;
}

.category-filter-subtitle{
  color: #919191;
}


.intention-filter-project:hover,
.category-filter-project:hover{
  /* box-shadow: 0 0 12px rgba(0,0,0,0.8); */ 
  cursor: pointer;
}

.intention-filter-overlay{
  opacity: 0;
  background: rgba(0,0,0,0.35);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.1s;
}

.intention-filter-project:hover .intention-filter-overlay{
  opacity: 1;
}

.intention-filter-background{
  xbackground: #2d2d2d;
}

.contact-container {
  display: grid;
  grid-template-columns: auto auto;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

.contact-left {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}

.contact-right {
  display: grid;
  gap: 5px;
  justify-items: start;

}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;   
}

.arrow {
  font-size: 40px;
  opacity: 0;
  animation: slide-in 0.5s forwards;
  transform: rotate(0deg); /* Standard: Pfeil nach rechts */
}

.footer-arrow {
  font-size: 20px;
  opacity: 0;
  animation: slide-in 0.5s forwards;
  transform: rotate(90deg); /* Standard: Pfeil nach unten */
}

.text {
  opacity: 0;
  animation: slide-in 1s forwards;
}

@keyframes slide-in {
  0% { transform: translateX(-30px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.callus {
  font-size: 20px;
  text-decoration: none;
  color: blue;
  font-weight: bold;
}




/* MOBILE VERSION */
@media (max-width: 768px) {
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  


  @keyframes slide-in-mobile {
    0% { transform: translateY(-20px) rotate(90deg); opacity: 0; }
    100% { transform: translateY(0) rotate(90deg); opacity: 1; }
  }


  .contact-left, .contact-right {
    display: contents; /* Löst die starre Reihenfolge auf */
  }

  .contact-row:nth-child(1) {
    order: 1; /* "Ruf uns an!" */
  }

  .phone-link {
    order: 2;
  }

  .contact-row:nth-child(2) {
    order: 3; /* "Oder schreibe uns eine Email!" */
  }

  .email-link {
    order: 4;
  }

  .arrow, .email-arrow {

    font-size: 25px;
    animation: slide-in-mobile 0.5s forwards;
  }
}

.contact-button-container{
  padding: 15px 0;
  margin: 0 0px;
}

.contact-button-container .btn{
  font-size:32px;
  font-style:normal;
  color:#fff;
  background-color:#666;
  border:0;
  padding:10px 25px;
  white-space: normal;
}

.contact-button-container-above .btn{
  font-size:1.25rem;
  font-style:normal;
  color:#fff;
  background-color:#666;
  border:0;
  padding:10px 25px;
  white-space: normal;
}

@media (max-width: 767px){
    .contact-button-container .btn{
        font-size:26px;
    }
}

.category-content{
  margin-top: 20px;
  margin-bottom: 20px;
}

.category-header{
  background:#ccc;
  position: relative;
  margin: -2px;
}

.category-header-insert{
  width: auto;
  position: absolute;
  left: 10%;
  bottom: 120px;
  /*background: rgba(0,0,0,0.7);*/
  color: #fff;
}

.category-header-insert .title{
  font-size: 62px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
  line-height: 70px;
  /*text-shadow: 0 0 1px rgb(0 0 0 / 85%);*/
}

.category-header-insert .subtitle{
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 0 1px rgb(0 0 0 / 85%);
  line-height: 34px;
}

.category-header video{
  width: 100%;
  position: initial;
  max-height: calc(100vh - 60px);
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
    .category-header video{
        max-height: calc(100vh - 150px);
    }
}



/* BTS */

.bts-tile-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  grid-gap: 10px;
}

.bts-tile-container .tile {
  position: relative;
  padding-bottom: 75%; /* Makes the div square */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  grid-column: span 2;
  grid-row: span 2;
}

.bts-tile-container .tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
}

.bts-tile-container .tile.large {
  grid-column: span 3;
  grid-row: span 3;
}


/* Projects scroller */

.fm-project-scroller {
  position: relative;
  width: 100vw;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 0;
}



.m-scroll-auto {
  display: flex;
  animation: scrollText 40s linear infinite;
  will-change: transform;
  width: max-content; /* Verhindert Springen */
}




@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%); /* Stelle sicher, dass es nur 25% scrollt */
  }
}


.m-scroll {
  overflow: hidden;
  height: 100%;
  white-space: nowrap;
  animation-name: scrollText;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 100s;
  /*40s infinite linear*/
  margin: 0;
  /*font-size: 0;*/
  display: flex;
  justify-content: space-between;
  width: fit-content;
  padding: 10px;
}

.m-scroll:hover {
  /*animation-duration: 500s;*/
  animation-play-state: paused;
}



.m-scroll-start-when-visible{
  animation-play-state: paused;
}


.m-scroll-manual{
  animation:none;
  transition-duration: 0.5s;
  transition-property: transform;
}

@media (max-width: 767px) {
  .m-scroll-manual{
    padding: 0;
  }
}

/*custom swiper.js einstellung */

.fm-pagination {
  bottom: -10px !important;

}

.fm-pagination-projects {
  position: relative !important;
  bottom: 0px !important;

  width: 50% !important;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 10;

}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

.swiper-container {
	width: 100%;
	max-width: 100%;
	margin: auto;
	overflow: hidden;
}

.swiper-slide img {
	width: 100%;
	height: auto;
	border-radius: 10px;
}

.swiper-clients-center {
	display: flex; 
	align-items: center !important;
	}
	
.invertclients {
	filter: invert(1);
	}

.swiper-wrapper {
  transition-timing-function: linear !important;
  will-change: transform; /* Helps with smooth rendering */
}

.ratings-swiper .swiper-wrapper {
  /*transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: transform;  Helps with smooth rendering */
  transition-timing-function: ease !important;
  will-change: transform; /* Helps with smooth rendering */
}

.film-stills-swiper .swiper-wrapper {
  transition-timing-function: ease !important;
  will-change: transform; /* Helps with smooth rendering */
}

.ratings-swiper {
  width: 95%;
}


.projects-swiper .swiper-wrapper {
  /*transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: transform;  Helps with smooth rendering */
  transition-timing-function: ease !important;
  will-change: transform; /* Helps with smooth rendering */
  height: 100%;
}



.projects-swiper {
  width: 95%;
  position: relative;
  padding-bottom: 30px;
}


.scenario-swiper-container {
    width: 800px;
    height: 640px; /* Adjust the container width to suit your design */
    margin: auto;
    background-color: white; /* Set black background */
	align-content: center;
}

.scenario-swiper-wrapper {
    transition-timing-function: ease !important;
    will-change: transform; /* Helps with smooth rendering */
    align-content: center;

}
.scenario-swiper-slide {
    display: flex;
    /*justify-content: space-between; /* Ensure space between images */
    align-items: center;
    align-content: center;

}

.scenario-swiper-slide img {
    max-width: 80%;  /* The inner element can stretch up to the container's width */
    max-height: 100%; /* The inner element can stretch up to the container's height */
    width: auto; /* Let the width adjust naturally based on the aspect ratio */
    height: auto; /* Let the height adjust naturally based on the aspect ratio */
    border-radius: 10px;
  

}

/* Customize the color of the previous button */
.swiper-button-prev {
    color: #000 !important;  /* Change to your preferred color */
    border-radius: 50%; /* Optional: Make it circular (or any shape) */
    padding: 10px; /* Optional: Adjust size */
    font-size: 20px; /* Adjust size of the icon inside the button */
}

/* Customize the hover state of the previous button */
.swiper-button-prev:hover {
    color: var(--primary-color) !important; /* Change to the color you want on hover */
    transform: scale(1.1); /* Optional: Add a scaling effect on hover */
    transition: all 0.3s ease; /* Optional: Smooth transition for hover effects */
}

/* Customize the color of the next button */
.swiper-button-next {

    color: #000 !important;  /* Change to your preferred color */
    border-radius: 50%; /* Optional: Make it circular (or any shape) */
    padding: 10px; /* Optional: Adjust size */
    font-size: 20px; /* Adjust size of the icon inside the button */
}

/* Customize the hover state of the next button */
.swiper-button-next:hover {
    color: var(--primary-color) !important; /* Change to the color you want on hover */
    transform: scale(1.1); /* Optional: Add a scaling effect on hover */
    transition: all 0.3s ease; /* Optional: Smooth transition for hover effects */
}

@media (max-width: 767px){
	 .scenario-swiper-container {
		width: 360px;
		height: 400px;
		/*margin: auto;
		background-color: white; /* Set black background */
	}
	.scenario-swiper-slide img {
    max-width: 100%; 
  

	}
}


.swiper-pagination-bullet {
    color: black; /* Black color for the bullets */
}



.swipe-scroller-container{
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: hidden;
}

.swipe-scroller-container::-webkit-scrollbar{
  display: none;
}

.swipe-scroller-container-clients {
    overflow-x: scroll;
    white-space: nowrap;
    display: flex;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
    user-select: none; /* Verhindert Textauswahl */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.swipe-scroller-container-clients img {
    pointer-events: none; /* Verhindert das Anklicken & Ziehen der Bilder */
}

/* Entfernt Scrollbalken in Chrome/Safari */
.swipe-scroller-container-clients::-webkit-scrollbar {
    display: none;
}

.swipe-scrollerX {
  height: 100%;
  white-space: nowrap;
  animation:none;
  transition-duration: 0.5s;
  transition-property: transform;
  margin: 0;
  display: flex;
  justify-content: space-between;
  width: fit-content;
}

.swipe-scroller {
  height: 100%;
  white-space: nowrap;
  animation: none;
  transition-duration: 0.5s;
  transition-property: transform;
  margin: 0;
  display: flex;
  justify-content: center;
  width: fit-content;
  min-width: 100%;
}

.swipe-scroller-item{
  display: inline-block;
}

.swipe-scroller-center-snap{
  scroll-snap-align: center;
}

.swipe-scroller-end-snap{
  scroll-snap-align: end;
}

.swipe-scroller-start-snap{
  scroll-snap-align: start;
}


/*Startseite Video Swipes */
/* Exponentielle Easing für den Slide-Wrapper */
.swiper-videocarousel-wrapper {
    transition-timing-function: cubic-bezier(0.87, 0, 0.13, 1); /* easeInOutExpo */
}










@media(min-width: 768px){
  .swipe-scroller-center-nosnap-desktop{
    scroll-snap-align: none;
  }
}

@media (max-width: 767px){
  .swipe-scroller{
    padding: 0;
  }
}


.project-videos-item{
  width: 70vw;
  /*max-width: 1200px;*/
  aspect-ratio: 16 / 9;
}

.project-videos-item:first-child{
  margin-left: 15vw;
}

.project-videos-item:last-child{
  margin-right: 15vw;
}


@media (max-width: 767px){
  .project-videos-item{
    width: 90vw;

  }

  .project-videos-item:first-child{
    margin-left: 5vw;
  }

  .project-videos-item:last-child{
    margin-right: 5vw;
  }
}



.project-videos-item{
  padding: 4px;
}


.project-videos-item iframe{
  width: 100%;
  height: 100%;
}



.round-button{
  border-radius: 50%;
  background: #f8f8f8;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.round-button:hover, .round-button:active, .round-button:focus{
  color: var(--primary-color);
}

/* FM-PROJECTS-SCROLLER-SWIPER */
/* === Wrapper sorgt für Zentrierung === */
.fm-project-scroller-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* === Swiper Container === */
.fm-project-scroller-swiper {
  position: relative;
  width: 100%;
  max-width: 1350px; /* oder was du willst */
  padding-bottom: 50px;
}

/* === Swiper Container === */
.fm-project-scroller-swiper .serviccces {
  position: relative;
  padding-bottom: 50px;
  width: none;
  max-width: 500px !important;
}

/* === Slide-Zelle === */
.fm-project-scroller-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* === Projekt-Item === */
.fm-project-scroller-swiper .item {
  width: 320px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* === Bild (Vorschaubild) === */
.fm-project-scroller-swiper .item a {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.fm-project-scroller-swiper .item a:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

/* === Hover-Overlay === */
.fm-project-scroller-swiper .item a::after {
  content: "Jetzt ansehen";
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.95);
  font-size: 30px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s;
  text-align: center;
  border-radius: 12px;
}

.fm-project-scroller-swiper .item a:hover::after {
  opacity: 1;
}

/* === Titel + Subtitle === */
.fm-project-scroller-swiper .below-title {
  margin-top: 6px;
  width: 100%;
}

.fm-project-scroller-swiper .below-title .title {
  font-size: 18px;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fm-project-scroller-swiper .below-title .subtitle {
  font-size: 16px;
  color: #919191;
}

/* === Pagination progress bar === */
.fm-pagination-projects {
  position: relative;
  width: 50%;
  height: 4px;
  margin: 20px auto 0 auto;
  background: rgba(1, 0, 0, 0) !important;
}

.swiper-pagination-progressbar-fill {
  background: rgba(0, 0, 0, 0.1) !important;
  height: 50% !important;
}

.progress-bar{
    background: rgba(1, 0, 0, 1) !important;
}

/* === Mobile Anpassungen === */
@media (max-width: 767px) {
  .fm-project-scroller-swiper .item {
    width: 320px;
  }

  .fm-project-scroller-swiper .below-title .title,
  .fm-project-scroller-swiper .below-title .subtitle {
    font-size: 15px;
  }

  .fm-project-scroller-swiper .item a::after {
    font-size: 24px;
  }
}

/*FM-PROJECTS-SCROLLER-SWIPER*/
/* Fortschrittsbalken-Farbe */









/*FM-PROJECTS-SCROLLER*/

.fm-project-scroller .item {
  display: inline-block;
  margin: 0 20px 0 0;
  padding: 0;
  color: white;
  width: 320px;
  height: 234px;
  float: left;
  
}

@media (max-width: 767px) {
  .fm-project-scroller .item{

    height: 200px;
    width: 250px;
  }
}


.fm-project-scroller.projects-scroller-social-media .item{
  height: 533px;
  width: 300px;
}

.fm-project-scroller.projects-alternating .item{
  margin-left: -150px;
}

.fm-project-scroller.projects-alternating .item.upper{
  margin-top: 0;
}

.fm-project-scroller.projects-alternating .item.lower{
  margin-top: 250px;
}

.fm-project-scroller.projects-scroller-social-media .item{
  height: 533px;
}

.fm-project-scroller .item a{
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Drop Shadow */
  margin-left: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}

.fm-project-scroller .item .below-title{
  margin-left: 20px;
  margin-top: 6px;
  width: 300px;
}

.fm-project-scroller .item .below-title .title{
  font-size: 18px;
  color:#000;
  overflow: hidden;
  text-overflow: fade;
}




.fm-project-scroller .item .below-title .subtitle{
  font-size: 16px;
  color: #919191;
}


@media (max-width: 767px) {
  .fm-project-scroller .item .below-title .title{
    font-size: 15px;
  }


  .fm-project-scroller .item .below-title .subtitle{
    font-size: 15px;
  }
}

.fm-project-scroller.with-title-below .item a{
  height: calc(100% - 52px);
}

.fm-project-scroller .item a:hover{
  /* box-shadow: 0 0 10px rgba(50,50,50,0.5); */ 
  transition: box-shadow 0.2s;
  cursor: pointer;
  /*filter: brightness(0.8);*/
}

@media (max-width: 767px) {
  .intention-projects{
    text-align: center;
  }
}

.fm-project-scroller .item, .intention-projects .intention-filter-project a{
  position: relative;
}

.fm-project-scroller .item a::after, .intention-projects .intention-filter-project a::after{
  content: "Jetzt ansehen";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 174px;
  font-size: 30px;
  font-weight: bold;
  text-align: center;

}

@media (max-width: 767px) {
  .fm-project-scroller .item a::after, .intention-projects .intention-filter-project a::after{
    line-height: 165px;
    font-size: 24px;
  }
}


.fm-project-scroller .item a:hover::after, .intention-projects .intention-filter-project a:hover::after{
  opacity: 1;
  transition: opacity 0.2s;
}


.scroller-on-dark .fm-project-scroller .item .below-title .title{
    color: #fff;
}

  .below-title .title {
    margin-top: 6px;
    font-size: 15px;
  }



.below-title .subtitle {
  font-size: 16px;
  color: #919191;
}

@media (max-width: 767px) {
  .below-title .title {
    font-size: 15px;
  }
}





/*
@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.m-scroll:hover, .m-scroll.paused{
  animation-play-state: paused;
}
*/

/* team table */

.team-container {
    align-items: center;
    display: flex;
    justify-content: center;
    }

.team-table img{
  border-radius: 10%;
}

.team-table .team-item{
  min-height: 420px;
}

/* Startpage carousel */

.fm-carousel video{
  position: inherit;
  width: 100%;
}

.fm-carousel{
  width: 100vw;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.fm-carousel-scroll {
  overflow: hidden;
  height: 100%;
  white-space: nowrap;
  animation-name: scrollCarousel;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
  /*40s infinite linear*/
  margin: 0;
  font-size: 0;
  display: flex;
  justify-content: space-between;
  width: fit-content;
  padding: 10px;
  margin-left: -42%;
}

.fm-carousel-scroll:hover{
  animation-play-state: paused;
}

.fm-carousel-scroll:hover .fm-carousel-page{
  animation-play-state: paused;
  filter: brightness(1.1);
  cursor: pointer;
}


.fm-carousel-page{
  display: inline-block;
  position: relative;
}

.fm-carousel-page:nth-child(1){
  animation-name: scrollCarouselFade1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page:nth-child(2){
  animation-name: scrollCarouselFade2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page:nth-child(3){
  animation-name: scrollCarouselFade3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page:nth-child(4){
  animation-name: scrollCarouselFade1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page:nth-child(5){
  animation-name: scrollCarouselFade2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page:nth-child(6){
  animation-name: scrollCarouselFade3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-carousel-page.video-playing .fm-carousel-caption,
.fm-carousel-page.video-playing .fm-carousel-buttons{
  display: none;
}

.fm-carousel-caption{
  position: absolute;
  top: 20px;
  left:  0;
  width: 100%;
  text-align: center;
}

.fm-carousel-buttons{
  text-align: left;
  position: absolute;
  bottom: 50px;
  left:  10%;
}

.fm-carousel-caption-title{
  font-size: 62px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
  line-height: 70px;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);
}




.fm-carousel-caption-subtitle{
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);
}

a.fm-carousel-play-video{
  background: rgba(80,80,80,1);
  border:2px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  color: #ddd;
  text-decoration: none;
  font-size: 20px;
}

a.fm-carousel-play-video:hover{
  background: rgba(80,80,80,0.5);
}

a.fm-carousel-goto-page{
  background: rgba(80,80,80,0.5);
  border:2px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  color: #ddd;
  text-decoration: none;
  font-size: 20px;
  margin-left: 10px;
}

a.fm-carousel-goto-page:hover{
  background: rgba(80,80,80,0);
}


@media (min-width: 768px) {
  .fm-carousel-page {
    width: 750px
  }
}

@media (min-width: 992px) {
  .fm-carousel-page {
    width: 970px
  }
}

@media (min-width: 1200px) {
  .fm-carousel-page {
    width: 1170px
  }
}


@keyframes scrollCarousel {
  0% {
    transform: translateX(-0%);
  }
  32% {
    transform: translateX(-0%);
  }
  34% {
    transform: translateX(-16.5%);
  }
  65% {
    transform: translateX(-16.5%);
  }
  67% {
    transform: translateX(-33%);
  }
  99% {
    transform: translateX(-33%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollCarouselFade1  {
  0% {
    opacity: 0.2;
  }
  32% {
    opacity: 0.2;
  }
  65% {
    opacity: 0.2;
  }
  67% {
    opacity: 1;
  }
  98% {
    opacity: 1;
  }
}

@keyframes scrollCarouselFade2  {
  0% {
    opacity: 1;
  }
  32% {
    opacity: 1;
  }
  34% {
    opacity: 0.2;
  }
  98% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scrollCarouselFade3  {
  0% {
    opacity: 0.2;
  }
  32% {
      opacity: 0.2;
  }
  34% {
      opacity: 1;
  }
  65% {
    opacity: 1;
  }
  67% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.2;
  }
}


/* rating */
.ratings-swiper-container {
  overflow: visible;
}

.rating-slide {
  display: flex !important;
  align-items: stretch;
}

.rating-card {
  flex: 1 1 auto;
  background: #f8f8f8;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05); 

  position: relative;
  padding: 15px 15px 75px 15px;
  border-radius: 12px;
  background: #fff;
  width: 100%
}



.rating-card .rating-title{
  margin-top: 0;
}

.rating-name{
  font-weight: bold;
}

.rating-icon{
  float: left;
  margin-right: 8px;
  width: 64px !important;
  height: 64px !important;
  margin-top: 8px;
  /*border: 4px solid var(--primary-color);*/
   border: 4px solid #f2f2f2;
}



.stars-rating{
  color:#d2b395;
}

.rating-card img{
  border-radius: 50%;
}

.rating-card .smallbutton-primary{
  
  color: #ffffff;
}

.rating-card .smallbutton-secondary{
  color: #ffffff;
}

.rating-card .rating-link:hover{
  background: var(--secondary-color);
}



/* Ablauf einer Filmproduktion */

.ablauf {
  position: relative;

}

.step-box {
  background: var(--extra-color-two);
  padding: 0 30px 75px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  flex: 1;
  height: 100%;

}

.step-box .smallbutton-secondary {
  color: #ffffff;
}

.step-box .smallbutton-primary {
  color: #ffffff;
}

.step-box h3 {
  color: #fff;
}

.step-box .text-special-left {
  color: #fff;
}

.step-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;     /* Beide Spalten gleich hoch */
  gap: 30px;
  z-index: 1000;
  margin-left: 20px;
  margin-right: 20px;
}



.step-row.reverse {
  flex-direction: row-reverse;
}

.step-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

/* Text-Bereich Beschreibung */
.step-box-desc {
  line-height: 1.2;
  font-size: 0.95rem;
  color: #fff;
}

/* Bild */
.image-wrapper {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Responsive: Bild und Text untereinander auf kleineren Geräten */
@media (max-width: 768px) {
  .step-row {
    flex-direction: column !important;
  }

  .step-col {
    width: 100%;
  }

  .image-wrapper {
    height: auto;
  }
}

.black-box {
  width: 100%;
  height: 50vh;
  background-color: #262626;
  left: 0;
  top: 0;
  z-index: 1;
  visibility: visible;
  pointer-events: none;
}

.glow-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(0,255,255,0.5));
  box-shadow: 0 0 10px rgba(0,255,255,0.7), 0 0 20px rgba(0,255,255,0.5);
  z-index: 0;
  border-radius: 2px;
}


#target-container {
  position: relative;

}


.zindex-10 {
	  z-index: 10;
	  position: relative;
	  }


.zindex-20 {
	  z-index: 20;
	  position: relative;
	  }



/*services*/

.leistungen .bg-light-grey {
  padding-top: 50px;
  } 

.service-box {
  background: #fff;
  padding: 0 30px 75px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 12px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05); 
  flex: 1;
}

.gap {
  margin-right: 50px;
  }

.service-box .smallbutton-secondary {
  color: #ffffff;

}

.service-box .smallbutton-primary {
  color: #ffffff;
  }
  


.service-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.service-col {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.service-box-desc {
  line-height: 1.2;
  font-size: 0.95rem;
  }

/*Shiny-Box */

.shiny-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* <- vertikal zentrieren */
  background: var(--extra-color);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 50px;
  width: 90%;
  margin: 20px auto; /* zentriert horizontal */
  color: #ffffff;
}

@media (max-width: 992px) {
  .shiny-box {
    flex-direction: column;
    text-align: center;
      padding: 10px;
  }

  .shiny-box > div {
    width: 100%;
    margin-bottom: 20px;
  }
}  

/*Shiny-Box-two */

.shiny-box-two {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--extra-color-two);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 50px;
  width: 90%;
  margin: 20px auto;
  color: #ffffff;
}

@media (max-width: 992px) {
  .shiny-box-two {
    flex-direction: column;
    text-align: center;
    padding: 10px;
  }

  .shiny-box-two > div {
    width: 100%;
    margin-bottom: 20px;
  }
}



/*marker*/

.marker-shadow {
  box-shadow: inset 0 -0.1em 0 var(--secondary-color);
  padding: 0 2px;
}

/*std-box */

.std-box {


  align-items: center; /* <- vertikal zentrieren */
  background: var(--extra-color);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  margin: 20px 10px 0 10px; /* zentriert horizontal */
  color: #ffffff;
}

.marker-shadow {
  box-shadow: inset 0 -0.1em 0 var(--secondary-color);
  padding: 0 2px;
}




@media (max-width: 767px) {

  .std-box {
  flex-direction: column;
    text-align: center;
    padding: 10px;
    margin: 10px auto; /* zentriert */
  }
   
  .std-box > div {

    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
flex-direction: column;
  .std-box {
    text-align: center;
    padding: 10px;
    margin: 10px auto; /* zentriert */
  }

  .std-box > div {

    margin-bottom: 20px;
  }
}  


.faq-question-box {
  transition: background 0.5s ease;
  cursor: pointer;
  background: var(--extra-color, #444);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  padding: 16px;
  width: 90%;
  margin: 4px auto;
  color: #fff;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle-icon {
  font-size: 24px;
  transition: transform 0.5s ease;
}

.answer {
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
}

.answer-inner {
  padding-top: 10px;
}




/*fm-button*/
.fm-button {
    border: 1px solid currentColor;
    border-radius: 3rem;
    color: #262626;

    overflow: hidden;
    padding: 0.4rem 1.25rem;
    position: relative;
    text-decoration: none;
    transition: 0.2s transform ease-in-out;
    will-change: transform;
    z-index: 0;

    &::after {
        background-color: #262626;
        border-radius: 3rem;
        content: '';
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        transform: translate(-100%, 0) rotate(10deg);
        transform-origin: top left;
        transition: 0.2s transform ease-out;
        will-change: transform;
        z-index: -1;
    }

    &:hover::after {
        transform: translate(0, 0);
    }

    &:hover {
        border: 1px solid transparent;
        color: #fff;
        transform: scale(1.05);
        will-change: transform;
    }
    

}


 
/*Weitere Buttons*/  




  
.smallbutton-secondary {
text-decoration: none;
font-weight: 400;
color: #ffffff;
background: var(--extra-color);
display: inline-block;
padding: 5px 10px;
position: absolute;
bottom: 10px;
left: 50%;
border-radius: 7px;
transform: translateX(-50%);
white-space: nowrap; /* optional: verhindert Umbruch bei langem Text */
}


.smallbutton-secondary:hover {
background: var(--primary-color);
}

.smallbutton-primary {
text-decoration: none;
font-weight: 400;
color: #ffffff;
background: var(--primary-color);
display: inline-block;
padding: 5px 10px;
position: absolute;
bottom: 10px;
left: 50%;
border-radius: 7px;
transform: translateX(-50%);
white-space: nowrap; /* optional: verhindert Umbruch bei langem Text */
}


.smallbutton-primary:hover {
background: var(--secondary-color);
}





/* logo slider box */

    .logo-slider-box {
        width: 200px; /* 500 / 2 */
        height: 100px; /* 240 / 2 */
        object-fit: contain;
    }

    .logo-card {
        width: 170px;
        min-height: 100px;
        background: #ffffff;
        float: left;
        margin: 10px;
        position: relative;
        padding: 15px;
        padding-bottom: 50px;
        max-width: calc(100vw - 20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

/* stuff */

.scroll-up{
  border-radius: 50%;
}

.round-square-box{
    width: 64px;
    padding-left: 24px;
    border-radius: 50%;
}

.logo-footer {
  margin-left: -0.55rem;
  }

@media (max-width: 991px){
    .round-square-box{
        margin:auto;
    }
    .footer-contact{
      text-align: left;
    }
}




/* */



.geilo{
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
}

html, body {
  overflow-x: hidden;
}

.scroll-snapper-center{
  scroll-snap-align: center;
}


.fm-startpage-category-item{
  position: relative;
  scroll-snap-align: end;
  align-items: center;
}

.fm-startpage-category-item{
  max-height: calc(86vh - 50px);
  overflow: hidden;
}

.fm-startpage-category-item video{
  position: inherit;
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: calc(100vh - 50px);

  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 150px);
  display: block;

}




@media (max-width: 767px) {
  .fm-startpage-category-item{
    /*height: calc(100vh - 50px);*/
    height: fit-content;
  }
  .fm-startpage-category-item video{
    /*margin-left: -400px;
    height: 100%;*/
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 50px);
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 2.0rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  

}

.abovethefold-b5{
  scroll-snap-align: end;
  overflow: hidden;
}

.abovethefold-b5 video{
  position: inherit;
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: calc(100vh - 50px);

  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 150px);
  display: block;

}

.abovethefold{
  scroll-snap-align: end;
  overflow: hidden;
  color: #fff;
}

.abovethefold video{
  position: inherit;
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: calc(100vh - 50px);
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 150px);
  display: block;

}

@media (max-width: 767px) {
  .abovethefold{
    /*height: calc(100vh - 50px);*/
    height: fit-content;
  }
  .abovethefold video{
    /*margin-left: -400px;
    height: 100%;*/
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - 50px);
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .movevideo{
  margin-left: 0 !important;
  }

}

/* Layout-Container */
.abovethefold {
  position: relative;       /* wichtig: erzeugt Bezug für das absolute Video */
  width: 100%;
  overflow: hidden;         /* schneidet Video sauber ab */
}

/* Video-Hintergrund hinter allem */
.video-bg-wrap {
  position: absolute;
  inset: 0;                 /* top/right/bottom/left: 0 */
  z-index: 0;
  pointer-events: none;     /* Klicks gehen an Inhalte, nicht ans Video */
}
.video-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

/* Spalten über dem Video */
.col-left, .col-right {
  position: relative;
  z-index: 2;               /* über dem Video */
  flex: 1 1 50%;
  min-height: 100vh;
}

/* Transparenz-Verlauf auf der linken Spalte */
.col-left::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;              /* hinter dem Text, aber vor dem Video */
  background: linear-gradient(
    to right,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.5) 90%,
    rgba(0,0,0,0.0) 100%
  );
  transition: background .5s ease;
}

/* Mobile: Spalten untereinander + optional Verlauf oben->unten */
@media (max-width: 767.98px) {
  .abovethefold { flex-direction: column; }
  .col-left, .col-right { flex: 1 1 100%; min-height: 50vh; }

  /* Wenn links/oben Text steht, Verlauf vertikal */
  .col-left::before {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.1) 40%,
      rgba(0,0,0,0.5) 90%,
      rgba(0,0,0,0.0) 100%
    );
  }
}










.more-text {
    display: none;
    margin-top: 10px;
}

.toggle-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.toggle-btn:hover {
    background-color: var(--secondary-color);
}
.dots {
    display: inline;
}

.movevideo {
  margin-left: 35%;
  }

.header-video-overlay{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.0) 70%
  );}

.header-video-overlay-transition {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.5) 55%,
    rgba(0,0,0,0.0) 70%
  );}



@media (max-width: 992px) {
  .header-video-overlay-transition {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7) 40%,
    rgba(0,0,0,0.7) 90%,
    rgba(0,0,0,0.7) 100%
  );}}
}


/*
@media (min-width: 768px) {
  .fm-startpage-category-item .elements-container{
    left: 50%;

    margin-left: -375px;
  }
}
*/

/*
@media (min-width: 992px) {
  .fm-startpage-category-item .elements-container{
    left: 50%;
    margin-left: -485px;
  }

}
@media (min-width: 1200px) {
  .fm-startpage-category-item .elements-container{
    left: 50%;
    margin-left: -585px;
  }
}
*/



.elements-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}



@media (min-width: 992px) {
  .elements-container {
    max-width: 970px;
    margin-left: -475px;
    left: 50%;
  }

}


@media (min-width: 1200px) {
  .elements-container {
    max-width: 1170px;
    margin-left: -575px;
    left: 50%;
  }

}


.elements-container-category {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}



@media (min-width: 992px) {
  .elements-container-category {
    max-width: 970px;
    margin-left: -475px;
    left: 50%;
  }

}


@media (min-width: 1200px) {
  .elements-container-category {
    max-width: 1170px;
    margin-left: -575px;
    left: 50%;
  }

}



.fm-startpage-category{
  width: 100vw;
  overflow: hidden;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.fm-startpage-category-scroll {
  overflow: hidden;
  height: 100%;
  white-space: nowrap;
  animation-name: scrollCarousel;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
  /*40s infinite linear*/
  margin: 0;
  font-size: 0;
  display: flex;
  justify-content: space-between;
  width: fit-content;
  padding: 10px;
  margin-left: -42%;
}

.fm-startpage-category-scroll:hover{
  animation-play-state: paused;
}

.fm-startpage-category-scroll:hover .fm-startpage-category-page{
  animation-play-state: paused;
  filter: brightness(1.1);
  cursor: pointer;
}


.fm-startpage-category-page{
  display: inline-block;
  position: relative;
}

.fm-startpage-category-page:nth-child(1){
  animation-name: scrollCarouselFade1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page:nth-child(2){
  animation-name: scrollCarouselFade2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page:nth-child(3){
  animation-name: scrollCarouselFade3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page:nth-child(4){
  animation-name: scrollCarouselFade1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page:nth-child(5){
  animation-name: scrollCarouselFade2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page:nth-child(6){
  animation-name: scrollCarouselFade3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 30s;
}

.fm-startpage-category-page.video-playing .fm-startpage-category-caption,
.fm-startpage-category-page.video-playing .fm-startpage-category-buttons{
  display: none;
}

/*
.fm-startpage-category-caption{
  position: absolute;
  top: 20px;
  left:  0;
  width: 100%;
  text-align: center;
}
 */

.fm-startpage-category-caption{
  bottom: 120px;
  left:  10%;
  /*width: 100%;*/
  text-align: left;
  padding-left: 10px;
}

@media (min-width: 768px) {
    .fm-startpage-category-caption{
        margin-bottom: 10px;
    }
}


.fm-startpage-category-buttons{
  text-align: left;
}

@media (max-width: 767px) {
  .fm-startpage-category-caption{
    left: 5px;
    bottom: 65px;
  }

  .fm-startpage-category-buttons{
    text-align: left;
    width: 100%;
  }
}

@media (max-width: 405px) {
  .fm-startpage-category-caption{
    bottom: 110px;
  }
}

.fm-startpage-category-caption-title{
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -1.3px;
  line-height: 1.0;
  font-style: normal;
  color: #fff;

  /*text-shadow: 0 0 1px rgb(0 0 0 / 85%);*/
}





.fm-startpage-category-caption-subtitle{

  font-weight: 375;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.8px;
  
  color: #fff;
  margin-top:30px;
  margin-bottom:10px;
  /*text-shadow: 0 0 1px rgb(0 0 0 / 85%);*/
}

@media (max-width: 767px) {
  .fm-startpage-category-caption-title{
    font-size: 1.5rem;
    line-height: 24px;
    letter-spacing: -1px;
  }

  .fm-startpage-category-caption-subtitle{
    margin-top:15px;
    font-size: 1.0rem;
  }

}





/*abovethefold Texte*/
.benefits{
  margin-top: 30px;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);
  list-style: none;
}



.abovethefold-caption{
  bottom: 120px;
  left:  10%;
}

@media (min-width: 768px) {
    .abovethefold-caption{
        margin-bottom: 10px;
    }
}





a.fm-startpage-category-play-video{
  background: rgba(80,80,80,1);
  border:2px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  color: #ddd;
  text-decoration: none;
  font-size: 20px;
}

a.fm-startpage-category-play-video:hover{
  background: rgba(80,80,80,0.5);
}

a.fm-startpage-category-goto-page{
  background: rgba(80,80,80,0.5);
  border:2px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  color: #ddd;
  text-decoration: none;
  font-size: 20px;
  margin-left: 10px;
  display: inline-block;
  margin-top: 10px;
}

a.fm-startpage-category-goto-page:last-child{
  margin-right: 20px;
}

a.fm-startpage-category-goto-page:hover{
  background: rgba(80,80,80,0);
}



@media (max-width: 767px) {
  a.fm-startpage-category-goto-page{
    font-size: 18px;
    padding: 4px 8px;
    margin-top:8px;
  }
}


@media (min-width: 768px) {
  .fm-startpage-category-page {
    width: 750px
  }
}

@media (min-width: 992px) {
  .fm-startpage-category-page {
    width: 970px
  }
}

@media (min-width: 1200px) {
  .fm-startpage-category-page {
    width: 1170px
  }
}

.social-container img{
  width: 48px;
  height: 48px;
}

.min-height-100{
  min-height: 100px;
}


.min-height-150{
  min-height: 150px;
}


.min-height-200{
  min-height: 200px;
}

.min-height-250{
  min-height: 250px;
}

.min-height-300{
  min-height: 300px;
}
.min-height-350{
  min-height: 350px;
}

.min-height-400{
  min-height: 400px;
}
.min-height-450{
  min-height: 450px;
}

.min-height-500{
  min-height: 100px;
}
.min-height-550{
  min-height: 550px;
}

.min-height-600{
  min-height: 600px;
}

button.btn-primary {
  border: none !important;
}

.btn.btn-primary {
  background: var(--primary-color);
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 0.4rem 0.8rem; /* Links & rechts gleich im Normalzustand */
}

.btn.btn-primary::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid white; /* Dreiecksfarbe */
  transform: translateX(-5px);
  opacity: 0;
  transition: all 0.3s ease;
}

.btn.btn-primary:hover {
  background: var(--secondary-color);
  padding-left: 1.0rem;  /* wächst links */
  padding-right: 1.0rem; /* wächst rechts – Platz fürs Dreieck */
    gap: 0.5rem; /* Abstand zwischen Text und Dreieck */
}

.btn.btn-primary:hover::after {
  transform: translateX(0);
  opacity: 1;
}

.btn.showreel {
  margin-top: 10px;
}



  
.contents-center  {

align-items: center;
text-align: center;
}

.borderino {
border-radius: 15px;
overflow: hidden;
}

.borderino-showreel {
border-radius: 15px;
display: flex;
width: 100%;
}



.bg-dark-grey{
  background-color: #262626;
  color: #fff;
}

.bg-dark-green{
  background-color: var(--extra-color);
    color: #fff;
}

.bg-dark-wine{
  background-color: var(--extra-color-two);

}

.bg-light-grey{
  background-color: #f2f2f2;
  color: #262626;
}

.bg-white{
  background-color: #ffffff;
  color: #262626;
}




/* Aspect Ratio Anpassung */
.aspect-ratio {
  max-width: none;
}

/* Navbar mit weißem Text */
.navbar {
  background-color: #262626; /* Dunkler Hintergrund */
  transition: top 0.3s ease;
}

/* Navbar Links und Brand in Weiß */
.navbar .navbar-brand,
.navbar .navbar-nav > li > a,
.navbar .navbar-text {
  color: #fff; /* Weißer Text */
}

/* Hover-Effekte für Links */
.navbar .navbar-brand:hover,
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-text:hover {
  color: #ddd; /* Hellerer Farbton beim Hover */
}

/* Hamburger Icon anpassen, damit es auch weiß bleibt */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Anpassung für die Navbar-Links bei aktiven Elementen */
.navbar-nav .nav-item.active > a {
  color: #f8f9fa; /* Hellerer Text, wenn der Link aktiv ist */
}

/* Button-Stil direkt auf dem Link */
.nav-link.navbar-btn-custom {
  background: var(--primary-color) !important;
  color: #fff !important;
  border-radius: 20px !important;
  border: none !important;
  text-decoration: none !important;

  /* Höhe über Padding, nicht über height */
  padding: 8px 12px !important;
  min-height: 0 !important;
  line-height: 1 !important;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease !important;
  overflow: hidden;
}

/* Dreieck */
.nav-link.navbar-btn-custom::after{
  content:"";
  width:0; height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:8px solid #fff;
  transform: translateX(-5px);
  opacity:0;
  transition: all .3s ease;
}

/* Hover */
.nav-link.navbar-btn-custom:hover,
.nav-link.navbar-btn-custom:focus{
  background:#267a8e !important;
  color:#fff !important;
  padding-left:16px !important;
  padding-right:16px !important;
  gap:.5rem;
}
.nav-link.navbar-btn-custom:hover::after{
  transform: translateX(0);
  opacity:1;
}



  .navbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
  }
  
  /* Platzhalter, damit Inhalt nicht unter Sticky Navbar verschwindet */
  .navbar-placeholder {
    height: 56px; /* Höhe Navbar */
  }
  
  .dropdown-menu {
  border: none !important;
}
  
  
  
  
.purpose-item {
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.purpose-item:hover .purpose-icon-container i {
  transform: scale(1.2); /* Skalierung des Icons beim Hover über das gesamte Element */
}

.purpose-icon-container {
  font-size: 60px;
  margin: 60px auto 0;
}

.purpose-icon-container i {
  font-size: 40px;
  color: var(--primary-color);
  transition: transform 0.3s ease-in-out;
}

.fm-icon {
    color: #fff !important;
}





.icon-expanded {
    color: var(--secondary-color) !important;
}




/* Optional: Nur wenn du zusätzliche Anpassungen brauchst */
.text-content {
  transition: transform 0.7s ease-out, opacity 0.7s ease-out !important; /* Übergangseffekte können hier angepasst werden */
}

.category-content{
  hyphens: auto;
}

.fm-cf-label{
  line-height: 64px;
  display:block;
  text-align: left;
}

.contactform #description, .contactform input, .contactform textarea {
  border: none;
  background: #f8f8f8;
  padding: 20px;
  font-weight: 100;
  font-family: inherit;
  width: 49.5%;
  margin: 10px auto;
  outline-color: var(--primary-color);
  border-radius: 4px;
}

.contactform textarea {
  width: 100%;
}

@media(max-width: 991px){
  .contactform #description, .contactform input, .contactform textarea {
    width: 100%;
  }

}

@media (min-width: 811px) and (max-width: 1080px) {
  /* Anpassungen für iPad 7 im Querformat */

}




.form-radio-picker label{
  background:#f8f8f8;
  border: 2px solid #f8f8f8;
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
}

.form-radio-picker input[type="radio"]:checked+label{
  font-weight: bold;
  border: 2px solid var(--primary-color);
  background: var(--primary-color);
}

.form-radio-picker input[type="radio"]{
  display: none;
}

.form-checkbox-picker{
  text-align: center;
}

.form-checkbox-picker label{
  background:#f8f8f8;
  border: 2px solid #f8f8f8;
  text-align: center;
  padding: 20px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-weight: 400;
}

.form-checkbox-picker input[type="checkbox"]:checked+label{

  border: 4px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.form-checkbox-picker input[type="checkbox"]:checked+label::after{
  content: "\e013";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: #fff;
  font-family: 'Glyphicons Halflings';
}

.form-checkbox-picker input[type="checkbox"]{
  display: none;
}

.fm-cf-sendbutton{
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
}

/*
.showreel-video {
  width: 100vw;
  height: calc(100vh - 315px);
  object-fit: cover;
  object-position: center;
  scroll-padding-top: 60px;
}
*/

.showreel-video {
  height: auto;
  aspect-ratio: 4 / 5;
  /*max-height: calc(100vh - 50px);*/
  max-height: calc(90vh - 150px);
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



.showreel-video-container {
  position:relative;
}

.start-video-button{
  cursor: pointer;
  text-align: center;
}

.project-video-carousel{
  position: relative;
}

.project-video-carousel{
  padding-bottom: 60px;
}

.project-video-carousel-container{
  padding-top: 60px;
}

.project-video-carousel .carousel-inner{
  /*width: calc(100% - 160px);*/
  margin: auto;
}

.project-video-carousel .carousel-control{
  width: 80px;
  background: none;
  color:#fff;
}

.showreel-video-container.video-playing .fm-startpage-category-caption{
  opacity: 0;
  transition: opacity 0.5s;
}


.carousel-indicators li{
  width: 17px;
  height: 17px;
  margin: 2px;
}

.carousel-indicators .active {
  width: 17px;
  height: 17px;
  margin: 2px;
}

.multistep-form {
  width: 100%;
}

.multistep-form .form-step {
  display: none; /* nur das aktive Step-Panel sichtbar */
  width: 100%;
}

.multistep-form .form-step.current {
  display: block;
}

.multistep-form .form-step-heading {
  font-size: 1.25rem; /* ~20px */
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
}



.form-checkbox-picker label {
  background: #f8f8f8;
  border: 4px solid #fff;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  font-weight: 400;
  width: 32.0%;
  height: 200px;
  margin-top: 10px;

  position: relative;
}
#multistep-contactform label.selection-label {
  background-size: cover;
}

#multistep-contactform label.selection-label span{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  background: #000000a3;
  color: #fff;
  /*height: 40px;
  line-height: 40px;*/
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom:7px;
  padding-top: 7px;
}



.project-sm-videos-container{
  position: relative;
  padding: 0 80px;
}

.project-sm-videos-scroller{
  overflow-x: auto;
  margin: 40px 0 40px 0;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.progress-sm-videos-scroller::-webkit-scrollbar{
    display: none;
}

.project-sm-videos-scrolling{
    white-space: nowrap;
  text-align: center;
    /*display: flex;
    justify-content: space-between;*/
}

.project-sm-videos-scrolling .item{
  margin-left: 90px;
  width: 360px;
  display: inline-block;
}

iframe.vimeo-sm{
  width: 360px;
  height: 640px;
}

@media (max-width: 480px) {
  iframe.vimeo-sm {
    width: 240px;
    height: 427px;
  }

}

.project-sm-videos-container .carousel-control{
  background: none;
  z-index: 10;
  width: 80px;
}

a:focus, a:hover {
  color: var(--primary-color);
}

.intention-projects a:focus, .intention-projects  a:hover{
  text-decoration: none;
}


.social-media-videos-item{
  margin-left: 20px;
}

.intention-filter-widget{
  max-width: 1720px;
  margin: auto;
}

@media (max-width: 1740px){
  .intention-filter-widget{
    max-width: 1380px;
  }
}

@media (max-width: 1400px){
  .intention-filter-widget{
    max-width: 1040px;
  }
}

.callus{
  background: #f8f8f8;
  color: #000;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  width: 300px;
  display: inline-block;
  text-align: center;
  margin-top: 5px;
}

.callus:hover{
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}


.intention-container {
  justify-content: center;
  } 


.intention-filter-btn {
    border: 1px solid currentColor;
    border-radius: 3rem;
    color: #262626;
    user-select: none;
    overflow: hidden;
    padding: 0.4rem 1.25rem;
    position: relative;
    text-decoration: none;
    transition: 0.2s transform ease-in-out, 0.2s color ease, 0.2s background-color ease; /* Mehrere Übergänge */
    will-change: transform;
    z-index: 0;
}

.intention-filter-btn::after {
    background-color: #262626;
    border-radius: 3rem;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin: top left;
    transition: 0.2s transform ease-out;
    will-change: transform;
    z-index: -1;
}

.intention-filter-btn:hover::after {
    transform: translate(0, 0);
}

.intention-filter-btn:hover {
    border: 1px solid transparent;
    color: #fff;
    transform: scale(1.05);
    will-change: transform;
}

.intention-filter-btn.active, 
.intention-filter-btn:active {
    background: var(--secondary-color);
    color: #fff;
}

    
.intention-filter-btn.active, .intention-filter-btn:active{
  background: var(--secondary-color);
  color: #fff;
}
.intention-filter-picker{

  text-align: left;
  padding-left: 10px;
  justify-content: center;
}



.social-icon {
    width: 24px;
    height: 24px;
    /*transition: filter 0.3s ease-in-out;
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);*/
}

.social-icon:hover {
    /*filter: invert(41%) sepia(35%) saturate(724%) hue-rotate(153deg) brightness(90%) contrast(97%);*/
}
	
.icon-spacing {
display: inline-block;
width: 3.5em; /* Größe des Icons simulieren */
height: 0em;
}

   .icon-spacing-2 {
	display: inline-block;
	width: 3.69em; /* Größe des Icons simulieren */
	height: 0em;
}


.category-shortdesc{
  display:none;
  text-align: left;
  margin-top: 10px;
}

.category-shortdesc.active{
  display:block;
}

@media (max-width: 1060px){
  .intention-filter-widget{
    max-width: 700px;
  }
  .intention-filter-btn{
    width: 150px;
  }

}

.film-production-steps{
  width: fit-content;
  margin: auto;
  /*border-image: linear-gradient(180deg, #014AAD, #C76BE5);
  border-image-slice: 1;*/
  border-left-width: 15px;
  border-left-style: solid;
  padding-left: 15px;
}

.film-production-steps .step{
  display: flex;
}


.film-production-steps .step-name, .film-production-steps .step-description{
  border-radius: 12px;
  background: #e7e7e7;
  height: 150px;
  width: 150px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}


.film-production-steps .step:first-child .step-name, .film-production-steps .step:first-child .step-description{
  margin-top: 0;
}

.film-production-steps .step:last-child .step-name, .film-production-steps .step:last-child .step-description{
  margin-bottom: 0;
}

.horizontal-scroll-container .film-production-steps .step:last-child .step-name,
.horizontal-scroll-container .film-production-steps .step:last-child .step-description{
  margin-right: 0;
  margin-bottom: 10px;
}

.horizontal-scroll-container .film-production-steps .step:first-child .step-name,
.horizontal-scroll-container .film-production-steps .step:first-child .step-description{
  margin-left: 0;
  margin-top: 10px;
}

.horizontal-scroll-container .film-production-steps .step  .step-name,
.horizontal-scroll-container .film-production-steps .step .step-description {
  white-space: normal;
}

.film-production-steps .step-description{
  width: 300px;
  font-size: 14px;
  line-height: 1.1;
}

.film-production-steps .step-name.highlighted{
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  color: #fff;
}

.horizontal-scroll-container {
  overflow-x: auto;
  margin: 40px 0 40px 0;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding: 0 20px;
}

.horizontal-scroll-container .film-production-steps{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: max-content;
  border-left-width: 0;
  /*border-top-width: 15px;
  border-top-style: solid;
  border-image: linear-gradient(90deg, #014AAD, #C76BE5);
  border-image-slice: 1;*/
  padding-left: 0px;
  padding-top: 15px;
}

.horizontal-scroll-container .film-production-steps .step {
  flex-direction: column;
  align-items: center;
}

.horizontal-scroll-container .step-description{
  width: 150px;
  height: 300px;
}





@media (min-width: 768px) and (max-width: 991px) {
  .mainmenu{
    margin-left: 0;
  }
}

.zoom-image {
    transition: transform 0.3s ease-in-out; /* Weicher Übergang */
    transform-origin: center center; /* Zoom zentriert auf das Bild */
}

.zoom-image:hover {
    transform: scale(1.1); /* Vergrößert das Bild um 10% bei Hover */
}

 .hidden-animation {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

 .visible-animation {
    opacity: 1;
    transform: translateY(0);
  }
  
    .wobble {
    animation: wobble 0.6s ease-in-out;
  }

  @keyframes wobble {
    0% { transform: translateX(0); }
    25% { transform: translateX(-8px) ; }
    50% { transform: translateX(8px) ; }
    75% { transform: translateX(-4px) ; }
    100% { transform: translateX(0) ; }
  }







/* GOOGLE TRUST ELEMENT */


.google-trust-wrapper {

  display: flex;
  align-items: center;  /* Vertikale Zentrierung */
  gap: 15px;            /* Abstand zwischen Bildern und Sternen/Text */
  padding-left: 10px;
  height: auto;
}

.trust-images {
  display: flex;
  position: relative;
  margin-left: 20px;
}

.trust-image-wrapper {
  width: 40px;
  height: 40px;
  /*border: 3px solid var(--primary-color);*/
  border: 3px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  margin-left: -20px;
  background: #fff;
  position: relative;
  z-index: 1;
}

.trust-image:first-child {
  margin-left: 0;
}

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

/* Neuer Container für Sterne + Text */
.trust-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  align-items: flex-start; /* Wichtig! */
}

.trust-stars {
  font-size: 1.4rem;
  color: #ffc107; /* gold */
  letter-spacing: 1px;
  margin-bottom: 4px;
  text-align: left;
  width: 100%;
  line-height: 1;
}


.trust-text {
  color: #fff;
}

.trust-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.trust-text a:hover {
  text-decoration: underline;
}




/*Services --- */




.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: black;
}

.video-preview,
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-size: cover;
  background-position: center;
  
}


.video-preview .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem; /* Icon-Größe */
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Klick geht an das Wrapper-Element */
}

.video-preview:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}


/*BONUS*/

/* Verschiebt einen 3-Spalten-Block so, 
   dass der linke Rand der mittleren Spalte in der Container-Mitte liegt */
  .col-align-center-left {
    position: relative;
    left: 50%;               /* zur Container-Mitte */
    transform: translateX(-42%); /* um 1/3 zurück (Breite einer Spalte) */
  }


.spacer-10 {
    margin-top: 10px
}

.spacer-15 {
    margin-top: 15px
}

.spacer-20 {
    margin-top: 20px
}

.spacer-25 {
    margin-top: 25px
}

.spacer-30 {
    margin-top: 30px
}

.spacer-40 {
    margin-top: 40px
}



.spacer-50 {
    margin-top: 50px
}

.spacer-60 {
    margin-top: 60px
}

.spacer-100 {
    margin-top: 100px
}

.spacer-75 {
    margin-top: 75px
}

.spacer-150 {
    margin-top: 150px
}

.spacer-200 {
    margin-top: 200px
}

.spacer-250 {
    margin-top: 250px
}



.padding-tb-10{
    padding-top: 10px;
    padding-bottom: 10px;
}

.padding-tb-25{
    padding-top: 25px;
    padding-bottom: 25px;
}

.padding-tb-50{
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding-tb-75 {
    padding-top: 75px;
    padding-bottom: 75px;
}

.padding-tb-100 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.padding-tb-125 {
    padding-top: 125px;
    padding-bottom: 125px;
}

.padding-tb-150 {
    padding-top: 150px;
    padding-bottom: 150px;
}

.clear {
    clear: both
}

/*
* {
  outline: 1px solid red; 
}
*/

