@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

@media (max-width:460px) {
    .hero-title {
        font-size: 25px!important;
        margin-top:30px;
    }
    p{
        font-size: 15px!important;
    }
   
}

h1{
  font-size:27px;   
  font-weight:600;   
  }
h2{
  font-size:22px;      
}

h3{
  font-size:20px;      
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:20px;
}

.top-5 {
    top: 5px;
}

 
    .hero-section {
      padding: 40px 0;
      background-color: #f8f9fa;
    }

    .hero-title {
      font-size: 2.8rem;
      font-weight: 700;
      color: var(--main-green);
    }

    .hero-subtitle {
      font-size: 1.2rem;
      margin: 20px 0 30px;
      color: #333;
    }

    .highlight-box {
      background-color: var(--main-green);
      color: #fff;
      padding: 25px;
      border-radius: 12px;
      display: inline-block;
      font-weight: 500;
    }

    .btn-custom {
      background-color: var(--secondary-green);
      border: none;
      padding: 12px 28px;
      font-size: 1.1rem;
      border-radius: 8px;
      transition: 0.3s ease;
    }

    .btn-custom:hover {
      background-color: var(--main-green);
      color: #fff;
    }

    .hero-img {
      max-width: 100%;
      border-radius: 16px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
.lm-section {
    position: relative;
  }

  .lm-eyebrow {
    display: inline-block;
    font-size: .875rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--lm-accent);
    background: var(--lm-accent-weak);
    border-radius: 999px;
    padding: .25rem .6rem;
  }

  .lm-feature {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: calc(var(--lm-radius) + .25rem);
    padding: 1.25rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
    height: 100%;
  }

  .lm-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 .75rem 2rem rgba(0,0,0,.06);
    border-color: rgba(13,110,253,.35);
  }

  .lm-icon {
    width: 3rem;
    height: 3rem;
    border-radius: .85rem;
    display: inline-grid;
    place-items: center;
    background: var(--lm-accent-weak);
    color: var(--lm-accent);
    flex: 0 0 auto;
  }

  .lm-icon .bi {
    font-size: 3rem;
    line-height: 1;
  }

  .lm-feature h3 {
    font-size: 1.05rem;
    margin: 0 0 .25rem 0;
  }

  .lm-feature p {
    margin: 0;
    color: var(--bs-secondary-color);
  }

  /* Небольшой декоративный градиент фона */
  .lm-section::after {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 40%;
    background: radial-gradient(60% 60% at 50% 0%, rgba(13,110,253,.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  /* Тёмная тема по системным настройкам */
  @media (prefers-color-scheme: dark) {
    .lm-icon { background: rgba(13,110,253,.2); }
    .lm-feature:hover { box-shadow: 0 .75rem 2rem rgba(0,0,0,.25); }
  }

  .schwerpunkte {
    background-color: #fdfdfd;
  }
  .section-title {
    color: #373d3d;
    font-weight: 700;
    font-size: 2rem;
  }
  .section-divider {
    width: 80px;
    height: 4px;
    background-color: #e7b22b;
    border: none;
    margin: 0.5rem auto;
    border-radius: 2px;
  }
  .schwerpunkt-card {
    background-color: #3e6061;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .schwerpunkt-card h4 {
    color: #e7b22b;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .schwerpunkt-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .schwerpunkt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }

.warum {
    background-color: #fdfdfd;
  }
  .section-title {
    color: #373d3d;
    font-weight: 700;
    font-size: 2rem;
  }
  .section-divider {
    width: 80px;
    height: 4px;
    background-color: #e7b22b;
    border: none;
    margin: 0.5rem auto;
    border-radius: 2px;
  }
  .warum-card {
    background-color: #3e6061;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .warum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  }
  .warum-card h5 {
    color: #e7b22b;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .warum-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  .icon-box {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e7b22b;
    flex-shrink: 0;
  }
 .hero {
      background-color: #e7242d;
      color: #ffffff;
      padding: 100px 20px;
      text-align: center;
    }
    .hero h1 {
      font-size: 2.8rem;
      font-weight: bold;
    }
    .hero p {
      font-size: 1.2rem;
    }
    .btn-primary {
      background-color: #3c3229;
      border: none;
    }
    .btn-primary:hover {
      background-color: #e7242d;
    }
    .package {
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 30px;
      transition: transform 0.3s ease;
      background-color: #fff;
    }
    .package:hover {
      transform: translateY(-5px);
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    }
    .package h4 {
      color: #e7242d;
    }
 

    .lm-eyebrow {
    display:inline-block;
    font-size:.875rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-weight:600;
    color:var(--lm-accent);
    background:var(--lm-accent-weak);
    padding:.25rem .6rem;
    border-radius:999px;
  }

  .lm-faq details {
    border:1px solid var(--bs-border-color);
    border-radius:calc(var(--lm-radius) + .25rem);
    background: var(--bs-body-bg);
    transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
    border-radius: 10px;;
  }

  .lm-faq details:hover {
    border-color: rgba(13,110,253,.35);
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.06);
    
  }

  .lm-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 3rem 1rem 1rem;
    position: relative;
    font-weight: 600;
    outline: none;
  }

  /* Убираем стандартные маркеры в Safari/Chrome */
  .lm-faq summary::-webkit-details-marker { display: none; }

  /* Иконка + / – */
  .lm-faq summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    line-height: 1;
    width: 1.5rem;
    text-align: center;
    color: var(--lm-accent);
  }
  .lm-faq details[open] summary::after { content: "–"; }

  /* Фокус и клавиатурная доступность */
  .lm-faq summary:focus-visible {
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
    border-radius: calc(var(--lm-radius) + .25rem);
  }

  .lm-faq-body {
    padding: 0 1rem 1rem 1rem;
    color: var(--bs-secondary-color);
  }

  /* Анимация раскрытия */
  .lm-faq details .lm-faq-collapse {
    max-height: 0;
    overflow: hidden;
    opacity: .0;
    transform: translateY(-2px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  }
  .lm-faq details[open] .lm-faq-collapse {
    max-height: 100vh; /* достаточно для текста */
    opacity: 1;
    transform: translateY(0);
  }

  /* Тёмная тема */
  @media (prefers-color-scheme: dark) {
    .lm-faq details:hover { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.25); }
  }

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

/* 2) Защита от выпадения контента из-за медиа */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3) Частая причина: width:100vw даёт +ширину из-за вертикального скроллбара
      Заменяйте 100vw на 100%. Для удобства — утилита: */
.fix-vw { width: 100% !important; }

