/* ============================================================
   MOBILE ACTION BAR
   Fixe Aktionsleiste am unteren Rand auf Smartphones mit
   schnellem Zugriff auf Telefon + E-Mail.
   Auf Desktop / Tablet unsichtbar.
   ============================================================ */

.mobile-action-bar {
    display: none;
}

@media (max-width: 600px) {
    /* --- 1. Telefon + Email aus oberer Meta-Bar ausblenden --- */
    .site-header-v3 .header-meta-inner .meta-link {
        display: none;
    }
    /* Divider zwischen Telefon und Email (Kind 8 in der Reihenfolge) ausblenden */
    .site-header-v3 .header-meta-inner > span:nth-child(8) {
        display: none;
    }

    /* --- 2. Bottom-Action-Bar einblenden --- */
    .mobile-action-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        background: #1F344D;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
    }

    .mobile-action-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 10px;
        color: #fff;
        text-decoration: none;
        font-size: 0.88rem;
        font-weight: 500;
        letter-spacing: 0.03em;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
        transition: background 0.2s ease;
        min-height: 44px;
    }

    .mobile-action-btn:last-child {
        border-right: none;
    }

    .mobile-action-btn:active {
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-action-btn svg {
        width: 18px;
        height: 18px;
        color: #C7AC73; /* gold-soft */
        flex-shrink: 0;
    }

    /* --- 3. Body bekommt unten Padding, damit Footer nicht
       von der Action-Bar verdeckt wird --- */
    body {
        padding-bottom: calc(44px + env(safe-area-inset-bottom));
    }
}
