.ticket-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ticket-container {
  width: 100%;
  margin-bottom: 2rem;
}

.event-ticket {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border: 4px solid transparent;
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-ticket:hover {
  transform: scale(1.01);
  box-shadow: 0 0 20px #216da0af, 0 0 25px #216da0af; 
}

/* Abrisskante */
.event-ticket::before,
.event-ticket::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}

.event-ticket::before {
  left: -11px;
}

.event-ticket::after {
  right: -11px;
}

/* Bild links */
.ticket-image {
  flex: 0 0 180px;
  margin-right: 1.5rem;
}

.ticket-image img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid #ccc;
}

/* Info rechts */
.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: #2c3e50;
}

.ticket-info p {
  margin: 0.25rem 0;
  color: #444;
  font-size: 0.95rem;
}

/* Bald startendes Event */
.soon-starting {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(156, 89, 182, 0.685), 0 0 25px rgba(230, 126, 34, 0.25); }
  50% { box-shadow: 0 0 25px rgba(155, 89, 182, 0.5), 0 0 40px rgba(230, 126, 34, 0.4); }
  100% { box-shadow: 0 0 15px rgba(155, 89, 182, 0.3), 0 0 25px rgba(230, 126, 34, 0.25); }
}

/* ⚠️ KEIN flex-wrap oder Richtungswechsel auf Mobile! */
@media (max-width: 768px) {
  .event-ticket {
    padding: 1rem;
  }

  .ticket-image {
    margin-right: 1rem;
    flex: 0 0 120px;
  }

  .ticket-image img {
    width: 120px;
    height: 90px;
  }

  .ticket-info h3 {
    font-size: 1.1rem;
  }

  .ticket-info p {
    font-size: 0.9rem;
  }

  .event-ticket::before,
  .event-ticket::after {
    width: 16px;
    height: 32px;
    left: -8px;
    right: -8px;
  }

}
