/* 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: 800px;
  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;
}

/* Grid-Layout für Termine */
.schedule {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .schedule {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Termin-Karte */
.appointment {
  background: var(--card-bg);
  border-left: 6px solid var(--primary);
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease-out both;
}

.appointment:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.time {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 8px;
}

.title {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.desc {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Keyframe-Animationen */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
