#pgv-chat,[data-pgv-chat-open]{--pc-blue:#164f87;--pc-ink:#182c44;--pc-line:#dbe5ef;--pc-soft:#f4f8fc;box-sizing:border-box}
[data-pgv-chat-open]{cursor:pointer}
.pgv-chat-icon{display:inline-block;width:1em;height:1em;border:1.8px solid currentColor;border-radius:50% 50% 50% 15%;vertical-align:-.12em;flex:none}
#pgv-chat{position:fixed;inset:auto 24px 24px auto;margin:0;width:min(484px,calc(100vw - 48px));height:min(648px,calc(100dvh - 48px));max-width:none;max-height:none;border:1px solid #cad8e5;border-radius:20px;padding:0;color:#182c44;background:white;box-shadow:0 24px 80px #17355140;overflow:hidden;font:16px/1.5 system-ui,sans-serif;z-index:2147483647}
#pgv-chat[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#pgv-chat::backdrop{background:#082b4c1a}
#pgv-chat *{box-sizing:border-box}
#pgv-chat button,#pgv-chat textarea{font:inherit}
#pgv-chat button{cursor:pointer}
.pgv-chat-head{display:flex;align-items:center;gap:13px;padding:14px 16px;background:white;border-bottom:1px solid #dbe5ef}
.pgv-chat-badge{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e8f2fb;color:#164f87;flex:none}
#pgv-chat-title{font-size:18px;margin:0;line-height:1.2;color:#182c44;font-weight:700}
.pgv-chat-head small{font-size:13px;color:#52667e}
.pgv-chat-close{margin-left:auto;width:44px;height:44px;flex:none;border:0;background:#f4f8fc;border-radius:12px;color:#182c44;font-size:24px!important;padding:0}
.pgv-chat-messages{padding:24px 19px;overflow:auto;overscroll-behavior:contain;background:#f4f8fc;display:flex;flex-direction:column;gap:12px;min-height:0}
.pgv-chat-greeting,.pgv-chat-message{align-self:flex-start;max-width:92%;padding:12px 15px;border-radius:5px 15px 15px;background:white;border:1px solid #dbe5ef;white-space:pre-wrap;overflow-wrap:anywhere;flex:none}
.pgv-chat-messages:not(.has-history){justify-content:center}
.pgv-chat-greeting{align-self:center;max-width:330px;text-align:center;border-radius:14px;padding:18px 20px}
.pgv-chat-message.me{align-self:flex-end;border:0;border-radius:15px 5px 15px 15px;color:#122d49;background:#dfedfa}
.pgv-chat-compose{background:white;border-top:1px solid #dbe5ef;padding:12px 14px max(13px,env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:0}
.pgv-chat-compose textarea{width:100%;min-height:49px;height:49px;max-height:110px;resize:vertical;border:1px solid #bccdde;border-radius:11px;padding:11px 12px;color:inherit;background:white;margin:0}
.pgv-chat-compose button[type=submit]{min-height:49px;border:0;border-radius:11px;background:#286cac;color:white;padding:0 14px;font-weight:700}
.pgv-chat-compose button[type=submit]:hover:enabled{background:#103f6d}
.pgv-chat-compose button:disabled{opacity:.5;cursor:default!important}
.pgv-chat-status{grid-column:1/-1;font-size:13px;color:#8c331f;margin:0}
.pgv-chat-older{align-self:center;border:0;background:transparent;color:#164f87;padding:6px 16px}
#pgv-chat [hidden]{display:none!important}

#pgv-chat textarea:focus{outline:1px solid #286cac;outline-offset:1px;border-color:#286cac}
@media(hover:hover) and (pointer:fine) and (min-width:768px){#pgv-chat .pgv-chat-close{opacity:var(--pgv-chat-close-opacity,0);transition:opacity .18s ease,color .18s ease}#pgv-chat .pgv-chat-close:hover,#pgv-chat .pgv-chat-close:focus-visible{opacity:1}#pgv-chat:focus-within .pgv-chat-close:focus-visible{opacity:1}}
@media(prefers-reduced-motion:reduce){#pgv-chat .pgv-chat-close{transition:none}}

#pgv-chat .pgv-chat-close{background:transparent;box-shadow:none}
#pgv-chat textarea:focus,#pgv-chat textarea:focus-visible{outline:0;box-shadow:none;border:1px solid #286cac}

@media(max-width:767px){
  #pgv-chat{inset:var(--pgv-chat-top,0) 0 auto;width:100%;height:var(--pgv-chat-height,100dvh);border:0;border-radius:0}
  .pgv-chat-head{padding-top:max(14px,env(safe-area-inset-top))}
  .pgv-chat-messages{padding:18px 13px}
  .pgv-chat-compose{padding-inline:10px;gap:7px}
  .pgv-chat-compose button[type=submit]{padding:0 10px}
}

#pgv-chat textarea:focus,#pgv-chat textarea:focus-visible{outline:0;border-color:#91adc4;box-shadow:0 0 9px 2px rgba(55,125,185,.18)}
@media(prefers-reduced-motion:no-preference){#pgv-chat textarea.pgv-chat-focus-pulse:focus{animation:pgv-chat-focus-halo 2700ms ease-in-out 2}}
@keyframes pgv-chat-focus-halo{0%,100%{box-shadow:0 0 8px 2px rgba(55,125,185,.14)}50%{box-shadow:0 0 13px 3px rgba(55,125,185,.24)}}
.spcl-modal__actions .pgv-chat-action--telegram{background:#229ed9!important;color:#fff!important}
.spcl-modal__actions .pgv-chat-action--chat{background:#16a34a!important;color:#fff!important}
.spcl-modal__actions .pgv-chat-action--max{background:#111827!important;color:#fff!important}
.spcl-modal__actions .pgv-chat-action--telegram,.spcl-modal__actions .pgv-chat-action--chat,.spcl-modal__actions .pgv-chat-action--max{box-sizing:border-box;min-height:44px;padding:10px 12px;border:0;border-radius:8px;font:800 15px/1.2 Arial,sans-serif;text-align:center;text-decoration:none}
.spcl-modal__actions a.pgv-chat-action--chat{display:flex;align-items:center;justify-content:center;width:100%;cursor:pointer}
.spcl-modal__actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.spcl-modal__actions>*{min-width:0}
.spcl-modal__actions .pgv-chat-action--telegram:hover,.spcl-modal__actions .pgv-chat-action--chat:hover,.spcl-modal__actions .pgv-chat-action--max:hover{filter:brightness(.94)}

.pgv-chat-launcher {
  position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(var(--pgv-launcher-bottom,16px),env(safe-area-inset-bottom));
  z-index:99992;display:inline-flex;align-items:center;gap:8px;padding:0 15px;min-height:44px;
  border-radius:24px;background:#0764da;color:#fff!important;font:700 15px/1.2 system-ui,sans-serif;
  box-shadow:0 4px 16px #102c4930;text-decoration:none!important;
}
.pgv-chat-launcher--op{background:#076bf2}
.pgv-chat-launcher:hover{filter:brightness(.9)}
.pgv-chat-launcher:focus-visible{outline:2px solid #102c49!important;outline-offset:3px}
html:has(#pgv-chat[open]) .pgv-chat-launcher{visibility:hidden}

#pgv-chat.pgv-telefon-panel .pgv-chat-close{opacity:1}
@media(max-width:767px){
  #pgv-chat.pgv-telefon-panel{
    inset:auto 0 auto auto;
    top:calc(var(--pgv-chat-top,0px) + min(72px,12dvh));
    width:calc(100% - 24px);height:calc(var(--pgv-chat-height,100dvh) - min(72px,12dvh));
    border-radius:16px 0 0 0;
  }
}

body.wp-theme-kadence .telefon-header-messenger{
  gap:6px;font-family:Jost,system-ui,sans-serif!important;font-size:14px!important;
  font-weight:600!important;line-height:1.2!important;align-items:center;
}
body.wp-theme-kadence .telefon-header-messenger > :is(img,.telefon-icon,.pgv-chat-icon){
  width:20px!important;height:20px!important;margin:0!important;box-sizing:border-box;
}
.telefon-header-messenger--wa[data-pgv-chat-open]{color:#0758ab;background:#edf5ff}
.pgv-mobile-header-contacts{
  display:flex!important;flex-wrap:wrap;gap:8px;align-items:center;margin-block:16px;
}
.pgv-mobile-header-contacts .telefon-header-messenger,.pgv-mobile-header-lead{min-height:44px}
.pgv-mobile-header-lead{border-radius:999px;padding:0 14px;font:600 14px/1.2 Jost,system-ui,sans-serif}
.telefon-contact-list__row{min-height:70px}
.telefon-contact-item__icon .telefon-contact-phone-icon{display:grid;place-items:center;font-size:25px;line-height:1}
:is(.telefon-contact-list__row--wa,.telefon-contact-item--wa)[data-pgv-chat-open] .telefon-contact-item__icon{
  background:#edf5ff!important;color:#0860ca;
}
.telefon-contact-item__icon .pgv-chat-icon{width:20px;height:20px;box-sizing:border-box}
#colophon .footer-social-inner-wrap{flex-wrap:wrap}
#colophon .pgv-footer-max{display:inline-flex!important;align-items:center;gap:6px}
#colophon .pgv-footer-max img{width:20px;height:20px}
body.home #contacts[data-pgv-focus-target]:focus{outline:none}
body.home #contacts .pgv-contact-heading:focus-visible,
body.home #contacts :is(a,input,textarea,button,select):focus-visible,
body.wp-theme-kadence :is(.telefon-header-messengers,#colophon .footer-social-inner-wrap) :is(a,button):focus-visible{
  outline:2px solid #1362ba!important;outline-offset:3px;
}
body.home #contacts .pgv-contact-heading:focus-visible{width:fit-content}
.kb-row-layout-id1508_b452a0-5d [hidden]{display:none!important}

body.wp-child-theme-finestyle .cookie-block{
  left:16px!important;right:auto!important;width:min(350px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;box-sizing:border-box;
}
.pgv-op-mobile-header{display:none}
.pgv-op-footer-contacts{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px;
}
.pgv-op-footer-contacts > a{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:6px 12px;background:#193953;border:1px solid #40627e;border-radius:10px;
  color:white!important;text-decoration:none;font:700 14px/1.2 Arial,sans-serif;
}
.pgv-op-footer-contacts > a:hover{background:#245477}
.pgv-op-footer-contacts > a:focus-visible,.pgv-op-mobile-header > a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.pgv-op-footer-contacts--narrow{display:none}
@media(max-width:767px){
  .pgv-op-mobile-header{
    display:flex;justify-content:center;flex-wrap:wrap;gap:6px;
    padding:5px 8px 10px;box-sizing:border-box;
  }
  .pgv-op-mobile-header > .finestyle-header-messenger{
    display:inline-flex!important;min-height:36px;gap:4px;padding:4px 8px!important;
    font-size:12px!important;
  }
  header:has(.pgv-op-mobile-header) .pgv-op-original-mobile-phone{display:none!important}
  .pgv-op-mobile-header .finestyle-header-phone-pill{margin-inline:50px}
  body.single-post .finestyle-site-header__contacts > :is(.finestyle-header-phone-pill,.finestyle-header-call-button){
    display:inline-flex!important;justify-content:center;align-items:center;min-height:36px;
    padding:4px 8px!important;min-width:0;font-size:12px!important;
  }
  .pgv-op-footer-contacts--narrow{display:flex;margin-bottom:12px}
  footer.elementor-element-483eb18c .pgv-op-footer-contacts{display:none}
}
