/* Menü (nur „Home“) und Hinweis anstelle der Hauptnavigation */
.header-center {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-menu {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: 24px;
}

.header-notice {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    color: #ffffff;
    font-family: var(--font-sans, inherit);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.services-section .service-card {
    cursor: default;
}

/* Kein „Bild sichern“ per langem Antippen (iOS) und kein Ziehen/Markieren von Bildern */
img,
svg image {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 1280px) {
    .header .header-content > a:first-of-type {
        flex: 0 0 auto !important;
    }

    .header-center {
        order: 2;
        gap: 16px;
    }

    .header-menu {
        margin-left: 8px;
    }

    .header-notice {
        font-size: 1.05rem;
    }

    .contact-info {
        order: 3 !important;
    }
}

/* Auf schmalen Displays stehen Menü und Hinweis in einer eigenen Zeile unter Logo und Telefon */
@media (max-width: 640px) {
    :root {
        --header-height: 102px;
    }

    body:not(:has(.hero)) {
        padding-top: 0 !important;
    }

    body:not(:has(.hero)) .main-content {
        padding-top: calc(var(--header-height) + 16px) !important;
    }

    .header-content {
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        row-gap: 4px !important;
    }

    .header-center {
        order: 3;
        flex: 1 0 100%;
        gap: 12px;
        padding-bottom: 2px;
    }

    .header-menu {
        margin-left: 0;
    }

    .header-menu .nav-link {
        font-size: 0.95rem;
        padding: 0;
    }

    .header-notice {
        font-size: 0.95rem;
        text-align: right;
    }

    .contact-info {
        order: 2 !important;
    }
}
