/* --- СЕКЦИЯ И СЕТКА --- */
.es-section {
    width: 100%;
    max-width: 1240px;
    margin: 60px auto !important;
    padding: 0 15px;
    box-sizing: border-box;
}

.es-header {
    text-align: center;
    margin-bottom: 55px;
}

.es-subtitle {
    color: #c49a45;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.es-title {
    font-size: 34px;
    font-weight: 900;
    color: #111111;
    line-height: 1.15;
    letter-spacing: -0.8px;
    max-width: 750px;
    margin: 0 auto;
}

.es-grid {
    display: flex !important;
    gap: 35px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* --- КАРТОЧКА С ВЫЛЕТАЮЩИМ КРУЖКОМ --- */
.es-card {
    position: relative !important;
    flex: 1 !important;
    min-width: 290px !important;
    max-width: 380px !important;
    height: 460px !important;
    overflow: visible !important;
    margin-top: 40px !important;
    cursor: pointer !important;
}

/* --- ФОН И СКРУГЛЕНИЕ УГЛОВ --- */
.es-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #333333 !important;
}

.es-bg img, 
.es-bg video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
    will-change: transform;
}

.es-bg::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.35) !important;
}

/* --- ВЫЛЕТАЮЩИЙ КРУЖОК (68px x 68px) --- */
.es-icon-circle {
    position: absolute !important;
    top: -34px !important;
    left: 25px !important;
    z-index: 10 !important;
    
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
}

.es-icon-circle img {
    width: 34px !important;
    height: 34px !important;
    object-fit: contain !important;
}

.es-icon-gold {
    background-color: #c49a45 !important;
    border: 1px solid #ffffff !important;
}

.es-icon-dark {
    background-color: #111111 !important;
    border: 1px solid #ffffff !important;
}

/* --- СОСТОЯНИЕ В ПОКОЕ --- */
.es-idle {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 55px 30px 30px 30px !important;
    box-sizing: border-box !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    transition: opacity 0.35s ease !important;
}

/* БРОНЕБОЙНЫЙ ЖИРНЫЙ ЗАГОЛОВОК (ПРОБИВАЕТ ВНУТРЕННИЕ ТЕГИ) */
.es-idle-title,
.es-idle-title *,
.es-idle-title h2,
.es-idle-title h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -0.8px !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

/* --- СОСТОЯНИЕ ПРИ НАВЕДЕНИИ --- */
.es-hover {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3 !important;
    background-color: #f7f7f7 !important;
    padding: 55px 30px 30px 30px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

/* БРОНЕБОЙНЫЙ ЗАГОЛОВОК ПРИ НАВЕДЕНИИ */
.es-hover-title,
.es-hover-title *,
.es-hover-title h2,
.es-hover-title h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: -0.8px !important;
    line-height: 1.15 !important;
    color: #111111 !important;
    margin: 0 0 15px 0 !important;
}

.es-hover-desc {
    font-size: 14px !important;
    color: #666666 !important;
    line-height: 1.5 !important;
    margin: 0 0 20px 0 !important;
}

/* --- СТИЛЬ УЗКОЙ КНОПКИ --- */
.es-hover-btn {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    color: #ffffff !important;
    background-color: #111111 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    margin-top: auto !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
}

.es-hover-btn:hover {
    background-color: #c49a45 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(196, 154, 69, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* --- ЭФФЕКТЫ --- */
.es-card:hover .es-idle {
    opacity: 0 !important;
}

.es-card:hover .es-hover {
    opacity: 1 !important;
    visibility: visible !important;
}

.es-card:hover .es-bg img,
.es-card:hover .es-bg video {
    transform: scale(1.06) !important;
}

/* === Zähler-Block (Fotografierte Fläche usw.) === */
.elementor-element-b205610 {
  background: linear-gradient(135deg, #b8871a 0%, #c99a22 45%, #d9b04a 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 72px 0 !important;
}
.elementor-element-b205610::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 45%),
              radial-gradient(circle at 85% 90%, rgba(0,0,0,.12), transparent 50%);
  pointer-events: none;
}
.elementor-element-b205610 .row { margin-top: 0 !important; align-items: stretch; }
.elementor-element-b205610 .col-lg-3 { margin-top: 0 !important; padding: 8px 24px; position: relative; }
@media (min-width: 992px) {
  .elementor-element-b205610 .col-lg-3 + .col-lg-3::before {
    content: ""; position: absolute; left: 0; top: 15%; height: 70%;
    width: 1px; background: rgba(255,255,255,.35);
  }
}
@media (max-width: 991px) {
  .elementor-element-b205610 .col-lg-3 { padding: 24px 16px; }
}

/* Zahl + Einheit in einer Zeile */
.elementor-element-b205610 .text-center { display: block; white-space: nowrap; }
.elementor-element-b205610 .odometer,
.elementor-element-b205610 .text-center > span.display-2 { display: inline-block !important; vertical-align: top; }
.elementor-element-b205610 .odometer-digit,
.elementor-element-b205610 .odometer-formatting-mark { padding: 0 !important; margin: 0 !important; }
.elementor-element-b205610 .odometer-formatting-mark { margin: 0 -0.04em !important; }
.elementor-element-b205610 .odometer,
.elementor-element-b205610 .text-center > span.display-2 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.12);
}
.elementor-element-b205610 .odometer { font-size: clamp(40px, 4.4vw, 58px) !important; }
.elementor-element-b205610 .text-center > span.display-2 {
  font-size: clamp(22px, 2.4vw, 30px) !important;
  margin-left: 4px; margin-top: 4px;
  opacity: .9;
}

/* Trennstrich + Beschriftung */
.elementor-element-b205610 .text-center > p {
  white-space: normal;
  margin-top: 18px !important;
  padding-top: 16px;
  position: relative;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255,255,255,.92) !important;
}
.elementor-element-b205610 .text-center > p::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 32px; height: 2px; margin-left: -16px;
  background: #fff; border-radius: 2px;
}

/* === Header: ohne Ruckeln === */
header.header-style1 { min-height: 96px; }
@media (max-width: 991px) { header.header-style1 { min-height: 70px; } }
@media (max-width: 575px) { header.header-style1 { min-height: 65px; } }
header.header-style1.scrollHeader .navbar-default {
  animation: ivHeaderIn .45s cubic-bezier(.22,.61,.36,1) both !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
@keyframes ivHeaderIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* === Header: sanftes Ausblenden === */
header.header-style1.ivClosing .navbar-default {
  animation: ivHeaderOut .3s cubic-bezier(.4,0,1,1) both !important;
}
@keyframes ivHeaderOut {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-100%); opacity: 0; }
}
