/* ============================================
   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: 50px; width: auto; }
.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 { flex: 1; 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;
    gap: 10px;
    padding: 20px 12px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: center;
    position: relative;
}
.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: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.hersteller-logo-img {
    max-width: 80px;
    max-height: 50px;
    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;
}
.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; }

/* === 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; }

/* === 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 { height: 36px; }
    .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;
}

/* --- 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;
    background: var(--bg-white);
    border: 2px solid #e9d5ff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.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;
}
.bundle-right {
    flex: 0 0 200px;
    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: row;
        justify-content: space-between;
    }
}
