/* ===========================
   Body & Hintergrund
   =========================== */
body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('boxen/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  color: #C9F1FF; /* Eisblau */
}

/* ===========================
   Impressum-Box (Neon-Glas-Design)
   =========================== */
.impressum-box {
  max-width: 900px; /* wie bei Teamliste */
  margin: 2rem auto;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.65) 60%, rgba(255, 77, 77, 0.18) 100%);
  border-radius: 14px;
  box-shadow:
    0 4px 24px rgba(0, 255, 136, 0.18),
    inset 0 0 0 1.5px rgba(201, 241, 255, 0.12),
    inset 0 1.5px 24px rgba(255, 77, 77, 0.10);
  color: #C9F1FF; /* Eisblau */
  line-height: 1.6;
  border: 1px solid rgba(255, 77, 77, 0.3);
  backdrop-filter: blur(12px) saturate(1.2);
  user-select: none;
  animation: fadeInRegister 0.7s cubic-bezier(.4,0,.2,1);
}

/* Überschriften */
.impressum-box h1,
.impressum-box h2 {
  color: #C9F1FF; /* Eisblau */
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.impressum-box h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.impressum-box h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid #FF4D4D; /* Weihnachtsrot */
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* Text und Listen */
.impressum-box p,
.impressum-box ul {
  margin-bottom: 1rem;
  color: #C9F1FF; /* Eisblau */
}

.impressum-box ul {
  padding-left: 1.2rem;
}

.impressum-box li {
  margin-bottom: 0.5rem;
}

/* Links */
.impressum-box a {
  color: #C9F1FF; /* Eisblau */
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-word;
}

.impressum-box a:hover,
.impressum-box a:focus-visible {
  color: #fff;
  outline: none;
}

/* Hervorhebungen */
.impressum-box strong {
  color: #C9F1FF; /* Eisblau */
}

.impressum-box em {
  color: #FF4D4D; /* Weihnachtsrot */
}

/* ===========================
   Animation
   =========================== */
@keyframes fadeInRegister {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 600px) {
  .impressum-box {
    padding: 1rem 1rem;
    margin: 1rem;
    font-size: 0.98rem;
  }
  .impressum-box h1 {
    font-size: 1.6rem;
  }
  .impressum-box h2 {
    font-size: 1.2rem;
  }
}