/* ============================================================
   Fleischgriller.de – Design System
   Clean & Modern – Grillfleisch-Lieferdienst
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-v20-latin.woff2') format('woff2');
}

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* Farben */
    --color-primary: #D97706;
    --color-primary-dark: #B45309;
    --color-primary-light: #FCD34D;
    --color-primary-glow: rgba(217, 119, 6, 0.15);
    
    --color-accent: #16A34A;
    --color-accent-dark: #15803D;
    
    --color-danger: #DC2626;
    --color-danger-dark: #B91C1C;
    --color-warning: #D97706;
    --color-info: #2563EB;
    --color-success: #16A34A;
    --color-success-light: #22C55E;
    --bg-success: #DCFCE7; /* 10% opacity equivalent of success green */
    --bg-warning: #fff3cd;
    --color-warning-dark: #856404;
    
    /* Hintergründe */
    --bg-body: #FAF9F7;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F4F1ED;
    --bg-surface-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FFFFFF;
    --bg-input: #FFFFFF;
    --bg-input-focus: #FFFFFF;
    --bg-primary: #FFFFFF;          /* Eingabefelder, inline Inputs */
    --bg-secondary: #F4F1ED;        /* Panels, Modals, Container-Hintergründe */
    
    /* Borders */
    --border-subtle: rgba(0, 0, 0, 0.05);
    --border-default: rgba(0, 0, 0, 0.1);
    --border-strong: rgba(0, 0, 0, 0.15);
    --border-primary: rgba(217, 119, 6, 0.3);
    
    /* Text */
    --text-primary: #2C2A28;
    --text-secondary: #57534E;
    --text-muted: #78716C;
    --text-inverse: #FFFFFF;
    
    /* Schatten */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.15);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
    --color-brand-accent: #B45309; /* Logo-Akzent (angepasst für WCAG 4.5:1 auf hellem Grund) */
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    min-height: 100vh;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover {
    color: var(--color-primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    color: #1A1917;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

.text-gradient { color: #D97706; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section { padding: var(--space-3xl) 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-svg {
    height: 28px;
    width: auto;
    color: var(--color-primary);
    flex-shrink: 0;
}

.logo-brand-accent {
    color: var(--color-brand-accent);
}

.logo:hover {
    color: var(--text-inverse);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap; /* Verhindert Umbrüche wie bei "Hallo Jens" */
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary-dark);
    border-radius: 1px;
}

/* Cart Badge */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--color-primary);
    color: var(--text-inverse);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-sm);
    margin-left: auto;
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .header-inner nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
    .header-inner nav.nav-open {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        background: var(--bg-surface);
        border-bottom: 2px solid var(--color-primary);
        padding: var(--space-md) 0;
        gap: 0;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }
    .header-inner nav.nav-open .nav-links {
        transform: translateY(0);
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border-subtle);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 16px var(--space-xl);
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--text-primary);
        white-space: normal;
    }
    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(245, 158, 11, 0.06);
    }
    .nav-links a.active {
        color: var(--color-primary);
        font-weight: 700;
    }
    .nav-links a.active::after {
        display: none;
    }
    
    /* Cart + auth buttons in mobile menu */
    .nav-links .cart-link {
        justify-content: flex-start;
    }
    .nav-links .btn {
        margin: var(--space-sm) var(--space-xl);
        text-align: center;
        display: block;
    }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--text-inverse);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    color: var(--text-inverse);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-input-focus);
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--text-inverse);
}

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

.btn-danger:hover {
    background: var(--color-danger-dark);
    color: #fff;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-default);
}

.card-elevated {
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.grillbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .product-grid,
    .grillbox-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.product-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-surface);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.product-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.product-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.product-card-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.product-card-legal {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

.product-card-legal a {
    color: var(--text-muted);
    text-decoration: underline;
}

.product-card-legal a:hover {
    color: var(--color-primary);
}

/* ============================================================
   Forms
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: var(--bg-input-focus);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237C7C8A' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-danger);
    margin-top: var(--space-xs);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

/* ============================================================
   Alerts / Flash Messages
   ============================================================ */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991B1B;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400E;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-info);
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
}

/* ============================================================
   Tables
   ============================================================ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: var(--bg-surface);
    padding: var(--space-md) var(--space-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
}

tbody td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--bg-card-hover);
}

/* Sortierbare Spalte */
th.sortable {
    cursor: pointer;
    user-select: none;
}

th.sortable:hover {
    color: var(--color-primary);
}

th.sortable::after {
    content: ' ↕';
    font-size: 0.7rem;
    opacity: 0.5;
}

th.sortable.asc::after { content: ' ↑'; opacity: 1; }
th.sortable.desc::after { content: ' ↓'; opacity: 1; }

/* ============================================================
   Badge / Tag
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-primary {
    background: rgba(245, 158, 11, 0.15);
    color: #92400E;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #991B1B;
}

.badge-muted {
    background: rgba(124, 124, 138, 0.15);
    color: var(--text-muted);
}

/* ============================================================
   Modal
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #0f0f14;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #B4B4BE;
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand p {
    color: #8F8880; /* heller als --text-muted (#78716C): erreicht ~5,5:1 auf #0f0f14-Footer statt ~4,0:1 */
    font-size: 0.85rem;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: #8F8880; /* heller als --text-muted (#78716C): erreicht ~5,5:1 auf #0f0f14-Footer statt ~4,0:1 */
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-lg);
    text-align: center;
    color: #8F8880; /* heller als --text-muted (#78716C): erreicht ~5,5:1 auf #0f0f14-Footer statt ~4,0:1 */
    font-size: 0.8rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(217, 119, 6, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(239, 68, 68, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, #0f0f14 0%, #1a1a2e 30%, #2d1b0e 60%, #1a0f0a 80%, #0f0f14 100%);
    z-index: 0;
}
.hero-gradient-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 20, 0.3) 0%,
        rgba(15, 15, 20, 0.1) 40%,
        rgba(15, 15, 20, 0.5) 100%
    );
}

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 15, 20, 0.92) 0%,
        rgba(15, 15, 20, 0.75) 50%,
        rgba(15, 15, 20, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding-top: calc(var(--header-height) + var(--space-md)); padding-bottom: var(--space-lg); }
    .hero-content { padding: var(--space-lg) var(--space-md); }
    .hero-title { font-size: 1.8rem; margin-bottom: var(--space-md); }
    .hero-subtitle { font-size: 17px; line-height: 1.7; margin-bottom: var(--space-lg); line-height: 1.6; }
    .hero-actions { gap: var(--space-sm); }
    .hero-actions .btn { padding: 10px 20px; font-size: 0.9rem; }
    .hero-trust { margin-top: var(--space-lg); gap: var(--space-sm); flex-direction: column; align-items: flex-start; padding: var(--space-md); background: rgba(255,255,255,0.03); border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
    .hero-trust-item { font-size: 0.82rem; gap: 6px; }
    .hero-trust-item span.trust-icon { font-size: 1.1rem; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #B5AFA8; /* heller als --text-secondary: erreicht ~7,3:1 auf dunklem Hero-Overlay (rgba(15,15,20,.6-.92)) */
    margin-bottom: var(--space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-trust {
    margin-top: var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #A39D96; /* heller als --text-muted: erreicht ~5,9:1 auf dunklem Hero-Overlay (rgba(15,15,20,.6-.92)) */
    font-size: 0.9rem;
}

.hero-trust-item span.trust-icon {
    font-size: 1.3rem;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Floating Badge */
.hero-badge {
    position: absolute;
    bottom: var(--space-2xl);
    right: var(--space-2xl);
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================================
   Steps Section (So funktioniert's)
   ============================================================ */
.step-card {
    text-align: center;
    padding: var(--space-xl);
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto var(--space-lg);
    color: var(--color-primary);
}
.step-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Step connector line */
.steps-container {
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 36px);
    right: calc(16.67% + 36px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}

@media (max-width: 768px) {
    .steps-container::before { display: none; }
}

/* ============================================================
   Quantity Selector
   ============================================================ */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-input);
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: var(--bg-input-focus);
}

.qty-value {
    width: 44px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    border: none;
    background: transparent;
    outline: none;
}

/* ============================================================
   Cart
   ============================================================ */
.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-surface);
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

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

.cart-item-total {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.05rem;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: var(--space-sm);
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-danger);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-default);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================================
   Customer Dashboard
   ============================================================ */
.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
    padding-top: calc(var(--header-height) + var(--space-2xl));
    min-height: 100vh;
}

@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        padding-top: calc(var(--header-height) + var(--space-lg));
        gap: var(--space-md);
    }
    .dashboard-sidebar {
        position: static;
        border-radius: var(--radius-md);
        padding: var(--space-xs) var(--space-sm);
    }
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        padding-bottom: 2px;
        justify-content: center;
    }
    .sidebar-nav li a {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    .dashboard-title {
        font-size: 1.3rem !important;
    }
    .dashboard-content {
        padding: 0;
    }
    /* Stat grid mobil */
    .admin-stat-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-sm) !important;
    }
    .stat-card {
        padding: var(--space-md) !important;
    }
    .stat-card-value {
        font-size: 1.1rem !important;
    }
    /* Tabellen mobil */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    table th, table td {
        padding: var(--space-xs) var(--space-sm) !important;
        font-size: 0.8rem !important;
    }
    /* Flex-between mobil */
    .flex-between {
        gap: var(--space-sm) !important;
    }
    /* Cards mobil */
    .card {
        padding: var(--space-md) !important;
    }
    .card .card { padding: var(--space-sm) !important; }
    /* Buttons mobil */
    .btn { font-size: 0.85rem; }
    .btn-lg { font-size: 17px; line-height: 1.7; padding: 12px 20px; }
    /* Cart summary */
    .cart-summary-row, .cart-summary-total {
        font-size: 0.9rem;
    }
}

/* Order card hover */
.order-card:hover, .order-card:active {
    border-color: var(--color-primary) !important;
    transform: translateY(-1px);
}

.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    height: fit-content;
    max-height: calc(100vh - var(--header-height) - var(--space-lg) * 2);
    overflow-y: auto;
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
}

/* Custom Scrollbar for Sidebar */
.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}
.dashboard-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    line-height: 1.2;
}

.sidebar-nav li a .nav-icon,
.sidebar-nav li a > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    max-width: 24px;
    height: 24px;
    font-size: 1.1rem;
    flex-shrink: 0;
    text-align: center;
}

.sidebar-nav li a .nav-label {
    flex: 1;
    display: block;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav li a:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.sidebar-nav li a.active {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-primary);
}

.sidebar-group-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted, #666);
    padding: var(--space-md) var(--space-md) 4px;
    margin-top: 4px;
    pointer-events: none;
    user-select: none;
    opacity: 0.6;
}

.dashboard-content {
    padding-bottom: var(--space-2xl);
}

.dashboard-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
}

/* ============================================================
   Admin Specific
   ============================================================ */
.dashboard-layout .container,
.dashboard-layout {
    max-width: 100%;
}
body:has(.dashboard-layout) .container {
    max-width: 1440px;
}
.admin-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-change {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-top: var(--space-xs);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary-color { color: var(--color-primary); }
.text-success { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-gap-sm { gap: var(--space-sm); }
.flex-gap-md { gap: var(--space-md); }

.hidden { display: none !important; }

/* Fade-in Animation */
.fade-in {
    opacity: 1 !important;
    animation: fadeIn 0.6s ease;
}

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

/* Fallback: wenn kein JS oder Observer nicht unterstützt */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1 !important; }
}

/* Stagger children */
.stagger-in > * {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.stagger-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-in > *:nth-child(6) { animation-delay: 0.6s; }

/* ============================================================
   Comprehensive Mobile Optimization
   ============================================================ */
@media (max-width: 768px) {
    /* --- Global Mobile --- */
    :root {
        --header-height: 60px;
    }

    body {
        font-size: 15px;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }

    /* --- Header / Nav Mobile --- */
    .site-header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo span {
        font-size: 1.15rem !important;
    }

    .logo-svg {
        height: 1.2em; /* Skaliert proportional mit font-size */
    }

    .logo {
        gap: var(--space-sm);
    }
    
    .nav-links {
        padding: var(--space-md) !important;
        gap: var(--space-sm) !important;
    }

    .nav-links li a {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: var(--bg-surface-hover);
    }

    /* --- Cart Items Mobile --- */
    .cart-item {
        flex-wrap: wrap;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .cart-item-image {
        width: 64px;
        height: 64px;
    }

    .cart-item-details {
        flex: 1;
        min-width: 0;
    }

    .cart-item-name {
        font-size: 17px; line-height: 1.7;
        line-height: 1.3;
    }

    .cart-item-price {
        font-size: 0.8rem;
    }

    .cart-item-actions {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        margin-top: 4px;
    }

    .cart-item-total {
        font-size: 1rem;
    }

    .quantity-controls {
        gap: 0;
    }

    .quantity-controls button {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .quantity-controls .quantity-value {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* --- Cart Summary Mobile --- */
    .cart-summary {
        padding: var(--space-md);
    }

    .cart-summary h3 {
        font-size: 1.1rem;
    }

    /* --- Checkout Mobile --- */
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
    }

    .checkout-grid > .card {
        padding: var(--space-md) !important;
    }

    /* --- Product Cards Mobile --- */
    .product-card-body {
        padding: var(--space-md);
    }

    .product-card-title {
        font-size: 1rem;
    }

    .product-card-price {
        font-size: 1.15rem;
    }

    .product-card-actions {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .product-card-actions .btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    /* --- Tables Mobile (Admin, Bestellungen) --- */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }

    table {
        font-size: 0.8rem;
        min-width: 500px;
    }

    table th, table td {
        padding: 8px 10px;
    }

    /* --- Admin Dashboard Mobile --- */
    .admin-stat-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-sm);
    }

    .stat-card {
        padding: var(--space-md);
    }

    .stat-card-value {
        font-size: 1.4rem;
    }

    .stat-card-label {
        font-size: 0.7rem;
    }

    /* --- Dashboard Sidebar Mobile --- */
    .dashboard-sidebar {
        position: static;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
        padding-bottom: var(--space-xs);
    }

    .sidebar-nav li {
        flex-shrink: 0;
    }

    .sidebar-nav li a {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }

    /* --- Footer Mobile --- */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-heading {
        margin-top: var(--space-sm);
    }

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

    /* --- Landing Hero Mobile --- */
    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section p {
        font-size: 1rem;
    }

    /* --- Forms Mobile --- */
    .form-input, .form-select, .form-textarea {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* --- Buttons Mobile --- */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* --- Alerts Mobile --- */
    .alert {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }

    /* --- Cards allgemein --- */
    .card {
        padding: var(--space-md);
    }

    /* --- Flex-Between Mobile --- */
    .flex-between {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    /* --- Spacing Reduction --- */
    .mb-xl { margin-bottom: var(--space-lg); }
    .mb-2xl { margin-bottom: var(--space-xl); }
    .section { padding: var(--space-2xl) 0; }

    /* --- Safe Area for mobile cart bar --- */
    main {
        padding-bottom: 80px;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    h1 { font-size: 1.4rem !important; }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .admin-stat-grid {
        grid-template-columns: 1fr !important;
    }

    .cart-item-image {
        width: 52px;
        height: 52px;
    }
    
    .product-card-actions {
        flex-direction: column;
    }
    
    .product-card-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: #000;
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    table {
        border: 1px solid #ddd;
    }
    
    thead th {
        background: #f0f0f0 !important;
        color: #000 !important;
        border: 1px solid #ddd;
    }
    
    tbody td {
        border: 1px solid #ddd;
        color: #000;
    }
    
    .card, .product-card, .stat-card, .cart-summary {
        border: 1px solid #ddd;
        background: white;
    }
}

/* ============================================================
   Placeholder Product SVG
   ============================================================ */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 2rem;
}

/* ============================================================
   Serviervorschlag-Badge – erscheint auf allen Produktbildern
   ============================================================ */
.shop-card-img,
.schulen-card-img,
.pm-image {
    position: relative; /* sicherstellen, dass ::after korrekt positioniert wird */
}

.shop-card-img::after,
.schulen-card-img::after,
.pm-image::after {
    content: "Serviervorschlag\A(Bild KI-optimiert)";
    white-space: pre;
    line-height: 1.3;
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 3px 7px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 3;
    text-transform: uppercase;
    font-family: inherit;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Im Modal etwas größer */
.pm-image::after {
    font-size: 0.65rem;
    padding: 4px 9px;
    bottom: 12px;
    left: 12px;
}

/* Grillbox-Hinweis unter dem Bild im Modal */
.pm-grillbox-notice {
    display: none;
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 8px;
    line-height: 1.45;
}
.pm-grillbox-notice.visible {
    display: block;
}


/* Verpackungseinheit-Hinweis in Bestelllisten */
.unit-hint {
    font-size: 0.72em;
    color: var(--text-muted, #888);
    font-weight: 400;
    opacity: 0.85;
    white-space: nowrap;
}


/* --- PRODUCT CARD STYLES (Extracted from shop) --- */

/* Shop Grid – direkt auf der Seite, kein Cache-Problem */
.shop-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}
.shop-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}
.shop-card {
    background: var(--bg-card, #1e1e1e);
    border: 1px solid var(--border-subtle, #333);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.shop-card:hover {
    border-color: var(--color-primary, #ff9900);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 153, 0, 0.1);
}
.shop-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: radial-gradient(circle at center, #2C2416 0%, #110E0A 100%);
    box-shadow: inset 0 -8px 15px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}
.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
    /* padding entfernt, object-fit auf cover wie bei schulen */
}
.shop-card:hover .shop-card-img img {
    transform: scale(1.05);
}
.shop-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #22c55e;
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.shop-card-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary, #ff9900);
    margin-bottom: 6px;
}
.shop-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.shop-card-content-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-primary, #ff9900);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-bottom: 8px;
    width: fit-content;
}
.shop-card-desc {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}
.shop-card-allergens {
    font-size: 0.7rem;
    color: #d97706;
    line-height: 1.4;
    margin-bottom: 10px;
    opacity: 0.85;
}
.shop-card-ingredients {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.4;
    margin-bottom: 10px;
}
.shop-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.shop-card-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary, #ff9900);
}
.shop-card-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}
.shop-card-legal {
    font-size: 0.7rem;
    color: #666;
    margin-top: 4px;
    width: 100%;
}
.shop-card-legal a {
    color: var(--color-primary, #ff9900);
}
.shop-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.shop-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-left: 4px;
}
@media (max-width: 1024px) {
    .shop-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .shop-grid-2,
    .shop-grid-3 {
        grid-template-columns: 1fr;
    }
}
