.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 0.5rem; /* horizontaler Abstand */
    row-gap: 1.5rem;    /* vertikaler Abstand (optional) */
}
.item img {
    width: 100%;
    display: block;
}

.item {
    display: flex;
    /* verhindert margin-collapsing */
    flex-direction: column;
    padding-top: 1rem;
    /* Abstand OBERHALB des Bildes */
    padding-bottom: 1.5rem;
    /* Abstand UNTER der Caption */
}

.item img {
    width: 100%;
    display: block;
}

.item figcaption {
    margin-top: 0.4rem;
    /* Abstand Bild → Caption */
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
}

/* Bilder */
.grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text */
.grid .text {
    font-size: 1rem;
    line-height: 1.6;
}
.grid3 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text */
.grid3 .text {
    font-size: 1rem;
    line-height: 1.6;
}

.figure-wide {
    width: 70%;
    margin: 3rem auto;
    /* zentriert + Abstand oben/unten */
}

.figure-wide img {
    width: 100%;
    height: auto;
    display: block;
}


.figure-wide90 {
    width: 70%;
    margin: 3rem auto;
}

.figure-wide90 img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive: untereinander auf kleinen Screens */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}