/* Gemeinsame graue Kopfzeile und dunkelblaue Fusszeile fuer beproba und Sanaudit. */
.beproba-frame-light-preview .beproba-header {
    background: #ffffff;
    color: #18384b;
    border-bottom: 1px solid rgba(26, 58, 85, 0.1);
}

.beproba-frame-light-preview .beproba-header::after {
    content: none;
}

.beproba-frame-light-preview .beproba-footer {
    background: #14243e;
    color: #ffffff;
}

.beproba-page.beproba-frame-light-preview .beproba-nav a,
.beproba-page.beproba-frame-light-preview .beproba-nav a.active,
.beproba-page.beproba-frame-light-preview .beproba-nav a:hover {
    color: #18384b;
}

.beproba-frame-light-preview .beproba-footer .footer-column h4,
.beproba-frame-light-preview .beproba-footer .footer-contact-info p {
    color: #ffffff;
}

.beproba-frame-light-preview .beproba-footer .footer-contact-info a,
.beproba-frame-light-preview .beproba-footer .footer-links a,
.beproba-frame-light-preview .beproba-footer .footer-social-links a {
    color: #d5e5f6;
}

.beproba-page.beproba-frame-light-preview .beproba-nav .btn-primary-nav,
.beproba-page.beproba-frame-light-preview .beproba-nav .btn-primary-nav:hover {
    background: #18384b;
    color: #ffffff;
}

.beproba-frame-light-preview .beproba-footer .footer-links a:hover,
.beproba-frame-light-preview .beproba-footer .footer-contact-info a:hover {
    color: #ffffff;
}

.beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-menu-toggle {
    color: #18384b;
    border-color: #18384b55;
    background: #ffffff55;
}

.beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-menu-toggle:focus-visible {
    outline-color: #18384b;
}

@media (max-width: 768px) {
    .beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-nav {
        background: #ffffff;
        border-color: #18384b33;
    }

    .beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-nav a:hover,
    .beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-nav a:focus-visible {
        background: #18384b10;
    }

    .beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-nav .btn-primary-nav,
    .beproba-frame-light-preview .beproba-header.has-mobile-menu .beproba-nav .btn-primary-nav:hover {
        background: #18384b;
        color: #ffffff;
    }
}

/* Grosse Fusszeile (Startseite, Kontakt, sanaudit): gleicher Aufbau, ruhigere Typografie, mehr Raum, kompakt auf dem Handy. */
.beproba-page .beproba-footer:not(.beproba-footer-compact) {
    padding: 40px 0 36px;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .beproba-footer-logo-image {
    height: 64px;
    width: auto;
}

@media (min-width: 769px) {
    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-content {
        align-items: center;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-column {
        align-self: start;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-branding {
        height: auto;
        justify-content: center;
    }
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-content {
    gap: 40px 56px;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-column h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-contact-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-contact-info p strong {
    color: #ffffff;
    font-weight: 600;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-contact-info a,
.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-links a {
    color: #d5e5f6;
    text-decoration: none;
    text-underline-offset: 4px;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-links li {
    margin: 0;
    line-height: 1.55;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-links a {
    font-size: 0.95rem;
    font-weight: 600;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-contact-info a:hover,
.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-links a:hover {
    padding-left: 0;
    color: #ffffff;
    text-decoration: underline;
}

.beproba-page .beproba-footer:not(.beproba-footer-compact) a:focus-visible {
    outline: 3px solid #d5e5f6;
    outline-offset: 4px;
}

/* Profile folgen noch: Symbole sichtbar, aber erkennbar inaktiv. */
.beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-social-links a[aria-disabled="true"] {
    color: rgba(213, 229, 246, 0.4);
    cursor: default;
    pointer-events: none;
}

@media (max-width: 768px) {
    .beproba-page .beproba-footer:not(.beproba-footer-compact) {
        padding: 36px 0 32px;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
        text-align: left;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-branding {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        height: auto;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-social-links {
        margin: 0;
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .beproba-footer-logo {
        width: min(230px, 62%);
    }

    .beproba-page .beproba-footer:not(.beproba-footer-compact) .beproba-footer-logo-image {
        width: 100%;
        max-width: none;
        height: auto;
    }
}

@media (max-width: 340px) {
    .beproba-page .beproba-footer:not(.beproba-footer-compact) .footer-content {
        grid-template-columns: minmax(0, 1fr);
    }
}