#termine-container {
  border: 1px solid #c9c9c9;
  background-color: #fcfcfc;
  padding: 3px;
}

/* Zeilen wie Tabelle auf Desktop */
.termine-row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
  text-align: left; /* linksbündig */
  align-items: flex-start; /* Inhalte oben ausrichten */
}

.termine-row:last-child {
  border-bottom: none;
}

/* Spalten */
.termine-col {
  flex: 1;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* oben */
}

/* Überschriften bleiben mittig oder optional oben */
.termine-header {
  display: none; /* nur Desktop */
  font-weight: bold;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* Desktop Header sichtbar ab md */
@media (min-width: 768px) {
  .termine-header {
    display: flex;
    align-items: flex-start; /* Header-Items auch oben */
  }
}

/* Mobil: Karten untereinander */
@media (max-width: 767px) {
 #termine-container {
		border: none;
		background-color: #fff;
		padding: 0;
  }

	.termine-row:last-child {
	  border-bottom: 1px solid #ddd;
	}

  .termine-row {
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    align-items: flex-start; /* oben */
  }
  .termine-col {
    padding: 4px 0;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
}

/* Beschreibung kursiv */
.termine-description {
  font-style: italic;
}