/* Termine Live – Raumbuchung im Stil von miniglück (Pastelltöne aus dem Logo, Handschrift für Titel). */
.tlr,
.tlr-absage,
.tlr-kacheln {
  --tlr-text: #222222;
  --tlr-leise: #6d6461;
  --tlr-linie: #e6dcd7;
  --tlr-grund: #ffffff;
  --tlr-flaeche: #fbf6f4;
  --tlr-pfirsich: #ffefea;
  --tlr-koralle: #f5ab99;
  --tlr-koralle-dunkel: #e98f7a;
  --tlr-mint: #c9e6d4;
  --tlr-honig: #f7dcae;
  --tlr-gruen: #1e7a3d;
  --tlr-gruen-hell: #e3f4e8;
  --tlr-rot: #a5281b;
  --tlr-rot-hell: #fdecea;
  --tlr-hand: "Soul Billani", "Brush Script MT", cursive;
  display: grid;
  gap: 28px;
  font: 400 16px/1.5 "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--tlr-text);
}

.tlr *,
.tlr-absage * {
  box-sizing: border-box;
}

.tlr button,
.tlr input,
.tlr select,
.tlr textarea,
.tlr-absage button {
  font: inherit;
  color: inherit;
}

.tlr :focus-visible,
.tlr-absage :focus-visible {
  outline: 3px solid var(--tlr-text);
  outline-offset: 2px;
}

.tlr-hinweis,
.tlr-laden {
  margin: 0;
  color: var(--tlr-leise);
  font-style: italic;
}

.tlr-leise {
  color: var(--tlr-leise);
  font-weight: 400;
}

.tlr-schritt {
  display: grid;
  gap: 14px;
}

.tlr-schritt-kopf {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tlr-nr {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tlr-koralle);
  font-size: 14px;
  font-weight: 700;
}

/* Angebote */
.tlr-angebote {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tlr .tlr-angebot {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 2px solid var(--tlr-linie);
  border-radius: 18px;
  background: var(--tlr-grund);
  text-align: left;
  cursor: pointer;
}

.tlr .tlr-angebot[aria-pressed="true"] {
  border-color: var(--tlr-koralle-dunkel);
  background: var(--tlr-pfirsich);
}

.tlr-angebot strong {
  font: 400 22px/1.3 var(--tlr-hand);
}

.tlr-raum {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tlr-mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tlr-fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--tlr-leise);
  font-size: 14px;
}

.tlr-beschreibung {
  font-size: 14px;
}

.tlr-preis {
  font-size: 20px;
  font-weight: 700;
}

/* Kalender und Zeiten */
.tlr-wahl {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .tlr-wahl {
    grid-template-columns: 1fr;
  }
}

.tlr-kalender {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 18px;
}

.tlr-kalender-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.tlr .tlr-pfeil {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 10px;
  background: var(--tlr-grund);
  cursor: pointer;
}

.tlr .tlr-pfeil:disabled {
  opacity: 0.35;
  cursor: default;
}

.tlr-monat {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.tlr-wt {
  color: var(--tlr-leise);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.tlr .tlr-monat button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  aspect-ratio: 1;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.tlr .tlr-monat button:disabled {
  color: #c7bfbb;
  cursor: default;
}

.tlr .tlr-monat button.frei { background: var(--tlr-mint); color: var(--tlr-text); font-weight: 600; }
.tlr .tlr-monat button.teil { background: var(--tlr-honig); color: var(--tlr-text); font-weight: 600; }
.tlr .tlr-monat button.voll { background: #ececec; color: #9a9a9a; text-decoration: line-through; }
.tlr .tlr-monat button.nb { background: #f3f3f3; color: #b0b0b0; }
.tlr .tlr-monat button.gewaehlt { background: var(--tlr-text); color: #ffffff; }

.tlr-monat small {
  font-size: 10px;
  font-weight: 500;
}

.tlr-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--tlr-leise);
  font-size: 13px;
}

.tlr-legende span::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  border-radius: 4px;
  background: var(--f);
  vertical-align: -1px;
}

.tlr-zeiten {
  display: grid;
  gap: 10px;
}

.tlr .tlr-zeit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 16px;
  border: 2px solid var(--tlr-linie);
  border-radius: 14px;
  background: var(--tlr-grund);
  text-align: left;
  cursor: pointer;
}

.tlr .tlr-zeit strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.tlr .tlr-zeit span span {
  color: var(--tlr-leise);
  font-size: 14px;
}

.tlr .tlr-zeit[aria-pressed="true"] {
  border-color: var(--tlr-koralle-dunkel);
  background: var(--tlr-pfirsich);
}

.tlr .tlr-zeit:disabled {
  background: #f6f6f6;
  color: #999999;
  cursor: default;
}

.tlr .tlr-zeit:disabled strong {
  text-decoration: line-through;
}

.tlr-marke {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.tlr-marke--frei { background: var(--tlr-gruen-hell); color: var(--tlr-gruen); }
.tlr-marke--vergeben,
.tlr-marke--nicht_buchbar { background: #eeeeee; color: #777777; }

/* Formular */
.tlr-formular {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) {
  .tlr-formular {
    grid-template-columns: 1fr;
  }
}

.tlr-links {
  display: grid;
  gap: 18px;
}

.tlr-feld {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-weight: 600;
}

.tlr-felder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 560px) {
  .tlr-felder {
    grid-template-columns: 1fr;
  }
}

.tlr-breit {
  grid-column: 1 / -1;
}

.tlr input[type="text"],
.tlr input[type="email"],
.tlr input[type="tel"],
.tlr textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 12px;
  background: var(--tlr-grund);
  font-weight: 400;
}

.tlr textarea {
  resize: vertical;
}

.tlr-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tlr .tlr-stepper button {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 12px;
  background: var(--tlr-grund);
  font-size: 22px;
  cursor: pointer;
}

.tlr-stepper output {
  min-width: 3ch;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.tlr-extras,
.tlr-gruppe {
  display: grid;
  gap: 10px;
}

.tlr-gruppe {
  margin: 0;
  padding: 0;
  border: 0;
}

.tlr-gruppe legend {
  margin-bottom: 6px;
  padding: 0;
  font-weight: 600;
}

.tlr-extra,
.tlr-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 14px;
  font-weight: 400;
  cursor: pointer;
}

.tlr-extra:has(input:checked),
.tlr-option:has(input:checked) {
  border-color: var(--tlr-koralle-dunkel);
  background: var(--tlr-pfirsich);
}

.tlr-extra.tlr-aus {
  opacity: 0.55;
  cursor: default;
}

.tlr-extra input,
.tlr-option input,
.tlr-agb input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--tlr-koralle-dunkel);
}

.tlr-extra span {
  flex: 1;
  min-width: 0;
}

.tlr-extra small {
  display: block;
  color: var(--tlr-leise);
}

.tlr-extra b {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tlr-falle {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Zusammenfassung */
.tlr-summe {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--tlr-pfirsich);
  font-variant-numeric: tabular-nums;
}

.tlr .tlr-summe h3 {
  margin: 0;
  font: 400 20px/1.3 var(--tlr-hand);
}

.tlr-summe-termin {
  color: #4d4542;
}

.tlr-summe-zeilen {
  display: grid;
  gap: 6px;
}

.tlr-zeile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tlr-gesamt {
  padding-top: 10px;
  border-top: 1.5px dashed var(--tlr-koralle-dunkel);
  font-size: 20px;
  font-weight: 700;
}

.tlr-agb {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.tlr .tlr-haupt,
.tlr-absage .tlr-haupt {
  min-height: 56px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--tlr-koralle);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.tlr .tlr-haupt:hover,
.tlr-absage .tlr-haupt:hover {
  background: var(--tlr-koralle-dunkel);
}

.tlr .tlr-haupt:disabled,
.tlr-absage .tlr-haupt:disabled {
  opacity: 0.6;
  cursor: default;
}

.tlr-meldung {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--tlr-rot-hell);
  color: var(--tlr-rot);
  font-weight: 600;
}

.tlr-meldung[hidden],
.tlr-details[hidden] {
  display: none;
}

/* Absage */
.tlr-absage-karte {
  display: grid;
  gap: 14px;
  max-width: 640px;
  padding: 22px;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 18px;
}

.tlr-absage-karte h3 {
  margin: 0;
  font: 400 24px/1.3 var(--tlr-hand);
}

.tlr-daten {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
}

.tlr-daten dt {
  color: var(--tlr-leise);
}

.tlr-daten dd {
  margin: 0;
}

.tlr-ok {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--tlr-gruen-hell);
  color: var(--tlr-gruen);
  font-weight: 600;
}

.tlr-absage .tlr-gefahr {
  justify-self: start;
  background: var(--tlr-rot-hell);
  color: var(--tlr-rot);
}

@media (prefers-reduced-motion: reduce) {
  .tlr *,
  .tlr-absage * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Partner-Link (z. B. Influencer) ---------- */

.tlr-partner {
  margin: 0;
  padding: 14px 18px;
  border: 1.5px dashed var(--tlr-koralle-dunkel);
  border-radius: 14px;
  background: var(--tlr-pfirsich);
  color: var(--tlr-text);
  font-weight: 600;
}

.tlr-extra small.tlr-gratis {
  color: var(--tlr-gruen);
  font-weight: 600;
}
/* ---------- Angebots-Kacheln [termine_live_angebote] ---------- */

.tlr-kacheln {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.tlr-kachel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--tlr-linie);
  border-radius: 20px;
  background: var(--tlr-grund);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tlr-kachel:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(34, 34, 34, 0.08);
}

.tlr-kachel-bildlink {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tlr-pfirsich);
}

.tlr-kachel .tlr-kachel-bild {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tlr-kachel-inhalt {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

/* Etikett nur so breit wie der Text */
.tlr-kachel .tlr-raum {
  align-self: flex-start;
}

.tlr-kachel .tlr-kachel-titel {
  margin: 0;
  font: 400 26px/1.25 var(--tlr-hand);
}

.tlr-kachel-titel a {
  color: var(--tlr-text);
  text-decoration: none;
}

.tlr-kachel .tlr-fakten,
.tlr-kachel .tlr-kachel-text,
.tlr-kachel .tlr-naechster {
  margin: 0;
}

.tlr-kachel-text {
  font-size: 15px;
}

.tlr-naechster {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--tlr-gruen-hell);
  color: var(--tlr-gruen);
  font-size: 14px;
  font-weight: 600;
}

.tlr-naechster--keiner {
  background: var(--tlr-flaeche);
  color: var(--tlr-leise);
}

.tlr-kachel-fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.tlr-kacheln .tlr-kachel-knopf {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--tlr-koralle);
  color: var(--tlr-text);
  font-weight: 700;
  text-decoration: none;
}

.tlr-kacheln .tlr-kachel-knopf:hover {
  background: var(--tlr-koralle-dunkel);
  color: var(--tlr-text);
}

@media (prefers-reduced-motion: reduce) {
  .tlr-kachel,
  .tlr-kachel:hover {
    transition: none;
    transform: none;
  }
}