/* ═══════════════════════════════════════════════════════════
   UNTERSEITEN – Layout-Verbesserungen
   Nur Darstellung. Inhalte, Überschriften und SEO bleiben unverändert.
   Wird nach den seitenspezifischen Stylesheets geladen.
   ═══════════════════════════════════════════════════════════ */

/* Header auf Unterseiten immer dunkel (auf der Startseite ist er oben transparent über dem Titelbild) */
.header,
.header.scrolled {
    padding: 12px 0;
    background: rgba(11, 29, 58, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb dunkel, damit Header, Navigation und Titelbild eine Einheit bilden */
.breadcrumb {
    padding-top: 120px;
    background: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb__list a {
    color: #f87171;
}

.breadcrumb__list a:hover {
    color: #ffffff;
}

.breadcrumb__list li:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.35);
}

.breadcrumb__list li[aria-current="page"] {
    color: rgba(255, 255, 255, 0.85);
}

.breadcrumb__list {
    flex-wrap: wrap;
    row-gap: 4px;
}

/* Hero: an der Inhaltsbreite ausrichten (bündig mit Logo) und nie breiter als der Bildschirm */
.sub-hero__content {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 96px 24px 72px;
}

.sub-hero__title,
.sub-hero__subtitle {
    max-width: 780px;
}

.sub-hero .hero__badge {
    max-width: 100%;
    white-space: normal;
}

/* ─── Tablet ─── */
@media (max-width: 992px) {
    .sub-hero__content {
        padding: 80px 24px 60px;
    }
}

/* ─── Handy ─── */
@media (max-width: 768px) {
    .breadcrumb__list {
        font-size: 0.8rem;
        padding: 12px 0;
    }

    .sub-hero {
        min-height: auto;
    }

    .sub-hero__content {
        padding: 56px 20px 48px;
        text-align: center;
    }

    .sub-hero__title {
        font-size: clamp(1.75rem, 7.5vw, 2.3rem);
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .sub-hero__subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-left: auto;
        margin-right: auto;
    }

    .sub-hero .hero__badge {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .sub-hero .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .sub-hero .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .trust-bar {
        padding: 18px 0;
    }

    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 16px;
    }

    .trust-bar__item {
        font-size: 0.85rem;
    }

    .section__title {
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Impressum: Logo und Zurück-Button nebeneinander */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 480px) {
    .nav-bar .btn--sm {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header .nav-bar .btn {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .header .nav-bar .logo__img {
        height: 44px !important;
        width: auto;
    }
}
