/* FundaMenD – Modul TB-001 Terminbuchung (Entwurf)
   Nimmt die Werte des heutigen Looks auf: Fira Sans leicht, PT Sans, Grau #555 / #4f4f4f, Weiß. */
.tb-001 {
  --tb-text: #000000;
  --tb-grau: #555555;
  --tb-dunkel: rgba(79, 79, 79, 1);
  --tb-hell: #f4f4f4;
  --tb-linie: #e2e2e2;
  --tb-fuss: rgba(176, 176, 176, 1);
}
.tb-001 .tb-schritte { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 30px; padding: 0; list-style: none; }
.tb-001 .tb-schritte li { font-family: 'Fira Sans', sans-serif; font-weight: 300; color: #999; font-size: 1rem; }
.tb-001 .tb-schritte li.aktiv { color: var(--tb-text); }
.tb-001 .tb-schritte li.fertig { color: var(--tb-grau); }
.tb-001 .tb-schritte li span { display: inline-block; width: 1.6em; height: 1.6em; line-height: 1.6em; text-align: center; border: 1px solid currentColor; border-radius: 50%; margin-right: 6px; font-size: .85em; }
.tb-001 .tb-schritte li.aktiv span { background: var(--tb-dunkel); border-color: var(--tb-dunkel); color: #fff; }

.tb-001 .tb-leistungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.tb-001 .tb-karte { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: left; background: #fff;
  border: 1px solid var(--tb-linie); border-radius: 2px; padding: 28px 28px 24px; cursor: pointer; font: inherit; color: var(--tb-text);
  box-shadow: 0 0 20px 0 rgba(0,0,0,.03); transition: border-color .25s, box-shadow .25s, transform .25s; }
.tb-001 .tb-karte::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--tb-dunkel); transition: width .35s ease; }
.tb-001 .tb-karte:hover, .tb-001 .tb-karte:focus-visible { border-color: #cfcfcf; box-shadow: 0 14px 34px -10px rgba(0,0,0,.16); transform: translateY(-2px); outline: none; }
.tb-001 .tb-karte:hover::before, .tb-001 .tb-karte:focus-visible::before { width: 100%; }
.tb-001 .tb-titel { font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 1.5rem; line-height: 1.25; letter-spacing: .005em; hyphens: manual; overflow-wrap: normal; }
.tb-001 .tb-text { color: var(--tb-grau); font-size: .98rem; line-height: 1.5; }
.tb-001 .tb-zusatz { color: #8a8a8a; font-size: .86rem; line-height: 1.45; font-style: italic; }
.tb-001 .tb-fuss { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--tb-linie); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tb-001 .tb-dauer { display: inline-flex; align-items: center; gap: 7px; color: var(--tb-grau); font-size: .95rem; white-space: nowrap; }
.tb-001 .tb-dauer svg { width: 17px; height: 17px; flex: none; }
.tb-001 .tb-preis { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; white-space: nowrap; }
.tb-001 .tb-preis strong { font-family: 'Fira Sans', sans-serif; font-weight: 400; font-size: 1.45rem; color: var(--tb-text); }
.tb-001 .tb-preis small { color: #8a8a8a; font-size: .8rem; letter-spacing: .03em; }
.tb-001 .tb-weiter { font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-grau);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.tb-001 .tb-weiter span { display: inline-block; margin-left: 4px; }
.tb-001 .tb-karte:hover .tb-weiter, .tb-001 .tb-karte:focus-visible .tb-weiter { opacity: 1; transform: none; }
@media (hover: none) { .tb-001 .tb-weiter { opacity: 1; transform: none; } }
@media (max-width: 640px) { .tb-001 .tb-karte { padding: 22px 20px 18px; } .tb-001 .tb-titel { font-size: 1.35rem; } }

.tb-001 .tb-wahl { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px; }
@media (max-width: 800px) { .tb-001 .tb-wahl { grid-template-columns: 1fr; gap: 24px; } }

.tb-001 .tb-monat { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 1.2rem; }
.tb-001 .tb-monat button { background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--tb-grau); padding: 4px 10px; }
.tb-001 .tb-monat button:disabled { color: #ccc; cursor: default; }
.tb-001 .tb-kalender { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tb-001 .tb-kalender .wt { font-size: .8rem; color: #999; padding: 4px 0; }
.tb-001 .tb-kalender button { aspect-ratio: 1; border: 0; background: none; font: inherit; color: #bbb; cursor: default; border-radius: 50%; }
.tb-001 .tb-kalender button.frei { color: var(--tb-text); background: var(--tb-hell); cursor: pointer; font-weight: 600; }
.tb-001 .tb-kalender button.frei:hover { background: #e6e6e6; }
.tb-001 .tb-kalender button.gewaehlt { background: var(--tb-dunkel); color: #fff; }

.tb-001 .tb-zeiten h4 { font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 1.2rem; margin: 0 0 12px; }
.tb-001 .tb-gruppe { color: #999; font-size: .85rem; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.tb-001 .tb-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.tb-001 .tb-raster button { border: 1px solid var(--tb-linie); background: #fff; padding: 10px 0; font: inherit; font-family: 'Fira Sans', sans-serif; cursor: pointer; color: var(--tb-text); }
.tb-001 .tb-raster button:hover, .tb-001 .tb-raster button:focus-visible { border-color: var(--tb-grau); outline: none; }
.tb-001 .tb-raster button.gewaehlt { background: var(--tb-dunkel); border-color: var(--tb-dunkel); color: #fff; }
.tb-001 .tb-leer { color: var(--tb-grau); }

.tb-001 .tb-formular { max-width: 640px; }
.tb-001 .tb-formular label { display: block; font-size: .95rem; color: var(--tb-grau); margin: 14px 0 4px; }
.tb-001 .tb-formular input, .tb-001 .tb-formular textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--tb-linie); background: #fff; padding: 10px 12px; font: inherit; color: var(--tb-text); text-align: left; }
.tb-001 .tb-formular input:focus, .tb-001 .tb-formular textarea:focus { border-color: var(--tb-grau); outline: none; }
.tb-001 .tb-honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tb-001 .tb-hinweis { background: var(--tb-hell); padding: 16px 20px; margin: 0 0 20px; font-size: .95rem; }
.tb-001 .tb-klein { font-size: .85rem; color: var(--tb-grau); }
.tb-001 .tb-fehler { color: #a0281e; min-height: 1.4em; margin-top: 10px; }

.tb-001 .tb-knopf { display: inline-block; background: var(--tb-dunkel); color: #fff; border: 0; padding: 12px 28px; font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 1.1rem; cursor: pointer; transition: background .2s; }
.tb-001 .tb-knopf:hover { background: #333; color: #fff; }
.tb-001 .tb-zurueck { background: none; border: 0; color: var(--tb-grau); cursor: pointer; font: inherit; padding: 0; margin-right: 20px; text-decoration: underline; }
.tb-001 .tb-aktionen { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.tb-001 .tb-auswahl { font-family: 'Fira Sans', sans-serif; font-weight: 300; font-size: 1.25rem; margin-bottom: 8px; }

/* Navigationspunkt „Termin buchen“ – gleiche Schrift, dezent abgesetzt */
.navigation .uk-navbar-nav > li.tb-nav > a { border: 1px solid currentColor; padding: 0 14px; min-height: 44px; margin-top: 18px; }

/* Personenzahl (bestimmt Dauer und Preis) */
.tb-001 .tb-personen { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; font-family: 'Fira Sans', sans-serif; font-weight: 300; }
.tb-001 .tb-personen button { width: 44px; height: 44px; border: 1px solid var(--tb-linie); background: #fff; font-size: 1.3rem; cursor: pointer; color: var(--tb-text); }
.tb-001 .tb-personen button:disabled { color: #bbb; cursor: default; }
.tb-001 .tb-personen strong { min-width: 1.5em; text-align: center; font-size: 1.2rem; font-weight: 400; }

/* Eigene Seite /termin/: die Navigation liegt über dem Inhalt (wie auf den Seiten mit Titelbild) – darunter Platz lassen */
#termin.tb-001.uk-section { padding-top: 160px; }
@media (min-width: 960px) { #termin.tb-001.uk-section { padding-top: 210px; } }
#termin.tb-001 h2 { margin-bottom: 14px; }
.tb-001 p a, .tb-001 .tb-klein a { color: inherit; text-decoration: underline; }
