

h1, h2, h3, h4{
    color: #5c3d3d;
}

@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;
  color: #857860;
}

/* Добавим небольшую задержку для красивого каскада */
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;
  }
}
/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */


/* Визуально скрыто, но доступно для ассистивных технологий */
.visually-hidden-important {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Для заданного вами формата чекбокса */
.form-group.checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  }
.form-group.checkbox-group input[type="checkbox"] {
  margin-top: .3rem;
}


.content {
  border-radius: 5px;
  box-shadow: 2px 4px 5px #d8d4ca;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content:hover {
  box-shadow: 0 8px 16px #d8d4ca;
  transform: translateY(-2px);
}

.content-box {
  border: 2px solid #d8d4ca;
  border-radius: 5px;
  box-shadow: 0 6px 12px #d8d4ca;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


/* Общий стиль секции hero */
#hero {
  position: relative;
  overflow: hidden;
}

/* Лёгкий фон с акцентом, чтобы выглядело как «портал» */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.15), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.08), transparent 55%);
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Маленькие бейджи над заголовком */
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Заголовок и тексты */
.hero-title {
  line-height: 1.2;
}

.hero-lead {
  max-width: 52rem;
}

.hero-text {
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Кнопки и их отступы */
.hero-actions .btn-lg {
  padding-inline: 1.8rem;
}

/* Метаданные под кнопками (мелкий текст с точками) */
.hero-meta {
  opacity: 0.9;
}

.hero-meta-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  background-color: var(--bs-secondary, #6c757d);
  vertical-align: middle;
}

/* Карточка «Heute im Fokus» справа */
.hero-highlight {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.15);
}

/* Ссылка внутри карточки */
.hero-link {
  position: relative;
}

.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.2s ease;
}

.hero-link:hover::after {
  width: 100%;
}

/* Адаптив: на мобильных всё по центру */
@media (max-width: 767.98px) {
  #hero {
    text-align: center;
  }

  #hero .hero-eyebrow-group {
    justify-content: center;
  }

  #hero .hero-meta {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-highlight {
    margin-top: 2rem;
  }
}

/* Общий блок секции */
#daily-reports {
  position: relative;
}

/* Лёгкий «новостной» фон с акцентом слева */
#daily-reports::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0) 40%
  );
}

#daily-reports .container {
  position: relative;
  z-index: 1;
}

/* Маленький верхний сервисный заголовок */
.section-kicker {
  letter-spacing: 0.12em;
}

/* Заголовок и лид */
.section-title {
  margin-bottom: 0.5rem;
}

.section-lead {
  max-width: 40rem;
}

/* Список с кастомными маркерами */
.section-list {
  max-width: 40rem;
}

.section-list-item {
  margin-bottom: 1rem;
}

.section-list-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.75rem;
  margin-top: 0.45rem;
  background-color: var(--bs-primary, #0d6efd);
}

/* Примечание под списком */
.section-note {
  max-width: 40rem;
}

/* Карточка справа */
.section-card {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.12);
}

/* Адаптив: центрирование на мобильных */
@media (max-width: 767.98px) {
  #daily-reports {
    text-align: left;
  }

  .section-lead,
  .section-list,
  .section-note {
    max-width: 100%;
  }

  .section-card {
    margin-top: 1.5rem;
  }
}

/* Общий блок секции */
#weekly-reports {
  position: relative;
}

/* Лёгкий фон-акцент: тонкие линии сверху/снизу, как в аналитическом блоке */
#weekly-reports::before,
#weekly-reports::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.06) 20%,
    rgba(0, 0, 0, 0.06) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

#weekly-reports::before {
  top: 0;
}

#weekly-reports::after {
  bottom: 0;
}

#weekly-reports .container {
  position: relative;
  z-index: 1;
}

/* Верхний мини-кернинг для подзаголовка */
.weekly-kicker {
  letter-spacing: 0.12em;
}

/* Заголовок и тексты */
.weekly-title {
  margin-bottom: 0.5rem;
}

.weekly-lead {
  max-width: 42rem;
}

.weekly-text {
  max-width: 42rem;
}

/* Карточки с аналитикой */
.weekly-card {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              border-color 0.2s ease, background-color 0.2s ease;
}

.weekly-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.12);
}

/* Небольшой индикатор активного состояния границы при фокусе/hover */
.weekly-card:hover .card-body,
.weekly-card:focus-within .card-body {
  border-left: 3px solid var(--bs-primary, #0d6efd);
  margin-left: -0.5rem;
  padding-left: 0.75rem;
  background-color: rgba(13, 110, 253, 0.02);
}

/* Адаптив: на мобильных всё тянется на ширину, отступы чуть меньше */
@media (max-width: 767.98px) {
  .weekly-lead,
  .weekly-text {
    max-width: 100%;
  }

  .weekly-card:hover .card-body,
  .weekly-card:focus-within .card-body {
    margin-left: -0.25rem;
    padding-left: 0.6rem;
  }
}

/* Общая секция */
#pricing {
  position: relative;
}

.pricing-kicker {
  letter-spacing: 0.12em;
}

.pricing-title {
  margin-bottom: 0.25rem;
}

.pricing-subtitle {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Карточки подписок */
.pricing-card {
  border-radius: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.12);
}

.card-featured {
  border-width: 2px;
}

.pricing-price {
  font-size: 1.5rem;
}

/* Список преимуществ */
.pricing-list li {
  margin-bottom: 0.35rem;
}

/* Zusatzleistungen */
.addon-card {
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Мобильная адаптация */
@media (max-width: 767.98px) {
  .pricing-price {
    font-size: 1.35rem;
  }
}


/* Общая секция FAQ */
#faq {
  position: relative;
}

.faq-kicker {
  letter-spacing: 0.12em;
}

.faq-title {
  margin-bottom: 0.25rem;
}

.faq-subtitle {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Аккордеон FAQ */
.faq-accordion .accordion-item {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.04);
}

.faq-accordion .accordion-item:last-of-type {
  margin-bottom: 0;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--bs-primary, #0d6efd);
  background-color: rgba(13, 110, 253, 0.04);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* Тело аккордеона */
.faq-accordion .accordion-body {
  font-size: 0.95rem;
  color: #495057;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .faq-subtitle {
    max-width: 100%;
  }
}


/* Основной отступ и фон страницы "About" */
#about-page {
  position: relative;
}

/* Секции */
.about-section + .about-section {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2.5rem;
}

/* Заголовки и тексты */
.about-title {
  margin-bottom: 1rem;
}

/* Изображение */
.about-image-wrapper {
  margin: 0;
}

.about-image {
  border-radius: 0.75rem;
  box-shadow: 0 1.2rem 2.6rem rgba(0, 0, 0, 0.15);
}

/* Карточки ценностей */
.about-card {
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Блок "How We Work" справа */
.about-highlight {
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.06);
}

.about-list li {
  margin-bottom: 0.25rem;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .about-section + .about-section {
    padding-top: 2rem;
  }

  .about-image {
    max-width: 90%;
  }
}


/* Общий блок секции */
#business-model {
  position: relative;
}

/* Тонкая линия сверху/снизу для отделения блока */
#business-model::before,
#business-model::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.06) 20%,
    rgba(0, 0, 0, 0.06) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

#business-model::before {
  top: 0;
}

#business-model::after {
  bottom: 0;
}

#business-model .container {
  position: relative;
  z-index: 1;
}

/* Заголовок и лид */
.bm-kicker {
  letter-spacing: 0.12em;
}

.bm-title {
  margin-bottom: 0.5rem;
}

.bm-lead {
  max-width: 42rem;
}

/* Правый highlight-бокс */
.bm-highlight {
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.06);
}

/* Карточки бизнес-модели (3 столбца) */
.bm-card {
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Список внутри карточек */
.bm-list li {
  margin-bottom: 0.2rem;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .bm-lead {
    max-width: 100%;
  }

  .bm-highlight {
    margin-top: 1.5rem;
  }
}


/* Оверлей на всю страницу */
.promo-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  padding: 1rem;              /* <— чтобы карточка не прилипала к краям */
  overflow-y: auto;           /* <— можно скроллить, если контент выше экрана */

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Когда нужно показать баннер */
.promo-banner-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Карточка баннера */
.promo-banner-content {
  max-width: 640px;
  width: 100%;
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;

  max-height: calc(100vh - 2rem); /* <— карточка не выше экрана, учитывая padding */
}

/* Ссылка вокруг визуальной части */
.promo-banner-link {
  display: block;
  text-decoration: none;
}

/* Блок с картинкой */
.promo-banner-visual {
  width: 100%;
  /* вместо жёстких 70vh делаем ограничение по экрану и максимуму */
  height: 60vh;
  max-height: 500px;
  background-image: url('assets/images/banner.png'); /* путь относительно CSS-файла */
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  display: block;
}

/* Текст под картинкой */
.promo-banner-text {
  padding: 1.5rem 1.75rem 1.75rem;
  text-align: center;
}

.promo-banner-text h2 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.promo-banner-text p {
  margin-bottom: 1.25rem;
  color: #4b5563;
}

/* Кнопка */
.promo-banner-button {
  display: inline-block;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #4c463e, #efc270);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* Адаптив */
@media (max-width: 575.98px) {
  .promo-banner-content {
    max-width: 100%;
    margin: 0;
    max-height: calc(100vh - 2rem); /* на мобиле тоже ограничиваем */
  }

  .promo-banner-text {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .promo-banner-text h2 {
    font-size: 1.2rem;
  }

  .promo-banner-visual {
    height: 50vh;   /* <— меньше высота визуала на маленьких экранах */
    max-height: 380px;
  }
}


/* =========================
   ≥ 576px (малые экраны)
   ========================= */
@media (min-width: 576px) {
  .promo-banner-content {
    max-width: 580px;
    max-height: calc(100vh - 1rem);
  }

  .promo-banner-visual {
    height: 55vh;
    max-height: 450px;
  }

  .promo-banner-text {
    padding: 1.4rem 1.5rem 1.7rem;
  }

  .promo-banner-text h2 {
    font-size: 1.3rem;
  }
}

/* =========================
   ≥ 768px (планшеты)
   ========================= */
@media (min-width: 768px) {
  .promo-banner-content {
    max-width: 620px;
  }

  .promo-banner-visual {
    height: 60vh;
    max-height: 650px;
  }

  .promo-banner-text {
    padding: 1.5rem 1.75rem 1.75rem;
  }

  .promo-banner-text h2 {
    font-size: 1.4rem;
  }
}

/* =========================
   ≥ 992px (ноутбуки)
   ========================= */
@media (min-width: 992px) {
  .promo-banner-content {
    max-width: 600px;
  }

  .promo-banner-visual {
    height: 70vh;
    max-height: 650px;
  }

  .promo-banner-text h2 {
    font-size: 1.5rem;
  }

  .promo-banner-text p {
    font-size: 1rem;
  }
}

/* =========================
   ≥ 1200px (десктопы)
   ========================= */
@media (min-width: 1200px) {
  .promo-banner-visual {
    height: 70vh;
    max-height: 700px;
  }

  .promo-banner-content {
    border-radius: 1.75rem;
  }
}

/* =========================
   ≥ 1400px (очень широкие)
   ========================= */
@media (min-width: 1400px) {
  .promo-banner-overlay {
    padding: 2rem;
  }

  .promo-banner-content {
    max-width: 700px;
    max-height: calc(100vh - 4rem);
  }

  .promo-banner-visual {
    height: 70vh;
    max-height: 700px;
  }
}
