/* =========================================================
   AI disclosure labels (EU AI Act, Art. 50)
   Template: Mednic
   ========================================================= */


/* ---------------------------------------------------------
   1) Homepage hero slider
   --------------------------------------------------------- */

.hero-slider .sp-item::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 25px !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    width: 900px !important;
    height: 300px !important;
    background-image: url('/images/wasserzeichen_weiss.png') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: contain !important;
    opacity: 0.75 !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

.hero-slider .sp-item::before {
    content: "KI generiert" !important;
    display: block !important;
    position: absolute !important;
    left: 16px !important;
    bottom: 24px !important;
    top: auto !important;
    right: auto !important;
    z-index: 1000000 !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.72) !important;
    border-radius: 3px !important;
    pointer-events: none !important;
}


/* ---------------------------------------------------------
   2) Inner pages – Helix page title / hero
   --------------------------------------------------------- */

.sp-page-title {
    position: relative;
}

.sp-page-title::before {
    content: "KI generiert";
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 20;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 3px;
    pointer-events: none;
}

.sp-page-title::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    width: 38%;
    max-width: 320px;
    height: 42%;
    background-image: url('/images/wasserzeichen_weiss.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    opacity: 0.75;
    pointer-events: none;
}


/* ---------------------------------------------------------
   3) Hide decorative borders
   --------------------------------------------------------- */

.border-test-left::before,
.border-center::before,
.border-top::before {
    display: none !important;
    content: none !important;
}


/* ---------------------------------------------------------
   4) Image addon – class on the addon only
   ki-label         = text badge
   ki-wasserzeichen = PNG watermark
   Do not put both on the same addon
   --------------------------------------------------------- */

.sppb-addon-single-image.ki-label .sppb-addon-single-image-container,
.sppb-addon-wrapper.ki-label .sppb-addon-single-image .sppb-addon-single-image-container,
.sppb-addon-single-image.ki-wasserzeichen .sppb-addon-single-image-container,
.sppb-addon-wrapper.ki-wasserzeichen .sppb-addon-single-image .sppb-addon-single-image-container {
    position: relative;
}

.sppb-addon-single-image.ki-label .sppb-addon-single-image-container::after,
.sppb-addon-wrapper.ki-label .sppb-addon-single-image .sppb-addon-single-image-container::after {
    content: "KI generiert";
    position: absolute;
    left: 8px;
    bottom: 8px;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    z-index: 30;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.72);
    background-image: none;
    border-radius: 3px;
    pointer-events: none;
}

.sppb-addon-single-image.ki-wasserzeichen .sppb-addon-single-image-container::after,
.sppb-addon-wrapper.ki-wasserzeichen .sppb-addon-single-image .sppb-addon-single-image-container::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    bottom: auto;
    width: 42%;
    max-width: 280px;
    height: 28%;
    z-index: 30;
    padding: 0;
    background-color: transparent;
    background-image: url('/images/wasserzeichen_weiss.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    opacity: 0.75;
    pointer-events: none;
}


/* ---------------------------------------------------------
   5) Dynamic content – service cards
   --------------------------------------------------------- */

.services-list .sppb-dynamic-content-collection__item .service-img::before {
    content: "KI generiert";
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 30;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 3px;
    pointer-events: none;
}


/* ---------------------------------------------------------
   6) Lightbox (Magnific Popup)
   --------------------------------------------------------- */

.mfp-figure {
    position: relative;
}

.mfp-figure::before {
    content: "KI generiert";
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 20;
    padding: 4px 10px;
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 3px;
    pointer-events: none;
}


/* ---------------------------------------------------------
   7) Team page (menu item 359)
   --------------------------------------------------------- */

.itemid-359 .sppb-dynamic-content-image-wrapper {
    position: relative;
}

.itemid-359 .sppb-dynamic-content-image-wrapper::before {
    content: "KI bearbeitet";
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 30;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 3px;
    pointer-events: none;
}

.itemid-359 .mfp-figure::before {
    content: "KI bearbeitet";
}