/*
Theme Name: EifelCraft Pro
Theme URI: https://www.eifelzeug.de
Author: Antigravity AI & CromAr
Author URI: https://www.eifelzeug.de
Description: Maßgeschneidertes High-End Manufaktur-Theme für Eifelzeug.de. Ausgelegt auf maximale Performance, 1-Mann Werkstatt-Workflow, getrennte Unterseiten, Bambu Lab Telemetrie, 3D-Rechner und WooCommerce-Integration.
Version: 2.0.0
Text Domain: eifelcraft-pro
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

/* ==========================================================================
   CSS DUAL THEME ENGINE (DARK / LIGHT)
   ========================================================================== */

:root, [data-theme="dark"] {
  --ec-bg-page: #080b11;
  --ec-bg-surface: #0f141f;
  --ec-bg-surface-2: #161d2c;
  --ec-bg-card: rgba(17, 23, 36, 0.85);
  --ec-bg-card-hover: rgba(23, 31, 48, 0.98);
  --ec-header-bg: rgba(10, 14, 22, 0.88);
  
  --ec-text-main: #f3f4f6;
  --ec-text-muted: #94a3b8;
  --ec-text-dim: #64748b;
  --ec-text-title: #ffffff;
  
  --ec-border-subtle: rgba(255, 255, 255, 0.08);
  --ec-border-tech: rgba(0, 240, 255, 0.35);
  --ec-border-active: #00f0ff;

  --ec-cyan: #00f0ff;
  --ec-cyan-glow: rgba(0, 240, 255, 0.25);
  --ec-blue: #3b82f6;
  --ec-amber: #f59e0b;
  --ec-purple: #c084fc;
  --ec-green: #10b981;
  
  --ec-gradient-brand: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  --ec-gradient-amber: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --ec-gradient-card: linear-gradient(180deg, rgba(22, 29, 44, 0.9) 0%, rgba(15, 20, 31, 0.9) 100%);
  
  --ec-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --ec-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --ec-shadow-glow: 0 12px 40px rgba(0, 240, 255, 0.14);
}

[data-theme="light"] {
  --ec-bg-page: #f8fafc;
  --ec-bg-surface: #ffffff;
  --ec-bg-surface-2: #f1f5f9;
  --ec-bg-card: #ffffff;
  --ec-bg-card-hover: #ffffff;
  --ec-header-bg: rgba(255, 255, 255, 0.94);
  
  --ec-text-main: #0f172a;
  --ec-text-muted: #334155;
  --ec-text-dim: #64748b;
  --ec-text-title: #0f172a;
  
  --ec-border-subtle: #e2e8f0;
  --ec-border-tech: rgba(2, 132, 199, 0.4);
  --ec-border-active: #0284c7;

  --ec-cyan: #0284c7;
  --ec-cyan-glow: rgba(2, 132, 199, 0.2);
  --ec-blue: #1d4ed8;
  --ec-amber: #d97706;
  --ec-purple: #7e22ce;
  --ec-green: #059669;
  
  --ec-gradient-brand: linear-gradient(135deg, #0284c7 0%, #1d4ed8 100%);
  --ec-gradient-amber: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  --ec-gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
  --ec-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --ec-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --ec-shadow-glow: 0 12px 32px rgba(2, 132, 199, 0.16);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--ec-bg-page);
  color: var(--ec-text-main);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ec-text-title);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.1rem;
  color: var(--ec-text-muted);
}

strong, b {
  color: var(--ec-text-title);
  font-weight: 700;
}

a {
  color: var(--ec-cyan);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--ec-blue);
}

.ec-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ec-section-padding {
  padding: 5rem 0;
}

.ec-gradient-text {
  background: var(--ec-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   HEADER & NAVIGATION (SLEEK FLOATING BAR)
   ========================================================================== */

.ec-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--ec-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ec-border-subtle);
  transition: all 0.3s ease;
}

.ec-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.ec-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ec-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.ec-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.6rem;
}

.ec-nav-list a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ec-text-main);
  letter-spacing: -0.01em;
  padding: 6px 4px;
  position: relative;
}

.ec-nav-list a:hover,
.ec-nav-list .current-menu-item > a {
  color: var(--ec-cyan);
}

.ec-nav-list .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ec-cyan);
  border-radius: 2px;
}

.ec-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ec-theme-toggle {
  background: var(--ec-bg-surface-2);
  border: 1px solid var(--ec-border-subtle);
  color: var(--ec-text-main);
  padding: 7px 14px;
  border-radius: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ec-theme-toggle:hover {
  border-color: var(--ec-cyan);
  color: var(--ec-cyan);
}

.ec-account-btn {
  background: var(--ec-bg-surface-2);
  border: 1px solid var(--ec-border-subtle);
  color: var(--ec-text-main);
  padding: 7px 14px;
  border-radius: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ec-account-btn:hover {
  border-color: var(--ec-cyan);
  color: var(--ec-cyan);
}

.ec-cart-btn {
  background: var(--ec-gradient-brand);
  color: #ffffff !important;
  padding: 7px 14px;
  border-radius: 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .ec-cart-btn {
  color: #061019 !important;
}

.ec-cart-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* ==========================================================================
   BUTTONS & PILLS
   ========================================================================== */

.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.ec-btn-cyan {
  background: var(--ec-gradient-brand);
  color: #ffffff !important;
  box-shadow: 0 4px 18px var(--ec-cyan-glow);
}

[data-theme="dark"] .ec-btn-cyan {
  color: #050b14 !important;
}

.ec-btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--ec-cyan-glow);
}

.ec-btn-amber {
  background: var(--ec-gradient-amber);
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.ec-btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.ec-btn-outline {
  background: var(--ec-bg-surface-2);
  color: var(--ec-text-main) !important;
  border: 1.5px solid var(--ec-border-subtle);
}

.ec-btn-outline:hover {
  border-color: var(--ec-cyan);
  color: var(--ec-cyan) !important;
  transform: translateY(-2px);
}

.ec-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ec-bg-surface-2);
  border: 1px solid var(--ec-border-tech);
  color: var(--ec-cyan);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.ec-card {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-border-subtle);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--ec-shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.ec-card-icon {
  width: 56px;
  height: 56px;
  background: var(--ec-bg-surface-2);
  border: 1px solid var(--ec-border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
}

.ec-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.ec-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

/* ==========================================================================
   PAGE BANNER & CONTENT WRAPPER
   ========================================================================== */

.ec-page-banner {
  background: var(--ec-bg-surface);
  border-bottom: 1px solid var(--ec-border-subtle);
  padding: 3.5rem 0;
  text-align: center;
}

.ec-page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6rem;
}

.ec-page-banner p {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.ec-content-panel {
  background: var(--ec-bg-card);
  border: 1px solid var(--ec-border-subtle);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--ec-shadow-md);
  margin: 3rem auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ec-footer {
  background: var(--ec-bg-surface);
  border-top: 1px solid var(--ec-border-subtle);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.ec-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.ec-footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--ec-text-title);
}

.ec-footer-col ul {
  list-style: none;
}

.ec-footer-col li {
  margin-bottom: 0.65rem;
}

.ec-footer-col a {
  color: var(--ec-text-muted);
  font-size: 0.94rem;
}

.ec-footer-col a:hover {
  color: var(--ec-cyan);
}

.ec-footer-bottom {
  border-top: 1px solid var(--ec-border-subtle);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ec-text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .ec-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .ec-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ec-nav-list {
    display: none;
  }
}

@media (max-width: 600px) {
  .ec-footer-grid {
    grid-template-columns: 1fr;
  }
  .ec-header-inner {
    height: 68px;
  }
  .ec-hide-mobile {
    display: none;
  }
}
