

h1, h2, h3, h4{
    color: #46497d;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3, h4 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Добавим небольшую задержку для красивого каскада */
h2 {
  font-size:25px;
  animation-delay: 0.2s;
}

h3 {
  font-size:22px;
  animation-delay: 0.4s;
}

h4 {
  animation-delay: 0.6s;
}

@media(max-width:680px){
  .h5{
    font-size:18px;
  }
  h2{
    font-size: 22px;
  } 
  
}

 /* Базовые отступы секции на крупных экранах */
@media (min-width: 992px) {
  #hero {
    padding-top: 5rem;   /* py-lg-6 в разметке добавляет ещё, можно подстроить */
    padding-bottom: 5rem;
  }
}

/* Визуальный контейнер изображения */
.hero-visual {
  max-width: 720px;
  margin-inline: auto;
}

/* Контроль масштабирования изображения */
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Декоративное "свечение" за картинкой на десктопе */
.hero-blur {
  position: absolute;
  inset: auto -5% -8% -5%;
  height: 40%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(13,110,253,0.20), rgba(13,110,253,0.00));
  filter: blur(30px);
  z-index: -1;
}

/* Баланс ширины колонок: на очень широких экранах текст чуть уже */
@media (min-width: 1400px) {
  #hero .col-lg-6.order-2.order-lg-1 {
    padding-right: 2rem;
  }
  #hero .col-lg-6.order-1.order-lg-2 {
    padding-left: 2rem;
  }
}

/* Улучшенная читаемость длинных заголовков */
#hero h1 {
  letter-spacing: -0.02em;
}

/* Тонкая настройка бейджа */
#hero .badge {
  padding: 0.5rem 0.75rem;
}

/* Кнопки: немного более мягкие края и тени по ховеру */
#hero .btn {
  border-radius: 0.8rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
#hero .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.08);
}

/* Секция Warum FakturaAssist? */
#warum-fakturaassist .feature {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}

#warum-fakturaassist .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

#warum-fakturaassist .icon-wrap {
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  box-shadow: 0 .25rem .75rem rgba(13,110,253,.25); /* привязано к .bg-primary */
}

@media (min-width: 992px) {
  #warum-fakturaassist .display-6 {
    letter-spacing: .2px;
  }
}

/* Тонкие правки типографики */
#warum-fakturaassist p {
  line-height: 1.55;
}

#warum-fakturaassist h3 {
  margin-bottom: .35rem;
}




  /* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */



/* Vorteile für Ihr Unternehmen */
#vorteile .benefit {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}

#vorteile .benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

#vorteile .icon-wrap {
  width: 3rem;
  height: 3rem;
  font-size: 1.25rem;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.08);
}

#vorteile .lead {
  line-height: 1.55;
}

#vorteile h3 {
  margin-bottom: .35rem;
}

/* So funktioniert FakturaAssist */
#so-funktioniert .step {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}

#so-funktioniert .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

#so-funktioniert .step-badge {
  width: 2.5rem;
  height: 2.5rem;
  font-weight: 700;
  background: rgba(13,110,253,.1);   /* привязка к первичной палитре Bootstrap */
  color: #0d6efd;
  box-shadow: 0 .25rem .75rem rgba(13,110,253,.15);
}

#so-funktioniert .cta {
  border-radius: 1.25rem;
}

@media (min-width: 992px) {
  #so-funktioniert .display-6 {
    letter-spacing: .2px;
  }
}

#so-funktioniert p { line-height: 1.55; }
#so-funktioniert h3 { margin-bottom: .35rem; }


/* Über uns – общие акценты */
#about .card { border-radius: 1rem; }
#about .mission, #about .value, #about .team, #about .stat, #about .badge-box { transition: transform .2s ease, box-shadow .2s ease; }
#about .mission:hover, #about .value:hover, #about .team:hover, #about .stat:hover, #about .badge-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}
#about p { line-height: 1.6; }

/* Иллюстративная карточка в Hero */
#about .about-illustration { border-radius: 1rem; }

/* Timeline */
#about .timeline {
  position: relative;
  margin-left: 1rem;
  padding-left: 1.5rem;
}
#about .timeline:before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(13,110,253,.2); /* привязка к primary */
}
#about .timeline-item { position: relative; margin-bottom: 1.5rem; }
#about .timeline-dot {
  position: absolute;
  left: -0.1rem;
  top: .6rem;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(13,110,253,.15);
}
#about .timeline-card { margin-left: 1.5rem; }

/* Team */
#about .team .team-photo {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background-image: linear-gradient(135deg, rgba(13,110,253,.08), rgba(13,110,253,.02));
}

/* CTA */
#about .cta { border-radius: 1.25rem; }

/* Малые правки типографики */
#about h2 { letter-spacing: .2px; }


/* FAQ – без JS на <details>/<summary> */
#faq .faq-item {
  border-radius: 1rem;
  overflow: hidden; /* аккуратные углы при фокусе */
  transition: box-shadow .2s ease, transform .2s ease;
}
#faq .faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

/* Сводка вопроса */
#faq .faq-summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  list-style: none;
  position: relative;
}
#faq .faq-summary::-webkit-details-marker { display: none; }

/* Иконка + / – слева */
#faq .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: .375rem;
  background: rgba(13,110,253,.1); /* завязка на primary */
  color: #0d6efd;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

/* Контент ответа */
#faq .faq-content {
  padding: 0 1.25rem 1rem 3.15rem; /* отступ под иконку */
  border-top: 1px solid rgba(0,0,0,.05);
}

/* Состояние :open */
#faq details[open] .faq-summary {
  background: rgba(13,110,253,.03);
}
#faq details[open] .faq-icon {
  transform: rotate(45deg); /* превращаем + в × (визуально = минус/закрыть) */
  background: rgba(13,110,253,.15);
}

/* Фокус для доступности */
#faq .faq-summary:focus,
#faq .faq-summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(13,110,253,.25);
  border-radius: .75rem;
}

/* Мелкие типографские правки */
#faq .text-muted { line-height: 1.6; }
#faq h3 { letter-spacing: .2px; }

/* Preise – общие стили */
#preise .plan,
#preise .addons { border-radius: 1rem; }

#preise .plan { transition: transform .2s ease, box-shadow .2s ease; }
#preise .plan:hover { transform: translateY(-4px); box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08); }

/* Цена */
#preise .price-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .2px;
}
#preise .price-period { margin-left: .35rem; }

/* Рекомендованный план */
#preise .plan-featured {
  border: 2px solid rgba(13,110,253,.25);
  box-shadow: 0 1rem 2rem rgba(13,110,253,.08);
}
#preise .plan-featured .btn { box-shadow: 0 .5rem 1rem rgba(13,110,253,.15); }

#preise .plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: .5rem;
  padding: .35rem .5rem;
  font-size: .75rem;
}

/* Мелкая типографика и отступы */
#preise .list-unstyled li { line-height: 1.5; }
#preise .addons { border-left: 4px solid #0d6efd; }

@media (min-width: 992px) {
  #preise .display-6 { letter-spacing: .2px; }
}


/* Hero */
.about-hero{
  background: linear-gradient(180deg, #fff 0%, var(--bz-soft) 100%);
}
.about-hero .display-5{ color: var(--bz-ink); }
.about-hero .lead{ color: var(--bz-muted); }

.stats{ border-radius: 18px; }
.stat-number{ color: var(--bz-ink); line-height: 1; }
.stat-label{ color: var(--bz-muted); }

/* Intro */
.about-intro h2{ color: var(--bz-ink); }
.about-intro p{ color: var(--bz-muted); }

/* Werte */
.about-values .value{
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-values .value:hover{ transform: translateY(-2px); box-shadow: 0 .9rem 1.4rem rgba(13,110,253,.08); }
.value-icon{
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 12px;
  background: #eff4ff; color: #534a39; flex: 0 0 auto;
}
.value-icon .bi{ font-size: 1.25rem; }

/* Timeline */
.timeline{ position: relative; padding-left: 1rem; margin: 0; }
.timeline::before{
  content:""; position: absolute; top: .25rem; bottom: .25rem; left: .5rem;
  width: 2px; background: #534a39;
}
.timeline-item{ position: relative; display: flex; gap: 1rem; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.timeline-point{
  position: absolute; left: .3rem; top: .35rem;
  width: .75rem; height: .75rem; border-radius: 50%;
  background: var(--bz-brand); box-shadow: 0 0 0 4px #534a39;
}
.timeline-content h3{ color: var(--bz-ink); }
.timeline-content p{ color: var(--bz-muted); }

/* Team */
.team{ border-radius: 16px; }
.team .avatar{
  display: inline-grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: #eef2ff; color: #534a39;
}
.team .avatar .bi{ font-size: 1.25rem; }

/* CTA */
.about-cta .cta-card{ border-radius: 18px; }
.about-cta h2{ color: var(--bz-ink); }
.about-cta p{ color: var(--bz-muted); }

/* Типографика и отступы */
h1,h2,h3,h4,h5{ letter-spacing:.1px; }
.section-title{ color: var(--bz-ink); }

/* Адаптив */
@media (min-width: 1200px){
  .stats .card-body{ padding: 2rem; }
  .value .card-body{ padding: 2rem; }
}
