

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: #596353;
}

/* Добавим небольшую задержку для красивого каскада */
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-section {
  position: relative;
  min-height: 60vh;
  background-image: url("assets/images/img-hero.jpg"); /* замените на свой путь */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Затемняющий оверлей поверх изображения */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* Контент поверх оверлея */
.hero-section .container {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Бейдж сверху текста */
.hero-badge {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Кнопки и отступы */
.hero-actions .btn {
  border-radius: 999px;
}

/* Адаптив для мобильных */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    text-align: center;
  }

  .hero-section .container {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Общие отступы и ощущения секции */
.workshops-section {
  position: relative;
}

/* Кастомные маркеры списка */
.workshops-list-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  /* используем текущую primary-тему Bootstrap через CSS-переменную */
  background-color: var(--bs-primary);
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* Карточки в правой колонке */
.workshops-card {
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workshops-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* Адаптивные настройки */
@media (max-width: 767.98px) {
  .workshops-section {
    text-align: left;
  }

  .workshops-section .badge {
    margin-bottom: 1rem;
  }

  .workshops-section h2 {
    font-size: 1.8rem;
  }
}

/* Секция Übungsaufgaben & Fallstudien */
.cases-section {
  position: relative;
}

/* Кастомные маркеры списка слева */
.cases-list-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background-color: var(--bs-primary); /* используем primary из Bootstrap */
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* Панель с примером задания */
.cases-panel {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cases-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

/* Маленькие "пилюли" внутри списка задачи справа */
.cases-pill {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--bs-primary);
  flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .cases-section h2 {
    font-size: 1.8rem;
  }

  .cases-panel {
    margin-top: 0.5rem;
  }
}

/* Общий вид секции "Warum FinanzProf?" */
.why-section {
  position: relative;
}

/* Карточки преимуществ */
.why-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

/* Маленький маркер-иконка слева от заголовка */
.why-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bs-primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.3); /* оттенок primary */
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Адаптив для мобильных устройств */
@media (max-width: 767.98px) {
  .why-section h2 {
    font-size: 1.9rem;
  }

  .why-card {
    padding: 1.5rem;
  }
}

/* Общая обертка страницы О нас */
.about-page {
  background-color: #f8f9fa; /* близко к bg-light Bootstrap */
}

/* Секция hero с изображением */
.about-hero-section {
  position: relative;
}

/* Картинка в hero-блоке */
.about-hero-image-wrapper {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero-image {
  object-fit: cover;
}

/* Лёгкий декоративный фон под изображением */
.about-hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transform: translate(10px, 10px);
  z-index: -1;
}

/* Секция подхода */
.about-approach-section {
  position: relative;
}

/* Карточки подхода */
.about-approach-card {
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-approach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.8rem rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Секция команды / философии */
.about-team-section {
  position: relative;
}

/* Карточки в тёмной секции */
.about-team-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.about-team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Адаптив */
@media (max-width: 767.98px) {
  .about-hero-section h1 {
    font-size: 1.9rem;
  }

  .about-approach-section h2,
  .about-team-section h2 {
    font-size: 1.8rem;
  }

  .about-hero-image-wrapper::before {
    inset: 12%;
    transform: translate(6px, 6px);
  }
}


/* Общий вид секции FAQ */
.faq-section {
  position: relative;
}

/* Немного стилизуем аккордеон */
.faq-accordion .accordion-item {
  border: none;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

/* Кнопка заголовка вопроса */
.faq-accordion .accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background-color: #f0f4ff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

/* Убираем сильный фокус Bootstrap и делаем мягче */
.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* Тело ответа */
.faq-accordion .accordion-body {
  padding: 1rem 1.25rem 1.2rem;
  font-size: 0.95rem;
  color: #495057;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .faq-section h2 {
    font-size: 1.9rem;
  }

  .faq-accordion .accordion-button {
    font-size: 0.95rem;
  }
}

/* Общая секция */
.pricing-section {
  position: relative;
}

/* Базовая карточка */
.pricing-card {
  background-color: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.06);
}

/* Рекомендуемое (среднее) предложение */
.recommended-card {
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--bs-primary), #003b94);
  box-shadow: 0 1rem 2.4rem rgba(13, 110, 253, 0.4);
}

.recommended-badge {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  background-color: #ffc107;
  color: #212529;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

/* Цена */
.pricing-price {
  line-height: 1;
}

/* Список преимуществ */
.pricing-list li {
  font-size: 0.95rem;
}

/* Кастомный чек-маркер (кружочек) */
.pricing-check {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background-color: var(--bs-primary);
  flex-shrink: 0;
}

.pricing-check-muted {
  background-color: transparent;
  border: 2px solid #ced4da;
}

/* Адаптив */
@media (max-width: 767.98px) {
  .pricing-section h2 {
    font-size: 1.9rem;
  }

  .pricing-card {
    border-radius: 1rem;
  }

  .recommended-badge {
    top: 0.5rem;
    right: 0.9rem;
  }
}

/* Общий контейнер секции */
.business-model-section {
  position: relative;
}

/* Карточки модели */
.business-model-card {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.business-model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.08);
}

/* Иконка/кружок с шагом */
.business-model-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.business-model-step {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--bs-primary);
  color: #fff;
  box-shadow: 0 0.35rem 0.9rem rgba(13, 110, 253, 0.35);
}

/* Нижний блок с акцентом */
.business-model-footer {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 0.5rem 1.6rem rgba(0, 0, 0, 0.04);
}

/* Адаптив */
@media (max-width: 767.98px) {
  .business-model-section h2 {
    font-size: 1.9rem;
  }

  .business-model-card {
    border-radius: 1rem;
  }
}

/* Оверлей на всю страницу */
.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, #374c4a, #93ab9d);
  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;
  }
}
