/*
 * Reversible beproba visual preview.
 * Remove this stylesheet link from the beproba HTML files to restore the
 * original design without changing assets/css/style.css.
 */
.beproba-page {
    --beproba-frame-background: linear-gradient(
        90deg,
        #121a22 0%,
        #1b2532 45%,
        #0e141d 100%
    );
    --beproba-frame-divider: #5da8b7;
    --beproba-link-accent: #2f7583;
    --beproba-subpage-background: #f4f7f9;
}

.beproba-page .beproba-header {
    background: var(--beproba-frame-background);
    border-bottom: 0;
    box-shadow: none;
    position: relative;
}

.beproba-page .beproba-header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--beproba-frame-divider);
    pointer-events: none;
    z-index: 30;
}

.beproba-page .beproba-nav a,
.beproba-page .beproba-nav a.active {
    color: rgba(255, 255, 255, 0.92);
}

.beproba-page .beproba-nav a:hover {
    color: #ffffff;
}

body.beproba-page .beproba-nav a.active::after {
    content: none;
}

.beproba-page .beproba-landing-hero {
    min-height: 430px;
    padding: 46px 0 50px;
}

.beproba-page .beproba-landing-grid {
    min-height: 342px;
}

.beproba-page .beproba-landing-title {
    font-size: clamp(1.85rem, 2.5vw, 2.5rem);
    max-width: 520px;
    text-wrap: wrap;
}

.beproba-page .beproba-landing-title span {
    font-size: 0.9em;
    white-space: normal;
}

.beproba-page .beproba-landing-text {
    font-size: 0.92rem;
    line-height: 1.5;
    border-bottom-color: var(--beproba-frame-divider);
}

.beproba-page .beproba-check-cta {
    border-top: 0;
}

.beproba-page .beproba-check-secondary {
    max-width: 100%;
}

.beproba-page .beproba-check-hero-intro {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
}

.beproba-page .beproba-check-hero-link {
    display: block;
    width: min(360px, 80vw);
    max-width: 100%;
    margin-top: 0;
    padding: 6px 18px 8px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    background: rgba(15, 29, 42, 0.55);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.beproba-page .beproba-check-hero-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(27, 52, 68, 0.8);
    text-decoration: none;
}

.beproba-page .beproba-check-hero-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 5px;
}

.beproba-page .beproba-check-hero-logo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: -8px auto;
    filter: url(#check-logo-light-text);
}

@media (prefers-reduced-motion: reduce) {
    .beproba-page .beproba-check-hero-link {
        transition: none;
    }

    .beproba-page .beproba-check-hero-link:hover {
        transform: none;
    }
}

.beproba-page .beproba-region-skyline {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.beproba-page .beproba-region-skyline .beproba-region-visual {
    /* Leere Aussenraender des Posters ausblenden; Motiv und Beschriftung erhalten. */
    aspect-ratio: 750 / 564;
    mix-blend-mode: multiply;
}

.beproba-page .beproba-region-skyline .beproba-region-image {
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}

@media (max-width: 760px) {
    .beproba-page .beproba-region-skyline {
        grid-template-columns: minmax(0, 1fr);
    }
}

.beproba-page .service-link,
.beproba-page .beproba-sanaudit-note-link {
    color: var(--beproba-link-accent);
}

.beproba-page .service-link:hover,
.beproba-page .beproba-sanaudit-note-link:hover {
    color: var(--color-footer-bg);
}

.beproba-page .page-hero-soft {
    background: var(--beproba-subpage-background);
}

.beproba-page .page-hero-soft .hero-centered-content {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
}

.beproba-page .page-hero-soft .hero-title {
    color: var(--color-footer-bg);
    text-align: center;
}

.beproba-page .page-hero-soft .hero-title .light-text {
    color: rgba(26, 58, 85, 0.78);
}

.beproba-page .beproba-services-detail {
    background: #ffffff;
    border-top: 22px solid var(--beproba-subpage-background);
    box-shadow: inset 0 1px 0 rgba(35, 43, 54, 0.14);
}

.beproba-page .subpage-static-rail {
    display: none;
}

.beproba-tabbed-page .beproba-services-detail .tabs-nav {
    background: #ffffff;
    backdrop-filter: none;
}

.beproba-about-main .beproba-about-story {
    padding-top: 16px;
}

.beproba-page .beproba-footer {
    background: var(--beproba-frame-background);
    border-top: 0;
    padding: 28px 0;
}

.beproba-page .beproba-footer::before {
    content: none;
}

.beproba-page .beproba-footer-logo-image {
    height: 84px;
}

@media (max-width: 768px) {
    .beproba-page .beproba-landing-hero {
        min-height: auto;
        padding: 36px 0 44px;
    }

    .beproba-page .beproba-landing-grid {
        min-height: auto;
    }

    .beproba-page .beproba-landing-title {
        font-size: clamp(1.7rem, 7.5vw, 2.2rem);
        max-width: 100%;
    }

    .beproba-page .beproba-footer {
        padding: 32px 0;
    }

    .beproba-page .beproba-footer .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .beproba-page .beproba-footer-logo {
        max-width: 100%;
    }

    .beproba-page .beproba-footer-logo-image {
        width: 100%;
        max-width: 340px;
        height: auto;
    }
}
