/* =========================================================
   INFO-BOXEN – Desktop & Mobile
   ========================================================= */

.info-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    background: #fff;
    border: 2px solid #0077cc;
    border-radius: 8px;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
    max-height: 600px;
    overflow-y: auto;
    text-align: left;
}

.info-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: black;
    color: #fffacd;
    border: 2px solid red;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.info-top {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .info-box {
        top: 5vh;
        left: 5vw;
        transform: none;
        width: 90vw !important;
        max-height: 90vh !important;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0,0,0,0.4);
    }

    .info-close-btn {
        position: sticky;
        top: 0;
        right: 0;
        background: black;
        color: #fffacd;
        border: 2px solid red;
        padding: 10px 14px;
        font-size: 22px;
        border-radius: 0 10px 0 10px;
        z-index: 1000000;
    }
}

/* =========================================================
   BLAUE INFO-KÄSTCHEN
   ========================================================= */

.blue-container,
.blue-container2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item,
.info-item2 {
    background: #cce6ff;
    padding: 10px;
    border-radius: 5px;
}

.blue-container .info-item:nth-child(2),
.blue-container2 .info-item:nth-child(2) {
    margin-left: 10px;
}

.blue-container .info-item:nth-child(3),
.blue-container2 .info-item:nth-child(3) {
    margin-left: 20px;
}
