.contact-layout {
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 42px;
}

.contacts article {
  grid-template-columns: 170px minmax(0, 1fr);
  height: 220px;
  min-height: 220px;
  align-items: stretch;
}

.contacts article img {
  width: 170px;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

.contacts article .contact-person {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 22px 20px;
}

.contacts .contact-person h3 {
  margin: 0;
}

.contacts .contact-person p {
  margin: 10px 0 0;
  line-height: 1.4;
}

.contacts .contact-person .contact-person__role {
  margin-top: 0;
  margin-bottom: 5px;
}

.contacts .contact-person__detail {
  margin-top: 7px;
}

.contacts .contact-person__detail strong {
  color: var(--green);
}

.contacts .contact-person a {
  display: inline-block;
  white-space: nowrap;
}

/* Fluent Forms: mirror the primary red CTA used in the homepage hero. */
.contact-form .absendenbutton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 13px 20px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: var(--red) !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-form .absendenbutton::after {
  content: "\2192";
  font-size: 20px;
  line-height: 1;
}

.contact-form .absendenbutton:hover {
  background: #861319 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.contact-form .absendenbutton:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--red) !important;
}

.contact-form .absendenbutton:disabled,
.contact-form .absendenbutton[aria-disabled="true"] {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 30px;
  }

  .contacts article {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .contacts article img {
    width: 150px;
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contacts article {
    grid-template-columns: 125px minmax(0, 1fr);
    height: 205px;
    min-height: 205px;
  }

  .contacts article img {
    width: 125px;
  }

  .contacts article .contact-person {
    padding: 18px 14px;
  }

  .contacts .contact-person a {
    white-space: normal;
  overflow-wrap: anywhere;
  }
}
