:root {
    --pikeur-logo: url('https://www.pikeur.de/files/arebase/logo/pikeur-logo-invers.png');
    --eskadron-logo: url('https://www.pikeur.de/files/arebase/logo/eskadron-logo.png');
}

/* Pikeur-specific logo */
body:has(.breadcrumb-link[title="pikeur" i]) a.header-logo-main-link picture > img {
    opacity: 0;
}
body:has(.breadcrumb-link[title="pikeur" i]) a.header-logo-main-link picture {
    position: relative;
}
body:has(.breadcrumb-link[title="pikeur" i]) a.header-logo-main-link picture::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--pikeur-logo);
}

/* Eskadron-specific logo */
body:has(.breadcrumb-link[title="eskadron" i]) a.header-logo-main-link picture > img {
    opacity: 0;
}
body:has(.breadcrumb-link[title="eskadron" i]) a.header-logo-main-link picture {
    position: relative;
}
body:has(.breadcrumb-link[title="eskadron" i]) a.header-logo-main-link picture::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--eskadron-logo);
}
