/* ========================================
           SMOOTH SCROLLING & NAVIGATION
           ======================================== */
        html {
            scroll-behavior: smooth;
        }
		/* ========================================
           ohne oberen Rand
           ======================================== */
		.zoom-modal { 
		display: none; 
		}
        
        /* CSS-only Dropdown für ddsmoothmenu */
        .ddsmoothmenu ul li {
            position: relative;
        }
        
        .ddsmoothmenu ul li ul {
            position: absolute !important;
            display: none !important;
            left: 0;
            top: 100%;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
            z-index: 1000;
            border-radius: 4px;
            visibility: visible !important;
        }
        
        .ddsmoothmenu ul li:hover > ul {
            display: block !important;
        }
        
        .ddsmoothmenu ul li ul li {
            display: block !important;
            width: 100%;
            float: none !important;
        }
        
        .ddsmoothmenu ul li ul li a {
            color: black !important;
            padding: 8px 12px;
            text-decoration: none;
            display: block;
            font-size: 13px;
            border-bottom: 1px solid #eee;
        }
        
        .ddsmoothmenu ul li ul li a:hover {
            background-color: #f1f1f1 !important;
        }
        
        .ddsmoothmenu ul li ul li:last-child a {
            border-bottom: none;
        }
        
        /* ========================================
           SEITENLAYOUT ELEMENTE
           ======================================== */
        .page-title {
            font-size: 24px;
            margin-top: 10px;
        }
        
        .page-subtitle {
            font-size: 18px;
            margin-top: 0;
        }
        
        .back-link {
            display: inline-block;
            margin: 20px 0;
        }
        
        .image-credit {
            margin: 20px;
        }
        
        .copyright-notice,
        .gallery-instructions {
            font-size: 10px;
            color: #808080;
            background-color: #f5f5f5;
            margin: 0 30px 0 30px;
            padding: 8px;
            border-radius: 4px;
            text-align: justify;
            line-height: 1.4;
            word-spacing: 0.1em;
        }
        
        .gallery-instructions {
            margin-top: 10px;
            margin-bottom: 20px;
        }
        
        .top-link {
            padding: 20px;
        }
        
        /* ========================================
           BILDERGALERIE - Mobile-Optimiert
           ======================================== */
        .galerie {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 12px;
            margin: 20px auto;
            padding: 15px;
            background: rgba(248, 249, 250, 0.95);
            border-radius: 12px;
            border: 1px solid #dee2e6;
            backdrop-filter: blur(10px);
            max-width: 100%;
        }
        
        .galerie a {
            display: block;
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            cursor: pointer;
        }
        
        .galerie img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: block;
        }
        
        .galerie a:hover img {
            transform: scale(1.05);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }
        
        /* ========================================
           PHOTOSWIPE ANPASSUNGEN
           ======================================== */
        .pswp__button {
            background-color: rgba(0,0,0,0.5) !important;
            border-radius: 50% !important;
        }
        
        .pswp__button:hover {
            background-color: rgba(255,0,0,0.7) !important;
        }
        
        /* ========================================
           RESPONSIVE BREAKPOINTS
           ======================================== */
        
        /* Tablets (768px - 1024px) */
        @media (max-width: 1024px) {
            .galerie {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
                gap: 10px;
            }
        }
        
        /* Smartphones (bis 768px) */
        @media (max-width: 768px) {
            .galerie {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
                padding: 10px;
                margin: 15px auto;
            }
            
            .galerie img {
                border-radius: 6px;
                aspect-ratio: 1/1;
            }
            
            .copyright-notice,
            .gallery-instructions {
                margin: 0 15px;
                font-size: 9px;
            }
        }
        
        /* Sehr kleine Smartphones (bis 480px) */
        @media (max-width: 480px) {
            .galerie {
                gap: 6px;
                padding: 8px;
            }
            
            .galerie img {
                border-radius: 4px;
            }
        }
        
        /* Landscape-Modus auf Smartphone */
        @media (max-width: 768px) and (orientation: landscape) {
            .galerie {
                grid-template-columns: repeat(3, 1fr);
            }
        }