/* === Allgemeines === */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  color: #eee;
  overflow-x: hidden;
}

/* === Header === */
.site-header {
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.25), rgba(0, 0, 0, 0.9));
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.3);
}

.server-logo {
  height: 100px;
  filter: drop-shadow(0 0 20px orange);
}

#site-title {
  color: #ffae42;
  font-size: 2.5rem;
  margin-top: 15px;
  text-shadow: 0 0 25px rgba(255, 140, 0, 0.6);
}

.header-subtitle {
  color: #bbb;
  font-size: 1.1rem;
}

/* === Layout === */
.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  gap: 30px;
  padding: 0 20px;
}

/* === Seitenleiste / Inhaltsverzeichnis === */
.toc {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid rgba(255, 140, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 120px;
}

/* Home-Button im TOC (kompakt & elegant) */
.toc .btn-home {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;

  background: rgba(255, 140, 0, 0.15);
  color: #ffb347;
  border: 1px solid rgba(255, 140, 0, 0.35);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.25);
  backdrop-filter: blur(4px);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.toc .btn-home:hover {
  background: orange;
  color: #111;
  box-shadow: 0 0 22px orange;
  transform: translateY(-1px);
}

/* Inhaltsverzeichnis */
.toc-title {
  color: orange;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.toc a {
  display: block;
  color: #ffb347;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}
.toc a:hover {
  color: orange;
  transform: translateX(5px);
  text-shadow: 0 0 10px orange;
}

.content {
  flex: 3 1 700px;
}

/* === Kategorien === */
.category {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 140, 0, 0.3);
  border-radius: 12px;
  margin-bottom: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.05);
}

/* Header mit Glow-Effekt */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  color: #ffb347;
  background: rgba(255, 140, 0, 0.1);
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s;
  border-bottom: 1px solid rgba(255, 140, 0, 0.3);
}
.category-header:hover {
  background: rgba(255, 140, 0, 0.25);
  text-shadow: 0 0 12px orange;
}
.arrow {
  transition: transform 0.3s ease;
}
.category:not(.collapsed) .arrow {
  transform: rotate(90deg);
}

/* === Einklappbare Inhalte === */
.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0 22px;
}
.category:not(.collapsed) .category-content {
  padding: 15px 22px 25px;
  max-height: 2000px;
}

/* === Regel-Elemente === */
.rule {
  border-left: 3px solid orange;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 15px;
  border-radius: 8px;
  margin: 10px 0;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.1);
  transition: all 0.3s ease;
}

.rule:hover {
  background: rgba(255, 140, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
}

.rule-title {
  color: #ffa94d;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.rule-text {
  line-height: 1.6;
  color: #ddd;
}

.rule-punishment {
  color: #ff9966;
  margin-top: 6px;
  font-size: 0.95rem;
}

/* === Regelnummern (1., 2., 3. usw.) ausblenden === */
.rules {
  list-style: none;       /* entfernt die Nummerierung */
  padding-left: 0;        /* gleicht Einrückung an */
  margin: 0;
}

.rules li::marker {
  display: none;          /* versteckt Marker vollständig */
}


/* === Scrollbar Neon Style === */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, orange, #ff6600);
  border-radius: 10px;
  box-shadow: 0 0 10px orange;
}
::-webkit-scrollbar-track {
  background: #111;
}

/* === Footer === */
.site-footer {
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 140, 0, 0.3);
  margin-top: 50px;
  box-shadow: 0 -10px 30px rgba(255, 140, 0, 0.05);
}

/* === Responsive Design === */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .toc {
    position: relative;
    top: 0;
    width: 100%;
  }

  .toc .btn-home {
    margin-bottom: 10px;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .site-header {
    padding: 80px 15px 50px;
  }
}