/* Einblenden der neuen Unterseiten (Dirk 06.11.: „sie erscheinen abrupt – Welle baut sich auf, Icon erscheint, Headline, Text,
   Button usw. wie bei den Startseiten-Elementen“). Greift nur mit html.nxa (gesetzt im Kopf, nicht bei „weniger Bewegung“). */
/* Welle: nur leicht – blendet ein und gleitet ein Stück von rechts (Dirk 06.11.: „leicht nur reinkommen lassen“) */
@keyframes nxa-blob { from { opacity: 0; translate: 4% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes nxa-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nxa-line { from { opacity: 0; transform: translateY(60%); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); } }
@keyframes nxa-obj { 0% { opacity: 0; transform: translateY(40px) scale(.72) rotate(-14deg); } 70% { opacity: 1; transform: translateY(-6px) scale(1.03) rotate(2deg); } 100% { opacity: 1; transform: none; } }
@keyframes nxa-photo { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }

/* Kopf: angehalten, bis nx-anim.js die Seite sichtbar meldet (html.nxa-run) – sonst laufen die Animationen unsichtbar ab */
.nxa:not(.nxa-run) .nx-hero, .nxa:not(.nxa-run) .nx-hero * { animation-play-state: paused !important; }
/* Reihenfolge, schnell (06.11. (3)): Welle 0–0,9 s · Text ab 0,05 s · Symbol ab 0,4 s – alles in ~1,3 s fertig.
   probe.js blendet Welle und Bild-Spalte erst nach ~0,9 s per GSAP ein (Inline-Stil) → hier aufgehoben: sichtbar sofort,
   Deckkraft steuern die eigenen Animationen (Animationen schlagen Inline-Stile). */
@keyframes nxa-keep { from, to { opacity: 1; } }
.nxa .nx-hero > .lk-blob { visibility: visible !important; }
.nxa .nx-hero > :not(.pr-copy):not(script):not(.lk-blob) { visibility: visible !important; animation: nxa-keep .01s both; }
/* Bau und Handwerk: Schraubenschlüssel gespiegelt – Kopf rechts oben, Ende links unten (Dirk 06.11.) */
.nx-hero.nx-flip .nx-art img { scale: -1 1; }
.nxa .nx-hero .lk-blob { animation: nxa-blob .9s cubic-bezier(.45,0,.2,1) both; }
.nxa .nx-hero .lk-crumb { animation: nxa-up .5s cubic-bezier(.2,.8,.2,1) .05s both; }
/* Überschrift: Buchstaben kippen (nx-anim.js, GSAP SplitText) – Perspektive wie auf der Startseite */
.nxa .nx-hero .lk-h1 { perspective: 600px; }
.nxa .nx-hero .lk-h1:not(.nxa-go) > span:not(.sr-only) { opacity: 0; }
.nxa .nx-hero .lk-tags { animation: nxa-up .6s cubic-bezier(.2,.8,.2,1) .3s both; }
.nxa .nx-hero .lk-lead { animation: nxa-up .6s cubic-bezier(.2,.8,.2,1) .36s both; }
.nxa .nx-hero .lk-ctas { animation: nxa-up .6s cubic-bezier(.2,.8,.2,1) .42s both; }
.nxa .nx-hero .nx-art img { animation: nxa-obj .9s cubic-bezier(.2,.8,.2,1) .4s both; }
.nxa .nx-hero .nx-photo img { animation-name: nxa-photo; animation-duration: 1.1s; animation-delay: .4s; }

/* Inhalt beim Scrollen: gestaffelt von unten (Klassen setzt nx-anim.js) */
.nxa .nxa-el { opacity: 0; transform: translateY(40px); }
.nxa .nxa-el.nxa-on { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--nxa-d, 0s), transform .9s cubic-bezier(.2,.8,.2,1) var(--nxa-d, 0s); }
@media (prefers-reduced-motion: reduce) { .nxa .nxa-el { opacity: 1; transform: none; } }

/* Lime-Markierung unter „Aus einer Hand.“: zieht erst nach den Buchstaben von links nach rechts auf (vorher stand der Balken schon allein da) */
@keyframes nxa-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.nxa #swup main header.lk-hero.nx-hero .lk-h1 em { background-repeat: no-repeat; animation: nxa-mark .5s cubic-bezier(.65,0,.35,1) .6s both; }
