/* ===== Konzerttermine Styles ===== */


/* TERMINBOXEN */
.event-box {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 16px;
  margin: 0 auto 20px auto;
  border: 1px solid #ff6b00;
  border-radius: 6px;
  width: 700px;
  background: transparent;
  box-sizing: border-box;
  gap: 12px;
}

.event-box.past-event {
  opacity: 0.6;
}

.event-date {
  font-family: Arial, sans-serif;
  text-align: center;
  color: #fff;
  background-color: #ff6b00;
  width: 100px;
  padding: 14px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.event-date .day {
  font-size: 2.52em;
  font-weight: bold;
  line-height: 1.1;
}
.event-date .monthyear {
  font-size: 1.4em;
  font-weight: bold;
  margin-top: 6px;
}
.event-date .year {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 4px;
}
.event-date .time {
  font-size: 1.2em;
  margin-top: 6px;
}

.event-details {
  flex: 1;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  overflow-wrap: break-word;
}

.event-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #ff6b00;
  margin-bottom: 4px;
}
.event-meta,
.event-location,
.event-price {
  font-size: 1em;
  margin-bottom: 4px;
  color: #ddd;
  line-height: 1.4em;
}
.event-location span:first-child {
  font-weight: bold;
  color: #fff;
}
.event-location span {
  display: block;
}

.event-details .button {
  background-color: #ff6b00;
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  box-sizing: border-box;
  margin-top: 12px;
  width: 100%;
  max-width: 220px;
  align-self: flex-start;
}

.map-preview {
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 210px;
  height: auto;
  min-height: 160px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
}
.map-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* MAP MODAL OVERLAY */
#map-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}
#map-modal.active {
  display: flex !important;
}
#map-modal .map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1;
}
#map-modal .map-content {
  position: relative;
  z-index: 2;
  width: 95vw;
  height: 80vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
#map-modal .map-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#map-modal .close-map {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 3;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 16px;
  cursor: pointer;
}

/* ============================================= */
/* 📱📲💻🖥 RESPONSIVE BREAKPOINTS – 5 STUFEN BASIS */
/* ============================================= */

/* 📱 1. XS – Kleine Smartphones */
@media (max-width: 480px) {
  .event-box {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-areas:
      "date details"
      "map map";
    column-gap: 12px;
    row-gap: 12px;
    width: 95%;
    margin: 16px auto;
    padding: 12px;
  }
  .event-date {
    grid-area: date;
    width: 100%;
    padding: 8px 4px;
  }
  .event-details {
    grid-area: details;
    padding: 0;
  }
  .event-details .button {
    width: 100%;
    max-width: none;
  }
  .map-preview {
    grid-area: map;
    width: 100%;
    height: 220px;
  }
}

/* 📱 2. S – Normale Smartphones */
@media (min-width: 481px) and (max-width: 768px) {
  .event-box {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-template-areas:
      "date details"
      "map map";
    column-gap: 12px;
    row-gap: 12px;
    width: 95%;
    margin: 16px auto;
    padding: 12px;
  }
  .event-date {
    grid-area: date;
    width: 100%;
    padding: 8px 4px;
  }
  .event-details {
    grid-area: details;
    padding: 0;
  }
  .event-details .button {
    width: 100%;
    max-width: none;
  }
  .map-preview {
    grid-area: map;
    width: 100%;
    height: 220px;
  }
}

/* 📲 3. M – Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .event-box {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "date details"
      "map map";
    column-gap: 14px;
    row-gap: 12px;
    width: 90%;
    margin: 16px auto;
    padding: 16px;
  }
  .event-date {
    grid-area: date;
    width: 100%;
    padding: 8px 4px;
  }
  .event-details {
    grid-area: details;
    padding: 0;
  }
  .event-details .button {
    width: 100%;
    max-width: none;
  }
  .map-preview {
    grid-area: map;
    width: 100%;
    height: 220px;
  }
}

/* 💻 4. L – Laptops / kleine Desktops */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* Desktop-Layout bleibt Standard */
}

/* 🖥 5. XL – Große Bildschirme / 4K */
@media (min-width: 1441px) {
  /* Desktop-Layout bleibt Standard */
}
