/* ============================================
   FruchtDigital - Main Stylesheet
   ============================================ */

:root {
  --bg: #050505;
  --bg-alt: #0c0c0c;
  --bg-card: #0f0f0f;
  --bg-card-hover: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(124, 58, 237, 0.4);
  --text: #ffffff;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #84cc16;
  --secondary-light: #a3e635;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  --gradient-green: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  --gradient-mix: linear-gradient(135deg, #7c3aed 0%, #84cc16 100%);
  --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Glow Effects */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.4;
}

.bg-glow.green {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 70%);
  top: -200px;
  left: -200px;
}

.bg-glow.orange {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.22) 0%, transparent 70%);
  top: 40%;
  right: -150px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(124, 58, 237, 0.25));
  transition: transform 0.25s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.footer-brand .logo-img {
  height: 56px;
}

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

.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(34, 197, 94, 0.08);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 100px 0 120px;
  text-align: center;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-mix);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

/* ============================================
   Sections
   ============================================ */
section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

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

.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Features Grid
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.3);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.12);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  position: relative;
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.price-card:hover {
  transform: translateY(-6px);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
}

.price-tier {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-tier .icon {
  font-size: 22px;
}

.price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.price .period {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.price-card .btn {
  width: 100%;
  margin-bottom: 28px;
}

.price-features-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.price-features {
  list-style: none;
  margin-bottom: 24px;
}

.price-features li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: bold;
  margin-top: 2px;
}

.ideal-for {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.ideal-for strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

/* Single price card */
.price-card-single {
  max-width: 560px;
  margin: 0 auto;
}

/* Tab Switcher (Erstellung / Betreuung) */
.tab-switcher {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  margin: 0 auto 48px;
  gap: 4px;
}

.tab-switcher-wrap {
  text-align: center;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 12px;
}

.price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-meta {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(251, 146, 60, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 24px;
  padding: 80px 40px;
  margin: 40px 0;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ============================================
   Projects Grid
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.3);
}

.project-image {
  height: 220px;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 80px;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.6));
}

.project-info {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.project-info p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   About / Team
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 16px;
}

.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  font-size: 140px;
  line-height: 1;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.value-card .icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   Affiliate
   ============================================ */
.affiliate-hero {
  text-align: center;
  padding: 60px 0;
}

.affiliate-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  margin-bottom: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-list .label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-list .value {
  font-weight: 600;
}

.contact-list a.value {
  color: var(--text);
  transition: color 0.2s ease;
}

.contact-list a.value:hover {
  color: var(--primary-light);
}

.whatsapp-qr {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.whatsapp-qr h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.whatsapp-qr p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.whatsapp-qr img {
  display: block;
  margin: 0 auto;
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 14px;
  max-width: 320px;
}

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

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 0;
    background: var(--bg);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 60px 0 80px;
  }

  section {
    padding: 70px 0;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-section {
    padding: 56px 24px;
  }

  .contact-form {
    padding: 28px;
  }
}
