/* Kontaktleiste am Handy (Startpilot-Standard 15.10.2026): Anrufen · WhatsApp · Anfrage, nur unter 768 px.
   Ersetzt dort die schwebenden Knöpfe (die bleiben am Rechner unverändert). Farben je Kunde unten in :root. */
:root {
  /* ShinyDrive: Hintergrund hsl(0 0% 3%), Karte hsl(0 0% 12%), Hauptfarbe hsl(348 83% 47%) = #dc143c (Weiß darauf 5,0:1) */
  --kl-grund: rgba(10, 10, 10, .97);   /* Leistenhintergrund */
  --kl-linie: rgba(255, 255, 255, .14);
  --kl-knopf: #1f1f1f;                 /* Knopf WhatsApp/Anfrage */
  --kl-text: #fafafa;
  --kl-haupt: #dc143c;                 /* Anruf-Knopf (Markenfarbe) */
  --kl-haupt-text: #fff;
}
.kl { display: none; }
@media (max-width: 767.98px) {
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .kl:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; display: flex; gap: .45rem; padding: .55rem .55rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--kl-grund); border-top: 1px solid var(--kl-linie); box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); font-family: inherit; }
  .kl__k { flex: 1 1 0; min-width: 0; min-height: 3rem; display: flex; align-items: center; justify-content: center; gap: .4rem; border-radius: .75rem; border: 1px solid var(--kl-linie); background: var(--kl-knopf); color: var(--kl-text) !important; font-weight: 600; font-size: .9375rem; line-height: 1; text-decoration: none !important; white-space: nowrap; }
  .kl__k svg { flex: none; width: 1.15rem; height: 1.15rem; }
  .kl__k--anruf { flex: 1.5 1 0; background: var(--kl-haupt); border-color: var(--kl-haupt); color: var(--kl-haupt-text) !important; }
  .kl__k--wa svg { color: #25d366; width: 1.3rem; height: 1.3rem; }
  .kl__k:focus-visible { outline: 2px solid var(--kl-haupt); outline-offset: 2px; }
}
@media (max-width: 24.4rem) { .kl__k { font-size: .875rem; gap: .3rem; } }
/* KUNDE: schwebende Knöpfe am Handy ausblenden (Selektor je Seite), z. B.
@media (max-width: 767.98px) { .SELEKTOR { display: none !important; } } */
/* Shinydrive: schwebende Knöpfe ([data-fab]) am Handy aus – am Rechner seit 15.10.2026 ebenfalls aus (dort »Termin buchen«, siehe unten) */
@media (max-width: 767.98px) { [data-fab] { display: none !important; } }
/* Vier Knöpfe, wenn der Kunde eine Terminbuchung hat: Anrufen · WhatsApp · Termin · Anfrage (Emanuel 15.10.2026) */
@media (max-width: 767.98px) {
  .kl:has(.kl__k--termin) { gap: .35rem; padding-left: .4rem; padding-right: .4rem; }
  .kl:has(.kl__k--termin) .kl__k { flex: 1 1 0; flex-direction: column; gap: .2rem; min-height: 3.25rem; font-size: .75rem; padding: 0 .1rem; }
  .kl:has(.kl__k--termin) .kl__k svg { width: 1.2rem; height: 1.2rem; }
}
/* Shinydrive hat Terminbuchung (Emanuel 15.10.2026): am Rechner statt der schwebenden Knöpfe EIN Knopf »Termin buchen«.
   Sichtbarkeit setzt assets/js/termin-knopf.js (Klasse kl-termin--an: Hero vorbei, Fuß nicht im Bild, nicht auf /termin-buchen und /kontakt). */
@media (min-width: 768px) { [data-fab] { display: none !important; } }
.kl-termin { display: none; }
@media (min-width: 768px) {
  .kl-termin.kl-termin--an { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; background: var(--kl-haupt); color: var(--kl-haupt-text) !important; font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none !important; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); animation: kl-termin-ein .3s ease-out; }
  .kl-termin svg { width: 1.2rem; height: 1.2rem; flex: none; }
  .kl-termin:hover { filter: brightness(1.08); }
  .kl-termin:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
}
@keyframes kl-termin-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kl-termin.kl-termin--an { animation: none; } }
