@media (max-width:1000px) {
    h1{
      font-size: 2.3rem!important;
    }
    #background{
        top: 0;
        height: 300vh;
    }
    #TTV_Logo{
        left: 15vw !important;
        width: 60vw;
    }
    #preamble{
        width: 90vw !important;
        padding: 5vw !important;
    }
    #bigSearch-wrapper{
        width: 90vw !important;
    }
    #labelwrapper{
        width: 100vw !important;
    }
    .all-Entries-Banner img{
        width: unset !important;
    }
    #labelwrapper .label{
        text-align: center !important;
    }
      #labelwrapper > div:nth-of-type(2) span{
      left: 10%;
    }
    .footer-logos{
        background: #00294c !important;
    }
    .big_menu{
      display:none;
    }
       .burger {
      width: 30px;
      height: 24px;
      position: fixed;
      top: 16px;
      right: 16px;
      cursor: pointer;
      display: inline-block;
      z-index: 1001;
    }
    .burger span {
      background: #333;
      position: absolute;
      height: 3px;
      width: 100%;
      left: 0;
      transition: all 0.3s ease;
      border-radius: 2px;
    }
    .burger span:nth-child(1) {
      top: 0;
    }
    .burger span:nth-child(2) {
      top: 50%;
      transform: translateY(-50%);
    }
    .burger span:nth-child(3) {
      bottom: 0;
    }
    .burger.active span:nth-child(1) {
      transform: rotate(45deg);
      top: 50%;
    }
    .burger.active span:nth-child(2) {
      opacity: 0;
    }
    .burger.active span:nth-child(3) {
      transform: rotate(-45deg);
      bottom: 40%;
    }

    /* Menü fährt von rechts nach links ein */
    nav.menu {
      position: fixed;
      top: 0; right: 0;
      width: 100vw;
      height: 100vh;
      background: #f4f4f4;
      padding-top: 60px;
      box-shadow: -2px 0 5px rgba(0,0,0,0.1);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      overflow-y: auto;
      z-index: 1000;
      display: block;
    }
    nav.menu.active {
      transform: translateX(0);
    }

    nav.menu ul {
      list-style: none;
    }
    nav.menu ul li {
      padding: 12px 24px;
      border-bottom: 1px solid #ddd;
      cursor: pointer;
    }
    nav.menu ul li:hover {
      background: #ddd;
    }

    /* Untermenü */
    nav.menu ul li.has-sub > ul {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    nav.menu ul li.has-sub.open > ul {
      max-height: 500px;
    }
    nav.menu ul li.has-sub > ul li {
      padding-left: 32px;
      background: #eee;
      border-bottom: none;
    }

    nav.menu ul li.has-sub > span.arrow {
      margin-right: 12px;
      user-select: none;
      transition: transform 0.3s ease;
      display: inline-block;
      flex-shrink: 0;
      transform-origin: center;
      /* Unicode Pfeil links */
      font-weight: bold;
      font-size: 18px;
    }
    nav.menu ul li.has-sub > span.arrow::before {
      content: "◀";
      display: inline-block;
    }
    nav.menu ul li.has-sub.open > span.arrow {
      transform: rotate(90deg); /* zeigt dann nach unten */
    }

    /*  Filter Bereich */

    #filter{
      display:none !important;
    }


    #filter-toggle {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 24px;
      display: none;
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 100;
    }

    #filter-icon {
      display:block !important;
      transition: transform 0.5s ease;
      color:black;
      font-size: 2.2rem
    }

    #filter-icon.rotated {
      transform: rotate(180deg);
    }

    #filter-options {

      margin-top: 10px;
      background-color: #f0f0f0;
      padding: 10px;
      border-radius: 6px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      width: 100vw;
      height: 100vh;
      position: fixed;
      top:-10px;
      left: 0;
      z-index: 50;
      text-align: center;
    }

    #filter-options > div{
      display: flex;
      align-items: center;
    }
    #mobile_time > div, #mobile_extaoption > div{
      display: flex;
      justify-content: space-between;
    }
    #mobile_time > div input{
      width: 100px !important;
    }

    #filter-options h2{
      display: inline-block;
      width: 200px;
      font-size: 1rem;
      text-align: left;
    }
    #filter-options input:not([type="checkbox"]){
      height: 2rem;
      justify-content: center;
      width: 200px;
    }
    #court-wrapper{
      display: inline-block !important;
    }

    .hidden {
      display: none;
    }
    #mobile_states, #mobile_kategorie{
      display: block !important;
      text-align: left !important;
    }
    .glow {
      margin-top: 80px !important;
    }

    #search-results{
      width: 100% !important
    }
    .pdf_wrapper{
      left: 70%
    }
    .res_pdf_url{
      left: 50vw;
      position: absolute;
    }
    #mobile_states_container {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
      gap: 1rem;
      align-items: start;
      margin-bottom: 1rem;
}
  #FAQ{
    padding-top: 0 !important;
  }

  #content{
    width: 90% !important;
    padding-left: 5% !important;
    padding-right: 5%!important;
  }

  #mobile_result_count{
    display:block !important;
  }
  #ergebnisse{
    min-height: 200vh !important;
  }

  #mobile_single_pdf{
    position: absolute !important;
    top: 15px !important;
    left: -35vw !important;
  }
}
@media (min-width:1000px) and (max-width:1300px){
  .big_menu > div{
    width: 100px;
  }

  #labelwrapper{
    width: 63vw !important;
  }
  #labelwrapper img{
    height: unset;
    width: 20vw !important;
  }
  #labelwrapper span{
    font-size: 1.2rem;
    line-height: 1.4rem;
  }
  #labelwrapper > div:nth-of-type(2) span{
    left: 15%;
  }

  #TTV_Logo{
    left: 32vw !important;
    width: 35%;
  }
  .footer-logos{
    background: #00294c;
  }
  #modifier div{
    font-size: 1rem !important;
  }
  #modifier i{
    font-size: 1.2rem !important;
  }
  #filter label{
    font-size: 0.7rem !important;
  }
  #search-results .pdf_wrapper{
    left: 50% !important;
  }
}