/*
 * VisionThinks Small-Header - extrahierter Bestand
 * Zerlegung aus: vt-hilfe-liveconfig-emailadressen.css
 * Source SHA256: c264d8f9849f1b16046ac58c93cc690bd3d396d3e202c342b07a23135f891674
 * M18-M24-Geometrie und vorhandene Owner-Scopes bleiben unverändert.
 */

.vt-header {
    --overlay-opacity: 0.4;
}

.vt-small-header .vt-header-divider {
    display: none;
}

.vt-small-header .vt-header-breadcrumb-funnel {
    display: block !important;
}

.vt-small-header .vt-header-content-axis {
    display: flex;
    position: static;
    box-sizing: border-box;
    flex-direction: column;
    align-self: stretch;
    width: 100%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    --vt-small-header-content-left: 40px;

    padding-right: 40px;
    padding-left: var(--vt-small-header-content-left);
}

@media (max-width: 1024px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 32px;

        padding-right: 32px;
    }
}

@media (max-width: 767px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 24px;

        padding-right: 24px;
    }
}

@media (min-width: 545px) and (max-width: 860px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 36px;
    }
}

@media (min-width: 861px) and (max-width: 1399px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: calc(
                60px - max(0px, (100vw - 1320px) / 2)
            );
    }
}

@media (min-width: 1400px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 24px;
    }
}

@media (min-width: 840px) {
    .vt-small-header .vt-header-axis-row--desktop {
        padding-left: 28px;
    }
}

@media (min-width: 840px) and (max-width: 860px) {
    .vt-small-header .vt-header-axis-row--desktop {
        padding-left: 4px;
    }
}

@media (min-width: 1025px) {
    .vt-small-header .vt-header-axis-row--desktop {
        padding-left: 20px;
    }
}

@media (min-width: 1400px) {
    .vt-small-header .vt-header-axis-row--desktop {
        padding-left: 24px;
    }
}

@media (min-width: 840px) {
    .vt-small-header .vt-header-top {
        row-gap: 24px;
    }

    .vt-small-header .vt-header-subtitle p:last-child {
        margin-bottom: 0;
    }

}

@media (min-width: 545px) and (max-width: 839px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 36px;
    }
}

@media (max-width: 480px) {
    .vt-small-header .vt-header-axis-row--mobile {
        margin-left: -11px;
        margin-right: 11px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .vt-small-header .vt-header-axis-row--mobile {
        margin-left: 11px;
        margin-right: -11px;
    }
}

@media (min-width: 481px) and (max-width: 544px) {
    .vt-small-header .vt-header-axis-row--mobile {
        padding-left: 11.5px;
    }
}

@media (min-width: 861px) {
    .vt-small-header .vt-header-image {
        padding-right: 0;
        padding-left: 0;
    }

    .vt-small-header .vt-header-top {
        row-gap: 0;
        padding-bottom: 24px;
    }

    .vt-small-header .vt-header-title {
        text-indent: -4px;
    }

}

@media (min-width: 545px) and (max-width: 767px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 24px;
    }
}

@media (min-width: 768px) and (max-width: 860px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 32px;
    }
}

@media (min-width: 545px) and (max-width: 839px) {
    .vt-small-header .vt-header-axis-row--mobile {
        padding-left: 4px;
    }

    .vt-small-header .vt-header-logo {
        width: 150px;
        max-width: 150px;
        height: auto;
    }
}

@media (min-width: 768px) and (max-width: 860px) {
    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 4px;
    }
}

@media (min-width: 768px) and (max-width: 860px) {
    .vt-small-header .vt-header-subtitle,
        .vt-small-header .vt-header-breadcrumb-funnel {
        margin-left: 4px;
    }
}

@media (min-width: 840px) and (max-width: 860px) {
    .vt-small-header .vt-header-top {
        row-gap: 0;
    }
}

@media (max-width: 440px) {
    .vt-small-header .vt-header-image {
        padding-left: 14.5px;
    }

    .vt-small-header .vt-header-content-axis {
        --vt-small-header-content-left: 0px;
    }
}

@media (max-width: 280px) {
    .vt-small-header .vt-header-image .vt-header-content-axis .vt-header-title h1 {
        font-size: 22px;
    }

    .vt-small-header .vt-header-breadcrumb-funnel {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .vt-small-header .vt-header-content-axis {
        position: static;
    }

    .vt-small-header .vt-header-bottom-bread {
        right: auto;
        width: calc(100% - 96px);
    }
}

@media (max-width: 440px) {
    .vt-small-header .vt-header-bottom-bread {
        width: calc(100% - 62.5px);
    }
}

@media (min-width: 1025px) {
    .vt-small-header .vt-header-divider {
        /* display: block; */
        display: none;
    }
}

/*
|--------------------------------------------------------------------------
| Small Header – Hero-Unterkante als Geometrie-Owner
|--------------------------------------------------------------------------
| Breadcrumb und Divider werden nicht mehr über die Höhe von H1,
| Subtitle oder vt-header-gap positioniert.
|
| Dauerhafte Foundation-Geometrie: Hero-Unterkante ist der alleinige
| vertikale Bezugspunkt für Breadcrumb und Divider.
|--------------------------------------------------------------------------
*/

.vt-small-header .vt-header-image {
    position: relative;
}

.vt-small-header .vt-header-gap {
    flex: 0 0 0;
    height: 0;
    min-height: 0;
}

.vt-small-header .vt-header-bottom-bread {
    position: absolute;
    right: 0;
    bottom: 6px;
    left: var(--vt-small-header-content-left);
    width: auto;
    margin-top: 0;
}

@media (min-width: 1025px) {
    .vt-small-header .vt-header-divider {
        position: absolute;
        top: auto;
        bottom: -60px;
        left: 50%;
        margin: 0;
        padding: 0;
        transform: translateX(-50%);
    }
}

/*
|--------------------------------------------------------------------------
| Small Header – mobile Breadcrumb-Gesamtachse
|--------------------------------------------------------------------------
| Der Breadcrumb ist absolut zum Hero positioniert.
| Seine X-Achse muss deshalb die äußere Hero-Einrückung UND die
| innere Content-Axis berücksichtigen.
|--------------------------------------------------------------------------
*/

/*
|--------------------------------------------------------------------------
| Small Header – gemeinsame Inhaltsachse 441–480px
|--------------------------------------------------------------------------
| Logo und Bühne wechseln bei <=480px bewusst nach außen.
| H1, Subtitle und Breadcrumb folgen dieser bestehenden Außenachse.
| Logo und Bühne selbst bleiben unverändert.
|--------------------------------------------------------------------------
*/

@media (min-width: 441px) and (max-width: 480px) {
    .vt-small-header .vt-header-title,
    .vt-small-header .vt-header-subtitle {
        transform: translateX(-35px);
    }

    .vt-small-header .vt-header-bottom-bread {
        left: 13px;
    }
}

/*
|--------------------------------------------------------------------------
| Small Header – Breadcrumb-Achse 481–500px
|--------------------------------------------------------------------------
| In diesem Bereich liegen Logo, H1 und Subtitle auf der bestehenden
| mobilen Innenachse bei ca. 48px. Der absolut positionierte Breadcrumb
| folgt derselben Achse.
|--------------------------------------------------------------------------
*/

@media (min-width: 481px) and (max-width: 500px) {
    .vt-small-header .vt-header-bottom-bread {
        left: 48px;
    }
}

/*
|--------------------------------------------------------------------------
| Small Header – Breadcrumb-Achse 280–440px
|--------------------------------------------------------------------------
| H1 und Subtitle liegen in diesem Bereich auf der bestehenden
| schmalen Hero-Achse bei 14.5px. Der absolut positionierte
| Breadcrumb folgt derselben Achse.
|--------------------------------------------------------------------------
*/

@media (min-width: 280px) and (max-width: 440px) {
    .vt-small-header .vt-header-bottom-bread {
        left: 14.5px;
    }
}

/*
|--------------------------------------------------------------------------
| Small Header – Breadcrumb-X-Achse bei Hero als Positionierungs-Owner
|--------------------------------------------------------------------------
| Der Breadcrumb wird vertikal relativ zur Hero-Fläche positioniert.
| Seine horizontale Position folgt weiterhin der sichtbaren Content-Achse.
*/

@media (min-width: 501px) and (max-width: 767px) {
    .vt-small-header .vt-header-bottom-bread {
        left: 48px;
    }
}

@media (min-width: 768px) and (max-width: 860px) {
    .vt-small-header .vt-header-bottom-bread {
        left: 36px;
    }
}

@media (min-width: 1321px) and (max-width: 1399px) {
    .vt-small-header .vt-header-bottom-bread {
        left: 60px;
    }
}

@media (min-width: 1400px) {
    .vt-small-header .vt-header-bottom-bread {
        left: calc(
            max(0px, (100vw - 1320px) / 2)
            + 24px
        );
    }
}

/*
|--------------------------------------------------------------------------
| 2026-11-08 | Claude | Small Header – Kopf wächst mit, Platz für die
| Breadcrumb (AP1d, ergänzt AP1e)
|--------------------------------------------------------------------------
| Die Breadcrumb ist absolut an der Hero-Unterkante verankert (bottom: 6px,
| siehe oben). Elementor setzt .e-con-inner fest auf die Kopfhöhe; ohne
| height:auto wächst der Kopf nicht (Befund Startseite R5b, dort lokal
| gelöst). Bis 767 px: innerer Container wächst mit und reserviert unten
| die Breadcrumb-Höhe (gemessen 57 px bei 360 px) + 6 px + 16 px Luft
| = 80 px. Desktop-Geometrie bleibt unverändert (Klaus 2026-11-08).
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {
    .vt-small-header .vt-header-image > .e-con-inner {
        height: auto;
        flex: 1 0 auto;
        padding-bottom: 80px;
    }
}

/*
|--------------------------------------------------------------------------
| 2026-11-08 | Claude | Small Header – Buttons im Kopf (AP1e)
|--------------------------------------------------------------------------
| Globale Komponente für Buttons unter dem Untertitel (Shortcode-Widget im
| Kopf): <div class="vt-header-actions"> mit .vt-btn / .vt-btn--secondary.
| Werte 1:1 aus der Startseite (.vt-start-kopf-actions, R5/R5b):
|   - 16 px Abstand, 24 px zum Untertitel
|   - bis 480 px untereinander, linksbündig, höchstens 300 px breit
|   - 441–480 px dieselbe Verschiebung −35 px wie H1 und Untertitel
|   - Zweitbutton mit leicht abgedunkelter Fläche (lesbar auf dem Foto)
| Nutzerin: Arzt-Landingpage [vt-apw-kopf]. Startseite stellt beim
| nächsten Anfassen von .vt-start-kopf-actions auf diese Klasse um.
|--------------------------------------------------------------------------
*/

.vt-small-header .vt-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.vt-small-header .vt-header-actions .vt-btn--secondary {
    background-color: rgba(10, 20, 45, .55);
    backdrop-filter: blur(6px);
}

@media (max-width: 480px) {
    .vt-small-header .vt-header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vt-small-header .vt-header-actions .vt-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 441px) and (max-width: 480px) {
    .vt-small-header .vt-header-actions {
        transform: translateX(-35px);
    }
}

/*
|--------------------------------------------------------------------------
| 2026-11-08 | Claude | Small Header – Breadcrumb mobil kürzen (AP1f)
|--------------------------------------------------------------------------
| Bis 480 px: mittlere Stufen samt folgendem Trennzeichen ausgeblendet
| (Klaus 2026-11-08). „Start » Angebote » Arzt-Praxis-Website“ wird zu
| „Start » Arzt-Praxis-Website“. Nur Anzeige: HTML und strukturierte
| Daten bleiben vollständig. Zweistufige Breadcrumbs bleiben unverändert.
| Aufbau Widget hfe-breadcrumbs: li.hfe-breadcrumbs-item (--first/--last),
| dazwischen li.hfe-breadcrumbs-separator.
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {
    .vt-small-header .hfe-breadcrumbs-item:not(.hfe-breadcrumbs-first):not(.hfe-breadcrumbs-last),
    .vt-small-header .hfe-breadcrumbs-item:not(.hfe-breadcrumbs-first):not(.hfe-breadcrumbs-last) + .hfe-breadcrumbs-separator {
        display: none;
    }
}
