/* ============================================
   Veltix Solutions – style.css
   ============================================ */

:root {
  --brand-blue-900: #0b2b3b;
  --brand-blue-700: #114a63;
  --brand-blue-500: #17789e;
  --brand-teal-400: #22c1c3;
  --brand-teal-300: #3ad3d5;
  --brand-sand-50:  #f7f9fb;
  --brand-white:    #ffffff;
  --brand-text:     #0f172a;
  --brand-muted:    #6b7280;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(17,74,99,0.15);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--brand-text);
  background: var(--brand-sand-50);
  scroll-behavior: smooth;
}

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

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17,74,99,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img  { width: 40px; height: 40px; }
.brand span { font-weight: 700; color: var(--brand-blue-900); letter-spacing: 0.2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  text-decoration: none;
  color: var(--brand-blue-900);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-links a:hover { background: rgba(34,193,195,0.12); }

.nav-links .cta {
  background: linear-gradient(135deg, var(--brand-teal-400), var(--brand-blue-500));
  color: var(--brand-white) !important;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin-left: 8px;
}
.nav-links .cta:hover {
  filter: brightness(1.07);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--brand-teal-400), var(--brand-blue-500));
}

/* Hamburger – versteckt auf Desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-blue-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 48px;
  background:
    radial-gradient(1200px 400px at 50% -50px, rgba(34,193,195,0.22), transparent),
    linear-gradient(180deg, #ffffff, #f4fbfd);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--brand-blue-900);
}
.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--brand-muted);
  margin: 0 0 28px;
}

/* ============================================
   BUTTONS
   ============================================ */
.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: filter 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal-400), var(--brand-blue-500));
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.06); box-shadow: var(--shadow-md); }
.btn-outline {
  background: #fff;
  color: var(--brand-blue-700);
  border-color: rgba(17,74,99,0.22);
}
.btn-outline:hover { border-color: rgba(17,74,99,0.4); }

/* ============================================
   SECTIONS
   ============================================ */
section { padding: 72px 0; }

.section { padding: 80px 0; }

.section-title {
  font-size: 28px;
  color: var(--brand-blue-900);
  margin: 0 0 12px;
}
.section-sub {
  color: var(--brand-muted);
  margin: 0 0 32px;
  line-height: 1.7;
}

/* ============================================
   CARDS
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(17,74,99,0.08);
}
.card h3 { margin: 0 0 8px; color: var(--brand-blue-700); }
.card p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

/* ============================================
   FEATURES
   ============================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(17,74,99,0.08);
}

.feature .icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-teal-300), var(--brand-blue-500));
  opacity: 0.9;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-dark {
  background: #fff;
  color: #111;
  padding: 80px 0;
}

.problem-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.problem-box {
  background: #f8f8f8;
  padding: 32px;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.problem-box h3 { margin: 0 0 10px; font-size: 19px; }
.problem-box p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

/* ============================================
   SOLUTIONS / SERVICES GRID
   ============================================ */
.solutions { background: var(--brand-sand-50); }
.solutions h2 { color: var(--brand-blue-900); margin-bottom: 12px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(17,74,99,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card h3 { margin: 0 0 10px; color: var(--brand-blue-700); }
.service-card p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

/* ============================================
   RESULTS / STATS
   ============================================ */
.results { background: var(--brand-blue-900); color: #fff; }
.results h2 { color: #fff; text-align: center; margin-bottom: 40px; }

.results-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.result h3 {
  font-size: 36px;
  color: var(--brand-teal-300);
  margin: 0 0 8px;
}
.result p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process { text-align: center; }

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

.step {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(17,74,99,0.08);
  box-shadow: var(--shadow-sm);
}
.step h3 { color: var(--brand-blue-700); margin: 0 0 8px; }
.step p  { margin: 0; color: var(--brand-muted); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--brand-blue-700), var(--brand-blue-500));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.cta-text {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section { padding: 72px 0; }
.about-section.alt { background: #f8f9fb; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.about-text h2 { color: var(--brand-blue-900); margin-bottom: 16px; }
.about-text p  { color: var(--brand-muted); line-height: 1.75; margin-bottom: 16px; }

.mission { text-align: center; background: #f8f9fb; padding: 72px 0; }
.mission h2 { color: var(--brand-blue-900); }
.mission p  { max-width: 700px; margin: 20px auto 0; color: var(--brand-muted); line-height: 1.75; }

.values { background: #fff; padding: 72px 0; text-align: center; }
.values h2 { color: var(--brand-blue-900); margin-bottom: 40px; }

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

.value-card {
  background: #f8f9fb;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(17,74,99,0.08);
}
.value-card h3 { color: var(--brand-blue-700); margin-bottom: 8px; }
.value-card p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

.privacy {
  background: #f8f9fb;
  padding: 72px 0;
  text-align: center;
}
.privacy p {
  max-width: 700px;
  margin: 16px auto;
  color: var(--brand-muted);
  line-height: 1.75;
}

.about-future { text-align: center; padding: 72px 0; }
.about-future h2 { color: var(--brand-blue-900); }
.about-future p  { max-width: 700px; margin: 16px auto; color: var(--brand-muted); line-height: 1.75; }

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-intro { padding: 60px 0; background: #f8f9fb; text-align: center; }

.faq-intro-box {
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.faq-intro-box p { color: var(--brand-muted); line-height: 1.75; margin-bottom: 12px; }

.faq-section { padding: 60px 0; }

.faq-item { border-bottom: 1px solid #e5e7eb; }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8px;
  font-size: 17px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--brand-blue-900);
  text-align: left;
  transition: background 0.2s;
  border-radius: 6px;
}
.faq-question:hover { background: #f3f4f6; }

.faq-icon {
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s;
  margin-left: 12px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 8px 20px;
  color: var(--brand-muted);
  line-height: 1.75;
}
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-trust { padding: 72px 0; text-align: center; }
.contact-trust h2 { color: var(--brand-blue-900); margin-bottom: 40px; }

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

.trust-card {
  background: #f8f9fb;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(17,74,99,0.08);
}
.trust-card h3 { color: var(--brand-blue-700); margin-bottom: 8px; }
.trust-card p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

/* ============================================
   DEMO PAGE
   ============================================ */
.demo-intro { padding: 72px 0; text-align: center; }
.demo-text {
  max-width: 700px;
  margin: 16px auto 40px;
  color: var(--brand-muted);
  line-height: 1.75;
}

.demo-examples {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.example-box {
  background: #f5f7fb;
  padding: 14px 22px;
  border-radius: 10px;
  border: 1px solid rgba(17,74,99,0.1);
  font-size: 15px;
}

.demo-chatbot { padding: 72px 0; text-align: center; background: #f9fafc; }
.chatbot-info { margin-bottom: 28px; color: var(--brand-muted); }

.chatbot-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  min-height: 200px;
  padding: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17,74,99,0.08);
}

.demo-note {
  margin-top: 20px;
  font-size: 13px;
  color: #999;
}

.demo-features { padding: 72px 0; }
.demo-features h2 { color: var(--brand-blue-900); margin-bottom: 32px; text-align: center; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #f5f7fb;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(17,74,99,0.08);
}
.feature-card h3 { color: var(--brand-blue-700); margin-bottom: 8px; }
.feature-card p  { margin: 0; color: var(--brand-muted); line-height: 1.6; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #0e2230;
  color: #c9d6df;
  padding: 48px 0 32px;
  margin-top: 0;
}

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

footer strong { color: #fff; display: block; margin-bottom: 12px; font-size: 14px; letter-spacing: 0.5px; text-transform: uppercase; }
footer a { color: #dff6ff; text-decoration: none; display: inline-block; margin-bottom: 6px; font-size: 14px; }
footer a:hover { text-decoration: underline; }
.legal { font-size: 13px; color: #7a8f9a; margin-top: 8px; }
footer .brand span { font-size: 15px; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.muted { color: var(--brand-muted); }
.center { text-align: center; }

.grid   { display: grid; gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================
   AOS ANIMATION FALLBACK
   (falls AOS nicht lädt)
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================
   RESPONSIVE – TABLET (max 980px)
   ============================================ */
@media (max-width: 980px) {

  .hero-grid     { grid-template-columns: 1fr; }
  .hero h1       { font-size: 32px; }
  .hero > .container > div:last-child { display: none; } /* Hero-Bild auf Tablet verstecken */

  .cards         { grid-template-columns: repeat(2, 1fr); }
  .features      { grid-template-columns: repeat(2, 1fr); }
  .results-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .about-grid    { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE – MOBIL (max 720px)
   ============================================ */
@media (max-width: 720px) {

  /* ---- NAV ---- */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(17,74,99,0.1);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 16px;
  }

  .nav-links .cta {
    text-align: center;
    margin-top: 8px;
    margin-left: 0;
    padding: 14px 16px;
  }

  /* ---- HERO ---- */
  .hero { padding: 48px 0 32px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero h1 { font-size: 26px; line-height: 1.2; }
  .hero p  { font-size: 16px; }

  /* Hero-Bild auf Handy ausblenden */
  .hero-grid > div:last-child { display: none; }

  /* ---- BUTTONS ---- */
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* ---- ALLE GRIDS → 1 SPALTE ---- */
  .cards,
  .features,
  .grid-2,
  .grid-3,
  .grid-4,
  .services-grid,
  .values-grid,
  .about-grid,
  .trust-grid,
  .features-grid,
  .problem-grid,
  .process-steps {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* ---- RESULTS STATS → 2 SPALTEN ---- */
  .results-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }
  .result h3 { font-size: 28px; }

  /* ---- FOOTER ---- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* ---- SECTIONS ---- */
  section   { padding: 48px 0; }
  .section  { padding: 48px 0; }

  /* ---- CTA BAND ---- */
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .cta-text { font-size: 17px; }

  /* ---- PROBLEM BOXES ---- */
  .problem-box { padding: 22px; }

  /* ---- CARDS ---- */
  .card { padding: 20px; }

  /* ---- FAQ ---- */
  .faq-question { font-size: 15px; padding: 16px 8px; }
  .faq-intro-box { padding: 24px 20px; }

  /* ---- DEMO ---- */
  .chatbot-box { padding: 28px 20px; }

  /* ---- ÜBER UNS ---- */
  .about-section { padding: 48px 0; }
  .about-image { display: none; } /* Bild auf kleinen Handys ausblenden */

  /* ---- TYPOGRAPHY ---- */
  h1 { font-size: 24px !important; }
  h2 { font-size: 20px; }
  h3 { font-size: 17px; }

  .section-title { font-size: 22px; }

  /* ---- CONTAINER ---- */
  .container { padding: 0 16px; }
}

/* ============================================
   RESPONSIVE – SEHR KLEINE GERÄTE (max 400px)
   ============================================ */
@media (max-width: 400px) {
  .results-stats {
    grid-template-columns: 1fr !important;
  }
  .demo-examples {
    flex-direction: column;
    align-items: stretch;
  }
  .example-box { text-align: center; }
}