/* Startseite: Logo mit Schloss, Login / Bewerben */
body.landing { display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), transparent 70%);
}
.hero { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.25rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-top: 1.25rem; background: linear-gradient(90deg, #e5e9f2, #bfdbfe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tagline { color: var(--muted); margin: .25rem 0 2rem; font-size: 1.05rem; }
.cta { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.landing-footer { justify-content: center; position: relative; z-index: 1; }

/* ---------- Schloss-Animation ----------
   Absichtlich NICHT an prefers-reduced-motion gekoppelt: auf Servern/RDP ist "Animationen anzeigen" oft
   systemweit aus, dann wäre das Logo statisch. Die Bewegung ist dezent (schweben, Bügel hebt sich, Glühen). */
.logo-lock {
  position: relative;
  width: 150px; height: 175px;
  animation: lock-float 4s ease-in-out infinite;
  will-change: transform;
}
.logo-lock::before {                         /* pulsierender Lichthof hinter dem Schloss */
  content: ''; position: absolute; inset: 10% 0 0 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.55), rgba(59,130,246,.15) 55%, transparent 72%);
  filter: blur(14px); z-index: -1;
  animation: lock-glow 3s ease-in-out infinite;
}
.lock-svg { display: block; width: 150px; height: 175px; overflow: visible; }
.lock-svg .shackle {
  transform-box: view-box;
  transform-origin: 60px 62px;
  animation: lock-shackle 5s ease-in-out infinite;
}
.lock-svg .body { animation: lock-body 3s ease-in-out infinite; }
.lock-svg .scan rect { animation: lock-scan 3s linear infinite; }

@keyframes lock-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lock-glow    { 0%, 100% { opacity: .55; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes lock-shackle { 0%, 62%, 100% { transform: translateY(0) rotate(0); }
                          70% { transform: translateY(-14px) rotate(-6deg); }
                          78% { transform: translateY(-14px) rotate(-6deg); }
                          88% { transform: translateY(0) rotate(0); } }
@keyframes lock-body    { 0%, 100% { opacity: 1; } 50% { opacity: .85; } }
@keyframes lock-scan    { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: .9; } 90% { opacity: .5; } 100% { transform: translateY(66px); opacity: 0; } }
