/* Übernommen aus igw-mieterportal src/site/site.css@925ee81 (Teil 3 von 3) (0036 W8). Regeln wörtlich;
 * angepasst: mit Biome formatiert und nach Regel 4 geteilt (Reihenfolge unverändert).
 * Pfade der Schriften auf /fonts/. */
.leistung {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 72px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--linie-hell);
}
.leistung:last-child {
  border-bottom: 1px solid var(--linie-hell);
}
.leistung-bild {
  margin: 0;
}
.leistung .ansicht {
  aspect-ratio: 3 / 2;
  padding: 5% 5% 4%;
}
.leistung .ansicht :is(rect, path, line) {
  stroke-width: 1.5;
}
.leistung .ansicht .boden {
  stroke-width: 2.4;
}
.leistung .ansicht .mass {
  stroke-width: 1;
}
.leistung-wort {
  margin: 0;
  font-weight: 300;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 118;
}
.leistung-art {
  margin: 14px 0 0;
  color: var(--grauwacke);
  font-size: 17px;
}
.leistung-paar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin: 40px 0 0;
}
.leistung-paar > div {
  position: relative;
  padding-top: 18px;
}
.leistung-paar > div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--schiefer);
}
.leistung-paar > div::after {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--schiefer);
}
.leistung-paar dt {
  font-size: 13px;
  color: var(--salbei-tief);
  margin-bottom: 8px;
}
.leistung-paar dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  max-width: 34ch;
}
@media (max-width: 860px) {
  .leistungen {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .leistungen-kopf {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 48px;
  }
  .leistung {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 44px 0;
  }
  .leistung-paar {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
  }
}
/* Ort und Maßkette, genutzt von der Angebotsansicht unter Wohnen */
.projekt-ort {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--grauwacke);
}
.projekt-masse {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 22px 0 0;
}
.projekt-masse > div {
  position: relative;
  padding: 14px 28px 0 0;
  min-width: 110px;
}
.projekt-masse > div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--schiefer);
}
.projekt-masse > div::after {
  content: "";
  position: absolute;
  left: 0;
  top: -5px;
  width: 1px;
  height: 11px;
  background: var(--schiefer);
}
.projekt-masse dt {
  font-size: 13px;
  color: var(--grauwacke);
}
.projekt-masse dd {
  margin: 0;
  font-family: var(--zeichen);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
/* Vier Bereiche: große Bildtüren mit dem Balken des Logos */
.bereiche {
  position: relative;
  z-index: 3;
  background: var(--nacht);
  color: var(--kalk);
  padding: 120px var(--rand-r) 130px var(--rand);
}
.bereiche > * {
  max-width: var(--breit);
  margin-left: auto;
  margin-right: auto;
}
.bereiche h2 {
  margin-top: 0;
  margin-bottom: 48px;
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 120;
}
.bereiche-reihe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bereich {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5.6;
  overflow: hidden;
  text-decoration: none;
  background: #2a2e2c;
  isolation: isolate;
}
.bereich img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.4s cubic-bezier(0.2, 0.7, 0.1, 1),
    filter 0.8s ease;
  filter: saturate(0.85) brightness(0.82);
}
.bereich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(20, 23, 22, 0.9) 0%, rgba(20, 23, 22, 0.35) 45%, rgba(20, 23, 22, 0) 70%);
}
.bereich::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10px;
  height: 34%;
  z-index: 2;
  background: var(--salbei);
  transition: height 0.7s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.bereich-inhalt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 26px 24px 26px 34px;
}
.bereich-wer {
  font-size: 14px;
  color: #cdd3d0;
}
.bereich-titel {
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.05;
  font-weight: 420;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.01em;
  transition: font-variation-settings 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.bereich-satz {
  font-size: 15px;
  color: #dde2df;
  max-width: 26ch;
}
.bereich:hover img,
.bereich:focus-visible img {
  transform: scale(1.05);
  filter: saturate(0.95) brightness(0.9);
}
.bereich:hover::after,
.bereich:focus-visible::after {
  height: 100%;
}
.bereich:hover .bereich-titel,
.bereich:focus-visible .bereich-titel {
  font-variation-settings: "wdth" 125;
}
.bereich:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 1100px) {
  .bereiche-reihe {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .bereiche-reihe {
    grid-template-columns: minmax(0, 1fr);
  }
  .bereich {
    aspect-ratio: 4 / 4.4;
  }
  .bereiche h2 {
    font-size: clamp(28px, 9vw, 40px);
  }
}
/* Fuß */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .leitsatz {
    animation: none;
  }
  .scroll-hinweis::after {
    animation: none;
    transform: none;
  }
}
/* Kacheln „Ihr Weg zu uns“: Zielgruppe, Titel und Satz stehen in allen Kacheln auf denselben Linien,
 * auch wenn ein Titel eine und ein anderer zwei Zeilen hat. */
@media (min-width: 601px) {
  .bereich-titel {
    display: flex;
    align-items: flex-end;
    min-height: 2.1em;
  }
  .bereich-satz {
    min-height: 2.9em;
    line-height: 1.45;
  }
}
