/* Startseite: interaktiver Einstieg auf der Hauptfarbe #2752EC.
   Teamfoto eingebettet, folgt leicht der Maus; Wegweiser nach Zielgruppe. */

.hx { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--blue); min-height: calc(100svh - 72px); display: grid; align-items: center; }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(46, 230, 176, 0.28), transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(12, 26, 68, 0.55), transparent 65%),
    linear-gradient(160deg, #3462f0 0%, var(--blue) 45%, #1d43cf 100%);
}
.hx-spot { position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
  transform: translate(var(--mx, 70vw), var(--my, 30vh)); transition: opacity 0.4s; opacity: 0; }
.hx.is-hover .hx-spot { opacity: 1; }

/* Bewegter Hintergrund: weiche Farbflächen ziehen langsam, darüber ein Netzwerk aus Knoten (Arbeitsplätze, Server,
   Rechenzentrum), über dessen Leitungen Datenpakete laufen. Netz und Pakete zeichnet hero.js in .hx-net.
   Bei „Bewegung reduzieren“ steht alles still. */
.hx-bg { overflow: hidden; }
.hx-orb { position: absolute; border-radius: 50%; pointer-events: none; will-change: transform; }
.hx-orb.o1 { width: 62vmax; height: 62vmax; left: 45%; top: -30%; background: radial-gradient(circle, rgba(46, 230, 176, 0.26), transparent 62%); }
.hx-orb.o2 { width: 70vmax; height: 70vmax; left: -25%; top: 25%; background: radial-gradient(circle, rgba(12, 26, 68, 0.55), transparent 62%); }
.hx-orb.o3 { width: 48vmax; height: 48vmax; left: 60%; top: 45%; background: radial-gradient(circle, rgba(58, 160, 255, 0.36), transparent 62%); }
.js .hx-orb.o1 { animation: hx-drift1 22s ease-in-out infinite alternate; }
.js .hx-orb.o2 { animation: hx-drift2 28s ease-in-out infinite alternate; }
.js .hx-orb.o3 { animation: hx-drift3 18s ease-in-out infinite alternate; }
@keyframes hx-drift1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-18vw, 14vh) scale(1.15); } }
@keyframes hx-drift2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(22vw, -12vh) scale(0.9); } }
@keyframes hx-drift3 { from { transform: translate(0, 0) scale(0.95); } to { transform: translate(-14vw, -20vh) scale(1.2); } }
.hx-net { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hx:not(.is-visible) .hx-orb { animation-play-state: paused; }

.hx-grid { align-items: center; }
@media (min-width: 900px) { .hx-grid { grid-template-columns: 1fr 1fr; } }
.hx h1 { color: var(--white); }
.hx h1 .accent { color: var(--accent); }
.hx .hero-sub { color: #dfe6ff; }

/* Wegweiser */
.hx-pick { margin-top: 1.8rem; max-width: 32rem; padding: 1rem; border-radius: 20px; background: rgba(12, 26, 68, 0.28); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hx-pick-q { font: 600 0.82rem var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; }
.hx-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding: 0.25rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.hx-tabs::before { content: ""; position: absolute; top: 0.25rem; bottom: 0.25rem; left: 0.25rem; width: calc((100% - 1rem) / 3); border-radius: 999px; background: var(--white);
  transform: translateX(calc(var(--i, 0) * (100% + 0.25rem))); transition: transform 0.35s var(--ease, ease); }
.hx-tabs button { position: relative; z-index: 1; min-height: 42px; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--white); font: 600 0.95rem var(--font-display); transition: color 0.3s; }
.hx-tabs button[aria-selected="true"] { color: var(--blue); }
.hx-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hx-panel { display: grid; gap: 0.5rem; padding: 0.9rem 0.3rem 0.2rem; }
.hx-panel[hidden] { display: none; }
.hx-panel p { color: #eef2ff; }
.hx-panel.is-in { animation: hx-in 0.4s var(--ease, ease) both; }
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-link { justify-self: start; color: var(--accent); font: 650 1rem var(--font-display); text-decoration: none; }
.hx-link span { display: inline-block; transition: transform 0.25s; }
.hx-link:hover { color: var(--white); }
.hx-link:hover span { transform: translateX(4px); }
.hx .btn-row { margin-top: 1.8rem; }
.hx-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.hx-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, 0.1); }

/* Foto mit schwebenden Fakten */
.hx-stage { position: relative; perspective: 1200px; padding: 2.2rem 1.4rem; }
.hx-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; transform-style: preserve-3d;
  box-shadow: 0 40px 80px -30px rgba(7, 17, 46, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.25);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ps, 1)); transition: transform 0.2s ease-out; will-change: transform; }
.hx-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1227 / 929; object-position: 50% 30%; object-fit: cover; }
.hx-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.28), transparent 60%); mix-blend-mode: soft-light; }
.hx-photo figcaption { position: absolute; left: 1rem; right: 11rem; bottom: 1rem; padding: 0.5rem 0.8rem; border-radius: 12px; background: rgba(12, 26, 68, 0.6); color: #eef2ff; font-size: 0.85rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hx-chips { list-style: none; margin: 0; padding: 0; }
.hx-chip { position: absolute; display: grid; gap: 0.05rem; padding: 0.65rem 0.95rem; border-radius: 16px; background: var(--white); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(7, 17, 46, 0.55); transform: translate(var(--tx, 0px), var(--ty, 0px)); transition: transform 0.25s ease-out; }
.hx-chip b { font: 700 1rem var(--font-display); color: var(--blue); }
.hx-chip span { font-size: 0.82rem; color: var(--muted); }
.hx-chip.c1 { left: 0; top: 0.4rem; }
.hx-chip.c2 { right: -1.2rem; top: 56%; background: var(--night); }
.hx-chip.c2 b { color: var(--accent); }
.hx-chip.c2 span { color: #c9d4fb; }
.hx-chip.c3 { left: -0.4rem; bottom: 16%; }
.hx-chip.c4 { right: 1.2rem; bottom: -0.6rem; border: 2px solid var(--accent); }
.js .hx-chip { opacity: 0; animation: hx-pop 0.6s var(--ease, ease) forwards; }
.js .hx-chip.c1 { animation-delay: 0.3s; } .js .hx-chip.c2 { animation-delay: 0.45s; } .js .hx-chip.c3 { animation-delay: 0.6s; } .js .hx-chip.c4 { animation-delay: 0.75s; }
@keyframes hx-pop { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }
.js .hx-chip { animation-name: hx-pop, hx-float; animation-duration: 0.6s, 6s; animation-timing-function: var(--ease, ease), ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
@keyframes hx-float { 50% { translate: 0 -6px; } }

@media (max-width: 899px) {
  .hx { min-height: 0; padding-bottom: 2.5rem; }
  .hx-stage { padding: 1.6rem 0.4rem 2rem; }
  .hx-chip { padding: 0.45rem 0.7rem; border-radius: 12px; }
  .hx-chip b { font-size: 0.88rem; } .hx-chip span { font-size: 0.72rem; }
  .hx-chip.c3 { display: none; }
  .hx-chip.c1 { top: auto; bottom: 30%; }
  .hx-photo figcaption { display: none; }
  .hx-tabs button { font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-photo, .hx-chip, .hx-tabs::before { transition: none; }
  .hx-orb { animation: none !important; }
  .js .hx-chip { animation: none; opacity: 1; }
}
