body {
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e6f0fa;
}

header {
  background-color: #ffffff;
  padding: 5px 10%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 28px;
  color: #535353;
}

header h1 a {
  text-decoration: none;
  color: #5588db;
}

#search-bar {
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: nowrap; /* verhindert Umbruch */
}

#search-bar input,
#search-bar select {
  flex: 1;
  min-width: 0; /* erlaubt Schrumpfen */
  padding: 10px;
  border: 1px solid #bcbcbc;
  border-right: none;
  font-size: 14px;
  outline: none;
}

#search-bar button {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-left: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background: #4285f4;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  white-space: nowrap;
}

#search-bar button img {
  width: 18px;
  height: 18px;
}

#search-bar button:hover {
  background-color: #357ae8;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

#search-results {
  width: 60%;
  min-width: 320px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#kunden-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

#kunden-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  justify-content: center;
}

.kunde {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px 30px 15px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
  text-align: left;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.kunde:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
}

.container-member-names h3 {
  margin: 0 0 5px;
  font-size: 18px;
  color: #333;
}

.container-member-names p {
  margin: 4px 0;
  color: #555;
  font-size: 14px;
}

.highlight {
  background-color: #ff9800;
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-block;
  font-size: 12px;
}
