:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --danger-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Construction Notice */
.construction-notice {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom: 1px solid #fca5a5;
}

.notice-content {
    font-size: 1.125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.notice-content strong {
    font-weight: 700;
}

/* Mobile Anpassungen für Construction Notice */
@media (max-width: 768px) {
    .construction-notice {
        padding: 0.5rem 0;
        position: relative;
        top: 0;
    }
    
    .notice-content {
        font-size: 0.875rem;
        padding: 0 10px;
        line-height: 1.4;
    }
    
    .notice-content strong {
        display: block;
        width: 100%;
        margin-bottom: 0.25rem;
    }
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.language-switcher .lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
}

.language-switcher .lang-link:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-switcher .lang-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.language-switcher .flag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 15px;
    flex-shrink: 0;
}

.language-switcher .flag-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.language-switcher .lang-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cart-link {
    position: relative;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white !important;
    border-radius: 6px;
}

.cart-link:hover {
    background: var(--primary-dark);
}

.cart-count {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-left: 5px;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.flash-message {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.flash-success {
    background: var(--success-color);
    color: white;
}

.flash-error {
    background: var(--danger-color);
    color: white;
}

.flash-warning {
    background: var(--warning-color);
    color: white;
}

.flash-info {
    background: var(--primary-color);
    color: white;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-dark);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Sections */
section {
    padding: 4rem 0;
}

.page-header {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}


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

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

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

.product-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Product Detail */
.product-detail-section {
    padding: 3rem 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-description-full {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features,
.product-ingredients {
    margin-bottom: 2rem;
}

.product-features ul,
.product-ingredients ul {
    list-style: none;
    padding-left: 0;
}

.product-features li,
.product-ingredients li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before,
.product-ingredients li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.product-order-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.size-selection,
.quantity-selection {
    margin-bottom: 1.5rem;
}

.size-selection label,
.quantity-selection label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.size-selection select,
.quantity-selection input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.product-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.price-label {
    font-size: 1.125rem;
    font-weight: 500;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Cart */
.cart-section {
    padding: 3rem 0;
}

.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item-info h3 {
    margin-bottom: 0.5rem;
}

.cart-item-size {
    color: var(--text-light);
    font-size: 0.875rem;
}

.cart-item-price {
    color: var(--text-light);
    font-size: 0.875rem;
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
}

.summary-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.summary-card h3 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-total {
    border-top: 2px solid var(--border-color);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.25rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart h2 {
    margin-bottom: 1rem;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Checkout */
.checkout-section {
    padding: 3rem 0;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .checkout-steps {
        gap: 0.5rem;
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .step {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }
    
    .step-label {
        display: none;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
}

.step.active {
    background: var(--primary-color);
    color: white;
}

.step.completed {
    background: var(--success-color);
    color: white;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    font-weight: bold;
}

.step.active .step-number,
.step.completed .step-number {
    background: rgba(255,255,255,0.5);
}

.checkout-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.choice-card:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.checkout-form-section,
.checkout-summary {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.user-info {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

#payment-element {
    margin: 2rem 0;
}

.error-message {
    color: var(--danger-color);
    padding: 1rem;
    background: #fee2e2;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Status Badges und Info-Boxen */
.alert-success {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--success-color);
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid var(--primary-color);
}

.badge-success {
    padding: 0.25rem 0.75rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-error {
    padding: 0.25rem 0.75rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-info {
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}


.order-items {
    margin-bottom: 1.5rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.order-item-name {
    flex: 1;
}

.order-item-quantity {
    margin: 0 1rem;
    color: var(--text-light);
}

.order-item-price {
    font-weight: 500;
}

.order-total {
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.25rem;
    text-align: right;
}


.payment-method {
    margin-bottom: 1rem;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method input[type="radio"]:checked + .payment-label {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.payment-label:hover {
    border-color: var(--primary-color);
}

.payment-icon {
    font-size: 2rem;
    width: 50px;
    text-align: center;
}

.payment-info {
    flex: 1;
}

.payment-info strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.payment-info span {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
}

.payment-note {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    margin: 2rem 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* Auth */
.auth-section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.auth-card h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Success */
.success-section {
    padding: 6rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.success-message h1 {
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.text-center {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-section .obfuscated-contact {
    color: rgba(255,255,255,0.8);
    font-family: inherit;
    text-decoration: none;
}

.footer-section .obfuscated-contact:hover {
    color: white;
    text-decoration: underline;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.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);
}

/* Account Tabs */
.account-tab.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color) !important;
}

.account-tab:hover {
    color: var(--primary-color);
}

/* Order Cards */
.order-card-link {
    transition: transform 0.2s ease;
}

.order-card-link:hover {
    transform: translateY(-2px);
}

.order-card-link:hover .order-card {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        position: relative;
    }
    
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        width: 100%;
    }
    
    .nav-menu .language-switcher {
        display: flex;
        justify-content: center;
        padding: 1rem 20px;
        margin-left: 0 !important;
        border-bottom: none;
        gap: 1rem;
    }
    
    .nav-menu .language-switcher .lang-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        width: auto;
        display: inline-flex;
    }
    
    .nav-menu .language-switcher .flag-emoji {
        font-size: 1.5rem;
    }
    
    .nav-menu .language-switcher .lang-text {
        font-size: 1rem;
    }
    
    .cart-link {
        margin: 0 20px;
        text-align: center;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    /* Order Detail Responsive */
    .order-detail-section > .container > div > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Checkout Coupon Section Responsive */
    .checkout-form-section > div[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Account Tabs Responsive */
    .account-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .account-tab {
        border-bottom: 2px solid var(--border-color);
        border-left: 3px solid transparent;
        padding: 0.75rem 1rem !important;
    }
    
    .account-tab.active {
        border-left-color: var(--primary-color);
        border-bottom-color: var(--border-color);
    }
    
    .account-card {
        padding: 1.5rem !important;
    }
    
    .order-item {
        padding: 1rem !important;
    }
    
    .order-item > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .order-item > div[style*="text-align: right"] {
        text-align: left !important;
    }
    
    .order-card {
        padding: 1.25rem !important;
    }
    
    .order-card > div[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    .order-card > div[style*="display: flex"] > div[style*="text-align: right"] {
        text-align: left !important;
    }
    
    .order-card h3 {
        font-size: 1.125rem !important;
        white-space: nowrap !important;
    }
    
    .order-card > div[style*="display: flex"] > div[style*="flex: 1"] {
        min-width: 0 !important;
    }
}

main {
    flex: 1;
}

