/* Kurze Heros mit begrenzter Bildgröße und unverzerrten Originalfotos. */
main > section.site-hero.subpage-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 0 !important;
    background: #f8fafc !important;
}
.subpage-hero::before { display: none; }
.subpage-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 32px 58px;
}
.subpage-hero-copy { width: 100%; max-width: 600px; }
.subpage-hero .subpage-hero-copy h1 {
    margin: 0 0 22px !important;
    color: #153c72;
    font-size: clamp(2.2rem, 3.5vw, 3.1rem) !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.subpage-hero h1 span { display: block; color: #1e3a8a; }
.subpage-hero .subpage-hero-intro {
    max-width: 540px;
    margin: 0 0 25px !important;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.65 !important;
}
.subpage-hero .subpage-hero-benefits {
    display: grid;
    gap: 11px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
    color: #253f62;
    font-size: 1rem;
    line-height: 1.45;
}
.subpage-hero-benefits li { display: flex; align-items: center; gap: 10px; }
.subpage-hero-check {
    display: inline-grid;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    place-items: center;
    border: 1px solid #bde4d7;
    border-radius: 50%;
    background: #edf8f2;
    color: #137560;
    font-size: 16px;
}
.subpage-hero .subpage-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.subpage-hero .subpage-hero-actions a {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px !important;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: .9rem !important;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}
.subpage-hero .subpage-hero-actions .btn-primary { background: #b9520b; color: #fff; }
.subpage-hero .subpage-hero-actions .btn-primary:hover { background: #984208; }
.subpage-hero .subpage-hero-actions .btn-outline { background: #fff; border-color: #b8c9df; color: #1e3a8a; }
.subpage-hero .subpage-hero-actions .btn-outline:hover { background: #eff6ff; }
.subpage-hero-actions svg { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.subpage-hero-phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 21px 0 0; color: #64748b; font-size: .85rem; }
.subpage-hero-phone a { color: #153c72; font-size: 1.2rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.subpage-hero-photo {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0;
    width: min(48%, 560px);
    transform: translateY(-50%);
}
.subpage-hero .subpage-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%), linear-gradient(180deg, transparent, #000 4%, #000 92%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 18%), linear-gradient(180deg, transparent, #000 4%, #000 92%, transparent);
    mask-composite: intersect;
}
.subpage-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f8fafc 0%, rgb(248 250 252 / 96%) 6%, rgb(248 250 252 / 70%) 20%, rgb(248 250 252 / 12%) 43%, transparent 60%);
    pointer-events: none;
}
.subpage-hero a:focus-visible { outline: 3px solid #1e3a8a; outline-offset: 4px; }
.subpage-check-inner { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.subpage-check-intro { margin-bottom: 25px; text-align: center; }
.subpage-check-intro h2 { margin: 0 0 12px; color: #0f172a; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; }
.subpage-check-intro p { margin: 0; color: #475569; font-size: 1rem; line-height: 1.6; }
.subpage-check-card { min-width: 0; }
.subpage-kasko-note { margin: 0 0 32px; padding: 20px 24px; border: 1px solid #fde68a; border-radius: 12px; background: #fffbeb; color: #78350f; }
@media (min-width: 901px) and (max-width: 1100px) {
    .subpage-hero-inner { padding-top: 50px; padding-bottom: 46px; }
    .subpage-hero-copy { max-width: 55%; }
    .subpage-hero .subpage-hero-copy h1 { font-size: clamp(2rem, 3.8vw, 2.6rem) !important; }
    .subpage-hero .subpage-hero-actions a { width: 100%; }
}
@media (max-width: 900px) {
    main > section.subpage-hero { display: flex; flex-direction: column; }
    .subpage-hero-inner { order: 0; padding: 36px 22px 0; }
    .subpage-hero-copy { max-width: none; }
    .subpage-hero .subpage-hero-copy h1 { max-width: 680px; margin-bottom: 18px !important; font-size: clamp(1.8rem, 6.6vw, 2.75rem) !important; line-height: 1.13 !important; letter-spacing: -.04em; }
    .subpage-hero .subpage-hero-intro { max-width: 680px; margin-bottom: 21px !important; font-size: 1rem; line-height: 1.6 !important; }
    .subpage-hero .subpage-hero-benefits { margin-bottom: 21px; gap: 10px; font-size: .95rem; }
    .subpage-hero .subpage-hero-actions a { min-height: 50px; }
    .subpage-hero-photo { position: relative; order: 1; top: auto; right: 0; width: min(100%, 380px); max-width: 380px; margin: 18px 0 0 auto; transform: none; }
}
@media (max-width: 540px) {
    .subpage-hero .subpage-hero-actions a { width: 100%; }
    .subpage-hero-phone { justify-content: center; }
    .subpage-check-inner { padding-inline: 18px; }
}

/* Blaues Qualifikationsbanner der Startseite. */
main > .home-qualifications {
    padding: 0;
    background: linear-gradient(105deg, #153c72, #1e4f9b) !important;
    color: #fff;
}

.home-qualifications-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 33px 32px;
}

.home-qualifications ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-qualifications li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-qualification-icon {
    display: inline-flex;
    width: 29px;
    flex: 0 0 29px;
    justify-content: center;
    color: #bbd9ff;
}

.home-qualification-icon svg {
    width: 25px;
    height: 25px;
    margin: 0 !important;
    color: inherit;
    fill: currentColor;
}

.home-qualifications strong {
    display: block;
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.45;
}

.home-qualifications li div > span {
    display: block;
    margin-top: 3px;
    color: #d4e3f8;
    font-size: .75rem;
    line-height: 1.5;
}


@media (max-width: 1100px) {
    .home-qualifications ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
}
@media (max-width: 700px) {
    .home-qualifications-inner { padding: 27px 22px; }
    .home-qualifications ul { gap: 22px 16px; }
    .home-qualifications li { gap: 9px; align-items: flex-start; }
    .home-qualification-icon { width: 22px; flex-basis: 22px; }
    .home-qualification-icon svg { width: 21px; height: 21px; }
    .home-qualifications strong { font-size: .8rem; }
    .home-qualifications li div > span { font-size: .72rem; }
}
