/* Online-Terminbuchung – Termin-Buttons in Kopf- und Fußzeile und das Buchungsfenster am Rechner.
   Ablauf: termin.js. Die Buchungsseite selbst liegt in /termin/. */

/* Kopfzeile Desktop: CTA vor der Sprachwahl, Praxis-Blau wie der Telefon-Button im Hero */
.head-termin{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 18px;
  border-radius:999px;
  background:linear-gradient(#5B8DEF 0%, #2A63DE 46%, #1E56D6 100%);
  color:#fff;
  font-family:'Inter',sans-serif;
  font-size:13.5px;
  font-weight:600;
  white-space:nowrap;
  box-shadow:0 1px 2px rgba(0,0,0,.18),
             0 6px 16px rgba(30,86,214,.32),
             inset 0 1px 1px rgba(255,255,255,.35);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.head-termin:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 1px 2px rgba(0,0,0,.18),0 10px 22px rgba(30,86,214,.4),inset 0 1px 1px rgba(255,255,255,.35);}
.head-termin svg{width:17px;height:17px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
@media (max-width:1280px){
  .head-termin{padding:10px 12px;}
  .head-termin span{display:none;}
}

/* Fußzeile Desktop (dunkel): eigener Button über „Anfahrt & Kontakt“ */
.footer-termin{
  display:flex;
  width:max-content;
  align-items:center;
  gap:9px;
  margin-top:22px;
  padding:12px 20px;
  border-radius:999px;
  background:linear-gradient(#5B8DEF 0%, #2A63DE 46%, #1E56D6 100%);
  color:#fff;
  font-size:14px;
  font-weight:600;
  box-shadow:0 8px 22px rgba(30,86,214,.35), inset 0 1px 1px rgba(255,255,255,.3);
  transition:filter .2s ease, transform .2s ease;
}
.footer-termin:hover{filter:brightness(1.08);transform:translateY(-1px);}
.footer-termin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.footer-termin + .footer-directions{margin-top:12px;}

/* Fußzeile Handy (mobile.css, dunkle Karte) */
.foot .foot-termin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:16px;
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  background:linear-gradient(180deg,#DCC8A9,#C9B18F);
  color:#1B1815;
  font-size:14px;
  font-weight:600;
}
.foot .foot-termin svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}

/* Buchungsfenster am Rechner (termin.js): die Buchungsseite als Fenster über der aktuellen Seite.
   Am Handy öffnet die Buchung als ganze Seite, dieses Fenster gibt es dort nicht. */
html.mim-buchung-offen, html.mim-buchung-offen body{overflow:hidden !important;}
#mim-buchung{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:rgba(23,42,69,.45);animation:mimBuchungRein .2s ease-out;}
#mim-buchung iframe{display:block;width:min(600px,calc(100vw - 48px));height:min(900px,calc(100vh - 48px));height:min(900px,calc(100dvh - 48px));border:0;border-radius:28px;background:#FAFCFF;box-shadow:0 30px 80px rgba(23,42,69,.28);}
@keyframes mimBuchungRein{from{opacity:0;}to{opacity:1;}}
@media (prefers-reduced-motion:reduce){#mim-buchung{animation:none;}}
