/* =====================================================
   ETTER ART - Gallery Editorial Design System
   ===================================================== */

/* CSS Custom Properties */
:root {
    /* ===========================================
       ETTER ART DESIGN SYSTEM v2.0
       Optimiert für Kunst & Kreativmaterialien
       =========================================== */

    /* Base Colors */
    --color-black: #1A1A1A;
    --color-charcoal: #2D2D2D;
    --color-gray-dark: #4A4A4A;
    --color-gray: #6B6B6B;
    --color-gray-light: #757575; /* WCAG AA compliant: 4.6:1 contrast on white */
    --color-gray-lighter: #E5E5E5;
    --color-off-white: #F5F5F5;
    --color-white: #FFFFFF;
    --color-cream: #FAF9F7;
    --color-accent: #C9A87C;
    --color-accent-dark: #B8956A;
    --color-accent-light: #F5EDE0;

    /* ========== CATEGORY COLORS ========== */
    /* Einzigartige Farbpalette für jede Produktkategorie */
    --color-resin: #4A90D9;           /* Kristallblau - Klarheit von Epoxidharz */
    --color-resin-light: #E8F2FC;
    --color-resin-glow: rgba(74, 144, 217, 0.15);

    --color-farben: #E84855;          /* Lebendig Rot - Energie der Pigmente */
    --color-farben-light: #FDE8EA;
    --color-farben-glow: rgba(232, 72, 85, 0.15);

    --color-struktur: #8B7355;        /* Erdton - Natürliche Strukturmaterialien */
    --color-struktur-light: #F4EDE6;
    --color-struktur-glow: rgba(139, 115, 85, 0.15);

    --color-paperworld: #F4B942;      /* Warmes Gelb - Papier & Kreativität */
    --color-paperworld-light: #FEF6E4;
    --color-paperworld-glow: rgba(244, 185, 66, 0.15);

    --color-silikon: #9B59B6;         /* Violett - Flexible Formen */
    --color-silikon-light: #F5EBF9;
    --color-silikon-glow: rgba(155, 89, 182, 0.15);

    --color-giessmassen: #1ABC9C;     /* Türkis - Flüssige Gießmassen */
    --color-giessmassen-light: #E8F8F5;
    --color-giessmassen-glow: rgba(26, 188, 156, 0.15);

    --color-schablonen: #E67E22;      /* Orange - Kreative Muster */
    --color-schablonen-light: #FDF2E9;
    --color-schablonen-glow: rgba(230, 126, 34, 0.15);

    --color-wachs: #F39C12;           /* Honig-Gold - Warmes Wachs */
    --color-wachs-light: #FEF9E7;
    --color-wachs-glow: rgba(243, 156, 18, 0.15);

    --color-glitter: #FF6B9D;         /* Pink - Funkelndes Glitter */
    --color-glitter-light: #FFF0F5;
    --color-glitter-glow: rgba(255, 107, 157, 0.15);

    --color-zubehoer: #34495E;        /* Anthrazit - Professionelles Zubehör */
    --color-zubehoer-light: #EBF0F5;
    --color-zubehoer-glow: rgba(52, 73, 94, 0.15);

    /* ========== GRADIENT PRESETS ========== */
    /* Wiederverwendbare Verläufe für Art/Fluid-Effekte */
    --gradient-resin-flow: linear-gradient(135deg, var(--color-resin) 0%, #7CB9E8 50%, var(--color-giessmassen) 100%);
    --gradient-pigment-burst: linear-gradient(135deg, var(--color-farben) 0%, var(--color-glitter) 50%, var(--color-schablonen) 100%);
    --gradient-earth-tones: linear-gradient(135deg, var(--color-struktur) 0%, var(--color-wachs) 50%, var(--color-paperworld) 100%);
    --gradient-creative: linear-gradient(135deg, var(--color-silikon) 0%, var(--color-resin) 50%, var(--color-giessmassen) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(201, 168, 124, 0.08) 0%, transparent 40%, rgba(74, 144, 217, 0.05) 100%);
    --gradient-hero-dark: linear-gradient(135deg, var(--color-charcoal) 0%, #1a1a2e 50%, #16213e 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(201, 168, 124, 0.3);
    --shadow-color-sm: 0 4px 14px;
    --shadow-color-lg: 0 8px 30px;
}

/* =====================================================
   i18n ANTI-FLICKER (FOUC Prevention)
   Prevents flash of German text when English is selected
   ===================================================== */

/* Hide translatable content until i18n is initialized */
html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-html],
html.i18n-loading [data-i18n-placeholder] {
    visibility: hidden;
}

/* Once i18n is ready, show everything */
html.i18n-ready [data-i18n],
html.i18n-ready [data-i18n-html],
html.i18n-ready [data-i18n-placeholder] {
    visibility: visible;
}

/* Fallback: If JS fails, show content after 500ms */
@keyframes i18n-fallback-show {
    to { visibility: visible; }
}

html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-html] {
    animation: i18n-fallback-show 0s 0.5s forwards;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
    /* Prevent horizontal scroll from decorative elements */
    max-width: 100vw;
}

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
    position: relative;
}

/* Fix for iOS Safari horizontal scroll */
html {
    overflow-x: hidden;
    width: 100%;
}

/* Skip Links - Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    font-weight: 500;
    z-index: 10000;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: var(--space-md);
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Screen Reader Only - Accessible Labels */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   MOBILE OVERFLOW PREVENTION
   ===================================================== */
/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent tables from overflowing on mobile */
table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    table {
        display: table;
    }
}

/* Prevent pre/code blocks from overflowing */
pre, code {
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
}

/* Prevent long URLs and text from overflowing */
a, p, span, li, td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Main content wrapper */
main {
    overflow-x: hidden;
}

/* Global Focus Indicator - Accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Buttons and links with focus */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--color-gray-dark);
}

em {
    font-style: italic;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    /* Prevent content from causing horizontal overflow */
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Buttons - Consistent Base System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    min-height: 48px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

/* Button Size Modifiers */
.btn-large {
    min-height: 56px;
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

.btn-small {
    min-height: 40px;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
}

/* Primary Button - Gold/Accent (Hauptaktion: In den Warenkorb, Jetzt starten) */
.btn-primary {
    background: var(--color-accent);
    color: var(--color-black);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.4);
}

/* Success State - Dunkleres Gold mit Checkmark */
.btn-success {
    background: var(--color-accent-dark) !important;
    color: var(--color-white) !important;
    border-color: var(--color-accent-dark) !important;
    pointer-events: none;
}

/* Prevent button layout shift on state change */
.add-to-cart-btn,
.product-info .btn-primary {
    min-width: 180px;
}

/* Secondary Button - Gold Outline */
.btn-secondary {
    background: transparent;
    color: var(--color-accent-dark);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-black);
}

/* Outline Button - Gold Border (Schnellansicht, sekundäre Aktionen) */
.btn-outline {
    background: transparent;
    color: var(--color-accent-dark);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: rgba(201, 168, 124, 0.15);
    border-color: var(--color-accent-dark);
    color: var(--color-black);
}

/* Accent Button - Gold gefüllt (Newsletter, etc.) */
.btn-accent {
    background: var(--color-accent);
    color: var(--color-black);
    border: 2px solid var(--color-accent);
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.4);
}

/* Dark Button - Schwarz (für spezielle Fälle, dunkle Sektionen) */
.btn-dark {
    background: var(--color-black);
    color: var(--color-white);
    border: 2px solid var(--color-black);
}

.btn-dark:hover {
    background: var(--color-charcoal);
    border-color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline Light Button - Weiß/Hell für dunkle Hintergründe */
.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

/* Full Width Button Modifier */
.btn-full {
    width: 100%;
}

/* Mobile Button Optimizations */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.85rem;
    }

    .btn-large {
        min-height: 48px;
        padding: var(--space-md) var(--space-xl);
        font-size: 0.9rem;
    }

    .btn-small {
        min-height: 36px;
        padding: var(--space-xs) var(--space-md);
        font-size: 0.75rem;
    }
}

/* Consistent Product/Action Button Rows */
.btn-row {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

@media (max-width: 768px) {
    .btn-row {
        flex-direction: column;
        width: 100%;
    }

    .btn-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Wishlist Button - Consistent Styling */
.product-wishlist-btn {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #dc2626 !important;
    border-color: #dc2626 !important;
    background: transparent;
}

.product-wishlist-btn .heart-outline {
    display: block;
    color: #dc2626;
}

.product-wishlist-btn .heart-filled {
    display: none;
    color: #dc2626;
}

.product-wishlist-btn:hover {
    background: #fee2e2 !important;
}

.product-wishlist-btn.is-on-wishlist {
    background: var(--color-white) !important;
    border-color: #dc2626 !important;
}

.product-wishlist-btn.is-on-wishlist .heart-outline {
    display: none;
}

.product-wishlist-btn.is-on-wishlist .heart-filled {
    display: block;
}

/* Mobile Wishlist Button - Full Width with Text */
@media (max-width: 768px) {
    .btn-row .product-wishlist-btn {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        flex-direction: row !important;
        gap: var(--space-sm);
    }

    .btn-row .product-wishlist-btn .wishlist-text-add,
    .btn-row .product-wishlist-btn::after {
        content: 'Merken';
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .btn-row .product-wishlist-btn.is-on-wishlist::after {
        content: 'Gemerkt';
    }

    /* Hide the ::after if there's already text content */
    .btn-row .product-wishlist-btn .wishlist-text-add {
        display: inline !important;
    }

    .btn-row .product-wishlist-btn .wishlist-text-added {
        display: none !important;
    }

    .btn-row .product-wishlist-btn.is-on-wishlist .wishlist-text-add {
        display: none !important;
    }

    .btn-row .product-wishlist-btn.is-on-wishlist .wishlist-text-added {
        display: inline !important;
    }
}

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
.announcement-bar {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.announcement-bar p {
    color: inherit;
    margin: 0;
}

/* Announcement Bar - Responsive Text */
.announcement-mobile {
    display: none;
}

@media (max-width: 600px) {
    .announcement-desktop {
        display: none;
    }
    .announcement-mobile {
        display: inline;
    }
    .announcement-bar {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.65rem;
        letter-spacing: 0.05em;
    }
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-lighter);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner,
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: 1600px;
    margin: 0 auto;
}

/* Alternative nav styles for subpages */
.main-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    position: relative;
    padding: var(--space-sm) var(--space-md);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--color-black);
}

.logo-image {
    height: 50px;
    width: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Mobile logo sizing */
@media (max-width: 480px) {
    .logo-image,
    .logo img {
        height: 36px;
    }

    .header-content {
        padding: var(--space-sm) var(--space-md);
    }

    .header-actions {
        gap: var(--space-xs);
    }

    .icon-btn {
        width: 36px;
        height: 36px;
    }

    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .logo-image,
    .logo img {
        height: 42px;
    }

    .header-content {
        padding: var(--space-sm) var(--space-lg);
    }
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-accent);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* Dropdown - Artistic Gallery Style */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 100;
}

/* Show dropdown ONLY via JavaScript class - no CSS :hover (more reliable) */
.has-dropdown.dropdown-hover .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure all dropdown children can receive pointer events */
.has-dropdown.dropdown-hover .dropdown * {
    pointer-events: auto;
}

.dropdown-inner {
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #F8F6F3 100%);
    border-radius: var(--radius-lg);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    min-width: 680px;
    overflow: hidden;
    position: relative;
}

/* Subtle decorative accent line */
.dropdown-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 50%, var(--color-accent) 100%);
}

/* Content area */
.dropdown-content {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    flex: 1;
    grid-column: 1;
    grid-row: 1;
}

.dropdown-column {
    min-width: 175px;
}

.dropdown-column h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.02em;
    color: var(--color-charcoal);
    margin-bottom: 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.dropdown-column a {
    display: block;
    padding: var(--space-sm) 0;
}

.dropdown-column a:first-of-type {
    padding-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    transition: color 0.25s ease;
}

.dropdown-column a:hover {
    color: var(--color-accent);
}

/* Catalog Section - Bottom Highlight */
.dropdown-catalog {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-2xl);
    background: linear-gradient(135deg, var(--color-cream) 0%, #F5F0E8 100%);
    border-top: 1px solid var(--color-border);
    text-decoration: none;
    transition: all 0.3s ease;
    grid-column: 1;
    grid-row: 2;
}

.dropdown-catalog:hover {
    background: linear-gradient(135deg, #F5F0E8 0%, #EDE5D8 100%);
}

.dropdown-catalog-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.dropdown-catalog-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.dropdown-catalog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-catalog-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
}

.dropdown-catalog-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.2;
}

.dropdown-catalog-desc {
    font-size: 0.75rem;
    color: var(--color-gray);
    line-height: 1.3;
}

.dropdown-catalog-cta {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: var(--space-md);
    transition: gap 0.25s ease;
}

.dropdown-catalog-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.dropdown-catalog:hover .dropdown-catalog-cta {
    gap: 10px;
}

.dropdown-catalog:hover .dropdown-catalog-cta svg {
    transform: translateX(2px);
}

/* Featured Section - Right Side */
.dropdown-featured {
    position: relative;
    width: 220px;
    min-height: 280px;
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    grid-column: 2;
    grid-row: 1 / -1;
}

.dropdown-featured picture {
    display: block;
    height: 160px;
    overflow: hidden;
}

.dropdown-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.dropdown-featured:hover img {
    transform: scale(1.05);
}

.dropdown-featured-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dropdown-featured-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.dropdown-featured span,
.dropdown-featured-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.dropdown-featured-cta {
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.dropdown-featured-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.dropdown-featured:hover .dropdown-featured-cta {
    gap: 10px;
}

.dropdown-featured:hover .dropdown-featured-cta svg {
    transform: translateX(2px);
}


/* Dropdown Arrow Icon */
.dropdown-arrow {
    margin-left: 4px;
    transition: transform var(--transition-fast);
    opacity: 0.5;
}

.has-dropdown.dropdown-hover .dropdown-arrow,
.has-dropdown.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Focus States (Accessibility) */
.has-dropdown.focus-within .dropdown,
.has-dropdown.dropdown-open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-column a:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.dropdown-column a:focus-visible {
    background: rgba(201, 168, 124, 0.1);
}

/* Dropdown Featured as Link */
a.dropdown-featured {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
}

a.dropdown-featured:hover {
    background: linear-gradient(135deg, #4A433D 0%, #332E29 100%);
}

a.dropdown-featured:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

/* Dropdown - Tablet: Zentriert im Viewport */
@media (min-width: 769px) and (max-width: 1200px) {
    .dropdown {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        margin-top: 10px;
    }
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: var(--space-md) 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 9999;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-gray-lighter);
    transition: var(--transition-base);
}

.search-input-wrapper:focus-within {
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: none;
}

.search-icon {
    color: var(--color-gray);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    color: var(--color-black);
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--color-gray);
}

.search-close {
    background: none;
    border: none;
    padding: var(--space-xs);
    cursor: pointer;
    color: var(--color-gray);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.search-close:hover {
    color: var(--color-black);
}

/* Search Suggestions */
.search-suggestions {
    margin-top: var(--space-lg);
    display: none;
}

.search-suggestions.active {
    display: block;
}

.search-group {
    margin-bottom: var(--space-lg);
}

.search-group:last-of-type {
    margin-bottom: var(--space-md);
}

.search-group-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-sm);
}

.search-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
    color: var(--color-black);
}

.search-item:hover {
    background: var(--color-gray-lighter);
}

.search-item-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background: var(--color-gray-lighter);
}

.search-item-info {
    flex: 1;
    min-width: 0;
}

.search-item-name {
    display: block;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-name mark {
    background: var(--color-accent-light);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.search-item-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--color-gray);
}

.search-item-price {
    font-weight: 500;
    color: var(--color-accent);
    white-space: nowrap;
}

.search-no-results {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-gray);
}

.search-all-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-gray-lighter);
    border-radius: var(--radius-md);
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-base);
}

.search-all-results:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.search-all-results svg {
    transition: transform 0.2s ease;
}

.search-all-results:hover svg {
    transform: translateX(4px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--color-black);
    transition: var(--transition-fast);
}

.icon-btn:hover {
    background: var(--color-off-white);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--color-accent);
    color: var(--color-black);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Wrapper & Dropdown */
.account-wrapper {
    position: relative;
}

.account-btn {
    position: relative;
}

.membership-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.account-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-fast);
    z-index: 100;
}

.account-wrapper:hover .account-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.account-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray-lighter);
    font-size: 0.9rem;
}

.membership-badge-small {
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.account-dropdown a {
    display: block;
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.account-dropdown a:hover {
    color: var(--color-accent);
}

.account-dropdown hr {
    border: none;
    border-top: 1px solid var(--color-gray-lighter);
    margin: var(--space-sm) 0;
}

.account-dropdown-logged-out {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.account-dropdown-logged-out .btn {
    text-align: center;
}

/* Cart Wrapper & Dropdown */
.cart-wrapper {
    position: relative;
}

.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition-fast);
    z-index: 100;
}

.cart-wrapper:hover .cart-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.cart-dropdown-empty {
    padding: var(--space-2xl);
    text-align: center;
    color: var(--color-gray);
}

.cart-dropdown-empty svg {
    margin-bottom: var(--space-md);
    opacity: 0.4;
}

.cart-dropdown-empty p {
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-lighter);
    font-size: 0.85rem;
}

.cart-dropdown-header a {
    color: var(--color-accent);
    font-size: 0.8rem;
}

.cart-dropdown-list {
    max-height: 280px;
    overflow-y: auto;
}

.cart-dropdown-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-lighter);
}

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

.cart-dropdown-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info p {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.cart-item-price {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-dark);
    white-space: nowrap;
}

.cart-item-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-light);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

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

.cart-dropdown-footer {
    padding: var(--space-md);
    background: var(--color-off-white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cart-dropdown-subtotal,
.cart-dropdown-membership {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.cart-dropdown-membership {
    color: var(--color-accent-dark);
    font-size: 0.85rem;
}

.cart-dropdown-footer .btn {
    text-align: center;
    margin-top: var(--space-xs);
}

.cart-dropdown-footer .btn-primary {
    margin-top: 0;
}

/* =====================================================
   WISHLIST DROPDOWN STYLES
   ===================================================== */

.wishlist-wrapper {
    position: relative;
}

.wishlist-btn {
    position: relative;
}

.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-accent);
    color: var(--color-black);
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 340px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.wishlist-wrapper:hover .wishlist-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.wishlist-dropdown-empty {
    padding: var(--space-2xl);
    text-align: center;
    color: var(--color-gray);
}

.wishlist-dropdown-empty svg {
    margin-bottom: var(--space-md);
    opacity: 0.4;
}

.wishlist-dropdown-empty p {
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.wishlist-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-lighter);
    font-size: 0.85rem;
}

.wishlist-dropdown-header a {
    color: var(--color-accent);
    font-size: 0.8rem;
}

.wishlist-dropdown-list {
    max-height: 320px;
    overflow-y: auto;
}

.wishlist-dropdown-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-lighter);
    align-items: center;
}

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

.wishlist-item-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.wishlist-item-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--color-off-white);
}

.wishlist-item-info {
    flex: 1;
    min-width: 0;
}

.wishlist-item-info h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.wishlist-item-info p {
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    margin: 0;
}

.wishlist-item-actions {
    display: flex;
    gap: var(--space-xs);
}

.wishlist-add-to-cart,
.wishlist-item-remove {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--color-gray);
    background: transparent;
    border: none;
    cursor: pointer;
}

.wishlist-add-to-cart {
    background: var(--color-off-white);
}

.wishlist-add-to-cart:hover {
    background: var(--color-accent);
    color: var(--color-black);
}

.wishlist-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.wishlist-dropdown-footer {
    padding: var(--space-md);
    background: var(--color-off-white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.wishlist-dropdown-footer .btn {
    width: 100%;
    text-align: center;
}

/* Wishlist Notification */
.wishlist-notification {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.wishlist-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.wishlist-notification svg {
    color: #dc2626;
}

/* =====================================================
   CARD WISHLIST BUTTONS - Consolidated Styles
   ===================================================== */
.product-card__wishlist,
.course-card__wishlist,
.workshop-card__wishlist,
.card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 20;
    transition: all 0.2s ease;
    color: #dc2626;
}

.product-card__wishlist:hover,
.course-card__wishlist:hover,
.workshop-card__wishlist:hover,
.card__wishlist:hover {
    transform: scale(1.1);
    background: var(--color-white);
}

.product-card__wishlist:focus-visible,
.course-card__wishlist:focus-visible,
.workshop-card__wishlist:focus-visible,
.card__wishlist:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.product-card__wishlist .heart-outline,
.course-card__wishlist .heart-outline,
.workshop-card__wishlist .heart-outline,
.card__wishlist .heart-outline {
    display: block;
    color: #dc2626;
}

.product-card__wishlist .heart-filled,
.course-card__wishlist .heart-filled,
.workshop-card__wishlist .heart-filled,
.card__wishlist .heart-filled {
    display: none;
    color: #dc2626;
}

.product-card__wishlist.is-on-wishlist,
.course-card__wishlist.is-on-wishlist,
.workshop-card__wishlist.is-on-wishlist,
.card__wishlist.is-on-wishlist {
    background: var(--color-white);
}

.product-card__wishlist.is-on-wishlist .heart-outline,
.course-card__wishlist.is-on-wishlist .heart-outline,
.workshop-card__wishlist.is-on-wishlist .heart-outline,
.card__wishlist.is-on-wishlist .heart-outline {
    display: none;
}

.product-card__wishlist.is-on-wishlist .heart-filled,
.course-card__wishlist.is-on-wishlist .heart-filled,
.workshop-card__wishlist.is-on-wishlist .heart-filled,
.card__wishlist.is-on-wishlist .heart-filled {
    display: block;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--color-white);
    color: var(--color-black);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-gray-lighter);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-fast);
}

.cart-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.cart-notification svg {
    color: var(--color-accent-dark);
}

/* Hamburger Menu Button with Animation */
.menu-toggle,
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.menu-toggle:hover,
.mobile-menu-btn:hover {
    background: var(--color-off-white);
}

.menu-toggle span,
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-black);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X Animation */
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .menu-toggle,
    .mobile-menu-btn {
        display: none;
    }
}

/* =====================================================
   HERO SECTION - Enhanced with Art-inspired Design
   ===================================================== */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
}

/* Hero Background Art Effect */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    pointer-events: none;
    z-index: 0;
}

/* Animated Fluid Blob Decorations */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, var(--color-resin-glow) 0%, transparent 70%);
    filter: blur(60px);
    animation: floatBlob 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(-5%, 10%) scale(1.1); opacity: 0.8; }
    50% { transform: translate(5%, -5%) scale(0.95); opacity: 0.5; }
    75% { transform: translate(-3%, -8%) scale(1.05); opacity: 0.7; }
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        padding: var(--space-4xl) var(--space-3xl);
        align-items: center;
    }
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    /* Subtle gradient text effect */
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.5s ease forwards, shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-title {
    margin-bottom: var(--space-xl);
}

.hero-title .line {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.05s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.1s;
}

.hero-title .accent {
    font-style: italic;
    color: var(--color-accent-dark);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 480px;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.15s;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* Enhanced Hero Button with Gradient Hover */
.hero-actions .btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-actions .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-resin-flow);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.hero-actions .btn-primary:hover::before {
    opacity: 1;
}

.hero-actions .btn-primary:hover {
    background: transparent;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--space-md);
    height: 500px;
}

@media (min-width: 1024px) {
    .hero-gallery {
        height: 600px;
    }
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gi-1 {
    grid-row: span 2;
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.gi-2 {
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.gi-3 {
    animation: fadeInRight 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-scroll {
    display: none;
    position: absolute;
    bottom: var(--space-2xl);
    left: var(--space-3xl);
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

@media (min-width: 1024px) {
    .hero-scroll {
        display: flex;
    }
}

.hero-scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-black), transparent);
    animation: scrollLine 2s ease infinite;
}

/* =====================================================
   PROMISES SECTION
   ===================================================== */
.promises {
    padding: var(--space-3xl) 0;
    background: var(--color-off-white);
}

.promises-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .promises-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .promises-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.promise-item {
    text-align: center;
    padding: var(--space-lg);
}

.promise-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    opacity: 0.8;
}

.promise-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promise-item h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.promise-item p {
    font-size: 0.8rem;
    color: var(--color-gray);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header.light {
    color: var(--color-white);
}

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

.section-header.light .section-label {
    color: var(--color-accent);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray);
}

.section-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-white);
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.section-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* =====================================================
   CATEGORIES SECTION
   ===================================================== */
.categories {
    padding: var(--space-4xl) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 300px);
    }

    .category-large {
        grid-row: span 2;
    }

    .category-wide {
        grid-column: span 2;
    }
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    background: var(--color-off-white);
    min-height: 280px;
}

.category-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slower);
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    z-index: 2;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    z-index: 3;
    color: var(--color-white);
}

.category-count {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    display: block;
    margin-bottom: var(--space-xs);
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.category-content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-md);
    display: none;
}

.category-large .category-content p,
.category-wide .category-content p {
    display: block;
}

.category-link {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   DARK SECTION
   ===================================================== */
.dark-section {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
}

/* =====================================================
   FEATURED PRODUCTS
   ===================================================== */
.featured-products {
    padding: var(--space-4xl) 0;
}

.products-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

@media (min-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(201, 168, 124, 0.2);
    border-color: var(--color-accent-light);
}

/* Category-specific glow effects on hover */
.product-card[data-category="resin"]:hover {
    box-shadow: 0 20px 40px rgba(74, 144, 217, 0.2),
                0 0 30px var(--color-resin-glow);
}

.product-card[data-category="farben"]:hover {
    box-shadow: 0 20px 40px rgba(232, 72, 85, 0.15),
                0 0 30px var(--color-farben-glow);
}

.product-card[data-category="giessmassen"]:hover {
    box-shadow: 0 20px 40px rgba(26, 188, 156, 0.15),
                0 0 30px var(--color-giessmassen-glow);
}

.product-card[data-category="silikon"]:hover {
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.15),
                0 0 30px var(--color-silikon-glow);
}

.product-card[data-category="struktur"]:hover {
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.15),
                0 0 30px var(--color-struktur-glow);
}

.product-card[data-category="schablonen"]:hover {
    box-shadow: 0 20px 40px rgba(230, 126, 34, 0.15),
                0 0 30px var(--color-schablonen-glow);
}

.product-card[data-category="paperworld"]:hover {
    box-shadow: 0 20px 40px rgba(244, 185, 66, 0.15),
                0 0 30px var(--color-paperworld-glow);
}

.product-card[data-category="wachs"]:hover {
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.15),
                0 0 30px var(--color-wachs-glow);
}

.product-card[data-category="glitter"]:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.15),
                0 0 30px var(--color-glitter-glow);
}

.product-card[data-category="zubehoer"]:hover {
    box-shadow: 0 20px 40px rgba(52, 73, 94, 0.15),
                0 0 30px var(--color-zubehoer-glow);
}

.product-card[data-category="gutscheine"]:hover {
    box-shadow: 0 20px 40px rgba(201, 168, 124, 0.2),
                0 0 30px rgba(201, 168, 124, 0.15);
}

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 0 var(--radius-sm) 0;
}

.product-badge.new {
    background: var(--color-accent);
    color: var(--color-black);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-off-white);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-lg);
    transition: var(--transition-base);
}

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

.product-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
}

.quick-view {
    background: var(--color-white);
    color: var(--color-black);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transform: translateY(10px);
    transition: var(--transition-base);
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.quick-view:hover {
    background: var(--color-black);
    color: var(--color-white);
}

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

/* Small category label inside product cards (featured section) */
.product-info > .product-category-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
}

.product-name {
    font-size: 1rem;
    margin: var(--space-xs) 0;
    color: var(--color-black);
}

.product-description {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-black);
    display: block;
    margin-bottom: var(--space-sm);
}

.product-info .btn {
    display: block;
    width: 100%;
    min-width: 180px;
    text-align: center;
    margin-top: auto;
}

/* Featured products: equal height cards with aligned buttons */
.featured-products .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-products .product-info {
    flex: 1;
}

.featured-products .product-info .product-category {
    margin-top: auto;
    margin-bottom: 0;
}

.featured-products .product-info .btn {
    margin-top: var(--space-sm);
    font-family: var(--font-display);
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.featured-products .product-info .btn-primary {
    background: linear-gradient(135deg, #C9A87C 0%, #B8956A 100%);
    border: none;
    color: #1A1A1A;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(201, 168, 124, 0.25);
}

.featured-products .product-info .btn-primary:hover {
    background: linear-gradient(135deg, #D4B88A 0%, #C9A87C 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 124, 0.35);
}

.featured-products .product-info .btn-outline {
    background: transparent;
    border: 2px solid #C9A87C;
    color: #C9A87C;
}

.featured-products .product-info .btn-outline:hover {
    background: rgba(201, 168, 124, 0.15);
    border-color: #D4B88A;
}

.featured-products .product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.featured-products .product-image-link img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.featured-products .product-image-link:hover img {
    transform: scale(1.05);
}

.featured-products .product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 40, 35, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-products .product-image-link:hover .product-overlay {
    opacity: 1;
}

.featured-products .product-overlay span {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-sm);
}

.featured-products .product-name-link {
    text-decoration: none;
    color: inherit;
}

.featured-products .product-name-link:hover .product-name {
    color: var(--color-accent);
}

.featured-products .product-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.featured-products .product-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-images {
    position: relative;
    height: 500px;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image.main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    z-index: 2;
}

.about-image.secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 1;
}

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

.about-content {
    max-width: 500px;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-xl);
}

.about-title em {
    color: var(--color-accent-dark);
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-signature {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-gray-lighter);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.about-signature span {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--space-xs);
}

.about-signature strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
}

/* =====================================================
   COURSES SECTION
   ===================================================== */
.courses {
    padding: var(--space-4xl) 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .course-card.featured {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.course-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.course-card.featured .course-image {
    aspect-ratio: 16/12;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.course-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-accent);
    color: var(--color-black);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
}

.course-content {
    padding: var(--space-lg);
}

.course-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.course-card.featured .course-content h3 {
    font-size: 1.5rem;
}

.course-content p {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.course-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.course-meta span {
    font-size: 0.75rem;
    color: var(--color-gray-light);
}

.course-price {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-black);
}

.courses-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

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

.rating {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.stars {
    color: var(--color-accent);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-black);
    margin-bottom: var(--space-lg);
}

.testimonial cite {
    font-size: 0.875rem;
    font-style: normal;
    color: var(--color-gray);
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.newsletter-description {
    color: var(--color-gray-light);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    text-align: left;
}

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

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

    .form-row:last-of-type {
        grid-template-columns: 1fr auto;
    }
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: var(--color-gray-light);
}

.newsletter-form input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
    background: rgba(255,255,255,0.15);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-gray-light);
}

.dark-section .checkbox-label,
.newsletter .checkbox-label,
.newsletter-section .checkbox-group label,
.newsletter-section .checkbox-group,
.dark-section .checkbox-group label {
    color: var(--color-white);
}

.dark-section .checkbox-label a,
.newsletter .checkbox-label a,
.newsletter-section .checkbox-group a,
.dark-section .checkbox-group a {
    color: var(--color-accent);
    cursor: pointer;
}

/* Newsletter Checkbox Layout - inline */
.newsletter-section .checkbox-group,
.newsletter .checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.newsletter-section .checkbox-group input[type="checkbox"],
.newsletter .checkbox-group input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.newsletter-section .checkbox-group label,
.newsletter .checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.4;
}

.checkbox-label input {
    margin-top: 3px;
}

.checkbox-label a {
    color: var(--color-accent);
    text-decoration: underline;
}

.newsletter-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}

.deco-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.deco-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
}

.footer-brand p,
.footer-tagline {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.payment-icons,
.shipping-icons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-contact {
    margin-bottom: var(--space-lg);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.footer-contact a svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact a:hover svg {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-black);
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

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

.footer-links a {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    display: inline-block;
    padding: var(--space-xs) 0;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.footer-payment,
.footer-shipping {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-payment span,
.footer-shipping span {
    font-size: 0.75rem;
    color: var(--color-white);
    margin-right: var(--space-xs);
}

.footer-payment img,
.footer-shipping img {
    height: 28px;
    width: auto;
    transition: var(--transition-fast);
}

.footer-payment img:hover,
.footer-shipping img:hover {
    opacity: 0.8;
}

.footer-copyright {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-copyright p {
    font-size: 0.8rem;
    color: var(--color-gray-light);
}

/* Mobile footer optimizations */
@media (max-width: 480px) {
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer-grid {
        gap: var(--space-lg);
    }

    .footer-logo {
        height: 50px;
    }

    .footer-links h4 {
        margin-bottom: var(--space-md);
    }

    .footer-links a {
        display: block;
        padding: var(--space-xs) 0;
        font-size: 0.95rem;
    }

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

    .footer-payment img,
    .footer-shipping img {
        height: 24px;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    .footer-contact a {
        padding: var(--space-xs) 0;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xl);
        padding: var(--space-xl) 0;
    }

    .footer-payment,
    .footer-shipping {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-sm);
        width: 100%;
        align-items: center;
    }

    .footer-payment span,
    .footer-shipping span {
        width: 100%;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: var(--space-xs);
        color: var(--color-white);
    }

    .footer-payment img,
    .footer-shipping img {
        height: 34px;
        width: auto;
        background: var(--color-white);
        border-radius: var(--radius-sm);
        padding: 5px 8px;
        object-fit: contain;
    }
}

/* Footer Accordion - Desktop shows h4 only, Mobile shows full accordion */
.footer-accordion-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    text-align: left;
}

.footer-accordion-toggle h4 {
    margin-bottom: var(--space-md);
}

.footer-accordion-icon {
    display: none;
}

.footer-accordion-content {
    display: block;
}

@media (max-width: 768px) {
    /* Hide default h4 and show accordion toggle */
    .footer-accordion > h4 {
        display: none;
    }

    .footer-accordion-toggle {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        padding: var(--space-md) 0;
        cursor: pointer;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-accordion-toggle h4 {
        margin: 0;
        color: var(--color-white);
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .footer-accordion-icon {
        display: block;
        color: var(--color-gray-light);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    .footer-accordion.open .footer-accordion-icon {
        transform: rotate(180deg);
    }

    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .footer-accordion.open .footer-accordion-content {
        max-height: 500px;
        padding: var(--space-md) 0;
    }

    .footer-accordion-content li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .footer-accordion.open .footer-accordion-content li {
        opacity: 1;
        transform: translateY(0);
    }

    .footer-accordion.open .footer-accordion-content li:nth-child(1) { transition-delay: 0.05s; }
    .footer-accordion.open .footer-accordion-content li:nth-child(2) { transition-delay: 0.1s; }
    .footer-accordion.open .footer-accordion-content li:nth-child(3) { transition-delay: 0.15s; }
    .footer-accordion.open .footer-accordion-content li:nth-child(4) { transition-delay: 0.2s; }
    .footer-accordion.open .footer-accordion-content li:nth-child(5) { transition-delay: 0.25s; }
    .footer-accordion.open .footer-accordion-content li:nth-child(6) { transition-delay: 0.3s; }

    /* Adjust footer grid for mobile accordion */
    .footer-grid {
        gap: 0;
    }

    .footer-accordion {
        border-bottom: none;
    }

    .footer-brand {
        margin-bottom: var(--space-xl);
        padding-bottom: var(--space-xl);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* =====================================================
   COURSE PAGES - MOBILE OPTIMIZATIONS
   ===================================================== */

/* Mobile Course Hero Layout - Image First */
@media (max-width: 968px) {
    .course-hero .container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .course-gallery {
        order: -1;
    }

    .course-hero-content {
        order: 1;
    }

    .course-hero h1 {
        font-size: 2rem;
    }

    .course-meta {
        gap: var(--space-md);
    }

    .course-meta-item {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .course-price-box {
        padding: var(--space-xl);
    }

    .course-price-box .price {
        font-size: 2rem;
    }

    .course-price-box .btn-row {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .course-price-box .btn-row .btn-primary {
        width: 100%;
        white-space: nowrap;
        font-size: 0.9rem;
        height: 48px;
    }

    .course-price-box .product-wishlist-btn {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        flex-direction: row !important;
        gap: var(--space-sm);
    }

    .course-price-box .product-wishlist-btn::after {
        content: 'Merken';
        font-size: 0.9rem;
    }

    .course-price-box .product-wishlist-btn.is-on-wishlist::after {
        content: 'Gemerkt';
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

/* Mobile Menu Styles - See improved version at end of file */

/* =====================================================
   PRODUCTS PAGE STYLES
   ===================================================== */

/* Page Header */
.page-header {
    padding: var(--space-5xl) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-cream) 100%);
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
}

.breadcrumb a:hover {
    color: var(--color-black);
}

.breadcrumb .separator {
    opacity: 0.5;
}

.breadcrumb .current {
    color: var(--color-black);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    padding: var(--space-xl) 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-lighter);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

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

.filter-tab {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray);
    background: transparent;
    border: 1px solid var(--color-gray-lighter);
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--color-black);
    color: var(--color-black);
}

.filter-tab.active {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

/* Products Page Section */
.products-page {
    padding: var(--space-4xl) 0;
}

.product-category {
    margin-bottom: var(--space-4xl);
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.category-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.category-description {
    color: var(--color-gray);
    font-size: 1rem;
}

/* Products Grid für Produkte-Seite */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-md);
    }
}

/* Mobile Product Card Optimizations */
@media (max-width: 480px) {
    .products-page .product-info {
        padding: var(--space-md);
    }

    .products-page .product-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: var(--space-xs);
    }

    .products-page .product-description {
        font-size: 0.8rem;
        margin-bottom: var(--space-sm);
        -webkit-line-clamp: 2;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .products-page .product-price {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .product-card__price-note {
        font-size: 0.65rem;
        margin-top: 2px;
    }

    .products-page .product-actions {
        gap: var(--space-xs);
        margin-top: var(--space-sm);
        flex-direction: column;
        align-items: stretch;
    }

    .products-page .product-actions .btn {
        width: 100%;
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
        min-height: 44px;
    }


    /* Variant Select auf Mobile */
    .product-variants .variant-select {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

/* Products Page Card Styles */
.products-page .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.products-page .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-image-wrapper {
    display: block;
    position: relative;
    aspect-ratio: 1;
    background: var(--color-off-white);
    overflow: hidden;
    text-decoration: none;
}

.product-image-wrapper .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-base);
}

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

.products-page .product-info {
    padding: var(--space-md) var(--space-sm);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 100%;
}

.product-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-title-link:hover .product-title {
    color: var(--color-accent);
}

.products-page .product-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.products-page .product-description {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.products-page .product-price {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-black);
}

.product-unit {
    font-size: 0.75rem;
    color: var(--color-gray);
}

/* PAngV Compliance - Price Note (MwSt. + Versand) */
.product-card__price-note {
    display: block;
    font-size: 0.7rem;
    color: var(--color-gray);
    margin-top: var(--space-xs);
    font-weight: 400;
}

.products-page .product-actions {
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    display: flex !important;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
    transform: none !important;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.products-page .product-actions .btn {
    width: 100%;
    min-width: 0;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    text-align: center;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
}

.products-page .product-actions .btn-primary {
    background: linear-gradient(135deg, #C9A87C 0%, #B8956A 100%);
    border: none;
    color: #1A1A1A;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(201, 168, 124, 0.25);
}

.products-page .product-actions .btn-primary:hover {
    background: linear-gradient(135deg, #D4B88A 0%, #C9A87C 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 124, 0.35);
}

.products-page .product-actions .btn-outline {
    background: transparent;
    border: 2px solid #C9A87C;
    color: #8B7355;
}

.products-page .product-actions .btn-outline:hover {
    background: rgba(201, 168, 124, 0.1);
    border-color: #B8956A;
}

.products-page .add-to-cart-btn {
    order: 1;
}

.products-page .quickview-btn {
    order: 2;
}

/* Product Variants Select */
.product-variants {
    margin-bottom: var(--space-md);
}

.variant-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-black);
    background: var(--color-white);
    border: 2px solid #E5E0D8;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B7355' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.variant-select:hover {
    border-color: var(--color-accent);
}

.variant-select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.2);
}

.variant-select.shake-error {
    animation: shake 0.5s ease-in-out;
    border-color: #E74C3C;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    cursor: pointer;
}

.product-overlay span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.product-image-wrapper:hover .product-overlay {
    opacity: 1;
}

.product-overlay:hover span {
    background: var(--color-white);
    color: var(--color-black);
}

/* Product Quickview Modal */
.product-quickview-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

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

.quickview-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-fast);
}

.product-quickview-modal.active .quickview-content {
    transform: scale(1);
}

@media (min-width: 768px) {
    .quickview-content {
        grid-template-columns: 1fr 1fr;
    }
}

.quickview-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.quickview-close:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.quickview-image {
    background: var(--color-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
}

.quickview-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.quickview-info {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.quickview-info h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-black);
}

.quickview-description {
    color: var(--color-gray);
    line-height: 1.6;
}

.quickview-price {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
}

.quickview-member-price {
    color: var(--color-accent-dark);
    font-weight: 500;
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
    background: rgba(201, 168, 124, 0.15);
    border-radius: var(--radius-sm);
}

.quickview-variants {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.quickview-variants-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-black);
    margin-bottom: var(--space-xs);
}

.quickview-variant-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.quickview-variant-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-gray-lighter);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--color-white);
}

.quickview-variant-option:hover {
    border-color: var(--color-accent);
    background: rgba(201, 168, 124, 0.05);
}

.quickview-variant-option.selected {
    border-color: var(--color-accent);
    background: rgba(201, 168, 124, 0.1);
}

.quickview-variant-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
}

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

.variant-name {
    font-weight: 500;
    color: var(--color-black);
}

.variant-price {
    font-weight: 500;
    color: var(--color-accent-dark);
}

.quickview-variant-options.shake-error .quickview-variant-option {
    animation: shake 0.5s ease-in-out;
    border-color: #dc2626;
}

.quickview-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.quickview-quantity label {
    font-weight: 500;
}

.quickview-quantity input {
    width: 80px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-gray-lighter);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    text-align: center;
}

.quickview-quantity input:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
}

.quickview-info .btn-large {
    margin-top: auto;
    padding: var(--space-md) var(--space-xl);
}

/* Quickview Mobile Optimizations */
@media (max-width: 767px) {
    .product-quickview-modal {
        padding: 0;
        align-items: flex-end;
    }

    .quickview-content {
        max-width: 100%;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        /* Fix iOS select dropdown positioning - remove transform, use translateY instead */
        transform: none !important;
        translate: 0 100%;
        transition: translate 0.3s ease;
    }

    .product-quickview-modal.active .quickview-content {
        transform: none !important;
        translate: 0 0;
    }

    .quickview-close {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
        z-index: 10;
    }

    .quickview-image {
        padding: var(--space-lg);
        min-height: 200px;
        max-height: 250px;
    }

    .quickview-image img {
        max-height: 200px;
    }

    .quickview-info {
        padding: var(--space-lg);
        gap: var(--space-sm);
    }

    .quickview-info h2 {
        font-size: 1.25rem;
        padding-right: var(--space-2xl);
    }

    .quickview-description {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .quickview-price {
        font-size: 1.25rem;
    }

    .quickview-variants {
        margin-bottom: var(--space-sm);
    }

    .quickview-variant-option {
        padding: var(--space-sm);
    }

    .variant-option-text {
        font-size: 0.9rem;
    }

    .quickview-quantity {
        flex-wrap: wrap;
        margin-top: var(--space-sm);
    }

    .quickview-quantity label {
        width: 100%;
        margin-bottom: var(--space-xs);
    }

    .quickview-quantity input {
        flex: 1;
        min-width: 100px;
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: var(--space-md);
    }

    .quickview-info .btn-large {
        width: 100%;
        padding: var(--space-md);
        font-size: 1rem;
        margin-top: var(--space-md);
    }

    .quickview-member-price {
        font-size: 0.95rem;
        padding: var(--space-xs) var(--space-sm);
    }
}

@media (max-width: 380px) {
    .quickview-info {
        padding: var(--space-md);
    }

    .quickview-info h2 {
        font-size: 1.1rem;
    }

    .quickview-price {
        font-size: 1.1rem;
    }

    .quickview-image {
        padding: var(--space-md);
        min-height: 150px;
        max-height: 180px;
    }

    .quickview-image img {
        max-height: 150px;
    }
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 2;
}

.product-badge.bestseller {
    background: var(--color-black);
    color: var(--color-white);
}

.product-badge.neu {
    background: #4CAF50;
    color: var(--color-white);
}

.product-badge.beliebt {
    background: var(--color-accent);
    color: var(--color-white);
}

.product-badge.eco {
    background: #2E7D32;
    color: var(--color-white);
}

.product-badge.schnell {
    background: #FF5722;
    color: var(--color-white);
}

.product-badge.anfanger {
    background: #2196F3;
    color: var(--color-white);
}

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: var(--color-gray);
    margin-bottom: var(--space-xl);
}

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

/* =====================================================
   COURSES PAGE STYLES
   ===================================================== */

.page-header-courses {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
}

.page-header-courses .breadcrumb {
    color: var(--color-gray-light);
}

.page-header-courses .breadcrumb a:hover {
    color: var(--color-white);
}

.page-header-courses .breadcrumb .current {
    color: var(--color-white);
}

.page-header-courses .page-title {
    color: var(--color-white);
}

.page-header-courses .page-subtitle {
    color: var(--color-gray-light);
}

/* Course Benefits */
.course-benefits {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-2xl);
}

.benefit-item {
    text-align: center;
    padding: var(--space-xl);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-off-white);
    border-radius: 50%;
    color: var(--color-black);
}

.benefit-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Featured Course */
.featured-course {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.featured-course-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 900px) {
    .featured-course-content {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-course-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.featured-course-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.featured-course-info .course-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-md);
}

.featured-course-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.featured-course-info .course-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
}

.featured-course-info .course-description {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.course-features li {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.course-pricing {
    margin-bottom: var(--space-xl);
}

.course-pricing .price {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-black);
}

.course-pricing .price-note {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: var(--space-xs);
}

/* All Courses Grid */
.all-courses {
    padding: var(--space-4xl) 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-2xl);
}

.course-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.course-image-wrapper {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.course-duration {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

.course-badge-mini {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.course-card .course-info {
    padding: var(--space-xl);
}

.course-card .course-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.course-card .course-excerpt {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.course-card .course-meta {
    margin-bottom: var(--space-lg);
}

.course-includes {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--color-gray);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-lighter);
}

.course-card .course-price {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
}

/* Workshops Section */
.workshops-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
}

.section-header-light .section-label {
    color: var(--color-accent);
}

.section-header-light .section-title {
    color: var(--color-white);
}

.section-header-light .section-subtitle {
    color: var(--color-gray-light);
}

.workshops-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.workshop-card {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--color-charcoal);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.workshop-card:hover {
    background: var(--color-gray-dark);
}

.workshop-date {
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-white);
    color: var(--color-black);
    border-radius: var(--radius-sm);
    min-width: 70px;
}

.workshop-date .day {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1;
}

.workshop-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.workshop-info {
    flex: 1;
}

.workshop-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.workshop-info p {
    font-size: 0.875rem;
    color: var(--color-gray-light);
    margin-bottom: var(--space-xs);
}

.workshop-spots {
    font-size: 0.75rem;
    color: var(--color-accent);
}

.workshop-price {
    text-align: right;
}

.workshop-price span {
    display: block;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.workshops-cta {
    text-align: center;
    margin-top: var(--space-3xl);
    color: var(--color-gray-light);
}

.workshops-cta p {
    margin-bottom: var(--space-md);
}

/* Instructor Section */
.instructor-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.instructor-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 900px) {
    .instructor-content {
        grid-template-columns: 1fr 1.2fr;
    }
}

.instructor-image {
    position: relative;
}

.instructor-image img {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.instructor-info .section-label {
    color: var(--color-accent-dark);
}

.instructor-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.instructor-title {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: var(--space-xl);
}

.instructor-bio {
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.instructor-stats {
    display: flex;
    gap: var(--space-2xl);
}

.instructor-stats .stat {
    text-align: center;
}

.instructor-stats .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-black);
}

.instructor-stats .stat-label {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Testimonials */
.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.testimonial {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial footer {
    border-top: 1px solid var(--color-gray-lighter);
    padding-top: var(--space-md);
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-weight: 500;
    color: var(--color-black);
}

.testimonial .course-taken {
    font-size: 0.8rem;
    color: var(--color-gray);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-4xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-lighter);
}

.faq-item summary {
    padding: var(--space-lg) 0;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-gray);
    transition: var(--transition-fast);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 0 var(--space-lg);
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* Newsletter Section Alternative (kurse.html) */
.newsletter-section {
    padding: var(--space-4xl) 0;
    background: var(--color-charcoal);
    color: var(--color-white);
}

.newsletter-section .newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.newsletter-section p {
    color: var(--color-gray-light);
    margin-bottom: var(--space-xl);
}

.newsletter-section .newsletter-form {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-section .newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: var(--transition-fast);
}

.newsletter-section .newsletter-form input[type="email"]::placeholder {
    color: var(--color-gray-light);
}

.newsletter-section .newsletter-form input[type="email"]:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--color-gray-light);
    margin-top: var(--space-md);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

/* =====================================================
   CONTACT PAGE STYLES
   ===================================================== */

.contact-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

/* Contact Info Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    padding: var(--space-xl);
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-base);
}

.contact-card:hover {
    background: var(--color-cream);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-accent-dark);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.contact-card a {
    color: var(--color-black);
    transition: var(--transition-fast);
}

.contact-card a:hover {
    color: var(--color-accent-dark);
}

.contact-note {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: var(--space-sm);
}

.phone-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-left: var(--space-sm);
}

/* Contact Form */
.contact-form-wrapper {
    padding: var(--space-2xl);
    background: var(--color-off-white);
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.contact-form-wrapper > p {
    color: var(--color-gray);
    margin-bottom: var(--space-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-lighter);
    border-radius: var(--radius-sm);
    color: var(--color-black);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray);
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    cursor: pointer;
}

/* Checkbox */
.checkbox-group {
    margin-top: var(--space-sm);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-accent-dark);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox-label a:hover {
    color: var(--color-accent-dark);
}

/* Contact Form Button */
.contact-form .btn-primary {
    align-self: flex-start;
    padding: var(--space-md) var(--space-2xl);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-xl);
    }
}

/* Mobile Adjustments for New Pages */
@media (max-width: 768px) {
    .featured-course-content {
        text-align: center;
    }

    .course-features {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .workshop-card {
        flex-direction: column;
        text-align: center;
    }

    .workshop-info,
    .workshop-price {
        text-align: center;
    }

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

    .instructor-image img {
        margin: 0 auto;
    }

    .instructor-stats {
        justify-content: center;
    }
}

/* ==========================================================================
   KURSE PAGE - MOBILE OPTIMIZATION
   ========================================================================== */

/* Mobile adjustments for courses page */
@media (max-width: 768px) {
    /* Page Header */
    .page-header-courses {
        padding: var(--space-2xl) 0;
    }

    .page-header-courses .page-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .page-header-courses .page-subtitle {
        font-size: 0.95rem;
    }

    /* Section Headers */
    .page-courses .section-header {
        margin-bottom: var(--space-xl);
    }

    .page-courses .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    /* Course Benefits */
    .course-benefits {
        padding: var(--space-2xl) 0;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .benefit-item {
        padding: var(--space-md);
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-md);
    }

    .benefit-icon svg {
        width: 24px;
        height: 24px;
    }

    .benefit-item h3 {
        font-size: 1rem;
    }

    .benefit-item p {
        font-size: 0.8rem;
    }

    /* Featured Course */
    .featured-course {
        padding: var(--space-2xl) 0;
    }

    .featured-course-content {
        gap: var(--space-xl);
    }

    .featured-badge {
        top: var(--space-sm);
        left: var(--space-sm);
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.65rem;
    }

    .featured-course-info .course-tag {
        font-size: 0.7rem;
    }

    .featured-course-info .course-subtitle {
        font-size: 1rem;
    }

    .featured-course-info .course-description {
        font-size: 0.9rem;
    }

    .course-pricing .price {
        font-size: 2rem;
    }

    /* All Courses Grid */
    .all-courses {
        padding: var(--space-2xl) 0;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .course-card .course-info {
        padding: var(--space-lg);
    }

    .course-card .course-title {
        font-size: 1.1rem;
    }

    .course-card .course-excerpt {
        font-size: 0.85rem;
    }

    .course-includes {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .course-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .course-footer .btn {
        width: 100%;
    }

    /* Instructor Section */
    .instructor-section {
        padding: var(--space-2xl) 0;
    }

    .instructor-content {
        gap: var(--space-xl);
    }

    .instructor-image img {
        max-width: 280px;
    }

    .instructor-info h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

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

    .instructor-bio {
        font-size: 0.9rem;
        margin-bottom: var(--space-lg);
    }

    .instructor-stats {
        gap: var(--space-xl);
    }

    .instructor-stats .stat-number {
        font-size: 1.5rem;
    }

    .instructor-stats .stat-label {
        font-size: 0.8rem;
    }

    /* Testimonials */
    .testimonials-section {
        padding: var(--space-2xl) 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .testimonial {
        padding: var(--space-lg);
    }

    .testimonial p {
        font-size: 0.9rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: var(--space-2xl) 0;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: var(--space-md) 0;
    }

    .faq-item p {
        font-size: 0.9rem;
        padding-bottom: var(--space-md);
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: var(--space-2xl) 0;
    }

    .newsletter-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .newsletter-content p {
        font-size: 0.9rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
        font-size: 16px;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .course-pricing .price {
        font-size: 1.75rem;
    }

    .featured-course-info .btn-large {
        width: 100%;
    }

    .instructor-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .instructor-stats .stat {
        border-bottom: 1px solid var(--color-gray-lighter);
        padding-bottom: var(--space-md);
    }

    .instructor-stats .stat:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   MEMBERSHIP PAGE
   ========================================================================== */

.membership-hero {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.membership-hero-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

@media (max-width: 900px) {
    .membership-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.membership-price-card {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.price-amount .currency {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-accent);
}

.price-amount .value {
    font-family: var(--font-body);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}

.price-amount .period {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
}

.price-yearly {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-xs);
}

.price-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7); /* WCAG AA: improved contrast on dark bg */
    margin-bottom: var(--space-xl);
}

.membership-intro h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.membership-intro p {
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.membership-benefits {
    padding: var(--space-5xl) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-lighter);
    transition: var(--transition-base);
    position: relative;
}

.benefit-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.benefit-card.benefit-highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d4b896 100%);
    color: var(--color-white);
    border: none;
}

.benefit-card.benefit-highlight h3 {
    color: var(--color-white);
}

.benefit-card.benefit-highlight p {
    color: rgba(255,255,255,0.9);
}

.benefit-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--color-white);
    color: var(--color-accent-dark);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--color-off-white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--color-accent-dark);
}

.benefit-highlight .benefit-icon {
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.benefit-card p {
    color: var(--color-gray-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.benefit-note {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-top: var(--space-sm);
}

.membership-calculation {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

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

.calculation-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.calculation-intro {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
}

.calculation-example {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-lighter);
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row.calc-total {
    font-weight: 600;
    padding-top: var(--space-lg);
    margin-top: var(--space-sm);
    border-top: 2px solid var(--color-black);
    border-bottom: none;
}

.calc-row .highlight {
    color: var(--color-accent-dark);
    font-weight: 600;
}

.calc-row .positive {
    color: #15803d;
}

.calculation-note {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.membership-howto {
    padding: var(--space-5xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

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

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.step-item h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.step-item p {
    color: var(--color-gray-dark);
    font-size: 0.9375rem;
}

.membership-terms {
    padding: var(--space-3xl) 0;
    background: var(--color-off-white);
}

.terms-content {
    max-width: 700px;
    margin: 0 auto;
}

.terms-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.terms-content ul {
    list-style: none;
    padding: 0;
}

.terms-content li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-gray-lighter);
    color: var(--color-gray-dark);
}

.membership-cta {
    padding: var(--space-5xl) 0;
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    text-align: center;
}

.membership-cta .cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.membership-cta .cta-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-xl);
}

.cta-note {
    margin-top: var(--space-xl);
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7); /* WCAG AA: improved contrast on dark bg */
}

.cta-note a {
    color: var(--color-accent);
}

/* ==========================================================================
   HÄNDLER PAGE
   ========================================================================== */

.dealers-intro {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.dealers-intro .intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.dealers-intro p {
    font-size: 1.125rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.dealers-list {
    padding: var(--space-3xl) 0;
}

.country-section {
    margin-bottom: var(--space-4xl);
}

.country-title {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-accent);
}

.country-flag {
    font-size: 2rem;
}

.region-group {
    margin-bottom: var(--space-2xl);
}

.region-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.dealer-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-lighter);
}

.dealer-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.dealer-card address {
    font-style: normal;
    color: var(--color-gray-dark);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.become-dealer {
    padding: var(--space-4xl) 0;
    background: var(--color-accent);
}

.dealer-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.dealer-cta-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.dealer-cta-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
}

.dealer-cta-content .btn-primary {
    background: var(--color-accent);
    color: var(--color-black);
    border-color: var(--color-accent);
}

.dealer-cta-content .btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
}

.online-shop-note {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.online-shop-note .note-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.online-shop-note h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.online-shop-note p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   GUTSCHEINE PAGE
   ========================================================================== */

.giftcard-intro {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.giftcard-intro .intro-content {
    max-width: 700px;
    margin: 0 auto;
}

.giftcard-intro p {
    font-size: 1.125rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.giftcard-options {
    padding: var(--space-3xl) 0;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
}

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

.giftcard-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-gray-lighter);
}

.giftcard-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.giftcard-visual.virtual {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
}

.giftcard-visual.physical {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d4b896 100%);
}

.giftcard-inner {
    text-align: center;
    color: var(--color-white);
}

.giftcard-logo {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.giftcard-type {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: var(--space-sm);
}

.giftcard-value {
    font-size: 0.875rem;
    opacity: 0.7;
}

.giftcard-info {
    padding: var(--space-2xl);
}

.giftcard-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.giftcard-description {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.giftcard-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-xl);
}

.giftcard-features li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--color-gray-dark);
    font-size: 0.9375rem;
}

.giftcard-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-dark);
    font-weight: bold;
}

.giftcard-pricing {
    margin-bottom: var(--space-lg);
}

.giftcard-pricing .price-label {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.giftcard-pricing .price-value {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-black);
}

/* Giftcard Image */
.giftcard-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--color-off-white);
}

.giftcard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Giftcard Value Selector */
.giftcard-value-selector {
    margin-bottom: var(--space-lg);
}

.giftcard-value-selector label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-sm);
}

.giftcard-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-black);
    background: var(--color-white);
    border: 2px solid #E5E0D8;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231A1A1A' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.giftcard-select:hover {
    border-color: var(--color-accent);
}

.giftcard-select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.2);
}

.giftcard-select.shake-error {
    animation: shake 0.5s ease-in-out;
    border-color: #E74C3C;
}

/* Value Option Selected State */
.value-option.selected {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(201, 168, 124, 0.1) 0%, rgba(201, 168, 124, 0.05) 100%);
    box-shadow: 0 4px 12px rgba(201, 168, 124, 0.2);
}

.value-option.selected .value-amount {
    color: var(--color-accent-dark);
}

.giftcard-values {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
}

.value-option {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
}

.value-option:hover {
    border-color: var(--color-accent);
}

.value-option.popular {
    border-color: var(--color-accent);
}

.value-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

.value-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-black);
    margin-bottom: var(--space-xs);
}

.value-suggestion {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.giftcard-howto {
    padding: var(--space-5xl) 0;
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

@media (max-width: 900px) {
    .howto-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .howto-steps {
        grid-template-columns: 1fr;
    }
}

.howto-steps .step {
    text-align: center;
}

.howto-steps .step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--color-accent-dark);
}

.howto-steps .step h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.howto-steps .step p {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
}

.giftcard-redeem {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.redeem-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.redeem-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.redeem-content p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-lg);
}

.redeem-note {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    text-align: left;
}

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

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

.corporate-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.corporate-content p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   ZAHLUNG & VERSAND PAGE
   ========================================================================== */

.payment-methods {
    padding: var(--space-5xl) 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.payment-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-lighter);
    text-align: center;
}

.payment-icon {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.payment-icon img {
    max-height: 40px;
    max-width: 80px;
}

.payment-icon svg {
    color: var(--color-gray-dark);
}

.payment-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.payment-card p {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--color-off-white);
    border-radius: var(--radius-md);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #15803d;
    font-weight: 600;
}

.payment-security p {
    color: var(--color-gray-dark);
    font-size: 0.875rem;
    margin: 0;
}

.shipping-germany,
.shipping-international {
    padding: var(--space-4xl) 0;
}

.shipping-germany {
    background: var(--color-off-white);
}

.shipping-highlight {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: var(--color-accent);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2xl);
}

.highlight-badge {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.highlight-content h3 {
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.highlight-content p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.shipping-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--space-xl);
}

.shipping-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.shipping-table th,
.shipping-table td {
    padding: var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-lighter);
}

.shipping-table th {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
}

.shipping-table td {
    font-size: 0.9375rem;
}

.shipping-table td.free {
    color: #15803d;
    font-weight: 600;
}

.shipping-table a {
    color: var(--color-accent-dark);
}

.shipping-carriers {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.shipping-carriers span {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.shipping-carriers img {
    height: 30px;
    border-radius: var(--radius-sm);
}

.customs-note {
    background: #fef3cd;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: #856404;
    margin-top: var(--space-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.customs-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* International Shipping Grid */
.international-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

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

.international-countries h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

.country-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.country-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.country-flag {
    font-size: 1.5rem;
}

.country-note {
    margin-top: var(--space-lg);
    color: var(--color-gray);
    font-style: italic;
}

/* International Contact Card */
.international-contact .contact-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.international-contact .contact-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
}

.international-contact .contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.international-contact .contact-card p {
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.international-contact .contact-card .btn {
    margin-top: var(--space-md);
}

.delivery-info {
    padding: var(--space-4xl) 0;
    background: var(--color-off-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.info-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.info-card p {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin: 0;
}

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

.pickup-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pickup-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.pickup-content > p {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xl);
}

.pickup-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.pickup-address {
    text-align: left;
    color: var(--color-gray-dark);
}

.shipping-contact {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
}

.shipping-contact .contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.shipping-contact h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.shipping-contact .contact-content > p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-accent);
    font-size: 1rem;
}

.contact-link:hover {
    color: var(--color-white);
}

/* ==========================================================================
   PAGE HEADER DARK VARIANT
   ========================================================================== */

.page-header-dark {
    background: linear-gradient(135deg, #3D3630 0%, #2A2520 100%);
    padding: var(--space-4xl) 0 var(--space-3xl);
}

.page-header-dark .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.page-header-dark .breadcrumb a:hover {
    color: var(--color-accent);
}

.page-header-dark .breadcrumb .separator,
.page-header-dark .breadcrumb .current {
    color: rgba(255,255,255,0.65);
}

.page-header-dark .page-title {
    color: var(--color-white);
}

.page-header-dark .page-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   ETTER ART DESIGN SYSTEM v2.0 - ENHANCED COMPONENTS
   Kategorie-Farben, Glassmorphism, Animationen, Mobile Navigation
   ========================================================================== */

/* ==========================================================================
   CATEGORY COLOR ACCENTS - Produktseite
   ========================================================================== */

/* Category Header Accent Bars */
.product-category[id="resin"] .category-header {
    border-bottom-color: var(--color-resin);
    border-bottom-width: 3px;
}
.product-category[id="resin"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-resin);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="farben"] .category-header {
    border-bottom-color: var(--color-farben);
    border-bottom-width: 3px;
}
.product-category[id="farben"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-farben);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="giessmassen"] .category-header {
    border-bottom-color: var(--color-giessmassen);
    border-bottom-width: 3px;
}
.product-category[id="giessmassen"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-giessmassen);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="silikon"] .category-header {
    border-bottom-color: var(--color-silikon);
    border-bottom-width: 3px;
}
.product-category[id="silikon"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-silikon);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="struktur"] .category-header {
    border-bottom-color: var(--color-struktur);
    border-bottom-width: 3px;
}
.product-category[id="struktur"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-struktur);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="schablonen"] .category-header {
    border-bottom-color: var(--color-schablonen);
    border-bottom-width: 3px;
}
.product-category[id="schablonen"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-schablonen);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="paperworld"] .category-header {
    border-bottom-color: var(--color-paperworld);
    border-bottom-width: 3px;
}
.product-category[id="paperworld"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-paperworld);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="wachs"] .category-header {
    border-bottom-color: var(--color-wachs);
    border-bottom-width: 3px;
}
.product-category[id="wachs"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-wachs);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="glitter"] .category-header {
    border-bottom-color: var(--color-glitter);
    border-bottom-width: 3px;
}
.product-category[id="glitter"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-glitter);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

.product-category[id="zubehoer"] .category-header {
    border-bottom-color: var(--color-zubehoer);
    border-bottom-width: 3px;
}
.product-category[id="zubehoer"] .category-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--color-zubehoer);
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
}

/* Category-colored Filter Tabs */
.filter-tab[data-filter="resin"].active { background: var(--color-resin); border-color: var(--color-resin); }
.filter-tab[data-filter="farben"].active { background: var(--color-farben); border-color: var(--color-farben); }
.filter-tab[data-filter="giessmassen"].active { background: var(--color-giessmassen); border-color: var(--color-giessmassen); }
.filter-tab[data-filter="silikon"].active { background: var(--color-silikon); border-color: var(--color-silikon); }
.filter-tab[data-filter="struktur"].active { background: var(--color-struktur); border-color: var(--color-struktur); }
.filter-tab[data-filter="schablonen"].active { background: var(--color-schablonen); border-color: var(--color-schablonen); }
.filter-tab[data-filter="paperworld"].active { background: var(--color-paperworld); border-color: var(--color-paperworld); color: var(--color-black); }
.filter-tab[data-filter="wachs"].active { background: var(--color-wachs); border-color: var(--color-wachs); color: var(--color-black); }
.filter-tab[data-filter="glitter"].active { background: var(--color-glitter); border-color: var(--color-glitter); }
.filter-tab[data-filter="zubehoer"].active { background: var(--color-zubehoer); border-color: var(--color-zubehoer); }

/* ==========================================================================
   GLASSMORPHISM COMPONENTS
   ========================================================================== */

/* Glass Dropdown */
.dropdown-inner.glass,
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Glass Button */
.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-black);
    transition: var(--transition-base);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Glass Search Overlay */
.search-overlay.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ==========================================================================
   ENHANCED ANIMATIONS - Liquid/Flow Effects
   ========================================================================== */

/* Liquid Blob Animation */
@keyframes liquidBlob {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(180deg);
    }
}

.liquid-blob {
    animation: liquidBlob 8s ease-in-out infinite;
}

/* Color Flow Animation */
@keyframes colorFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.color-flow {
    background: var(--gradient-pigment-burst);
    background-size: 200% 200%;
    animation: colorFlow 4s ease infinite;
}

/* Pulse Glow Animation */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px var(--color-accent-light); }
    50% { box-shadow: 0 0 40px var(--color-accent); }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Ink Drop Animation */
@keyframes inkDrop {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ink-drop-effect {
    position: relative;
    overflow: hidden;
}

.ink-drop-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.ink-drop-effect:active::after {
    animation: inkDrop 0.6s ease-out;
}

/* Staggered Fade In */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-fade > * {
    opacity: 0;
    animation: staggerFadeIn 0.4s ease forwards;
}

.stagger-fade > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-fade > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-fade > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-fade > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-fade > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-fade > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-fade > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-fade > *:nth-child(8) { animation-delay: 0.4s; }

/* Float Animation */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: gentleFloat 3s ease-in-out infinite;
}

/* Rotate Gradient */
@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rotating-gradient {
    background: conic-gradient(
        from 0deg,
        var(--color-resin),
        var(--color-farben),
        var(--color-glitter),
        var(--color-giessmassen),
        var(--color-silikon),
        var(--color-resin)
    );
    animation: rotateGradient 10s linear infinite;
}

/* ==========================================================================
   ENHANCED MOBILE NAVIGATION - Off-Canvas
   ========================================================================== */

/* =====================================================
   MOBILE MENU - Best Practices Implementation
   ===================================================== */

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85vw;
    max-width: 380px;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: var(--color-white);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Larger menu on tablets */
@media (min-width: 480px) {
    .mobile-menu {
        max-width: 420px;
    }
}

/* Mobile Menu Header - Fixed at top */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-gray-lighter);
    flex-shrink: 0;
    background: var(--color-white);
    min-height: 64px;
}

.mobile-menu-header .logo {
    display: flex;
    align-items: center;
}

.mobile-menu-header .logo img {
    height: 36px;
    width: auto;
}

/* Close Button */
.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    background: var(--color-off-white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-menu-close:hover {
    background: var(--color-gray-lighter);
}

.mobile-menu-close:active {
    transform: scale(0.95);
}

/* Mobile Navigation - Scrollable Area */
.mobile-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

/* Custom Scrollbar for Mobile Nav */
.mobile-nav::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-nav::-webkit-scrollbar-thumb {
    background: var(--color-gray-lighter);
    border-radius: 4px;
}

/* Navigation Items */
.mobile-nav-item {
    border-bottom: 1px solid var(--color-gray-lighter);
}

.mobile-nav-item:first-child {
    border-top: none;
}

.mobile-nav-item > a,
.mobile-nav-item > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px; /* Touch target best practice */
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-black);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-item > a:hover,
.mobile-nav-item > button:hover {
    background: var(--color-off-white);
    color: var(--color-accent-dark);
}

.mobile-nav-item > a:active,
.mobile-nav-item > button:active {
    background: var(--color-gray-lighter);
}

/* Dropdown Arrow */
.mobile-nav-item .nav-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-gray);
}

.mobile-nav-item.open .nav-arrow {
    transform: rotate(180deg);
    color: var(--color-accent-dark);
}

/* Mobile Submenu - Accordion Style */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: var(--color-off-white);
}

.mobile-nav-item.open .mobile-submenu {
    max-height: 1200px; /* Increased for workshop categories with many items */
    transition: max-height 0.4s ease-in;
}

/* Submenu Content */
.mobile-submenu-group {
    padding: var(--space-sm) var(--space-md);
}

.mobile-submenu-group:first-child {
    padding-top: var(--space-md);
}

.mobile-submenu-group:last-child {
    padding-bottom: var(--space-md);
}

.mobile-submenu-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-xs);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(201, 168, 124, 0.3);
}

.mobile-submenu a {
    display: block;
    min-height: 44px; /* Touch target */
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-gray-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-submenu a:hover {
    color: var(--color-accent-dark);
    padding-left: var(--space-sm);
}

/* Hauptseiten-Link im Mobile Submenu */
.mobile-submenu-main-link {
    display: flex !important;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) var(--space-md) var(--space-sm);
    padding: var(--space-md) !important;
    background: var(--color-accent-light);
    color: var(--color-accent-dark) !important;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-accent);
}

.mobile-submenu-main-link:hover {
    background: var(--color-accent);
    color: var(--color-black) !important;
    padding-left: var(--space-md) !important;
}

.mobile-submenu-main-link svg {
    flex-shrink: 0;
}

/* Mobile Menu Footer - Fixed at bottom */
.mobile-menu-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-gray-lighter);
    background: var(--color-off-white);
    flex-shrink: 0;
}

.mobile-menu-footer .btn {
    width: 100%;
    min-height: 48px;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.mobile-menu-footer .btn:last-of-type {
    margin-bottom: 0;
}

/* Mobile Contact Info in Footer */
.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-lighter);
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 40px;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    transition: color 0.2s ease;
}

.mobile-contact a svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.mobile-contact a:hover {
    color: var(--color-accent-dark);
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Safe area padding for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
    .mobile-menu-footer {
        padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   UTILITY CLASSES - Design System Extensions
   ========================================================================== */

/* Gradient Texts */
.text-gradient-resin {
    background: var(--gradient-resin-flow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pigment {
    background: var(--gradient-pigment-burst);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-creative {
    background: var(--gradient-creative);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Category Background Colors */
.bg-resin { background-color: var(--color-resin-light); }
.bg-farben { background-color: var(--color-farben-light); }
.bg-giessmassen { background-color: var(--color-giessmassen-light); }
.bg-silikon { background-color: var(--color-silikon-light); }
.bg-struktur { background-color: var(--color-struktur-light); }
.bg-schablonen { background-color: var(--color-schablonen-light); }
.bg-paperworld { background-color: var(--color-paperworld-light); }
.bg-wachs { background-color: var(--color-wachs-light); }
.bg-glitter { background-color: var(--color-glitter-light); }
.bg-zubehoer { background-color: var(--color-zubehoer-light); }

/* Category Text Colors */
.text-resin { color: var(--color-resin); }
.text-farben { color: var(--color-farben); }
.text-giessmassen { color: var(--color-giessmassen); }
.text-silikon { color: var(--color-silikon); }
.text-struktur { color: var(--color-struktur); }
.text-schablonen { color: var(--color-schablonen); }
.text-paperworld { color: var(--color-paperworld); }
.text-wachs { color: var(--color-wachs); }
.text-glitter { color: var(--color-glitter); }
.text-zubehoer { color: var(--color-zubehoer); }

/* Decorative Elements */
.art-blob {
    position: absolute;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(40px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.art-blob.blob-accent {
    background: var(--color-accent);
}

.art-blob.blob-resin {
    background: var(--color-resin);
}

.art-blob.blob-pigment {
    background: var(--color-farben);
}

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-pigment-burst);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Focus Visible Styles */
:focus-visible {
    outline: 2px solid var(--color-gray-light);
    outline-offset: 2px;
}

/* Focus indicators for styled form elements - keep visible for accessibility */

/* Screen reader only - hidden visually but accessible to assistive technology */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll anchor targets - invisible but provide scroll position */
.scroll-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   CATEGORY INTROS - Einleitungen für Produktkategorien
   ===================================================== */

.category-intro {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    border-left: 4px solid var(--color-accent);
}

.category-intro .intro-headline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.category-intro .intro-text {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Techniques Grid */
.intro-techniques h4,
.intro-tips h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

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

.technique-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-lighter);
}

.technique-card strong {
    display: block;
    font-family: var(--font-display);
    color: var(--color-accent-dark);
    margin-bottom: var(--space-xs);
}

.technique-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.5;
}

/* Highlights (Resin) */
.intro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.highlight-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--color-gray-lighter);
}

.highlight-card .highlight-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.highlight-card strong {
    display: block;
    color: var(--color-black);
    margin-bottom: var(--space-xs);
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
}

/* Color Types (Farben) */
.intro-colortypes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.colortype-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-lighter);
}

.colortype-card strong {
    display: block;
    font-family: var(--font-display);
    color: var(--color-accent-dark);
    margin-bottom: var(--space-sm);
}

.colortype-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.colortype-card .colortype-bestfor {
    display: block;
    font-size: 0.8rem;
    color: var(--color-accent-dark);
    font-style: italic;
}

/* Comparison Table */
.intro-comparison {
    margin-bottom: var(--space-xl);
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-lighter);
}

.comparison-table th {
    background: var(--color-accent);
    color: var(--color-black);
    font-family: var(--font-display);
    font-weight: 600;
}

.comparison-table th:first-child {
    background: var(--color-charcoal);
    color: var(--color-white);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--color-black);
    background: var(--color-gray-lighter);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--color-accent-light);
}

.comparison-table tr:hover td:first-child {
    background: var(--color-gray-light);
}

/* Tips */
.intro-tips {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-accent-light);
}

.intro-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-tips li {
    position: relative;
    padding-left: var(--space-lg);
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xs);
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.intro-tips li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

@media (max-width: 768px) {
    .category-intro {
        padding: var(--space-lg);
    }

    .techniques-grid,
    .intro-highlights,
    .intro-colortypes {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: var(--space-sm);
    }
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.scroll-reveal-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-children.revealed > *:nth-child(1) { transition-delay: 0s; }
.scroll-reveal-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal-children.revealed > *:nth-child(3) { transition-delay: 0.1s; }
.scroll-reveal-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal-children.revealed > *:nth-child(5) { transition-delay: 0.2s; }
.scroll-reveal-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal-children.revealed > *:nth-child(7) { transition-delay: 0.3s; }
.scroll-reveal-children.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.scroll-reveal-children.revealed > *:nth-child(9) { transition-delay: 0.4s; }
.scroll-reveal-children.revealed > *:nth-child(10) { transition-delay: 0.5s; }

.scroll-reveal-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-children > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   FORM VALIDATION STATES
   ===================================================== */
.form-group {
    position: relative;
    margin-bottom: var(--space-md);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
    border: 2px solid #dc2626;
    background: rgba(220, 38, 38, 0.03);
}

.form-group input:valid:not(:placeholder-shown),
.form-group.is-valid input {
    border: 2px solid #16a34a;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: var(--space-xs);
}

.form-group.is-invalid .form-error {
    display: block;
}

/* Shake Animation für Fehler */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group.is-invalid input {
    animation: shake 0.3s ease-out;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.5;
    cursor: pointer;
}

/* =====================================================
   LOADING STATES & SKELETON
   ===================================================== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-gray-lighter) 25%,
        var(--color-off-white) 50%,
        var(--color-gray-lighter) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Button Loading State */
.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.is-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   DISABLED BUTTON STATES
   ===================================================== */
.btn:disabled,
.btn.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:disabled:hover,
.btn.is-disabled:hover {
    transform: none;
    box-shadow: none;
}

/* =====================================================
   ASPECT RATIOS FOR IMAGES (CLS Prevention)
   ===================================================== */
.product-card__image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.course-card__image,
.course-preview img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hero-image-main img,
.gallery-slide img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* =====================================================
   MOBILE BREADCRUMB TRUNCATION
   ===================================================== */
@media (max-width: 640px) {
    .breadcrumb__list {
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    /* Nur erstes und letztes Element zeigen auf Mobile */
    .breadcrumb__item:not(:first-child):not(:last-child) {
        display: none;
    }

    /* Ellipsis zwischen erstem und letztem */
    .breadcrumb__item:first-child::after {
        content: '...';
        margin: 0 var(--space-xs);
        color: var(--color-gray);
    }

    .breadcrumb__item:last-child {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =====================================================
   IMPROVED COLOR CONTRAST (WCAG AA)
   ===================================================== */
/* Placeholder Text mit besserem Kontrast */
input::placeholder,
textarea::placeholder {
    color: #757575; /* Minimum WCAG AA 4.5:1 */
    opacity: 1;
}

/* Newsletter Input auf dunklem Hintergrund */
.newsletter-section input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Scroll Indicator mit besserem Kontrast */
.hero-scroll-indicator {
    color: rgba(255, 255, 255, 0.85);
}

/* Text auf dunklen Hintergründen */
.dark-section :focus-visible,
.hero :focus-visible,
.courses-teaser :focus-visible,
.newsletter-section :focus-visible {
    outline-color: var(--color-white);
}

/* =====================================================
   LANGUAGE SWITCHER (i18n)
   ===================================================== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: var(--space-sm);
    padding: 4px;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
}

.lang-btn {
    width: 28px;
    height: 20px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
    background: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1px;
}

/* Language Switcher im Mobile Menu */
.mobile-menu .language-switcher {
    justify-content: center;
    margin: var(--space-md) 0;
    padding: var(--space-xs);
}

.mobile-menu .lang-btn {
    width: 36px;
    height: 26px;
}

/* Hide header language switcher on mobile - only show in hamburger menu */
@media (max-width: 1024px) {
    .header-actions > .language-switcher {
        display: none;
    }
}

/* Announcement Bar Language Support */
.announcement-bar [data-i18n] {
    transition: opacity 0.15s ease;
}
