/* ============================================
   TINTENFUZZY - Modern Shop Design
   CI Colors: Orange #F78222, Green #25D366
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #F78222;
    --primary-dark: #E06D0A;
    --primary-light: #FFA94D;
    --secondary: #25D366;
    --secondary-dark: #1DA851;
    --accent-blue: #0066CC;
    --accent-red: #E60000;
    --accent-purple: #7C3AED;
    --text-dark: #1a1a2e;
    --text-body: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-alt: #f1f5f9;
    --bg-dark: #1a1a2e;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.2s ease;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* === Icons === */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }

/* === Top Bar === */
.top-bar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 8px 0;
}
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; gap: 16px; }
.top-bar-right a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.top-bar-right a:hover { color: var(--primary-light); }

/* === Header === */
.header {
    background: var(--bg-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-content { display: flex; align-items: center; gap: 24px; }
.logo { flex-shrink: 0; }
.logo-img { height: auto; width: auto; max-height: 72px; max-width: 350px; object-fit: contain; }
.search-wrapper { flex: 1; position: relative; }
.search-form { width: 100%; }
.search-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    background: var(--bg-light);
}
.search-input-wrapper:focus-within {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(247, 130, 34, 0.15);
}
.search-icon { margin-left: 16px; color: var(--text-muted); flex-shrink: 0; }
.search-input-wrapper input {
    flex: 1; border: none; outline: none; padding: 12px 16px;
    font-size: 0.95rem; background: transparent; font-family: inherit;
}
.search-btn {
    background: var(--primary); color: white; border: none;
    padding: 12px 24px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: inherit; font-size: 0.9rem;
}
.search-btn:hover { background: var(--primary-dark); }

/* === Autocomplete === */
.autocomplete-results {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    z-index: 200; margin-top: 4px; max-height: 400px; overflow-y: auto;
}
.autocomplete-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}
.autocomplete-item:hover { background: var(--bg-light); }
.autocomplete-text { font-weight: 500; }
.autocomplete-label {
    font-size: 0.75rem; color: var(--text-muted);
    background: var(--bg-alt); padding: 2px 8px; border-radius: 99px;
}

/* === Header Actions === */
.header-actions { display: flex; gap: 12px; flex-shrink: 0; }
.header-action-btn {
    display: flex; flex-direction: column; align-items: center;
    gap: 2px; padding: 8px 12px; border-radius: var(--radius);
    transition: var(--transition); font-size: 0.75rem; color: var(--text-body);
}
.header-action-btn:hover { background: var(--bg-light); color: var(--primary); }
.cart-btn { position: relative; }
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--primary); color: white; font-size: 0.65rem;
    font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* === Navigation === */
.main-nav { background: var(--primary); padding: 0; }
.nav-content { display: flex; align-items: center; }
.nav-links { display: flex; list-style: none; width: 100%; }
.nav-links li { flex: 1; }
.nav-links a {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px; color: white;
    font-size: 0.85rem; font-weight: 500; transition: var(--transition);
    text-align: center;
}
.nav-links a:hover, .nav-links a.active { background: rgba(0,0,0,0.15); }
.mobile-menu-btn {
    display: none; background: none; border: none;
    color: white; padding: 12px; cursor: pointer;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d4e 100%);
    color: white; padding: 60px 0 70px; text-align: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero .highlight { color: var(--primary-light); }
.hero-subtitle {
    font-size: 1.15rem; color: rgba(255,255,255,0.75);
    max-width: 600px; margin: 0 auto 32px;
}
.hero-search { max-width: 600px; margin: 0 auto 32px; }
.hero-search-form { display: flex; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-search-input {
    flex: 1; padding: 16px 20px; border: none; outline: none;
    font-size: 1rem; font-family: inherit;
}
.hero-search-btn {
    background: var(--primary); color: white; border: none;
    padding: 16px 28px; font-weight: 600; cursor: pointer;
    transition: var(--transition); font-family: inherit; font-size: 0.95rem;
    display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.hero-search-btn:hover { background: var(--primary-dark); }
.hero-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* === Stats === */
.stats-section { background: var(--bg-white); padding: 0; margin-top: -30px; position: relative; z-index: 10; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; max-width: 900px; margin: 0 auto;
}
.stat-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 24px; text-align: center; box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* === Sections === */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h1, .section-header h2 {
    font-size: 1.8rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; }
.section-cta { text-align: center; margin-top: 32px; }

/* === Buttons === */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); border: none; font-family: inherit;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-purple { background: var(--accent-purple); color: white; }
.btn-purple:hover { background: #6D28D9; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* === Hersteller Grid === */
.hersteller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}
.hersteller-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 12px 14px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
    position: relative;
    min-height: 140px;
}
.hersteller-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.hersteller-featured {
    border-color: var(--primary-light);
    background: #FFF8F0;
}
.hersteller-logo-container {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.hersteller-logo-img {
    max-width: 90px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: var(--transition);
}
.hersteller-card:hover .hersteller-logo-img {
    transform: scale(1.1);
}
.hersteller-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.hersteller-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.hersteller-popular {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hersteller-icon { color: var(--primary); width: 32px; height: 32px; }

/* === USP Grid === */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usp-card {
    background: var(--bg-white); border-radius: var(--radius-lg);
    padding: 32px 24px; text-align: center; box-shadow: var(--shadow);
    transition: var(--transition); border: 1px solid var(--border-light);
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.usp-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin: 0 auto 16px; color: white;
}
.usp-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.usp-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* === Stores Grid === */
.stores-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.store-card {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.store-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.store-icon { color: var(--primary); margin-bottom: 12px; }
.store-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.store-address, .store-phone {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px;
}

/* === Breadcrumb === */
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* === Model Category === */
.model-category { margin-bottom: 40px; }
.category-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.category-count { color: var(--text-muted); font-weight: 400; font-size: 0.9rem; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.model-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: var(--transition); font-size: 0.9rem;
}
.model-card:hover { border-color: var(--primary); background: #FFF8F0; }
.model-icon { color: var(--text-muted); width: 20px; height: 20px; flex-shrink: 0; }
.model-name { font-weight: 500; color: var(--text-dark); }

/* === Product Header === */
.product-header {
    display: flex; align-items: flex-start; gap: 32px;
    margin-bottom: 40px; padding: 24px;
    background: var(--bg-alt); border-radius: var(--radius-lg);
}
.product-header h1 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.product-type, .product-count {
    display: flex; align-items: center; gap: 6px;
    color: var(--text-muted); font-size: 0.9rem; margin-bottom: 4px;
}

/* === Color Dots (Patronenfarben) === */
.color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
    vertical-align: middle;
}
.color-dot-sm {
    width: 12px;
    height: 12px;
    border-width: 1px;
}
.color-dot-lg {
    width: 28px;
    height: 28px;
    border-width: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* === Patronen Sections === */
.patronen-section { margin-bottom: 48px; }
.patronen-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 20px; flex-wrap: wrap;
}
.savings-hint { font-size: 0.85rem; font-weight: 400; color: var(--secondary-dark); }

/* === Kompatibel Section (Green Accent) === */
.section-kompatibel .patronen-title { border-left: 4px solid var(--secondary); padding-left: 12px; }
.card-kompatibel {
    border: 2px solid #bbf7d0;
    background: linear-gradient(to bottom, #f0fdf4, var(--bg-white));
}
.card-kompatibel:hover { border-color: var(--secondary); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15); }
.card-kompatibel .patrone-header { background: #f0fdf4; border-bottom: 1px solid #bbf7d0; }

/* === Original Section (Gray/Neutral) === */
.section-original .patronen-title { border-left: 4px solid #9ca3af; padding-left: 12px; }
.card-original {
    border: 1px solid var(--border);
    background: var(--bg-white);
}
.card-original:hover { border-color: #9ca3af; box-shadow: var(--shadow-md); }
.card-original .patrone-header { background: #f9fafb; border-bottom: 1px solid var(--border-light); }

/* === Bundles Section (Purple Accent) === */
.bundles-section .patronen-title { border-left: 4px solid var(--accent-purple); padding-left: 12px; }
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}
.bundle-card {
    border: 2px solid #DDD6FE;
    border-radius: var(--radius-lg);
    background: linear-gradient(to bottom, #F5F3FF, var(--bg-white));
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.bundle-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}
.bundle-header {
    padding: 12px 16px;
    background: #EDE9FE;
    border-bottom: 1px solid #DDD6FE;
}
.bundle-badges { display: flex; gap: 8px; }
.bundle-body { padding: 16px; flex: 1; }
.bundle-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.bundle-artnr { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.bundle-desc { font-size: 0.9rem; color: var(--text-body); margin-bottom: 12px; }
.bundle-contents { margin-top: 8px; }
.bundle-contents-title {
    font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.bundle-list { list-style: none; padding: 0; }
.bundle-list li {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 0; font-size: 0.85rem; color: var(--text-body);
    border-bottom: 1px solid var(--border-light);
}
.bundle-list li:last-child { border-bottom: none; }
.bundle-einzelpreis { color: var(--text-muted); font-size: 0.8rem; }
.bundle-footer {
    padding: 16px; border-top: 1px solid #DDD6FE;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.bundle-pricing { display: flex; flex-direction: column; }
.price-bundle { color: var(--accent-purple); font-size: 1.5rem; }

.patronen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.patrone-card {
    background: var(--bg-white); border-radius: var(--radius);
    overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
}
.patrone-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-bottom: 1px solid var(--border-light);
}
.patrone-color-display { display: flex; align-items: center; }
.patrone-badges { display: flex; gap: 6px; }
.patrone-body { padding: 16px; flex: 1; }
.patrone-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.patrone-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.4; }
.patrone-color-name { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.patrone-footer {
    padding: 16px; border-top: 1px solid var(--border-light);
    display: flex; flex-direction: column; gap: 10px;
}
.patrone-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-current { font-size: 1.3rem; font-weight: 800; color: var(--text-dark); }
.price-action { color: var(--accent-red); }
.price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.price-vat { font-size: 0.75rem; color: var(--text-light); }
.patrone-stock { font-size: 0.8rem; }
.stock { display: flex; align-items: center; gap: 4px; }
.stock-green { color: #16a34a; }
.stock-yellow { color: #ca8a04; }
.stock-orange { color: var(--primary); }
.stock-gray { color: var(--text-muted); }

/* === Badges === */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 99px;
    font-size: 0.72rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-blue { background: #dbeafe; color: #2563eb; }
.badge-orange { background: #ffedd5; color: #ea580c; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-gray { background: #f3f4f6; color: #6b7280; }
.badge-purple { background: #EDE9FE; color: #7C3AED; }
.badge-dark { background: #1f2937; color: #fff; }

/* === Search Results === */
.results-section { margin-bottom: 40px; }
.results-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.results-grid { display: flex; flex-direction: column; gap: 8px; }
.result-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: var(--transition);
}
.result-card:hover { border-color: var(--primary); background: #FFF8F0; }
.result-icon { color: var(--primary); flex-shrink: 0; }
.result-info { flex: 1; display: flex; flex-direction: column; }
.result-brand { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.result-name { font-weight: 600; color: var(--text-dark); }
.result-type { font-size: 0.8rem; color: var(--text-muted); }
.result-price { font-weight: 700; color: var(--primary); }
.result-arrow { color: var(--text-light); flex-shrink: 0; }

/* === Search Drucker Grid (mit Bildern) === */
.search-drucker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.search-drucker-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: var(--transition); text-decoration: none;
}
.search-drucker-card:hover {
    border-color: var(--primary); background: #FFF8F0;
    box-shadow: var(--shadow-md);
}
.search-drucker-bild {
    width: 80px; height: 80px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); overflow: hidden;
    background: var(--bg-light);
}
.search-drucker-bild img {
    max-width: 80px; max-height: 80px; width: auto; height: auto; object-fit: contain;
}
.search-drucker-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; color: var(--text-light);
}
.search-drucker-info {
    flex: 1; display: flex; flex-direction: column; gap: 2px;
}
.search-drucker-brand {
    font-size: 0.75rem; color: var(--text-muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.search-drucker-name {
    font-weight: 700; color: var(--text-dark); font-size: 1rem;
}
.search-drucker-type {
    font-size: 0.8rem; color: var(--text-muted);
}
.search-drucker-count {
    font-size: 0.75rem; color: var(--secondary-dark); font-weight: 600;
    margin-top: 4px;
}

/* === Search Artikel Liste (tabellarisch wie alter Shop) === */
.search-artikel-list {
    display: flex; flex-direction: column; gap: 0;
}
.search-artikel-row {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-bottom: none;
    transition: var(--transition);
}
.search-artikel-row:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}
.search-artikel-row:last-child {
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
}
.search-artikel-row:first-child:last-child {
    border-radius: var(--radius);
}
.search-artikel-row:hover {
    background: #FAFAFA;
    z-index: 1;
}
.row-kompatibel:hover { background: #F0FFF4; }
.row-original:hover { background: #F8F9FA; }

.search-artikel-farbe {
    width: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.search-artikel-info {
    flex: 1; min-width: 0;
}
.search-artikel-header-row {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 4px;
}
.search-artikel-name {
    font-weight: 700; font-size: 0.95rem; color: var(--text-dark);
    margin: 0;
}
.search-artikel-desc {
    font-size: 0.8rem; color: var(--text-muted);
    margin: 2px 0 0 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-artikel-farb-name {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.8rem; color: var(--text-body);
    margin: 4px 0 0 0;
}
.search-artikel-stock {
    width: 140px; flex-shrink: 0;
    text-align: center;
}
.search-artikel-preis {
    width: 120px; flex-shrink: 0;
    text-align: right;
    display: flex; flex-direction: column; align-items: flex-end;
}
.search-artikel-action {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.search-artikel-action .btn-sm {
    width: 40px; height: 40px;
    padding: 0; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
}
/* Auffälliger Warenkorb-Button: rund, orange, Hover-Erweiterung */
button.btn.btn-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease !important;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    overflow: hidden;
}
button.btn.btn-cart:hover {
    background: var(--primary-dark, #e65100) !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.5);
    transform: translateY(-1px);
    border-radius: 24px !important;
    width: auto !important;
    padding: 0 16px 0 12px !important;
    gap: 6px !important;
}
button.btn.btn-cart:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(249, 115, 22, 0.3);
}
button.btn.btn-cart svg {
    flex-shrink: 0;
}
.btn-cart-text {
    font-size: 0.8rem;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.3s ease, opacity 0.25s ease;
    display: inline-block;
}
button.btn.btn-cart:hover .btn-cart-text {
    max-width: 130px;
    opacity: 1;
}

/* Badge small variant */
.badge-sm { font-size: 0.65rem; padding: 2px 8px; }

/* Responsive: Artikel-Liste auf Mobile */
@media (max-width: 768px) {
    .search-drucker-grid {
        grid-template-columns: 1fr;
    }
    .search-artikel-row {
        flex-wrap: wrap; gap: 8px;
    }
    .search-artikel-stock { width: auto; text-align: left; }
    .search-artikel-preis { width: auto; align-items: flex-start; }
    .search-artikel-action { width: auto; }
}

/* === Empty State === */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { width: 64px; height: 64px; color: var(--text-light); margin-bottom: 16px; }
.empty-state h2 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* === Footer === */
.footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 48px 0 24px;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; margin-bottom: 32px;
}
.footer-col h3 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-col p { font-size: 0.85rem; line-height: 1.7; }
.footer-col ul li {
    font-size: 0.85rem; padding: 4px 0;
    display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a { transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px; text-align: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
}

/* === Responsive === */
@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-content { flex-wrap: wrap; }
    .logo-img { max-height: 48px; }
    .search-wrapper { order: 3; width: 100%; }
    .header-actions { margin-left: auto; }
    .mobile-menu-btn { display: block; }
    .nav-links { display: none; flex-direction: column; width: 100%; }
    .nav-links.show { display: flex; }
    .nav-links a { justify-content: flex-start; padding: 12px 16px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-search-form { flex-direction: column; }
    .hero-search-btn { justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .patronen-grid { grid-template-columns: 1fr; }
    .bundles-grid { grid-template-columns: 1fr; }
    .product-header { flex-direction: column; }
    .bundle-footer { flex-direction: column; align-items: flex-start; }
    .hersteller-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-card { padding: 16px; }
    .stat-number { font-size: 1.4rem; }
    .hero { padding: 40px 0 50px; }
    .hero-badges { gap: 12px; }
    .hero-badge { font-size: 0.8rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hersteller-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* ============================================
   V3: Drucker-Header, Farbpunkte, Sparpacks
   ============================================ */

/* --- Drucker Header mit Bild --- */
.drucker-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.drucker-bild {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.drucker-bild img {
    max-width: 180px;
    max-height: 180px;
    object-fit: contain;
}
.drucker-bild-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}
.drucker-info {
    flex: 1;
}
.drucker-info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.drucker-typ {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.drucker-typ-label {
    font-weight: 600;
    color: var(--text-body);
}
.drucker-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.drucker-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    min-width: 100px;
}
.drucker-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.drucker-stat-green {
    color: var(--secondary-dark) !important;
}
.drucker-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* --- Section Header Bars --- */
.section-header-bar {
    padding: 1rem 1.5rem;
    border-radius: var(--radius) var(--radius) 0 0;
    margin-bottom: 0;
}
.section-header-bar h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.section-header-bar h2 svg {
    flex-shrink: 0;
}
.section-hint {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 0.25rem;
    font-weight: 400;
}
.section-header-purple { background: linear-gradient(135deg, var(--accent-purple), #9333ea); }
.section-header-green { background: linear-gradient(135deg, #16a34a, var(--secondary-dark)); }
.section-header-gray { background: linear-gradient(135deg, #6b7280, #4b5563); }

.badge-green-outline {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}
.badge-gray-outline {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

/* --- Farb-Icons für Patronen --- */
.farb-icon {
    flex-shrink: 0;
    vertical-align: middle;
}
.patrone-farb-name .farb-icon {
    margin-right: 2px;
}

/* --- Farbpunkte (korrigiert für Mehrfarb-Patronen) --- */
.farb-punkt-lg {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.farb-punkt-sm {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    vertical-align: middle;
    margin-right: 4px;
    flex-shrink: 0;
}
.patrone-farb-display {
    position: absolute;
    top: 12px;
    right: 12px;
}
.patrone-farb-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* --- Verbesserte Sparpack-Karten (V2) --- */
.bundles-section {
    margin-bottom: 2rem;
}
.bundles-section .patronen-grid,
.bundles-section .bundles-grid {
    display: none; /* Hide old grid */
}
.bundles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 1rem;
}
.bundle-card-v2 {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    background: var(--bg-white);
    border: 2px solid #e9d5ff;
    border-radius: var(--radius);
    overflow: visible;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    gap: 0;
}
.bundle-card-v2:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-md);
}
.bundle-left {
    flex: 1;
    padding: 1.25rem;
    border-right: 1px solid var(--border-light);
}
.bundle-badges-v2 {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.bundle-title-v2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}
.bundle-artnr-v2 {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.bundle-desc-v2 {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-top: 0.25rem;
}
.bundle-center {
    flex: 1;
    padding: 1.25rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}
.bundle-contents-v2 {
    width: 100%;
}
.bundle-contents-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}
.bundle-item-v2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
    font-size: 0.85rem;
}
.bundle-item-qty {
    font-weight: 700;
    color: var(--accent-purple);
    min-width: 24px;
}
.bundle-item-name {
    color: var(--text-body);
}
.bundle-item-price {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}
.bundle-right {
    flex: 0 0 240px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #faf5ff;
}
.bundle-pricing-v2 {
    text-align: center;
}
.bundle-pricing-v2 .price-current {
    font-size: 1.5rem;
}

/* --- Patronen-Karten Verbesserung --- */
.patrone-card {
    position: relative;
}
.card-kompatibel {
    border-left: 4px solid var(--secondary) !important;
}
.card-original {
    border-left: 4px solid #9ca3af !important;
    background: #fafafa;
}

/* --- Breadcrumb --- */
.breadcrumb-sep {
    color: var(--text-light);
    margin: 0 0.25rem;
}

/* --- Responsive für Drucker-Header --- */
@media (max-width: 768px) {
    .drucker-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .drucker-bild {
        flex: 0 0 150px;
        width: 150px;
        height: 150px;
    }
    .drucker-stats {
        justify-content: center;
    }
    .bundle-card-v2 {
        flex-direction: column;
    }
    .bundle-left, .bundle-center {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .bundle-right {
        flex: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    /* --- Sparpack: Warenkorb-Button unten mittig --- */
    .bundle-cart-row {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 12px 16px;
        border-top: 1px solid var(--border-light);
    }
    .bundle-cart-row button.btn.btn-cart {
        width: 80% !important;
        max-width: 280px;
        height: auto !important;
        border-radius: 24px !important;
        padding: 12px 24px !important;
        justify-content: center;
        overflow: visible !important;
    }
    .bundle-cart-row button.btn.btn-cart .btn-cart-text {
        max-width: 200px !important;
        opacity: 1 !important;
        font-size: 0.9rem;
        display: inline-block !important;
    }
    /* --- Sparpack: Badges --- */
    .bundle-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
        margin-bottom: 8px;
    }
    /* --- Sparpack: Filialen wie Einzelartikel --- */
    .bundle-right .filial-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* --- Sparpack: Badges (Desktop) --- */
.bundle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
/* --- Sparpack: Warenkorb-Button-Zeile (Desktop + Mobile) --- */
.bundle-cart-row {
    flex-basis: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 12px 16px;
    border-top: 1px solid var(--border-light);
}
.bundle-cart-row button.btn.btn-cart {
    width: auto !important;
    height: auto !important;
    border-radius: 24px !important;
    padding: 10px 28px !important;
    gap: 8px !important;
    overflow: visible !important;
}
.bundle-cart-row button.btn.btn-cart .btn-cart-text {
    max-width: 200px !important;
    opacity: 1 !important;
    font-size: 0.9rem;
    display: inline-block !important;
}

/* --- Suchfeld: Lupen-Icon auf Mobil statt Text --- */
@media (max-width: 768px) {
    .search-btn {
        padding: 12px 14px !important;
        min-width: unset !important;
    }
    .search-btn-text {
        display: none;
    }
    .search-btn-icon {
        display: inline-block !important;
        stroke: white;
    }
}
@media (min-width: 769px) {
    .search-btn-icon {
        display: none !important;
    }
}

/* === Artikeldetails: OrgNr, Artikeltyp, Kapazitaet === */

/* Badge outline (Artikeltyp) */
.badge-outline {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1.5px solid #7C3AED;
    color: #7C3AED;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-outline.badge-sm {
    padding: 1px 6px;
    font-size: 0.65rem;
}

/* Originalnummer */
.patrone-org,
.search-artikel-org {
    font-size: 0.78rem;
    color: #7C3AED;
    font-weight: 600;
    margin: 2px 0 4px 0;
    letter-spacing: 0.2px;
}

/* Meta-Zeile (Farbe + Kapazitaet + Volumen) */
.patrone-meta,
.search-artikel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.meta-capacity,
.meta-volume {
    background: var(--bg-alt);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-body);
}

/* Artikelbeschreibung (Articles.Description) */
.patrone-desc,
.search-artikel-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 2px 0;
    line-height: 1.3;
}

/* Artikelnummer klein am Ende */
.search-artikel-artnr {
    font-size: 0.7rem;
    color: #999;
    margin: 6px 0 0 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* === Produktbilder bei Originalen (rechts neben Preis) === */
.search-artikel-product-img {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.search-artikel-product-img img {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    padding: 3px;
    background: #fff;
}

/* Drucker-Detail: Produktbild in der Karte */
.patrone-product-image {
    text-align: center;
    padding: 10px 10px 0 10px;
    background: #fff;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.patrone-product-image img {
    max-width: 120px;
    max-height: 100px;
    object-fit: contain;
}

/* === Netto-Preis === */
.price-netto {
    display: block;
    font-size: 0.72rem;
    color: #888;
    margin-top: 1px;
}

/* === Filial-Badges (depot / digital) === */
.filial-badges {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.badge-filial {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    cursor: default;
}

.badge-depot {
    background: #0288D1;
    color: #fff;
}

.badge-digital {
    background: #7B1FA2;
    color: #fff;
}

/* Ersparnis-Prozent bei Kompatiblen */
.price-ersparnis {
    display: block;
    font-size: 0.72rem;
    color: #e53935;
    font-weight: 700;
    margin-top: 2px;
    line-height: 1.2;
}

/* Zubehör-Sektion (blau) */
.section-header-blue { background: linear-gradient(135deg, #1976D2, #2196F3); color: #fff; }
.section-header-blue h2 { color: #fff; }
.section-header-blue .section-hint { color: rgba(255,255,255,0.85); }
.badge-blue-outline { border: 1px solid rgba(255,255,255,0.6); color: #fff; background: transparent; padding: 2px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 500; margin-left: 8px; }
.row-zubehoer { border-left: 3px solid #2196F3; }
.row-zubehoer:hover { background: #f0f7ff; }

/* Fix: Ersparnis-Prozent nicht umbrechen */
.price-ersparnis { white-space: nowrap; }

/* Zubehör-Icon größer und zentriert */
.zubehoer-icon { display: flex; align-items: center; justify-content: center; min-width: 50px; }
.zubehoer-icon svg { opacity: 0.7; }

/* Sparset-Symbol Bild - vertikal zentriert, prominenter */
.bundle-card-v2 .bundle-image {
    position: relative;
    flex-shrink: 0;
    width: 130px;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    padding: 0.75rem;
}
.bundle-card-v2 .bundle-symbol-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
}
.bundle-card-v2 .bundle-discount-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e53935;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(229,57,53,0.45);
    z-index: 2;
}

/* Vergleichspreis und Ersparnis-Hinweis */
.bundle-pricing-v2 .bundle-vergleichspreis {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.25rem;
}
.bundle-pricing-v2 .price-old-inline {
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
}
.bundle-pricing-v2 .bundle-ersparnis-hinweis {
    display: block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fff0f0;
    border: 1px solid #ef5350;
    border-radius: 4px;
    color: #c62828;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Farbbalken bei Sparset-Stueckliste */
.bundle-farb-balken { display: inline-block; width: 4px; height: 18px; border-radius: 2px; margin-right: 6px; vertical-align: middle; flex-shrink: 0; }
.bundle-item-v2 { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }

/* Zubehoer Thumbnails */
.zubehoer-thumb { display: flex; align-items: center; justify-content: center; min-width: 80px; max-width: 80px; }
.zubehoer-thumbnail { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; border: 1px solid #e0e0e0; transition: transform 0.2s; }
.zubehoer-thumbnail:hover { transform: scale(1.08); }
.zubehoer-info-toggle { margin-left: 6px; display: inline-flex; align-items: center; cursor: pointer; }

/* Info-Overlay-Button über Artikelbild */
.thumb-wrapper { position: relative; display: inline-block; cursor: pointer; }
.info-overlay-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(230, 81, 0, 0.9);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 0;
    border-radius: 0 0 6px 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(230,81,0,0.4);
    animation: info-pulse 2s ease-in-out infinite;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
}
.info-overlay-btn svg { width: 12px; height: 12px; flex-shrink: 0; }
.info-overlay-btn.info-overlay-blue {
    background: rgba(21, 101, 192, 0.9);
    box-shadow: 0 2px 8px rgba(21,101,192,0.4);
}
@keyframes info-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; box-shadow: 0 3px 12px rgba(230,81,0,0.6); }
}
.thumb-wrapper:hover .info-overlay-btn {
    background: rgba(230, 81, 0, 1);
    box-shadow: 0 4px 14px rgba(230,81,0,0.7);
    animation: none;
}
.thumb-wrapper:hover .info-overlay-btn.info-overlay-blue {
    background: rgba(21, 101, 192, 1);
    box-shadow: 0 4px 14px rgba(21,101,192,0.7);
}

/* Aufklappbare Zubehoer-Details */
.zubehoer-detail-panel { background: #f8f9fa; border: 1px dashed #ccc; border-top: none; margin: -1px 0 8px 0; padding: 12px 16px; border-radius: 0 0 8px 8px; }
.zubehoer-detail-panel.hidden { display: none; }
.zubehoer-detail-content { display: flex; gap: 16px; align-items: flex-start; }
.zubehoer-detail-img { flex-shrink: 0; width: 25%; max-width: 150px; }
.zubehoer-detail-img img { width: 100%; border-radius: 4px; }
.zubehoer-detail-text { flex: 1; font-size: 0.85rem; line-height: 1.5; color: #333; }
.zubehoer-detail-text b, .zubehoer-detail-text H3 { font-size: 0.85rem; font-weight: 600; }
.zubehoer-detail-close { display: block; margin-top: 8px; color: #999; font-size: 0.8rem; text-decoration: none; }
.zubehoer-detail-close:hover { color: #666; }

/* Ersatzteile Section - Orange Theme */
.section-header-orange { background: linear-gradient(135deg, #e65100, #ff8f00); color: #fff; }
.section-header-orange h2 { color: #fff; }
.section-header-orange .section-hint { color: rgba(255,255,255,0.85); }
.badge-orange-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); font-size: 0.75rem; padding: 2px 8px; border-radius: 12px; margin-left: 8px; }
.row-ersatzteil { border-left: 3px solid #e65100; }
.row-ersatzteil:hover { background: #fff3e0; }
.stock-red { color: #dc2626; }

/* ============================================
   Maskottchen (Tintenfuzzy Männchen)
   ============================================ */
.mascot-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.mascot-img {
    flex-shrink: 0;
}
.mascot-img img {
    height: auto;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
    transform: scaleX(-1);
}
.mascot-img.mascot-sm img { width: 80px; }
.mascot-img.mascot-md img { width: 120px; }
.mascot-img.mascot-lg img { width: 160px; }
.mascot-img.mascot-xl img { width: 200px; }
.mascot-text {
    flex: 1;
}
.mascot-bubble {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.mascot-bubble::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--primary);
}
.mascot-bubble::after {
    content: '';
    position: absolute;
    left: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 10px solid #fff;
}

/* Empty cart with mascot */
.empty-cart-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1.5rem;
}
.empty-cart-mascot .mascot-img img {
    width: 150px;
    animation: mascot-wave 3s ease-in-out infinite;
}
@keyframes mascot-wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}
.empty-cart-mascot h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}
.empty-cart-mascot p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* 404 page with mascot */
.error-page-mascot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    gap: 1.5rem;
}
.error-page-mascot .mascot-img img {
    width: 180px;
}
.error-page-mascot h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}
.error-page-mascot h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}
.error-page-mascot p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
}

/* Mascot in recommendation section */
.mascot-recommendation {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius);
    margin-top: 0.5rem;
    flex-direction: row-reverse;
}
.mascot-recommendation img {
    width: 45px !important;
    height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    object-fit: contain;
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.2));
    flex-shrink: 0;
}
.mascot-recommendation span {
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .mascot-container { flex-direction: column; text-align: center; }
    .mascot-bubble::before, .mascot-bubble::after { display: none; }
    .mascot-img.mascot-lg img { width: 120px; }
    .mascot-img.mascot-xl img { width: 150px; }
    .empty-cart-mascot .mascot-img img { width: 120px; }
    .error-page-mascot .mascot-img img { width: 140px; }
}

/* Guided Finder im Hero */
.hero-finder {
    max-width: 700px;
    margin: 0 auto 28px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-finder-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-finder-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.hero-finder-select {
    flex: 0 0 200px;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.95);
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: auto;
}
.hero-finder-select:focus {
    border-color: var(--primary);
    outline: none;
}
.hero-finder-model-wrap {
    flex: 1;
    position: relative;
}
.hero-finder-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.95);
    color: var(--text-primary);
    font-size: 0.95rem;
    box-sizing: border-box;
}
.hero-finder-input:disabled {
    background: rgba(255,255,255,0.5);
    cursor: not-allowed;
}
.hero-finder-input:focus {
    border-color: var(--primary);
    outline: none;
}
.hero-finder-btn {
    flex: 0 0 auto;
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s;
}
.hero-finder-btn:hover:not(:disabled) {
    background: var(--primary-dark);
}
.hero-finder-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.hero-finder-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 4px;
    border: 1px solid var(--border-color);
}
.hero-finder-suggestion {
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}
.hero-finder-suggestion:last-child {
    border-bottom: none;
}
.hero-finder-suggestion:hover {
    background: var(--bg-light);
}
.finder-model-name {
    font-weight: 500;
    color: var(--text-primary);
}
.finder-model-typ {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.hero-finder-no-result {
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-finder {
        padding: 16px;
    }
    .hero-finder-row {
        flex-direction: column;
    }
    .hero-finder-select {
        flex: none;
        width: 100%;
    }
    .hero-finder-btn {
        justify-content: center;
    }
}


/* Finder Kontrast-Fix */
.hero-finder-select,
.hero-finder-input {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 2px solid #d1d5db !important;
}
.hero-finder-select:focus,
.hero-finder-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2) !important;
}
.hero-finder-input:disabled {
    background: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}
.hero-finder-select option {
    color: #1a1a1a;
    background: #ffffff;
}
.hero-finder-suggestions {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}
.hero-finder-suggestion {
    color: #1a1a1a !important;
}
.hero-finder-suggestion:hover {
    background: #f3f4f6 !important;
}
.finder-model-name {
    color: #1a1a1a !important;
    font-weight: 600;
}
.finder-model-typ {
    color: #6b7280 !important;
}
.hero-finder-no-result {
    color: #6b7280 !important;
}

/* === FINDER FIX FINAL - ersetzt alle vorherigen Fixes === */

/* Hero: KEIN z-index auf den gesamten Hero, damit er die Stats nicht verdeckt */
.hero {
    position: static !important;
    z-index: auto !important;
    overflow: visible !important;
}
.hero-content {
    position: relative !important;
    z-index: auto !important;
    overflow: visible !important;
}

/* Nur der Finder selbst bekommt einen hohen z-index */
.hero-finder {
    position: relative !important;
    z-index: 9000 !important;
    overflow: visible !important;
}
.hero-finder-model-wrap {
    position: relative !important;
    z-index: 9000 !important;
    overflow: visible !important;
}
.hero-finder-suggestions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    border-radius: 0 0 8px 8px !important;
}

/* Stats-Section: niedriger z-index damit Suggestions darüber liegen */
.stats-section {
    position: relative !important;
    z-index: 1 !important;
}

/* Hero-Badges: normaler z-index */
.hero-badges {
    position: relative !important;
    z-index: 1 !important;
}

/* Maskottchen größer */
#heroMascot {
    width: 160px !important;
    min-width: 160px !important;
}

/* Suggestion-Einträge kompakt */
.hero-finder-suggestion {
    padding: 8px 14px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap !important;
}
.finder-model-name {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 !important;
    min-width: 0 !important;
}
.finder-model-typ {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
}


/* Fix: Suggestion-Box breiter und Modellnamen vollständig anzeigen */
.hero-finder-suggestions {
    left: 0 !important;
    right: auto !important;
    min-width: 100% !important;
    width: max-content !important;
    max-width: 500px !important;
}
.hero-finder-suggestion {
    white-space: nowrap !important;
}
.finder-model-name {
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}
.finder-model-typ {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    color: #9ca3af !important;
    margin-left: 12px !important;
}
/* === Menüleiste prominenter und lesbarer === */
.main-nav { background: var(--primary); padding: 0; border-bottom: 2px solid rgba(255,255,255,0.15); }
.nav-links a {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 16px 12px; color: white;
    font-size: 0.95rem; font-weight: 600; transition: var(--transition);
    text-align: center; letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.nav-links a:hover, .nav-links a.active {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}
.nav-links a .icon-sm {
    width: 18px;
    height: 18px;
}


/* Live-Status Badges */
.store-status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.live-open {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.live-closed {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.live-soon {
    background-color: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

.live-dot-soon {
    width: 8px;
    height: 8px;
    background-color: #eab308;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-yellow 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

@keyframes pulse-yellow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(234, 179, 8, 0); }
}

/* Filial-Detailseite Live-Status */
.live-badge-detail {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.live-open-detail {
    background-color: #dcfce7;
    color: #166534;
    border: 2px solid #bbf7d0;
}

.live-closed-detail {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #fecaca;
}

.live-soon-detail {
    background-color: #fef9c3;
    color: #854d0e;
    border: 2px solid #fef08a;
}


/* Filialen Live-Status Banner */
.store-status-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 0.85rem 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.store-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.store-banner-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.store-banner-items {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: center;
}

.store-banner-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    text-decoration: none;
    transition: all 0.2s;
    color: #fff;
}

.store-banner-item:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.sb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.sb-dot-open {
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: pulse-green 2s infinite;
}

.sb-dot-closed {
    background-color: #ef4444;
    opacity: 0.8;
}

.sb-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sb-status {
    font-size: 0.75rem;
    white-space: nowrap;
}

.sb-open {
    color: #86efac;
}

.sb-closed {
    color: #fca5a5;
}

.sb-soon {
    color: #fde68a;
}

@media (max-width: 768px) {
    .store-banner-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .store-banner-items {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .store-banner-item {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
    .sb-status {
        display: none;
    }
}

/* ============================================
   MOBILE FIXES: Artikelliste, Badges, Zubehör
   ============================================ */

@media (max-width: 768px) {
    /* --- Badges umbrechen statt abschneiden --- */
    .search-artikel-header-row {
        flex-wrap: wrap;
        gap: 4px;
    }
    .badge-outline,
    .badge-green,
    .badge-gray,
    .badge-orange,
    .badge-blue,
    .badge-red,
    .badge-purple,
    .badge-sm {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
        white-space: nowrap;
    }

    /* --- Hersteller-Badge prominenter auf Mobil --- */
    .badge-dark {
        font-size: 0.72rem !important;
        padding: 3px 10px !important;
        white-space: nowrap;
        background: #1f2937 !important;
        color: #fff !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px;
    }

    /* --- Filialen-Badges umbrechen --- */
    .filial-badges {
        flex-wrap: wrap;
        gap: 4px;
    }
    .badge-filial {
        font-size: 0.6rem;
        padding: 1px 6px;
    }

    /* --- Artikelliste: Spalten-Layout auf Mobil --- */
    .search-artikel-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 16px 12px;
        text-align: center;
    }

    /* --- Artikelbild: zentriert und größer --- */
    .search-artikel-product-img {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        padding: 8px 0 !important;
    }
    .search-artikel-product-img img {
        max-width: 100px !important;
        max-height: 100px !important;
        object-fit: contain;
    }

    /* --- Farbpunkt zentriert --- */
    .search-artikel-farbe {
        min-width: unset !important;
        max-width: unset !important;
        width: auto;
        justify-content: center;
    }
    .zubehoer-thumb {
        min-width: unset !important;
        max-width: unset !important;
        width: auto;
    }

    /* --- Info-Bereich volle Breite, zentriert --- */
    .search-artikel-info {
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    .search-artikel-header-row {
        justify-content: center;
    }
    .search-artikel-org {
        text-align: center;
    }
    .search-artikel-name {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .search-artikel-desc {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .search-artikel-meta {
        justify-content: center;
    }
    .search-artikel-artnr {
        text-align: center;
    }

    /* --- Verfügbarkeit volle Breite --- */
    .search-artikel-stock {
        width: 100%;
        text-align: center;
    }

    /* --- Preis zentriert --- */
    .search-artikel-preis {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    /* --- Warenkorb-Button: GRÖSSER auf Mobil --- */
    .search-artikel-action {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 4px;
    }
    button.btn.btn-cart {
        width: auto !important;
        border-radius: 24px !important;
        padding: 10px 24px !important;
        gap: 8px !important;
        font-size: 0.95rem !important;
        height: auto !important;
    }
    button.btn.btn-cart .btn-cart-text {
        max-width: 200px !important;
        opacity: 1 !important;
        font-size: 0.9rem;
    }

    /* --- Zubehör-Detail-Panel auf Mobil --- */
    .zubehoer-detail-content {
        flex-direction: column;
    }
    .zubehoer-detail-img {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* --- Thumb-Wrapper auf Mobil --- */
    .thumb-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .zubehoer-thumbnail {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 480px) {
    .badge-outline,
    .badge-green,
    .badge-gray,
    .badge-orange,
    .badge-blue,
    .badge-red,
    .badge-purple,
    .badge-sm {
        font-size: 0.56rem !important;
        padding: 1px 5px !important;
    }
    /* Hersteller bleibt auch auf kleinen Screens prominent */
    .badge-dark {
        font-size: 0.68rem !important;
        padding: 3px 8px !important;
    }
    .badge-filial {
        font-size: 0.55rem;
        padding: 1px 5px;
    }
    .search-artikel-name {
        font-size: 0.85rem;
    }
    .search-artikel-product-img img {
        max-width: 90px !important;
        max-height: 90px !important;
    }
}
