/* Übernommen aus igw-mieterportal src/site/seiten.css@925ee81 (Teil 3 von 4) (0036 W8). Regeln wörtlich;
 * angepasst: mit Biome formatiert und nach Regel 4 geteilt (Reihenfolge unverändert).
 * Putz des Schlussbilds als /media/putz.svg statt data:-Adresse (CSP img-src 'self'). */
.melden-dialog {
  box-sizing: border-box;
  width: min(680px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--kalk);
  color: var(--schiefer);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.melden-dialog::backdrop {
  background: rgba(20, 23, 22, 0.55);
  backdrop-filter: blur(3px);
}
.melden-dialog[open] {
  animation: panel-hinein 0.55s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.melden-dialog[open]::backdrop {
  animation: panel-schleier 0.4s ease;
}
@keyframes panel-hinein {
  from {
    transform: translateX(48px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes panel-schleier {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.melden-dialog-kopf {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(20px, 5vw, 56px);
  background: var(--kalk);
  border-bottom: 1px solid var(--linie-hell);
}
.melden-dialog-kopf h2 {
  margin: 0;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 118;
}
.dialog-zu {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linie-hell);
  background: transparent;
  cursor: pointer;
}
.dialog-zu span::before,
.dialog-zu span::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 21px;
  height: 1.5px;
  background: var(--schiefer);
}
.dialog-zu span::before {
  transform: rotate(45deg);
}
.dialog-zu span::after {
  transform: rotate(-45deg);
}
.dialog-zu:hover {
  border-color: var(--schiefer);
}
.melden-dialog-innen {
  padding: 28px clamp(20px, 5vw, 56px) 64px;
}
.melden-dialog-innen .formular-hinweis {
  margin: 0 0 28px;
}
@media (max-width: 760px) {
  .melden-band .innen {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .melden-dialog[open],
  .melden-dialog[open]::backdrop {
    animation: none;
  }
}
/* Kitas: Bildunterschrift je Schritt und Beschriftung der Bauteile, damit die Zeichnung für sich spricht */
.geschichte-plan .geschichte-bild {
  position: sticky;
}
.bildtitel {
  display: none;
  margin: 14px 4px 2px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--schiefer);
}
.bildtitel::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--salbei-tief);
}
.geschichte:not(.bereit) .bildtitel[data-fuer="4"] {
  display: block;
}
.geschichte[data-stand="1"] .bildtitel[data-fuer="1"],
.geschichte[data-stand="2"] .bildtitel[data-fuer="2"],
.geschichte[data-stand="3"] .bildtitel[data-fuer="3"],
.geschichte[data-stand="4"] .bildtitel[data-fuer="4"] {
  display: block;
  animation: bildtitel 0.6s ease both;
}
@keyframes bildtitel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.geschichte-plan .geschichte-bild text.marke {
  font-family: var(--zeichen);
  font-size: 11px;
  letter-spacing: 0.04em;
  fill: var(--schiefer);
}
.geschichte-plan .geschichte-bild text.marke-neu {
  fill: var(--salbei-tief);
}
/* Seitenwechsel: der Kopf bleibt stehen, der Inhalt blendet weich über (Chrome, Edge, Safari; sonst normaler
 * Wechsel) */
@view-transition {
  navigation: auto;
}
.kopf {
  view-transition-name: kopf;
}
::view-transition-old(root) {
  animation: vt-aus 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: vt-ein 0.55s cubic-bezier(0.2, 0.7, 0.1, 1) 0.05s both;
}
@keyframes vt-aus {
  to {
    opacity: 0;
  }
}
@keyframes vt-ein {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
/* Impressum und Datenschutz: knapper Kopf, Verzeichnis läuft links mit, Text in Lesebreite */
.seite-kopf.seite-kopf-knapp {
  padding-bottom: 56px;
}
.rechtstext-raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px 72px;
  align-items: start;
}
.rechtstext-status {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 60ch;
  font-size: 18px;
}
.rechtstext-verzeichnis {
  position: sticky;
  top: 104px;
}
.rechtstext-verzeichnis ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--schiefer);
  counter-reset: rt;
}
.rechtstext-verzeichnis li {
  counter-increment: rt;
  border-bottom: 1px solid var(--linie-hell);
}
.rechtstext-verzeichnis a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px 0;
  text-decoration: none;
  color: var(--schiefer);
  font-size: 15px;
}
.rechtstext-verzeichnis a::before {
  content: counter(rt, decimal-leading-zero);
  font-family: var(--zeichen);
  font-size: 12px;
  color: var(--salbei-tief);
  padding-top: 3px;
}
.rechtstext-verzeichnis a:hover {
  color: var(--salbei-tief);
}
.rechtstext-stand {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--grauwacke);
}
.rechtstext-inhalt {
  max-width: 68ch;
}
.rechtstext-inhalt section {
  padding: 28px 0;
  border-top: 1px solid var(--linie-hell);
  scroll-margin-top: 104px;
}
.rechtstext-inhalt h3 {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: 20px;
  font-variation-settings: "wdth" 110;
}
.rechtstext-inhalt p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: #3c403e;
}
@media (max-width: 860px) {
  .rechtstext-raster {
    grid-template-columns: minmax(0, 1fr);
  }
  .rechtstext-verzeichnis {
    position: static;
  }
}
/* Schlussbild der Startseite: dieselbe Putzwand, dasselbe Galerielicht wie am Anfang, jetzt auf dem Leitsatz */
.schluss {
  position: relative;
  z-index: 3;
  overflow: hidden;
  isolation: isolate;
  min-height: min(92svh, 920px);
  display: grid;
  place-items: center;
  padding: 120px var(--rand-r) 120px var(--rand);
  background-color: var(--nacht);
  background-image: url("/media/putz.svg");
  background-blend-mode: soft-light;
  border-top: 1px solid var(--linie-dunkel);
}
.schluss-licht {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 1300px;
  height: 1300px;
  margin: -650px 0 0 -650px;
  background: radial-gradient(
    closest-side,
    rgba(255, 247, 234, 0.24),
    rgba(255, 247, 234, 0.15) 30%,
    rgba(255, 247, 234, 0.07) 50%,
    rgba(255, 247, 234, 0.02) 64%,
    transparent 76%
  );
  transform: translate3d(50vw, 40%, 0);
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.3, 0.1, 0.2, 1) 0.15s;
  pointer-events: none;
  will-change: transform;
}
.schluss.an .schluss-licht {
  opacity: 1;
}
.schluss-innen {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: clamp(28px, 4vw, 48px);
}
