/* Ergänzungen 11/2026 (CDS SYSTEME) – Bedienbarkeit auf Handy und Tablet */

/* Fußzeilen-Links (Seite drucken, Datenschutz, Impressum): Tippfläche mind. 44 px hoch */
@media screen and (max-width: 1024px) {
    #footer a {
        display: inline-block;
        min-height: 44px;
        line-height: 44px;
        padding: 0 .5rem;
    }
}

/* Sichtbarer Fokus für Tastaturbedienung */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2882bd;
    outline-offset: 2px;
}

/* Anfahrt: Die „mobile Karte“ im Text nur zeigen, solange die Bildspalte ausgeblendet ist –
   sonst erscheint der Lageplan doppelt (Bildspalte ab 1281 px sichtbar, vgl. $media-large). */
@media screen and (min-width: 1281px) {
    #c59 { display: none; }
}

/* Schnellkontakt-Leiste (Anrufen / Route) – nur Handy und Tablet bis 1024 px */
.schnellkontakt { display: none; }
@media screen and (max-width: 1024px) {
    .schnellkontakt {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: #2882bd;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, .18);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .schnellkontakt__knopf {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        min-height: 56px;
        color: #fff !important;
        font-size: 1.05rem;
        font-weight: 500;
        letter-spacing: .02em;
        text-decoration: none;
    }
    .schnellkontakt__knopf + .schnellkontakt__knopf {
        border-left: 1px solid rgba(255, 255, 255, .35);
    }
    .schnellkontakt__knopf:active { background: rgba(0, 0, 0, .12); }
    .schnellkontakt__knopf:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
    /* Platz am Seitenende, damit die Leiste nichts verdeckt */
    body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}
@media print {
    .schnellkontakt { display: none !important; }
}
