/* Übernommen aus igw-mieterportal src/site/seiten.css@925ee81 (Teil 4 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'). */
.schluss-satz {
  --hx: 50%;
  --hy: 40%;
  --sx: 0px;
  --sy: 8px;
  margin: 0;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 118;
  font-size: clamp(30px, 8.6vw, 132px);
  text-wrap: balance;
  color: #e9ecea;
  background: radial-gradient(circle min(46vw, 620px) at var(--hx) var(--hy), #fbfaf6 0%, #dce1de 36%, #8e9893 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(var(--sx) var(--sy) 14px rgba(0, 0, 0, 0.5));
}
.schluss-post {
  color: var(--salbei);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.01em;
  padding: 10px 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
  transition:
    background-size 0.45s cubic-bezier(0.2, 0.7, 0.1, 1),
    color 0.3s ease;
}
.schluss-post:hover,
.schluss-post:focus-visible {
  background-size: 100% 1px;
  color: var(--kalk);
}
.schluss-post:focus-visible {
  outline: 2px solid var(--salbei);
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .schluss {
    min-height: 78svh;
    padding-top: 96px;
    padding-bottom: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .schluss-licht {
    transition: none;
    opacity: 1;
  }
}
/* Fehlerseite: ein Rohbau mit Kran, der Rest des Hauses ist erst geplant. Drei Wege weiter. */
.fehlerseite {
  background: var(--nacht);
  color: var(--kalk);
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 140px var(--rand-r) 96px var(--rand);
}
.fehlerseite .innen {
  max-width: var(--breit);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 72px;
  align-items: center;
}
.fehlerseite h1 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 122;
  text-wrap: balance;
}
.fehlerseite .lead {
  margin: 24px 0 32px;
  color: #cdd3d0;
  max-width: 40ch;
}
.fehler-wege {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--linie-dunkel);
}
.fehler-wege li {
  border-bottom: 1px solid var(--linie-dunkel);
}
.fehler-wege a {
  display: grid;
  gap: 2px;
  padding: 16px 40px 16px 0;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition:
    padding-left 0.35s cubic-bezier(0.2, 0.7, 0.1, 1),
    color 0.25s ease;
}
.fehler-wege a::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.fehler-wege strong {
  font-weight: 400;
  font-size: 21px;
  font-variation-settings: "wdth" 112;
}
.fehler-wege span {
  color: var(--nebel);
  font-size: 15px;
}
@media (hover: hover) {
  .fehler-wege a:hover {
    padding-left: 10px;
    color: var(--salbei);
  }
  .fehler-wege a:hover::after {
    transform: translateX(4px) rotate(45deg);
  }
}
.fehler-wege a:focus-visible {
  outline: 2px solid var(--salbei);
  outline-offset: 2px;
}
.fehlerseite .muted {
  color: var(--nebel);
}
.fehlerseite .muted a {
  color: var(--kalk);
}
.ansicht.nacht {
  background: transparent;
  padding: 0;
}
.ansicht.nacht svg {
  color: #cdd3d0;
}
.ansicht.nacht .geplant {
  stroke: var(--salbei);
}
.ansicht.nacht .neu {
  fill: rgba(178, 195, 189, 0.35);
  stroke: var(--salbei);
}
@media (max-width: 860px) {
  .fehlerseite .innen {
    grid-template-columns: minmax(0, 1fr);
  }
  .fehler-bild {
    order: -1;
    max-width: 420px;
  }
  .fehlerseite {
    padding-top: 112px;
  }
}
/* Kachelbild wächst ins Kopfbild der Zielseite: eigene Gruppe, länger und weicher als die Überblendung */
::view-transition-group(bild) {
  animation-duration: 0.7s;
  animation-timing-function: cubic-bezier(0.2, 0.7, 0.1, 1);
  z-index: 2;
}
::view-transition-old(bild),
::view-transition-new(bild) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation-duration: 0.35s;
}
/* Jedes Kopfbild trägt denselben Namen: zwischen Unterseiten geht Bild in Bild über, von der Startseite wächst die
 * Kachel hinein */
.kopf-bild img {
  view-transition-name: bild;
}
