/* space-grotesk-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/space-grotesk-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}





/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}






/* nunito-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/nunito-v32-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* playpen-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playpen Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playpen-sans-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* alex-brush-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Alex Brush';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/alex-brush-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* rye-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Rye';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/rye-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* orbitron-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/orbitron-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Styling für das neue Logo-Bild im Header */
.header-logo-img {
    height: 60px;      /* Passt die Höhe des Logos an deine Navigationsleiste an */
    width: auto;       /* Behält das richtige Seitenverhältnis bei */
    display: block;
    object-fit: contain;
}

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    /* Color Palette */
    --color-bg-base: #08090c;
    --color-bg-surface: #111318;
    --color-bg-surface-glow: #1a1d24;
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    
    /* Material-Specific Accents */
    --color-wood: #d97706;       /* Warm Amber */
    --color-wood-glow: rgba(217, 119, 6, 0.15);
    --color-metal: #06b6d4;      /* Steel Cyan */
    --color-metal-glow: rgba(6, 182, 212, 0.15);
    --color-recycle: #10b981;    /* Emerald Green */
    --color-recycle-glow: rgba(16, 185, 129, 0.15);
    
    /* General Accent */
    --color-accent: #f59e0b;
    --color-accent-rgb: 245, 158, 11;
    
    /* Fonts */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* System Properties */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Container Width */
    --max-width: 1200px;
    --header-height: 80px;
}

/* --- RESET & BASE STYLES --- */



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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, #151a24 0%, var(--color-bg-base) 70%);
    background-attachment: fixed;
}
/* Banner */
  .produkte-banner-section {
            display: flex;
            justify-content: center;
            padding: 40px 0 20px;
        }
        .produkte-banner-wrap {
            width: 90%;
            max-width: 1400px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.35);
        }
        .produkte-banner-img {
            width: 100%;
            height: auto;
            display: block;
        }

/* Hinweis-Banner auf die 3D-Druck Seite (Position 2, direkt nach dem Hero) */
.printbar-section {
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.printbar-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.1);
}

.printbar-content {
    max-width: 70%;
}

.printbar-badge {
    display: inline-block;
    background: #8b5cf6;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.printbar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.printbar-text {
    color: #94a3b8;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.printbar-action {
    flex-shrink: 0;
}

.btn-printbar-section {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8b5cf6;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-printbar-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.5);
    background: linear-gradient(90deg, #9668f7 0%, #b199fb 100%);
}

.printbar-pulse {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: etsySectionAnimation 1.8s infinite ease-in-out;
}

@media (max-width: 768px) {
    .printbar-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 30px 20px;
    }
    .printbar-content {
        max-width: 100%;
    }
    .btn-printbar-section {
        justify-content: center;
    }
}

/* Neue Etsy Sektion zwischen Hero und Materials */
.etsy-bar-section {
    padding: 30px 0; /* Angenehmer Abstand nach oben und unten */
    position: relative;
    z-index: 10;
}

.etsy-bar-card {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.15) 0%, rgba(255, 153, 51, 0.05) 100%);
    border: 1px solid rgba(255, 102, 0, 0.3);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.1);
}

.etsy-bar-content {
    max-width: 70%;
}

.etsy-bar-badge {
    display: inline-block;
    background: #ff6600;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
}

.etsy-bar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.etsy-bar-text {
    color: #94a3b8; /* Passt sich deinem Sekundärtext an */
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.etsy-bar-action {
    flex-shrink: 0;
}

/* 5. Puls-Animation (Aufmerksamkeits-Garant) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 78, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 78, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 78, 80, 0);
    }
}

/* Der auffällige orange Button */
.btn-etsy-section {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ff6600;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-etsy-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 102, 0, 0.5);
    background: linear-gradient(90deg, #ff751a 0%, #ff944d 100%);
}

/* Pulsierendes Signal auf dem Button */
.etsy-section-pulse {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: etsySectionAnimation 1.8s infinite ease-in-out;
}

@keyframes etsySectionAnimation {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Responsive Anpassung für Smartphones */
@media (max-width: 768px) {
    .etsy-bar-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 30px 20px;
    }
    .etsy-bar-content {
        max-width: 100%;
    }
    .btn-etsy-section {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* Beispielhaftes CSS für die mobile Ansicht – passe es an dein Design an */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Standardmäßig auf Mobilgeräten verstecken */
        position: absolute;
        top: 70px; /* Höhe deines Headers */
        left: 0;
        width: 100%;
        background-color: #1a1a1a; /* Dein Hintergrund */
        flex-direction: column;
        padding: 20px;
    }

    /* Wenn die Klasse .active per JS hinzugefügt wird: */
    .nav-links.active {
        display: flex; /* Menü anzeigen */
    }
    
    /* Optional: Burger-Icon zu einem 'X' animieren, falls gewünscht */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: #232731;
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: #373e4f;
}

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

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

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

/* --- UTILITIES & LAYOUT --- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 5px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, #a1a8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(17, 19, 24, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

/* Buttons */
/* ==========================================================================
   1. POSITIONIERUNG (Der Container)
   ========================================================================== */
.glow-btn-container {
    display: flex;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Die Utility-Klassen: Einfach im HTML austauschen! */
.pos-left   { justify-content: flex-start; }
.pos-center { justify-content: center; }
.pos-right  { justify-content: flex-end; }

/* Bonus: Absolut frei schwebend (z.B. unten rechts in der Ecke der Website) */
.pos-sticky-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: auto;
}


/* ==========================================================================
   2. DESIGN (Der Button)
   ========================================================================== */
.glow-button {
    --btn-bg: #00d2fe;        /* Hauptfarbe (Neon-Blau) */
    --btn-bg-alt: #ef9f28;    /* Verlauf-Farbe */
    
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--btn-bg-alt), var(--btn-bg));
    color: #0f0101;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 12px; /* Moderner "Squircle"-Look statt komplett rund */
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Elastischer Effekt */
    position: relative;
    overflow: hidden;
}

/* Der pulsierende Punkt links */
.glow-button-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
}
.glow-button-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    animation: ping 1.5s infinite ease-in-out;
}

/* Der Pfeil rechts */
.glow-button-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   3. EFFEKTE & ANIMATIONEN (Das "Auffällige")
   ========================================================================== */

/* Hover-Effekte */
.glow-button:hover {
    transform: scale(1.05); /* Button wird leicht größer */
    box-shadow: 0 10px 25px rgba(254, 171, 0, 0.5); /* Starkes Leuchten */
}

/* Pfeil schiebt sich beim Hover nach rechts */
.glow-button:hover .glow-button-arrow {
    transform: translateX(4px);
}

/* Klick-Effekt */
.glow-button:active {
    transform: scale(0.98);
}

/* Schimmer-Lichteffekt, der über den Button wandert */
.glow-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 4s infinite ease-in-out;
}

/* Keyframes für die Animationen */
@keyframes ping {
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

@keyframes shine {
    100% { left: 150%; }
}




.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d97706 100%);
    color: #000000;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: rgba(212, 31, 31, 0.03);
    border: 2px solid rgba(255, 193, 9, 0.1);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    background: rgba(248, 190, 17, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* --- HEADER --- */
/* Gilt für den normalen Zustand UND den Scroll-Zustand */
header, 
header.scrolled, 
header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    
    /* Erzwingt dauerhaft tiefschwarzen Hintergrund */
    background: #000000 !important; 
    background-color: #000000 !important;
    
    /* Entfernt eventuelle transparente Verläufe aus dem Template */
    background-image: none !important; 
    backdrop-filter: none !important;
    
    /* Ein feiner, edler Trennstrich nach unten, damit sich das Menü 
       beim Scrollen sauber von dunklen Bildern abhebt */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    
    transition: background 0.3s ease;
}

/* Falls die Navigationslinks im Scrolled-Zustand ihre Farbe ändern, 
   halten wir sie hier ebenfalls dauerhaft weiß/lesbar */
#header .nav-links a,
#header.scrolled .nav-links a {
    color: #ffffff !important;
}

header .container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 6px 0;
}

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

/* Hervorhebung des 3D-Druck Nav-Links */
.nav-links a.nav-link-3d {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #a78bfa;
    font-weight: 700;
}

.nav-links a.nav-link-3d::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.8);
    animation: etsySectionAnimation 1.8s infinite ease-in-out;
}

.nav-links a.nav-link-3d:hover {
    color: #c4b5fd;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

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

.hero-badge {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-width: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 9, 12, 0.8) 0%, rgba(8, 9, 12, 0) 40%);
}

.hero-glow {
    position: absolute;
    width: 140%;
    height: 140%;
    top: -20%;
    right: -20%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, rgba(0,0,0,0) 60%);
    z-index: -1;
    pointer-events: none;
}

/* --- MATERIALS SECTION --- */
.materials {
    position: relative;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.material-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    min-height: 380px;
}

.material-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.material-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.material-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.material-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.material-features li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.material-features li::before {
    content: '✓';
    font-weight: bold;
}

.material-card .card-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.material-card .card-link span {
    transition: var(--transition-fast);
}

/* Material Variations */
.mat-wood:hover {
    background: rgba(217, 119, 6, 0.03);
    box-shadow: 0 15px 40px var(--color-wood-glow);
    transform: translateY(-8px);
}
.mat-wood:hover::before {
    background: linear-gradient(135deg, var(--color-wood) 0%, rgba(255,255,255,0.02) 100%);
}
.mat-wood:hover .card-icon {
    color: var(--color-wood);
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.3);
}
.mat-wood .material-features li::before { color: var(--color-wood); }
.mat-wood .card-link { color: var(--color-wood); }
.mat-wood:hover .card-link span { transform: translateX(4px); }

.mat-metal:hover {
    background: rgba(6, 182, 212, 0.03);
    box-shadow: 0 15px 40px var(--color-metal-glow);
    transform: translateY(-8px);
}
.mat-metal:hover::before {
    background: linear-gradient(135deg, var(--color-metal) 0%, rgba(255,255,255,0.02) 100%);
}
.mat-metal:hover .card-icon {
    color: var(--color-metal);
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}
.mat-metal .material-features li::before { color: var(--color-metal); }
.mat-metal .card-link { color: var(--color-metal); }
.mat-metal:hover .card-link span { transform: translateX(4px); }

.mat-recycle:hover {
    background: rgba(16, 185, 129, 0.03);
    box-shadow: 0 15px 40px var(--color-recycle-glow);
    transform: translateY(-8px);
}
.mat-recycle:hover::before {
    background: linear-gradient(135deg, var(--color-recycle) 0%, rgba(255,255,255,0.02) 100%);
}
.mat-recycle:hover .card-icon {
    color: var(--color-recycle);
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}
.mat-recycle .material-features li::before { color: var(--color-recycle); }
.mat-recycle .card-link { color: var(--color-recycle); }
.mat-recycle:hover .card-link span { transform: translateX(4px); }

/* --- CONFIGURATOR SECTION --- */
.configurator-section {
    background: linear-gradient(180deg, var(--color-bg-base) 0%, #0c0e14 100%);
}

.configurator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.config-panel {
    padding: 40px;
}

.config-step {
    margin-bottom: 32px;
}

.config-step:last-child {
    margin-bottom: 0;
}

.config-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Material Toggle Buttons */
.material-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.material-opt {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

.material-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.material-opt.active {
    background: rgba(255, 255, 255, 0.04);
}

/* Active Material Border Colors */
.material-opt.active[data-mat="wood"] {
    border-color: var(--color-wood);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.15);
}
.material-opt.active[data-mat="metal"] {
    border-color: var(--color-metal);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}
.material-opt.active[data-mat="slate"] {
    border-color: var(--color-recycle);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.material-opt-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.material-opt-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.material-opt.active .material-opt-name {
    color: var(--color-text-primary);
}

/* Input Styles */
.input-text {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.input-text:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.04);
}

.font-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.font-opt {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.font-opt:hover {
    background: rgba(255, 255, 255, 0.05);
}

.font-opt.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-text-primary);
    color: var(--color-text-primary);
}

/* Custom Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.01);
    position: relative;
}

.upload-zone:hover {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.02);
}

.upload-icon {
    font-size: 2rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.hidden-file-input {
    display: none;
}

.upload-preview-info {
    display: none;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--color-accent);
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Ranges */
.range-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.range-label-wrap {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.input-range {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    transition: var(--transition-fast);
}

.input-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Preset Motivs Selector */
.presets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.preset-opt {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    height: 50px;
}

.preset-opt:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.preset-opt.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
}

.preset-opt svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--color-text-secondary);
    stroke-width: 1.5;
    transition: var(--transition-fast);
}

.preset-opt.active svg {
    stroke: var(--color-accent);
}

/* Interactive Preview Canvas Box */
.preview-sticky {
    position: sticky;
    top: 100px;
}

.preview-box {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.preview-loading {
    position: absolute;
    inset: 0;
    background: rgba(8, 9, 12, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.preview-loading.active {
    opacity: 1;
}

.preview-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

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

/* Laser Engraving Visual Overlay Simulators */
.engrave-container {
    position: relative;
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.engrave-layer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    transform-origin: center;
}

.engrave-text {
    font-size: 2.2rem;
    text-align: center;
    word-break: break-word;
    user-select: none;
    line-height: 1.2;
}

.engrave-graphic {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.engrave-svg-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engrave-svg-wrapper svg {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* Material Rendering Engines via CSS Blend & Shadows */
/* 1. WOOD */
.preview-box[data-material="wood"] {
    background-image: url('assets/wood.png');
}
.preview-box[data-material="wood"] .engrave-layer {
    /* Dark charcoal burned look with alpha multiply */
    color: #1e1107;
    fill: #1e1107;
    stroke: #1e1107;
    mix-blend-mode: multiply;
    opacity: 0.9;
    filter: drop-shadow(1px 1px 0.5px rgba(255,255,255,0.07)) drop-shadow(-0.5px -0.5px 0.5px rgba(0,0,0,0.85));
}
.preview-box[data-material="wood"] .engrave-svg-wrapper svg {
    fill: #1e1107;
    stroke: none;
}
.preview-box[data-material="wood"] .engrave-svg-wrapper svg.stroke-only {
    fill: none;
    stroke: #1e1107;
}

/* 2. METAL */
.preview-box[data-material="metal"] {
    background-image: url('assets/metal.png');
}
.preview-box[data-material="metal"] .engrave-layer {
    /* Engraved metal leaves light silver/white-ish marking (laser annealing / etching) */
    color: #cbd5e1;
    fill: #cbd5e1;
    stroke: #cbd5e1;
    mix-blend-mode: multiply;
    opacity: 0.85;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5)) drop-shadow(0px 0px 4px rgba(255,255,255,0.2));
}
.preview-box[data-material="metal"] .engrave-svg-wrapper svg {
    fill: #1e1107;
    stroke: none;
}
.preview-box[data-material="metal"] .engrave-svg-wrapper svg.stroke-only {
    fill: none;
    stroke: #1e1107;
}

/* 3. SLATE / RECYCLING */
.preview-box[data-material="slate"] {
    background-image: url('assets/slate.png');
}
.preview-box[data-material="slate"] .engrave-layer {
    /* Slate engraving exposes light grey mineral layers */
    color: #e2e8f0;
    fill: #e2e8f0;
    stroke: #e2e8f0;
    mix-blend-mode: color-dodge;
    opacity: 0.85;
    filter: drop-shadow(1px 1px 0.5px rgba(0,0,0,0.9)) drop-shadow(0.5px 0.5px 0px rgba(255,255,255,0.15));
}
.preview-box[data-material="slate"] .engrave-svg-wrapper svg {
    fill: #BAB8B6;
    stroke: none;
}
.preview-box[data-material="slate"] .engrave-svg-wrapper svg.stroke-only {
    fill: none;
    stroke: #BAB8B6;
}

/* Config Action Panel */
.config-actions {
    margin-top: 30px;
    display: flex;
    gap: 16px;
}

.config-actions .btn {
    flex: 1;
}

.price-display {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* --- SERVICE / PROCESS SECTION --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step-num {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 auto 24px auto;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 rgba(245, 158, 11, 0);
}

.process-step:hover .process-step-num {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
    transform: scale(1.05);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.process-step p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Divider lines between process steps (desktop only) */
@media (min-width: 992px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 32px;
        left: calc(50% + 50px);
        width: calc(100% - 100px);
        height: 1px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        z-index: 1;
    }
}

/* --- GALLERY SECTION --- */
.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    border-color: var(--color-accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0) 40%, rgba(8, 9, 12, 0.95) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.gallery-item-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Gallery filter transitions */
.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    padding-right: 20px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.info-text h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.info-text p {
    font-size: 1rem;
    color: var(--color-text-primary);
    margin: 0;
}

.contact-form-panel {
    padding: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.form-control {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.04);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    cursor: pointer;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    user-select: none;
    cursor: pointer;
}

.contact-form-panel .btn {
    width: 100%;
}

/* --- FOOTER --- */
footer {
    background-color: #0c0c0c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 40%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--color-text-secondary);
}

/* --- POPUP NOTIFICATION --- */
.notification-toast {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.toast-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.toast-content p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

/* --- ANIMATIONS --- */
@keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .container {
        padding: 60px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .materials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .material-card {
        min-height: auto;
    }
    
    .configurator-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-sticky {
        position: static;
        margin-bottom: 40px;
    }
    
    .preview-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-bg-base);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transform: translateY(-150%);
        transition: var(--transition-smooth);
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
/* --- ERZWUNGENER DAUERHAFTER SCHWARZER HEADER (LIVE-KORREKTUR) --- */
header, 
#header, 
header.scrolled, 
#header.scrolled {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    
    /* Schaltet den Blur-Effekt ab, damit das Schwarz zu 100% deckend ist */
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important;
    
    /* Feine, edle Trennlinie nach unten, damit sich das Menü von dunklen Sektionen abhebt */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Fixiert die Textfarbe der Navigations-Links dauerhaft auf Weiß */
header .nav-links a, 
#header .nav-links a {
    color: #ffffff !important;
}

/* Ausnahme: 3D-Druck Link bleibt hervorgehoben (lila) */
header .nav-links a.nav-link-3d,
#header .nav-links a.nav-link-3d {
    color: #a78bfa !important;
}

header .nav-links a.nav-link-3d:hover,
#header .nav-links a.nav-link-3d:hover {
    color: #c4b5fd !important;
}

/* ==========================================================================
   KORREKTUR: GALERIE POP-UP BILDER HÖHE ANPASSEN
   ========================================================================== */

/* 1. Den Container flexibel machen und am Viewport ausrichten */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    /* Verhindert, dass der Container höher als das Browserfenster minus Puffer wird */
    max-height: calc(100vh - 100px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 2. Das Bild dynamisch in der Höhe begrenzen */
.lightbox-img {
    width: auto;
    height: auto;
    
    /* Begrenzung: Bild darf NIEMALS breiter als 100% des Containers sein */
    max-width: 100%;
    
    /* Zaubertrick: Bild nimmt maximal die verfügbare Höhe des Bildschirms minus Puffer */
    max-height: calc(100vh - 160px) !important; 
    
    /* Verhindert jegliche Verzerrung oder Stauchung des Bildes */
    object-fit: contain;
    
    /* Design-Anpassung: Übernimmt die runden Ecken deines Designs */
    border-radius: var(--radius-md, 12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    
    transition: transform 0.3s ease;
}

/* 3. Anpassung für Mobilgeräte (Smartphones) */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
    }
    .lightbox-img {
        /* Auf Handys etwas mehr Höhe erlauben, da der Bildschirm kleiner ist */
        max-height: calc(100vh - 120px) !important;
    }
}
