/* 3D-Startseite: das Logo und das Wasser kommen aus #scene3d (landing-3d.js). */
#scene3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  transition: opacity 1.1s ease, filter 1.1s ease;
}
body.scene3d #fluid,
body.scene3d .water-shadow,
body.scene3d .symbol-reflection { display: none; }
body.scene3d .symbol-stage { transform: none !important; filter: none !important; }
body.scene3d .depth-vignette {
  background:
    radial-gradient(ellipse at 50% 46%, transparent 34%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .48) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .28), transparent 22%, transparent 80%, rgba(0, 0, 0, .25));
}
body.scene3d .wordmark { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .9)); }
/* Beim Eintreten bleibt das Wasser sichtbar: das Logo taucht ein, die Wellen laufen
   hinter "The World you step into." aus, erst am Ende sinkt alles ins Dunkel. */
body.scene3d.entering #scene3d { animation: ds-water-out 3.1s ease forwards; }
@keyframes ds-water-out { 0%, 62% { opacity: 1; filter: blur(0); } 100% { opacity: 0; filter: blur(4px); } }
body.scene3d .transition {
  background: radial-gradient(ellipse 80% 60% at 50% var(--ds-dive-y, 60%), rgba(0, 0, 0, 0), rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .8) 100%);
}
/* Text und Lichtring sitzen auf dem Wasser, wo das Logo eintaucht; der Ring liegt flach auf der Fläche. */
body.scene3d .transition-copy { position: absolute; left: 0; right: 0; top: var(--ds-dive-y, 50%); margin-top: -1.6em; }
body.scene3d .transition-ripple { left: 50%; top: var(--ds-dive-y, 50%); translate: -50% -50%; scale: 1 .3; }
body.scene3d.entered #scene3d { display: none; }

/* Schriftzug kräftiger und besser lesbar über dem Wasser */
.wordmark {
  font-weight: 600 !important;
  opacity: 1 !important;
  font-size: clamp(1.25rem, 2.45vw, 2.45rem) !important;
}
body.scene3d .wordmark { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .95)) drop-shadow(0 0 18px rgba(0, 0, 0, .6)); }
