/* ═══ Eberhardt.AI Logo-Intro (Standard seit 21.10.2026) ═══
   Erster Eindruck jeder Website: das eigene Logo/Motiv des Kunden steht auf einer Bühne,
   beim Scrollen (oder Klick) fliegt man durch einen Punkt im Motiv hindurch,
   ein Kreis öffnet sich und gibt den festgehaltenen Hero frei.
   Anpassen nur über die Variablen unten bzw. die data-Attribute am .li-gate – nicht im Baustein selbst. */

.li-gate {
  /* Farben pro Kunde überschreiben (z. B. im CSS der Seite: .li-gate { --li-bg: … }) */
  --li-bg: radial-gradient(ellipse 70% 60% at 50% 40%, #3a2a24 0%, #1a1210 60%, #0b0706 100%);
  --li-rays: rgba(255, 220, 170, .07);
  --li-glow: rgba(255, 236, 190, .5);
  --li-accent: #f2cf8a;
  --li-text: rgba(255, 255, 255, .86);
  --li-flash: radial-gradient(circle at 50% 50%, #fffdf7 0%, #fff4e0 45%, #f6ddb0 100%);
  --li-flash-max: .9;
  --li-logo-w: clamp(220px, 46vw, 640px);
  --li-font: inherit;
  position: fixed; inset: 0; z-index: 900; overflow: hidden; display: grid; place-items: center; color: #fff;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.li-gate.is-done { visibility: hidden; pointer-events: none; }
.li-bg { position: absolute; inset: -10%; background: var(--li-bg); }
.li-rays { position: absolute; left: 50%; top: 46%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax;
  background: repeating-conic-gradient(from 0deg, var(--li-rays) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 55%); mask: radial-gradient(circle, #000 0%, transparent 55%);
  animation: li-spin 90s linear infinite; }
.li-stage { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 4vh, 40px); padding: 24px; }
.li-zoom { position: relative; will-change: transform; }
.li-mark { position: relative; display: block; width: var(--li-logo-w); background: none; border: 0; padding: 0; cursor: pointer; animation: li-in 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.li-pulse { display: block; position: relative; animation: li-pulse 2.8s ease-in-out 1.6s infinite; }
.li-gate.is-moving .li-pulse { animation: none; }
.li-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.li-shine { position: absolute; inset: 0; pointer-events: none; -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .8) 50%, transparent 62%) no-repeat; background-size: 260% 100%;
  mix-blend-mode: screen; animation: li-shine 3.6s ease-in-out 1.4s infinite; }
.li-glow { position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--li-glow), transparent 62%); animation: li-glow 2.8s ease-in-out 1.6s infinite; pointer-events: none; z-index: -1; }
.li-ui { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3vh, 26px); text-align: center; will-change: opacity, transform; }
.li-claim { font-family: var(--li-font); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .08em; color: var(--li-text); opacity: 0; animation: li-up 1.2s ease .8s forwards; }
.li-hint { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--li-font); font-size: 12px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--li-text); opacity: 0; animation: li-up 1s ease 1.5s forwards; }
.li-hint .li-t { animation: li-breathe 3.6s ease-in-out 2.5s infinite; }
.li-mouse { width: 24px; height: 38px; border: 1.6px solid var(--li-accent); border-radius: 14px; position: relative; }
.li-mouse::after { content: ''; position: absolute; left: 50%; top: 21px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--li-accent); animation: li-wheel 1.8s ease-in-out infinite; }
.li-flash { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: var(--li-flash); }
.li-skip { position: absolute; z-index: 4; right: 20px; bottom: 20px; background: none; border: 1px solid rgba(255, 255, 255, .35); color: var(--li-text);
  font-family: var(--li-font); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px; border-radius: 100px; cursor: pointer;
  opacity: 0; animation: li-up 1s ease 2s forwards; }
.li-skip:hover, .li-skip:focus-visible { border-color: var(--li-accent); color: #fff; }

/* Variante „Neon“: Logo geht an wie ein Leuchtschriftzug (für Logos mit Leuchtfarbe, Bars, Clubs, Tanz …) */
.li-gate.li-neon .li-logo { animation: li-neon-on 2.4s steps(1, end) .3s both; filter: drop-shadow(0 0 4px var(--li-neon, #ff3b2f)) drop-shadow(0 0 22px var(--li-neon, #ff3b2f)); }
.li-gate.li-neon.is-moving .li-logo { filter: none; }
.li-gate.li-neon .li-mark { animation-duration: 1s; }

/* Hero bleibt während des Flugs stehen */
.li-pin-gap { height: 230vh; height: 230svh; }
#liSpacer > .li-hero { position: sticky; top: 0; }

@keyframes li-spin { to { transform: rotate(360deg); } }
@keyframes li-in { from { opacity: 0; transform: scale(.84); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes li-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes li-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes li-glow { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes li-shine { 0% { background-position: 130% 0; } 55%, 100% { background-position: -30% 0; } }
@keyframes li-breathe { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes li-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(-12px); opacity: 0; } 100% { opacity: 0; } } /* Punkt wandert nach oben (Wisch-/Scrollrichtung) */
@keyframes li-neon-on { 0% { opacity: 0; } 8% { opacity: .9; } 11% { opacity: .1; } 16% { opacity: 1; } 19% { opacity: .25; } 26% { opacity: 1; } 60% { opacity: .85; } 62% { opacity: 1; } 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) { .li-gate { display: none; } .li-pin-gap { display: none; } }
