body {
  margin: 0;
  font-family: 'swfFont', sans-serif;
  background-color: #EDF4F4;
}

.header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}


.header h1 {
  font-weight: bold;
  color: #d70000;
  margin-bottom: 20px;
}

.kursbild {
  max-width: 300px;
  max-height: 100px;
  margin-bottom: 1rem;
}

.list-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 1000px;
  margin: auto;
}

.person-card {
  background: white;
  border-radius: 8px;
  display: flex;
  padding: 10px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.person-card:hover {
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.person-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.person-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-info h3 {
  margin: 0;
  font-size: 1.1em;
}

.person-info p {
  margin: 3px 0 0;
  font-size: 0.9em;
  color: #333;
}

.searchbar-container {
  display: flex;
  align-items: center; /* vertikal auf gleicher Höhe */
  justify-content: center;
  margin: 20px auto 30px;
  max-width: 600px;
  gap: 8px; /* kleinerer Abstand */
}

#downloadPdf {
  background-color: #d70000;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;  /* smoother transition */
}

#downloadPdf:hover {
  background-color: #b00000;
}

#downloadPdf img {
  height: 20px; /* oder deine Wunschhöhe */
  width: auto;
  pointer-events: none; /* wichtig: verhindert dass Klick auf das Bild den Button-Klick unterbricht */
}

.searchbar {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  max-width: 400px;
  position: relative;
}

.searchbar input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 1em;
}

.searchbar img {
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.company-red-link {
  color: #E30613;
  text-decoration: none;
}

.company-red-link:hover {
  text-decoration: underline;
}


@media (min-width: 600px) {
  .list-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .list-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

