#projects.homex,
#projects.homexx {
  z-index: 100;
  /* margin-top: 30lvh; */
}

.upper-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 90lvh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  z-index: 200;
}

#lgflex,
.cardImage,
.imageBoard {
  height: 100vh;
}

.upper-container h1,
.upper-container span {
  padding: 10px 50px;
}

.upper-container span.leaver {
  font-size: 30px;
  opacity: 0.85;
  display: block;
  line-height: 1.5;
  margin-top: 30px;
}

.upper-container b.heads {
  display: block;
  margin-top: 0.25%;
  font-size: 7rem;
  translate: none;
  rotate: none;
  scale: none;
  transform: translate3d(0, 0, 0);
  padding-bottom: 0;
  margin-bottom: 1.25%;
}

.upper-container b.heads small {
  font-size: 35%;
  line-height: 1.75;
  position: absolute;
  margin-left: 5px;
}

.upper-container h1 {
  font-size: 80px;
  line-height: 1;
}

.imageBoard {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.imageBoard .cardImage {
  opacity: 0;
  height: 15%;
  background: 0 0;
  color: #fff;
}

.scaleableImg {
  position: absolute;
  width: 250px;
}

#scaleableImg1 {
  top: 10%;
  left: 9%;
  pointer-events: none;
}

#scaleableImg2 {
  top: 35%;
  left: 30%;
}

#scaleableImg3 {
  top: 60%;
  left: 15%;
}

#scaleableImg4 {
  top: 60%;
  left: 70%;
}

#scaleableImg5 {
  top: 30%;
  left: 55%;
}

#headings {
  z-index: 0;
  height: auto;
  scroll-behavior: smooth;
  max-height: 140%;
  overflow: hidden;
}

.inxer b {
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}

.inxer p {
  max-width: 260px;
  font-size: 16px;
  line-height: 1.5;
}

.cardImage {
  width: 100%;
  background: 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-size: 20px;
  z-index: -1;
  position: relative;
}

#lgflex,
#lgflex #logo {
  position: absolute;
}

.slider {
  position: fixed;
  inset: 0;
  background: black;
  z-index: 99;

  transform: translateY(0%);
}

.slider.slide-up {
  transform: translateY(-100%);
  transition: transform 0.75s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.upper-container {
  z-index: 200 !important;
}

#leistungen h3 {
  text-align: left;
}

#leistungen h3 p {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 200;
  color: #acacac;
  max-width: 900px;
  margin: 14px auto 50px;
}

#headings div.leaver {
  font-weight: 700;
  opacity: 1;
  font-size: 48%;
  max-width: 1100px;
  font-family: NettoOT-Bold !important;
  margin: auto;
}

#lgflex {
  display: flex;
  width: 100%;
  z-index: 999;
  justify-content: center;
  align-items: center;
}

#lgflex svg {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 15;
  stroke-width: 10px;
}

#lgflex #logo {
  top: 50%;
  width: 50vw;
  height: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
}

#lgflex #logo path:first-child {
  stroke-dasharray: 900px;
  stroke-dashoffset: 1200px;
  animation:
    2s 0.1s forwards line-anim,
    0.5s 1s forwards fill-anim;
}

#lgflex #logo path:nth-child(2) {
  stroke-dasharray: 1500px;
  stroke-dashoffset: 1500px;
  animation:
    2s 0.2s forwards line-anim,
    0.5s 1.2s forwards fill-anim;
}

#lgflex #logo path:nth-child(3) {
  stroke-dasharray: 500px;
  stroke-dashoffset: 1000px;
  animation:
    2s 0.3s forwards line-anim,
    0.5s 1.4s forwards fill-anim;
}

#lgflex #logo path:nth-child(4) {
  stroke-dasharray: 3040px;
  stroke-dashoffset: 3040px;
  animation: 2s 0.4s forwards line-anim;
}

.agentur-news-panorama {
  background: linear-gradient(to bottom, #121212 0%, transparent 100%);
}

@keyframes line-anim {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-anim {
  from {
    fill: transparent;
    stroke-width: 10px;
  }

  to {
    fill: rgba(255, 255, 255, 1);
    stroke-width: 0;
  }
}

#projects.homexx {
  width: 100%;
  padding-left: 22px;
  max-width: 1600px !important;
  position: relative;
}

#projects.homex {
  position: relative;
}

#projects.homex .carding {
  max-height: 490px;
  margin-bottom: 5%;
}

#projects.homex .carding .inlay .carding-logo {
  width: 100px;
  height: 55px;
}

#projects.homex .carding button {
  margin-top: 30px;
  transform: scale(0.9) translateX(-10px);
}

#projects.homex .carding p b {
  font-size: 1.75rem;
}

/* .newsSlide .swiper-slide {
  min-width: 280px;
  height: 500px;
  padding: 0 30px;
} */

.newsSlidex .swiper-slide-active {
  /* min-width: 600px; */
  /* width: 38% !important; */
}

/* .newsSlidexx .swiper-slide-prev {
  margin-right: -1% !important;
  margin-left: -2% !important;
  margin-top: 4px;
}

.newsSlidexx .swiper-slide-next {
  margin-right: -3% !important;
  margin-left: -1% !important;
} */

.newsSlide .swiper-slide-active img {
  /* transform: scale(1.1); */
  /* overflow:hidden;  */
}

.newsSlide .swiper-slide,
.newsSlide .swiper-slide img {
  border-radius: 11px;
}

.newsSlide .swiper-slide a p {
  opacity: 0.5;
  font-size: 29px;
  padding: 0 15% 10%;
}

.newsSlide .swiper-slide-active a {
  /* max-width: 88%; */
  /* max-width: none; */
  transition: 0.4s;
}

.newsSlide .swiper-slide-active a p {
  opacity: 1;
}

.newsSlide .swiper-slide a p span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  font-family: NettoOT-Bold, sans-serif !important;
}

.newsSlide .swiper-slide button {
  bottom: 12%;
}

.swiper-3d {
  perspective: 1200px;
}

.swiper-3dx .swiper-wrapper {
  perspective: 100vw;
}

/* .newsSlide .swiper-slide {
  height: 500px;
  padding: 0 30px;
} */

@media screen and (max-width: 768px) {
  #testisliding .swiper-slide .testicard .lc-block.d-inline-flex {
    margin-left: 0;
  }
  #projects h2.display-4 {
    font-size: 2.05rem !important;
    line-height: 1.2;
    max-width: 400px;
  }
  form.contact .form-group {
    margin-bottom: 0.5rem;
  }
  .navbar-nav.mx-auto {
    padding: 16% 0px 0px 0px;
  }
  #navbar-default > .navbar-nav.mx-auto.menu-container {
    height: auto !important;
    min-height: 0 !important;
    padding: 80px 18px 0 18px !important;
    margin: 0 !important;
    width: 100%;
  }

  #navbar-default .git-btn {
    display: flex !important;
    position: static !important;
    width: 100%;
    height: auto !important;
    padding: 24px 18px 32px 18px;
    margin-top: 0;
  }

  #navbar-default .git-btn .btn {
    width: 100%;
  }
  #navbar-default.collapsing {
    /* transition-duration: 0.15s !important; */
    transition-delay: 0s !important;
  }
  #navbar-default > ul.navbar-nav > li.nav-item:last-child {
    border-bottom: 0;
  }
}

#logo-grid .box {
  width: 20%;
}

@media (max-width: 767px) {
  #logo-grid .box {
    width: 50%;
  }
}

.newsSlide .swiper-slide {
  height: auto;
  padding: 0;
}

.newsSlide .blog-panorama-slide {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  padding: 0 !important;
  background: transparent;
}

/* Mobile: hochkant */
@media (max-width: 767px) {
  .newsSlide .blog-panorama-slide {
    aspect-ratio: 9 / 16;
  }
  .newsSlide .swiper-slide {
    max-height: 420px !important;
  }
}

.blog-panorama-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-panorama-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.42) 35%,
    rgba(0, 0, 0, 0) 75%
  );
}

.upper-container {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 90lvh;
  width: 100%;
  z-index: 200;
  pointer-events: none;
}

@media (max-width: 650px) {
  #aboutstart {
    top: 40vh;
    bottom: 0;
    height: 70%;
    position: absolute;
    max-height: 475px;
    width: 90%;
  }
}
.success-checkmark {
  text-align: center;
}

.success-checkmark svg {
  width: 72px;
  height: 72px;
}

.success-checkmark .circle,
.success-checkmark .check {
  fill: none;
  stroke: #377dff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Startzustand: unsichtbar */
.success-checkmark .circle {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.success-checkmark .check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}

/* Animation */
.success-checkmark.success-animation .circle {
  animation: drawCircle 0.6s ease forwards;
}

.success-checkmark.success-animation .check {
  animation: drawCheck 0.35s ease forwards 0.45s;
}

@keyframes drawCircle {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  from {
    stroke-dashoffset: 60;
  }
  to {
    stroke-dashoffset: 0;
  }
}

#modalContact .modal-content {
  margin: 10% auto;
  background: #111010;
  padding: 5% 4%;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  color: white;
}

.navbar-nav.menu-container
  > .menu-item.level_1:has(> .sub-menu-container)
  > .menu-link {
  pointer-events: none;
  cursor: default;
}

@media (min-width: 992px) {
  .navbar-nav.menu-container
    > .menu-item.level_1:has(> .sub-menu-container)
    > .menu-link::after {
    content: "\f0d7"; /* FontAwesome caret-down */
    font-family: "FontAwesome";
    display: inline-block;
    margin-left: 8px;
    font-size: 0.8em;
    line-height: 1;
    vertical-align: 1px;
  }
}
