/* ============================================
   ApisBot Prozessberatung — Stylesheet
   Design System: Gold #F5A623 auf Dark
   ============================================ */

:root {
  --primary: #F5A623;
  --primary-dark: #D4891A;
  --dark: #2a2a2a;
  --deep: #3a3a3a;
  --accent: #00BFFF;
  --text: #aaaaaa;
  --bg: #FFFFFF;
  --bg-dark: #0D0D0D;

  --font-mono: 'Courier New', Courier, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============ NAVIGATION ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}

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

/* ============ HERO ============ */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content .lead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ============ SECTIONS ============ */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--bg);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--bg);
}

.section-accent {
  background: linear-gradient(135deg, #fef6e8 0%, #fdf0d5 100%);
}

.subtitle {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
}

.section-dark .subtitle {
  color: var(--text);
}

.big-text {
  font-size: 1.25rem;
  max-width: 800px;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* ============ CARDS (Leistungen) ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  padding: 2.5rem;
  background: var(--bg);
  border: 2px solid #eee;
  border-radius: 8px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(245, 166, 35, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card p {
  color: #555;
  font-size: 0.98rem;
}

/* ============ DEMO ============ */
.demo-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
}

.demo-step {
  background: var(--bg);
  padding: 2rem;
  border-radius: 8px;
  border: 2px solid var(--primary);
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.demo-step p {
  color: #555;
  font-size: 0.95rem;
}

.demo-arrow {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}

/* ============ TIMELINE (Werdegang) ============ */
.timeline {
  margin-top: 3rem;
  border-left: 3px solid var(--primary);
  padding-left: 2rem;
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--primary);
  background: #fef6e8;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #555;
}

/* ============ KONTAKT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 8px;
  transition: all 0.3s;
}

a.contact-item:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: var(--primary);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-value {
  color: var(--bg);
  font-size: 1.05rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--dark);
  color: var(--text);
  padding: 2rem 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer strong {
  color: var(--primary);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 250px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .demo-box {
    grid-template-columns: 1fr;
  }

  .demo-arrow {
    transform: rotate(90deg);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 1rem 1.5rem; }
  .hero { padding: 2rem 1.5rem 3rem; }

  .logo span { display: none; }

  .card {
    padding: 1.75rem;
  }
}
