/* =====================================
   MOBILE CSS – NUR BIS 768px
   Isoliert, sicher, iOS-fest
===================================== */
@media (max-width: 768px) {

    /* ===============================
       GRUNDLAGEN / iOS FIX
    =============================== */

    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    * {
        box-sizing: border-box;
        max-width: 100%;
    }

    body {
        padding-top: 90px !important;
    }

    /* ===============================
       HEADER – MOBILE
    =============================== */

    header.site-header {
        padding: 10px 16px;
    }

    .site-header .custom-logo-link img {
        max-width: 55px !important;
        height: auto;
    }

    /* Desktop-Header-Elemente aus */
    nav.main-nav,
    .header-contact {
        display: none;
    }

    /* Burger sichtbar */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #2f2f2f;
    }

    /* ===============================
       MOBILES NAV-MENÜ
    =============================== */

    nav.main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(178,195,176,0.98);
        padding: 20px 0;
        z-index: 9998;
    }

    nav.main-nav.open ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 0;
        margin: 0;
    }

    nav.main-nav.open a {
        font-size: 18px;
    }

    /* ===============================
       HEADERBILD – MOBILE
    =============================== */

    .header-image,
    .page-header-image img {
        height: 240px;
        border-radius: 0;
    }

    .header-image .header-text h1 {
        font-size: 24px;
    }

    .header-image .header-text p {
        font-size: 16px;
    }

    /* ===============================
       FULLWIDTH-BALKEN – iOS SAFE
    =============================== */

    .fullwidth-bar {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 35px 16px;
    }

    .fullwidth-bar h2 {
        font-size: 24px;
    }

    /* ===============================
       CONTENT SECTIONS
    =============================== */

    .team-section,
    .times-section,
    .contact-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ===============================
       GRID-FIX (Startseite & Urlaub)
       -> KEIN Abschneiden mehr
    =============================== */

    .times-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .times-box {
        width: 100%;
        margin: 0;
    }

    /* ===============================
       ICONS – SAUBER & KLEIN
    =============================== */

    .times-box svg {
        width: 22px;
        height: 22px;
    }

    /* ===============================
       MOBILE STICKY KONTAKT-BUTTONS
    =============================== */

    .mobile-contact-buttons {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;

        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-phone-button,
    .mobile-mail-button {
        padding: 14px 18px;
        border-radius: 50px;

        font-size: 15px;
        font-weight: bold;
        text-decoration: none;
        color: #ffffff;

        box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    }

    .mobile-phone-button {
        background: #6d7c69;
    }

    .mobile-mail-button {
        background: #2f2f2f;
    }

    .mobile-phone-button:hover,
    .mobile-mail-button:hover {
        opacity: 0.9;
        color: #ffffff;
    }

    /* =====================================
       FIX: MOBILE KONTAKT-BUTTONS
       nach style.css wieder EINBLENDEN
    ===================================== */
    .mobile-contact-buttons {
        display: flex !important;
    }
}
