/* =====================================================================
   Termin vereinbaren (2026-10-30) — Kopf, Buchungs-Konsole, Meine Anfragen.
   ===================================================================== */
.tm-kopf { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; margin: -3.5rem calc(50% - 50vw) 0; width: 100vw; min-height: clamp(460px, 62svh, 640px); color: #fff; background: #050506; }
.tm-kopf::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bild, none) center 55% / cover no-repeat, #0b0b0d; transform: scale(1.08); animation: tmHeran 14s cubic-bezier(.2, .7, .2, 1) forwards; }
.tm-kopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 5, 6, .92) 0%, rgba(5, 5, 6, .6) 45%, rgba(5, 5, 6, .3) 100%), linear-gradient(180deg, rgba(5, 5, 6, .5) 0%, transparent 30%, transparent 60%, #050506 100%); }
@keyframes tmHeran { to { transform: scale(1.02); } }
.tm-kopf * { box-sizing: border-box; }
.tm-kopf__inhalt { width: 100%; max-width: 1240px; margin: 0 auto; padding: clamp(4rem, 12vh, 7rem) 16px clamp(2rem, 5vh, 3rem); }
.tm-eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; color: var(--lx-red-2, #E0233F); font-size: .7rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; }
.tm-eyebrow span { width: 2.6rem; height: 1px; background: currentColor; }
.tm-kopf .tm-titel { margin: 0; font: 300 clamp(2.6rem, 5.6vw, 5rem)/1 var(--lx-serif, Georgia, serif); }
.tm-titel em { font-style: italic; color: rgba(255, 255, 255, .78); }
.tm-lead { max-width: 36rem; margin: 1.2rem 0 0; color: rgba(255, 255, 255, .72); font-size: 1.04rem; line-height: 1.65; }
.tm-lead b { color: #fff; }
.tm-schritte { display: flex; flex-wrap: wrap; gap: 0; margin: 1.8rem 0 0; padding: 0; list-style: none; width: max-content; max-width: 100%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(5, 5, 6, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tm-schritte li { display: flex; align-items: baseline; gap: .6rem; padding: .75rem 1.2rem; }
.tm-schritte li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.tm-schritte b { color: var(--lx-red-2, #E0233F); font: 400 1.2rem/1 var(--lx-serif, Georgia, serif); }
.tm-schritte span { color: rgba(255, 255, 255, .8); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Seite ---------- */
.tm { --line: rgba(255, 255, 255, .1); --muted: #9b9b9b; --rot: var(--lx-red, #C8102E); --rot2: var(--lx-red-2, #E0233F);
  display: grid; gap: clamp(2.5rem, 6vw, 4rem); max-width: 1240px; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; padding: 0 16px 4rem; color: #f2f2f2; font-family: var(--lx-sans, system-ui, sans-serif); }
.tm > * { min-width: 0; }
.tm *, .tm *::before, .tm *::after { box-sizing: border-box; }
.tm-kicker { margin: 0; color: var(--rot2); font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.tm .tm-h2 { margin: .3rem 0 0; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.05; }
.tm-knopf { display: inline-flex; align-items: center; height: 3.1rem; padding: 0 1.6rem; border: 1px solid #fff; background: #fff; color: #0b0b0d !important; font: 600 .72rem/1 var(--lx-sans, system-ui, sans-serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none !important; }
.tm-knopf:hover { background: var(--rot); border-color: var(--rot); color: #fff !important; }
.tm-tor { display: grid; justify-items: start; gap: .8rem; max-width: 40rem; padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(12, 12, 13, .9)); }
.tm-tor p { margin: 0; color: rgba(255, 255, 255, .7); line-height: 1.6; }

/* Konsole */
.tm-konsole { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.2rem; align-items: start; }
.tm-konsole__haupt { display: grid; gap: 1.6rem; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(12, 12, 13, .92)); }
.tm-block { display: grid; gap: .8rem; min-width: 0; }
.tm-block__kopf { display: flex; align-items: baseline; gap: .6rem; margin: 0; color: rgba(255, 255, 255, .6); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tm-block__kopf b { color: var(--rot2); font: 400 1.1rem/1 var(--lx-serif, Georgia, serif); letter-spacing: 0; }

.tm-tage { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem .1rem .6rem; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.tm .tm-tag { flex: none; display: grid; justify-items: center; gap: .15rem; width: 4.4rem; min-height: 0 !important; padding: .65rem .3rem .6rem !important; border: 1px solid var(--line) !important; background: rgba(255, 255, 255, .03) !important; color: #fff !important; cursor: pointer; box-shadow: none !important; transition: border-color .2s, background .2s, transform .2s; }
.tm .tm-tag:hover { border-color: rgba(255, 255, 255, .4) !important; transform: translateY(-2px); }
.tm .tm-tag small { color: rgba(255, 255, 255, .55); font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tm .tm-tag b { font: 400 1.7rem/1 var(--lx-serif, Georgia, serif); font-variant-numeric: lining-nums; }
.tm .tm-tag span { color: rgba(255, 255, 255, .5); font-size: .66rem; }
.tm .tm-tag.is-sonntag small { color: var(--rot2); }
.tm .tm-tag.is-an { border-color: #fff !important; background: #fff !important; color: #0b0b0d !important; }
.tm .tm-tag.is-an small, .tm .tm-tag.is-an span { color: rgba(11, 11, 13, .65); }
.tm-datumfeld { display: inline-flex; align-items: center; gap: .7rem; color: rgba(255, 255, 255, .5); font-size: .76rem; }
.tm-datumfeld input { max-width: 11rem; }

.tm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); gap: .5rem; transition: opacity .2s; }
.tm-slots.is-laedt { opacity: .55; }
.tm-slot { position: relative; cursor: pointer; }
.tm-slot input { position: absolute; opacity: 0; pointer-events: none; }
.tm-slot__flaeche { display: grid; gap: .15rem; padding: .7rem .75rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s, transform .2s; }
.tm-slot__flaeche b { color: #fff; font: 400 1.35rem/1 var(--lx-serif, Georgia, serif); font-variant-numeric: lining-nums; }
.tm-slot__flaeche small { color: rgba(255, 255, 255, .5); font-size: .68rem; }
.tm-slot__flaeche em { color: #4ADE80; font-size: .62rem; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tm-slot:hover .tm-slot__flaeche { border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.tm-slot input:checked + .tm-slot__flaeche { border-color: var(--rot2); background: linear-gradient(180deg, rgba(224, 35, 63, .22), rgba(224, 35, 63, .06)); box-shadow: 0 0 30px -12px var(--rot2); }
.tm-slot input:focus-visible + .tm-slot__flaeche { outline: 2px solid #fff; outline-offset: 2px; }
.tm-slot.is-voll { cursor: not-allowed; }
.tm-slot.is-voll .tm-slot__flaeche { opacity: .4; }
.tm-slot.is-voll em { color: #F87171; }
.tm-voll { margin: 0; padding: .8rem 1rem; border-left: 3px solid #F87171; background: rgba(248, 113, 113, .08); color: #FECACA; font-size: .86rem; }

.tm-felder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; gap: .8rem; }
.tm-feld { display: grid; gap: .4rem; }
.tm-feld span { color: rgba(255, 255, 255, .6); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tm-feld span i { color: rgba(255, 255, 255, .35); font-style: normal; letter-spacing: .06em; text-transform: none; }
.tm-feld input, .tm-feld textarea { width: 100%; }
.tm-hinweis { margin: 0; color: rgba(255, 255, 255, .55); font-size: .8rem; line-height: 1.5; }
.tm-hinweis b { color: #fff; }

/* Zusammenfassung */
.tm-zusammen { position: sticky; top: 90px; display: grid; gap: 1rem; padding: 1.4rem; border: 1px solid rgba(224, 35, 63, .35); background: linear-gradient(180deg, rgba(224, 35, 63, .08), rgba(12, 12, 13, .95)); box-shadow: 0 30px 60px -30px #000; }
.tm-zusammen dl { display: grid; gap: .1rem; margin: 0; }
.tm-zusammen dl > div { display: grid; gap: .15rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.tm-zusammen dt { color: rgba(255, 255, 255, .5); font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.tm-zusammen dd { margin: 0; color: #fff; font: 400 1.2rem/1.2 var(--lx-serif, Georgia, serif); overflow-wrap: anywhere; }
.tm .tm-senden { width: 100%; height: 3.3rem; min-height: 0 !important; padding: 0 1rem !important; border: 1px solid var(--rot) !important; background: var(--rot) !important; color: #fff !important; font: 600 .74rem/1 var(--lx-sans, system-ui, sans-serif) !important; letter-spacing: .22em !important; text-transform: uppercase; cursor: pointer; box-shadow: none !important; transition: background .2s; }
.tm .tm-senden:hover { background: var(--rot2) !important; }
.tm .tm-senden:disabled { opacity: .45; cursor: not-allowed; }
.tm-zusammen__klein { margin: 0; color: rgba(255, 255, 255, .45); font-size: .72rem; line-height: 1.5; }

/* Meine Anfragen */
.tm-liste__kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.tm-anzahl { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.tm-anzahl b { margin-right: .3rem; color: #fff; font: 400 1.8rem/1 var(--lx-serif, Georgia, serif); letter-spacing: 0; }
.tm-leer { padding: 1.6rem; color: var(--muted); text-align: center; border: 1px dashed var(--line); }
.tm-karten { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.tm-karte { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; align-items: center; gap: 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--line); background: rgba(12, 12, 13, .85); }
.tm-karte.is-ende { opacity: .6; }
.tm-karte__wann { display: grid; justify-items: center; padding-right: 1.2rem; border-right: 1px solid var(--line); }
.tm-karte__wann b { color: #fff; font: 400 2.2rem/1 var(--lx-serif, Georgia, serif); font-variant-numeric: lining-nums; }
.tm-karte__wann span { color: rgba(255, 255, 255, .5); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.tm-karte__text { display: grid; gap: .45rem; min-width: 0; }
.tm-karte__text p { margin: 0; }
.tm-karte__zeit { color: #fff; font: 400 1.25rem/1.1 var(--lx-serif, Georgia, serif); }
.tm-karte__status { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.tm-karte__von { color: var(--muted); font-size: .8rem; }
.tm-karte__von b { color: #fff; font-weight: 600; }
.tm-karte__grund { color: #FECACA; font-size: .82rem; }
.tm-pill { display: inline-flex; padding: .28rem .6rem; border: 1px solid rgba(255, 255, 255, .25); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tm-pill--requested { border-color: rgba(251, 191, 36, .55); color: #FCD34D; }
.tm-pill--accepted { border-color: rgba(74, 222, 128, .55); color: #86EFAC; }
.tm-pill--completed { border-color: rgba(255, 255, 255, .35); color: #fff; }
.tm-pill--declined, .tm-pill--cancelled { border-color: rgba(248, 113, 113, .45); color: #FCA5A5; }
.tm-leiste { display: flex; gap: 0; margin: .2rem 0 0; padding: 0; list-style: none; max-width: 26rem; }
.tm-leiste li { position: relative; flex: 1; padding-top: .7rem; color: rgba(255, 255, 255, .35); font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tm-leiste li::before { content: ""; position: absolute; left: 0; right: 4px; top: 0; height: 3px; background: rgba(255, 255, 255, .1); }
.tm-leiste li.is-an { color: #fff; }
.tm-leiste li.is-an::before { background: linear-gradient(90deg, var(--rot), var(--rot2)); box-shadow: 0 0 10px rgba(224, 35, 63, .5); }
.tm .tm-storno { min-height: 0 !important; padding: .55rem .9rem !important; border: 1px solid rgba(255, 255, 255, .25) !important; background: transparent !important; color: rgba(255, 255, 255, .75) !important; font: 600 .62rem/1 var(--lx-sans, system-ui) !important; letter-spacing: .16em !important; text-transform: uppercase; cursor: pointer; box-shadow: none !important; }
.tm .tm-storno:hover { border-color: #F87171 !important; color: #FCA5A5 !important; }

@media (max-width: 900px) {
  .tm-kopf { margin-top: -2.5rem; }
  .tm-konsole { grid-template-columns: minmax(0, 1fr); }
  .tm-zusammen { position: static; }
  .tm-felder { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tm-schritte { width: 100%; }
  .tm-schritte li { flex: 1; padding: .6rem .7rem; flex-direction: column; gap: .2rem; }
  .tm-karte { grid-template-columns: 3.8rem minmax(0, 1fr); }
  .tm-karte__wann { padding-right: .8rem; }
  .tm-karte__storno { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .tm-kopf::before { animation: none; transform: none; } }

/* ---------- Bewertung nach dem Termin (2026-10-31) ---------- */
.tm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tm-bewerten { display: grid; gap: 1.1rem; }
.tm-bewerten__liste { display: grid; gap: .8rem; }
.tm-bewerten__karte { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid rgba(245, 196, 81, .28); background: radial-gradient(70% 140% at 0% 0%, rgba(245, 196, 81, .1), transparent 60%), #09090b; }
.tm-bewerten__wann { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .6); font-size: .86rem; }
.tm-bewerten__wann b { color: #fff; font: 400 1.35rem/1 var(--lx-serif, Georgia, serif); }
.tm-bewerten__wann span { margin-left: .2rem; }
.tm-sterne { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .25rem; margin: 0; padding: 0; border: 0; grid-column: 1 / -1; }
.tm-sterne input { position: absolute; opacity: 0; pointer-events: none; }
.tm-sterne label { display: grid; place-items: center; width: 3rem; height: 3rem; cursor: pointer; color: rgba(255, 255, 255, .18); transition: color .15s, transform .2s cubic-bezier(.2, 1.6, .4, 1); }
.tm-sterne label svg { width: 2.2rem; height: 2.2rem; fill: currentColor; }
.tm-sterne label:hover, .tm-sterne label:hover ~ label, .tm-sterne input:checked ~ label { color: #F5C451; }
.tm-sterne label:hover { transform: scale(1.15); }
.tm-sterne input:focus-visible + label { outline: 2px solid #fff; outline-offset: 2px; }
.tm-bewerten__text { grid-column: 1 / 2; }
.tm-bewerten__karte .tm-knopf { align-self: end; }
.tm-bewerten__hinweis { grid-column: 1 / -1; margin: 0; color: rgba(255, 255, 255, .4); font-size: .74rem; }
.tm-bewerten--danke { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1.6rem; padding: clamp(1.4rem, 3.5vw, 2.2rem); border: 1px solid rgba(245, 196, 81, .35); background: radial-gradient(70% 140% at 0% 0%, rgba(245, 196, 81, .12), transparent 60%), #09090b; }
.tm-bewerten--danke p:last-child { margin: .5rem 0 0; color: rgba(255, 255, 255, .65); }
.tm-bewerten__sterne-gross { display: inline-flex; gap: .2rem; color: #F5C451; }
.tm-bewerten__sterne-gross svg { width: 1.8rem; height: 1.8rem; fill: currentColor; animation: tmStern .5s calc(var(--n, 0) * 80ms) cubic-bezier(.2, 1.6, .4, 1) both; }
.tm-bewerten__sterne-gross svg:nth-child(2) { --n: 1; } .tm-bewerten__sterne-gross svg:nth-child(3) { --n: 2; } .tm-bewerten__sterne-gross svg:nth-child(4) { --n: 3; } .tm-bewerten__sterne-gross svg:nth-child(5) { --n: 4; }
@keyframes tmStern { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }
@media (max-width: 760px) {
  .tm-bewerten__karte, .tm-bewerten--danke { grid-template-columns: minmax(0, 1fr); }
  .tm-bewerten__text { grid-column: 1 / -1; }
  .tm-sterne label { width: 2.6rem; }
}
