/* Terminbuchung E-world — Formular (WI 11647075, 11690352)
   Wird von /e-world/ und /e-world-vorschau/ geladen. Grundlage der Tokens
   sind styles.css und branche.css. */

.tb-wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; font-family: var(--sans, Arial, sans-serif); color: var(--ink, #1a1a1a); }
.tb-kopf h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 0 0 10px; letter-spacing: -.02em; }
.tb-kopf h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 600; margin: 0 0 10px; letter-spacing: -.02em; }
.tb-kopf p { font-size: 15px; line-height: 1.6; color: var(--ink-2, #4b5563); margin: 0 0 22px; }
.tb-card { background: #fff; border: 1px solid var(--line-strong, #e5e7eb); border-top: 3px solid var(--lime, #93c90e); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.tb-abschnitt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3, #6b7280); margin: 22px 0 10px; }
.tb-abschnitt:first-child { margin-top: 0; }
.tb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .tb-grid { grid-template-columns: 1fr; } }
.tb-feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tb-label { font-size: 13px; font-weight: 600; }
.tb-input, .tb-textarea { padding: 11px 14px; border: 1px solid var(--line-strong, #e5e7eb); border-radius: 9px; font-family: inherit; font-size: 14px; background: #fff; }
.tb-input:focus, .tb-textarea:focus { outline: none; border-color: var(--lime, #93c90e); box-shadow: 0 0 0 3px rgba(147,201,14,.12); }
.tb-radio { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.tb-radio label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tb-chip { position: relative; }
.tb-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.tb-chip label { display: inline-flex; padding: 6px 13px; border: 1.5px solid var(--line-strong, #e5e7eb); border-radius: 20px; font-size: 12.5px; cursor: pointer; }
.tb-chip input:checked + label { background: var(--lime, #93c90e); border-color: var(--lime, #93c90e); color: #fff; }
.tb-tag { border-top: 1px solid var(--line-strong, #e5e7eb); padding: 14px 0 4px; margin-top: 10px; }
.tb-tag-titel { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.tb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.tb-slot { position: relative; }
.tb-slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.tb-slot label { display: block; text-align: center; padding: 9px 4px; border: 1.5px solid var(--line-strong, #e5e7eb); border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
.tb-slot input:checked + label { background: var(--lime, #93c90e); border-color: var(--lime, #93c90e); color: #fff; }
.tb-slot input:disabled + label { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.tb-hinweis { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.tb-hinweis.ok { background: #f0f9e6; color: #3a5005; }
.tb-hinweis.fehler { background: #fee2e2; color: #991b1b; }
.tb-submit { width: 100%; padding: 15px 20px; background: var(--lime, #93c90e); color: #000; border: none; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; margin-top: 10px; }
.tb-submit:hover { background: #7ab00c; }
.tb-klein { font-size: 12px; color: var(--ink-3, #6b7280); text-align: center; margin-top: 12px; line-height: 1.5; }
.tb-pflicht { color: #b91c1c; }
.tb-unavailable { background: #fff; border: 1px solid var(--line-strong, #e5e7eb); border-top: 3px solid var(--lime, #93c90e); border-radius: 14px; padding: 22px 24px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2, #4b5563); max-width: none; }
.tb-unavailable a { color: var(--blue, #5f7d12); font-weight: 600; }
.tb-wrap :focus-visible { outline: 3px solid var(--lime, #93c90e); outline-offset: 2px; border-radius: 6px; }
.tb-wrap .tb-submit:focus-visible { outline-color: var(--ink, #14181d); }
