/* Hintergrundvideo */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* füllt das gesamte 100vh-Header-Fenster */
  z-index: 0;
}
.btn-close {
    z-index: 1055; /* höher als video und modal */
}
.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.play-btn:hover {
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}
.fm-playbutton .btn i {
    line-height: 1;
}
.fm-playbutton .btn:hover {
    background: none;
    opacity: 1;
    text-decoration: underline;
}
/* Overlay für bessere Textlesbarkeit */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);  /* dunkles Overlay */
  z-index: 1;
}

/* Inhalt (Text, Bild) liegt über dem Video */
.header-inner {
  position: relative;
  z-index: 2;
}

#cb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-radius: 0;
  display: none;
}
 /* VIDEO BG HEADER */
      .video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
      }

      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 0;
      }

      .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        padding: 10rem 2rem;
      }

.me-img img {
  max-height: 90vh;
  object-fit: contain;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
.material-icons.md-100 { font-size: 100px; }

.textoff {
  color: var(--bs-gray-300);
}
.textfm {
  color: var(--bs-yellow);
}

body h1 {
    font-family: "MuseoModerno", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: var(--bs-yellow);
  }
.btn-fm {
  background: var(--bs-gray-700);
  color: var(--bs-gray-300) !important;
  padding: 8px 16px !important;
}
.btn-fm:hover {
  background: var(--bs-yellow);
  color: black !important;
}
.btn-fm-yel {
  font-weight: 700;
  border: 1px solid !important;
  border-color: var(--bs-yellow) !important;
  color: var(--bs-yellow) !important;
  padding: 8px 16px !important;
}
.btn-fm-yel:hover {
  background: var(--bs-yellow);
  color: black !important;
}
.btn-fm-yel2 {
  font-weight: 700;
  border: 1px solid !important;
  border-color: var(--bs-purple) !important;
  background: var(--bs-purple) !important;
  color: black !important;
  padding: 8px 16px !important;
}
.btn-fm-yel2:hover {
  background: var(--bs-yellow) !important;
  border-color: var(--bs-yellow) !important;
  color: black !important;
}

.btn.btn-fm-yel,
.btn.btn-fm-yel2 {
  min-width: 100px;
}

.link-fm {
  color: var(--bs-gray-500);
  text-decoration: none;
  font-weight: 900;
}
.link-fm:hover {
  color: white;
  transition: 0.3s;
}
.text-yel {
  color: var(--bs-yellow);
}

.maincontainer {
    height: calc(100vh - 111px);
    align-content: center;
}
.navbar a {
    color: rgba(255, 255, 255, 0.8);
}
.navbar a:hover {
    color: white;
}
  
/* Standardzustand: transparent */
#mainNavDesktop {
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
}

/* Zustand beim Scrollen */
#mainNavDesktop.scrolled {
  background-color: rgba(35, 0, 50, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
button.navbar-toggler {
  margin-right: 20px;
  border: 0;
}

.dropdown-menu {
  background-color: var(--bs-border-color-translucent);
  border: 0;
}
.dropdown-item:hover, .dropdown-item:focus {
  background: transparent;
}
.introfont {
    margin-top: 10px;
    margin-bottom: 0px !important;
    font-size: 8rem;
    /*line-height: 8rem;*/
}
.introsub {
  letter-spacing: 0.4rem;
  font-size: 14px;
  margin-bottom: 0rem;
}
#head-image-fm {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Textfarbe bewegt sich nur im Inneren der Buchstaben */
@keyframes gradientMove {
  0%   { stop-color: #eeed1e; }
  50%  { stop-color: #722790; }
  100% { stop-color: #eeed1e; }
}
@keyframes gradientMove2 {
  0%   { stop-color: #722790; }
  50%  { stop-color: #eeed1e; }
  100% { stop-color: #722790; }
}

#stop1 {
  animation: gradientMove 6s ease-in-out infinite;
}
#stop2 {
  animation: gradientMove2 6s ease-in-out infinite;
}
.funky-text {
  width: 80%;
  max-width: 1000px;
}

.text-mobile {
    display: none;
  }

  /* Desktop Styling */
  .text-desktop text {
    font-size: 160px;
  }

  @media (max-width: 768px) {
    .text-desktop {
      display: none;
    }
    .text-mobile {
      display: block;
      width: 100%;
      height: auto;
    }

    /* 🧠 responsive Font-Scaling */
    .text-mobile text {
      font-size: 70vw;
    }

    /* größerer Zeilenabstand */
    .text-mobile .line1 {
      y: 25%;
    }

    .text-mobile .line2 {
      y: 95%;
    }
  }

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-downs {
    position: absolute;
    right: 0;
    bottom: 100px;
    left: 0;
    margin: auto;
    width :34px;
    height: 55px;
}
.mousey {
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scrollermousey {
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
  }
  @keyframes scroll {
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
  }

  .blop {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .5);
    transform: scale(1);
    animation: pulse-black 2s infinite;
  }
  .blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
  }
  @keyframes blink-animation {
    0% {
      transform: scale(0.99);
      box-shadow: 0 0 0px 0px rgba(0, 0, 0, 0.2);
    }
    
    70% {
      transform: scale(1);
      box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.1);
    }
    
    100% {
      transform: scale(0.99);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
  }

/* Blink-Effekt PLAY BUTTON */
.blinkbutton {
    animation: blinkAnim 1.5s infinite;
}

@keyframes blinkbuttonAnim {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
.animated-border {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;                 
    background-color: rgba(0,0,0,0.5);   
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: pulseBorder 2s linear infinite;
}

.animated-border:hover {
    transform: scale(1.05);
}

/* Blink-Text */
.animated-border span {
    animation: blinkText 1.5s infinite;
}

@keyframes blinkText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Animierter "Ring" mit box-shadow */
@keyframes pulseBorder {
    0%   { box-shadow: 0 0 2px 1px #ffd700; }
    50%  { box-shadow: 0 0 2px 1px #00ffff; }
    75%  { box-shadow: 0 0 1px 1px #ff0080; }
    100% { box-shadow: 0 0 2px 1px #ffd700; }
}
.animated-border i {
    color: #ffd700; /* goldfarben */
}
.animated-border i {
    animation: iconColor 2s linear infinite;
}

@keyframes iconColor {
    0%   { color: #ffd700; }
    25%  { color: #ff0080; }
    50%  { color: #00ffff; }
    75%  { color: #ff0080; }
    100% { color: #ffd700; }
}



  .fm-logo {
  transition: transform 0.3s ease;
}

.fm-logo:hover {
  transform: scale(1.05);
}
.container.customer-logos-wrapper {
 /* position: absolute;*/
  bottom: 100px;
}
.purple {
  /*background: rgb(114,39,144,1);*/
  background: rgb(15 3 35);
  /*background: linear-gradient(145deg, rgba(168,112,200,1) 0%, rgba(114,39,144,1) 50%, rgba(168,112,200,1) 100%);*/
}
.ffred {
  background: #CB092B;
}
.purplegradient {
  background: #722790;
  background: linear-gradient(145deg, rgba(168,112,200,1) 0%, rgba(114,39,144,1) 50%, rgba(168,112,200,1) 100%);
}
.portfolio .card {
  background: rgb(0, 0, 0, 0.1);
  color: white;
}
.card img.logo {
  max-width: 150px;
  margin: 0px auto;
}

div#myBtnContainer {
  text-align: center;
}


hr {
  color: white;
  width: 50%;
  margin: 20px auto;
}

/* PORTOFLIO */
* {
  box-sizing: border-box;
}

.row {
  margin: 8px -16px;
}

.row,
.row > .column {
  padding: 8px;
}

.column {
  float: left;
  width: 33.33%;
  display: none; /* Hide columns by default */
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.content {
  background-color: rgba(250,250,250,0.2);
  transition: 0.3s;
  border-radius: 5px;
}
/*.content:hover {
  background-color: rgba(250,250,250,0.3);
  transition: 0.2s;
  transform: scale(1.02);
}*/
.content img {
  padding: 10px;
  border-radius: 15px;
}
/* The "show" class is added to the filtered elements */
.show {
  display: block;
}
.mailto {
  color: white;
  text-decoration: none;
}
.mailto:hover {
  color: var(--bs-yellow);
  text-decoration: underline;
}
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  color: white;
  transition: 0.2s;
}

/* Add a dark background color to the active button */
.btn.active {
   color: white;
   font-weight: 900;
}

.progress-bar {
  background-color: var(--bs-purple);
}
.progress-fm {
  /*background-color: rgba(250,250,250,0.07);*/
  background-color: var(--bs-dark);
}
.progress {
  --bs-progress-bg: var(--bs-gray-600);
}

/* KONTAKT */

form {
  background:var(--bs-black);
  padding: 20px;
}


form label {
  color: white;
  margin-bottom: 10px;
}

::placeholder {
  padding: 20px;
}

input[type=text], input[type=email], select, textarea {
  width: 100%; 
  padding: 12px; 
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px; 
  resize: vertical;
}

button[type=submit] {
  background-color:var(--bs-yellow);
  color:black;
  padding: 12px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

legend {
  color:var(--bs-yellow);
}

.datenschutz a {
  color: white;
  text-decoration: none;
}

@media only screen and (min-width: 1000px) {
  .maincontainer .mobile {
    display: none;
  }
}
.playmobile {
    display: none;
  }
/* Mobile */
@media only screen and (max-width: 1000px) {
  .maincontainer .desktop {
    display: none;
  }
  .mobileleft, .mobileleft .text-center {
    text-align: left !important;
  }
  .playdesktop {
    display: none;
  }
  .playmobile {
    display: unset;
  }
    .row {
      margin-left: 0px;
      margin-right: 0px;
    }
  .maincontainer {
    background: rgba(0, 0, 0, .5);
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,1) 100%);
    height: auto; /* Mobile: Höhe passt sich Inhalt an */
    padding-top: 2rem;  /* Optional: Abstand oben */
    padding-bottom: 2rem; /* Optional: Abstand unten */
  }
  #head-image-fm {
    background-position: 35%;
  }
  .maincontainer .container.align-items-center.px-5.pb-5,
  section#wel {
    padding: 0px !important;
  }
  section#wel .weltext,
  section#ai .weltext {
    padding: 12px;
  }
  .feliximgdiv {
    padding: 0;
    position: relative; 
    z-index: 1;
  }
.weltext {
  position: relative;
  z-index: 2; /* Text + Buttons immer vorne */
  }
  
  .btn.btn-fm-yel, .btn.btn-fm-yel2 {
    margin-bottom: 10px;
  }


  img.img-fluid.feliximg {
    margin-top: -10rem;
  }
  .maincontainer .text-center.align-items-center.text-xxl-start {
    text-align: left !important;
  }

  .column {
    width: 100%;
  }

  div#myBtnContainer {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
  }
  div#myBtnContainer button {
    display: inline-flex;
  }
  #res div.resume-item {
    padding: 10px !important;
  }
  .container.marketing .row.my-0.py-5 .col-lg-4 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  #hi .container {
    padding: 0px !important;
  }
  /* MOBILE AUSBLENDEN */
  .mobileoff {
    display: none;
  }
  .scroll-downs {
    display: none;
  }
}


#brandImageSlider .carousel-item {
  height: 500px; /* Desktop-Höhe */
}

@media (max-width: 992px) {
  #brandImageSlider .carousel-item {
    height: 350px; /* Mobile Höhe */
  }
}

#brandImageSlider .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.display-1 {
  font-weight: 100;
}