@font-face {
    font-family: 'PlayfairDisplay';
    src: url('/fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PlayfairDisplay';
    src: url('/fonts/PlayfairDisplay-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

h1,
h2 {
    font-family: 'PlayfairDisplay', serif;
    font-weight: 500;
    font-style: normal;
}

h2 span {
    font-family: 'PlayfairDisplay', serif;
    font-weight: 700;
    font-style: italic;
    text-decoration: underline;
}

.main-section {
    position: relative;
    height: 100vh;
    overflow: hidden; /* убирает скроллы */
    color: #fff;
}

.main-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/img/mainbg.jpg') no-repeat center center/cover;
    z-index: -1;
    transform-origin: center;
    animation: bg-zoom 12s ease-in-out infinite;
}

/* Анимация только для фона */
@keyframes bg-zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.09);
    }
    100% {
        transform: scale(1);
    }
}

.main-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* регулируешь затемнение */
    z-index: -1;
}

/* Сам offcanvas — тёмный полупрозрачный фон + размытие */
.offcanvas {
    background: rgba(0, 0, 0, 0.6); /* полупрозрачный чёрный */
    backdrop-filter: blur(12px);    /* размытие фона */
    -webkit-backdrop-filter: blur(12px);
    color: #fff; /* текст — белый */
}

/* Заголовок + крестик */
.offcanvas-title {
    color: #fff !important;
}

.offcanvas-header .btn-close {
    color: #fff !important;
    filter: invert(1); /* чтобы крестик стал белым */
}


/* Навигация внутри */
.offcanvas .nav-link,
.offcanvas a.whitelink {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    padding: 6px 0;
}

/* Чтобы не было синего цвета у иконок Bootstrap Icons */
.offcanvas i {
    color: #fff !important;
}

/* Кнопка внутри offcanvas */
.offcanvas .btn {
    width: 100%;
}

/* hr тоже светлый */
.offcanvas hr {
    border-color: rgba(255, 255, 255, 0.3);
}


.header-transparent {
background: transparent;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 74vh;
    flex-direction: column;
}

/* по умолчанию прячем мобильную */
.desc-none { display: none; }

/* мобилки */
@media (max-width: 767px) {
  .mob-none { display: none; }
  .desc-none { display: block; }
}
.fade-text span {
  opacity: 0;
  transition: .3s ease;
}

.fade-text span.visible {
  opacity: 1;
}



h2 {
    color: #152833;
    position: relative;
}
.hero-section {
    position: relative;
    padding: 140px 0;
    overflow: visible; /* важно — позволяет слову "выпрыгивать" */
}
.telic {
    text-decoration: none;
    font-size: 20px;
}
.telic i {
    background: #00fae7;
    padding: 9px 12px;
    border-radius: 30px;
    color: #000;
}
.position-relative {
    position: relative;
}
 .fade-text span {
    opacity: 0;
    display: inline-block;
    transition: opacity 0.3s ease-in;
  }

  .fade-text span.visible {
    opacity: 1;
  }
.custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 50px;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.custom-btn .btn-icon {
position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 1;
    width: 40px;
    height: 40px;
    right: -11px;
}

.custom-btn .btn-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(80% + 15px);  /* круг больше самой иконки */
  height: calc(80% + 15px);
  border-radius: 50%;
  background: #00fae7;
  box-shadow: 0 5px 10px 0 rgba(0,0,0,.35);
  z-index: -1;
}

.custom-btn:hover {
  background: #152833;
  color: #fff;
}

.btnmain {
    background: #00fae7;
    color: #000;
    border-radius: 50px;
    padding: 6px 20px 8px;
}


/* огромное слово */
.big-miller {
    position: absolute;
    bottom: -10vw;
    left: 0;
    font-size: 14vw;
    font-weight: 900;
    color: rgb(255 255 255 / 12%);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    transition: transform 0.1s linear;
}



.glow-area {
  position: relative;
  width: 100%;
}

.glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* â† Ð¾Ð³Ñ€Ð°Ð½Ð¸Ñ‡Ð¸Ð²Ð°ÐµÐ¼ Ñ‚Ð¾Ð»ÑŒÐºÐ¾ ÑÐ²ÐµÑ‡ÐµÐ½Ð¸Ðµ */
  pointer-events: none;
  z-index: 0;
  border-radius: 30px;
}

.glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgb(185 142 68 / 40%) 0%, rgba(255, 0, 255, 0.0) 60%);
  transform: translate(-60%, -60%);
  transition: background 0.3s ease;
  z-index: 1;
}

.darkbg {
    background: #152833;
}

/* ---------- GAL ----------- */
.colgal img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  margin-bottom: 10px;
  break-inside: avoid;
}

figure > img {
  grid-row: 1 / -1;
  grid-column: 1;
}

figure a {
  color: black;
  text-decoration: none;
}

figcaption {
  grid-row: 2;
  grid-column: 1;
  background-color: rgba(255,255,255,.5);
  padding: .2em .5em;
  justify-self: start;
}

.colgal {
  column-count: 5;
  column-gap: 1px;
}
.colgal img {
    border-radius: 16px;
    opacity: 0.9;
    transition: 0.3s;
    transform: scale(0.9);
}
.colgal img:hover {
    opacity: 1;
    transition: 0.3s;
    transform: scale(1.0);
}
/* ---------- GAL ----------- */

/** leistung */
.light {
    background-color: #f7f7f7;
    }
.service-card {
    height: 340px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* затемнение */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* обычное состояние */
    z-index: 2;
    transition: background 0.6s ease;
}
.dark-card {
    background: #152833;
}
.gold-card {
    background: #00fae7;
}
.service-card.dark-card:before, .service-card.gold-card:before, .service-card.dark-card:hover::before, .service-card.gold-card:hover::before {
    background: transparent;
}
.service-card .servic i {
    color: #00fae7;
    font-size: 80px;
    position: absolute;
    top: 0;
    left: 20px;
}
.service-card img {
    margin-top: -86px;
    max-width: 256px;
    position: relative;
    bottom: -64px;
    left: -50px;
    transition: 0.3s;
    width: auto;
}
.service-card:hover img {
    transition: 0.3s;
    left: -14px;
    bottom: -44px;
}
.custom-btn.minbut {
    font-size: 14px;
}
.custom-btn.minbut .btn-icon {
    width: 20px;
    height: 20px;
}
.modal-body .custom-btn {
    background: #152833;
    color: #fff;
    border: none;
        transition: 0.3s;
}
.modal-body .custom-btn:hover {
    background: #fff;
    color: #152833;
    border: none;
    transition: 0.3s;
        border: 2px solid #152833;
}

/* фоновый слой */
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: inherit;
    z-index: 1;
    transform: scale(1);
    transition: transform 1.1s ease;
}

/* при наведении */
.service-card:hover::after {
    transform: scale(1.08);
}

.service-card:hover::before {
    background: rgba(0,0,0,0.35); /* уменьшенная темнота */
}


.service-inner {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #fff;
}

.service-inner h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.service-inner p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}


section.leistungen-section, .ablauf-section, .vorteile-faq-section, .allzert {
    position: relative;
    overflow: hidden;
}

/** leistung */


/** testim */

#partners::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* регулируешь затемнение */
}

section#partners .owl-dots {
  width: max-content;
  margin: 30px auto 0px;
  z-index: 9999;
  position: relative;
}
section#partners .owl-carousel button.owl-dot {
  background: 0 0;
  color: inherit;
  border: none;
  padding: 0!important;
  font: 20px;
  width: 30px;
  height: 4px;
  background: #ccc;
  margin: 0px 4px;
}
section#partners button.owl-dot.active {
  background: #1ca8cb;
}
section#partners .owl-carousel button.owl-dot span {
  display: none;
}
section#partners img {
  border-radius: 8px;
}
section#partners div#partners-owl {
  margin-left: 10%;
}
section#partners {
  overflow-x: hidden;
  position: relative;
  background: url(/img/ref.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  height: 80vh;
  display: flex;
  align-items: center;      /* вертикальное выравнивание */
  justify-content: center; 
}
/** testim */

/** how work */


.ablauf-item {
    padding: 25px 20px;
    border-radius: 10px;
height: 340px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
        position: relative;
}

.ablauf-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ablauf-icon {
    font-size: 46px;
    color: #00fae7; /* bootstrap primary */
}
.mt-sm-20 {
    margin-top: 20px;
}
.mt-sm-40 {
    margin-top: 40px;
}
.mt-sm-60 {
    margin-top: 60px;
}

/** how work */



/** vort */
.vorteil-item .vorteil-icon {
    border-radius: 50px;
    font-size: 40px;
    color: #00fae7;
    margin-right: 15px;
    flex-shrink: 0;
    background: #152833;
    padding: 5px 18px 10px;
}

.vorteil-item h5 {
    font-weight: 600;
}



/** vort */



/** about */
.about-section-dark {
    background: url(/img/about.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}


/* Заголовок */
.about-title-dark {
    color: #ffffff;
}

/* Фото + бейдж */
.about-image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* Бейдж */
.experience-badge {
    position: absolute;
    left: -20px;
    bottom: -25px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transition: 0.3s;
}
.experience-badge:hover {
    background: #00fae7;
    transition: 0.3s;
}
.badge-inner {
    padding: 25px 30px;
    position: relative;
        overflow: hidden;
}

.badge-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #c6a675;
    width: 70px;
    height: 70px;
    border-bottom-right-radius: 50px;
    z-index: -1;
}

.exp-number {
    font-size: 70px;
    line-height: 80px;
    font-weight: 600;
    color: #152833;
    display: block;
    position: relative;
    z-index: 100000;
}

.exp-number:before {
    content: '';
    position: absolute;
    background: #00fae7;
    width: 100px;
    height: 100px;
    left: -40px;
    top: -40px;
    border-radius: 50px;
    z-index: -1;
}

.exp-text {
    font-size: 16px;
    color: #152833;
    line-height: 1.3;
}

/* Текст справа */
.about-text-dark {
    font-size: 17px;
    line-height: 1.65;
    color: #e5e5e5;
}

/* Кнопка */
.about-btn-dark {
    background: #c6a675;
    color: #000;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 500;
    border-radius: 50px;
    transition: 0.25s;
    text-decoration: none;
}

.about-btn-dark:hover {
    background: #b89255;
    color: #000;
}

/** about */


/** footer */

.footer-dark {
    color: #fff;
}

.footer-title {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
}

/* кнопка */
.footer-btn {
    background: #00fae7;
    color: #000;
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.25s;
    white-space: nowrap;
}

.footer-btn:hover {
    background: #b89255;
}

/* бордеры */
.footer-border {
    width: 100%;
    height: 1px;
    background: #3a4a5a;
    opacity: 0.5;
}

/* логотип */
.footer-logo {
    max-width: 130px;
}

/* общая настройка блоков контактов */
.footer-item {
    min-width: 160px;
}

/* иконки */
.footer-icon {
    font-size: 22px;
    color: #00fae7;
}

a.soclink i {
    color: #fff;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 20px;
}

a.soclink i.bi.bi-instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

a.soclink i.bi.bi-telegram {
    background: #00a9e6;
}

a.soclink i.bi.bi-telephone-inbound-fill {
    background: #774e98;
}

/* ссылки */
.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
}

.footer-link:hover {
    text-decoration: underline;
}
.footer-item a {
    display: contents;
    color: #fff;
    text-decoration: none;
}

/** footer */

  #btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 1030; /* поверх всего */
        background: #00fae7;
    width: 50px;
    height: 50px;
  }

    #btn-back-to-top:hover {
        background: #152833;
  }

.modal-content {
    background: #f7f7f7;
}
.modal-content input:focus {
    outline: none !important;
    box-shadow: none;
    border-color: inherit;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #00fae7;
    box-shadow: none;
}

.accordion-button:focus {
border: none;
box-shadow: none;
}

.accordion-item {
    margin: 10px 0;
}



@media (max-width: 991px) {
.desktop-menu {
display: none;
}
}

@media (min-width: 992px) {

.mobile-phone,
.mobile-btn {
display: none;
}
}

@media (max-width: 767px) {
    .colgal {
    column-count: 2;
}
.custom-btn {
    font-size: 16px;
}

.service-card {
    height: 380px;
}

.logoimg {
    width: 106px;
}
.mobile-phone {
    text-decoration: none;
    font-size: 12px;
}
.mobile-phone i {
    background: #00fae7;
    padding: 8px 10px;
    border-radius: 30px;
}
button.navbar-toggler.mobile-btn {
    background: #fff;
}
.big-miller {
    bottom: -26vw;
    font-size: 14vw;
}
}