.brizy-events-container {
  max-width: 100%;
  margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  position: relative; /* Wichtig für korrekte Positionierung */
}

.brizy-events-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: #222;
  border-bottom: 3px solid #0073aa;
  padding-bottom: 12px;
  font-weight: 600;
  position: relative;
}

.brizy-events-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #ff6b6b;
}

/* NEU: Event-Sektionen für aktuelle und vergangene Events */
.brizy-events-section {
  margin-bottom: 40px;
}

.brizy-events-section-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding: 12px 0;
  border-bottom: 2px solid #e1e5e9;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brizy-section-icon {
  font-size: 24px;
}

/* NEU: Spezielle Styles für vergangene Events */
.brizy-past-events .brizy-events-section-title {
  color: #666;
  border-bottom-color: #d1d5db;
}

.brizy-events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* NEU: Erweiterte Filtersektion */
.brizy-events-filter-section {
  margin-bottom: 25px;
  padding: 20px;
  background: #f9f9fb;
  border-radius: 10px;
  border: 1px solid #eaeaef;
}

.brizy-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.brizy-filter-title {
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.brizy-filter-toggle {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.brizy-filter-toggle:hover {
  background: #e0e0e0;
}

.brizy-filter-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.brizy-filter-toggle.active svg {
  transform: rotate(180deg);
}

.brizy-filter-controls {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.brizy-filter-controls.active {
  max-height: 500px;
}

.brizy-filter-group {
  margin-bottom: 15px;
}

.brizy-filter-group-title {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
}

.brizy-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brizy-filter-button {
  padding: 6px 12px;
  border-radius: 20px;
  background: #fff;
  color: #555;
  font-size: 14px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brizy-filter-button:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.brizy-filter-button.active {
  background: #0073aa;
  color: white;
  border-color: #0073aa;
}

/* Kategorie-spezifische Buttons */
.brizy-filter-button:not(.active):not([data-category="all"]) {
  border-color: var(--category-color, #0073aa);
  color: var(--category-color, #333);
  background: rgba(var(--category-color-rgb, 0, 115, 170), 0.05);
}

.brizy-filter-button:not(.active):not([data-category="all"]):hover {
  background: rgba(var(--category-color-rgb, 0, 115, 170), 0.1);
}

/* NEU: Datumsfilter */
.brizy-date-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.brizy-date-filter-group {
  flex: 1;
  min-width: 200px;
}

.brizy-date-filter-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.brizy-date-filter input[type="date"] {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
}

.brizy-date-filter input[type="date"]:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 1px #0073aa;
}

/* NEU: Filter-Aktionen */
.brizy-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

.brizy-filter-action-btn {
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.brizy-filter-apply {
  background: #0073aa;
  color: white;
}

.brizy-filter-apply:hover {
  background: #005a87;
}

.brizy-filter-reset {
  background: #f1f1f1;
  color: #555;
  border-color: #ddd;
}

.brizy-filter-reset:hover {
  background: #e5e5e5;
}

/* NEU: Aktive Filter Anzeige */
.brizy-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.brizy-active-filter {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f0f7fa;
  border: 1px solid #d0e8f2;
  border-radius: 20px;
  font-size: 13px;
  color: #0073aa;
}

.brizy-active-filter-remove {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  font-size: 10px;
  line-height: 1;
  transition: all 0.2s ease;
}

.brizy-active-filter-remove:hover {
  background: #ccc;
  color: #333;
}

.brizy-event-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: visible; /* Wichtig für Dropdown-Menüs */
  z-index: 1; /* Basis z-index für alle Event-Items */
}

/* NEU: Vergangene Events Styling */
.brizy-event-item.brizy-event-past {
  opacity: 0.85;
  background: #fafafa;
  border-color: #e5e7eb;
}

.brizy-event-item.brizy-event-past:hover {
  opacity: 1;
}

.brizy-event-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #0073aa;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* NEU: Vergangene Events haben grauen Indikator */
.brizy-event-item.brizy-event-past::before {
  background: #9ca3af;
}

.brizy-event-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.brizy-event-item:hover::before {
  opacity: 1;
}

.brizy-event-image {
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.brizy-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.brizy-event-item:hover .brizy-event-image img {
  transform: scale(1.05);
}

.brizy-event-placeholder {
  font-size: 32px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.brizy-event-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brizy-event-item-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #222;
  line-height: 1.3;
  transition: color 0.2s ease;
}

/* NEU: Vergangene Events haben gedämpfte Titel */
.brizy-event-item.brizy-event-past .brizy-event-item-title {
  color: #6b7280;
}

.brizy-event-item:hover .brizy-event-item-title {
  color: #0073aa;
}

.brizy-event-date {
  font-size: 15px;
  color: #0073aa;
  font-weight: 500;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brizy-event-date::before {
  content: "📅";
  font-size: 14px;
}

/* NEU: Vergangene Events Indikator */
.brizy-past-indicator {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 400;
  font-style: italic;
}

.brizy-event-description {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

/* NEU: Mehrere Kategorien pro Event */
.brizy-event-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

/* NEU: Kategorie-Badge */
.brizy-event-category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  margin-bottom: 0;
}

/* ÜBERARBEITET: Kostenlos Label - schlichter und eleganter */
.brizy-event-free-badge {
  display: inline-block;
  background: #f5f8ff;
  color: #4a6baf;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid #dde5f9;
  margin-top: 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.brizy-event-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* NEU: Spezielle Styles für vergangene Events Actions */
.brizy-event-actions-past {
  /* Keine Buttons, aber behalte das Layout bei */
  min-width: 130px; /* Gleiche Breite wie normale Actions */
  opacity: 0; /* Unsichtbar aber nimmt Platz ein */
}

.brizy-event-link,
.brizy-booking-link,
.brizy-calendar-button,
.brizy-share-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: 130px; /* ERHÖHT: Mehr Platz für Text */
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.brizy-event-link {
  background: #f0f0f1;
  color: #333;
  border: 1px solid #ddd;
}

.brizy-event-link:hover {
  background: #e0e0e1;
  color: #000;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brizy-booking-link {
  background: #0073aa;
  color: white;
  border: 1px solid #0073aa;
}

.brizy-booking-link:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Calendar Button */
.brizy-calendar-button {
  background: #4CAF50;
  color: white;
  border: 1px solid #43A047;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.brizy-calendar-button:hover {
  background: #43A047;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* NEU: Share Button */
.brizy-share-button {
  background: #FF9800;
  color: white;
  border: 1px solid #F57C00;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.brizy-share-button:hover {
  background: #F57C00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* KOMPLETT NEU: Calendar Modal/Lightbox */
.brizy-calendar-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999999; /* Extrem hoher z-index */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brizy-calendar-modal.active {
  display: flex;
  opacity: 1;
}

.brizy-calendar-modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.brizy-calendar-modal.active .brizy-calendar-modal-content {
  transform: translateY(0);
}

.brizy-calendar-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.brizy-calendar-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brizy-calendar-modal-options a {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.brizy-calendar-modal-options a:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brizy-modal-google-calendar {
  color: #4285F4;
}

.brizy-modal-ical-calendar {
  color: #222;
}

.calendar-icon {
  font-size: 24px;
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.brizy-modal-google-calendar .calendar-icon {
  color: #4285F4;
  font-weight: bold;
}

.calendar-text {
  font-size: 16px;
}

.brizy-calendar-modal-close {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #f1f1f1;
  border: none;
  border-radius: 8px;
  color: #555;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brizy-calendar-modal-close:hover {
  background: #e5e5e5;
}

/* NEU: Share Modal */
.brizy-share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 999999; /* Extrem hoher z-index */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.brizy-share-modal.active {
  display: flex;
  opacity: 1;
}

.brizy-share-modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.brizy-share-modal.active .brizy-share-modal-content {
  transform: translateY(0);
}

.brizy-share-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.brizy-share-modal-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brizy-share-modal-options a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #eee;
  text-align: center;
}

.brizy-share-modal-options a:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.brizy-share-modal-options a.web-share-button {
  grid-column: 1 / -1;
  background: #0073aa;
  color: white;
}

.brizy-share-modal-options a.web-share-button:hover {
  background: #005a87;
}

.share-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.share-text {
  font-size: 14px;
}

.brizy-share-modal-close {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #f1f1f1;
  border: none;
  border-radius: 8px;
  color: #555;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brizy-share-modal-close:hover {
  background: #e5e5e5;
}

/* Service-spezifische Farben */
.brizy-share-whatsapp .share-icon {
  color: #25D366;
}

.brizy-share-email .share-icon {
  color: #D44638;
}

.brizy-share-sms .share-icon {
  color: #03a9f4;
}

.brizy-share-facebook .share-icon {
  color: #1877F2;
}

.brizy-share-twitter .share-icon {
  color: #1DA1F2;
}

.brizy-share-linkedin .share-icon {
  color: #0077B5;
}

/* Prevent body scrolling when modal is open */
body.brizy-modal-open {
  overflow: hidden;
}

/* Alte Dropdown-Elemente verstecken (für Kompatibilität mit bestehendem Code) */
.brizy-calendar-options {
  display: none !important;
}

/* NEU: Keine Events Nachricht */
.brizy-events-no-events {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  color: #666;
  font-style: italic;
  margin: 20px 0;
}

/* Tablet Responsive Design */
@media (max-width: 768px) {
  .brizy-event-item {
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .brizy-event-image {
    width: 100px;
    height: 80px;
  }

  .brizy-event-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12px;
    gap: 8px;
  }

  /* NEU: Actions für vergangene Events auf Tablets */
  .brizy-event-actions-past {
    display: none; /* Verstecke komplett auf kleineren Bildschirmen */
  }

  /* VERBESSERT: Einheitliche Button-Größe für mobile Geräte */
  .brizy-event-link,
  .brizy-booking-link,
  .brizy-calendar-button,
  .brizy-share-button {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 8px 12px;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* ÜBERARBEITET: Kostenlos Label auf Tablets */
  .brizy-event-free-badge {
    font-size: 11px;
    padding: 2px 6px;
  }

  /* Kategorie Filter für Tablets */
  .brizy-filter-buttons {
    gap: 6px;
  }

  .brizy-filter-button {
    font-size: 13px;
    padding: 5px 10px;
  }

  /* NEU: Datumsfilter auf Tablets */
  .brizy-date-filter {
    flex-direction: row;
  }

  .brizy-date-filter-group {
    flex: 1;
    min-width: 0;
  }

  /* NEU: Mehrere Kategorien auf Tablets */
  .brizy-event-categories {
    gap: 5px;
    margin-bottom: 10px;
  }

  .brizy-event-category-badge {
    font-size: 12px;
    padding: 3px 8px;
  }

  /* NEU: Share Modal auf Tablets */
  .brizy-share-modal-options {
    grid-template-columns: repeat(2, 1fr);
  }

  /* NEU: Event-Sektionen auf Tablets */
  .brizy-events-section-title {
    font-size: 20px;
  }
}

/* Mobile Responsive Design */
@media (max-width: 480px) {
  .brizy-events-container {
    margin: 16px 0;
  }

  .brizy-events-title {
    font-size: 22px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .brizy-events-filter-section {
    padding: 15px;
    margin-bottom: 16px;
  }

  .brizy-filter-header {
    margin-bottom: 10px;
  }

  .brizy-filter-title {
    font-size: 16px;
  }

  .brizy-filter-toggle {
    padding: 4px 8px;
    font-size: 12px;
  }

  .brizy-filter-group-title {
    font-size: 14px;
  }

  .brizy-filter-buttons {
    gap: 5px;
  }

  .brizy-filter-button {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* NEU: Datumsfilter auf Mobilgeräten */
  .brizy-date-filter {
    flex-direction: column;
    gap: 8px;
  }

  .brizy-date-filter-group {
    width: 100%;
  }

  .brizy-event-item {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }

  .brizy-event-image {
    width: 100%;
    height: 140px;
    margin-bottom: 4px;
  }

  .brizy-event-item-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .brizy-event-date {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .brizy-event-description {
    font-size: 14px;
    margin-bottom: 10px;
  }

  /* ÜBERARBEITET: Kostenlos Label auf Mobilgeräten */
  .brizy-event-free-badge {
    font-size: 10px;
    padding: 1px 5px;
    margin-top: 0;
  }

  /* NEU: Kategorie-Badge auf Mobilgeräten */
  .brizy-event-categories {
    gap: 4px;
    margin-bottom: 8px;
  }

  .brizy-event-category-badge {
    font-size: 11px;
    padding: 2px 8px;
  }

  .brizy-event-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
    gap: 8px;
  }

  /* NEU: Actions für vergangene Events auf Mobile */
  .brizy-event-actions-past {
    display: none; /* Verstecke komplett auf Mobile */
  }

  /* KOMPLETT ÜBERARBEITET: Optimierte Button-Größen für mobile Geräte */
  .brizy-event-link,
  .brizy-booking-link,
  .brizy-calendar-button,
  .brizy-share-button {
    flex: 1;
    width: calc(50% - 4px) !important; /* 2 Buttons pro Zeile mit 8px Gap */
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px 8px !important; /* Mehr horizontaler Platz für Text */
    font-size: 13px !important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    height: 40px !important; /* ERHÖHT: Mehr vertikaler Platz */
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px !important;
  }

  .brizy-calendar-modal-content {
    padding: 20px;
  }

  .brizy-calendar-modal-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .brizy-calendar-modal-options a {
    padding: 12px;
  }

  .calendar-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin-right: 10px;
  }

  .calendar-text {
    font-size: 14px;
  }

  /* NEU: Share Modal auf Mobilgeräten */
  .brizy-share-modal-content {
    padding: 20px;
  }

  .brizy-share-modal-title {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .brizy-share-modal-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
    margin-bottom: 5px;
  }

  .share-text {
    font-size: 12px;
  }

  /* Kategorie Filter für Mobile */
  .brizy-events-filter {
    padding: 12px;
    margin-bottom: 15px;
  }

  .brizy-filter-label {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .brizy-filter-buttons {
    gap: 5px;
  }

  .brizy-filter-button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 16px;
  }

  /* NEU: Filter-Aktionen auf Mobilgeräten */
  .brizy-filter-actions {
    flex-direction: column;
    gap: 8px;
  }

  .brizy-filter-action-btn {
    width: 100%;
    padding: 8px;
    text-align: center;
  }

  /* NEU: Event-Sektionen auf Mobilgeräten */
  .brizy-events-section {
    margin-bottom: 30px;
  }

  .brizy-events-section-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding: 8px 0;
  }

  .brizy-section-icon {
    font-size: 20px;
  }
}

/* SPEZIELL FÜR IPHONE: Fix für Button-Größe Inkonsistenzen */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .brizy-event-link,
  .brizy-booking-link,
  .brizy-calendar-button,
  .brizy-share-button {
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 !important;
    flex: 1 !important;
    width: calc(50% - 4px) !important;
    max-width: none !important;
    min-width: 0 !important;
    -webkit-appearance: none !important;
    margin: 0 !important;
    padding: 0 8px !important; /* Mehr horizontaler Platz für Text */
    height: 42px !important; /* ERHÖHT: Noch mehr Platz für iOS */
    line-height: 42px !important;
    font-size: 13px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box !important;
  }

  /* Fixes für Safari/iOS */
  .brizy-event-actions {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    width: 100% !important;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }

  /* Fix für Button-Rendering auf iOS */
  .brizy-calendar-button {
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #4CAF50 !important;
    color: white !important;
    border: 1px solid #43A047 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }

  /* Fix für Teilen-Button auf iOS */
  .brizy-share-button {
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #FF9800 !important;
    color: white !important;
    border: 1px solid #F57C00 !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
}