/* Logo 2.0: originale Quer-klein-Fassung und Schutzraum, zentral für alle Kopfzeilen. */
body .ctb2-home {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    box-sizing: content-box;
    width: 220px;
    max-width: calc(100vw - 64px);
    min-height: 0 !important;
    padding: 13px !important;
    gap: 0 !important;
    line-height: 0 !important;
    background: transparent !important;
    text-shadow: none !important;
    text-decoration: none;
    border-radius: 0;
    flex-shrink: 0;
}
body .ctb2-home .ctb2-logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
    border: 0;
    box-shadow: none !important;
    transform: none !important;
}
body .ctb2-home::before, body .ctb2-home::after {
    content: none !important;
}
body .site-branding:has(.ctb2-home)::before,
body .site-branding:has(.ctb2-home)::after {
    content: none !important;
}
body .site-branding:has(.ctb2-home) .site-title,
body .site-branding:has(.ctb2-home) .site-description {
    display: none !important;
}
body .ctb2-home:focus-visible { outline: 2px solid #C9A84C; outline-offset: 4px; }
@media (max-width: 767px) {
    body .ctb2-home { width: 180px; padding: 11px !important; }
    #mobile-header .site-header-top-section-left { min-width: 0; }
}

/* Mobile Navigation: nur der vorhandene Kadence-Kopf mit Logo und Menü. */
@media (max-width: 1024px) {
    body:has(#mobile-header .ctb2-home) header[class^="ct-"], body:has(#mobile-header .ctb2-home) .ct-channel-nav-wrap { display: none !important; }
}

/* Alte Text-Ersatzmarken des Themes entfernen. */
html body #masthead.site-header:has(.ctb2-home)::before,
html body #mobile-header:has(.ctb2-home) .site-top-header-wrap::before { content: none !important; }
html body.single-post #masthead #mobile-header .site-header-top-section-right { display: flex !important; }
@media (min-width: 1025px) {
    html body.single-post #masthead #main-header .site-header-top-section-right {
        display: flex !important;
        order: -1;
    }
    html body.single-post #masthead #main-header .site-branding { padding: 0; }
}