

h1, h2, h3, h4{
    color: #188b9f;
}

@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);
}

/* Карточка преимущества */
.feature-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: #ffffff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

/* Ховер-эффект: лёгкое приподнятие */
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
  border-color: rgba(13, 110, 253, 0.25); /* hint на фирменный цвет Bootstrap primary */
}

/* Круглый контейнер иконки */
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd; /* Bootstrap primary */
}

/* Размер иконки */
.feature-icon .bi {
  font-size: 1.25rem;
  line-height: 1;
}

/* Небольшая типографика заголовков */
#vorteile h2 {
  letter-spacing: -0.015em;
}

#vorteile h3 {
  letter-spacing: -0.01em;
}

/* Тонкая адаптация отступов на XL+ экранах */
@media (min-width: 1400px) {
  #vorteile .feature-card {
    padding: 2rem !important;
  }
}




/* Spacing helper (совместимо с предыдущим блоком) */
@media (min-width: 992px){
  .py-lg-6{ padding-top: 5rem !important; padding-bottom: 5rem !important; }
}



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



/* Тонкая типографика */
#mehr-als-tool h2 {
  letter-spacing: -0.015em;
}

/* Иконки в списке преимуществ */
#mehr-als-tool .feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08); /* primary 8% */
  color: #0d6efd; /* primary */
  font-size: 1.1rem;
  margin-top: 0.15rem; /* выравнивание по первой строке текста */
}

/* Акцентная карточка справа */
#mehr-als-tool .highlight-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(13,110,253,0.06), rgba(13,110,253,0) 60%),
    #ffffff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#mehr-als-tool .highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.06);
  border-color: rgba(13,110,253,0.25);
}

/* Отступы на очень широких экранах */
@media (min-width: 1400px) {
  #mehr-als-tool .highlight-card {
    padding: 2.5rem !important;
  }
}

/* Заголовок секции */
#cases h2 {
  letter-spacing: -0.015em;
}

/* Карточка кейса */
.case-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

/* Ховер-эффект */
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.06);
  border-color: rgba(13,110,253,0.25);
}

/* Медиа (обложка) */
.case-media {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.case-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Тело карточки */
.case-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* KPI список */
.kpi-list .kpi {
  display: grid;
  grid-template-columns: auto;
  align-items: start;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(13,110,253,0.15);
  border-radius: 0.75rem;
  background: rgba(13,110,253,0.04);
  min-width: 90px;
}

.kpi-value {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
  color: #0d6efd; /* primary */
}

.kpi-label {
  font-size: 0.75rem;
  color: #6c757d; /* text-body-secondary */
}

/* Кнопки-фильтры */
#cases .btn-outline-secondary.active {
  background-color: rgba(108,117,125,0.08);
  border-color: rgba(108,117,125,0.4);
}

/* Адаптация высоты медиа на крупных экранах */
@media (min-width: 992px) {
  .case-media img {
    height: 200px;
  }
}

/* Дополнительные отступы для CTA */
#cases .btn-lg {
  border-radius: 0.8rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
#cases .btn-lg:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.6rem 1.25rem rgba(0,0,0,0.08);
}

/* ===== Hero ===== */
#about-hero h1 { letter-spacing: -0.02em; }
.about-hero-visual { max-width: 620px; margin-inline: auto; }
.about-hero-visual img {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
}
.about-hero-blur {
  position: absolute; inset: auto -6% -10% -6%; height: 40%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(13,110,253,0.18), rgba(13,110,253,0));
  filter: blur(28px); z-index: -1;
}

/* ===== Generic cards ===== */
.about-card, .value-card, .team-card, .stat-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.about-card:hover, .value-card:hover, .team-card:hover, .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.06);
  border-color: rgba(13,110,253,0.25);
}

/* ===== Zahlen ===== */
.stat-value {
  font-weight: 800; font-size: 1.75rem; line-height: 1.1; color: #0d6efd;
}
.stat-label { color: #6c757d; }

/* ===== Werte ===== */
#werte h2, #zahlen h2, #timeline h2, #team h2 { letter-spacing: -0.015em; }

/* ===== Timeline ===== */
.timeline { margin: 0; padding-left: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: rgba(13,110,253,0.15);
}
.timeline-item { position: relative; display: flex; gap: 1rem; padding-left: 2.75rem; margin-bottom: 1.25rem; }
.timeline-dot {
  position: absolute; left: 12px; top: 0.5rem; width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(13,110,253,0.12);
}
.timeline-time { font-size: .875rem; margin-bottom: .25rem; }

/* ===== Team ===== */
.team-photo { width: 120px; height: 120px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }

/* ===== CTA ===== */
#about-cta .btn { border-radius: .8rem; transition: transform .16s ease, box-shadow .16s ease; }
#about-cta .btn:hover { transform: translateY(-1px); box-shadow: 0 0.6rem 1.25rem rgba(0,0,0,.12); }

/* ===== Spacing tweaks for XL+ ===== */
@media (min-width: 1400px) {
  #about-hero { padding-block: 5rem; }
  .about-card, .value-card { padding: 2rem !important; }
}

/* Заголовок секции */
#faq h2 { letter-spacing: -0.015em; }

/* Сбрасываем стандартный маркер <summary> и делаем карточки */
.faq-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.6rem 1.25rem rgba(0,0,0,0.06);
  border-color: rgba(13,110,253,0.25);
}

.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 600;
}

/* Убираем маркер в WebKit */
.faq-question::-webkit-details-marker { display: none; }

/* Иконка-стрелка (CSS-only) */
.faq-question::after {
  content: "";
  width: .75rem;
  height: .75rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, opacity .2s ease;
  opacity: .7;
  flex-shrink: 0;
}

/* Состояние open – поворачиваем стрелку */
details[open] > .faq-question::after {
  transform: rotate(-135deg);
  opacity: 1;
}

/* Фокусная рамка для клавиатуры */
.faq-question:focus, .faq-question:focus-visible {
  outline: 3px solid rgba(13,110,253,0.35);
  outline-offset: 2px;
  border-radius: .5rem;
}

/* Тело ответа */
.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  color: #495057;
}

/* Ссылки и кнопки внутри ответа */
.faq-answer .btn {
  border-radius: .75rem;
  transition: transform .16s ease, box-shadow .16s ease;
}
.faq-answer .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 .6rem 1rem rgba(0,0,0,0.08);
}

/* Адаптивные отступы на XL+ */
@media (min-width: 1400px) {
  #faq { padding-block: 5rem; }
}

/* Заголовки */
#pricing h2 { letter-spacing: -0.015em; }

/* Карточка тарифа */
.price-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: flex; flex-direction: column;
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.06);
  border-color: rgba(13,110,253,.25);
}

/* Шапка карточки */
.price-head {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, rgba(13,110,253,0.06) 0%, rgba(13,110,253,0.00) 100%);
  border-top-left-radius: 1rem; border-top-right-radius: 1rem;
}

/* Цена */
.price {
  line-height: 1;
}
.price .currency {
  font-size: .9rem;
  font-weight: 700;
  margin-right: .35rem;
  vertical-align: super;
}
.price .period {
  font-size: .9rem;
  font-weight: 600;
  color: #6c757d;
  margin-left: .35rem;
}

/* Список фич */
.price-features li {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-bottom: .5rem; color: #495057;
}
.price-features i.bi { color: #198754; /* success */ font-size: 1.05rem; line-height: 1.4; }

/* Популярный план */
.price-popular {
  border-width: 2px;
  border-color: rgba(13,110,253,.35);
  box-shadow: 0 1rem 2rem rgba(13,110,253,.08);
}
.popular-ribbon {
  position: absolute; top: .75rem; right: .75rem;
  background: #0d6efd; color: #fff; font-weight: 600; font-size: .75rem;
  padding: .25rem .5rem; border-radius: .5rem;
}

/* Подвал карточки */
.price-foot {
  margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom-left-radius: 1rem; border-bottom-right-radius: 1rem;
}

/* Кнопки */
#pricing .btn { border-radius: .8rem; transition: transform .16s ease, box-shadow .16s ease; }
#pricing .btn:hover { transform: translateY(-1px); box-shadow: 0 .6rem 1.25rem rgba(0,0,0,.08); }

/* Add-ons */
.addon-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: .85rem;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.addon-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 .6rem 1.25rem rgba(0,0,0,.06);
  border-color: rgba(13,110,253,.25);
}

/* Отступы XL+ */
@media (min-width: 1400px) {
  #pricing { padding-block: 5rem; }
}

