/* Schritt 1: ruhige Horizont-Testszene.
   Alle bisherigen Szenen bleiben in HTML und CSS erhalten.
   Zum Wiederherstellen nur diese Stylesheet-Einbindung entfernen.
   Die finale Komposition und ihre Auflösung (bis 66 s) bleiben unverändert. */

.condor-journey--story > .condor-journey__perception,
.condor-journey--story > .condor-journey__inner-copy,
.condor-journey--story > .condor-inward__atmosphere,
.condor-journey--story > .condor-inward__texts,
.condor-journey--story > .condor-story__atmosphere,
.condor-journey--story > .condor-passage-frame,
.condor-journey--story > .condor-story__thoughts {
  display: none;
}

/* Vorhandene Horizontlandschaft: keine spätere Fahrt oder Ausblendung. */
.condor-journey--story[open] .condor-journey__inner-world img {
  animation: none;
}

/* Bis 66 s exakt dieselbe Ankunft und Unschärfe wie bisher.
   Erst danach geht die Landschaft weich in den stillen Farbraum über.
   Der Endzustand bleibt ohne weitere Szenen oder Bewegung stehen. */
.condor-journey--story[open] .condor-journey__inner-world {
  animation: condor-layer-arrive 18s ease-in-out 48s both,
    condor-horizon-settle 24s ease-in-out 66s both;
}

@keyframes condor-horizon-settle {
  from { filter: blur(9px) brightness(1) saturate(1); }
  to { filter: blur(32px) brightness(0.78) saturate(0.9); }
}

/* Schritt 3: fertige Gesamtkomposition unverändert über der Grundszene.
   Grundszene ab 90 s ruhig, 8 s Pause, danach 24 s sanfte Einblendung.
   Ab 122 s bleibt DER BLICK vollständig sichtbar und unbewegt. */
.condor-journey__gaze {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  pointer-events: none;
}

.condor-journey--story[open] .condor-journey__gaze {
  animation: condor-gaze-arrive 24s ease-in-out 98s both,
    condor-gaze-release 28s ease-in-out 130s forwards;
}

/* Schritt 5: gleiche Bildmaße und contain-Darstellung für beide Originale.
   122–130 s: DER BLICK allein; 130–158 s: gemeinsame Überblendung.
   Danach bleibt ausschließlich die fertige Textkomposition stehen. */
.condor-journey--story[open] .condor-journey__gaze--text {
  animation: condor-gaze-arrive 28s ease-in-out 130s both,
    condor-gaze-release 6s ease-in-out 203s forwards;
}

/* Fortsetzung: nach vollständiger Textszene bei 158 s weitere 45 s lesen.
   203–209 s: Überblendung; DER RUF bleibt anschließend ruhig stehen.
   Die gemeinsame gaze-Klasse erhält contain, Position und Bildgröße. */
.condor-journey--story[open] .condor-journey__gaze--ruf {
  animation: condor-gaze-arrive 6s ease-in-out 203s both;
}

/* DER RUF ist ab 209 s vollständig sichtbar, danach 45 s Lesepause.
   254–260 s: neue Gesamtkomposition direkt darüber einblenden.
   Das deckende Vorgängerbild bleibt darunter, damit keine Zwischenfläche
   durchscheint. Ab 260 s bleibt das neue Bild unverändert stehen. */
.condor-journey--story[open] .condor-journey__gaze--soul {
  animation: condor-gaze-arrive 6s ease-in-out 254s both;
}

/* Der Ruf meiner Seele ist ab 260 s vollständig sichtbar: 45 s Lesedauer.
   305–311 s: Die andere Wahl deckungsgleich darüber einblenden.
   Der deckende Vorgänger verhindert eine Zwischenfläche.
   Anschließend bleibt Die andere Wahl ohne weitere Fortsetzung stehen. */
.condor-journey--story[open] .condor-journey__gaze--choice {
  animation: condor-gaze-arrive 6s ease-in-out 305s both;
}

/* Die andere Wahl ist ab 311 s vollständig sichtbar: 45 s Lesedauer.
   356–362 s: Der Schleier / Die Masken deckungsgleich darüber einblenden.
   Der deckende Vorgänger verhindert eine Zwischenfläche.
   Anschließend bleibt die neue Gesamtkomposition ohne Fortsetzung stehen. */
.condor-journey--story[open] .condor-journey__gaze--veil {
  animation: condor-gaze-arrive 6s ease-in-out 356s both;
}

/* Die Maskenszene ist ab 362 s vollständig sichtbar: 45 s Lesedauer.
   407–413 s: Finale deckungsgleich über dem deckenden Vorgänger einblenden.
   Danach dauerhaft sichtbar, ohne Ausblendung oder automatische Rückkehr. */
.condor-journey--story[open] .condor-journey__gaze--finale {
  animation: condor-gaze-arrive 6s ease-in-out 407s both;
}

@keyframes condor-gaze-release {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes condor-gaze-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Schritt 4: eine zusammenhängende Lesepassage. Bild fertig bei 122 s,
   danach 6 s Ruhe und 12 s gemeinsame Einblendung, ohne Fortsetzung.
   Der Rahmen folgt ausschließlich dem contain-Seitenverhältnis des Bildes. */
.condor-passage-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100vw, calc(100svh * 1672 / 941));
  aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%);
  container-type: inline-size;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.condor-passage {
  position: absolute;
  top: 15%;
  left: 54%;
  width: 42%;
  color: #fff5e5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(1.15cqw, 18px);
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
  text-shadow: 0 1px 5px rgba(9, 35, 66, 0.5);
}

.condor-passage p { margin: 0 0 1.35em; }
.condor-passage .condor-passage__call {
  margin-bottom: 0;
  color: #f5dda9;
  font-family: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive;
  font-size: 2.5em;
  font-weight: 400;
  line-height: 1.35;
}

/* Vorhandene Feder aus Zwischen den Zeilen, ohne eigene Animation. */
.condor-passage__feather {
  display: block;
  width: 9em;
  height: auto;
  margin-top: 0.15em;
  color: #f5dda9;
}
.condor-passage__feather path {
  stroke-width: 1.8;
}
.condor-passage__feather path[fill="currentColor"] {
  fill-opacity: 0.12;
}

.condor-journey--story[open] .condor-passage-frame {
  animation: condor-passage-arrive 12s ease-in-out 128s both;
}

@keyframes condor-passage-arrive {
  from { opacity: 0; visibility: hidden; }
  to { opacity: 1; visibility: visible; }
}

/* Auf schmalen Hochkantdisplays bleibt das vollständige Bild unangetastet.
   Die freie Fläche darunter hält den Text lesbar und das Auge frei. */
@media (max-aspect-ratio: 3/4) {
  .condor-passage-frame {
    top: calc(50% + 100vw * 941 / 1672 / 2 + 12px);
    bottom: 12px;
    left: 6%;
    width: 88%;
    aspect-ratio: auto;
    transform: none;
    overflow-y: auto;
    pointer-events: auto;
  }
  .condor-passage {
    position: static;
    width: 100%;
    font-size: 14px;
    line-height: 1.75;
  }
}
.condor-return-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100vw, calc(100svh * 1672 / 941));
  aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  container-type: inline-size;
}
.condor-journey__return {
  position: absolute;
  right: clamp(20px, 2cqw, 30px);
  bottom: clamp(20px, 2cqw, 30px);
  margin: 0;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #ffda79;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.65cqw, 25px);
  font-style: italic;
  line-height: 1.25;
  text-align: right;
  text-shadow: 0 1px 3px #071d2d, 0 2px 8px #071d2d;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 2.5s ease-in-out, visibility 2.5s;
}
.condor-journey__return.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.condor-journey__return:focus-visible {
  outline: 1px solid #ffda79;
  outline-offset: 3px;
}
