/* Gemeinsame Einblend-Animationen (gesteuert durch js/animation.js) */
.js [data-reveal] { opacity: 0; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal=""], .js [data-reveal="hoch"] { transform: translateY(40px); }
.js [data-reveal="links"] { transform: translateX(-60px); }
.js [data-reveal="rechts"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal="dreh"] { transform: rotate(-8deg) scale(.9); }
.js [data-reveal].sichtbar { opacity: 1; transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }

/* Platzhalter-Kennzeichnung (noch fehlende Angaben) */
.platzhalter { background: #fff3b0; color: #6b5400; padding: 0 6px; border-radius: 4px; border: 1px dashed #c9a800; font-size: .9em; white-space: nowrap; }

/* Entwurfs-Leiste oben */
.entwurf-leiste { position: relative; z-index: 100; background: #111; color: #eee; font: 500 13px/1.4 system-ui, sans-serif; text-align: center; padding: 7px 12px; }
.entwurf-leiste a { color: #ffb48f; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Miniatur-Ansicht in der Übersicht (richtung-x.html?mini) */
.mini .entwurf-leiste { display: none; }
.mini body { overflow: hidden; }
