/* Eigene Auswahllisten (js/select.js) – gleich in Rose, auf der Support- und der Buchungsseite. */
select.sel-open {
  outline: none; background-color: #fff; box-shadow: 0 0 0 2px var(--ink, #0a0a10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' fill='none' stroke='%23181818' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sel-pop {
  position: fixed; z-index: 120; display: flex; flex-direction: column; gap: 6px; padding: 6px;
  background: var(--surface, #fff); color: var(--text, #0a0a10); border-radius: 22px;
  box-shadow: 0 18px 50px rgba(10, 10, 16, 0.2), 0 0 0 1px rgba(10, 10, 16, 0.05);
  font: 600 15px var(--sans, system-ui, sans-serif); overflow: hidden; animation: sel-in 0.12s ease-out;
}
.sel-pop.up { animation-name: sel-in-up; }
@keyframes sel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes sel-in-up { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sel-list { overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 2px; min-height: 0; flex: 1 1 auto; scrollbar-width: thin; }
.sel-opt {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 16px;
  cursor: pointer; line-height: 1.3; user-select: none; -webkit-user-select: none; flex: none;
}
.sel-opt.active { background: var(--surface-2, #f3f3f6); }
.sel-opt.on { font-weight: 800; }
.sel-opt[aria-disabled="true"] { color: var(--ph, #a3a3a9); cursor: default; }
.sel-opt[aria-disabled="true"].active { background: transparent; }
.sel-txt { flex: 1; min-width: 0; overflow-wrap: break-word; }
.sel-check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rose-2, #8d114e); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.sel-opt.on .sel-check { visibility: visible; }
.sel-group { display: flex; flex-direction: column; gap: 2px; }
.sel-group + .sel-group, .sel-opt + .sel-group { margin-top: 6px; }
.sel-group-title { padding: 8px 14px 4px; font-size: 12px; font-weight: 800; color: var(--muted, #55555b); }
.sel-search {
  width: 100%; min-height: 44px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; flex: none;
  background: var(--bg-2, #f3f3f6); color: var(--text, #0a0a10); font: 600 15px var(--sans, system-ui, sans-serif); box-shadow: none;
}
.sel-search:focus { outline: none; box-shadow: 0 0 0 2px var(--ink, #0a0a10); background: #fff; }
.sel-empty { padding: 14px; color: var(--muted, #55555b); font-size: 14px; text-align: center; }
.sel-empty[hidden], .sel-opt[hidden], .sel-group[hidden] { display: none; }

/* Handy: Blatt von unten (wie „Mehr“) */
.sel-back { position: fixed; inset: 0; z-index: 119; background: rgba(10, 10, 16, 0.38); animation: sel-fade 0.15s; }
@keyframes sel-fade { from { opacity: 0; } to { opacity: 1; } }
.sel-pop.sheet {
  left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: min(72vh, 560px);
  border-radius: 30px 30px 0 0; padding: 8px 12px calc(14px + env(safe-area-inset-bottom)); gap: 10px; animation: sel-sheet 0.2s ease-out;
}
@keyframes sel-sheet { from { transform: translateY(30px); opacity: 0.4; } to { transform: none; opacity: 1; } }
.sel-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 2px 6px 2px; flex: none; }
.sel-grip { width: 44px; height: 5px; border-radius: 999px; background: var(--line-2, #e1e1e4); }
.sel-title { align-self: flex-start; font-size: 18px; font-weight: 800; padding: 0 6px; }
.sel-pop.sheet .sel-opt { min-height: 52px; font-size: 16px; padding: 12px 16px; }
.sel-pop.sheet .sel-opt.active { background: transparent; }
.sel-pop.sheet .sel-opt.on { background: var(--surface-2, #f3f3f6); }
.sel-pop.sheet .sel-search { font-size: 16px; }
html.sel-lock, html.sel-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sel-pop, .sel-pop.sheet, .sel-back { animation: none; } }

/* ---------- Datum und Uhrzeit (js/pickers.js) ---------- */
/* das echte Feld trägt nur noch den Wert – sichtbar ist der Feld-Knopf daneben */
input.dt-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; opacity: 0; pointer-events: none; }
.dt-field {
  display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; min-height: 50px; padding: 12px 18px 12px 20px; border: 0; border-radius: 999px;
  background: var(--bg-2, #f3f3f6); color: var(--text, #0a0a10); font: 600 15px var(--sans, system-ui, sans-serif); text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 16, 0.035); transition: box-shadow 0.15s, background 0.15s; -webkit-tap-highlight-color: transparent;
}
.dt-field:hover { background: var(--surface-3, #e8e8eb); }
.dt-field:focus-visible, .dt-field.dt-open { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--ink, #0a0a10); }
.dt-field:disabled { opacity: 0.5; cursor: default; }
.dt-field[hidden] { display: none; }
.dt-txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dt-field.dt-empty .dt-txt { color: var(--ph, #a3a3a9); }
.dt-ico { width: 18px; height: 18px; flex: none; color: var(--muted, #55555b); }
.dt-field.dt-open .dt-ico { color: var(--rose-2, #8d114e); }

.dt-pop { padding: 12px; gap: 0; }
.dt-body { display: grid; gap: 12px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dt-pop.both .dt-body { grid-template-columns: minmax(0, 1fr) 168px; align-items: stretch; }

/* Kalender */
.dt-cal { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dt-cal-head { display: flex; align-items: center; gap: 6px; padding: 2px 2px 4px; }
.dt-month { flex: 1; text-align: center; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.dt-nav { width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2, #f3f3f6); color: var(--text, #0a0a10); cursor: pointer; flex: none; }
.dt-nav:hover { background: var(--surface-3, #e8e8eb); }
.dt-nav .dt-ico { width: 18px; height: 18px; color: currentColor; }
.dt-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.dt-wd { text-align: center; font-size: 11.5px; font-weight: 800; color: var(--faint, #66666c); padding: 4px 0 6px; letter-spacing: 0.02em; }
.dt-day {
  aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--text, #0a0a10);
  font: 700 14px var(--sans, system-ui, sans-serif); font-variant-numeric: tabular-nums; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.dt-day.we { color: var(--muted, #55555b); }
.dt-day:hover { background: var(--surface-2, #f3f3f6); }
.dt-day.today { box-shadow: inset 0 0 0 2px var(--rose, #ec0b7a); color: var(--rose-2, #8d114e); }
.dt-day.on { background: var(--rose, #ec0b7a); color: var(--on-rose, #0a0a10); box-shadow: 0 6px 16px rgba(236, 11, 122, 0.35); font-weight: 800; }
.dt-day:disabled { color: var(--line-2, #e1e1e4); cursor: default; background: transparent; box-shadow: none; }
.dt-day:focus-visible, .dt-t:focus-visible, .dt-nav:focus-visible, .dt-btn:focus-visible { outline: 2px solid var(--ink, #0a0a10); outline-offset: 1px; }

/* Uhrzeit: Stunden- und Minuten-Spalte */
.dt-time { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
.dt-pop.time .dt-time { height: 236px; }
.dt-pop.both .dt-time { height: 100%; max-height: 320px; padding-left: 12px; border-left: 1px solid var(--line, #ededf0); }
.dt-col { display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.dt-col-head { font-size: 11.5px; font-weight: 800; color: var(--faint, #66666c); text-align: center; padding-top: 4px; }
.dt-col-list { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; flex: 1; min-height: 0; position: relative; padding: 2px; }
.dt-col-list::-webkit-scrollbar { display: none; }
.dt-t {
  flex: none; min-height: 38px; border: 0; border-radius: 999px; background: transparent; color: var(--text, #0a0a10);
  font: 700 15px var(--sans, system-ui, sans-serif); font-variant-numeric: tabular-nums; cursor: pointer;
}
.dt-t:hover { background: var(--surface-2, #f3f3f6); }
.dt-t.on { background: var(--ink, #0a0a10); color: #fff; }

.dt-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 10px; margin-top: 12px; border-top: 1px solid var(--line, #ededf0); flex-wrap: wrap; flex: none; }
.dt-body { flex: 1 1 auto; }
.dt-btn { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; font: 700 14px var(--sans, system-ui, sans-serif); cursor: pointer; background: var(--bg-2, #f3f3f6); color: var(--text, #0a0a10); }
.dt-btn.ghost { background: transparent; }
.dt-btn.ghost:hover { background: var(--surface-2, #f3f3f6); }
.dt-btn.primary { background: var(--rose, #ec0b7a); color: var(--on-rose, #0a0a10); font-weight: 800; }
.dt-btn.primary:hover { filter: brightness(1.05); }
.dt-foot .dt-btn:first-child:not(.primary) { margin-right: auto; }

/* Handy: als Blatt von unten, große Ziele */
.sel-pop.sheet.dt-pop { padding: 8px 14px calc(14px + env(safe-area-inset-bottom)); gap: 8px; max-height: min(88vh, 720px); }
.sel-pop.sheet.dt-pop.both .dt-body { grid-template-columns: minmax(0, 1fr); }
.sel-pop.sheet.dt-pop.both .dt-time { height: 190px; padding-left: 0; border-left: 0; border-top: 1px solid var(--line, #ededf0); padding-top: 8px; }
.sel-pop.sheet.dt-pop.time .dt-time { height: 260px; }
.sel-pop.sheet .dt-day { min-height: 40px; font-size: 15px; }
.sel-pop.sheet .dt-t { min-height: 44px; font-size: 16px; }
.sel-pop.sheet .dt-btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
.sel-pop.sheet .dt-foot .dt-btn.primary { flex: 1; max-width: 220px; }

/* Vorschläge beim Tippen */
.sel-pop.dt-sug { padding: 6px; }
