@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.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;
}

h1{
  font-size: 30px;
  color: #7f6b4e;
}
h2{
  font-size: 25px;
  color: #7f6b4e;
}
h3{
  font-size: 20px;
  color: #7f6b4e;
}

/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

/* ===== Hero (Schweiz) ===== */
.hero-schweiz {
  background: radial-gradient(1200px 600px at 80% -10%, rgba(var(--bs-secondary-rgb), 0.35) 0%, transparent 60%),
              linear-gradient(160deg, rgba(var(--bs-primary-rgb), 0.75) 0%, rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.85) 80%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate; 
}

.hero-schweiz .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 80%);
  z-index: 0;
}

.hero-schweiz .container,
.hero-schweiz .hero-shape {
  z-index: 1;
}

.hero-schweiz .display-5 {
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.hero-schweiz .lead {
  max-width: 56ch;
}

/* Карточка превью */
.hero-card {
  border-radius: 1.25rem;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

/* Декоративные фигуры */
.hero-shape {
  position: absolute;
  pointer-events: none;
  filter: blur(26px);
  opacity: 0.6;
}

.hero-shape-1 {
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle at 30% 30%,
    rgba(var(--bs-primary-rgb), 0.45), transparent 60%);
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  left: -80px;
  top: -80px;
  background: radial-gradient(circle at 70% 70%,
    rgba(255,255,255,0.25), transparent 60%);
}

.bg-primary-subtle {
  background-color: rgba(var(--bs-primary-rgb), 0.15) !important;
}

/* Адаптивность */
@media (min-width: 1200px) {
  .hero-schweiz { min-height: 88vh; }
}

@media (max-width: 575.98px) {
  .hero-schweiz .display-5 {
    font-size: calc(1.875rem + 0.5vw); /* мягче на самых малых экранах */
  }
}

/* Поддержка object-fit для карточного изображения */
.object-fit-cover {
  object-fit: cover;
}

/* ===== Warum SteuerFokusPro ===== */
.why-section { position: relative; }

/* Карточки */
.feature-card {
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  background-color: var(--bs-white);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2rem rgba(0,0,0,.08);
}

/* Верхний акцент */
.feature-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: .25rem;
}

/* Иконка */
.icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  flex: 0 0 2.75rem;
  font-size: 1.25rem;
}

/* Заголовки/текст внутри карточек */
.feature-card .h6 { color: var(--bs-dark); }
.feature-card p { color: var(--bs-secondary); }

/* Отступы секции на крупных экранах */
@media (min-width: 1200px) {
  .why-section { padding-top: 4rem; padding-bottom: 4rem; }
}



/* ===== Unsere Dienstleistungen ===== */
.services-section .card.service-card {
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  background-color: var(--bs-white);
}

.services-section .card.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
}

.services-section .service-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: .25rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Текстовые цвета и контраст */
.services-section h2,
.services-section .h5 { color: var(--bs-dark); }
.services-section p { color: var(--bs-secondary); }

/* Мелкие доработки бейджей и иконок */
.services-section .badge {
  font-weight: 600;
  letter-spacing: .02em;
}
.services-section .bi { line-height: 1; }

/* Отступы секции на крупных экранах */
@media (min-width: 1200px) {
  .services-section { padding-top: 4rem; padding-bottom: 4rem; }
}

/* ===== Pricing ===== */
.pricing-section .price-card {
  border-radius: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
  background-color: var(--bs-white);
}

.pricing-section .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2rem rgba(0,0,0,0.08);
}

/* Рекомендованный план */
.pricing-section .price-card.recommended {
  outline: 2px solid rgba(var(--bs-primary-rgb), .35);
  box-shadow: 0 .75rem 2rem rgba(0,0,0,.08);
}

/* Цены: показываем/скрываем без JS */
.pricing-cards .price { display: none; }
.pricing-cards[data-billing="monthly"] .price-monthly { display: block; }
.pricing-cards[data-billing="yearly"]  .price-yearly  { display: block; }

/* Переключатель */
.billing-toggle .form-switch {
  width: 3.25rem; height: 1.75rem;
}

.billing-toggle .form-switch .form-check-input {
  width: 3.25rem; height: 1.75rem; margin: 0; opacity: 0; position: absolute; inset: 0; cursor: pointer;
}

.billing-toggle .switch-track {
  display: inline-block;
  width: 3.25rem; height: 1.75rem;
  background-color: var(--bs-secondary-bg);
  border-radius: 1.75rem;
  position: relative;
  transition: background-color .2s ease;
}

.billing-toggle .switch-track::after {
  content: "";
  position: absolute;
  top: .125rem; left: .125rem;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background-color: var(--bs-white);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s ease;
}

/* Активное состояние */
#billingSwitch:checked + .switch-track {
  background-color: rgba(var(--bs-primary-rgb), .4);
}
#billingSwitch:checked + .switch-track::after {
  transform: translateX(1.5rem);
}

/* Связка переключателя с атрибутом data-billing */
#billingSwitch:checked ~ .dummy {} /* just to keep specificity if needed */


/* Типографика цен */
.price-wrap .h1 { line-height: 1; }
.price-wrap small { margin-top: .25rem; }

/* Отступы для секции на больших экранах */
@media (min-width: 1200px) {
  .pricing-section { padding-top: 4rem; padding-bottom: 4rem; }
}
