@charset "utf-8";
/* CSS Document */

 /* Container für Bilder mit Hover-Effekt */
        .image-container {
            position: relative;
            display: block;
            cursor: pointer;
            height: 100%;
            overflow: hidden;
        }
        
        /* Bild-Stil für gleiche Höhe */
        .image-container img {
            transition: opacity 0.3s ease, transform 0.3s ease;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Hover-Effekt: Bild wird aufgehellt */
        .image-container:hover img {
            opacity: 0.8;
        }
        
        /* +-Symbol im Kreis (versteckt standardmäßig) */
        .zoom-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
            color: #333;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        /* +-Symbol wird bei Hover sichtbar */
        .image-container:hover .zoom-icon {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* Gleichmäßige Höhe für die Bild-Container */
        .project-details__img {
            height: 300px; /* Anpassbare Höhe */
        }
        
        /* Popup-Stil */
        .popup {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
        }
        
        .popup.visible {
            display: flex;
        }
        
        .popup-content {
            background-color: white;
            padding: 0;
            border:8px #fff solid;
            border-radius:24px;
            max-width: 900px;
            max-height: 600px;
            text-align: center;
            position: relative;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: scale(0.8);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }
        
        .popup.visible .popup-content {
            opacity: 1;
            transform: scale(1);
        }
        
        .popup img {
            max-width: 800px;
            max-height: 600px;
            display: block;
            margin: 0 auto;
            border-radius:20px;
        }
        
        .close {
            position: absolute;
            top: -40px;
            right: 0;
            font-size: 30px;
            font-weight: bold;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            line-height: 1;
        }
        
        .close:hover {
            color: #ccc;
        }
        
        /* Bootstrap-Klassen für nebeneinander liegende Bilder */
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        .col-lg-3, .col-md-6 {
            padding: 0 15px;
            box-sizing: border-box;
        }
        
        @media (min-width: 992px) {
            .col-lg-3 {
                flex: 0 0 25%;
                max-width: 25%;
            }
            .col-lg-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }
        
        @media (min-width: 768px) and (max-width: 991px) {
            .col-md-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }