/* ==========================================================================
   TAGEBIS FEIERTAGE.CSS - Spezifisches Stylesheet für gesetzliche Feiertage
   ========================================================================== */

.holidays-main {
  min-height: calc(100vh - 120px);
  padding: 2.5rem 1rem 5rem;
}

.content-wrapper {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* 1. Hero & Regionsauswahl */
.holidays-hero {
  text-align: center;
}

.region-control-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.region-select-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.region-select-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-select {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-select:focus {
  border-color: var(--primary);
}

/* 2. Hero Live-Countdown Kachel */
.next-holiday-card {
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--primary-glow);
  background: radial-gradient(circle at top, var(--primary-subtle) 0%, var(--bg-surface) 75%);
}

.next-holiday-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.next-holiday-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.next-holiday-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.next-holiday-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.btn-share-holiday, .btn-save-holiday {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-share-holiday {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-share-holiday:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.btn-save-holiday {
  background: var(--primary);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-save-holiday:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* 3. Bulk Import Bar (Conversion Hebel) */
.bulk-import-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 1.8rem;
  border: 1.5px dashed var(--primary);
  background: var(--primary-subtle);
}

.bulk-import-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bulk-import-icon {
  font-size: 2rem;
}

.bulk-import-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.bulk-import-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bulk-import-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* 4. Feiertage Grid */
.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 8px;
}

.section-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.results-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 3px 10px;
  border-radius: 999px;
}

.holidays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.holiday-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  border-radius: 18px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}

.holiday-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.holiday-card.is-past {
  opacity: 0.55;
  filter: grayscale(0.4);
}

.holiday-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.holiday-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.holiday-scope-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.holiday-meta {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.holiday-date {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.holiday-days-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* 5. Partner-Empfehlungsbox */
.travel-partner-section .partner-card {
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--primary-subtle) 100%);
}

.partner-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.partner-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.partner-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.partner-links-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.partner-btn {
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.partner-btn.secondary {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main) !important;
}

/* 6. SEO-Guide Content */
.seo-guide-section {
  padding: 2.5rem 2rem;
  line-height: 1.7;
}

.seo-guide-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.seo-guide-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.5rem;
}

.seo-guide-section p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .region-control-card {
    grid-template-columns: 1fr;
  }
  .bulk-import-card {
    flex-direction: column;
    text-align: center;
  }
  .bulk-import-info {
    flex-direction: column;
  }
  .bulk-import-btn {
    width: 100%;
  }
  .next-holiday-card {
    padding: 1.5rem 1rem;
  }
}