section.fachgebiete {
  background-color: var(--gray1);
}
section.fachgebiete .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 56px;
}
section.fachgebiete .headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  grid-row: 1;
  grid-column: 1;
}
section.fachgebiete .headline > * {
  margin-block: 0;
}
section.fachgebiete .headline h2 {
  color: var(--white);
  padding-inline: 6px;
  padding-bottom: 0;
}
section.fachgebiete .headline .t1 {
  color: var(--orange1);
}
section.fachgebiete .fachgebiete-container {
  display: flex;
  width: 100%;
  gap: 16px;
  pointer-events: none;
  transform: translateZ(0);
  /* @include on-hover {
  //   >a:not(:hover) {
  //     opacity: .5;
  //   }
  } */
}
@media (max-width: 1279px) {
  section.fachgebiete .fachgebiete-container {
    height: auto;
    flex-direction: column;
  }
}
section.fachgebiete .fachgebiete-container > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  transition: opacity 0.5s;
  aspect-ratio: 470 / 610;
  max-height: 900px;
  width: 100%;
  color: white;
  padding: 32px;
  position: relative;
  overflow: hidden;
  pointer-events: all;
  border-radius: 8px;
  transition: transform 0.2s linear;
}
@media (max-width: 1279px) {
  section.fachgebiete .fachgebiete-container > a {
    height: auto;
    aspect-ratio: 23 / 10;
  }
}
@media (max-width: 767px) {
  section.fachgebiete .fachgebiete-container > a {
    aspect-ratio: 16 / 10;
    padding: 24px;
  }
}
@media (hover: hover) and (pointer: fine) {
  section.fachgebiete .fachgebiete-container > a:hover {
    z-index: 1;
    transform: scale(1.02);
  }
}
section.fachgebiete .fachgebiete-container > a .t3 {
  position: relative;
  pointer-events: none;
}
section.fachgebiete .fachgebiete-container > a .bg, section.fachgebiete .fachgebiete-container > a .bg img, section.fachgebiete .fachgebiete-container > a .bg::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
section.fachgebiete .fachgebiete-container > a .bg {
  z-index: 0;
  transition: transform 0.15s linear;
  transform: scale(1) translate(0, 0);
}
section.fachgebiete .fachgebiete-container > a .bg::after {
  content: "";
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
}
section.fachgebiete .fachgebiete-container > a .bg img {
  object-fit: cover;
  object-position: 55% 50%;
}
section.fachgebiete .fachgebiete-container > a#fachgebiet_immobilienrecht .bg img {
  object-position: 64% 85%;
}
section.fachgebiete .fachgebiete-container > a#fachgebiet_vergaberecht .bg img {
  object-position: 82% 90%;
}
/*# sourceMappingURL=https://fsm.kniff.at/wp-content/build/scss_library/e2da2d21ab75f3393ade09bef7da859d2ea99614.css.map */