/* ===========================
   Body & Background
   =========================== */
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-position: center;
  color: #C9F1FF;
}

/* ===========================
   Layout
   =========================== */
main {
  padding: 2rem 1rem;
}

/* ===========================
   DASHBOARD BOX – IDENTISCH
   =========================== */
.box.nutzungsbedingungen-box {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2.4rem 2.6rem;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.65) 60%,
    rgba(255,77,77,0.18) 100%
  );
  border-radius: 16px;
  border: 1px solid rgba(255,77,77,0.35);
  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);
  backdrop-filter: blur(12px) saturate(1.2);
  animation: fadeInDashboard .7s cubic-bezier(.4,0,.2,1);
  transition: transform .3s ease, box-shadow .3s ease;
}

.box.nutzungsbedingungen-box:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 8px 32px rgba(0,255,136,0.30),
    inset 0 0 0 2px rgba(201,241,255,0.20),
    inset 0 3px 36px rgba(255,77,77,0.15);
}

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

/* ===========================
   Headings
   =========================== */
.nutzungsbedingungen-box h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
  letter-spacing: .04em;
  text-shadow: 0 2px 8px rgba(255,77,77,.15);
}

.nutzungsbedingungen-box h2 {
  margin-top: 2rem;
  margin-bottom: .8rem;
  font-size: 1.3rem;
  border-bottom: 1px solid #FF4D4D;
  padding-bottom: .25rem;
}

/* ===========================
   Text
   =========================== */
.nutzungsbedingungen-box p,
.nutzungsbedingungen-box ul {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.nutzungsbedingungen-box ul {
  padding-left: 1.3rem;
}

.nutzungsbedingungen-box li {
  margin-bottom: .4rem;
}

/* ===========================
   Links
   =========================== */
.nutzungsbedingungen-box a {
  color: #C9F1FF;
  text-decoration: underline;
  transition: color .2s ease;
  word-break: break-word;
}

.nutzungsbedingungen-box a:hover,
.nutzungsbedingungen-box a:focus-visible {
  color: #00FF88;
  outline: none;
}

/* ===========================
   Emphasis
   =========================== */
.nutzungsbedingungen-box strong {
  color: #C9F1FF;
}

.nutzungsbedingungen-box em {
  color: #FF4D4D;
}

/* ===========================
   Mobile
   =========================== */
@media (max-width: 600px) {
  .box.nutzungsbedingungen-box {
    padding: 1.6rem 1.3rem;
    margin: 1rem;
  }
  .nutzungsbedingungen-box h1 {
    font-size: 1.6rem;
  }
  .nutzungsbedingungen-box h2 {
    font-size: 1.15rem;
  }
}
