.date-separator:not(:last-child) {
  width: 100%;
  height: 3px;
  background-color: var(--color-secondary);
  margin: 6rem 0;
}

.event-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}

.event-item {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 3);
  max-width: calc((100% - 60px) / 3);
  box-sizing: border-box;
  aspect-ratio: 482 / 644;
  padding: 2.5rem;
  overflow: visible;
  text-decoration: none !important;
}

.event-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='482' height='644' viewBox='0 0 482 644' fill='none'><path d='M18.5 0L4.5 75L6.5 320.5L0 607.5L79.5 643.5L319.5 637.5L468 613L482 560.5L476 429.5L482 75L454 8.5L338 0L192 8.5L18.5 0Z' fill='%23FCF0EB'/></svg>");

  background-repeat: no-repeat;
  background-size: 100% auto;

  z-index: 0;
}

.event-item.highlight::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='482' height='644' viewBox='0 0 482 644' fill='none'><path d='M18.5 0L4.5 75L6.5 320.5L0 607.5L79.5 643.5L319.5 637.5L468 613L482 560.5L476 429.5L482 75L454 8.5L338 0L192 8.5L18.5 0Z' fill='%23EA593D'/></svg>");
}

.event-item .event-content {
  position: relative;
  z-index: 2;
}

.event-item figure {
  width: 100%;
  margin: 1.5rem auto 0;
}

.event-item figure img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.event-content h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.event-item.highlight .event-content h3 {
  color: var(--color-white);
}

.event-content a {
  text-decoration: none !important;
}

.event-month__line {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 3rem;
}

.event-month__line::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background-color: var(--color-secondary);
}

.calendar-month {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 1;
}

.calendar-month h3 {
  position: relative;
  z-index: 2;
  color: #ea593d;
  margin: 0;
}

.calendar-month svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(15%);
  width: 150%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  display: none;
}

.calendar-month.active svg {
  display: inline-block;
}

.calendar-month.active h3 {
  color: #fff !important;
}

.calendar-month.active {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='290' height='58' viewBox='0 0 190 58' fill='none'%3E%3Cpath d='M0 58L6.76375 6.97468H12.2977L170.939 0L190 58H0Z' fill='%23EA593D'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 130% auto;
  background-position: center center;
  position: relative;
  z-index: 2;
  color: #fff !important;
  padding: 4px 64px !important;
  width: auto;
}
.event-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 1rem 2.5rem;
  text-decoration: none;
  color: var(--color-white);
}

.event-btn__label {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.event-btn__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.event-btn__bg path {
  fill: #ea593d;
}

.event-item.highlight .event-btn__bg path {
  fill: #fff !important;
}

.event-item.highlight .event-btn__label {
  color: var(--color-secondary) !important;
}

@media (max-width: 1400px) {
  .event-item figure img {
    width: 100%;
    max-height: auto;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 1200px) {
  .event-item {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
}

@media (max-width: 786px) {
  .event-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.single_event {
  background-color: #fcf7f4 !important;
  padding: 5rem 0;
}

.email-box {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 2rem 0;
  text-decoration: none !important;
}

.email-box p,
.email-box span {
  display: block;
  position: relative;
  z-index: 2;
}

.email-highlight {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 240%;
  height: auto;
}

.single_event__next {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.next-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 140%;
  height: 100%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

.next-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-items,
.single_event__next h3 {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.single_event__next a {
  text-decoration: none !important;
}

.calendar-month {
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.event_highlight_selection {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 10px 28px;
  border: none;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='53' viewBox='0 0 190 53' fill='none'%3E%3Cpath d='M190 25.5093L181.136 53L4.77272 48L0 29L4.77272 5.94392L39.0909 0L181.136 5.94392L190 25.5093Z' fill='%23FCF0EB'/%3E%3C/svg%3E");

  color: #ea593d;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.filter-btn.active {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='53' viewBox='0 0 190 53' fill='none'%3E%3Cpath d='M190 25.5093L181.136 53L4.77272 48L0 29L4.77272 5.94392L39.0909 0L181.136 5.94392L190 25.5093Z' fill='%23EA593D'/%3E%3C/svg%3E");
  color: #fff;
}

@media (max-width: 767px) {
  .next-bg {
    width: 220%;
    height: 160%;
    top: -40px;
  }

  .single_event__next .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .next-items {
    row-gap: 0;
  }

  .next-items,
  .single_event__next h3 {
    justify-content: start;
    margin-bottom: 0 !important;
  }
}

/* Folgetermine */
.followups__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.followups__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ea593d;
  background: transparent;
  color: #ea593d;
  cursor: pointer;
  font-weight: bold;
}

.followups__grid {
  margin-top: 4rem;
}

.followups__grid,
.followups__accordion-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.followups__accordion-inner {
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .followups__grid,
  .followups__accordion-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.followups__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 80px;
  width: 100%;
  max-width: 260px;
  padding: 20px;
  z-index: 1;
  transition: all 0.2s ease;
}

.followups__item span {
  position: relative;
  z-index: 2;
  color: var(--color-secondary);
  transition: color 0.2s ease;
}

.followups__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 184'><path d='M19.0094 0L0 19.8349V157.413L44.1767 175.56L178.581 184L291.834 166.275L391.7 167.119L400 46.422L375.904 8.44037H338.153L256.225 4.22018L178.581 8.44037H69.344L19.0094 0Z' fill='white'/></svg>");
  transition: all 0.2s ease;
}

.followups__item:hover span {
  color: white !important;
}

.followups__item:hover::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 184'><path d='M19.0094 0L0 19.8349V157.413L44.1767 175.56L178.581 184L291.834 166.275L391.7 167.119L400 46.422L375.904 8.44037H338.153L256.225 4.22018L178.581 8.44037H69.344L19.0094 0Z' fill='%23EA593D'/></svg>");
}

.followups__accordion {
  overflow: hidden;
  margin-top: 20px;
  transition: max-height 0.3s ease-out;
}
