/* Platzlicht (früher Arbeitstitel Mochi) – Komponente „Beratungsgespräch buchen“ für die Landingpage.
 * Eigenständig, alle Klassen mit Präfix bt- und unter .bt bzw. .bt-overlay gekapselt (keine Kollision mit landing.css).
 * Sieht aus und bedient sich wie das Gäste-Widget (buchen/booking.css), ohne dessen globale Klassen.
 * Nutzt die Variablen aus ../shared/tokens.css, mit Ersatzwerten falls die Datei fehlt.
 * Schriftstärken 400, 600, 700 (Knöpfe) und 800 (Überschriften). Onepage-Stil (14.10.2026): Fenster 20px, Knöpfe 6px, Felder 8px,
 * Hauptknopf schwarz, Auswahl schwarz, Braun nur als Akzent (Symbole, Links).
 */
.bt, .bt-overlay {
  --bt-ink: var(--ink, #1D1D1B);
  --bt-ink-2: var(--ink-2, #63636A);
  --bt-ink-3: var(--ink-3, #6A6A71);
  --bt-surface: var(--surface, #FFFFFF);
  --bt-accent: var(--brand-strong, #6F4628);
  --bt-accent-hover: #5D3B22;
  --bt-primary: var(--primary, #1D1D1B);
  --bt-primary-hover: var(--primary-hover, #3A3A37);
  --bt-tint: var(--brand-tint, #F5EDE5);
  --bt-tint-2: var(--brand-tint-2, #E8D6C5);
  --bt-page: var(--bg-sunken, #F4F3F3);
  --bt-soft: #F2F2F2;
  --bt-line: var(--line, #EAE9E9);
  --bt-ctl-line: var(--line-strong, #D6D5D5);
  --bt-line-strong: #ABABAF;
  --bt-danger: var(--danger, #D70015);
  --bt-danger-bg: var(--danger-bg, #FDECEA);
  --bt-focus: var(--focus, 0 0 0 3px rgba(111,70,40,.30));
  --bt-ease: var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
  --bt-font: var(--font, "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  --bt-win-r: 20px; --bt-ctl-r: 6px; --bt-in-r: 8px;
  --bt-pad: 20px;
}

/* ---------- Grundgerüst ---------- */
.bt {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--bt-surface); color: var(--bt-ink);
  font-family: var(--bt-font); font-size: 0.9375rem; line-height: 1.5; text-align: left;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
.bt *, .bt *::before, .bt *::after { box-sizing: border-box; }
.bt :where(h2, h3, h4, p, dl, dd, ul, form) { margin: 0; padding: 0; }
.bt :where(button, input, textarea) { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.bt :where(button, a, [role="radio"]) { touch-action: manipulation; }
.bt :where(button, [role="radio"]) { user-select: none; -webkit-user-select: none; }
.bt b, .bt strong { font-weight: 700; }
.bt :focus { outline: none; }
.bt :focus-visible { outline: none; box-shadow: var(--bt-focus); }
.bt svg { flex: none; }
.bt-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bt ::selection { background: var(--bt-tint-2); color: var(--bt-ink); }

/* Inline: Karte mit Rahmen direkt in der Seite, wächst mit dem Inhalt */
.bt--inline { border: 1px solid var(--bt-line); border-radius: var(--bt-win-r); overflow: clip; }

/* ---------- Statuszeile (füllt sich beim Wählen) ---------- */
.bt-top {
  display: flex; align-items: center; gap: 4px; min-height: 52px;
  padding: 4px var(--bt-pad); background: var(--bt-surface); border-bottom: 1px solid var(--bt-line);
}
.bt--sheet .bt-top { position: sticky; top: 0; z-index: 4; }
.bt-top.has-back { padding-left: 6px; }
.bt-back {
  flex: none; width: 44px; height: 44px; border-radius: var(--bt-ctl-r); border: 0; background: transparent; color: var(--bt-ink);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background 150ms var(--bt-ease), transform 120ms var(--bt-ease);
}
.bt-back:active { transform: scale(0.94); background: var(--bt-soft); }
.bt-back svg { width: 22px; height: 22px; }
.bt-summary {
  min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0;
  font-size: 0.9375rem; font-weight: 600; color: var(--bt-ink); line-height: 1.35; font-variant-numeric: tabular-nums;
}
.bt-sum-part { white-space: nowrap; }
.bt-sum-sep { color: var(--bt-ink-2); font-weight: 400; }
.bt-ph { color: var(--bt-ink-2); font-weight: 400; }

/* ---------- Inhalt ---------- */
.bt-body { padding: 20px var(--bt-pad) 28px; }
.bt-step { display: grid; gap: 28px; min-width: 0; }
.bt-enter { animation: btIn 220ms var(--bt-ease) both; }
.bt-enter[data-dir="-1"] { animation-name: btInBack; }
@keyframes btIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes btInBack { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.bt-title:focus, .bt-done h3:focus { box-shadow: none; }

.bt-sec { display: grid; gap: 10px; min-width: 0; }
.bt-lbl { font-family: var(--bt-font); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; color: var(--bt-ink-2); letter-spacing: 0; }
.bt-quiet { display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--bt-ink-2); line-height: 1.5; }
.bt-quiet svg { width: 15px; height: 15px; }

/* Gesprächsart: Segment-Umschalter, drei gleich breite Felder, Text darf umbrechen */
.bt-seg {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; padding: 3px;
  border-radius: var(--bt-in-r); background: var(--bt-page);
}
.bt-seg-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 64px; padding: 8px 6px; border: 0; border-radius: 6px;
  background: transparent; color: var(--bt-ink-2); cursor: pointer; text-align: center;
  font-size: 0.8125rem; font-weight: 400; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto;
  transition: background 150ms var(--bt-ease), color 150ms, box-shadow 150ms, transform 120ms var(--bt-ease);
}
.bt-seg-opt svg { width: 20px; height: 20px; }
.bt-seg-opt:active { transform: scale(0.97); }
.bt-seg-opt[aria-checked="true"] {
  background: var(--bt-surface); color: var(--bt-ink); font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,.10);
}
.bt-seg-opt[aria-checked="true"] svg { color: var(--bt-accent); }
.bt-seg-opt:focus-visible { box-shadow: var(--bt-focus); }

/* Tagesleiste: ruhige Zellen, gewählt = getönt mit Akzentlinie, geschlossen = gedämpft */
.bt-days {
  display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  margin: 0 calc(var(--bt-pad) * -1); padding: 2px var(--bt-pad) 4px; scrollbar-width: none; scroll-padding-inline: var(--bt-pad);
}
.bt-days::-webkit-scrollbar { display: none; }
.bt-day {
  flex: none; width: 56px; min-height: 72px; scroll-snap-align: start; border-radius: var(--bt-in-r);
  border: 1px solid transparent; background: transparent; color: var(--bt-ink); cursor: pointer;
  display: grid; align-content: center; justify-items: center; gap: 1px; padding: 8px 2px;
  transition: background 150ms var(--bt-ease), border-color 150ms, color 150ms, transform 120ms var(--bt-ease);
}
.bt-day:active { transform: scale(0.96); }
.bt-day-wd, .bt-day-m { font-size: 0.75rem; color: var(--bt-ink-2); line-height: 1.35; }
.bt-day-n { font-size: 1.1875rem; line-height: 1.25; font-variant-numeric: tabular-nums; }
.bt-day[aria-pressed="true"] { background: var(--bt-primary); border-color: var(--bt-primary); color: #FFFFFF; }
.bt-day[aria-pressed="true"] .bt-day-n { font-weight: 700; }
.bt-day[aria-pressed="true"] .bt-day-wd, .bt-day[aria-pressed="true"] .bt-day-m { color: #D6D5D5; }
.bt-day.is-closed { cursor: default; }
.bt-day.is-closed .bt-day-n { color: var(--bt-ink-3); }
.bt-day.is-closed:active { transform: none; }

/* Uhrzeiten: waagerechte Scroll-Leiste je Vormittag/Nachmittag */
.bt-slot-group { display: grid; gap: 8px; min-width: 0; }
.bt-slot-group + .bt-slot-group { margin-top: 8px; }
.bt-slot-h { font-family: var(--bt-font); font-size: 0.75rem; font-weight: 400; color: var(--bt-ink-2); letter-spacing: 0; }
.bt-tstrip { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; }
.bt-times {
  display: flex; gap: 8px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden; padding: 2px; margin: -2px;
  scroll-snap-type: x mandatory; scroll-padding-inline: 28px;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  --fade-l: 28px; --fade-r: 28px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
}
.bt-times::-webkit-scrollbar { display: none; }
.bt-tstrip.at-start .bt-times { --fade-l: 0px; }
.bt-tstrip.at-end .bt-times { --fade-r: 0px; }
.bt-time {
  flex: 0 0 clamp(68px, calc((100% - 32px) / 4.4), 92px); scroll-snap-align: start;
  min-height: 44px; border-radius: var(--bt-in-r); border: 1px solid var(--bt-ctl-line); background: var(--bt-surface);
  color: var(--bt-ink); font-size: 0.9375rem; font-weight: 400; cursor: pointer; padding: 0 4px; font-variant-numeric: tabular-nums;
  transition: background 150ms var(--bt-ease), border-color 150ms, color 150ms, transform 120ms var(--bt-ease);
}
.bt-time:active { transform: scale(0.96); }
.bt-time:focus-visible { position: relative; z-index: 1; }
.bt-time[aria-pressed="true"] {
  background: var(--bt-primary); border-color: var(--bt-primary); color: #FFFFFF; font-weight: 700;
}
.bt-time[aria-pressed="true"]:focus-visible { box-shadow: var(--bt-focus); }
.bt-time.is-off { background: transparent; border-color: transparent; color: var(--bt-ink-3); cursor: help; }
.bt-time.is-off:active { transform: none; }
.bt-tnav {
  display: none; flex: 0 0 32px; width: 32px; height: 44px; padding: 0; border: 0; border-radius: var(--bt-ctl-r);
  background: transparent; color: var(--bt-ink-2); cursor: pointer; align-items: center; justify-content: center;
  transition: background 150ms var(--bt-ease), color 150ms, opacity 150ms, transform 120ms var(--bt-ease);
}
.bt-tnav svg { width: 18px; height: 18px; }
.bt-tnav:active:not(:disabled) { transform: scale(0.94); }
.bt-tnav:disabled { opacity: 0.35; cursor: default; }
.bt-tstrip.no-overflow .bt-tnav { visibility: hidden; }

/* Hinweise */
.bt-note {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--bt-in-r);
  background: var(--bt-page); color: var(--bt-ink); font-size: 0.8125rem; line-height: 1.5;
}
.bt-note svg { width: 18px; height: 18px; margin-top: 0; color: var(--bt-ink-2); }
.bt-note-alert { background: var(--bt-danger-bg); }
.bt-note-alert svg { color: var(--bt-danger); }
.bt-note-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bt-mini {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--bt-ctl-r);
  border: 0; background: var(--bt-soft); color: var(--bt-ink); font-weight: 700;
  font-size: 0.8125rem; cursor: pointer; transition: transform 120ms var(--bt-ease), background 150ms;
}
.bt-mini:active { transform: scale(0.96); }

/* ---------- Kontaktformular ---------- */
.bt-form { display: grid; gap: 20px; }
.bt-field { display: grid; gap: 6px; min-width: 0; }
.bt-field > label { font-size: 0.8125rem; font-weight: 600; color: var(--bt-ink); }
.bt-field > label small { font-weight: 400; color: var(--bt-ink-2); font-size: 0.8125rem; margin-left: 4px; }
.bt-input, .bt-textarea {
  display: block; width: 100%; margin: 0; border: 1px solid var(--bt-ctl-line); background: var(--bt-surface); color: var(--bt-ink);
  font-size: 16px; /* kein iOS-Zoom */
  border-radius: var(--bt-in-r); box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.bt-input { height: 48px; padding: 0 16px; }
.bt-textarea { min-height: 96px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.bt-input::placeholder, .bt-textarea::placeholder { color: var(--bt-ink-3); opacity: 1; }
.bt-input:focus, .bt-textarea:focus { outline: none; border-color: var(--bt-accent); box-shadow: var(--bt-focus); }
.bt-input[aria-invalid="true"], .bt-textarea[aria-invalid="true"] { border-color: var(--bt-danger); }
.bt-hint { font-size: 0.8125rem; color: var(--bt-ink-2); }
.bt-err { font-size: 0.8125rem; color: var(--bt-danger); display: flex; align-items: flex-start; gap: 6px; }
.bt-err svg { width: 16px; height: 16px; margin-top: 2px; }
.bt-field-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bt-count { font-size: 0.75rem; color: var(--bt-ink-2); font-variant-numeric: tabular-nums; margin-left: auto; white-space: nowrap; }
.bt-count.is-near { color: var(--bt-accent); font-weight: 600; }

/* ---------- Aktionsleiste ---------- */
.bt-bar {
  display: grid; gap: 8px; padding: 12px var(--bt-pad) 12px;
  background: var(--bt-surface); border-top: 1px solid var(--bt-line);
}
.bt--sheet .bt-bar { position: sticky; bottom: 0; z-index: 5; }
.bt-bar-note { text-align: center; font-size: 0.75rem; color: var(--bt-ink-2); min-height: 0; }
.bt-bar-note:empty { display: none; }
.bt-bar-note.is-warn { color: var(--bt-accent); font-weight: 600; font-size: 0.8125rem; }
.bt-cta {
  width: 100%; height: 52px; padding: 0 24px; border-radius: var(--bt-ctl-r); border: 0;
  background: var(--bt-primary); color: #FFFFFF; box-shadow: none;
  font-size: 0.9375rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; white-space: nowrap;
  transition: background 150ms, color 150ms, transform 120ms var(--bt-ease);
}
.bt-cta svg { width: 18px; height: 18px; }
.bt-cta:active { transform: scale(0.98); }
.bt-cta:focus-visible { box-shadow: var(--bt-focus); }
.bt-cta[aria-disabled="true"] { background: var(--bt-soft); color: var(--bt-ink-2); box-shadow: none; cursor: not-allowed; font-weight: 700; }
.bt-cta[aria-disabled="true"]:active { transform: none; }
.bt-cta[aria-disabled="true"]:focus-visible { box-shadow: var(--bt-focus); }
.bt-cta.is-nudge { animation: btNudge 260ms var(--bt-ease); }
@keyframes btNudge { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-3px); } 70% { transform: translateX(3px); } }

/* ---------- Bestätigung ---------- */
.bt-done { display: grid; gap: 20px; padding-top: 8px; }
.bt-done-head { display: grid; gap: 6px; justify-items: start; }
.bt-done-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
  background: var(--bt-tint); color: var(--bt-accent); animation: btPop 320ms var(--bt-ease) both;
}
.bt-done-mark svg { width: 22px; height: 22px; stroke-width: 2.25; }
@keyframes btPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.bt-done h3 {
  font-family: var(--bt-font); font-weight: 700; font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--bt-ink); text-wrap: balance;
}
.bt-done-lead { color: var(--bt-ink-2); font-size: 0.9375rem; }
.bt-sum { border-top: 1px solid var(--bt-line); }
.bt-sum > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--bt-line); }
.bt-sum dt { color: var(--bt-ink-2); font-size: 0.8125rem; padding-top: 1px; }
.bt-sum dd { margin: 0; color: var(--bt-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bt-sum dd small { display: block; color: var(--bt-ink-2); font-size: 0.8125rem; }
.bt-done-actions { display: grid; gap: 4px; justify-items: center; }
.bt-btn {
  width: 100%; height: 52px; border-radius: var(--bt-ctl-r); border: 0; background: var(--bt-primary); color: #FFFFFF;
  font-size: 0.9375rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: background 150ms, transform 120ms var(--bt-ease);
}
.bt-btn svg { width: 18px; height: 18px; }
.bt-btn:active { transform: scale(0.98); }
.bt-link {
  border: 0; background: transparent; padding: 0 8px; color: var(--bt-accent); font-weight: 400; font-size: 0.9375rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; min-height: 44px; border-radius: var(--bt-in-r);
  transition: color 150ms, transform 120ms var(--bt-ease);
}
.bt-link:active { transform: scale(0.97); }

/* ---------- Fußzeile „Gebucht mit platzlicht“ ---------- */
.bt-foot {
  display: flex; justify-content: center; align-items: center; gap: 5px;
  margin: 0 var(--bt-pad); padding: 12px 0 14px; border-top: 1px solid var(--bt-line);
  font-size: 0.75rem; line-height: 1; letter-spacing: .01em; color: var(--bt-ink-2);
}
.bt-foot strong { color: var(--bt-ink-2); font-weight: 600; letter-spacing: 0; }
.bt-foot svg { width: 15px; height: 15px; margin-left: 2px; flex: none; }
.bt-foot .bt-word { width: 49.4px; height: 12px; margin-left: 0; color: var(--bt-ink-2); }
.bt-done ~ .bt-foot, .bt-body + .bt-foot { margin-top: 0; }

/* ---------- Hover nur mit Maus ---------- */
@media (hover: hover) and (pointer: fine) {
  .bt-back:hover { background: var(--bt-soft); }
  .bt-seg-opt:not([aria-checked="true"]):hover { color: var(--bt-ink); background: rgba(255,255,255,.55); }
  .bt-day:not(.is-closed):not([aria-pressed="true"]):hover { background: var(--bt-soft); }
  .bt-time:not(.is-off):not([aria-pressed="true"]):hover { border-color: var(--bt-line-strong); background: #F7F7F7; }
  .bt-time.is-off:hover { background: var(--bt-soft); }
  .bt-tnav { display: inline-flex; }
  .bt-tnav:not(:disabled):hover { background: var(--bt-soft); color: var(--bt-ink); }
  .bt-mini:hover { background-image: linear-gradient(rgba(0,0,0,.06), rgba(0,0,0,.06)); }
  .bt-cta:not([aria-disabled="true"]):hover, .bt-btn:hover { background: var(--bt-primary-hover); }
  .bt-link:hover { color: var(--bt-accent-hover); }
}

@media (min-width: 640px) {
  .bt--inline { --bt-pad: 24px; }
}

/* ---------- Overlay: Fenster (Computer) bzw. Sheet von unten (Handy) ---------- */
html.bt-lock, html.bt-lock body { overflow: hidden !important; }
.bt-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; font-family: var(--bt-font); color: var(--bt-ink);
}
.bt-overlay[hidden] { display: none; }
.bt-scrim {
  position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0;
  transition: opacity 220ms var(--bt-ease);
}
.bt-win {
  position: relative; display: flex; flex-direction: column; width: min(440px, 100%);
  max-height: min(760px, calc(100vh - 48px)); max-height: min(760px, calc(100svh - 48px));
  background: var(--bt-surface); border-radius: var(--bt-win-r); overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.14), 0 4px 14px rgba(0,0,0,.06);
  opacity: 0; transform: scale(0.97);
  transition: opacity 220ms var(--bt-ease), transform 220ms var(--bt-ease);
  will-change: transform;
}
.bt-overlay.is-open .bt-scrim { opacity: 1; }
.bt-overlay.is-open .bt-win { opacity: 1; transform: none; }
.bt-overlay.is-closing .bt-scrim { transition-duration: 200ms; }
.bt-overlay.is-closing .bt-win { transition-duration: 200ms; }
.bt-win *, .bt-win *::before, .bt-win *::after { box-sizing: border-box; }

.bt-head {
  position: relative; flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; align-items: start;
  padding: 16px 10px 14px 20px; border-bottom: 1px solid var(--bt-line); background: var(--bt-surface);
}
.bt-head-text { display: grid; gap: 2px; min-width: 0; padding-top: 2px; }
.bt-tagline { margin: 0 0 6px; font-size: 0.75rem; line-height: 1.4; color: var(--bt-ink-2); }
.bt-head h2 {
  margin: 0; font-family: var(--bt-font); font-weight: 700; font-size: 1.375rem; line-height: 1.15; letter-spacing: -0.025em; color: var(--bt-ink);
}
.bt-head h2:focus { outline: none; box-shadow: none; }
.bt-head-sub { margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--bt-ink-2); }
.bt-close {
  width: 44px; height: 44px; border: 0; border-radius: var(--bt-ctl-r); background: transparent; color: var(--bt-ink);
  display: grid; place-items: center; cursor: pointer; padding: 0; font: inherit;
  transition: background 150ms var(--bt-ease), transform 120ms var(--bt-ease);
}
.bt-close svg { width: 22px; height: 22px; }
.bt-close:active { transform: scale(0.94); background: var(--bt-soft); }
.bt-close:focus { outline: none; }
.bt-close:focus-visible { box-shadow: var(--bt-focus); }
@media (hover: hover) and (pointer: fine) { .bt-close:hover { background: var(--bt-soft); } }
.bt-grip { display: none; }
.bt-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }

/* Handy: Sheet von unten */
@media (max-width: 640px) {
  .bt-overlay { align-items: flex-end; padding: 0; }
  .bt-win {
    width: 100%; max-height: 92vh; max-height: 92svh; border-radius: var(--bt-win-r) var(--bt-win-r) 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    opacity: 1; transform: translateY(100%);
    transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 32px rgba(0,0,0,.16);
  }
  .bt-overlay.is-open .bt-win { transform: translateY(0); }
  .bt-overlay.is-closing .bt-win { transition: transform 200ms var(--bt-ease); }
  .bt-overlay.is-dragging .bt-win { transition: none; }
  .bt-head { padding-top: 22px; touch-action: none; cursor: grab; }
  .bt-grip {
    display: block; position: absolute; top: 7px; left: 50%; width: 36px; height: 5px; margin-left: -18px;
    border-radius: 999px; background: var(--bt-line-strong);
  }
}

/* Weniger Bewegung: nur Einblenden, keine Verschiebung */
@media (prefers-reduced-motion: reduce) {
  .bt-enter, .bt-enter[data-dir="-1"] { animation: btFade 160ms linear both; }
  @keyframes btFade { from { opacity: 0; } to { opacity: 1; } }
  .bt-done-mark, .bt-cta.is-nudge { animation: none; }
  .bt *, .bt-win { transition-property: opacity, background-color, border-color, color, box-shadow !important; }
  .bt-win, .bt-overlay.is-open .bt-win { transform: none !important; }
  .bt-win { opacity: 0; transition: opacity 200ms linear !important; }
  .bt-overlay.is-open .bt-win { opacity: 1; }
  .bt :active { transform: none !important; }
}

/* Honeypot gegen Bots: für Menschen unsichtbar, nicht per Tab erreichbar */
.bt-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bt-cta[aria-busy="true"] { cursor: progress; }
