/* Terminbuchung (design/project/Kalender.dc.html) */
.tb { background: var(--leinen); border-radius: var(--radius-karte); padding: clamp(24px, 4vw, 44px); color: var(--walnuss); display: flex; flex-direction: column; gap: 28px; }
.tb[hidden] { display: none; }
.tb-schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tb-schritte li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 300; color: #6B5C4E; }
.tb-schritte li span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--rand); font-size: 13px; font-weight: 400; }
.tb-schritte li.erledigt { font-weight: 400; color: var(--olive); }
.tb-schritte li.erledigt span { border-color: var(--olive); color: var(--olive); }
.tb-schritte li[aria-current="step"] { font-weight: 500; color: var(--walnuss); }
.tb-schritte li[aria-current="step"] span { background: var(--umbra); border-color: var(--umbra); color: var(--leinen); }

.tb-titel { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: 26px; line-height: 1.3; }
.tb-arten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tb-art { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--feld-rand); background: var(--feld-grund); color: var(--walnuss); font-family: var(--font-sans); font-weight: 300; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.tb-art:hover { border-color: var(--umbra); box-shadow: 0 0 0 1px var(--umbra); }
.tb-art__titel { font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 1.4; }
.tb-art__unter { font-size: 15px; font-weight: 400; color: var(--olive); }
.tb-art__text { font-size: 15px; line-height: 1.6; color: var(--erde); }

.tb-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.tb-kopf p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-kopf strong { font-family: var(--font-serif); font-weight: 400; font-size: 19px; line-height: 1.4; }
.tb-kopf small { font-size: 15px; color: var(--text-muted); }
.tb-link { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--umbra); font-family: var(--font-sans); font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; align-self: flex-start; }

.tb-wahl { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 44px; }
.tb-monat { flex: 1 1 300px; max-width: 420px; }
.tb-monat__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tb-monat__nav p { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 18px; }
.tb-rund { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--rand); background: transparent; cursor: pointer; }
.tb-rund:disabled { opacity: .35; cursor: default; }
.tb-wochentage, .tb-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.tb-wochentage { margin-bottom: 6px; text-align: center; font-size: 13px; font-weight: 400; color: var(--text-muted); }
.tb-tag { width: 100%; height: 44px; padding: 0; border-radius: 999px; border: 1px solid transparent; background: transparent; color: #A3968A; font-family: var(--font-sans); font-size: 15px; font-weight: 300; cursor: default; }
.tb-tag.frei { background: var(--sand); color: var(--walnuss); font-weight: 400; cursor: pointer; }
.tb-tag.frei:hover { border-color: var(--umbra); }
.tb-tag.heute { border-color: var(--olive); }
.tb-tag[aria-pressed="true"] { background: var(--umbra); border-color: var(--umbra); color: var(--leinen); font-weight: 400; }
.tb-tag.leer { visibility: hidden; }

.tb-zeiten-box { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; }
.tb-zeiten-box h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.4; }
.tb-zeiten-box p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.tb-zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 4px; }
.tb-zeit { min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--feld-rand); background: var(--feld-grund); color: var(--walnuss); font-family: var(--font-sans); font-size: 16px; font-weight: 400; cursor: pointer; }
.tb-zeit:hover { border-color: var(--umbra); }
.tb-zeit[aria-pressed="true"] { background: var(--umbra); border-color: var(--umbra); color: var(--leinen); }

.tb-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 22px; border-top: 1px solid #DCCFBD; }
.tb-fuss p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--erde); }
.tb .btn { min-height: 52px; padding: 0 28px; }

.tb-details { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 40px; }
.tb-zusammenfassung { flex: 1 1 240px; max-width: 340px; padding: 24px 26px; border-radius: 18px; background: var(--sand); display: flex; flex-direction: column; gap: 8px; }
.tb-zusammenfassung p { margin: 0; }
.tb-zusammenfassung .dachzeile { font-size: 15px; }
.tb-zusammenfassung .art { font-family: var(--font-serif); font-weight: 400; font-size: 18px; line-height: 1.45; }
.tb-form { flex: 1 1 360px; margin: 0; }
.tb-form .reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.tb-form fieldset { margin: 0; padding: 0; border: 0; }
.tb-form legend { padding: 0; margin: 0 0 6px; font-size: 15px; font-weight: 400; }
.tb-radios { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.tb-radios label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.tb-radios input { width: 20px; height: 20px; margin: 0; accent-color: var(--umbra); }
.tb-fehler { margin: 0; padding: 14px 18px; border-radius: 12px; background: #F2E0D9; color: var(--fehler); font-size: 15px; }

.tb-fertig { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 640px; }
.tb-fertig h3 { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: 28px; line-height: 1.3; }
.tb-fertig p { margin: 0; font-size: 17px; line-height: 1.7; }
.tb-laden { margin: 0; }
