/* /public/css/style.css - Haupt-Stylesheet für den Shop */

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, -50px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features .feature i {
    font-size: 1.2rem;
}

/* ========================================
   Events/Aktionen Section
   ======================================== */
.events-section {
    padding: 4rem 0;
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 2.5rem;
    border-radius: 15px;
    color: white;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.3);
}

.event-card:hover::before {
    transform: rotate(90deg);
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.event-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

.event-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-description {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.event-discount {
    margin: 1.5rem 0;
}

.event-discount .discount-value {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.event-products-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.event-timer {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 25px;
    display: inline-block;
    margin: 1.5rem 0;
    font-weight: 500;
}

.event-timer i {
    margin-right: 8px;
    animation: tick 1s infinite;
}

@keyframes tick {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.btn-event {
    background: white;
    color: #764ba2;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-event:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-event i {
    transition: transform 0.3s ease;
}

.btn-event:hover i {
    transform: translateX(5px);
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    padding: 5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF6B6B;
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: #50C878;
}

.product-badge.sale {
    background: #FF6B6B;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: white;
    color: #333;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-view:hover {
    background: #4A90E2;
    color: white;
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    min-height: 2.2rem;
}

.product-info h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: #4A90E2;
}

.product-rating {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .rating-count {
    color: #999;
    margin-left: 5px;
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4A90E2;
}

.btn-add-cart {
    width: 100%;
    background: #4A90E2;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-add-cart:hover {
    background: #357ABD;
    transform: translateY(-2px);
}

.btn-add-cart.added {
    background: #50C878;
}

.btn-disabled {
    width: 100%;
    background: #e0e0e0;
    color: #999;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ========================================
   Categories Section
   ======================================== */
.categories-section {
    background: white;
    padding: 5rem 0;
    margin: 3rem 0;
    border-radius: 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.category-card:hover::before {
    width: 300%;
    height: 300%;
}

.category-card:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-icon {
    font-size: 3.5rem;
    color: #4A90E2;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    color: #357ABD;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.category-count {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-link {
    color: #4A90E2;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.category-card:hover .category-link {
    gap: 10px;
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
    background: linear-gradient(135deg, #4A90E2 0%, #50C878 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
    margin: 4rem 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form .btn {
    padding: 14px 35px;
    white-space: nowrap;
}

/* ========================================
   Section Utilities
   ======================================== */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: #4A90E2;
    font-size: 2.5rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-outline-primary {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   Responsive Design für Homepage
   ======================================== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        padding: 2rem;
    }
    
    .event-discount .discount-value {
        font-size: 2.5rem;
    }
}

/* ========================================
   Reset & Basis-Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0056b3;
}

/* ========================================
   Header & Navigation
   ======================================== */
.main-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .logo h1 {
    color: #333;
    font-size: 1.5rem;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.main-nav a:hover {
    background: #f0f0f0;
    color: #333;
}

/* ========================================
   Main Content
   ======================================== */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   Product Grid
   ======================================== */
.product-grid-container {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-grid-container h1 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #f0f0f0;
}

.product-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.product-card .price {
    padding: 0 1rem 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: #007bff;
}

/* ========================================
   Product Detail Page
   ======================================== */
.product-main-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-visuals-column {
    margin-bottom: 2rem;
}

.product-image-display-area {
    position: relative;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

#main-product-image-container img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.thumbnails-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnails-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.thumbnails-container img:hover,
.thumbnails-container img.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.product-controls-column {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-price {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
    margin: 1.5rem 0;
}

/* ========================================
   Forms & Inputs
   ======================================== */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    color: white;
}

.w-100 {
    width: 100%;
}

.add-to-cart-btn {
    background: #28a745;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background: #218838;
}

/* ========================================
   Konfigurator Canvas
   ======================================== */
#configurator-canvas {
    border: 2px solid #ddd;
    border-radius: 4px;
    background: white;
    max-width: 100%;
}

.canvas-container-wrapper {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.canvas-container {
    margin: 0 auto;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

footer p {
    margin: 0;
}

/* ========================================
   Alerts & Messages
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .product-main-section {
        padding: 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .product-controls-column {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnails-container img {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   Loading Spinner
   ======================================== */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   Error Pages
   ======================================== */
.error-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.error-container h1 {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.error-container p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

        /* Grund-Styling für den Header */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        position: relative; /* Wichtig für das mobile Menü */
    }

    .main-header .logo h1 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
    }

    /* Desktop-Navigation */
    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 1.5rem;
    }

    .main-nav a, .cart a {
        text-decoration: none;
        color: #343a40;
        font-weight: 500;
        transition: color 0.2s;
    }

    .main-nav a:hover, .cart a:hover {
        color: #007bff;
    }

    /* Warenkorb und Mobile-Toggle */
    .header-right {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    /* Hamburger-Menü-Button */
    .mobile-nav-toggle {
        display: none; /* Auf Desktop ausgeblendet */
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; /* Stellt sicher, dass er über anderen Elementen liegt */
    }

    .mobile-nav-toggle .icon-bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #343a40;
        margin: 5px 0;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    /* Styling für das "X" (Schließen-Icon) */
    .mobile-nav-toggle.is-active .icon-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.is-active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.is-active .icon-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Responsive Anpassungen für Tablet & Mobile --- */
    @media (max-width: 768px) {
        .main-nav {
            /* Das Menü wird aus dem normalen Fluss genommen und als Panel positioniert */
            position: fixed;
            top: 0;
            right: 0;
            width: 280px; /* Breite des mobilen Menüs */
            height: 100vh;
            background-color: #ffffff;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            transform: translateX(100%); /* Standardmäßig außerhalb des Bildschirms */
            transition: transform 0.3s ease-in-out;
            z-index: 1000;
            padding-top: 5rem; /* Platz für den Header oben */
        }

        .main-nav.is-visible {
            transform: translateX(0); /* Fährt ins Bild, wenn aktiv */
        }

        .main-nav ul {
            flex-direction: column; /* Listenelemente untereinander anordnen */
            align-items: center;
            width: 100%;
            gap: 0;
        }

        .main-nav li {
            width: 100%;
            text-align: center;
        }

        .main-nav a {
            display: block;
            padding: 1rem;
            width: 100%;
            border-bottom: 1px solid #f0f2f5;
        }

        .mobile-nav-toggle {
            display: block; /* Hamburger-Button einblenden */
        }
    }
    /* Grund-Styling für den Body, um Hintergrundfarbe zu setzen */
    body {
        background-color: #f0f2f5;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    /* Haupt-Grid-Container, der die Seite in zwei Spalten teilt */
    .login-grid-container {
        display: grid;
        grid-template-columns: 1fr; /* Standard: eine Spalte für Mobile */
        min-height: 90vh;
        align-items: center;
        padding: 2rem;
    }

    /* Styling für die linke Spalte (Branding/Info) */
    .login-branding {
        display: none; /* Auf Mobilgeräten standardmäßig ausgeblendet */
        padding-right: 3rem;
        text-align: left;
    }

    .login-branding h1 {
        font-size: 3rem;
        font-weight: 700;
        color: #0056b3; /* Dunkleres Blau */
    }

    .login-branding p {
        font-size: 1.25rem;
        color: #495057;
        line-height: 1.6;
    }
    
    /* Styling für den Login-Container selbst */
    .login-container {
        width: 100%;
        max-width: 420px;
        padding: 2.5rem;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        justify-self: center; /* Zentriert die Box im Grid-Bereich */
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 2rem;
        font-weight: 600;
        color: #343a40;
    }

    /* Container für Label und Input */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .login-container label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #495057;
    }

    .login-container input[type="email"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid #ced4da;
        border-radius: 6px;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .login-container input:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

    .login-container button {
        width: 100%;
        padding: 0.8rem;
        border: none;
        border-radius: 6px;
        background-color: #007bff;
        color: white;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        margin-top: 1.5rem;
        transition: background-color 0.2s;
    }
    .login-container button:hover {
        background-color: #0056b3;
    }

    /* Container für die zusätzlichen Links */
    .form-links {
        display: flex;
        justify-content: space-between;
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    .form-links a {
        color: #007bff;
        text-decoration: none;
    }
    .form-links a:hover {
        text-decoration: underline;
    }

    .error {
        color: #721c24;
        background-color: #f8d7da;
        border: 1px solid #f5c6cb;
        padding: 1rem;
        border-radius: 6px;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    /* --- Responsive Anpassungen --- */

    /* Tablet-Ansicht */
    @media (min-width: 768px) {
        .login-grid-container {
            grid-template-columns: 1fr 1fr; /* Zwei Spalten */
            gap: 2rem;
        }
        .login-branding {
            display: block; /* Branding-Spalte einblenden */
            justify-self: end; /* Richtet die Branding-Box rechts in ihrer Spalte aus */
            max-width: 450px;
        }
        .login-container {
            justify-self: start; /* Richtet die Login-Box links in ihrer Spalte aus */
        }
    }

    /* PC-Ansicht */
    @media (min-width: 1024px) {
        .login-grid-container {
            gap: 5rem; /* Größerer Abstand auf großen Bildschirmen */
        }
    }

#canvas-container { text-align: center; }
#product-canvas { border: 1px solid #ccc; }

@font-face {
    font-family: 'CustomFont1';
    src: url('/templates/tpl_modified_nova/fonts/capo_ecclesia/CapoEcclesia.woff2') format('woff2'),
        url('/templates/tpl_modified_nova/fonts/capo_ecclesia/CapoEcclesia.woff') format('woff'),
        url('/templates/tpl_modified_nova/fonts/capo_ecclesia/CapoEcclesia.otf') format('opentype');
}

@font-face {
    font-family: 'CustomFont2';
    src: url('/templates/tpl_modified_nova/fonts/LT_oval/LTOval-Regular.otf') format('opentype');
}

#canvas-container { text-align: center; }
#product-canvas { border: 1px solid #ccc; }
    /* Grundlegende Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header-Stile */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-nav a, .cart a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Produkt-Raster-Stile */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-card h3 {
    margin-top: 15px;
    margin-bottom: 5px;
}

.product-card .price {
    color: #e67e22; /* Akzentfarbe für den Preis */
    font-size: 1.2em;
    font-weight: bold;
}

.add-to-cart-btn {
    background-color: #e67e22;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-block; /* Wichtig, da es jetzt ein <a>-Tag ist */
    text-decoration: none;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #d35400;
}

/* Footer-Stile */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 20px;
}
/* Globale Stile aus der vorherigen Datei bleiben bestehen */

/* Spezifische Stile für die Produktseite */
.product-page-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

@media (min-width: 768px) {
    .product-page-container {
        flex-direction: row;
    }
}

.product-image-gallery {
    flex: 1;
    text-align: center;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thumbnail-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail-images img:hover {
    border-color: #e67e22;
}

.product-details {
    flex: 1;
    padding: 20px;
}

.product-title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.product-price {
    font-size: 2em;
    color: #e67e22;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-options {
    margin-bottom: 20px;
}

.product-options label {
    font-weight: bold;
    margin-right: 10px;
}

.product-options input {
    width: 60px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
}

.large-btn {
    padding: 15px 30px;
    font-size: 1.2em;
}

/* Tab-Stile */
.product-info-tabs {
    margin-top: 30px;
}

.tab-button {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

.tab-button.active {
    background-color: #e67e22;
    color: #fff;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.active-content {
    display: block;
}



/* Spezifische Anpassungen für die Canvas-Integration */
#configurator-canvas {
    border: 1px solid #ccc;
}
.canvas-container-wrapper {
        max-width: 100%;
        overflow: auto;
}
/* Flexbox-Anpassung, um Konfigurator und Details nebeneinander zu legen */
.configurator-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Für größere Bildschirme, Konfigurator-Canvas und Optionen nebeneinander */
@media (min-width: 768px) {
    .configurator-wrapper {
        flex-direction: row;
    }
}

    /* Zusätzliche Anpassungen für die neue Aufteilung */
        .product-main-section {
            display: flex;
            flex-direction: column;
            gap: 40px;
            padding: 50px;
            max-width: 1200px;
            margin: auto;
        }

        @media (min-width: 992px) {
            .product-main-section {
                flex-direction: row;
            }
        }
        
        .product-image-container {
            flex: 1; /* Nimmt den verbleibenden Platz ein */
        }

        .product-details-container {
            flex: 1; /* Nimmt den verbleibenden Platz ein */
        }
        
        #configurator-canvas {
            border: 1px solid #ccc;
        }
        
        .canvas-container-wrapper {
             max-width: 100%;
             overflow: auto;
             margin-bottom: 20px;
        }

        .product-additional-info {
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px 50px;
            background-color: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            border-radius: 8px;
        }
        
        .product-main-info {
            margin-bottom: 20px;
        }
        .product-image-gallery {
    flex-basis: 50%;
    padding-right: 20px;
}
#main-product-image-container {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden; /* Verhindert, dass Bilder über den Rand ragen */
    position: relative; /* Wichtig für die Positionierung der Canvas */
}
#main-product-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}
.thumbnails-container {
    display: flex;
    gap: 10px;
}
.thumbnails-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s;
}
.thumbnails-container img:hover {
    border-color: #999;
}
.thumbnails-container img.active {
    border-color: #007bff; /* Aktives Thumbnail hervorheben */
}

/* Anpassung, um Canvas und Bild zu überlagern */
.canvas-container-wrapper {
    position: absolute; /* Über das Hauptbild legen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#configurator-canvas {
    /* Die Canvas selbst ist jetzt transparent, wir sehen das Hauptbild dahinter */
    background-color: transparent !important;
}

   /* Haupt-Container für das zweispaltige Layout */
        .product-main-section {
            display: flex;
            flex-wrap: wrap; /* Erlaubt den Umbruch auf kleineren Bildschirmen */
            gap: 40px;       /* Größerer Abstand zwischen den Spalten */
            padding: 2rem;   /* Einheitlicher Abstand zum Rand */
            max-width: 1400px;
            margin: auto;
        }

        /* Spalte 1: Visualisierung (Canvas und Thumbnails) */
        .product-visuals-column {
            flex: 3; /* Nimmt mehr Platz ein */
            min-width: 450px; 
            display: flex;
            flex-direction: column;
        }

        .canvas-container-wrapper {
            width: 100%;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            margin-bottom: 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            overflow: hidden; /* Stellt sicher, dass die Canvas innerhalb des Rahmens bleibt */
        }

        #configurator-canvas {
            width: 100%;
            height: auto;
            display: block;
        }

        .thumbnails-container {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center; /* Zentriert die Thumbnails, wenn Platz übrig ist */
        }

        .thumbnails-container img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border: 2px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
        }

        .thumbnails-container img:hover {
            border-color: #999;
            transform: scale(1.05);
        }

        .thumbnails-container img.active {
            border-color: #007bff;
            box-shadow: 0 0 8px rgba(0,123,255,0.6);
            transform: scale(1.05);
        }

        /* Spalte 2: Bedienelemente */
        .product-controls-column {
            flex: 2; /* Nimmt weniger Platz ein */
            min-width: 340px;
            background-color: #f9f9f9;
            padding: 2rem;
            border-radius: 8px;
        }

        .product-controls-column hr {
            margin: 1.5rem 0;
        }

        /* Responsive Anpassung für mobile Geräte */
        @media (max-width: 820px) {
            .product-main-section {
                flex-direction: column; /* Spalten untereinander anordnen */
                padding: 1rem;
                gap: 20px;
            }
            .product-visuals-column, .product-controls-column {
                min-width: 100%;
            }
        }

        /* /public/css/konfigurator-extra.css */

/* Druckbereich-Indikator */
.printable-area-info {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
}

.printable-area-info::before {
    content: "ℹ️ ";
}

/* Canvas-Container Verbesserungen */
.canvas-container-wrapper {
    position: relative;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Druckbereich-Legende */
.print-area-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    font-size: 13px;
}

.print-area-legend::before {
    content: "";
    width: 30px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #FF6B6B,
        #FF6B6B 5px,
        transparent 5px,
        transparent 10px
    );
}

/* Konfigurator-Kontrollen */
.configurator-controls {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.configurator-controls .form-group {
    margin-bottom: 15px;
}

/* Werkzeug-Buttons */
.tool-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tool-buttons button {
    flex: 1;
    padding: 10px;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.tool-buttons button:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.tool-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tool-buttons button.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* Thumbnail-Galerie */
#product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: white;
    border-radius: 4px;
    overflow-x: auto;
}

#product-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

#product-thumbnails img:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

#product-thumbnails img.active {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

/* Hinweis für Druckbereich-Überschreitung */
.out-of-bounds-warning {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Ladeanimation */
.canvas-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.canvas-loading::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 10px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


        /* Reset & Basis */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f5f5f5; 
            color: #333;
            line-height: 1.6;
        }
        
        .container { 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 0 20px; 
        }
        
        /* Header */
        .main-header { 
            background: white; 
            box-shadow: 0 2px 10px rgba(0,0,0,0.08); 
            position: sticky; 
            top: 0; 
            z-index: 1000;
        }
        
        .header-content { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            padding: 1rem 0;
        }
        
        .logo h1 { 
            color: #4A90E2; 
            font-size: 1.8rem; 
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .main-nav ul { 
            display: flex; 
            list-style: none; 
            gap: 2rem; 
        }
        
        .main-nav a { 
            text-decoration: none; 
            color: #333; 
            font-weight: 500; 
            transition: color 0.3s;
            padding: 0.5rem;
        }
        
        .main-nav a:hover { 
            color: #4A90E2; 
        }
        
        .header-actions { 
            display: flex; 
            gap: 1.5rem; 
            align-items: center; 
        }
        
        .cart-icon { 
            position: relative; 
            color: #333; 
            font-size: 1.2rem; 
            text-decoration: none;
        }
        
        .cart-count { 
            position: absolute; 
            top: -8px; 
            right: -8px; 
            background: #FF6B6B; 
            color: white; 
            border-radius: 50%; 
            width: 20px; 
            height: 20px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        /* Hero Section */
        .hero-section { 
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
            color: white; 
            padding: 5rem 0; 
            margin: 2rem 0; 
            border-radius: 15px;
            text-align: center;
        }
        
        .hero-content h2 { 
            font-size: 3rem; 
            margin-bottom: 1rem;
            font-weight: 700;
        }
        
        .hero-content p { 
            font-size: 1.3rem; 
            margin-bottom: 2rem; 
            opacity: 0.95;
        }
        
        /* Buttons */
        .btn { 
            padding: 12px 30px; 
            border: none; 
            border-radius: 25px; 
            font-weight: 600; 
            cursor: pointer; 
            text-decoration: none; 
            display: inline-block; 
            transition: all 0.3s;
            font-size: 1rem;
        }
        
        .btn-primary { 
            background: white; 
            color: #4A90E2;
        }
        
        .btn-primary:hover { 
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .btn-event {
            background: white;
            color: #764ba2;
            padding: 8px 20px;
            font-size: 0.9rem;
        }
        
        /* Sections */
        .section { 
            padding: 4rem 0; 
        }
        
        .section-title { 
            text-align: center; 
            font-size: 2.5rem; 
            margin-bottom: 3rem; 
            color: #333;
            font-weight: 600;
        }
        
        /* Events */
        .events-section {
            padding: 3rem 0;
            background: white;
            margin: 2rem 0;
            border-radius: 15px;
        }
        
        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .event-card {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            padding: 2rem;
            border-radius: 15px;
            color: white;
            text-align: center;
            position: relative;
            transition: transform 0.3s;
        }
        
        .event-card:hover {
            transform: translateY(-5px);
        }
        
        .event-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255,255,255,0.3);
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            backdrop-filter: blur(10px);
        }
        
        .event-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .event-discount {
            font-size: 2.5rem;
            font-weight: bold;
            margin: 1rem 0;
        }
        
        .event-timer {
            background: rgba(255,255,255,0.2);
            padding: 8px 15px;
            border-radius: 20px;
            display: inline-block;
            margin: 1rem 0;
        }
        
        /* Products */
        .products-section { 
            padding: 4rem 0; 
        }
        
        .products-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
            gap: 2rem; 
        }
        
        .product-card { 
            background: white; 
            border-radius: 12px; 
            overflow: hidden; 
            transition: all 0.3s;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        
        .product-card:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }
        
        .product-image { 
            height: 200px; 
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: #999;
            font-size: 3rem;
        }
        
        .product-info { 
            padding: 1.5rem; 
        }
        
        .product-info h3 { 
            margin-bottom: 0.5rem; 
            color: #333;
            font-size: 1.1rem;
        }
        
        .product-price { 
            font-size: 1.4rem; 
            font-weight: bold; 
            color: #4A90E2; 
            margin-bottom: 1rem;
        }
        
        .btn-add-cart { 
            width: 100%; 
            background: #4A90E2; 
            color: white; 
            padding: 10px; 
            border: none; 
            border-radius: 8px; 
            cursor: pointer; 
            transition: background 0.3s;
            font-weight: 500;
            font-size: 0.95rem;
        }
        
        .btn-add-cart:hover { 
            background: #357ABD;
        }
        
        /* Categories */
        .categories-section { 
            background: white; 
            padding: 4rem 0; 
            margin: 2rem 0; 
            border-radius: 15px;
        }
        
        .categories-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
            gap: 2rem;
        }
        
        .category-card { 
            text-align: center; 
            padding: 2rem; 
            background: #f8f9fa; 
            border-radius: 12px; 
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .category-card:hover { 
            transform: translateY(-5px);
            background: #fff;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .category-icon { 
            font-size: 3rem; 
            color: #4A90E2; 
            margin-bottom: 1rem;
        }
        
        .category-card h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }
        
        .category-card p {
            color: #666;
            font-size: 0.9rem;
        }
        
        /* Newsletter */
        .newsletter-section {
            background: linear-gradient(135deg, #4A90E2 0%, #50C878 100%);
            padding: 3rem 0;
            color: white;
            text-align: center;
            margin: 3rem 0;
            border-radius: 15px;
        }
        
        .newsletter-form {
            display: flex;
            gap: 1rem;
            justify-content: center;
            margin-top: 2rem;
            flex-wrap: wrap;
        }
        
        .newsletter-form input {
            padding: 12px 20px;
            border: none;
            border-radius: 25px;
            min-width: 300px;
            font-size: 1rem;
        }
        
        /* Footer */
        .main-footer { 
            background: #2C3E50; 
            color: white; 
            padding: 3rem 0;
            margin-top: 4rem;
        }
        
        .footer-content { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 { 
            margin-bottom: 1rem;
            color: #fff;
        }
        
        .footer-column ul { 
            list-style: none; 
        }
        
        .footer-column li {
            margin-bottom: 0.5rem;
        }
        
        .footer-column a { 
            color: rgba(255,255,255,0.8); 
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover { 
            color: white;
        }
        
        .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);
        }
        
        /* Alert */
        .alert { 
            padding: 1rem 1.5rem; 
            margin: 1rem 0; 
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .alert-success { 
            background: #d4edda; 
            border: 1px solid #c3e6cb;
            color: #155724;
        }
        
        .alert-error { 
            background: #f8d7da; 
            border: 1px solid #f5c6cb;
            color: #721c24;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .main-nav { display: none; }
            .hero-content h2 { font-size: 2rem; }
            .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
            .categories-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
            .newsletter-form { flex-direction: column; align-items: center; }
            .newsletter-form input { width: 100%; max-width: 400px; }
        }
   

        /* Header Layout Verbesserungen */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*padding: 1rem 2rem;*/
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

/* Suchleiste Styling */
.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-form input {
    width: 100%;
    padding: 10px 45px 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-form input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.search-button {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    font-size: 18px;
}

/* Navigation angepasst */
.main-nav {
    flex-shrink: 0;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.main-nav a:hover {
    background: #f0f0f0;
    color: #4CAF50;
}

.language-switcher a.active {
    color: #4CAF50;
    font-weight: 600;
}

/* User Dropdown Menu */
.user-menu {
    position: relative;
}

.user-menu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 8px;
    min-width: 150px;
}

.user-menu:hover .dropdown {
    display: block;
}

.user-menu .dropdown li {
    list-style: none;
}

.user-menu .dropdown a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

/* Warenkorb Verbesserungen */
.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.2s;
}

.cart-link:hover {
    background: #f0f0f0;
    color: #4CAF50;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff5722;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.cart-text {
    font-size: 14px;
}

/* Mobile Suchleiste */
.mobile-search-bar {
    display: none;
    padding: 1rem;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.mobile-search-bar.is-visible {
    display: block;
}

.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-search {
        max-width: 300px;
    }
    
    .main-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .header-search {
        display: none;
    }
    
    .mobile-search-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 5rem;
    }

    .main-nav.is-visible {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .cart-text {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .language-switcher {
        padding: 1rem;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .main-header {
        background: #1e1e1e;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .logo h1 {
        color: #fff;
    }
    
    .search-form input {
        background: #2c2c2c;
        color: #fff;
        border-color: #444;
    }
    
    .main-nav a,
    .cart-link {
        color: #fff;
    }
    
    .main-nav a:hover,
    .cart-link:hover {
        background: #2c2c2c;
    }
    
    .mobile-search-bar {
        background: #2c2c2c;
        border-color: #444;
    }
}