/* Farbvariablen */
:root {
  --primary: #005f99;
  --secondary: black;
  --bg: #ffffff;
  --card-bg: #f9f9f9;
  --text: #333333;
  --muted: #555555;
}
[hidden] {
  display: none !important;
}

.bodycontainer {
  font-family: "Segoe UI", Tahoma, sans-serif;
  /* background: var(--bg); */
  color: var(--text);
  animation: fadeIn 0.8s ease-out both;
  box-sizing: border-box;
  max-width: 1200px;
  margin: auto;
  padding: 0 1em 3em;
}

.heading {
  text-align: center;
  font-size: 1.2em;
  color: var(--primary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out both;
}

/* Kartendesign für Personen */
.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .people {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .people {
    grid-template-columns: repeat(3, 1fr);
  }
}

.person {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: fadeInUp 0.8s ease-out both;
}
.person:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e9f3fb, #ffffff);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}
.avatar img {
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-details {
  flex: 1;
  min-width: 0;
}
.role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}
.name {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.meta {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Actions */
.actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: center;
  flex-wrap: wrap-reverse;
}
.phone-text {
  font-size: 0.95rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(0, 95, 153, 0.06);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--primary);
  background: transparent;
  /* border: 1px solid rgba(0, 0, 0, 0.04); */
}
.btn--call {
  color: #005f99;
  border-color: rgba(0, 95, 153, 0.12);
}
.btn--wa {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.08);
}
.btn--email {
  color: #666666;
  border-color: rgba(37, 211, 102, 0.08);
}
.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kleine Helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
