/* ============================================================
   AUSZEIT REISEN — Angebote-Seite Filter & Layout
   ============================================================ */

/* Filter Bar */
.angebote-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 15, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 12px 0;
}

.angebote-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.angebote-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding: 4px 0;
}

.angebote-filters::-webkit-scrollbar {
  display: none;
}

.angebote-filter {
  flex-shrink: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-family: 'Inter', -apple-system, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.angebote-filter:hover {
  color: #fff;
  border-color: rgba(201, 168, 76, 0.5);
}

.angebote-filter.active {
  background: var(--color-gold, #C9A84C);
  color: #0A1628;
  border-color: var(--color-gold, #C9A84C);
  font-weight: 600;
}

/* Sort Dropdown */
.angebote-sort {
  flex-shrink: 0;
}

.angebote-sort select {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  font-size: 0.8rem;
  font-family: 'Inter', -apple-system, sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.5)' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.angebote-sort select:focus {
  outline: 2px solid var(--color-gold, #C9A84C);
  outline-offset: 2px;
}

.angebote-sort select option {
  background: #0A1628;
  color: #fff;
}

/* Page variant */
.section-angebote--page {
  padding-top: 48px;
  padding-bottom: 60px;
}

/* Count */
.angebote-count {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

/* Card Transitions */
.angebot-card {
  transition: all 0.4s ease, opacity 0.3s ease;
}

.angebot-card--hidden {
  display: none;
}

.angebot-card--fade {
  opacity: 0;
}

/* Vorteil Badge */
.angebot-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-gold, #C9A84C);
  color: #0A1628;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* Loading */
.angebote-loading {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 20px;
  grid-column: 1 / -1;
  font-size: 0.95rem;
}

/* Empty State */
.angebote-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.angebote-empty strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Mobile */
@media (max-width: 639px) {
  .angebote-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .angebote-sort {
    align-self: flex-end;
  }

  .angebote-sort select {
    width: 100%;
  }
}
