/* ============================================ */
/* MarkenzeichenAI — Landing Page Styles        */
/* ============================================ */

/* --- Variables --- */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a3e;
  --accent-gold: #ffd700;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: #2a2a4a;
  --gradient-main: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-gold: linear-gradient(135deg, var(--accent-gold), #ff8c00);
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-gold); }

/* --- Navigation --- */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,26,0.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { font-weight: 800; font-size: 1.2rem; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-secondary); padding: 8px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; transition: all .2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.nav-spacer { height: 64px; }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: rgba(10,10,26,0.98); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 1rem; }
}

/* --- Hero --- */
.hero {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 50%, rgba(124,58,237,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--accent-cyan); font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .highlight { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .highlight-gold { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 12px;
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: all .3s;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--gradient-main); color: #fff; box-shadow: 0 4px 20px rgba(0,212,255,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(0,212,255,0.5); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* --- Sections --- */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg-secondary); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.section-title h2 .highlight { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-title p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- About Grid --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 1.05rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.stat-card .number { font-size: 2rem; font-weight: 800; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: all .3s;
}
.service-card:hover { border-color: var(--accent-cyan); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,212,255,0.1); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text-primary); font-size: 1rem; font-family: var(--font-sans);
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-cyan); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.contact-item { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); }
.contact-item .icon { font-size: 1.5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- Footer --- */
.footer {
  text-align: center; padding: 48px 24px; border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.9rem;
}
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-cyan); }

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.float-anim { animation: float 3s ease-in-out infinite; }

/* --- Particles (Hero Background) --- */
.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; width: 4px; height: 4px; background: var(--accent-cyan);
  border-radius: 50%; opacity: 0.3; animation: particle-float linear infinite;
}
@keyframes particle-float { 0%{transform:translateY(100vh) scale(0);opacity:0} 10%{opacity:0.3} 90%{opacity:0.3} 100%{transform:translateY(-10vh) scale(1);opacity:0} }

/* --- Page Loader --- */
.page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-primary); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity .5s; }
.page-loader.loaded { opacity: 0; pointer-events: none; }
.loader-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--accent-cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Referenzen (Run 8) --- */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ref-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .3s; }
.ref-card:hover { border-color: var(--accent-cyan); transform: translateY(-4px); }
.ref-quote { color: var(--text-secondary); font-style: italic; line-height: 1.7; margin-bottom: 20px; font-size: 0.95rem; }
.ref-quote::before { content: '"'; color: var(--accent-cyan); font-size: 1.5rem; }
.ref-author { display: flex; align-items: center; gap: 12px; }
.ref-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; }
.ref-role { color: var(--text-muted); font-size: 0.8rem; }

/* --- Preise (Run 9) --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; text-align: center; transition: all .3s; position: relative; }
.pricing-card:hover { border-color: var(--accent-cyan); }
.pricing-featured { border-color: var(--accent-cyan); box-shadow: 0 0 30px rgba(0,212,255,0.15); transform: scale(1.03); }
.pricing-badge { display: inline-block; padding: 4px 16px; border-radius: 100px; background: rgba(0,212,255,0.1); color: var(--accent-cyan); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.pricing-featured .pricing-badge { background: rgba(255,215,0,0.15); color: var(--accent-gold); }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 24px; }
.pricing-features li { padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px solid var(--border); }

/* --- Blog (Run 10) --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all .3s; }
.blog-card:hover { border-color: var(--accent-cyan); transform: translateY(-4px); }
.blog-date { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 16px; }
.blog-more { color: var(--accent-cyan); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.blog-more:hover { color: var(--accent-gold); }

/* --- Scroll Progress --- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gradient-main); z-index: 1001; transition: width .1s; }

/* --- Responsive --- */
@media (max-width: 480px) {
  .section { padding: 60px 16px; }
  .hero { min-height: 70vh; padding: 60px 16px; }
}
