/*
 * WohnKompass – Premium-Hinweis
 *
 * Sichtbar ausschließlich, wenn die aktuell geöffnete
 * Analyse Premiumstatus besitzt.
 */

/* Der äußere Marker ist standardmäßig ausgeblendet. */
.wk-premium-section-marker {
    display: none !important;
}

/*
 * Bei einer für Premium freigeschalteten Analyse wird
 * der vollständige Marker eingeblendet.
 */
body.wk-premium-active:not(.wk-premium-locked)
    .wk-premium-section-marker {
    display: flex !important;
    align-items: center !important;
}

/*
 * Badge und Beschriftung ausdrücklich sichtbar machen.
 * Die vorherige Regel hatte beide versehentlich ausgeblendet.
 */
body.wk-premium-active:not(.wk-premium-locked)
    .wk-premium-section-marker__badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

body.wk-premium-active:not(.wk-premium-locked)
    .wk-premium-section-marker__text {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

/*
 * Bei einer kostenlosen oder noch nicht für diese Analyse
 * bezahlten Ansicht darf der Marker keinen Platz belegen.
 */
body:not(.wk-premium-active)
    .wk-premium-section-marker,
body.wk-premium-locked
    .wk-premium-section-marker {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}