

h1, h2, h3, h4{
    color: #580018;
}

@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;
  }  
  .box-img{
    height:300px;
  }
  
}
  /* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */


/* Abschnitt */
#faq {
  background-color: #f7f9fb; /* leichtes hellgrau-blau, harmoniert mit #007cc2 */
}

/* Titel */
#faq h2 {
  color: var(--alpenor-dark);
  font-weight: 700;
}

/* FAQ-Item Grundstil */
.faq-item {
  border: 1px solid rgba(58, 62, 65, 0.15);
  border-radius: 0.5rem;
  background: var(--alpenor-white);
  overflow: hidden;
}

/* Summary als Headline-Button */
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem 1rem 3rem;
  position: relative;
  margin: 0;
  font-weight: 600;
  color: var(--alpenor-dark);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Icon vor Summary (+ / –) */
.faq-summary::before {
  content: "+";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  width: 1.25rem;
  text-align: center;
  color: var(--alpenor-primary);
}

/* Hover/Focus States */
.faq-summary:hover {
  background-color: rgba(0, 124, 194, 0.06);
}
.faq-summary:focus {
  outline: none;
}
.faq-summary:focus-visible {
  outline: 3px solid rgba(0, 124, 194, 0.35);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Geöffnetes Item */
.faq-item[open] .faq-summary {
  color: var(--alpenor-primary);
  border-bottom: 1px solid rgba(58, 62, 65, 0.12);
}
.faq-item[open] .faq-summary::before {
  content: "–";
}

/* Inhalt */
.faq-content {
  padding: 1rem 1.25rem 1.25rem 3rem;
  color: var(--alpenor-dark);
  line-height: 1.6;
}

/* Feinheiten für mobile Darstellung */
@media (max-width: 575.98px) {
  .faq-summary,
  .faq-content {
    padding-left: 2.5rem;
  }
}

/* Optional: kleine Schatten, um Kartenoptik zu betonen */
.faq-item {
  box-shadow: 0 2px 6px rgba(58, 62, 65, 0.04);
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(58, 62, 65, 0.08);
}

/* Spacing helpers (чуть крупнее вертикальный ритм для лендинга) */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.py-7 { padding-top: 5rem; padding-bottom: 5rem; }

@media (min-width: 992px) {
  .py-lg-7 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Hero */
.about-hero .about-hero-card {
  border-radius: 1.25rem;
}

.about-hero .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
}

.about-hero .display-5 {
  line-height: 1.15;
}

/* Features / Werte */
.feature-card {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.07);
}

.feature-card .badge {
  font-weight: 600;
  padding: .5rem .75rem;
}

/* Visual */
.about-visual img {
  transform: scale(1.01);
  transition: transform .5s ease;
}
.about-visual:hover img {
  transform: scale(1.03);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: .5rem;
  top: .25rem;
  bottom: .25rem;
  width: 2px;
  background: var(--bs-primary);
  opacity: .15;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem 1rem;
  margin-bottom: 1rem;
}
.timeline-dot {
  display: inline-block;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  transform: translateY(.35rem);
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .12);
}

/* Team */
.team-card {
  border-radius: 1rem;
}
.team-card .card-img-top {
  height: 220px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
@media (min-width: 992px) {
  .team-card .card-img-top {
    height: 240px;
  }
}

/* CTA */
.cta-box {
  border: 1px solid var(--bs-border-color);
}

/* Utility */
.object-fit-cover {
  object-fit: cover;
}

/* optional: тонкая настройка текста в секции-герое на очень широких экранах */
@media (min-width: 1400px) {
  .about-hero .lead {
    max-width: 46ch;
  }
}

/* Business Model section — Ventoro
   Предполагается, что Bootstrap уже подключен и тема задаёт цвета (primary, secondary и т.п.)
*/

/* Вертикальный ритм секции */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 992px) { .py-6 { padding-top: 5rem; padding-bottom: 5rem; } }

/* Карточки трёх столпов */
.bm-card { border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.bm-card:hover { transform: translateY(-2px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.075); }

/* Шаги процесса */
.bm-steps { position: relative; padding-left: 1.5rem; }
.bm-steps::before {
  content: "";
  position: absolute;
  left: .6rem; top: .25rem; bottom: .25rem;
  width: 2px; background: var(--bs-primary); opacity: .15;
}
.bm-step { display: grid; grid-template-columns: auto 1fr; gap: .75rem 1rem; margin-bottom: 1rem; }
.bm-step:last-child { margin-bottom: 0; }
.bm-step-dot {
  display: inline-block; width: .75rem; height: .75rem; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), .12);
  transform: translateY(.35rem);
}

/* Блок с ценовой моделью */
.bm-pricing { border-radius: 1rem; }

/* Utility */
.bg-body-secondary-subtle { background-color: var(--bs-secondary-bg-subtle) !important; }

/* Pricing section — Ventoro
   Предполагается, что Bootstrap уже подключен и тема задаёт цвета (primary/secondary/etc.)
*/

.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 992px) { .py-6 { padding-top: 5rem; padding-bottom: 5rem; } }

.pricing-card { border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease; }
.pricing-card:hover { transform: translateY(-2px); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.075); }

.pricing-card .display-6 { line-height: 1; }
.pricing-card .badge { letter-spacing: .2px; }

.alert[role="note"] { border-radius: 1rem; }

/* Utility (на случай, если в теме нет переменной secondary-subtle) */
.bg-body-secondary-subtle { background-color: var(--bs-secondary-bg-subtle) !important; }
