.px-leistungen {
  max-width: var(--maxWidth);
  margin: 0 auto;
  width: var(--baseWidth);
  position: relative;
}
.px-leistungen .headline-container {
  display: flex;
  gap: clamp(1.1111111111rem, 0.8108108108rem + 1.6891891892vw, 2.2222222222rem);
  margin-bottom: clamp(0.5555555556rem, 0.1801801802rem + 2.1114864865vw, 1.9444444444rem);
}
.px-leistungen .headline-container .headline {
  margin-bottom: 10px;
}
.px-leistungen .headline-container .head-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 768px) {
  .px-leistungen .headline-container .head-image {
    max-width: 40px;
  }
}
.px-leistungen .filter-section {
  display: flex;
  flex-direction: column;
  gap: 15px 25px;
}
.px-leistungen .filter-section .filter-header-wrapper {
  display: flex;
  gap: clamp(1.1111111111rem, 0.8108108108rem + 1.6891891892vw, 2.2222222222rem);
  align-items: center;
}
.px-leistungen .filter-section .filter-header-wrapper .filter-header {
  display: flex;
  gap: 10px 25px;
  flex-wrap: wrap;
  color: var(--mainColor);
}
.px-leistungen .filter-section .filter-header-wrapper .filter-header .filter-headline {
  font-weight: 700;
  letter-spacing: 1.26px;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .px-leistungen .filter-section .filter-header-wrapper {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
.px-leistungen .leistungen-filter {
  display: flex;
  gap: clamp(1.1111111111rem, 0.6606606607rem + 2.5337837838vw, 2.7777777778rem);
  flex-wrap: wrap;
}
.px-leistungen .leistungen-filter .filter-btn {
  color: var(--mainColor);
  cursor: pointer;
  transition: var(--baseTransition);
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2.25px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
}
.px-leistungen .leistungen-filter .filter-btn:hover {
  color: var(--mainColorLight);
}
.px-leistungen .leistungen-filter .filter-btn.active {
  color: var(--mainColorLight);
  text-decoration: underline;
}
.px-leistungen .leistungen-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1111111111rem, 0.5105105105rem + 3.3783783784vw, 3.3333333333rem);
  margin-top: clamp(1.6666666667rem, 1.2162162162rem + 2.5337837838vw, 3.3333333333rem);
}
@media (max-width: 1024px) {
  .px-leistungen .leistungen-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .px-leistungen .leistungen-items {
    grid-template-columns: 1fr;
  }
}
.px-leistungen .leistungen-items .leistung-item {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
  border: 2px solid var(--mainColor);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--baseTransition);
  text-decoration: none;
  color: inherit;
  flex-direction: column;
  height: 100%;
}
.px-leistungen .leistungen-items .leistung-item:hover {
  transform: translateY(-10px);
}
.px-leistungen .leistungen-items .leistung-item.show {
  display: flex;
}
.px-leistungen .leistungen-items .leistung-item .project-title {
  background: var(--mainColor);
  color: var(--contrastColorInverted);
  font-size: 21px;
  padding: 12px 15px 12px 30px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1px;
}
.px-leistungen .leistungen-items .leistung-item .project-title .project-title-icon {
  width: 36px;
  height: 28px;
}
.px-leistungen .leistungen-items .leistung-item .project-title .project-title-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.px-leistungen .leistungen-items .leistung-item .project-content {
  background-color: var(--contrastColorInverted);
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 25px;
  flex: 1;
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-infos {
  flex-basis: auto;
  flex: 1;
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-infos .project-description {
  display: block;
  color: var(--mainColor);
  margin-bottom: 0;
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-infos .project-description p {
  margin-bottom: 15px;
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-infos .project-description p:last-child {
  margin-bottom: 0;
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-infos .btn {
  width: fit-content;
  margin-top: auto;
}
.px-leistungen .leistungen-items .leistung-item .project-content .image {
  flex-basis: auto;
  order: 1;
}
.px-leistungen .leistungen-items .leistung-item .project-content .image img {
  width: 100%;
  height: 220px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--mainColor);
}
.px-leistungen .leistungen-items .leistung-item .project-content .project-description {
  display: none;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
