/* Auftrag 245 (Entwurf 5b): Kontakt-Wahl im Handy-Kopf. Nur geladen, wenn die Einstellung kopf_kontaktwahl = 1 ist.
   Knopf „Kontakt“ (.kopf-kontakt, Stil von .kopf-anruf) klappt unter dem Kopf ein schmales Feld mit zwei Knöpfen auf. */
.kontaktwahl { display: none; }
@media (max-width: 960px) {
  .kontaktwahl { display: block; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); animation: kw-auf .18s ease-out; }
  .kontaktwahl[hidden] { display: none; }
  .kontaktwahl-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "anruf anruf" "rueck rueck" "status status" "zeiten zu"; gap: 10px 12px; align-items: center;
    padding-top: 14px; padding-bottom: 14px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .kw-anruf { grid-area: anruf; }
  .kw-rueckruf { grid-area: rueck; color: #fff; border-color: rgba(255, 255, 255, .45); }
  .kw-anruf svg { width: 18px; height: 18px; fill: currentColor; }
  .kw-status { grid-area: status; justify-self: start; margin: 0; font-size: .9rem; }
  .kw-zeiten { grid-area: zeiten; margin: 0; font-size: .9rem; color: #b9bdc6; }
  .kw-zu { grid-area: zu; justify-self: end; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
  .kopf-kontakt { cursor: pointer; background: transparent; font-family: inherit; }
  .kopf-kontakt[aria-expanded="true"] { background: rgba(255, 104, 27, .14); }
}
@keyframes kw-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .kontaktwahl { animation: none; } }
