:root {
  --bg: #f5f2ed;
  --card: rgba(255, 255, 255, 0.88);
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.12);
  --primary: #111827;
  --disabled: #d1d5db;
  --accent: #d92332;
  --success: #18794e;
  --success-bg: #e5f6ec;
  --error: #b42318;
  --error-bg: #fee4e2;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(
      circle at top right,
      rgba(217, 35, 50, 0.08),
      transparent 28%
    ),
    var(--bg);
}
button,
input,
textarea {
  font: inherit;
}
.ta-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 72px;
}
.ta-hero {
  max-width: 790px;
  margin-bottom: 34px;
}
.ta-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.ta-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}
.ta-hero-text,
.ta-section-text {
  color: var(--muted);
  font-size: 1.05rem;
}
.ta-progress {
  margin: 30px 0;
}
.ta-progress-line {
  height: 6px;
  background: rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.ta-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}
.ta-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.ta-steps span {
  text-align: center;
}
.ta-steps span.active {
  color: var(--text);
  font-weight: 800;
}
.ta-month-wheel {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 4px 2px 15px;
  scrollbar-width: thin;
}
.ta-month-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 11px 17px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
}
.ta-month-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.ta-loading-text {
  color: var(--muted);
}
.ta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}
.ta-main {
  min-width: 0;
}
.ta-card,
.ta-summary {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.ta-summary {
  position: sticky;
  top: 24px;
}
.ta-card h2,
.ta-summary h2 {
  margin: 0 0 9px;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.ta-calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.ta-calendar-head button {
  border: 1px solid var(--line);
  background: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
}
.ta-weekdays,
.ta-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.ta-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px;
}
.ta-day {
  min-height: 74px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  transition: 0.18s ease;
}
.ta-day:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(217, 35, 50, 0.45);
}
.ta-day:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}
.ta-day.available::after {
  content: "frei";
  display: block;
  color: var(--success);
  font-size: 0.68rem;
  margin-top: 8px;
}
.ta-day.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.ta-day.selected::after {
  color: white;
}
.ta-day.empty {
  visibility: hidden;
}
.ta-time-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.ta-time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ta-time-btn {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 15px;
  cursor: pointer;
}
.ta-time-btn.selected {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.ta-summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ta-summary-item span,
.ta-summary-hint {
  color: var(--muted);
}
.ta-summary-item strong {
  text-align: right;
}
.ta-summary-hint {
  font-size: 0.9rem;
  margin: 18px 0;
}
.ta-primary-btn,
.ta-secondary-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.18s ease;
}
.ta-primary-btn {
  background: var(--primary);
  color: white;
}
.ta-primary-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}
.ta-primary-btn:disabled {
  background: var(--disabled);
  cursor: not-allowed;
}
.ta-secondary-btn {
  background: #ece9e4;
  color: var(--text);
}
.ta-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.ta-form label span {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  font-size: 0.91rem;
}
.ta-form input,
.ta-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
}
.ta-form input:focus,
.ta-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 35, 50, 0.1);
}
.ta-message-field {
  display: block;
  margin: 18px 0;
}
.ta-consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 18px;
}
.ta-consent input {
  width: auto;
  margin-top: 5px;
}
.ta-consent span {
  font-weight: 500 !important;
  color: var(--muted);
  font-size: 0.86rem !important;
}
.ta-form-error {
  color: var(--error);
  background: var(--error-bg);
  padding: 12px 14px;
  border-radius: 12px;
}
.ta-review-list {
  display: grid;
  gap: 0;
  margin: 20px 0;
}
.ta-review-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.ta-review-list span {
  color: var(--muted);
}
.ta-review-list strong {
  text-align: right;
  max-width: 65%;
  overflow-wrap: anywhere;
}
.ta-review-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 12px;
}
.ta-success-card {
  text-align: center;
}
.ta-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  background: var(--success-bg);
  color: var(--success);
  font-size: 2rem;
  font-weight: 900;
}
.ta-success-box {
  text-align: left;
  background: var(--success-bg);
  padding: 18px;
  border-radius: 16px;
  margin: 20px 0;
}
.ta-success-box p {
  margin: 5px 0 0;
}
.ta-error-card {
  background: var(--error-bg);
  color: var(--error);
  padding: 18px;
  border-radius: 16px;
}
.ta-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -3px;
  margin-right: 8px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
[hidden] {
  display: none !important;
}
@media (max-width: 850px) {
  .ta-layout {
    grid-template-columns: 1fr;
  }
  .ta-summary {
    position: static;
    order: -1;
  }
  .ta-page {
    padding-top: 30px;
  }
  .ta-hero h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 620px) {
  .ta-page {
    width: min(100% - 20px, 1180px);
  }
  .ta-card,
  .ta-summary {
    padding: 20px;
    border-radius: 22px;
  }
  .ta-form-grid {
    grid-template-columns: 1fr;
  }
  .ta-weekdays,
  .ta-days {
    gap: 4px;
  }
  .ta-day {
    min-height: 58px;
    padding: 6px;
    border-radius: 11px;
  }
  .ta-day.available::after {
    content: "";
    margin: 5px 0 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
  }
  .ta-day.selected::after {
    background: white;
  }
  .ta-review-actions {
    grid-template-columns: 1fr;
  }
  .ta-steps {
    font-size: 0.72rem;
  }
}
.ta-step-back {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ta-step-back:hover {
  opacity: 0.6;
}

.ta-step-back:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 4px;
}
/* =====================================================
   TerminAssist Stepper
   ===================================================== */

.ta-progress {
  margin: 34px 0 38px;
}

.ta-stepper {
  display: grid;
  grid-template-columns:
    minmax(80px, 1fr)
    minmax(30px, 1fr)
    minmax(100px, 1fr)
    minmax(30px, 1fr)
    minmax(80px, 1fr)
    minmax(30px, 1fr)
    minmax(80px, 1fr);
  align-items: start;
  width: 100%;
}

.ta-step {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: center;
  cursor: pointer;
}

.ta-step:disabled {
  cursor: default;
  opacity: 1;
}

.ta-step-marker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 9px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #ffffff;
  color: #9ca3af;
  font-size: 0.83rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.ta-step-text {
  display: block;
  min-width: 0;
}

.ta-step-text strong {
  display: block;
  color: inherit;
  font-size: 0.86rem;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.ta-step-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.ta-step-connector {
  display: block;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background-color 0.35s ease;
}

/* Erledigter Schritt */

.ta-step.completed {
  color: var(--success);
}

.ta-step.completed .ta-step-marker {
  border-color: var(--success);
  background: var(--success);
  color: #ffffff;
}

.ta-step-connector.completed {
  background: var(--success);
}

/* Aktueller Schritt */

.ta-step.active {
  color: var(--accent);
}

.ta-step.active .ta-step-marker {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 7px rgba(217, 35, 50, 0.1);
  animation: ta-step-pulse 0.45s ease;
}

/* Noch nicht erreichter Schritt */

.ta-step.upcoming {
  color: var(--muted);
}

/* Bedienung */

.ta-step.completed:hover .ta-step-marker {
  transform: translateY(-2px) scale(1.06);
}

.ta-step.completed:hover .ta-step-text strong {
  color: var(--success);
}

.ta-step:focus-visible {
  outline: none;
}

.ta-step:focus-visible .ta-step-marker {
  outline: 3px solid rgba(217, 35, 50, 0.22);
  outline-offset: 4px;
}

@keyframes ta-step-pulse {
  0% {
    transform: scale(0.85);
  }

  60% {
    transform: scale(1.14);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 620px) {
  .ta-progress {
    margin: 24px 0 28px;
  }

  .ta-stepper {
    grid-template-columns:
      minmax(54px, 1fr)
      minmax(14px, 0.55fr)
      minmax(70px, 1fr)
      minmax(14px, 0.55fr)
      minmax(54px, 1fr)
      minmax(14px, 0.55fr)
      minmax(54px, 1fr);
  }

  .ta-step-marker {
    width: 29px;
    height: 29px;
    margin-bottom: 7px;
    font-size: 0.75rem;
  }

  .ta-step-connector {
    height: 2px;
    margin-top: 14px;
  }

  .ta-step-text strong {
    font-size: 0.7rem;
  }

  .ta-step-text small {
    display: none;
  }
}
/* =====================================================
   Fortschrittsstrahl – TerminAssist
   Funktioniert mit .ta-steps und den vorhandenen <span>
   ===================================================== */

.ta-progress {
  margin: 34px 0 42px;
  padding: 0 10px;
}

.ta-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  width: 100%;
  isolation: isolate;
}

/* Graue Grundlinie */

.ta-steps::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 17px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 999px;
  background: #d1d5db;
}

/* Farbiger Fortschritt */

.ta-steps::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 17px;
  left: 12.5%;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--success, #18794e);
  transition: width 0.4s ease;
}

/* Schritt 2 aktiv */

.ta-steps[data-current-step="1"]::after {
  width: 0;
}

.ta-steps[data-current-step="2"]::after {
  width: 25%;
}

.ta-steps[data-current-step="3"]::after {
  width: 50%;
}

.ta-steps[data-current-step="4"]::after {
  width: 75%;
}

/* Einzelne Schritte */

.ta-steps > span {
  position: relative;
  display: block;
  padding-top: 46px;
  color: var(--muted, #6b7280);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: default;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

/* Kreis mit Schrittnummer */

.ta-steps > span::before {
  content: attr(data-step);
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  box-sizing: border-box;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: #ffffff;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Erledigte Schritte */

.ta-steps > span.completed {
  color: var(--success, #18794e);
  cursor: pointer;
}

.ta-steps > span.completed::before {
  content: "✓";
  border-color: var(--success, #18794e);
  background: var(--success, #18794e);
  color: #ffffff;
}

/* Aktueller Schritt */

.ta-steps > span.active {
  color: var(--accent, #d92332);
}

.ta-steps > span.active::before {
  border-color: var(--accent, #d92332);
  background: var(--accent, #d92332);
  color: #ffffff;
  box-shadow: 0 0 0 7px rgba(217, 35, 50, 0.11);
  animation: ta-progress-pulse 0.45s ease;
}

/* Termin bleibt als Rücksprung anklickbar */

.ta-steps > span.ta-step-back {
  cursor: pointer;
}

.ta-steps > span.ta-step-back:hover::before,
.ta-steps > span.completed:hover::before {
  transform: translateX(-50%) translateY(-2px) scale(1.07);
}

.ta-steps > span.ta-step-back:hover,
.ta-steps > span.completed:hover {
  color: var(--success, #18794e);
}

/* Tastaturbedienung */

.ta-steps > span:focus-visible {
  outline: none;
}

.ta-steps > span:focus-visible::before {
  outline: 3px solid rgba(217, 35, 50, 0.22);
  outline-offset: 4px;
}

/* Animation des aktuellen Kreises */

@keyframes ta-progress-pulse {
  0% {
    transform: translateX(-50%) scale(0.85);
  }

  60% {
    transform: translateX(-50%) scale(1.14);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* Mobile Darstellung */

@media (max-width: 620px) {
  .ta-progress {
    margin: 25px 0 32px;
    padding: 0;
  }

  .ta-steps::before,
  .ta-steps::after {
    top: 15px;
  }

  .ta-steps > span {
    padding-top: 40px;
    font-size: 0.68rem;
    font-weight: 650;
  }

  .ta-steps > span::before {
    width: 30px;
    height: 30px;
    font-size: 0.74rem;
  }

  .ta-steps > span.active::before {
    box-shadow: 0 0 0 5px rgba(217, 35, 50, 0.1);
  }
}
/* =====================================================
   Uhrzeiten-Drehrad
   ===================================================== */

.ta-time-help {
  margin: -4px 0 18px;
  color: var(--muted, #6b7280);
  font-size: 0.9rem;
}

.ta-time-wheel-wrap {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.ta-time-wheel {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  padding: 14px 4px 18px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ta-time-wheel::-webkit-scrollbar {
  display: none;
}

.ta-time-wheel-item {
  flex: 0 0 auto;
  min-width: 122px;
  padding: 15px 20px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text, #111827);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ta-time-wheel-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent, #d92332);
}

.ta-time-wheel-item.selected {
  border-color: var(--accent, #d92332);
  background: var(--accent, #d92332);
  color: #ffffff;
  box-shadow:
    0 10px 24px rgba(217, 35, 50, 0.2);
}

.ta-time-wheel-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text, #111827);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.ta-time-wheel-arrow:hover {
  transform: scale(1.06);
  border-color: var(--accent, #d92332);
  background: rgba(217, 35, 50, 0.06);
}

.ta-no-times {
  width: 100%;
  margin: 0;
  padding: 14px;
  color: var(--muted, #6b7280);
  text-align: center;
}

@media (max-width: 620px) {
  .ta-time-wheel-wrap {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 7px;
  }

  .ta-time-wheel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .ta-time-wheel-item {
    min-width: 108px;
    padding: 13px 16px;
    font-size: 0.87rem;
  }
}
.ta-hero-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
}

.ta-hero-left{
    flex:1;
}

.ta-logo-link{
    display:flex;
    align-items:flex-start;
    text-decoration:none;
}

.ta-logo{
    width:250px;
    max-width:100%;
    height:auto;
    transition:0.25s;
}

.ta-logo:hover{
    opacity:.85;
    transform:scale(1.03);
}

@media (max-width:900px){

    .ta-hero-header{
        flex-direction:column;
    }

    .ta-logo{
        width:200px;
        margin-top:15px;
    }

}
/* ---------- Logo oberhalb der Überschrift ---------- */

.ta-brand{
    display:inline-block;
    margin-bottom:18px;
}

.ta-brand-logo{
    width:240px;
    height:auto;
    display:block;
    transition:.25s;
}

.ta-brand:hover .ta-brand-logo{
    opacity:.85;
    transform:scale(1.02);
}

.ta-kicker{
    margin-top:0;
}

/* =====================================================
   TerminAssist – Layout-Optimierung Buchungsseite
   Logo kleiner, mehr Luft, Deal-Karte kompakter,
   Kalender stabil als 7-Spalten-Raster
   ===================================================== */

.ta-page {
  width: min(1220px, calc(100% - 40px));
  padding: 34px 0 72px;
}

.ta-hero {
  max-width: 900px;
  margin-bottom: 34px;
}

.ta-brand {
  display: inline-block;
  margin-bottom: 28px;
}

.ta-brand-logo {
  width: 185px;
  max-width: 100%;
  height: auto;
  display: block;
}

.ta-kicker {
  margin: 0 0 12px;
}

.ta-hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.ta-hero-text {
  max-width: 820px;
  margin: 0;
  line-height: 1.65;
}

.ta-progress {
  margin: 38px 0 42px;
}

.ta-month-wheel {
  margin-bottom: 24px;
  padding-bottom: 10px;
}

/* Deal-Hinweis auf Buchungsseite */
.ta-deal-card {
  margin: 8px 0 34px;
  padding: 24px 26px;
  border: 1px solid #fecaca;
  border-radius: 22px;
  background: #fff7f7;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
}

.ta-deal-inner {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ta-deal-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(
    50% 0%,
    61% 8%,
    75% 5%,
    83% 17%,
    96% 22%,
    95% 36%,
    100% 50%,
    92% 61%,
    95% 75%,
    83% 83%,
    78% 96%,
    64% 95%,
    50% 100%,
    39% 92%,
    25% 95%,
    17% 83%,
    4% 78%,
    5% 64%,
    0% 50%,
    8% 39%,
    5% 25%,
    17% 17%,
    22% 4%,
    36% 5%
  );
}

.ta-deal-label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ta-deal-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.ta-deal-price {
  margin-top: 12px;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 900;
}

.ta-deal-validity {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Kalender absichern */
#calendarContainer {
  min-width: 0;
}

#calendarContainer .ta-card {
  overflow: hidden;
}

.ta-calendar-head {
  margin-bottom: 24px;
}

.ta-weekdays,
.ta-days {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  width: 100%;
  gap: 8px;
}

.ta-weekdays span {
  min-width: 0;
}

.ta-day {
  width: 100%;
  min-width: 0;
  min-height: 78px;
}

/* Etwas mehr Abstand im unteren Layout */
.ta-layout {
  gap: 26px;
}

@media (max-width: 850px) {
  .ta-page {
    width: min(100% - 24px, 1220px);
    padding-top: 24px;
  }

  .ta-brand-logo {
    width: 165px;
  }

  .ta-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 620px) {
  .ta-page {
    width: min(100% - 18px, 1220px);
  }

  .ta-brand {
    margin-bottom: 22px;
  }

  .ta-brand-logo {
    width: 145px;
  }

  .ta-deal-card {
    padding: 20px;
    border-radius: 18px;
  }

  .ta-deal-inner {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .ta-deal-badge {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .ta-deal-title {
    font-size: 1.25rem;
  }

  .ta-deal-price {
    font-size: 1.5rem;
  }

  .ta-weekdays,
  .ta-days {
    gap: 4px;
  }

  .ta-day {
    min-height: 58px;
  }
}
