/* Mobile Sticky-Anruf + CMP — fabeos-schluesseldienst-muenchen.de */

@keyframes fabeos-call-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 -4px 24px rgba(234, 88, 12, 0.45); }
  50% { transform: scale(1.02); box-shadow: 0 -6px 28px rgba(234, 88, 12, 0.55); }
}

#fabeos-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  display: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0));
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(12, 35, 64, 0.97), rgba(12, 35, 64, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
#fabeos-sticky-call a {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  max-width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: #ea580c;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  animation: fabeos-call-breathe 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
#fabeos-sticky-call a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
@media (min-width: 768px) {
  #fabeos-sticky-call { display: none !important; }
}
@media (max-width: 767.98px) {
  #fabeos-sticky-call { display: block; }
  body.fabeos-pad-sticky { padding-bottom: 88px; }
}

/* Cookie-Banner über Sticky-CTA */
#cookie-banner-fs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0));
  background: #fff;
  border-top: 3px solid #0c2340;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  max-height: 55vh;
  overflow-y: auto;
}
#cookie-banner-fs.visible { display: flex; }
@media (min-width: 768px) {
  #cookie-banner-fs {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-height: none;
  }
}
#cookie-settings-modal-fs {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}
#cookie-settings-modal-fs[data-open="1"] { display: flex; }
