body.subpage{
  background: url("wand2.png") no-repeat center bottom fixed;
  background-size: cover;
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
}

.fragment-stage{
  position: relative;
  min-height: 200vh;   /* etwas mehr Strecke für Phase 2 */
  padding-top: 80px;
  overflow: hidden;
}

.hint{
  position: sticky;
  top: 56px;
  z-index: 30;
  margin: 0 auto;
  width: fit-content;
  padding: 10px 14px;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  font-size: 16px;
}

/* Fragmente */
.fragments{
  position: relative;
  height: 110vh;
  z-index: 10;
}

.frag{
  position: absolute;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  will-change: transform, left, top;
  transition: left 450ms ease, top 450ms ease;
}

.frag img{
  display: block;
  width: clamp(140px, 26vw, 380px);
  height: auto;
  pointer-events: none;
}

.f1{ left: 12%; top: 20%; }
.f2{ left: 52%; top: 18%; }
.f3{ left: 18%; top: 55%; }
.f4{ left: 58%; top: 58%; }

/* Reveal (Start: oben im weißen Raum) */
.reveal{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;

  height: 110vh;

  display: grid;
  place-items: start center;
  padding-top: 140px;          /* << muss zu PAD_TOP im JS passen */

  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 250ms ease;
}

.reveal.active{ opacity: 1; }

.reveal img{
  width: min(32vw, 420px);
  height: auto;
  transform: scale(1);
  transform-origin: center top; /* wichtig */
  will-change: transform;
  box-shadow: 0 25px 70px rgba(0,0,0,0.25);
}

/* Nach Puzzle: Fragmente weg */
.fragment-stage.zooming .fragments{
  opacity: 0;
  pointer-events: none;
}

/* Text: groß & mittig */
.after-reveal{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 40px 24px 140px;
}

.after-inner{
  max-width: 900px;
}

.after-reveal h1{
  font-size: clamp(44px, 6vw, 86px);
  margin: 0 0 12px;
  line-height: 1.05;
}

.after-reveal p{
  font-size: clamp(18px, 2.2vw, 28px);
  margin: 0;
  opacity: 0.9;
}
