:root { --teal: #0ABAB5; --navy: #0F172A; }
body { font-family: 'Inter', sans-serif; }

/* Language switching */
html[lang="en"] .lang-de { display: none !important; }
html[lang="de"] .lang-en { display: none !important; }

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Nav */
nav { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Buttons */
.btn-teal {
  background: var(--teal);
  color: white;
  padding: 12px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-teal:hover {
  background: #089e99;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(10,186,181,0.35);
}
.btn-outline {
  border: 1.5px solid #e2e8f0;
  color: #374151;
  padding: 12px 26px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  background: white;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* Hero background */
.hero-bg {
  background:
    radial-gradient(ellipse at 75% 40%, rgba(10,186,181,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(10,186,181,0.06) 0%, transparent 50%),
    #ffffff;
}

/* App mockup */
.mockup-window {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 0 0 1px rgba(0,0,0,0.06);
  overflow: hidden;
}
.mockup-bar {
  background: #f1f5f9;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* FAQ accordion */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 300px; }
.faq-icon { transition: transform 0.3s; display: inline-block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Feature tab switcher */
.feat-tab {
  cursor: pointer; transition: all 0.2s; border-radius: 12px;
  position: relative; overflow: hidden; border: 1px solid transparent;
}
.feat-tab.active {
  background: rgba(10,186,181,0.09);
  border-color: rgba(10,186,181,0.25);
}
.feat-tab:not(.active):hover { background: #f8fafc; border-color: #e2e8f0; }
.feat-tab .tab-bar {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--teal); width: 0%; border-radius: 0 0 12px 12px;
}
.feat-panel { display: none; }
.feat-panel.active { display: flex; }
.feat-desc { display: none; }
.feat-desc.active { display: block; }

/* ─── Mobile ≤ 768px ────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  nav .hidden { display: none !important; }

  /* Hero: Susan weg, grid stapeln */
  .susan-img { display: none !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .hero-text-col { padding-bottom: 0 !important; }
  .hero-text-col h1 { font-size: 2.6rem !important; }
  .hero-text-col p { font-size: 1rem !important; }

  /* Carousel-Sidebar in Hero ausblenden */
  .mockup-sb { display: none !important; }
  /* Carousel etwas kompakter */
  .hero-carousel-content { min-height: 260px !important; }

  /* Features: Tabs → horizontale Pills, Mockup drunter */
  .feat-layout { flex-direction: column !important; gap: 1rem !important; }
  .feat-tab-col {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 0.4rem !important;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feat-tab-col::-webkit-scrollbar { display: none; }
  .feat-tab-col .feat-tab {
    flex-shrink: 0 !important;
    padding: 0.4rem 0.7rem !important;
    gap: 0.4rem !important;
  }
  .feat-tab-col .feat-tab .tab-label { font-size: 0.72rem !important; }
  .feat-tab-col .tab-chevron { display: none !important; }
  .feat-tab-col .mt-6 { display: none !important; }
  .feat-mockup-col { width: 100% !important; }

  /* Pricing: Cards stapeln */
  .pricing-grid { grid-template-columns: 1fr !important; }

  /* Comparison: Cards stapeln */
  .compare-grid { grid-template-columns: 1fr !important; }

  /* Footer CTA Buttons */
  .footer-btns { flex-direction: column !important; align-items: center !important; }
}

/* Dot grid pattern for dark sections */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Susan hero */
.susan-col {
  overflow: hidden;
  border-radius: 0 24px 24px 0;
  align-self: stretch;
  min-height: 500px;
  position: relative;
}
.susan-col img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 110%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
  pointer-events: none;
}

/* Carousel */
.carousel-container { display: grid; }
.carousel-slide { grid-area: 1/1; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 5px; padding-top: 12px; }
.carousel-dot {
  height: 6px; border-radius: 3px; cursor: pointer;
  background: #e2e8f0; transition: all 0.3s ease; width: 6px;
}
.carousel-dot.active { background: var(--teal); width: 20px; }
.carousel-label {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
