@charset "utf-8";
/* CSS Document */

.card-aktiv {
     background: linear-gradient(
        90deg,
        #d4edda 0%,
        #e9f7ef 20%,
        #ffffff 40%
    );
    border-left: 6px solid #28a745;
}

.img-clickable { cursor: pointer; transition: transform 0.2s; }
.img-clickable:hover { transform: scale(1.03); }

.film-entwickelt {
    border-left: 6px solid #000;
    background: linear-gradient(
        90deg,
        #bebebe 0%,
        #eff0ef 20%,
        #ffffff 40%
    );
}

.leaflet-map {
    width: 100%;
    height: 400px;
}
.profilbild {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.profil-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    font-size: 24px;
    font-weight: bold;
    color: #666;
}

/* Slider Modal mit Bildoverlay */

.img-comp-container {
    position: relative;
    width: 100%;         /* passt sich dem Bildschirm an */
    max-width: 100%;     
    overflow: hidden;    /* damit nichts herausragt */
    height: auto;        /* Höhe wird durch Originalbild bestimmt */
}

.img-comp-container img.img-comp-original {
    width: 100%;         /* passt sich der Containerbreite an */
    height: auto;
    display: block;
}

.img-comp-container .img-comp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0);  /* Start: linke Hälfte sichtbar */
}

.img-comp-slider {
    position: absolute;
    z-index: 10;
    cursor: ew-resize;
    width: 5px;              /* Sichtbare Balkenbreite */
    background-color: white;
    opacity: 0.8;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Unsichtbare Touch-Zone: 60px breit (30px links + 30px rechts vom Balken) */
.img-comp-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    cursor: ew-resize;
}






