/* -------------------------------------------------------------------------- */
/* GLOBALS */
/* -------------------------------------------------------------------------- */

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: #0b1120;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* -------------------------------------------------------------------------- */
/* FLOATING LOGIN BUTTON */
/* -------------------------------------------------------------------------- */

.floating-login {
  position: fixed;
  top: 22px;
  right: 25px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  padding: 0.6rem 1.3rem;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  z-index: 99999 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-login:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.7);
}

/* -------------------------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------------------------- */

nav {
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9000;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-links a:hover::after {
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* HERO HEADER */
/* -------------------------------------------------------------------------- */

.hero-header {
  position: relative;
  text-align: center;
  padding: 7rem 1rem 6rem;
  overflow: hidden;
  z-index: 1;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 20%, rgba(56,189,248,0.28), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(129,140,248,0.28), transparent 60%),
              radial-gradient(circle at 30% 80%, rgba(56,189,248,0.28), transparent 60%);
  animation: auroraMove 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes auroraMove {
  0% { transform: translate(-8%, -4%) scale(1.05); }
  50% { transform: translate(6%, 8%) scale(1.12); }
  100% { transform: translate(-5%, 5%) scale(1.08); }
}

.header-logo {
  width: 420px;
  max-width: 80vw;
  margin-bottom: 3rem;
  filter: drop-shadow(0 0 40px rgba(59, 130, 246, 1));
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.94; }
  100% { transform: scale(1); opacity: 1; }
}

/* -------------------------------------------------------------------------- */
/* SECTIONS */
/* -------------------------------------------------------------------------- */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  z-index: 1;
  position: relative;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* -------------------------------------------------------------------------- */
/* CARDS */
/* -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: #020617;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
  border: 1px solid rgba(148,163,184,0.25);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 20px 40px rgba(30,58,138,0.6);
}

.card p {
  color: #9ca3af;
}

/* -------------------------------------------------------------------------- */
/* BUTTONS */
/* -------------------------------------------------------------------------- */

.button {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(37,99,235,0.5);
}

.button-outline {
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------------------------- */

footer {
  text-align: center;
  padding: 2rem;
  background: #020617;
  border-top: 1px solid rgba(148,163,184,0.2);
  color: #9ca3af;
}

/* Status-Badges */
.status-pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-neu {
  background: rgba(59,130,246,0.25);
  color: #bfdbfe;
}

.status-bearbeitung {
  background: rgba(234,179,8,0.25);
  color: #facc15;
}

.status-fertig {
  background: rgba(16,185,129,0.25);
  color: #6ee7b7;
}

.status-abgelehnt {
  background: rgba(248,113,113,0.25);
  color: #fecaca;
}

/* Hinweisbox */
.alert-box {
  background: rgba(34,197,94,0.12);
  border: 1px solid #22c55e;
  color: #bbf7d0;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* -------------------------------------------------------------------------- */
/* AUTH BOX (Login & Registrierung) */
/* -------------------------------------------------------------------------- */

.auth-box {
  max-width: 460px;
  margin: 7rem auto;
  padding: 2.5rem;
  background: #020617;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.3);
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
  animation: fadeIn 0.6s ease-out;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.auth-box input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  border: 1px solid #4b5563;
  background: #0f172a;
  color: #e5e7eb;
  font-size: 1rem;
}

.auth-box button {
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(37,99,235,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(59,130,246,0.6);
}

.error {
  background: rgba(220,38,38,0.15);
  border: 1px solid #dc2626;
  padding: 0.8rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  color: #fca5a5;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------- */
/* MOBILE OPTIMIERUNG für Login & Registrierung */
/* -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .auth-box {
    margin: 5rem 1rem;
    padding: 2rem;
    border-radius: 16px;
  }

  .auth-box h2 {
    font-size: 1.5rem;
  }

  .auth-box input {
    padding: 0.9rem;
    font-size: 1rem;
  }

  .auth-box button {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-box {
    padding: 1.6rem;
    margin: 4rem 0.7rem;
  }

  .auth-box h2 {
    font-size: 1.35rem;
  }

  .auth-box input {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .auth-box button {
    padding: 0.85rem;
    font-size: 0.95rem;
  }
}

/* -------------------------------------------------------------------------- */
/* END OF FILE */
/* -------------------------------------------------------------------------- */
