﻿:root {
            --primary-blue: #2563eb;
            --secondary-blue: #1e40af;
            --accent-green: #059669;
            --accent-orange: #ea580c;
            --dark-gray: #1f2937;
            --light-gray: #f8fafc;
            --text-dark: #111827;
            --text-light: #6b7280;
            --border-color: #e5e7eb;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #fff;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        
        /* Header */
        .header {
            background: #fff;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 2px solid var(--primary-blue);
        }
        
        .header-top {
            background: var(--dark-gray);
            color: #fff;
            padding: 0.5rem 0;
            font-size: 0.9rem;
        }
        
        .header-top-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .header-top a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .header-top a:hover {
            color: var(--accent-green);
        }
        
        .header-main {
            padding: 1rem 0;
        }
        
        .header-content {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 3rem;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-blue);
            text-decoration: none;
            font-family: 'JetBrains Mono', monospace;
            transition: color 0.3s ease;
        }
        
        .logo:hover {
            color: var(--secondary-blue);
        }
        
        .nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        
        .nav a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .nav a:hover {
            background: var(--light-gray);
            color: var(--primary-blue);
        }
        
        .nav a.active {
            background: var(--primary-blue);
            color: #fff;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-dark);
            position: relative;
            z-index: 1001;
        }
        
        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1000;
        }
        
        .mobile-nav.active {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .mobile-nav a {
            color: #fff;
            text-decoration: none;
            font-size: 1.5rem;
            font-weight: 500;
            margin: 0.5rem 0;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .mobile-nav a:hover, .mobile-nav a.active {
            background: var(--primary-blue);
            color: #fff;
        }
        
        /* H1-Tags in section, article, aside, nav Elementen */
        section h1,
        article h1,
        aside h1,
        nav h1 {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        
        /* Responsive H1-Größen */
        @media (max-width: 768px) {
            section h1,
            article h1,
            aside h1,
            nav h1 {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 900px) {
           .logo {
              font-size: 1.4rem;
           }
       }

        
         @media (max-width: 750px) {
             .logo {
             font-size: 1.2rem;
           }
        }

        
        @media (max-width: 480px) {
            section h1,
            article h1,
            aside h1,
            nav h1 {
                font-size: 1.75rem;
            }
        }
        
        .cart-icon {
            background: var(--accent-green);
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .cart-icon:hover {
            background: var(--accent-orange);
        }

        /* Sticky Cart Bar (between hero and products) */
        .cart-bar {
            position: sticky;
            top: var(--header-offset, 0px);
            z-index: 900;
            background: #fff;
            border-bottom: 1px solid var(--border-color);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
        }

        .cart-bar-content {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.75rem 0;
        }

        .cart-bar .cart-icon {
            user-select: none;
        }

        .lang-switcher {
            margin-left: 1rem;
            background: none;
            border: 2px solid var(--accent-green);
            color: var(--accent-green);
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .lang-switcher:hover {
            background: var(--accent-green);
            color: #fff;
        }

        .mobile-nav .lang-switcher {
            background: #fff;
            color: var(--accent-green);
            border: 2px solid #fff;
            font-size: 1.2rem;
            margin: 1rem 0;
        }

        .mobile-nav .lang-switcher:hover {
            background: var(--accent-green);
            color: #fff;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
            color: #fff;
            padding: 3rem 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .hero p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        /* Products Section */
        .products {
            padding: 3rem 0;
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .product {
            background: #fff;
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .product:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }
        
        .product img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
        }
        
        .product-info {
            padding: 1.5rem;
        }
        
        .product-info h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }
        
        .product-info p {
            color: var(--text-light);
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--accent-green);
            margin-bottom: 1rem;
        }
        
        .add-to-cart {
            width: 100%;
            background: var(--primary-blue);
            color: #fff;
            border: none;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .add-to-cart:hover {
            background: var(--secondary-blue);
        }
        
        /* Cart Section */
        .cart {
            background: #fff;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            padding: 2rem;
            margin-top: 2rem;
            display: none;
        }
        
        .cart.active {
            display: block;
        }
        
        .cart h2 {
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .cart-items {
            list-style: none;
            margin-bottom: 1.5rem;
        }
        
        .cart-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .cart-item:last-child {
            border-bottom: none;
        }
        
        .cart-item .item-info {
            flex: 1;
        }
        
        .cart-item .item-name {
            font-weight: 500;
            color: var(--text-dark);
        }
        
        .cart-item .item-quantity {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-top: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .cart-qty-controls {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .cart-qty-btn {
            width: 22px;
            height: 22px;
            border-radius: 999px;
            border: none;
            background: var(--accent-green);
            color: #fff;
            font-weight: 800;
            line-height: 1;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex: 0 0 auto;
        }

        .cart-qty-btn:hover {
            background: #047857;
        }

        .cart-qty-dec {
            background: var(--primary-blue);
        }

        .cart-qty-dec:hover {
            background: var(--secondary-blue);
        }

        .cart-qty-btn:focus-visible,
        .cart-remove-btn:focus-visible {
            outline: 3px solid rgba(37, 99, 235, 0.35);
            outline-offset: 2px;
        }

        .cart-remove-btn {
            width: 22px;
            height: 22px;
            border-radius: 999px;
            border: none;
            background: #ef4444;
            color: #fff;
            font-weight: 800;
            line-height: 1;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex: 0 0 auto;
        }

        .cart-remove-btn:hover {
            background: #dc2626;
        }

        
        .cart-item .item-price {
            font-weight: 600;
            color: var(--accent-green);
        }
        
        .cart-total {
            font-size: 1rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 1rem;
        }
        
        .cart-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .checkout-btn, .clear-cart-btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .checkout-btn {
            background: var(--accent-green);
            color: #fff;
        }
        
        .checkout-btn:hover {
            background: #047857;
        }
        
        .clear-cart-btn {
            background: var(--accent-orange);
            color: #fff;
        }
        
        .clear-cart-btn:hover {
            background: #c2410c;
        }
        
        /* Checkout Form */
        .checkout-form {
            background: #fff;
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            padding: 2rem;
            margin-top: 2rem;
            display: none;
        }
        
        .checkout-form.active {
            display: block;
        }
        
        .checkout-form h2 {
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--text-dark);
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-blue);
        }
        
        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .pickup-container {
            display: grid;
            grid-template-columns: auto 1fr;
            grid-template-rows: auto auto;
            column-gap: 0.5rem;
            row-gap: 0.25rem;
            align-items: flex-start;
            margin-bottom: 1.5rem;
        }

        .pickup-container input[type="checkbox"] {
            width: auto;
            margin-top: 0.25rem;
            grid-row: 1 / span 2;
        }

        .pickup-container label {
            margin-bottom: 0;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .pickup-hint {
            grid-column: 2;
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .agb-container {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        .agb-container input[type="checkbox"] {
            width: auto;
            margin-top: 0.25rem;
        }
        
        .agb-container label {
            margin-bottom: 0;
            font-size: 0.9rem;
        }
        
        .agb-container a {
            color: var(--primary-blue);
            text-decoration: none;
        }
        
        .agb-container a:hover {
            text-decoration: underline;
        }
        
        .submit-btn {
            width: 100%;
            background: var(--accent-green);
            color: #fff;
            border: none;
            padding: 1rem;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .submit-btn:hover {
            background: #047857;
        }
        
        /* Footer */
        .footer {
            background: var(--dark-gray);
            color: #fff;
            padding: 3rem 0 1rem;
            margin-top: 4rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .footer-section h3 {
            margin-bottom: 1rem;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--accent-green);
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 0.5rem;
        }
        
        .footer-section ul li a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-section ul li a:hover {
            color: #fff;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.6);
        }
        
        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #000;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        .lightbox.active {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .lightbox-content {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            background: #000;
            padding: 10px;
        }

        .lightbox-content[hidden] {
            display: none;
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: #fff;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s ease;
            background: rgba(0, 0, 0, 0.8);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2001;
        }
        
        .lightbox-close:hover {
            color: var(--accent-green);
            background: rgba(0, 0, 0, 0.9);
        }

        /* Lightbox Navigation */
        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            padding: 1rem;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 2001;
        }
        
        .lightbox-nav:hover {
            background: rgba(0, 0, 0, 0.9);
            color: var(--accent-green);
        }
        
        .lightbox-nav.prev {
            left: 30px;
        }
        
        .lightbox-nav.next {
            right: 30px;
        }
        
        .lightbox-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        /* Image Counter */
        .image-counter {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2001;
        }

        .image-counter[hidden] {
            display: none;
        }
        
        /* Product Image Container */
        .product-image-container {
            position: relative;
            overflow: hidden;
        }
        
        .product-image-container img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .product-image-container:hover img {
            transform: scale(1.05);
        }
        
        /* Image Count Badge */
        .image-count-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 500;
            z-index: 10;
        }

        .image-count-badge[hidden] {
            display: none;
        }
        
        /* Image Gallery Thumbnails */
        .image-gallery {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
        }
        
        .gallery-thumbnail {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        
        .gallery-thumbnail:hover {
            border-color: var(--primary-blue);
        }
        
        .gallery-thumbnail.active {
            border-color: var(--accent-green);
        }

        /* Mobile Lightbox Optimierungen */
        @media (max-width: 768px) {
            .lightbox {
                background: #000;
            }
            
            .lightbox-content {
                max-width: 95%;
                max-height: 95%;
                border-radius: 4px;
            }
            
            .lightbox-close {
                top: 15px;
                right: 15px;
                font-size: 1.5rem;
                width: 45px;
                height: 45px;
            }
            
            .lightbox-nav {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
                padding: 0.75rem;
            }
            
            .lightbox-nav.prev {
                left: 15px;
            }
            
            .lightbox-nav.next {
                right: 15px;
            }
            
            .image-counter {
                bottom: 15px;
                font-size: 0.8rem;
                padding: 0.4rem 0.8rem;
            }
            
            .image-gallery {
                gap: 0.25rem;
            }
            
            .gallery-thumbnail {
                width: 50px;
                height: 50px;
            }
        }
        
        .product img {
            cursor: pointer;
        }
        
        /* Success Banner */
        #success-banner {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #059669;
            color: white;
            padding: 1rem 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            z-index: 2000;
            font-weight: 600;
        }

        #success-banner[hidden] {
            display: none;
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                gap: 1rem;
            }

            .cart-bar-content {
                justify-content: center;
            }

            /* Mobile view: language switch only in expandable menu */
            .header-content > .lang-switcher {
                display: none;
            }
            
            .nav {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .products-grid {
                grid-template-columns: 1fr;
            }
            
            .cart-buttons {
                flex-direction: column;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }
