/* ===== SECTION BACKGROUND ===== */
.termine-preview {
  position: relative;
  padding: 100px 20px 80px;
  background: #edeff4;
  overflow: hidden;
}

/* obere Welle */
.termine-preview::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  clip-path: polygon(0 100%, 100% 40%, 100% 0, 0 0);
}

/* untere Welle entfernt, damit kein weiß-blauer Abstand zum Footer entsteht */
.termine-preview::after {
  display: none;
}

/* ===== CONTAINER ===== */
.termine-preview .container {
  max-width: 1200px;
  margin: auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* Titel */
.termine-preview h1 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  line-height: 1.2;
}

/* ===== GRID ===== */
.termine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== CARD ===== */
.termin-card {
  background: white;
  padding: 24px;
  border-radius: 14px;
  border-left: 5px solid #d62828;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  min-height: 160px;
}

.termin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Datum */
.termin-datum {
  font-size: 0.85rem;
  color: #d62828;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Titel */
.termin-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Status Badge */
.termin-status {
  display: inline-block;
  background: #d62828;
  color: white;
  font-size: 0.7rem;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 992px) {

  .termine-preview {
    padding: 80px 20px 60px;
  }

  .termine-preview .container {
    max-width: 900px;
  }

  .termine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

}

/* Handy: wie Datenschutz-CSS */
@media (max-width: 768px) {

  .termine-preview {
    padding: 60px 20px;
  }

  .termine-preview::before {
    display: none;
  }

  .termine-preview h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .termine-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .termin-card {
    padding: 20px;
    min-height: auto;
  }

  .termin-card:hover {
    transform: none;
  }

}

/* Sehr kleine Geräte */
@media (max-width: 380px) {

  .termine-preview {
    padding: 50px 16px;
  }

  .termin-card {
    padding: 18px;
  }

  .termin-card h3 {
    font-size: 1.05rem;
  }

  .termin-status {
    margin-left: 0;
    margin-top: 8px;
  }

}

.termine-link {
    text-align: center;
    margin-top: 30px;
}

.btn-termine {
    display: inline-block;
    padding: 12px 22px;
    background: #b30000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-termine:hover {
    background: #8f0000;
    transform: translateY(-2px);
}
