/* Native Contao bridge. Visual rules are retained in vortex-design.css. */
[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:88px}img{max-width:100%;height:auto}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid currentColor;outline-offset:4px}.skip-link{position:fixed;top:-100px;z-index:10001;background:white;padding:12px}.skip-link:focus{top:0}
.vtxm-hero{height:min(15.486111vw,397px);overflow:hidden;background:#080d10}.vtxm-hero video{width:100%;height:100%;object-fit:cover;display:block}
.vtxm-mobile-nav{position:fixed;inset:0 auto 0 0;width:250px;z-index:10000;background:#333332;overflow:auto;box-shadow:inset -10px 0 6px -9px #0008}.vtxm-mobile-nav a{display:block;padding:15px 30px;color:#b3b3b1;border-bottom:1px solid #0002;border-top:1px solid #ffffff19}.vtxm-mobile-nav a:hover{color:#fff;background:#222}.vtxm-menu-overlay{position:fixed;inset:0;z-index:9998;background:#0008}.vtxm-menu-open #contentwrapper{transform:translateX(250px)}
.vtxm-map>button{display:block;width:100%;font:inherit;color:inherit;padding:20px;background:#f2f2f2}.vtxm-map-panel{padding:30px;text-align:center}.vtxm-map-panel button{font:inherit;padding:12px 20px;background:#0c1618;color:white}.vtxm-map-panel iframe{width:100%;height:400px;border:0}
/* Keep native form semantics while matching the original field layout. */
.formbody .widget-text{float:left;width:51%;padding:6.12% 1.02% 1.02%;margin-left:-1%}
.formbody .widget-text+.widget-text{margin-left:0;margin-right:-1%}
.formbody .widget-text label,.formbody .widget-textarea label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#footer_second .widget-text input:focus-visible,
#footer_second .widget-textarea textarea:focus-visible {
  outline: 0;
}
.formbody .widget-textarea,.formbody .widget-checkbox,.formbody .widget-captcha,.formbody .widget-submit,.formbody .widget-explanation{clear:both}
.formbody .widget-explanation{margin:0}.formbody .widget-checkbox label{display:inline}.formbody input.checkbox{width:auto;height:auto}.formbody .error{color:#a80000}.formbody .confirm:empty,.widget-html:empty{display:none}
@media(max-width:767px){.vtxm-hero{height:15.486111vw}.formbody .widget-text,.formbody .widget-text+.widget-text{float:none;width:100%;margin:0;padding:6% 1% 1%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.parallax-bg{background-attachment:scroll}}

@media(max-width:990px),screen and (min-device-width:721px) and (max-device-width:1024px){#nav-open-btn{padding:0;border:0;background:transparent;height:70px;font-size:0;line-height:0;vertical-align:middle}}

.formbody .widget-submit{padding-top:23px}
@media(max-width:990px),screen and (min-device-width:721px) and (max-device-width:1024px){#header{height:70px}}

.vtxm-map>button.gmap-trigger{border:0;line-height:23px}
@media(max-width:990px),screen and (min-device-width:721px) and (max-device-width:1024px){#nav-open-btn{position:absolute;right:0;top:0;width:60px;z-index:101}}
@media(max-width:990px){.formbody .widget-text{padding-top:0;padding-bottom:0}}
@media(max-width:767px){.formbody .widget-text,.formbody .widget-text+.widget-text{width:102%;margin:0 0 10px -1%;padding:0 1.02%}}

.vtxm-mobile-nav #off_canvas{min-height:100%}
@media(max-width:990px){.formbody .widget-text{margin-bottom:10px}}

#footer_second .form-confirmation{max-width:900px;margin:50px auto;text-align:center}

html{scroll-behavior:auto}
.gmap-content{overflow:hidden}#gmap{width:100%}
#contentwrapper,.vtxm-mobile-nav{transition:transform .2s cubic-bezier(.16,.68,.43,.99)}

.vtxm-mobile-nav{transform:translateX(-250px)}.vtxm-menu-open .vtxm-mobile-nav{transform:translateX(0)}

/* Let the intro copy use a wider measure than the headline. */
#wrap_start-vtx,
#wrap_start-vtx .mod_article:has(#teasertext),
#teasertext,
#teasertext > .customelement_layout_text_bild {
  display: flow-root;
  overflow: visible;
}

#teasertext .ext_txtpic {
  margin-inline: calc((100% - min(680px, 100vw - 40px)) / 2);
}

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) or (-webkit-background-clip: text) {
    #teasertext h1 > .vtxm-text-fill {
      --vtxm-fill-tile: 270px;
      --vtxm-fill-olive: rgb(72, 70, 59);
      background-image: linear-gradient(135deg,
        #151515 0 25%,
        #c9c8c4 25% 25.8%,
        var(--vtxm-fill-olive) 25.8% 50%,
        #151515 50% 75%,
        var(--vtxm-fill-olive) 75% 100%);
      background-size: var(--vtxm-fill-tile) var(--vtxm-fill-tile);
      background-repeat: repeat;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      animation: vtxm-headline-fill 4.5s linear infinite;
    }
  }
}

@keyframes vtxm-headline-fill {
  from { background-position: 0 0; }
  to { background-position: calc(0px - var(--vtxm-fill-tile)) 0; }
}

/* Keep the original slide area while reducing upscaling of the 250 px images. */
#wrap_referenzen-vtx [data-vtxm-carousel] figure.image_container {
  display: grid;
  place-items: center;
  aspect-ratio: 250 / 137;
}

#wrap_referenzen-vtx [data-vtxm-carousel] .image_container img {
  width: min(160px, 100%);
}

@media (max-width: 600px) {
  #wrap_referenzen-vtx:has(.vtxm-projects) {
    padding-top: 48px !important;
  }
}

#wrap_serviceboxen-vtx .servicebox > i {
  background-color: #0c1618;
  transition: none;
}

#wrap_serviceboxen-vtx .servicebox > i::after {
  content: none;
}

@media (hover: hover) and (pointer: fine) {
  #wrap_serviceboxen-vtx .servicebox:hover > i {
    background-color: #48463b;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #wrap_serviceboxen-vtx .servicebox > i {
    transition: background-color 180ms ease-out;
  }

  #wrap_serviceboxen-vtx .servicebox > i::before {
    transition: transform 180ms ease-out;
  }

  #wrap_serviceboxen-vtx .servicebox:hover > i::before {
    transform: translateY(-3px);
  }
}

/* The public stylesheet offsets these service boxes by their full size. */
.servicebox.animated.fadeInLeft {
  animation-name: serviceFadeInLeft;
}

.servicebox.animated.fadeInUp {
  animation-name: serviceFadeInUp;
}

.servicebox.animated.fadeInRight {
  animation-name: serviceFadeInRight;
}

@keyframes serviceFadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes serviceFadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes serviceFadeInRight {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Menu state is shared by the drawer, its contents and keyboard handling. */
html:has(body.vtxm-menu-open) { overflow: hidden; }
.vtxm-mobile-nav { overscroll-behavior: contain; }
#off_canvas .vtxm-menu-close {
  display: block;
  width: 48px;
  height: 48px;
  margin: 8px 10px 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 32px/1 sans-serif;
}
#off_canvas nav.mainmenu { margin-top: 0; }
#off_canvas nav.mainmenu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  box-sizing: border-box;
}
#off_canvas :is(button,a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
  #contentwrapper, .vtxm-mobile-nav { transition: none; }
}

/* Reserve space below the existing fixed mobile header. */
@media (max-width: 990px) {
  body.home #header_after:has(.vtxm-hero) { padding-top: 70px; }
  body.home .vtxm-hero { height: clamp(105px, 22vw, 155px); }
  body.home .vtxm-hero video { object-position: 50% 50%; }
}

#footer .phonelink { display: inline-block; }
#footer .phonelink .phone { display: block; }
#bottom:has(.vtxm-footer-social) > .inside {
  padding: 34px 20px;
}
@media (max-width: 600px) {
  #bottom:has(.vtxm-footer-social) > .inside { padding-block: 20px; }
}
#bottom .vtxm-footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
#bottom .vtxm-footer-social a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
#bottom .vtxm-footer-social img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
#bottom .vtxm-footer-social a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #bottom .vtxm-footer-social img { transition: transform 140ms ease-out; }
  #bottom .vtxm-footer-social a:hover img { transform: translateY(-2px); }
}
#bottom .vtxm-footer-social + .contentbox {
  margin: 10px 0 0;
  text-wrap: balance;
}
#bottom .vtxm-footer-social + .contentbox::before {
  content: "";
  display: block;
  width: min(185px, 65%);
  height: 1px;
  margin: 0 auto 12px;
  background: #343434;
}

#footer_second .contact-mainform :is(input.text,textarea,input.captcha) { border-color: #858585; }
#footer_second .contact-mainform :is(input,textarea)::placeholder { color: #696969; opacity: 1; }
#footer_second .contact-mainform :is(input,textarea):focus-visible {
  outline: 2px solid #434c4c;
  outline-offset: 2px;
}
#footer_second .contact-mainform :is(input.text, textarea, input.captcha):focus {
  border-color: #203437;
  outline: none;
  box-shadow: inset 0 0 0 1px #203437;
  transition: none;
}
@media (forced-colors: active) {
  #footer_second .contact-mainform :is(input.text, textarea, input.captcha):focus {
    border-color: Highlight;
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }
}

/* Decorative separator above the contact introduction. */
.vtxm-contact-intro .ext_txtpic_headline:empty {
  --quote-size: 28px;
  position: relative;
  height: calc(20px + 1.4 * 23px);
  margin-bottom: 45px;
  color: #2b2b2b;
}
.vtxm-contact-intro .ext_txtpic_headline:empty::before {
  content: "\275c" / "";
  position: absolute;
  bottom: -19px;
  left: calc(50% - 11px);
  width: 1em;
  font: normal var(--quote-size)/1 icons;
  text-align: center;
}
.vtxm-contact-intro .ext_txtpic_headline:empty::after {
  content: "";
  position: absolute;
  top: calc(100% + 10px);
  left: calc(50% - 113px);
  box-sizing: content-box;
  width: 65px;
  height: 1px;
  border-inline: 82px solid currentColor;
}
@media (max-width: 990px) {
  .vtxm-contact-intro .ext_txtpic_headline:empty {
    --quote-size: 26px;
    height: calc(20px + 1.4 * 22px);
  }
}
@media (max-width: 767px) {
  .vtxm-contact-intro .ext_txtpic_headline:empty {
    --quote-size: 22px;
    height: calc(20px + 1.4 * 19px);
  }
}
#footer_second .contact-mainform .widget-explanation p { text-align: start; }

@media (max-width: 600px) {
  #wrap_serviceboxen-vtx { padding-top: 42px !important; padding-bottom: 21px !important; }
  #wrap_serviceboxen-vtx .servicebox { padding-block: 12px !important; }
  #wrap_serviceboxen-vtx .servicebox i { margin-bottom: 20px; }
  #wrap_servicepoints-vtx { padding-block: 68px !important; }
  #wrap_rezeption-vtx { padding-top: 64px !important; }

  .vtxm-process-mobile h3 { margin: 0; padding: 0; }
  .vtxm-process-mobile h3 button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 8px 14px;
    border: 0;
    border-bottom: 1px solid #0c1618;
    border-radius: 0;
    background: transparent;
    color: #0c1618;
    font: 600 22px/1.2 'Teko', sans-serif;
    text-align: start;
  }
  .vtxm-process-mobile button::after { content: '+'; }
  .vtxm-process-mobile button[aria-expanded=true] { color: #fff; background: #0c1618; }
  .vtxm-process-mobile button[aria-expanded=true]::after { content: '−'; }
  .vtxm-process-mobile button:focus-visible { outline-offset: -4px; }
  #wrap_rezeption-vtx .vtxm-process-mobile .panes { margin: 0; padding: 16px 0; }
  #wrap_rezeption-vtx .vtxm-process-mobile .ext_txtpic.col_left { row-gap: 12px; }
  #wrap_rezeption-vtx .vtxm-process-mobile .ext_txtpic_text { grid-row: 1; }
  #wrap_rezeption-vtx .vtxm-process-mobile .image_container { width: 98px; }
}

@media (width > 600px) {
  /* Let the raised first line use the space above a tall text column. */
  #wrap_rezeption-vtx [data-vtxm-tabs] :is(.vtxm-textimage, .customelement_layout_text_bild, .ext_txtpic.col_left) {
    overflow: visible;
  }

  #wrap_rezeption-vtx [data-vtxm-tabs] .ext_txtpic.col_left > .ext_txtpic_text {
    translate: 0 -12px;
  }
}
