/* Stadio site layer, loaded after the base stylesheets on every page. */

/* Buttons: the template's hover slid the label out and an empty copy in, so the
   text vanished. Keep the label in place; show the hover with a soft light
   tint, a small lift and the arrow nudging right. */
.button_content-wrapper > .kontakt,
.button_content-wrapper > .icon-in-button:not(.absolute) {
  transform: none !important;
  transition: transform .25s ease !important;
}
.button_content-wrapper > .cta_text-absolute,
.button_content-wrapper > .icon-in-button.absolute { display: none !important; }
.button.is-icon {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.button.is-icon::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #fff; opacity: 0; transition: opacity .25s ease;
}
.button.is-icon:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(8, 10, 7, .18); }
.button.is-icon:hover::after { opacity: .12; }
.button.is-icon:hover .button_content-wrapper > .icon-in-button:not(.absolute) {
  transform: translateX(4px) !important;
}
.button.is-icon:focus-visible { outline: 2px solid #a5c686; outline-offset: 2px; }

/* "Ihre Veranstaltung im Stadio" (homepage): the photos drift up beside the
   text instead of across it. Each list keeps to its own side. The section is
   hidden below 992px by the base CSS. */
@media screen and (min-width: 992px) {
  .cta_content { max-width: min(48rem, 52vw); z-index: 2; }
  .cta_images-wrapper { left: 0; right: auto; width: 24vw; }
  .cta_images-wrapper.images-wrapper-right { left: auto; right: 0; width: 24vw; }
  .cta_image-list { align-items: center; grid-row-gap: 14vh; row-gap: 14vh; }
  .cta_image-list.image-list-right { padding-top: 22vh; }
  .cta_image-wrapper,
  .cta_image-wrapper.is-image-1, .cta_image-wrapper.is-image-2,
  .cta_image-wrapper.is-image-3, .cta_image-wrapper.is-image-4,
  .cta_image-wrapper.is-image-5, .cta_image-wrapper.is-image-6 {
    width: 19vw; left: auto; right: auto; margin-top: 0; padding-top: 0;
    aspect-ratio: 4 / 5; opacity: 1;
  }
  .cta_image-wrapper.is-image-2, .cta_image-wrapper.is-image-4,
  .cta_image-wrapper.is-image-6 { width: 15vw; }
  .cta_image { height: 100%; object-fit: cover; }
}

/* Visual editor only. The editor stamps data-tp-id on every element and runs
   no page scripts; the live site never has the attribute. Show the hero photo
   grid un-zoomed and let the event photos flow below the text, so every photo
   can be clicked and swapped. */
.header_images-layout[data-tp-id] { transform: none !important; }
.cta_content-wrapper[data-tp-id] { overflow: visible; }
.cta_image-list[data-tp-id] { padding-top: 0; }
