/* Serverbilder bewegen sich nur, solange der Bereich sichtbar ist. */
.hero-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  min-height: 340px;
  aspect-ratio: 10 / 7;
  filter: none;
  background: #18191f;
}
.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation-duration: 16s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: paused;
}
.hero-shot-first { opacity: 1; animation-name: fastcity-portal-motion; }
.hero-shot-second { opacity: 0; animation-name: fastcity-hall-motion; }
.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #1112150d 35%, #111215c9 84%, #111215ee);
}
.hero-scene-copy {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 3vw, 34px);
  right: clamp(22px, 3vw, 34px);
  bottom: 28px;
  display: grid;
  gap: 8px;
  animation: fastcity-caption-first 16s ease-in-out infinite paused;
}
.hero-scene-copy small {
  color: #e9c5c7;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
}
.hero-scene-copy strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 650;
  line-height: 1.13;
  letter-spacing: -.035em;
  max-width: 15ch;
}
.hero-scene-copy-second { opacity: 0; animation-name: fastcity-caption-second; }
.hero-motion-toggle {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  min-height: 40px;
  min-width: 65px;
  padding: 8px 14px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #15161bd9;
  color: #fff;
  font: 600 .76rem/1.2 var(--font);
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.hero-motion-toggle:hover { background: #34363ee8; }
.hero-scene[data-running="true"] .hero-shot,
.hero-scene[data-running="true"] .hero-scene-copy { animation-play-state: running; }
.hero-copy { animation: fastcity-copy-enter .9s var(--ease) both; }
.hero-copy .word { overflow: hidden !important; }
.hero-copy .word span { animation: fastcity-word-enter 1s var(--ease) both !important; }
.hero-copy .word:nth-child(2) span { animation-delay: .13s !important; }
.hero-image-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes fastcity-portal-motion {
  0% { opacity: 1; transform: scale(1.035) translate(-.5%, .3%); }
  41% { opacity: 1; }
  49%, 91% { opacity: 0; }
  100% { opacity: 1; transform: scale(1.11) translate(.6%, -.4%); }
}
@keyframes fastcity-hall-motion {
  0%, 41% { opacity: 0; transform: scale(1.09) translate(.5%, -.2%); }
  49%, 91% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.025) translate(-.4%, .3%); }
}
@keyframes fastcity-caption-first {
  0%, 35% { opacity: 1; transform: translateY(0); }
  42%, 93% { opacity: 0; transform: translateY(9px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fastcity-caption-second {
  0%, 43% { opacity: 0; transform: translateY(9px); }
  51%, 86% { opacity: 1; transform: translateY(0); }
  93%, 100% { opacity: 0; transform: translateY(9px); }
}
@keyframes fastcity-copy-enter {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: none; }
}
@keyframes fastcity-word-enter {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}
@media (max-width: 760px) {
  .hero-scene { width: 100%; max-width: none; min-height: 300px; aspect-ratio: 16/11; }
  .hero-scene-copy strong { font-size: clamp(1.6rem, 6vw, 2rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy, .hero-copy .word span, .hero-shot, .hero-scene-copy { animation: none !important; transform: none !important; }
  .hero-copy, .hero-shot-first, .hero-scene-copy-first { opacity: 1 !important; }
  .hero-shot-second, .hero-scene-copy-second { opacity: 0 !important; }
  .hero-motion-toggle { display: none; }
}
