/*
 * Time Calendar – Price Bar
 * Alle Farben über var(--tc-*) aus design-system.css.
 */

/* ─── Price Bar ───────────────────────────────────────────────── */
.tc-price-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--tc-bg);
  border-top: 1px solid var(--tc-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .10);
  padding: 14px 24px;
}

.tc-dark .tc-price-bar {
  box-shadow: 0 -4px 24px rgba(0, 0, 0, .35);
}

.tc-price-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ─── Info-Bereich ────────────────────────────────────────────── */
.tc-price-bar-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tc-price-bar-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tc-text-muted);
}

/* Early Bird Badge — Grün bleibt immer */
.tc-price-bar-badge {
  display: inline-block;
  background: #a4d61f;
  color: #1a2e00;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Preis */
.tc-price-bar-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tc-text);
  line-height: 1;
  white-space: nowrap;
}

.tc-price-bar-amount--early {
  color: #5a7a00;
}

.tc-price-bar-amount--request {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tc-text-muted);
}

.tc-price-bar-label--full {
  color: var(--tc-danger);
  font-size: 16px;
}

.tc-price-bar-amount--full {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tc-danger) !important;
}

/* Kein Preis – Teaser-Text */
.tc-price-bar-teaser {
  font-size: 16px;
  color: var(--tc-text-muted);
  max-width: 420px;
  line-height: 1.5;
}

.tc-price-bar-teaser strong {
  display: block;
  color: #90c012;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 2px;
}

.tc-price-bar-amount span {
  font-size: 14px;
  font-weight: 400;
  color: var(--tc-text-subtle);
  margin-left: 4px;
}

/* Deadline-Hinweis */
.tc-price-bar-deadline {
  font-size: 14px;
  color: var(--tc-text-muted);
  white-space: nowrap;
}

.tc-price-bar-deadline strong {
  color: var(--tc-text);
}

/* ─── CTA-Button ──────────────────────────────────────────────── */
.tc-price-bar-btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 13px 28px;
  background: var(--tc-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}

.tc-price-bar-btn:hover {
  background: var(--tc-primary-dark);
  color: #fff;
}

/* Early Bird Variante – behält grün */
.tc-price-bar-btn--early {
  background: #a4d61f;
  color: #1a2e00;
}

.tc-price-bar-btn--early:hover {
  background: #90c012;
  color: #1a2e00;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .tc-price-bar {
    padding: 12px 16px;
  }

  .tc-price-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tc-price-bar-btn {
    width: 100%;
    text-align: center;
  }

  .tc-price-bar-deadline {
    white-space: normal;
  }
}
