body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f3f3;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mobile-header {
  display: none;
  background-color: #2b2b2b;
  color: white;
  padding: 0px;
  align-items: center;
  justify-content: space-between;
}

.mobile-header button {
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-logo {
  height: 80px;
  display: block;
  margin-left: auto;
  margin-right: 10px;
  padding: -40px;
  filter: brightness(1.2) contrast(1.2);
}

@media (min-width: 769px) {
  .mobile-logo {
    display: none;
  }
}



/* Sidebar */
.sidebar {
  width: 260px;
  background-color: #2b2b2b;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 10px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
}

.sidebar-header {
  text-align: center;
  padding: 20px 10px;
  background-color: #2b2b2b;
}
.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header img {
  max-width: 200px;
  height: auto;
  padding: 0;
  background: transparent;
  filter: brightness(1.2) contrast(1.2);
}


.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar nav ul li {
  padding: 12px 20px;
}

.sidebar nav ul li:hover {
  background-color: #444;
}

.sidebar nav ul li a,
.submenu-toggle {
  color: white;
  text-decoration: none;
  display: block;
  font-weight: normal;
  cursor: pointer;
}

.sidebar nav .submenu {
  display: none;
  background-color: #3b3b3b;
  padding-left: 20px;
}

.submenu-parent.open .submenu {
  display: block;
}

.main-content {
  margin-left: 260px;
  padding: 30px;
  background-color: #f9f9f9;
  flex: 1;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('sollsoft_Back_tr.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 900px; /* größere Version für Desktop */
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}



h1, h2 {
  color: #c0392b;
}

/* Responsive: mobile */
@media (max-width: 600px) {
  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
  }

  .main-content::before {
    background-size: 400px; /* kleinere Variante für mobile */
  }

  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    margin-top: 60px;
    padding: 20px;
  }
}
