.block-text-image .text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.block-text-image.image-left .image-side { order: -1; }
.block-text-image.image-left .text-side { order: 1; }
.block-text-image .image-side img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    max-width: 100%;
    height: auto;
}
.block-text-image h2 { margin-bottom: 16px; }
.block-text-image .text-image-button-wrap {
    margin-top: 20px;
    margin-bottom: 0;
    text-align: left;
}
.block-text-image .text-image-button-wrap .btn { display: inline-block; }

@media (max-width: 768px) {
    .block-text-image .text-image-grid { grid-template-columns: 1fr; gap: 24px; }
    /* Bild immer oben auf Mobil — unabhängig von image-left/image-right,
       Konsistenz mit dem Richtwerk-Theme, das das bereits korrekt macht. */
    .block-text-image .image-side { order: -1; }
    .block-text-image .text-side { order: 1; }
}
