

h1, h2, h3, h4{
    color: #3e5f49;
}

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

/* Vorteile Section */
#vorteile .vorteil-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 1rem;
}

#vorteile .vorteil-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}

#vorteile .card-title {
  line-height: 1.25;
}

#vorteile .card-text {
  color: #6c757d; /* Bootstrap text-muted tone */
}

/* Небольшая адаптивная правка межкарточных отступов на очень широких экранах */
@media (min-width: 1400px) {
  #vorteile .container {
    max-width: 1140px;
  }
}

/* ===== Brand Greens (тонкости можно настроить) ===== */
:root {
  --brand-50:  #effcf6;
  --brand-100: #d8f7e8;
  --brand-200: #b0efd3;
  --brand-300: #7fe6ba;
  --brand-400: #4fda9e;
  --brand-500: #22c97c;   /* основной */
  --brand-600: #16a765;
  --brand-700: #0e8551;
  --brand-800: #0b6a42;
  --brand-900: #084f33;
}

.text-brand-800 { color: var(--brand-800) !important; }

/* ===== Features Section ===== */
#funktionen .feature-card {
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid rgba(11, 106, 66, 0.06);
}

#funktionen .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(8, 79, 51, 0.08);
  border-color: rgba(11, 106, 66, 0.18);
}

/* Кружок-иконка */
#funktionen .feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 .5rem 1rem rgba(34, 201, 124, 0.25);
  font-size: 1.25rem;
}

/* Заголовки и текст */
#funktionen .card-body .h5 {
  color: var(--brand-800);
}

#funktionen .text-secondary {
  color: #6c757d !important;
}

/* Заголовок секции — подчёркивание акцентом */
#funktionen .display-6 {
  position: relative;
  display: inline-block;
}

#funktionen .display-6::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.35rem;
  transform: translateX(-50%);
  width: 4rem;
  height: .25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  opacity: .9;
}

/* Тонкая настройка ширины на сверхшироких экранах */
@media (min-width: 1400px) {
  #funktionen .container { max-width: 1140px; }
}

.text-brand-800{ color:var(--brand-800)!important; }

/* ===== Zielgruppen Section ===== */
#zielgruppen .ziel-card{
  border-radius:1rem;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border:1px solid rgba(11,106,66,.06);
  background:#fff;
}
#zielgruppen .ziel-card:hover{
  transform:translateY(-4px);
  box-shadow:0 1rem 2rem rgba(8,79,51,.08);
  border-color:rgba(11,106,66,.18);
}

/* Кружок-иконка */
#zielgruppen .ziel-icon{
  width:3rem; height:3rem; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; font-size:1.25rem;
  box-shadow:0 .5rem 1rem rgba(34,201,124,.25);
}

/* Заголовок секции с зелёной чертой */
#zielgruppen .display-6{
  position:relative; display:inline-block;
}
#zielgruppen .display-6::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-.35rem; width:4rem; height:.25rem; border-radius:999px;
  background:linear-gradient(90deg, var(--brand-400), var(--brand-600)); opacity:.9;
}

/* Немного ужимаем ширину на сверхшироких экранах */
@media (min-width:1400px){
  #zielgruppen .container{ max-width:1140px; }
}


/* ===== CTA Section ===== */
#cta-testen{
  background: linear-gradient(180deg, var(--brand-50), #ffffff);
}

#cta-testen .cta-box{
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(34,201,124,.20), transparent 60%),
    linear-gradient(135deg, var(--brand-700), var(--brand-600));
  box-shadow: 0 1.25rem 2.5rem rgba(8,79,51,.15);
  position: relative;
  overflow: hidden;
}

/* Декоративные линии */
#cta-testen .cta-box::after{
  content:"";
  position:absolute; inset:auto -10% -30% -10%;
  height:60%; transform:skewY(-10deg);
  background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,0));
  pointer-events:none;
}

/* Текст */
#cta-testen .cta-text{
  color: rgba(255,255,255,.95);
}

/* Кнопки */
.btn-brand{
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; border: none;
  box-shadow: 0 .75rem 1.5rem rgba(34,201,124,.25);
}
.btn-brand:hover,
.btn-brand:focus{
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn-outline-light{
  border-width:2px;
}

/* Адаптив: немного ужимаем ширину контейнера на сверхшироких экранах */
@media (min-width:1400px){
  #cta-testen .container{ max-width: 1140px; }
}

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

/* Team */
.bs-team{
  border:1px solid var(--ink-weak);
  border-radius:1rem;
}
.bs-team .text-danger{ color: var(--brand-red) !important; }

/* CTA */
.bs-cta{
  background: var(--brand-black);
}
.bs-cta .btn-light{
  color: var(--brand-black);
  border-color: var(--brand-white);
}

.text-brand-800{ color:var(--brand-800)!important; }
.text-brand-900{ color:var(--brand-900)!important; }
.bg-brand-50 { background:var(--brand-50)!important; }
.bg-brand-100{ background:var(--brand-100)!important; }

/* ===== Buttons ===== */
.btn-brand{
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; border:none;
  box-shadow: 0 .75rem 1.5rem rgba(34,201,124,.25);
}
.btn-brand:hover{ filter:brightness(1.03); transform:translateY(-1px); }

.btn-outline-brand{
  border:2px solid var(--brand-600); color:var(--brand-800);
  background: transparent;
}
.btn-outline-brand:hover{
  background: var(--brand-50); color: var(--brand-900);
}

/* ===== Hero ===== */
#about-hero{
  background: linear-gradient(180deg, #fff, var(--brand-50));
}
#about-hero .hero-illustration{
  height: 320px; background:
    radial-gradient(1200px 400px at 50% -10%, rgba(34,201,124,.15), transparent 60%),
    linear-gradient(135deg, var(--brand-300), var(--brand-500));
  box-shadow: 0 1.25rem 2.5rem rgba(8,79,51,.15);
}

/* ===== Shared cards ===== */
.about-card{
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid rgba(11,106,66,.07);
  background:#fff;
}
.about-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(8,79,51,.08);
  border-color: rgba(11,106,66,.18);
}

/* Icon bubble */
.about-icon{
  width: 3rem; height: 3rem; border-radius: 999px;
  display: inline-flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; font-size:1.25rem;
  box-shadow: 0 .5rem 1rem rgba(34,201,124,.25);
}

/* ===== Timeline ===== */
.timeline{
  position: relative; padding-left: 1.5rem;
}
.timeline::before{
  content:""; position:absolute; left:.5rem; top:.25rem; bottom:.25rem;
  width:2px; background: linear-gradient(180deg, var(--brand-200), var(--brand-400));
}
.timeline-item{
  position: relative; margin-bottom: 1.75rem; padding-left: 1rem;
}
.timeline-dot{
  position:absolute; left:-.1rem; top:.35rem; width:.75rem; height:.75rem; border-radius:999px;
  background: var(--brand-600); box-shadow: 0 0 0 .2rem rgba(34,201,124,.2);
}
.timeline-card{
  border-radius: .875rem;
}

/* Container шире на больших экранах — аккуратно */
@media (min-width:1400px){
  #about-hero .container,
  #mission .container,
  #werte .container,
  #meilensteine .container,
  #team .container,
  #about-cta .container{
    max-width: 1140px;
  }
}

.team-img{
  background-size:cover!important;
}

/* ===== FAQ Section ===== */
#faq .faq-accordion{
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11,106,66,.08);
}

/* Настройка переменных Bootstrap для аккордеона */
#faq .accordion{
  --bs-accordion-color: #0b6a42;              /* текст кнопки */
  --bs-accordion-bg: #ffffff;                 /* фон кнопки */
  --bs-accordion-btn-color: var(--brand-800);
  --bs-accordion-btn-bg: #ffffff;
  --bs-accordion-border-color: rgba(11,106,66,.12);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(34,201,124,.25);
  --bs-accordion-active-color: var(--brand-800);
  --bs-accordion-active-bg: var(--brand-50);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b6a42'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}

/* Кнопки аккордеона — типографика и ховер */
#faq .accordion-button{
  padding: 1rem 1.25rem;
  font-weight: 600;
}
#faq .accordion-button:not(.collapsed){
  box-shadow: inset 0 -1px 0 rgba(11,106,66,.08);
}
#faq .accordion-button:hover{
  background: var(--brand-50);
}

/* Текст ответа */
#faq .accordion-body{
  color: #6c757d;
  line-height: 1.6;
}

/* CTA-кнопка под FAQ */
#faq .btn-brand{
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; border:none;
  box-shadow: 0 .75rem 1.5rem rgba(34,201,124,.25);
}
#faq .btn-brand:hover{ filter:brightness(1.03); transform:translateY(-1px); }

/* Контейнер шириной чуть меньше на сверхшироких экранах */
@media (min-width:1400px){
  #faq .container{ max-width:1140px; }
}

.text-brand-800{ color:var(--brand-800)!important; }
.text-brand-900{ color:var(--brand-900)!important; }
.bg-brand-50 { background:var(--brand-50)!important; }
.bg-brand-100{ background:var(--brand-100)!important; }


/* ===== Buttons ===== */
.btn-brand{
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color:#fff; border:none;
  box-shadow: 0 .75rem 1.5rem rgba(34,201,124,.25);
}
.btn-brand:hover{ filter:brightness(1.03); transform:translateY(-1px); }
.btn-outline-brand{
  border:2px solid var(--brand-600); color:var(--brand-800); background:transparent;
}
.btn-outline-brand:hover{ background:var(--brand-50); color:var(--brand-900); }

/* ===== Billing Switch (CSS-only Toggle) ===== */
.billing-switch{
  border-radius: 1rem;
}
#billingToggle{
  width: 46px; height: 24px; cursor: pointer;
  appearance: none; background: var(--brand-200); border-radius: 999px; position: relative;
  outline: none; transition: background .2s ease;
}
#billingToggle::after{
  content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:999px;
  background:#fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: left .2s ease;
}
#billingToggle:checked{ background: var(--brand-600); }
#billingToggle:checked::after{ left:25px; }

/* ===== Prices visibility rules ===== */
.price, .price-inline{ display:none; }
#billingToggle:not(:checked) ~ .price-note {} /* helper */

.price-monthly{ display:inline; }   /* default monthly */

/* When yearly is ON, override via container scope */
#preise #billingToggle:checked ~ .price-note {}
/* Show yearly prices when toggle checked */
#preise #billingToggle:checked ~ * .price-monthly,
#preise #billingToggle:checked ~ * .price-inline.price-monthly { display:none !important; }
#preise #billingToggle:checked ~ * .price-yearly,
#preise #billingToggle:checked ~ * .price-inline.price-yearly { display:inline !important; }

/* ===== Cards ===== */
.price-card{
  border-radius: 1rem; background:#fff;
  border:1px solid rgba(11,106,66,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(8,79,51,.08);
  border-color: rgba(11,106,66,.18);
}
.price-featured{
  outline: 2px solid var(--brand-200);
  box-shadow: 0 1.25rem 2.25rem rgba(8,79,51,.10);
}

/* Add-on cards */
.add-on-card{
  border-radius: 1rem; background:#fff;
  border:1px solid rgba(11,106,66,.08);
}

/* Lists */
.price-card .bi{ vertical-align: -2px; }
.text-brand-600{ color: var(--brand-600)!important; }

/* Container max-width tuning */
@media (min-width:1400px){
  #preise .container{ max-width: 1140px; }
}

