/* Startseiten-Optimierungen: ruhiges, abschnittsweises Einblenden statt
   Mobirise-Animationen auf jedem einzelnen Text, Bild und Button. */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
}

/* JavaScript setzt .reveal-section nur auf komplette Inhaltsbereiche. */
.section-reveal-enabled .reveal-section {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 560ms cubic-bezier(.22, 1, .36, 1),
    transform 560ms cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.section-reveal-enabled .reveal-section.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Mobirise-Reste dürfen keine Kindelemente separat verstecken/animieren. */
.reveal-section .hidden,
.reveal-section .animated,
.reveal-section .fadeInUp {
  visibility: visible !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section-reveal-enabled .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Ohne IntersectionObserver bleibt jeder Inhalt sicher sichtbar. */
.no-section-observer .reveal-section {
  opacity: 1 !important;
  transform: none !important;
}
