/* Header: Logo links, rechter Bereich daneben */
.header {
  display: flex;
  align-items: flex-start;
  /* Logo oben ausgerichtet */
}

/* Logo fix 250x250 */
.logo img {
  width: 252px;
  height: 252px;
}

/* Rechter Bereich nimmt Restbreite */
.right-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 252px;
  background: linear-gradient(to left, lightgreen, white);
  /* zwei Zeilen: Band + Menü */
}

.top-band {
  background: linear-gradient(to left, lightgreen, grey);
  height: 30px;
  width: 100%;
  z-index: 1001;
}

/* Menü unterhalb des Balkens */
.navbar {
  display: flex;
  align-items: center;
  padding-left: 50px;
  padding-top: 10px;
}

/* Menü Desktop */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  top: 0px;
}

.menu li a {
  text-decoration: none;
  padding: 10px 10px;
  background: #eee;
  border-radius: 4px;
}

.menu li a:hover {
  background: #ccc;
}

/* Burger-Button */
.menu-toggle {
  display: none;
  /* Desktop unsichtbar */
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu>li {
  position: relative;
}

.menu>li>a {
  text-decoration: none;
  padding: 6px 10px;
  background: #eee;
  border-radius: 4px;
}

.menu>li>a:hover {
  background: #ccc;
}

/* Untermenü (Desktop: per Hover) */
.menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 5px;
  background: #f9f9f9;
  border: 1px solid #ddd;
}

.menu li:hover>ul {
  display: block;
}

.menu li ul li a {
  display: block;
  padding-top: 20px;
  padding: 6px 10px;
}

.submenu{
  width: 200px;
}

.content{
  left: 70px;
  right: 70px;
  top: 230px;
  position: absolute;
}

/* Mobile-Layout */
@media (max-width: 768px) {
  .logo img {
    width: 75px;
    height: 75px;
  }

  .right-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 75px;
    background: linear-gradient(to left, lightgreen, white);
    /* zwei Zeilen: Band + Menü */
  }

  .top-band {
    height: 25px;
    background: linear-gradient(to left, lightgreen, rgb(77, 77, 77));
/*    display: flex;
    align-items: center;
    justify-content: flex-start;  Logo links, Button daneben */
  }

  .menu-toggle {
    display: block;
    font-size: 20px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
/*    margin-left: 10px;
    margin-right: 10px;*/
    left: 5px;
    position: relative;
    z-index: 1001; /* über Menü */
  }

  .navbar {
    position: relative;
    align-items: center;
    padding-left: 50px;
    padding-top: 10px;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    /*top: 35px;    direkt unter dem grünen Balken */
    left: 0;
    width: 100%;
    background: #eee;
    z-index: 1000; /* über Content */
  }

  .menu.show {
    display: flex;
  }

  .submenu {
      z-index: 1002; /* über Menü */
      position: relative;
      left: 50px;
  }

  .content{
    left: 10px;
    right: 10px;
    top: 80px;
    position: absolute;
  }

}