body {
      margin: 0;
      background-color: #0f0f0f;
      color: #fff;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      display: flex;
      flex-direction: column;
      height: 100vh;
    }

    /* Navbar */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      background-color: #111;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 2rem;
      z-index: 1000;
      box-sizing: border-box;
    }

    .logo img {
      height: 40px;
    }

    .nav-links a {
      color: #ffffff;
      text-decoration: none;
      margin-left: 1rem;
    }

    .nav-links a:hover {
      text-decoration: underline;
    }

    .search-icons a {
      color: #ffffff;
      margin-left: 1rem;
      font-size: 1.2rem;
    }

    /* Hero Bereich */
    .hero {
        background: url('/img/regeln/pol2.png') no-repeat center top; /* Oben zentrieren */
        background-size: cover;
        margin-top: 60px;
        height: 300px;
        text-align: center;
        padding: 1.5rem 2rem;
        flex-shrink: 0;
        box-sizing: border-box;
        user-select: none;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-position: center 44%; /* Zeigt noch etwas mehr vom oberen Bereich */

    }






    .hero h1 {
      margin: 0;
      font-size: 4rem;
      color: #ffffff;
    }

    .hero h2 {
      margin: 0.5rem 0 0 0;
      font-weight: normal;
      color: #ffffff;
      font-size: 1.2rem;
    }

    /* Hauptbereich: Sidebar + Inhalt */
    .content-wrapper {
      display: flex;
      flex: 1 1 auto;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1rem 2rem;
      gap: 2rem;
      box-sizing: border-box;
      height: calc(100vh - 60px - 120px); /* Body-Höhe minus Navbar minus Hero */
    }

    /* Sidebar: fixiert und scrollt NICHT */
    .sidebar {
      width: 280px;
      background: #1a1a1a;
      border-radius: 8px;
      padding: 1rem;
      box-sizing: border-box;
      user-select: none;
      overflow: visible;
      flex-shrink: 0;
    }

    /* Menü-Stil */
    .menu-section {
      margin-bottom: 1rem;
    }

    .menu-title {
      cursor: pointer;
      font-weight: 700;
      font-size: 1.1rem;
      padding: 8px 12px;
      border-radius: 6px;
      background-color: #222;
      color: #00aaff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
      transition: background-color 0.3s ease;
    }
    .menu-title:hover {
      background-color: #00aaff;
      color: #111;
    }

    /* Pfeil-Icon drehen wenn offen */
    .menu-title .arrow {
      transition: transform 0.3s ease;
    }
    .menu-title.active .arrow {
      transform: rotate(90deg);
    }

    .submenu {
      margin-left: 20px;
      margin-top: 8px;
      display: none;
      flex-direction: column;
    }

    .submenu a {
      display: block;
      padding: 6px 12px;
      margin-bottom: 6px;
      color: #00aaff;
      text-decoration: none;
      border-radius: 6px;
      font-weight: 500;
      font-size: 0.9rem;
      transition: background-color 0.3s ease;
    }
    .submenu a:hover {
      background-color: #00aaff;
      color: #111;
    }

    /* Sub-submenu (für Unterüberschriften) */
    .subsubmenu {
      margin-left: 15px;
      margin-top: 4px;
      display: none;
      flex-direction: column;
    }

    .subsubmenu a {
      font-size: 0.85rem;
      font-weight: 400;
      padding: 4px 12px;
      color: #66cfff;
      margin-bottom: 4px;
      border-radius: 6px;
    }

    .subsubmenu a:hover {
      background-color: #66cfff;
      color: #111;
    }

    /* Inhalt rechts */
    .rules-text {
      flex: 1 1 auto;
      background: #1a1a1a;
      border-radius: 8px;
      padding: 2rem;
      overflow-y: auto;
      box-sizing: border-box;
      color: #ccc;
      line-height: 1.6;
      scrollbar-width: thin;
      scrollbar-color: #00aaff transparent;
    }

    /* Scrollbar Styles Firefox */
    .rules-text {
      scrollbar-width: thin;
      scrollbar-color: #00aaff transparent;
    }

    /* Scrollbar Styles Webkit */
    .rules-text::-webkit-scrollbar {
      width: 8px;
    }
    .rules-text::-webkit-scrollbar-track {
      background: transparent;
    }
    .rules-text::-webkit-scrollbar-thumb {
      background-color: #00aaff;
      border-radius: 4px;
    }

    /* Überschriften im Content */
    .rules-text h2 {
      color: #00aaff;
      margin-top: 2rem;
      margin-bottom: 0.5rem;
    }

    .rules-text h3 {
      color: #44c8ff;
      margin-top: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .footer {
    background-color: #111;
    color: #ccc;
    padding: 40px 20px 20px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    margin-top: 80px;
    }

    .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    }

    .footer-about,
    .footer-links,
    .footer-contact,
    .footer-social {
    flex: 1 1 220px;
    min-width: 220px;
    }

    .footer-about h3 {
    color: #a855f7;
    margin-bottom: 15px;
    }

    .footer-about p {
    line-height: 1.6;
    color: #bbb;
    }

    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
    color: #a855f7;
    margin-bottom: 15px;
    font-weight: 600;
    }

    .footer-links ul {
    list-style: none;
    padding: 0;
    }

    .footer-links ul li {
    margin-bottom: 10px;
    }

    .footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    }

    .footer-links ul li a:hover {
    color: #a855f7;
    }

    .footer-contact p {
    margin-bottom: 10px;
    color: #ccc;
    }

    .footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    }

    .footer-contact a:hover {
    color: #a855f7;
    }

    .footer-social .social-icons a {
    color: #ccc;
    font-size: 1.8rem;
    margin-right: 15px;
    transition: color 0.3s ease;
    }

    .footer-social .social-icons a:hover {
    color: #a855f7;
    }

    .footer-bottom {
    border-top: 1px solid #222;
    padding-top: 15px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    }

    .footer-bottom a {
    color: #a855f7;
    text-decoration: none;
    margin: 0 8px;
    }

    .footer-bottom a:hover {
    text-decoration: underline;
    }

    /* Smooth scroll für Anker */
    html {
      scroll-behavior: smooth;
    }