body {
  font-family: sans-serif;
  margin: 0;
}

#main-layout {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-top: 1em;
}

#nav {
  min-width: 220px;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#menu li {
  margin-bottom: 0.5em;
}

#menu a {
  display: block;
  padding: 0.4em 0.8em;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

#menu a.active,
#menu a:hover {
  background: #e6eef7;
  color: #4e79a7;
  font-weight: bold;
}

#content {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 2em;
  min-height: 400px;
}

.category {
  margin-bottom: 1em;
}

button.toggle {
  display: block;
  width: 100%;
  text-align: left;
  background: #ddd;
  border: none;
  padding: 5px;
  cursor: pointer;
  font-weight: bold;
}

button.toggle.active {
  background: #bbb;
}

.content {
  display: none;
  margin-top: 5px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table, th, td {
  border: 1px solid #ccc;
  padding: 4px 6px;
  text-align: center;
}

th {
  background: #f0f0f0;
}
.probe-img {
  max-width: 150px;
  margin: 5px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.images {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}
.vergleich-btn {
  display: inline-block;
  padding: 0.8em 1.5em;
  margin: 1em 0;
  background: #4e79a7;
  color: #fff;
  font-size: 1.1em;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.vergleich-btn:hover {
  background: #37608c;
}
.vergleich-btn span {
  margin-right: 0.5em;
  font-size: 1.2em;
}


/* Responsive Header: größere Schrift und mehr Padding auf kleinen Geräten */
@media (max-width: 900px) {
  #sticky-header {
    padding: 1em 0;
  }
  #sticky-header nav {
    gap: 1em;
  }
  .nav-link {
    font-size: 1.1em;
    padding: 0.7em 1.2em;
  }
}

@media (max-width: 520px) {
  #sticky-header {
    padding: 1.2em 0;
  }
  .nav-link {
    font-size: 1.2em;
    padding: 1em 0.7em;
  }
  #main-layout {
    flex-direction: column;
    gap: 1em;
    margin-top: 0.5em;
  }
  #nav {
    min-width: 0;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.7em 0.5em;
  }
  #content {
    padding: 1em;
  }
}
