

@media screen and (min-width: 320px) and (max-width: 1020px){
  
  #banner {
    width: 98%;
    margin-right: auto;
    margin-left: auto;
  }

  #inhalt {
    padding-left: 20px;
    padding-right: 20px;
  }
  #inhalt .text-inhalt {
    padding-right: 0;
  }
  
  #start a p {
  
  font-size: 1rem;
}
  .start-ganz {
    display: block;
  }
  
  .start-1 {
    width: 100%;
  }
  
  .start-klein img {
   max-width: 40%;
  height: auto;
}
 
  #breadcrumb {
    padding-left: 20px;
  }
  
  #footer-innen {
  width: 100%;
}
  
  #footer-menu {
    padding-top: 20px;
  }
  #footer-menu ul {
    padding-left: 0;
  }
  
  #footer-menu li.item-132 a {
    padding-left: 0;
  }
}
  
  @media screen and (min-width: 320px) and (max-width: 890px){
    
    #slogan-logo {
      width: 50%;
    }
    
    
    #slogan {
      float: none;
       margin-top: 5px;
      margin-left: 70px;
    }
    
    #logo {
      float: none;
    }
    
    #kontakt-daten {
      margin-top: 55px;
    }
    
    #navigation {
      display: none;
    }
    
    #navi-mobil {
      display: block;
    }
    
    
 /* mobiles menu 2 */

    .toppi {
     
      background: rgb(126,25,117);

    }

input#off-canvas-menu {
  display: none;
}


label.off-canvas-menu-label {
  width: 40px;
  height: 40px;
  position: relative;
  display: block;
  margin-right: auto;
  margin-left: auto;
overflow: hidden;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 3000;
  text-align: center;
  
}


/* hamburger icon */

.line { 
  position: absolute;
   top: 8px;
   height: 4px; 
   width: 40px; 
   background: white; 
  border-radius: 2px;
   display: block; 
   transition: 0.5s; 
   transform-origin: center; 
}

.line:nth-child(1) { top: 8px; }
.line:nth-child(2) { top: 18px; }
.line:nth-child(3) { top: 28px; }

#off-canvas-menu:checked ~ label.off-canvas-menu-label .line:nth-child(1){
   transform: translateY(10px) rotate(-45deg);
}

#off-canvas-menu:checked ~ label.off-canvas-menu-label .line:nth-child(2){
   opacity:0;
}

#off-canvas-menu:checked ~ label.off-canvas-menu-label .line:nth-child(3){
   transform: translateY(-10px) rotate(45deg);
}
/* ende hamburger icon */



label.off-canvas-menu-label i {
 line-height: 40px;
  font-size: 24px;
  color: white;
  transition: 0.3s;
}


input#off-canvas-menu[type=checkbox]:checked ~ label.off-canvas-menu-label i {
  transform: rotate(90deg);
}

input#off-canvas-menu[type=checkbox]:checked ~ nav.off-canvas-menu {
 max-height: 1500px;
}



nav li,
label.off-canvas-menu-label {
  transition: 0.2s;
}



.off-canvas-menu {
  position: relative;

 
  font-size: 1rem;
 max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  z-index: 2;
}

.off-canvas-menu input[type=checkbox] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
	display: block;
  cursor: pointer;
}

.off-canvas-menu ul {
  margin: 0;
  padding: 0;
}



.off-canvas-menu a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  border-top: 1px solid white;
}
    
   .off-canvas-menu li a:hover,
     .off-canvas-menu li a:focus,
     .off-canvas-menu li.sub:hover,
   /* .off-canvas-menu li.sub input,*/
    .off-canvas-menu li.sub a:hover,
     .off-canvas-menu li.active a {
    
       text-decoration: none;
    }
    


.off-canvas-menu li {
  position: relative;
  float: left;
  width: 100%;
  list-style: none;
  color: white;
  transition: 0.5s;
 
}

.off-canvas-menu > ul > li:last-child {
  border-bottom: 1px solid white;
}

.off-canvas-menu ul li:first-child {
  border-top: none;
}

.off-canvas-menu ul > li.sub > a:after {
  /*position: relative;*/
  float: right;
  content: '+';
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
 /* vertical-align: middle;*/
  transition: 0.5s;
  line-height: 1;
}

.off-canvas-menu .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  border-top: none;
}

.off-canvas-menu input[type=checkbox]:checked ~ .submenu {
  border-bottom: 1px solid white;
  max-height: 1500px;
}

.off-canvas-menu input[type=checkbox]:checked ~ a:after {
  transform: rotate(45deg);
}

.off-canvas-menu .submenu li {
  background: rgb(216,186,214);
 
}

.off-canvas-menu .submenu li a {
  padding: 15px 20px 15px 40px;
  color: rgb(126,25,117);
  background: rgb(216,186,214);
}
    
    .off-canvas-menu .submenu li.active a,
    .off-canvas-menu .submenu a:hover {
      background: rgb(219,158,199);
    }

/*.off-canvas-menu .submenu li li a {
  padding-left: 40px;
}

.off-canvas-menu .submenu li li li a {
  padding-left: 40px;
}

.off-canvas-menu .submenu li.sub {
  list-style: none;
}*/

  
}

 
    
    @media screen and (min-width: 320px) and (max-width: 630px){
      
      #kontakt-daten {
        width: 40%;
        margin-top: 34px;
      }
      
      #logo {
        margin-left: 20px;
        width: 200px;
      }
      
      #slogan {
        margin-left: 27px;
      }
      
      
      /* content */
      
      #content {
        font-size: 1rem;
      }
      
      #inhalt .bild-inhalt,
      #inhalt .text-inhalt,
      #inhalt .facebook {
            width: 100%;
        padding-right: 0px;
      }
      
      #inhalt .text-inhalt {
        padding-left: 0;
      }
      
        
        .start-1 {
          display: block;
        }
         .start-klein {
           width: 100%;
             height: auto;
  
      }

}
      
      @media screen and (min-width: 320px) and (max-width: 500px){
        
        #slogan-logo {
          width: 50%
        }
         
        #logo {
          width: 130px;
          margin-left: 10px;
        }
        
        #slogan {
          font-size: 0.8rem;
          margin-left: 13px;
        }
        
        #kontakt-daten {
          font-size: 0.6rem;
          width: 45%;
          margin-top: 12px;
        }
     
    
  }
 





