/* ===== LUMIÈRE GUTSCHEINE DESIGN SYSTEM ===== */

:root {
    /* Lumière Farben */
    --lumiere-primary: #667eea;
    --lumiere-primary-dark: #5a67d8;
    --lumiere-secondary: #764ba2;
    --lumiere-accent: #f6ad55;
    --lumiere-success: #48bb78;
    --lumiere-danger: #f56565;
    --lumiere-warning: #ed8936;
    --lumiere-info: #4299e1;
    
    /* Graustufen */
    --lumiere-black: #1a1a1a;
    --lumiere-gray-900: #2d3748;
    --lumiere-gray-800: #4a5568;
    --lumiere-gray-700: #718096;
    --lumiere-gray-600: #a0aec0;
    --lumiere-gray-500: #cbd5e0;
    --lumiere-gray-400: #e2e8f0;
    --lumiere-gray-300: #edf2f7;
    --lumiere-gray-200: #f7fafc;
    --lumiere-gray-100: #fafafa;
    --lumiere-white: #ffffff;
    
    /* Schatten */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.12);
    
    /* Abstände */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Radien */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Basis Styles */
body {
    background: #fafafa;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navigation Bar */
.navbar {
    background: var(--lumiere-white) !important;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar {
        padding: 0.75rem 0 !important;
        margin: 0 !important;
    }
    
    .nav-flex {
        padding: 0 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .back-to-shop-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .back-to-shop-btn .me-2 {
        margin-right: 0.25rem !important;
    }
    
    /* Container ohne margin-top */
    .container.mt-2 {
        margin-top: 0 !important;
        padding-top: 1rem !important;
    }
    
    main {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--lumiere-black);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--lumiere-primary);
    transform: translateX(2px);
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-xl);
}

/* Back to Shop Button */
.back-to-shop-btn {
    background: var(--lumiere-black);
    color: var(--lumiere-white);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-shop-btn:hover {
    background: var(--lumiere-gray-800);
    color: var(--lumiere-white);
    transform: translateY(-1px);
    text-decoration: none;
}

.back-to-shop-btn i {
    font-size: 1rem;
}

/* Main Content Container */
main {
    padding: var(--spacing-xl) 0;
    min-height: calc(100vh - 80px);
}

.container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--lumiere-gray-900);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
}

.container h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-full);
}

/* Gutschein Cards */
.gutschein-card {
    background: var(--lumiere-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gutschein-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--lumiere-primary);
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(246, 173, 85, 0.3);
}

.premium-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Gutschein Header */
.gutschein-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.gutschein-card.featured .gutschein-header {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.gutschein-card.premium .gutschein-header {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.gutschein-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.gutschein-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Gutschein Body */
.gutschein-body {
    padding: 1.5rem;
    flex: 1;
}

/* Gutschein Code */
.gutschein-code {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.code-label {
    font-size: 0.85rem;
    color: var(--lumiere-gray-600);
    font-weight: 500;
}

.code-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lumiere-primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    flex: 1;
}

.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.copy-btn i {
    font-size: 1rem;
}

/* Gutschein Description */
.gutschein-description {
    font-size: 0.95rem;
    color: var(--lumiere-gray-700);
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Gutschein Details */
.gutschein-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--lumiere-gray-600);
}

.detail-item i {
    color: var(--lumiere-primary);
    font-size: 1rem;
}

/* Gutschein Footer */
.gutschein-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.apply-btn {
    width: 100%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    background: linear-gradient(135deg, #38a169 0%, #48bb78 100%);
}

.apply-btn:active {
    transform: translateY(0);
}

/* Empty State */
#gutscheineEmpty {
    padding: 3rem 0;
    animation: fadeIn 0.5s ease;
}

#gutscheineEmpty i {
    color: #cbd5e0;
    margin-bottom: 1rem;
    font-size: 3rem;
}

#gutscheineEmpty p {
    color: var(--lumiere-gray-600);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

#gutscheineEmpty .small {
    color: var(--lumiere-gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

#gutscheineEmpty .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

#gutscheineEmpty .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .nav-flex {
        padding: 0 var(--spacing-md);
    }
    
    .back-to-shop-btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.85rem;
    }
    
    .container h2 {
        font-size: 1.5rem;
    }
    
    .gutschein-header {
        padding: 1.5rem 1rem;
    }
    
    .gutschein-header i {
        font-size: 2rem;
    }
    
    .gutschein-header h3 {
        font-size: 1.3rem;
    }
    
    .gutschein-body {
        padding: 1rem;
    }
    
    .code-value {
        font-size: 1rem;
    }
    
    .featured-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .container h2 {
        font-size: 1.3rem;
    }
    
    .gutschein-header {
        padding: 1.25rem 0.75rem;
    }
    
    .gutschein-header i {
        font-size: 1.75rem;
    }
    
    .gutschein-header h3 {
        font-size: 1.2rem;
    }
    
    .gutschein-code {
        flex-wrap: wrap;
    }
    
    .code-value {
        font-size: 0.95rem;
    }
    
    .copy-btn {
        width: 32px;
        height: 32px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--lumiere-gray-100);
}

body::-webkit-scrollbar-thumb {
    background: var(--lumiere-gray-400);
    border-radius: var(--radius-full);
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--lumiere-gray-500);
}

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--lumiere-primary);
    outline-offset: 2px;
}
