﻿        .blocksatz {
            text-align: justify;
            hyphens: auto;
        }

        .image-gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 20px 0;
            justify-content: center;
        }

        .image-item {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .image-item:hover {
            transform: scale(1.05);
        }

        .image-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
        }

        .image-number {
            position: absolute;
            top: 5px;
            left: 5px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

        .gallery-separator {
            margin: 30px 0;
            border: none;
            height: 1px;
            background-color: #ccc;
        }

        /* Desktop: 5 Bilder pro Reihe */
        @media (min-width: 1200px) {
            .image-item {
                flex: 0 0 calc(20% - 8px);
            }
        }

        /* Tablet: 4 Bilder pro Reihe */
        @media (min-width: 768px) and (max-width: 1199px) {
            .image-item {
                flex: 0 0 calc(25% - 8px);
            }
        }

        /* Mobile: 2 Bilder pro Reihe */
        @media (min-width: 480px) and (max-width: 767px) {
            .image-item {
                flex: 0 0 calc(50% - 5px);
            }
        }

        /* Mobile klein: 1 Bild pro Reihe */
        @media (max-width: 479px) {
            .image-item {
                flex: 0 0 100%;
            }
            .image-item img {
                height: 250px;
            }
        }
