/* Gemeinsame Navigation: auf allen Unterseiten identisch und mobil gut erkennbar. */
.top-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
}

.navbar {
    position: fixed;
    top: 35px;
    right: 0;
    left: 0;
    z-index: 1040;
    margin: 0;
    border-bottom: 2px solid #c9a35a;
}

/* Die Linie ist Teil der Navbar – dadurch entsteht keine sichtbare Lücke. */
.navbar + .gold-divider {
    display: none;
}

body {
    padding-top: 102px;
}

.navbar-toggler {
    border: 1px solid #c9a35a !important;
    background: rgba(201, 163, 90, .08);
    padding: .38rem .55rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(201, 163, 90, .45);
}

.navbar-toggler-icon {
    width: 1.45em;
    height: 1.45em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23c9a35a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        margin-top: .75rem;
        padding: .75rem;
        background: #242424;
        border: 1px solid rgba(201, 163, 90, .35);
        border-radius: .5rem;
    }

    .navbar .btn-primary {
        margin-top: .75rem;
    }
}

@media (max-width: 767.98px) {
    /* Exakt an die einzeilige Kontaktleiste anschließen – ohne sichtbaren Zwischenraum. */
    .navbar {
        top: 30px;
        border-bottom: 0;
    }

    body {
        padding-top: 96px;
    }

    /* Überdeckung statt Abstand: beim Scrollen kann kein Seiteninhalt durchblitzen. */
    .top-bar::after {
        content: "";
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        height: 4px;
        background: #1b1b1b;
    }

    .navbar::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -4px;
        left: 0;
        height: 6px;
        background: #1b1b1b;
        border-bottom: 2px solid #c9a35a;
    }

    .top-bar {
        padding: .42rem 0;
    }

    .top-bar .container {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: 1fr !important;
        justify-content: initial !important;
        align-items: center;
        gap: 0 !important;
    }

    .top-link {
        min-width: 0;
        color: #fff;
        font-size: clamp(.58rem, 2.55vw, .8rem);
        text-align: center;
        white-space: nowrap;
    }

    .top-link:last-child {
        grid-column: auto !important;
    }
}

@media (max-width: 370px) {
    .top-link {
        font-size: .58rem;
    }
}

.ai-image-wrap {
    position: relative;
}

.ai-image-label {
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .18rem .42rem;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 999px;
    background: rgba(16, 16, 16, .78);
    color: #fff;
    font-size: .65rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
}

/* Die KI-Illustrationen zeigen den oberen Bildbereich mit den Gesichtern. */
.ai-image-wrap .card-img-top {
    object-position: center 12%;
}

/* Angebot-Button im Kontaktbereich entspricht dem Gold der restlichen Seite. */
.navbar .btn-primary {
    background: linear-gradient(135deg, #c9a35a, #9b7a35) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.navbar .btn-primary:hover,
.navbar .btn-primary:focus {
    background: linear-gradient(135deg, #d8b46b, #b18b42) !important;
    color: #fff !important;
}

.form-status {
    display: none;
    margin: 0 0 1.25rem;
    padding: .75rem 1rem;
    border-radius: .4rem;
}

.form-status.is-success,
.form-status.is-error {
    display: block;
}

.form-status.is-success {
    border: 1px solid #5fbf76;
    background: rgba(36, 102, 57, .35);
    color: #e5ffe9;
}

.form-status.is-error {
    border: 1px solid #df7979;
    background: rgba(122, 43, 43, .35);
    color: #ffe9e9;
}

.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
