body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #cfefe8;
}

header {
  background-color: #1d5b6e;
  color: white;
  padding: 20px;
  text-align: center;
}

#team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 220px;
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid #a0d4c8;
}

.card h2 {
  margin: 0;
  padding: 10px 0;
  color: white;
  background-color: #1d5b6e;
  transition: background-color 0.3s;
}

button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease-in-out;
}

button:active {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(3px);
}

button:hover {
  filter: brightness(1.1);
}

button.notruf {
  background-color: #eb5757;
  color: white;
}

.notruf-active {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 87, 87, 0.9);
  color: white;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from { opacity: 1; }
  to { opacity: 0.6; }
}
