:root {
  --color-red: #e8211d;
  --color-yellow: #ffce16;
  --color-black: #272825;
  --color-gray: #a2a2a2;
  --color-lite-gray: #f3f3f3;
  --color-white: #ffffff;
  --color-orange: #ffc081;
  --color-lite-blue: #d1eeff;
  --color-purple: #dfd8ff;
  --color-lite-red: #ff8181;
  --color-blue: #b2cff5;
  --color-lite-yellow: #ffea9b;
  --color-lite-green: #d0e8ce;

  --color-transparent: rgba(0, 0, 0, 0);

  --duration-slow: 1s;
  --duration-normal: 0.5s;
  --duration-fast: 0.3s;

  --block-padding-small: 4.6875rem;
  --block-padding-medium: 5.8125rem;
  --block-padding-big: 9.375rem;

  --animate-duration: 1.1s;
  --animate-delay: 1s;
  --animate-repeat: 1;
}

@media screen and (max-width: 990.98px) {
  :root {
    --block-padding-small: 2.375rem;
    --block-padding-medium: 5.25rem;
    --block-padding-big: 7.5rem;
  }

  .banner-area + .block.padding-medium {
    padding-top: 2.125rem;
  }
}

.wow {
  will-change: transform;
  visibility: hidden;
}
.animate__fadeInLeft {
  -webkit-animation-name: jk_fadeInLeft;
  animation-name: jk_fadeInLeft;
}
.animate__fadeInRight {
  -webkit-animation-name: jk_fadeInRight;
  animation-name: jk_fadeInRight;
}
.animate__fadeInUp {
  -webkit-animation-name: jk_fadeInUp;
  animation-name: jk_fadeInUp;
}

@keyframes jk_fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-3em, 0, 0);
    transform: translate3d(-3em, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
@keyframes jk_fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(3em, 0, 0);
    transform: translate3d(3em, 0, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}
@keyframes jk_fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* -------------------- MISC -------------------- */

html {
  background: white;
  color: var(--color-black);
  font-size: 16px;
}

html,
body {
  font-size: 16px;
  font-family: "Barlow", sans-serif;
  font-weight: bold;
  overflow-x: hidden;
}

body {
  font-size: 1.125rem;
  line-height: 1.375rem;
  font-weight: bold;
  transition: opacity var(--duration-fast) ease;
  overflow: hidden;
}
body:not(#body-content) {
  opacity: 0;
}
body:not(#body-content).show {
  opacity: 1;
}

@media screen and (min-width: 576px) {
  body {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1920px) {
  body {
    font-size: 1.35rem;
  }
}

.text-normal {
  font-size: 1.125rem;
  line-height: 1.375rem;
}

h1,.h1 {
  font-size: 4.6875rem;
  line-height: 5rem;
  font-weight: 700;
}

h2,.h2 {
  font-size: 2.8125rem;
  line-height: 3.375rem;
  font-weight: 700;
}

h3,.h3 {
  font-size: 1.5625rem;
  line-height: 1.875rem;
  font-weight: 700;
}

h4,.h4 {
  font-size: 1.125rem;
  line-height: 1.375rem;
  font-weight: 700;
}

h5,.h5 {
  font-size: 1rem;
  line-height: 1.1875rem;
  font-weight: 700;
}
@media screen and (max-width: 1199.98px) {
  h1 {
    font-size: 3rem;
    line-height: 4rem;
  }
  .mobile-h1 {
    font-size: 3rem;
    line-height: 4rem;
    font-weight: 700;
  }
  .mobile-h2 {
    font-size: 2.8125rem;
    line-height: 3.75rem;
    font-weight: 700;
  }

  .mobile-h3 {
    font-size: 1.5625rem;
    line-height: 1.875rem;
    font-weight: 700;
  }

  .mobile-h4 {
    font-size: 1.125rem;
    line-height: 1.375rem;
    font-weight: 700;
  }

  .mobile-h5 {
    font-size: 1rem;
    line-height: 1.1875rem;
    font-weight: 700;
  }
}
@media screen and (max-width: 576.98px) {
  h1 {
    font-size: 2.813rem;
    line-height: 5.417rem;
  }
}

a {
  color: var(--color-black);
  transition: color var(--duration-fast) ease;
}
a:hover {
  color: var(--color-red);
}
a.active {
  position: relative;
  color: var(--color-red);
}
a.active::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  display: block;
  margin-top: 0.3125rem;
  border-bottom: 2px solid var(--color-red);
}

a:focus,
a:hover {
  text-decoration: none;
}

a svg path,
a svg line {
  stroke: currentColor;
}

.bg-color-red {
  background: var(--color-red);
}

.bg-color-yellow {
  background: var(--color-yellow);
}

.bg-color-black {
  background: var(--color-black);
}

.bg-color-gray {
  background: var(--color-gray);
}

.bg-color-lite-gray {
  background: var(--color-lite-gray);
}

.bg-color-white {
  background: var(--color-white);
}

.bg-color-orange {
  background: var(--color-orange);
}

.bg-color-lite-blue {
  background: var(--color-lite-blue);
}

.bg-color-purple {
  background: var(--color-purple);
}

.bg-color-lite-red {
  background: var(--color-lite-red);
}

.bg-color-blue {
  background: var(--color-blue);
}

.bg-color-lite-yellow {
  background: var(--color-lite-yellow);
}

a:hover.color-red,
.color-red {
  color: var(--color-red);
}

a:hover.color-yellow,
.color-yellow {
  color: var(--color-yellow);
}

a:hover.color-black,
.color-black {
  color: var(--color-black);
}

a:hover.color-gray,
.color-gray {
  color: var(--color-gray);
}

a:hover.color-lite-gray,
.color-lite-gray {
  color: var(--color-lite-gray);
}

a:hover.color-white,
.color-white {
  color: var(--color-white);
}

a:hover.color-orange,
.color-orange {
  color: var(--color-orange);
}

a:hover.color-lite-blue,
.color-lite-blue {
  color: var(--color-lite-blue);
}

a:hover.color-purple,
.color-purple {
  color: var(--color-purple);
}

a:hover.color-lite-red,
.color-lite-red {
  color: var(--color-lite-red);
}

a:hover.color-blue,
.color-blue {
  color: var(--color-blue);
}

a:hover.color-lite-yellow,
.color-lite-yellow {
  color: var(--color-lite-yellow);
}

@media screen and (max-width: 990.98px) {
  .safe-hide-mobile {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .container {
    padding: 0 2.25rem;
  }
}
@media screen and (min-width: 991px) {
  .safe-hide {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
}

.underline {
  position: relative;
  padding-bottom: 0.3125rem;
  border-bottom: 2px solid currentColor;
}

.underline-thick {
  position: relative;
  padding-bottom: 0.3125rem;
  border-bottom: 3px solid currentColor;
}

.h-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.h-flex.center {
  align-items: center;
}

.v-flex {
  display: flex;
  flex-direction: column;
  align-items: space-between;
}

.v-flex.center {
  justify-content: center;
}

.top-line {
  position: absolute;
  top: 0;
  height: 0.5625rem;
  width: 100%;
  z-index: 1002;
}

.top-line::before,
.top-line::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 50%;
}

.top-line::before {
  background: var(--color-black);
  left: 0;
}

.top-line::after {
  background: var(--color-red);
  right: 0;
}

.padding-small {
  padding: var(--block-padding-small) 0;
}

.padding-medium {
  padding: var(--block-padding-medium) 0;
}

.padding-big {
  padding: var(--block-padding-big) 0;
}

h3 + .icon-link {
  display: inline-block;
  margin-top: 2rem;
  white-space: nowrap;
}

.cookies {
  display: flex;
  flex-flow: column;
  background: var(--color-yellow);
  padding: 1.5rem 2rem 3rem;
  position: fixed;
  z-index: 100;
  align-items: center;
  text-align: center;
  bottom: 0;
}
.cookies.accepted {
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}
.cookies p {
  white-space: pre-line;
}
.cookies .generic-wobble {
  height: 2.5rem;
}

@media screen and (min-width: 991px) {
  .cookies {
    max-width: 21rem;
    right: 6.25rem;
    bottom: 4rem;
  }
}

/* -------------------- HEADER -------------------- */

.logo {
  margin-top: 0.25rem;
  padding: 2.125rem 2.8125rem;
  display: inline-block;
  background: var(--color-yellow);
}

.logo svg {
  height: 3.8125rem;
}

.logo svg path,
.logo svg line {
  stroke: initial;
}

.contact-link a.active::after {
  content: none;
}

.contact-link-title {
  margin-right: 1.0625rem;
}

/* --- Navigation --- */

.slide-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  transition: transform var(--duration-fast) ease;
  transform: translateX(100%);
}

.slide-nav {
  padding-top: 7.75rem;
}

.slide-nav .mobile-h1 {
  line-height: 3.75rem !important;
}

.slide-nav .slide-nav-item {
  display: block;
  margin-bottom: 0.875rem;
  white-space: nowrap;
}
.slide-nav .slide-nav-item::after {
  content: none;
}

.slide-nav .slide-nav-item .mobile-h1 {
  font-size: 2.2rem;
  line-height: 2.8rem;
}

.nav-open .slide-nav {
  transform: translateX(0);
}

.navbar {
  display: flex;
  padding: 0;
}

.navbar .nav-part {
  flex: 1;
}

.navbar .nav-part:not(:first-child) {
  margin-top: 2.7rem;
}

.navbar .nav-part:first-child > :last-child {
  margin-right: auto;
}

.navbar .nav-part:last-child > :first-child {
  margin-left: auto;
}

.main-nav ul {
  margin: 0px;
  padding: 0px;
  display: flex;
}

.main-nav ul li {
  position: relative;
  list-style: none;
  margin-right: 4.75rem;
}

.main-nav ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 2.1875rem);
  width: 6px;
  height: 6px;
  background: var(--color-gray);
  border-radius: 50%;
}

.main-nav ul li:last-child {
  margin-right: 0px;
}

.main-nav ul li a {
  white-space: nowrap;
  display: inline-block;
}

@media screen and (max-width: 991px) {
  .logo {
    background: var(--color-transparent);
    padding: 0;
    margin: 1.875rem 0;
  }
  .logo svg {
    height: 2.813rem;
  }
  .navbar {
    margin-top: 0.5625rem;
  }
  .navbar .nav-part:not(:first-child) {
    margin: 0;
  }
}

/* --- Home --- */

.ball {
  --bg-color: black;
  position: absolute;

  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  z-index: 0;
  display: inline-block;
  min-width: 9.125rem;
  min-height: 9.125rem;
  text-align: center;
  will-change: transform, opacity;
  opacity: 1;
  transition: opacity var(--duration-normal) ease;
}

.ball.hidden {
  opacity: 0;
}

/* Gray */
.ball:nth-child(2) {
  left: 20%;
  top: -5%;
}
/* Black */
.ball:nth-child(3) {
  left: 60%;
  top: -20%;
}
/* Yellow */
.ball:nth-child(4) {
  left: 30%;
  top: 65%;
}

.ball::before {
  content: " ";
  background: var(--bg-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  width: 16.125rem;
  padding-bottom: 16.125rem;
  z-index: -1;
}

@media screen and (max-width: 990.98px) {
  .ball:before {
    width: 14rem;
    padding-bottom: 14rem;
  }
  /* Gray */
  .ball:nth-child(2) {
    left: 18%;
    top: 25%;
  }
  /* Black */
  .ball:nth-child(3) {
    left: 50%;
    top: 10%;
  }
  /* Yellow */
  .ball:nth-child(4) {
    left: 40%;
    top: 50%;
  }
}

@media screen and (max-width: 575.98px) {
  .ball:before {
    width: 13rem;
    padding-bottom: 13rem;
  }
  /* Gray */
  .ball:nth-child(2) {
    left: 7%;
    top: 6%;
  }
  /* Black */
  .ball:nth-child(3) {
    left: 50%;
    top: 0%;
  }
  /* Yellow */
  .ball:nth-child(4) {
    left: 30%;
    top: 55%;
  }
}

.teampower-wobble {
  position: relative;
}
canvas.teampower-wobble,
.teampower-wobble canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media screen and (max-width: 990.98px) {
  canvas.teampower-wobble,
  .teampower-wobble canvas {
    width: 200vw;
    height: 200vw;
  }
  .team-power .bubbles {
    min-height: 40rem;
  }
}
@media screen and (max-width: 575.98px) {
  canvas.teampower-wobble,
  .teampower-wobble canvas {
    width: 200vw;
    height: 200vw;
  }
  .team-power .bubbles {
    min-height: 26.5rem;
  }
}

.team-power {
  padding: 12rem 0;
}
@media screen and (max-width: 990.98px) {
  .team-power {
    padding: 6.25rem 0;
  }
}

.team-power .text h2 {
  margin-bottom: 1.3125rem;
}
.team-power .text h3 {
  margin-bottom: 1.875rem;
}

.generic-wobble {
  position: relative;
}

canvas.generic-wobble,
.generic-wobble canvas {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.project-swiper-col {
  margin-top: -1.5rem;
}

.project-swiper .swiper-container {
  overflow: hidden;
}

.project-swiper-pagination {
  display: flex;
  justify-content: center;
  height: 1.1875rem;
  position: relative;
  z-index: 1;
  padding-top: .3rem;
  cursor: pointer;
}

.project-swiper-button-next,
.project-swiper-button-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-4rem, -50%);
  height: 2rem;
  width: 2rem;
  z-index: 10;
}

.project-swiper-button-next:hover,
.project-swiper-button-next:active,
.project-swiper-button-next:focus,
.project-swiper-button-prev:hover,
.project-swiper-button-prev:active,
.project-swiper-button-prev:focus {
  outline: none;
}

.project-swiper-button-next {
  transform: translate(4rem, -50%) scaleX(-1);
  right: 0;
  left: initial;
}

.project-swiper .swiper-pagination-bullet::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250%;
  height: 250%;
  transform: translate(-50%, -50%);
}

.mirrored canvas {
  transform: translate(-50%, -50%) scaleX(-1);
}

.project-teaser {
  position: relative;
  cursor: pointer;
}
.project-teaser .title {
  padding: 0.6875rem 1.3125rem;
}

.project-swiper .swiper-wrapper {
  padding-top: 1.7rem;
  padding-bottom: 3.8125rem;
}

@media screen and (min-width: 991px) {
  .project-teaser .title {
    padding: 1.4375rem 1rem;
  }
  .project-swiper .swiper-wrapper {
    padding-top: 5rem;
  }
}

.project-teaser .go {
  position: absolute;
  right: 1rem;
  width: 2rem;
  height: 2rem;
}

a.project-teaser:hover {
  color: var(--color-black);
}

.project-teaser .image {
  position: relative;
  width: 100%;
  padding-bottom: 51.5%;
}

.project-teaser .image img {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.project-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, max-content));
  grid-gap: 1.5rem;
}

.project-works > * {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 990.98px) {
  .project-works {
    justify-content: center;
  }
  .project-info h2 {
    font-size: 1.25rem;
    line-height: 1.6875rem;
    padding-bottom: 0.4375rem;
    margin: 0;
  }
}

@media screen and (max-width: 767.98px) {
  .banner-title-mobile {
    position: absolute;
    top: 7rem;
    z-index: 100;
  }
  .banner-text-col {
    margin-bottom: 10rem;
  }

  #banner-lottie {
    position: relative;
    z-index: -1;
    margin-top: 3rem;
  }
  #banner-lottie svg {
    transform: translate3d(0px, 0px, 0px) scale(2) !important;
  }
}
/* -------------------- Jobs ------------------------- */

.job-info {
  padding: 2em 2em;
}


/* -------------------- Leistungen-------------------- */

.leistungen-list {
  margin-top: -2.8rem;
  margin-bottom: -2.8rem;
}

.leistungen-list > .leistung {
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
}

.leistungen .swiper-container {
  width: 15.4375rem;
}

.leistungen .swiper-slide {
  display: flex;
  justify-content: center;
  box-shadow: 0px 3px 6px #0000001a;
  border-radius: 6px;
  padding: 1rem;
  font-size: 1.5625rem;
}

@media screen and (min-width: 991px) {
  .leistungen .swiper-container {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
  }
}
@media screen and (max-width: 990.98px) {
  .leistungen-list {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
  }
}

.block.leistungen-banner .work-reference {
  width: 5rem;
  height: 5rem;
}

.leistungen-banner {
  padding-bottom: 8.25rem;
}

.panels {
  display: grid;
  grid-gap: 0.3125rem;
  background: var(--color-lite-gray);
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  padding: 0.3125rem;
}

.panels .panel {
  display: flex;
  flex-flow: column;
  background: var(--color-white);
  padding: 2.5rem 3.375rem;
}
@media screen and (max-width: 990.98px) {
  .panels {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }
  .panels .panel {
    padding: 1.9375rem 2.25rem;
  }
}

.panels .panel:nth-child(2) {
  flex: 1;
}

.panels .panel .work-reference {
  margin-top: auto;
}

/* -------------------- References -------------------- */
.references {
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}
.references.show {
  opacity: 1;
}
.references-filter {
  margin-bottom: 3rem;
}

.references-filter span {
  display: inline-block;
  margin-right: 2.625rem;
  padding-bottom: 1rem;
  cursor: pointer;
}

.references-filter span.active {
  color: var(--color-red);
}

.references-filter.dropdown {
  border: 4px solid var(--color-lite-gray);
  width: 100%;
  padding: 0.3125rem 0;
}

.references-filter.dropdown .dropdown-toggle {
  background: none;
  border-radius: 0;
  width: 100%;
  color: var(--color-black);
  text-align: left;
  outline: 0;
  border: none;
  padding: 0.3125rem 0.75rem;
  padding-bottom: 0.875rem;
  margin-bottom: -0.4375rem;
}
.references-filter.dropdown .dropdown-toggle svg {
  transform: none;
  transition: transform var(--duration-fast) ease;
}
.references-filter.dropdown .dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.references-filter.dropdown .dropdown-toggle::after {
  content: none;
}

.references-filter.dropdown .dropdown-toggle:hover,
.references-filter.dropdown .dropdown-toggle:focus,
.references-filter.dropdown .dropdown-toggle:active {
  background: none;
  box-shadow: none !important;
  color: var(--color-black);
  outline: none;
}
.references-filter.dropdown .dropdown-menu {
  padding-top: 0.75rem;
  border-radius: 0;
  border: 4px solid var(--color-lite-gray);
  border-top: 0;
  width: 100%;
  box-sizing: content-box;
  margin-left: -4px;
  margin-top: -4px;
}
.references-filter.dropdown .dropdown-menu::before {
  content: "";
  width: calc(100% - 1.25rem);
  position: absolute;
  top: 2px;
  background: var(--color-lite-gray);
  left: 0.75rem;
  border: none;
  height: 4px;
}
.references-filter.dropdown .dropdown-item {
  padding: 0.375rem 0.75rem;
}
.references-filter.dropdown .dropdown-item.active {
  background: var(--color-lite-gray);
  color: currentColor;
  border: none;
}
.references-filter.dropdown .dropdown-item::after {
  content: none;
}

.references .swiper-container {
  padding-bottom: 2.5rem;
  overflow: hidden;
  /*
  min-height: 65rem;
  height: 120vh;
  */
}

.references .swiper-slide {
  /*height: calc(25% - 1.5rem);*/
  height: max-content;
  width: auto;
  margin-top: 0 !important;
}
.references .swiper-container-multirow-column > .swiper-wrapper {
  flex-direction: inherit;
}

.references .pagination-bar {
  display: flex;
  justify-content: center;
  height: 2.1875rem;
  margin-top: 4rem;
  margin-bottom: 2rem;
}
.references .swiper-pagination {
  display: flex;
  justify-content: center;
  position: relative;
}
.references .references-swiper-button-prev,
.references .references-swiper-button-next {
  position: relative;
  top: 0;
  width: 2rem;
  height: 2rem;
  opacity: 1;
  transition: opacity var(--duration-normal) ease;
}
.references .references-swiper-button-prev {
  margin-right: 3rem;
  transform: none;
}
.references .references-swiper-button-next {
  transform: scaleX(-1);
  margin-left: 3rem;
}
@media screen and (min-width: 991px) {
  .references .references-swiper-button-prev {
    margin-right: 1.5rem;
  }
  .references .references-swiper-button-next {
    margin-left: 1.5rem;
  }
}
.references .references-swiper-button-prev canvas,
.references .references-swiper-button-next canvas {
  pointer-events: none;
}

.references .reference-slide-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1875rem;
  height: 2.1875rem;
  color: var(--color-white);
  background: var(--color-gray);
  border-radius: 50%;
}

.references
  .swiper-container-horizontal
  .swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 0.25rem;
}
.references .swiper-pagination-bullet-active {
  background: var(--color-black);
}
.references .reference-slide-bullet::after {
  content: none;
}

.references .swiper-slide .reference,
.references .swiper-slide .reference a,
.references .swiper-slide .reference .content {
  /*height: 100%;*/
  padding-bottom: 1rem;
}
.references .swiper-slide .reference .content {
  display: flex;
  flex-flow: column;
}
.references .swiper-slide .reference .content .image {
  flex: 1;
  width: auto;
  /*padding-bottom: initial;*/
}

.references-swiper .swiper-container {
  overflow: visible;
}

.references-swiper-container {
  position: relative;
}

@media screen and (min-width: 991px) {
  .references .swiper-slide .reference,
  .references .swiper-slide .reference a,
  .references .swiper-slide .reference .content {
    padding-bottom: 0.5rem;
  }
  .references .swiper-slide {
    /*height: calc(50% - 3.75rem);*/
  }
/*
  .references .swiper-container {
    min-height: 40rem;
    height: 55vh;
  }
*/
}

@keyframes flexGrow {
  to {
    flex: 1;
  }
}
@keyframes flexGrow {
  to {
    flex: 1;
  }
}
@keyframes flexShrink {
  to {
    flex: 0.01;
    flex: 0.00001;
  }
}

.overflow-container {
  overflow: hidden;
  margin-top: -8rem;
  padding-bottom: var(--block-padding-small);
}

.overflow-container .swiper-wrapper {
  padding: 0;
}

.references-swiper-container .caption {
  padding: 2.5625rem 2.25rem 3rem;
  position: relative;
  top: 100%;
  width: 100%;
  left: 0;
  z-index: 10;
  line-height: 1.6rem;
}

@media screen and (min-width: 991px) {
  .overflow-container {
    padding-bottom: 0;
  }
  .references-swiper-container .caption {
    bottom: 4rem;
    width: 55%;
    left: 35%;
    padding: 1.875rem;
  }
}

.references-swiper-button-next,
.references-swiper-button-prev {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 2rem;
  width: 2rem;
  z-index: 10;
  cursor: pointer;
  transition: top var(--duration-fast) ease;
}
.references-swiper-button-next canvas,
.references-swiper-button-prev canvas {
  pointer-events: none;
}

.references-swiper-button-next:hover,
.references-swiper-button-next:active,
.references-swiper-button-next:focus,
.references-swiper-button-prev:hover,
.references-swiper-button-prev:active,
.references-swiper-button-prev:focus {
  outline: none;
}

.references-swiper-button-next {
  transform: translate(50%, -50%) scaleX(-1);
  right: 0;
  left: initial;
}

@media screen and (max-width: 575.98px) {
  .references-swiper-container {
    margin-left: -2.25rem;
    width: calc(100% + 4.5rem);
  }
  .references-swiper-button-next {
    right: 1.875rem;
    transform: translateY(-50%) scaleX(-1);
  }
  .references-swiper-button-prev {
    left: 1.875rem;
    transform: translateY(-50%);
  }
}

.block.references-title {
  padding-bottom: 5.625rem;
}

.block.references-swiper {
  margin-top: 13.625rem;
  height: calc(100% - 10rem);
}

/*
.block.references-swiper > :first-child {
  transform: translateY(-6rem);
}

@media screen and (min-width: 991px) {
.block.references-swiper > :first-child {
  transform: translateY(-8rem);
}
}
*/

.work-info {
  padding: 1.3125rem 0;
  display: grid;
  grid-template-columns: 9rem auto;
}

.work-info-table {
  display: grid;
  column-gap: 2.8125rem;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 991px) {
  .work-info-table {
    grid-template-columns: 1fr 1fr;
  }
}

/*
.references-grid .gutter-sizer {
  width: 2.8125rem;
}

.references-grid .reference {
  width: 33.3%;
  margin-bottom: 5.875rem;
}
*/

/* --- Wir sind Agel--- */

.employee-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  grid-gap: 2.25rem;
}

.employee-boxes-small {
  display: grid;
  //grid-template-columns: repeat(4, minmax(10rem, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  grid-gap: 2.25rem;
}
@media (max-width: 992px) {
.employee-boxes-small {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
  
  }

.employee-img {
  position: relative;
  }
.employee-img:after {
  content: " ";
  display: block;
    padding-bottom: 111%;
}
.employee-img img {
  position: absolute;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  height:100%;
  object-fit:cover;
  }


.employee-img img, .employee > img {
  width: 100%;
}

.employee-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, max-content));
  row-gap: 1rem;
}

.employee-list .employee {
  display: flex;
  align-items: center;
}
.employee-list .employee a {
  display: inline-block;
  line-height: 0;
  height: 1.5em;
  margin-left: .5rem;
}
.employee-list .employee img {
  height: 100%;
}

/* --- Wir sind Agel--- */

.block.contact {
  padding-top: 1.375rem;
  padding-bottom: 0;
}

.contact .maps-container {
  padding-bottom: 100%;
  height: 0;
  position: relative;
}

#contact-google-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact-info {
  padding: 1.8125rem 2.25rem;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.contact-info-wrapper {
  width: 100%;
}

@media screen and (min-width: 576px) {
  .block.contact {
    padding-bottom: 3rem;
  }
}

@media screen and (max-width: 767.98px) {
  .block.contact .container {
    padding: 0;
  }
}

@media screen and (min-width: 768px) {
  .contact-info p,
  .contact-info span {
    font-size: 1.25rem;
  }

  .maps-col {
    margin-top: -4.6875rem;
    margin-bottom: -4.6875rem;
  }

  .contact .maps-container {
    padding-bottom: 0;
    height: auto;
    height: 100%;
    width: 100%;
  }

  #contact-google-map {
    left: 17.5px;
    right: 17.5px;
  }
  .contact-info-wrapper {
    margin-left: 17.5px;
    flex: 0 0 130%;
  }
  .contact-info {
    padding: 2.8125rem 3.125rem;
    padding-right: 4rem;
  }
  .block.contact {
    padding: 14.0625rem 0;
  }
}

/* --- Swiper --- */

.swiper-button-disabled {
  opacity: 0 !important;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0.1875rem;
}

.swiper-pagination-bullet {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-black);
  position: relative;
  opacity: 1;
}

.swiper-pagination-bullet:focus {
  outline: none;
}


.swiper-container-horizontal
  > .swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 0.4375rem;
  
}

.swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-white);
  border: 0.1875rem solid var(--color-yellow);
  border-radius: 50%;
  z-index: -1;
  transition: all 0.3s ease;
  will-change: width, height;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active::after {
  width: 1.1875rem;
  height: 1.1875rem;
}

/* --- Line --- */

.line {
  border-top: 0.3125rem solid var(--color-lite-gray);
}

/* --- Hamburger --- */

.burger-wrapper {
  display: none;
  margin-right: 1vw;
}

.hamburger {
  padding: 0;
  cursor: pointer;
}

.hamburger-box {
  position: relative;
  width: 30px;
  height: 18px;
}

.hamburger .hamburger-inner,
.hamburger .hamburger-inner:after,
.hamburger .hamburger-inner:before {
  background-color: black;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
  position: absolute;
  width: 32px;
  height: 3px;
  transition: 0.3s;
  background-color: #000;
  border-radius: 4px;
}

.hamburger-inner {
  top: 50%;
  display: block;
  margin-top: -2px;
  will-change: background-color;
}

.hamburger-inner:before {
  top: -9px;
}

.hamburger-inner:after {
  bottom: -9px;
}

.hamburger-inner:after,
.hamburger-inner:before {
  display: block;
  content: "";
  will-change: transform;
}

.nav-open .hamburger-inner {
  background-color: rgba(0, 0, 0, 0) !important;
}

.nav-open .hamburger-inner:before {
  transform: translateY(9px) rotate(45deg);
}

.nav-open .hamburger-inner:after {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1199.98px) {
  .burger-wrapper {
    display: inline-block;
  }
}

/* -------------------- COMPONENTS -------------------- */

.banner > .row {
  min-height: 70vh;
}

.icon-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

.icon-link span {
  position: relative;
  z-index: 1;
  margin-left: 4rem;
}

canvas[resize] {
  width: 100%;
  height: 100%;
}

.icon-link canvas {
  display: block;
  margin-right: 1.375rem;
  height: 10rem;
  width: 10rem;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: visible;
}

.work-reference {
  display: inline-block;
  position: relative;
}
.work-reference canvas {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.work-reference span {
  color: black;
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 7.5rem;
}

/* -------------------- CONTENT -------------------- */
header {
  position: relative;
  z-index: 1001;
}

main {
  position: relative;
  z-index: 0;
}

.banner-area {
  margin-top: 11.0625rem;
}

.info-page {
  margin-top: 11.0625rem;
  margin-bottom: 11.0625rem;
  
  font-size: 1.125rem;
  line-height: 1.375rem;
  font-weight: 300;
}

.info-page h1 {
  margin-bottom: 5rem;
}

.info-page ul {
  margin: 3rem 0;
}

.info-page li {
  margin: 1rem 0;
}

.info-page .contacts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 3rem;
  margin-top: 6rem;
}

.info-page a {
  border-bottom: 2px solid currentColor;
}


@media screen and (max-width: 990.98px) {
  .banner-area {
    margin-top: 2.8125rem;
  }
  .banner-area h1 {
    font-size: 1.5625rem;
    line-height: 2.0625rem;
  }
}

.page-title h1 {
  margin-bottom: 1.3125rem;
}

/* -------------------- FOOTER -------------------- */

footer .bottom-line {
  padding: 1.4375rem 0;
}
footer .bottom-line a {
  margin-left: 3.3125rem;
  display: inline-block;
}
footer .bottom-line a:first-child {
  margin-left: 0;
}

.footer-line {
  padding: 2.8125rem 0;
}

@media screen and (max-width: 990.98px) {
  footer .bottom-line a {
    margin-left: 1.0625rem;
  }
  .footer-item.full {
    flex: 0 0 100%;
  }
  .footer-item h5,
  .footer-item p {
    margin: 0;
  }
}

/* -------------------- BOOTSTRAP 4 MEDIAQUERIES -------------------- */

/* This is the top-down version of bootstrap mediaquery where large desktop is the default (no mediaquery) version */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}
