.indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: none; /* wird per JS sichtbar gemacht */
    width: 271px;
    height: 166px;
    background-color: transparent;
}

/* Bild füllt den Container */
.indicator img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text-Overlay */
.indicator-text {
    position: absolute;
    color: #333;
    font-weight: normal;
    padding: 6px 10px;
    font-size: 14px;
    max-width: 90%; /* Damit Text nicht über das Bild hinausragt */
    box-sizing: border-box;
}

.indicator-close {
    position: absolute;
    top: 0;
    left: 0; /* statt right: 0 */
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 18px;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
    z-index: 10000;
    border-radius: 0 0 6px 0; /* angepasst für linke obere Ecke */
}

.indicator-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Neue Positionierungs-Varianten */
.position-topleft {
    top: 8px;
    left: 8px;
    text-align: center;
}

.position-topright {
    top: 8px;
    right: -12px;
    text-align: center;
}

.position-bottomleft {
    bottom: 8px;
    left: 8px;
    text-align: center;
}

.position-bottomright {
    bottom: 8px;
    right: 8px;
    text-align: center;
}
