/* Übernommen aus igw-mieterportal src/site/site.css@925ee81 (Teil 2 von 3) (0036 W8). Regeln wörtlich;
 * angepasst: mit Biome formatiert und nach Regel 4 geteilt (Reihenfolge unverändert).
 * Pfade der Schriften auf /fonts/. */
@media (prefers-reduced-motion: no-preference) {
  .menue:not([hidden]) {
    animation: menue-flaeche 0.5s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }
  .menue:not([hidden]) :is(.menue-wege a, .menue-fuss) {
    animation: menue-weg 0.6s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }
  .menue-wege a:nth-child(1) {
    animation-delay: 0.08s !important;
  }
  .menue-wege a:nth-child(2) {
    animation-delay: 0.13s !important;
  }
  .menue-wege a:nth-child(3) {
    animation-delay: 0.18s !important;
  }
  .menue-wege a:nth-child(4) {
    animation-delay: 0.23s !important;
  }
  .menue:not([hidden]) .menue-fuss {
    animation-delay: 0.3s !important;
  }
  .menue.schliesst {
    animation: menue-weg-aus 0.26s ease both;
  }
}
@keyframes menue-flaeche {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@keyframes menue-weg {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes menue-weg-aus {
  to {
    opacity: 0;
  }
}
@media (max-width: 860px) {
  .kopf-nav {
    display: none;
  }
  .kopf-menue {
    display: inline-flex;
    grid-column: 3;
  }
  .kopf-logo {
    grid-column: 2;
  }
}
/* Bühne: angeheftete 3D-Szene, Text läuft darüber. Der Schleier erscheint erst mit den Akten. */
.buehne-scroll {
  position: relative;
}
.buehne {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--nacht);
  --schleier: 0;
}
/* Standbild ab dem ersten Bild: Wand und Galerielicht in Ruhestellung, die 3D-Szene blendet unmerklich darüber */
.buehne {
  background:
    radial-gradient(
      ellipse 27vw 40vh at 58% 26%,
      rgb(80, 79, 72) 0%,
      rgb(78, 77, 70) 36%,
      rgb(57, 57, 52) 66%,
      rgba(28, 31, 30, 0) 100%
    ),
    var(--nacht);
}
@media (max-width: 860px) {
  .buehne {
    background:
      radial-gradient(ellipse 52vw 24vh at 77% 28%, rgb(80, 79, 72) 0%, rgb(66, 66, 60) 45%, rgba(28, 31, 30, 0) 100%),
      var(--nacht);
  }
}
.buehne canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.buehne.bereit canvas {
  opacity: 1;
}
.buehne::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--schleier);
  background: linear-gradient(90deg, rgba(28, 31, 30, 0.82) 0%, rgba(28, 31, 30, 0.35) 38%, rgba(28, 31, 30, 0) 60%);
}
@media (max-width: 860px) {
  .buehne::after {
    background: linear-gradient(0deg, rgba(28, 31, 30, 0.92) 0%, rgba(28, 31, 30, 0.55) 42%, rgba(28, 31, 30, 0) 70%);
  }
}
/* Ankunft: Exponat und Inschrift auf einer Mittelachse. Die längste Zeile des Leitsatzes ist so breit wie
   das Logo (Schriftgröße = 0,1178 × Logohöhe, gemessen an Archivo wdth 118), der Claim ordnet sich darunter. */
.ankunft {
  --logo-h: min(38vh, 38svh, 56.5vw);
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  margin-top: -100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(84px, 11vh, 112px) var(--rand-r) clamp(104px, 15vh, 150px) var(--rand);
}
.logo-platz {
  height: var(--logo-h);
  width: auto;
  max-width: none;
}
.logo-platz.versteckt {
  visibility: hidden;
}
.ankunft-text {
  display: grid;
  justify-items: center;
  margin-top: calc(var(--logo-h) * 0.17);
}
.umbruch {
  display: block;
}
.leitsatz {
  margin: 0;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: max(29px, calc(var(--logo-h) * 0.1178));
  font-variation-settings: "wdth" 118;
  white-space: nowrap;
  animation: weite 1.9s cubic-bezier(0.2, 0.7, 0.1, 1) both 0.15s;
}
.ankunft-text .claim {
  margin: calc(var(--logo-h) * 0.075) 0 0;
  font-size: clamp(16px, calc(var(--logo-h) * 0.05), 21px);
  line-height: 1.45;
  color: var(--salbei);
  font-variation-settings: "wdth" 108;
}
/* Scroll-Hinweis auf derselben Achse: ein feiner Strich, durch den ein Lichtpunkt nach unten läuft */
.scroll-hinweis {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: clamp(44px, 7vh, 72px);
  background: rgba(233, 236, 234, 0.16);
  overflow: hidden;
}
.scroll-hinweis::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 40%;
  background: linear-gradient(180deg, rgba(233, 236, 234, 0), var(--kalk));
  animation: hinweis 2.4s cubic-bezier(0.6, 0, 0.3, 1) infinite 2.2s;
  transform: translateY(-100%);
}
@keyframes hinweis {
  0% {
    transform: translateY(-100%);
  }
  70%,
  100% {
    transform: translateY(260%);
  }
}
@media (max-width: 860px) {
  .ankunft {
    --logo-h: min(36vh, 36svh, 66vw);
  }
}
@media (max-width: 400px) {
  .ankunft-text .claim {
    font-size: 15px;
    font-variation-settings: "wdth" 100;
  }
}
.aktionen {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
@keyframes weite {
  from {
    font-variation-settings: "wdth" 70;
    letter-spacing: -0.04em;
  }
  to {
    font-variation-settings: "wdth" 118;
    letter-spacing: -0.02em;
  }
}
.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.knopf-hell {
  background: var(--kalk);
  color: var(--schiefer);
}
.knopf-hell:hover {
  background: var(--salbei);
}
.knopf-linie {
  border-color: rgba(246, 247, 245, 0.5);
}
.knopf-linie:hover {
  border-color: var(--salbei);
  color: var(--salbei);
}
/* Akte */
.akte {
  position: relative;
  z-index: 2;
  padding: 0 var(--rand-r) 0 var(--rand);
}
.akt {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 440px;
}
.akt .verb {
  font-family: var(--zeichen);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--salbei);
  margin: 0 0 14px;
}
.akt[data-akt="3"] .verb {
  color: var(--licht);
}
.akt h3 {
  margin: 0 0 16px;
  font-weight: 380;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.akt p {
  margin: 0;
  color: #cdd3d0;
  max-width: 40ch;
}
@media (max-width: 860px) {
  .akt {
    justify-content: flex-end;
    padding-bottom: 12vh;
    max-width: none;
  }
}
/* Was wir machen: gegliedert nach dem Claim, je eine Zeichnung im Stil des Modells und eine Maßkette aus zwei Sätzen */
.leistungen {
  position: relative;
  z-index: 3;
  background: var(--kalk);
  color: var(--schiefer);
  padding: 130px var(--rand-r) 130px var(--rand);
}
.leistungen > * {
  max-width: var(--breit);
  margin-left: auto;
  margin-right: auto;
}
.leistungen-kopf {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: 72px;
}
.leistungen-kopf h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 118;
}
.leistungen-kopf p {
  margin: 0;
  color: var(--grauwacke);
  max-width: 40ch;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.5;
}
