/* Hauptcontainer - vertikale Karte */
.employeeCard {
  width: 100%;
  max-width: 370px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 495px;
}

.employeeCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Bildcontainer - obere Hälfte */
.imageContainer {
  position: relative;
  width: 100%;
  height: 245px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.employeeImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Details-Container - untere Hälfte */
.employeeDetails {
  padding: 25px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Name - groß und fett */
.employeeName {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #2a2f43;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

/* Position - fett, aber kleiner */
.employeePosition {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: #2a2f43;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* Webtext - normal, unter der Position */
.employeeWebtext {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-style: normal;
}

/* Wissen/Erfahrung - normal, kursiv */
.employeeKnowledge {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin: 0 0 20px 0;
  line-height: 1.4;
  font-style: normal;
}

/* Kontaktinformationen - spezifisch für Employee Cards */
.employeeCard .contactInfo {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  padding: 0 !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  margin-top: auto !important;
}

.contactItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.contactIcon {
  color: #E30A1D;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.contactLink {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: top;
  transition: color 0.2s ease;
}

.contactLink:hover {
  color: #E30A1D;
  text-decoration: underline;
}

.contactText {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .employeeCard {
    width: 100%;
    max-width: 320px;
    height: 450px;
    margin: 0;
  }
  
  .imageContainer {
    height: 200px;
  }
  
  .employeeDetails {
    padding: 20px;
    height: 220px;
  }
  
  .employeeName {
    font-size: 18px;
  }
  
  .employeePosition {
    font-size: 15px;
  }
  
  .employeeWebtext {
    font-size: 13px;
  }
  
  .employeeKnowledge {
    font-size: 13px;
  }
  
  .employeeCard .contactInfo {
    gap: 10px !important;
  }
  
  .contactItem {
    gap: 10px;
  }
  
  .contactLink,
  .contactText {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .employeeCard {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin: 0 auto;
  }
  
  .imageContainer {
    height: 180px;
  }
  
  .employeeDetails {
    padding: 15px;
    height: auto;
  }
  
  .employeeCard .contactInfo {
    gap: 10px !important;
  }
  
  .contactItem {
    gap: 10px;
  }
}


