

h1, h2, h3, h4{
    color: #283d26;
}

@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 {
  animation-delay: 0.2s;
}

h3 {
  animation-delay: 0.4s;
}

h4 {
  animation-delay: 0.6s;
}

@media(max-width:680px){
  .h5{
    font-size:18px;
  }
  h2{
    font-size: 22px;
  } 
  
}
/* Глобально: плавная прокрутка только с CSS, без JS */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Палитра */
:root{
  --sb-primary: #102A43;     /* тёмно-синий */
  --sb-secondary: #2E7D6E;   /* альпийский зелёный */
  --sb-accent: #F2C94C;      /* тёплый жёлтый */
  --sb-neutral-900: #1F2937;
  --sb-neutral-600: #6B7280;
  --sb-neutral-100: #F7FAFC;
  --sb-white: #FFFFFF;

  --sb-radius-lg: 1.25rem;
  --sb-radius-sm: .75rem;

  --sb-shadow-md: 0 6px 24px rgba(16,42,67,.14);
  --sb-shadow-lg: 0 18px 50px rgba(16,42,67,.18);
}

/* Герой */
.sb-hero{
  background: radial-gradient(1200px 600px at 15% 10%, rgba(46,125,110,.35) 0%, rgba(16,42,67,0) 60%),
              linear-gradient(180deg, #12304E 0%, #0E2438 100%);
  padding: clamp(3rem, 5vw, 5rem) 0;
  position: relative;
  isolation: isolate;
}
.sb-hero-title{ color: var(--sb-white); letter-spacing: .2px; }
.sb-hero-subtitle{ color: rgba(255,255,255,.92); max-width: 62ch; }

/* Лого */
.sb-logo{
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--sb-accent), #FFE794);
  color: #0B1724; font-weight: 800;
}
.sb-brand-name{ color: #E6EEF6; }

/* Декор */
.sb-hero-grid{
  position: absolute; inset: -2rem 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(1200px 600px at 85% 40%, rgba(0,0,0,.7), transparent 70%);
  z-index: 0;
}
.sb-hero-bg{
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 10% 60%, rgba(242,201,76,.15), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(46,125,110,.25), transparent 65%);
  filter: blur(.5px); z-index: -1;
}

/* Карточка справа */
.sb-hero-card{
  border-radius: var(--sb-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  backdrop-filter: blur(6px);
  box-shadow: var(--sb-shadow-lg);
}

/* Список */
.sb-list li{
  padding-left: 1.25rem; margin-bottom: .5rem; position: relative;
  color: var(--sb-neutral-900); font-weight: 500;
}
.sb-list li::before{
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 999px;
  background: var(--sb-secondary);
  box-shadow: 0 0 0 4px rgba(46,125,110,.15);
}

/* Блок доверия */
.sb-trust{ color: #E6EEF6; font-size: .95rem; }
.sb-dot{
  width: .5rem; height: .5rem; border-radius: 999px;
  display: inline-block; background: var(--sb-accent);
}

/* Кнопки поверх Bootstrap (CSS-only) */
.btn-primary{
  --bs-btn-bg: var(--sb-secondary);
  --bs-btn-border-color: var(--sb-secondary);
  --bs-btn-hover-bg: #256a5f;
  --bs-btn-hover-border-color: #256a5f;
  --bs-btn-focus-shadow-rgb: 46,125,110;
}
.btn-outline-light{
  --bs-btn-color: #E6EEF6;
  --bs-btn-border-color: rgba(255,255,255,.55);
  --bs-btn-hover-bg: rgba(255,255,255,.12);
  --bs-btn-hover-border-color: #FFFFFF;
}
.sb-btn, .sb-btn-outline{
  border-radius: .9rem; padding: .8rem 1.25rem; font-weight: 600;
}

/* Контрастная кнопка в карточке */
.sb-btn-contrast{
  background: var(--sb-primary) !important;
  border-color: var(--sb-primary) !important;
  color: var(--sb-white) !important;
  border-radius: .9rem; font-weight: 600;
}
.sb-btn-contrast:hover{
  background: #0c2134 !important; border-color: #0c2134 !important;
}

/* Адаптивность */
@media (max-width: 991.98px){
  .sb-hero{ padding-top: 3.25rem; padding-bottom: 3rem; }
  .sb-hero-title{ font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .sb-hero-subtitle{ font-size: 1.05rem; }
}
/* === FIX 1: клики по кнопкам в hero === */
.sb-hero { position: relative; }
.sb-hero > .container { position: relative; z-index: 2; }  /* контент выше декора */
.sb-hero-grid,
.sb-hero-bg {
  pointer-events: none;   /* не перехватывать клики */
}
.sb-hero-grid { z-index: 0; }
.sb-hero-bg   { z-index: -1; }

/* === FIX 2: компенсация фиксированной шапки при переходе к якорям === */
/* подстройте значение под высоту вашего header (например, 80–120px) */
#leistungen, #angebot, #kontakt {
  scroll-margin-top: 96px;
}

/* Секция */
.sb-services{
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
}

/* Кикер над заголовком */
.sb-kicker{
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-secondary);
  font-weight: 700;
}

/* Карточки услуг */
.sb-card{
  border: 0;
  border-radius: var(--sb-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  box-shadow: var(--sb-shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sb-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(16,42,67,.14);
}

/* Круглая литерная «иконка» */
.sb-badge{
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #0B1724;
  background: var(--sb-accent);
  box-shadow: 0 2px 0 rgba(0,0,0,.06) inset;
}
.sb-badge--tax   { background: linear-gradient(135deg, #F2C94C, #FFE794); }
.sb-badge--acct  { background: linear-gradient(135deg, #A7F3D0, #34D399); color:#0b2c26; }
.sb-badge--found { background: linear-gradient(135deg, #93C5FD, #60A5FA); color:#0b1a2c; }
.sb-badge--legal { background: linear-gradient(135deg, #FBCFE8, #F472B6); color:#2b1020; }

/* Чек-лист без JS и без иконок-гарнитур */
.sb-checklist{
  list-style: none;
  margin-top: .5rem;
}
.sb-checklist li{
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .6rem;
  color: var(--sb-neutral-700);
  line-height: 1.45;
}
.sb-checklist li::before{
  content: "";
  position: absolute;
  left: 0; top: .4rem;
  width: 1rem; height: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 40%, transparent 41%),
    radial-gradient(circle at 50% 50%, var(--sb-secondary) 0 100%);
  box-shadow: 0 0 0 4px rgba(46,125,110,.14);
}

/* Адаптивность заголовка секции */
@media (max-width: 991.98px){
  .sb-services .display-6{ font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
}
/* Секция */
.sb-why{
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 100%);
}

/* Маленький кикер над заголовком */
.sb-kicker{
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-secondary);
  font-weight: 700;
}

/* Карточки преимуществ */
.sb-why-card{
  border: 0;
  border-radius: var(--sb-radius-lg);
  background: #fff;
  box-shadow: var(--sb-shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sb-why-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(16,42,67,.14);
}

/* Икон-бейдж (чистый CSS, без икон-фонтов) */
.sb-icn{
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, var(--sb-accent), #FFE794);
  box-shadow: 0 2px 0 rgba(0,0,0,.06) inset, 0 6px 18px rgba(16,42,67,.10);
}

/* Пиктограммы рисуем псевдоэлементами */
.sb-icn::before, .sb-icn::after{
  content: ""; position: absolute; inset: 0;
  margin: auto;
}

/* Bolt (молния) */
.sb-icn--bolt::before{
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 6px solid transparent;
  border-top: 22px solid #0B1724;
  transform: translate(6px, -4px) rotate(12deg);
}
.sb-icn--bolt::after{
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid #0B1724;
  transform: translate(-4px, 6px) rotate(12deg);
}

/* Map pin */
.sb-icn--map::before{
  width: 16px; height: 22px; border-radius: 10px 10px 14px 14px/12px 12px 14px 14px;
  background: #0B1724; top: 12px; left: 20px;
}
.sb-icn--map::after{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sb-accent); top: 20px; left: 25px;
}

/* Custom (шестерня) */
.sb-icn--custom::before{
  width: 28px; height: 28px; border-radius: 50%;
  border: 6px solid #0B1724; top: 14px; left: 14px;
}
.sb-icn--custom::after{
  width: 2px; height: 2px; border-radius: 50%;
  background: #0B1724; top: 27px; left: 27px;
  box-shadow:
    0 -14px 0 0 #0B1724,
    0 14px 0 0 #0B1724,
    -14px 0 0 0 #0B1724,
    14px 0 0 0 #0B1724,
    -10px -10px 0 0 #0B1724,
    10px -10px 0 0 #0B1724,
    -10px 10px 0 0 #0B1724,
    10px 10px 0 0 #0B1724;
}

/* Shield (щит) */
.sb-icn--shield::before{
  width: 28px; height: 34px; left: 14px; top: 10px;
  background: #0B1724;
  clip-path: polygon(50% 0, 100% 20%, 100% 60%, 50% 100%, 0 60%, 0 20%);
}

/* Текст */
.sb-why h3{ color: var(--sb-neutral-900); }
.sb-why p{ color: var(--sb-neutral-700); }

/* Адаптивность заголовка секции */
@media (max-width: 991.98px){
  .sb-why .display-6{ font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
}

/* ========== Section 1: Über SteuerBlitz ========== */
.sb-about-hero{
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 100%);
}
.sb-kicker{
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-secondary);
  font-weight: 700;
}
.sb-about-card{
  border-radius: var(--sb-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94));
  box-shadow: var(--sb-shadow-lg);
}
.sb-bullets{
  list-style: none;
}
.sb-bullets li{
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .5rem;
  color: var(--sb-neutral-700);
}
.sb-bullets li::before{
  content: "";
  position: absolute;
  left: 0; top: .5rem;
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--sb-secondary);
  box-shadow: 0 0 0 4px rgba(46,125,110,.14);
}

/* ========== Section 2: Team ========== */
.sb-team{
  background: #fff;
}
.sb-team-card{
  border: 0;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-shadow-lg);
}
.sb-avatar{
  width: 88px; height: 88px; border-radius: 20px;
  background:
    linear-gradient(135deg, var(--sb-accent), #FFE794);
  box-shadow: 0 2px 0 rgba(0,0,0,.06) inset, 0 6px 18px rgba(16,42,67,.10);
}
.sb-team .card-body h3{ color: var(--sb-neutral-900); }
.sb-team .card-body p{ color: var(--sb-neutral-700); }

/* ========== Section 3: Ansatz & Werte ========== */
.sb-values{
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 100%);
}
.sb-values-card{
  border-radius: var(--sb-radius-lg);
  background: #fff;
  box-shadow: var(--sb-shadow-lg);
}
.sb-check{
  list-style: none;
}
.sb-check li{
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: var(--sb-neutral-700);
}
.sb-check li::before{
  content: "";
  position: absolute;
  left: 0; top: .35rem;
  width: 1rem; height: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 40%, transparent 41%),
    radial-gradient(circle at 50% 50%, var(--sb-secondary) 0 100%);
  box-shadow: 0 0 0 4px rgba(46,125,110,.12);
}

/* Типографика */
h1, h2, h3{ color: var(--sb-neutral-900); }
.text-muted{ color: var(--sb-neutral-600)!important; }

/* Адаптивность заголовков */
@media (max-width: 991.98px){
  .display-6{ font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
}

/* Секция */
.sb-pricing{
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 100%);
}
.sb-kicker{
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-secondary);
  font-weight: 700;
}

/* Карточки цен */
.sb-price-card{
  border: 0;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sb-price-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(16,42,67,.14);
}
.sb-price{
  color: var(--sb-primary);
}

/* Кнопка */
.btn-primary{
  --bs-btn-bg: var(--sb-secondary);
  --bs-btn-border-color: var(--sb-secondary);
  --bs-btn-hover-bg: #256a5f;
  --bs-btn-hover-border-color: #256a5f;
  --bs-btn-focus-shadow-rgb: 46,125,110;
  border-radius: .75rem;
  font-weight: 600;
}

/* Секция */
.sb-faq{
  background: linear-gradient(180deg, #F9FBFF 0%, #FFFFFF 100%);
}
.sb-kicker{
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sb-secondary);
  font-weight: 700;
}

/* Список FAQ */
.sb-faq-list{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sb-faq-item{
  border-radius: var(--sb-radius-lg);
  background: #fff;
  box-shadow: var(--sb-shadow-md);
  padding: 1rem 1.25rem;
  transition: background .3s ease;
}
.sb-faq-item:hover{
  background: #fdfdfd;
}
.sb-faq-item summary{
  cursor: pointer;
  font-weight: 600;
  color: var(--sb-neutral-900);
  position: relative;
  padding-right: 1.5rem;
  list-style: none;
}
.sb-faq-item summary::-webkit-details-marker{
  display: none;
}

/* Индикатор раскрытия */
.sb-faq-item summary::after{
  content: "+";
  position: absolute;
  right: 0; top: 0;
  font-weight: bold;
  color: var(--sb-secondary);
  transition: transform .3s ease;
}
.sb-faq-item[open] summary::after{
  content: "–";
  transform: rotate(180deg);
}

/* Текст ответа */
.sb-faq-body{
  margin-top: .75rem;
  color: var(--sb-neutral-700);
  line-height: 1.5;
  font-size: .95rem;
}
