/* AUTOMATA 1.34.9 – WOW-Ebene über dem bestehenden Design (wird nach site.css und look.css geladen).
   Gleiche Marke, gleiche Bausteine – dazu: Farbnebel, Lichtschein, 3D-Glas-„A“, leuchtende Glas-Ränder, Wort-für-Wort-Überschriften. */

/* ---------- Farbnebel hinter allen Seiten ---------- */
.wow-sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.wow-sky i { position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%; filter: blur(90px); opacity: .34; will-change: transform; }
.wow-sky i:nth-child(1) { left: -18vmax; top: -22vmax; background: radial-gradient(circle, #49E3FF, transparent 62%); animation: wowDrift1 38s ease-in-out infinite alternate; }
.wow-sky i:nth-child(2) { right: -20vmax; top: 4vmax; background: radial-gradient(circle, #8F6BFF, transparent 62%); opacity: .42; animation: wowDrift2 46s ease-in-out infinite alternate; }
.wow-sky i:nth-child(3) { left: 24vmax; bottom: -34vmax; background: radial-gradient(circle, #FF5FD2, transparent 62%); opacity: .26; animation: wowDrift3 52s ease-in-out infinite alternate; }
@keyframes wowDrift1 { to { transform: translate3d(22vmax, 18vmax, 0) scale(1.15); } }
@keyframes wowDrift2 { to { transform: translate3d(-24vmax, 26vmax, 0) scale(.9); } }
@keyframes wowDrift3 { to { transform: translate3d(-18vmax, -22vmax, 0) scale(1.2); } }
[data-theme="light"] .wow-sky i { opacity: .16; filter: blur(110px); }
[data-theme="light"] .wow-sky i:nth-child(2) { opacity: .18; }
/* Abschnitte lassen den Nebel durchscheinen */
body { background-color: var(--void); }
.section, .section-tight, .page-head, .hero2, .live-sec, .proof2, .how2, .ways { background-color: transparent; }

/* Lichtschein, der der Maus folgt */
.wow-spot { position: fixed; left: 0; top: 0; z-index: 0; width: 700px; height: 700px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(143, 107, 255, .16), rgba(73, 227, 255, .06) 40%, transparent 68%); will-change: transform; }
[data-theme="light"] .wow-spot { background: radial-gradient(circle, rgba(100, 67, 238, .09), rgba(6, 119, 144, .04) 40%, transparent 68%); }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Glas-Karten: leuchtender Rand dort, wo die Maus ist ---------- */
.wow-glass { position: relative; transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .3s; transform-style: preserve-3d; will-change: transform; }
.wow-glass::after { content: ""; position: absolute; inset: -1px; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(280px circle at var(--lx, 50%) var(--ly, 50%), #49E3FF, #8F6BFF 30%, #FF5FD2 50%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.wow-glass.wow-on::after { opacity: 1; }
.wow-glass.wow-on { box-shadow: 0 40px 80px -40px rgba(143, 107, 255, .55), 0 0 0 1px rgba(143, 107, 255, .14); }
[data-theme="light"] .wow-glass.wow-on { box-shadow: 0 36px 70px -36px rgba(100, 67, 238, .4); }
/* innerer Schimmer beim Zeigen */
.wow-glass.wow-on { background-image: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 50%), rgba(143, 107, 255, .1), transparent 60%); }

/* ---------- Überschriften Wort für Wort ---------- */
.wow-split .wow-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wow-split .wow-w > span { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s; transition-delay: calc(var(--i) * 55ms + 80ms); }
.wow-split.wow-in .wow-w > span { transform: none; opacity: 1; }
/* Handy: lange Wörter („Prozessautomatisierung“) dürfen trennen – Wörter nur einblenden */
@media (max-width: 560px) {
  .page-head h1, .hero2-title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .wow-split .wow-w, .wow-split .wow-w > span { display: inline; overflow: visible; transform: none; }
}

/* ---------- Hauptknopf: Lichtstreif ---------- */
.btn-primary { overflow: hidden; isolation: isolate; }
.btn-primary::after { display: block !important; content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateX(-120%); background: linear-gradient(105deg, transparent 30%, rgba(143, 107, 255, .35) 45%, rgba(255, 95, 210, .3) 55%, transparent 70%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.btn-primary:hover::after { transform: translateX(120%); }

/* ---------- Ruhe, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
  .wow-sky i { animation: none !important; }
  .wow-spot { display: none; }
  .wow-glass { transition: none; }
}
html.a11y-motion .wow-sky i { animation: none !important; }
html.a11y-motion .wow-spot { display: none; }
@media print { .wow-sky, .wow-spot { display: none !important; } }
