
/* Media Query für mobile Geräte */
@media (max-width: 350px) {
  .need-space {
     display: none;
  }
}
@media (max-width: 768px) {
  #container {
    margin-top: 55px;
	width: 100%;
  }
  div.menu-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    /* border-bottom: 1px solid #ccc; */
    z-index: 20;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
	box-sizing: border-box; /* Padding wird in die Breite einbezogen */
  }
  img.menu-bar {
	  height: 56px;
	  width: 267px;
  }
  #schriftzug {
    display: none;
  }
  #titelbild {
    width: 75px;
    height: 100%;
    position: fixed;
    left: 7;
    top: 65;
    z-index: 10;
    margin: 0;
	background-image: url('bilder-2025/titelbild.jpg');
    background-repeat: repeat-y; /* Wiederholt das Bild */
	background-size: 75px auto; /* Originalgröße des Bildes */
  }
  #titelbild img {
    width: 75px;
    height: auto;
  }
  #inhalt {
    width: calc(100% - 90px);
    margin-left: 90px;
  }
  #inhalt {
	font-size: 14px;
  }
  #inhalt h1 {
	font-size: 16px;
  }  
  .burger-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
	margin-left: auto;
	margin-right: 5px;
  }
  .burger-icon svg path {
    transition: transform 0.3s ease, opacity 0.3s ease;
	fill: #666;
  }
  .burger-icon.open svg path:nth-child(1) {
    transform: rotate(45deg) translate(5px, -5px);
  }
  .burger-icon.open svg path:nth-child(2) {
    opacity: 0;
  }
  .burger-icon.open svg path:nth-child(3) {
    transform: rotate(-45deg) translate(-20px, -5px);
  }
  #navi {
    position: fixed;
    top: 70px;
    right: -100%;
    //width: 75%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 30;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 0px 20px;
    text-align: left;
  }
  #navi.open {
    right: 0;
  }
  #navi a {
	font-size: 14px;
    display: block;
	padding-bottom: 5px;
  }
  #navi br {
	display: none; // Wegen display:block in #navi a
  }
  .dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 25;
    display: none;
  }
  .dark-overlay.active {
    display: block;
  }
  body.no-scroll {
    overflow: hidden;
  }
  img.halb {
	  width: calc((100vw - 105px)/2);
	  height: auto;
	  margin: 5px 2px;
	  border: 1px solid #666;
  }
  img.drittel {
	  width: calc((100vw - 105px)/3);
	  height: auto;
	  margin: 5px 2px;
	  border: 1px solid #666;
  }
  img.ganz {
	  width: calc(100vw - 95px);
	  height: auto;
	  margin: 0px 2px;
	  border: 1px solid #666;
  }
}

/* Desktop: .menu-bar verstecken */
@media (min-width: 769px) {
  .menu-bar {
    display: none;
  }
  #titelbild {
    width: 150px;
    height: 100%;
    background-image: url('Hauptseite-Dateien/titelbild.jpg');
    background-repeat: repeat-y; /* Wiederholt das Bild */
	background-size: 150px auto; /* Originalgröße des Bildes */
  }
  img.drittel {
	  width: 160;
	  height: auto;
	  margin: 5px 2px;
	  border: 1px solid #666;
  }
  img.halb {
	  width: 250;
	  height: auto;
	  margin: 5px 2px;
	  border: 1px solid #666;
  }
  img.ganz {
	  width: 500;
	  height: auto;
	  margin: 0px 2px;
	  border: 1px solid #666;
  }
}
