/* Animationen für den blauen Servicebereich */

/* Animationen für den Titel */
.bg-main h2.animate {
  animation: fadeInUp 0.8s ease forwards;
}

.bg-main .orangeU.animate {
  animation: fadeInUp 0.8s ease 0.1s forwards;
}

/* Erste Zeile Icons */
.bg-main .row:first-of-type .iconContainer:nth-child(1) {
  animation: zoomIn 0.8s ease 0.2s forwards;
  opacity: 0;
}

.bg-main .row:first-of-type .iconContainer:nth-child(2) {
  animation: slideInLeft 0.8s ease 0.3s forwards;
  opacity: 0;
}

.bg-main .row:first-of-type .iconContainer:nth-child(3) {
  animation: slideInRight 0.8s ease 0.4s forwards;
  opacity: 0;
}

.bg-main .row:first-of-type .iconContainer:nth-child(4) {
  animation: zoomIn 0.8s ease 0.5s forwards;
  opacity: 0;
}

/* Zweite Zeile Icons */
.bg-main .row.px-lg-5 .iconContainer:nth-child(1) {
  animation: slideInLeft 0.8s ease 0.4s forwards;
  opacity: 0;
}

.bg-main .row.px-lg-5 .iconContainer:nth-child(2) {
  animation: slideInRight 0.8s ease 0.5s forwards;
  opacity: 0;
}

.bg-main .row.px-lg-5 .iconContainer:nth-child(3) {
  animation: zoomIn 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* Icon-Texte animieren */
.bg-main .iconContainer p {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.7s forwards;
}

/* Animationsdefinitionen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
