/* ===== SUPER FULLWIDTH FIX (Block Themes / Twenty Twenty-Five / WooCommerce templates) =====
   Ziel: Der Slider soll IMMER bis an den Browser-Rand gehen – unabhängig von "Global Padding",
   constrained layouts oder Content-Wrappern.
*/
body .wp-site-blocks .msahero-tt5-wrapper.alignfull,
body .wp-site-blocks .wp-block-post-content .msahero-tt5-wrapper.alignfull,
body .wp-site-blocks .wp-block-template-part .msahero-tt5-wrapper.alignfull,
body .wp-site-blocks .wp-block-shortcode .msahero-tt5-wrapper.alignfull,
body .entry-content .msahero-tt5-wrapper.alignfull{
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;

  /* Breakout: echte Viewport-Breite */
  width: 100vw !important;
  max-width: 100vw !important;

  /* Center + translate ist in der Praxis robuster als margin-calc (insb. mit Root Padding) */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* Fallback für Browser ohne overflow-x: clip */
@supports not (overflow-x: clip){
  body .wp-site-blocks .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-post-content .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-template-part .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-shortcode .msahero-tt5-wrapper.alignfull,
  body .entry-content .msahero-tt5-wrapper.alignfull{
    overflow-x: hidden !important;
  }
}

/* iOS/Safari: dynamische Viewport-Units (verhindert "safe area" / UI-Bars Effekte) */
@supports (width: 100dvw){
  body .wp-site-blocks .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-post-content .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-template-part .msahero-tt5-wrapper.alignfull,
  body .wp-site-blocks .wp-block-shortcode .msahero-tt5-wrapper.alignfull,
  body .entry-content .msahero-tt5-wrapper.alignfull{
    width: 100dvw !important;
    max-width: 100dvw !important;
  }
}

.msahero-breakout{
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ===== Slider ===== */
.msahero-slider{
  position: relative;
  width: 100%;
  overflow: hidden;
  --msahero-transition-duration: 950ms;
  --msahero-transition-ease: cubic-bezier(.22,1,.36,1);
}

.msahero-slides{
  position: relative;
  width: 100%;
  height: var(--msahero-h-desktop, 70vh);
  min-height: min(420px, var(--msahero-h-desktop, 70vh));
}

.msahero-slide{
  position: absolute;
  inset: 0;

  /* Background (v1.5 – responsive via CSS vars)
     Standard war "cover" (= Bild wird beschnitten).
     Wunsch: komplettes Bild sichtbar, aber ohne "schwarze Ränder".
     Lösung:
       - Blur/Cover-Background als Füllfläche (Pseudo-Element)
       - Darüber ein echtes <img> mit object-fit: contain (komplett sichtbar)
     Video-Slides bleiben unverändert (Video nutzt object-fit: cover).
  */
  background: none;

  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity var(--msahero-transition-duration, 950ms) ease,
    transform var(--msahero-transition-duration, 950ms) var(--msahero-transition-ease, ease);

  /* Unsichtbare Slides dürfen keine Klicks abfangen */
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}


/* ===== Bildmodus: Full-Bleed (volle Breite/Fläche, ggf. Zuschnitt) ===== */
.msahero-slider.msahero-mode-immersive .msahero-slide{
  background-image: var(--msahero-bg-desktop);
  background-size: cover;
  background-position: var(--msahero-bg-pos-desktop, center);
  background-repeat: no-repeat;
}
.msahero-slider.msahero-mode-immersive .msahero-slide.has-video{
  background-image: none;
}
/* In Full-Bleed Modus wird kein zusätzliches <img> Layer benötigt */
.msahero-slider.msahero-mode-immersive .msahero-img-fit{ display:none !important; }


/* ===== Adaptive Auto (mischt Full-Bleed & Logo-Safe je nach Bildformat) ===== */
.msahero-slider.msahero-mode-adaptive .msahero-slide{
  /* nutze die gleiche BG-Quelle wie immersive */
  background-image: var(--msahero-bg-desktop);
  background-size: cover;
  background-position: var(--msahero-bg-pos-mobile, center);
  background-repeat: no-repeat;
}
.msahero-slider.msahero-mode-adaptive .msahero-slide.has-video{
  background-image: none;
}
/* Smart-Fill Layer (aktiv, wenn JS auf contain schaltet) */
.msahero-slider.msahero-mode-adaptive .msahero-slide:not(.has-video)::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--msahero-bg-desktop);
  background-size: cover;
  background-position: var(--msahero-bg-pos-desktop, center);
  filter: blur(18px);
  transform: scale(1.08);
  z-index: 0;
  opacity: 0; /* wird bei contain sichtbar */
  transition: opacity 220ms ease;
}
.msahero-slider.msahero-mode-adaptive .msahero-slide.is-contain::before{
  opacity: 1;
}
.msahero-slider.msahero-mode-adaptive .msahero-img-fit{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: var(--msahero-focal-pos-desktop, 50% 50%);
  z-index: 0;
  backface-visibility: hidden;
}
.msahero-slider.msahero-mode-adaptive .msahero-img-fit.is-cover{
  object-fit: cover;
}
.msahero-slider.msahero-mode-adaptive .msahero-img-fit.is-contain{
  object-fit: contain;
}

/* ===== Vollbild sichtbar (ohne schwarze Balken) – nur für Bild-Slides ===== */
.msahero-slider.msahero-mode-logo_safe .msahero-slide:not(.has-video)::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--msahero-bg-desktop);
  background-size: cover;
  background-position: var(--msahero-bg-pos-desktop, center);
  filter: blur(18px);
  transform: scale(1.08);
  z-index: 0;
}

.msahero-slider.msahero-mode-logo_safe .msahero-img-fit{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  /* leichte Glättung gegen "Flicker" beim Fade */
  backface-visibility: hidden;
}

.msahero-slide.is-active{
  opacity: 1;
  transform: scale(1);

  /* Nur der aktive Slide ist klickbar */
  pointer-events: auto;
  z-index: 2;
}

/* ===== Video-Kompatibilität =====
   Einige Browser (v.a. Safari/iOS) haben Rendering-Probleme mit <video> in transformierten Containern.
   Für Slides mit Video deaktivieren wir daher das Zoom-Transform, damit Videos zuverlässig sichtbar/abspielbar sind.
*/
.msahero-slide.has-video{
  transform: none;
  transition: opacity var(--msahero-transition-duration, 950ms) ease;
  background-color: #000;
}

.msahero-slide.has-video.is-active{
  transform: none;
}

/* ===== Video Background (optional pro Slide) ===== */
.msahero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Video soll keine Klicks abfangen (Buttons/Links darüber bleiben nutzbar) */
  pointer-events: none;
}

/* Fallback-Playbutton, falls Autoplay vom Browser geblockt wird */
.msahero-video-playgate{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  z-index: 9;
  cursor: pointer;
}

.msahero-video-playgate:hover{
  background: rgba(0,0,0,.50);
}

/* ===== Overlay & Content ===== */
.msahero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;

  /* über Video / Background */
  z-index: 1;
  /* Overlay soll Video-Controls nicht blockieren */
  pointer-events: none;

  /* Default Overlay – wird vom JS nur gesetzt, wenn kein per-Slide Style vorhanden ist */
  background: linear-gradient(
    to right,
    var(--msahero-overlay-color-1, rgba(0,0,0,.65)),
    var(--msahero-overlay-color-2, rgba(0,0,0,0))
  );
}

/* Overlay deaktiviert (pro Slide) */
.msahero-overlay-disabled{
  background: none !important;
}

/* ===== Content ===== */
.msahero-content{
  max-width: var(--msahero-text-width, 520px);
  padding: 64px;

  /* über Overlay */
  position: relative;
  z-index: 2;

  /* Content bleibt klickbar, obwohl Overlay pointer-events: none hat */
  pointer-events: auto;

  /* Textfarbe */
  color: var(--msahero-text-color, #ffffff);
}

.msahero-align-left{ margin-right:auto; }
.msahero-align-center{ margin:0 auto; text-align:center; }
.msahero-align-right{ margin-left:auto; text-align:right; }

/* ===== Typography (v1.5 – per Slide via CSS vars) ===== */
.msahero-subtitle{
  font-size: var(--msahero-subtitle-size, .8rem);
  letter-spacing: .22em;
  opacity: .85;
  margin-bottom: 16px;

  /* Subtitle als Akzent */
  color: var(--msahero-button-text, var(--msahero-accent-color, #E7791A));
}

.msahero-headline{
  font-size: var(--msahero-headline-size, 2.6rem);
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 18px;
}

.msahero-text{
  font-size: var(--msahero-text-size, .95rem);
  line-height: 1.55;
  opacity: .9;
  margin-bottom: 24px;
}

/* ===== Text Animation (v1.5) ===== */
.msahero-content.msahero-anim-fadeup{ --msahero-anim-x: 0px; --msahero-anim-y: 14px; --msahero-anim-scale: 1; }
.msahero-content.msahero-anim-fade{ --msahero-anim-x: 0px; --msahero-anim-y: 0px; --msahero-anim-scale: 1; }
.msahero-content.msahero-anim-slideleft{ --msahero-anim-x: -18px; --msahero-anim-y: 0px; --msahero-anim-scale: 1; }
.msahero-content.msahero-anim-slideright{ --msahero-anim-x: 18px; --msahero-anim-y: 0px; --msahero-anim-scale: 1; }
.msahero-content.msahero-anim-zoom{ --msahero-anim-x: 0px; --msahero-anim-y: 0px; --msahero-anim-scale: .98; }

/* Initial */
.msahero-content:not(.msahero-anim-off) .msahero-subtitle,
.msahero-content:not(.msahero-anim-off) .msahero-headline,
.msahero-content:not(.msahero-anim-off) .msahero-text,
.msahero-content:not(.msahero-anim-off) .msahero-btn{
  opacity: 0;
  transform: translate(var(--msahero-anim-x, 0px), var(--msahero-anim-y, 14px)) scale(var(--msahero-anim-scale, 1));
  will-change: transform, opacity;
}

/* Visible on active slide */
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-subtitle,
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-headline,
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-text,
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-btn{
  opacity: 1;
  transform: translate(0px, 0px) scale(1);
  transition-property: opacity, transform;
  transition-duration: var(--msahero-anim-duration, 600ms);
  transition-timing-function: ease;
}

/* Element-specific delays */
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-subtitle{ transition-delay: var(--msahero-delay-subtitle, 100ms); }
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-headline{ transition-delay: var(--msahero-delay-headline, 200ms); }
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-text{ transition-delay: var(--msahero-delay-text, 350ms); }
.msahero-slide.is-active .msahero-content:not(.msahero-anim-off) .msahero-btn{ transition-delay: var(--msahero-delay-button, 500ms); }

/* Animation aus */
.msahero-content.msahero-anim-off .msahero-subtitle,
.msahero-content.msahero-anim-off .msahero-headline,
.msahero-content.msahero-anim-off .msahero-text,
.msahero-content.msahero-anim-off .msahero-btn{
  opacity: 1;
  transform: none;
  transition: none;
}

/* ===== Button ===== */
.msahero-btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--msahero-button-border, var(--msahero-accent-color, #E7791A));
  text-decoration: none;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}

.msahero-btn-label{ display:inline-block; }

.msahero-btn-icon svg{
  width: 18px;
  height: 18px;
  display: block;
}

/* Varianten */
.msahero-btn--outline{
  background: var(--msahero-button-bg, transparent);
  color: var(--msahero-button-text, var(--msahero-accent-color, #E7791A));
}

.msahero-btn--outline:hover{
  background: var(--msahero-button-hover-bg, color-mix(in srgb, var(--msahero-accent-color) 20%, transparent));
  color: var(--msahero-button-hover-text, var(--msahero-button-text, var(--msahero-accent-color, #E7791A)));
  border-color: var(--msahero-button-hover-border, var(--msahero-button-border, var(--msahero-accent-color, #E7791A)));
}

.msahero-btn--solid{
  background: var(--msahero-button-bg, var(--msahero-accent-color, #E7791A));
  color: var(--msahero-button-text, #0b1220);
}

.msahero-btn--solid:hover{
  background: var(--msahero-button-hover-bg, color-mix(in srgb, var(--msahero-accent-color) 86%, #000));
  color: var(--msahero-button-hover-text, var(--msahero-button-text, #0b1220));
  border-color: var(--msahero-button-hover-border, var(--msahero-button-border, var(--msahero-accent-color, #E7791A)));
}

/* Fallback: ohne Variant-Klasse wie outline */
.msahero-btn:not(.msahero-btn--solid):not(.msahero-btn--outline){
  background: var(--msahero-button-bg, transparent);
  color: var(--msahero-button-text, var(--msahero-accent-color, #E7791A));
}

/* ===== Controls ===== */
.msahero-dots{
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;

  /* über Slides */
  z-index: 10;
}

.msahero-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: none;
}

.msahero-dot.is-active{
  width: 24px;
  background: #fff;
}

.msahero-arrow-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,.65);

  /* über Slides */
  z-index: 10;
}

.msahero-prev{ left: 18px; }
.msahero-next{ right: 18px; }

.msahero-no-dots .msahero-dots{ display:none; }
.msahero-no-arrows .msahero-arrow-btn{ display:none; }

/* ===== Mobile ===== */
@media (max-width:768px){
  .msahero-arrow-btn{
    top: auto;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: none;
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,.34);
    border-color: rgba(255,255,255,.72);
  }

  .msahero-prev{ left: 12px; right: auto; }
  .msahero-next{ right: 12px; left: auto; }

  .msahero-slides{ height: var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh)); min-height: min(340px, var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh))); }

  .msahero-img-fit{ object-position: var(--msahero-focal-pos-mobile, 50% 50%); }

  /* responsive background */
  .msahero-slide{
    background: none;
  }

  .msahero-slider.msahero-mode-immersive .msahero-slide{
    background-image: var(--msahero-bg-mobile, var(--msahero-bg-desktop));
  }

  .msahero-slider.msahero-mode-logo_safe .msahero-slide:not(.has-video)::before{
    background-image: var(--msahero-bg-mobile, var(--msahero-bg-desktop));
  }

  .msahero-content{ padding: 28px 20px 44px; max-width:100%; }

  /* Typography per breakpoint */
  .msahero-subtitle{ font-size: var(--msahero-subtitle-size-mobile, var(--msahero-subtitle-size, .8rem)); }
  .msahero-headline{ font-size: var(--msahero-headline-size-mobile, var(--msahero-headline-size, 2.6rem)); }
  .msahero-text{ font-size: var(--msahero-text-size-mobile, var(--msahero-text-size, .95rem)); }

  /* Mobile Align overrides */
  .msahero-content.msahero-align-mobile-left{ margin-right:auto; margin-left:0; text-align:left; }
  .msahero-content.msahero-align-mobile-center{ margin:0 auto; text-align:center; }
  .msahero-content.msahero-align-mobile-right{ margin-left:auto; margin-right:0; text-align:right; }

  .msahero-btn{
    width: auto;
    min-width: 220px;
    max-width: 90%;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 20px;
  }
}


/* Wenn Controls als Fallback aktiv sind, muss das Video klickbar sein */
.msahero-slide.msahero-video-controls .msahero-video{
  pointer-events: auto;
}


/* ===== v1.6.0 – Content Cards, Device Positions & Premium Transitions ===== */
.msahero-overlay{
  --msahero-overlay-pad-top: clamp(18px, 2vw, 34px);
  --msahero-overlay-pad-right: clamp(18px, 2vw, 34px);
  --msahero-overlay-pad-bottom: clamp(18px, 2vw, 34px);
  --msahero-overlay-pad-left: clamp(18px, 2vw, 34px);
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  grid-template-rows:minmax(0, 1fr);
  padding: var(--msahero-overlay-pad-top) var(--msahero-overlay-pad-right) var(--msahero-overlay-pad-bottom) var(--msahero-overlay-pad-left);
  box-sizing:border-box;
}
.msahero-content[class*="msahero-pos-"]{ margin:0 !important; }
.msahero-content{
  width:min(100%, var(--msahero-text-width, 520px));
  max-width:min(100%, var(--msahero-text-width, 520px));
  margin:0;
  align-self:center;
  justify-self:start;
  box-sizing:border-box;
}
.msahero-content.msahero-content-style-card{
  padding: clamp(22px, 2vw, 32px);
  background: var(--msahero-card-bg, rgba(15,23,42,.72));
  backdrop-filter: blur(var(--msahero-card-blur, 10px));
  -webkit-backdrop-filter: blur(var(--msahero-card-blur, 10px));
  border-radius: var(--msahero-card-radius, 18px);
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.18);
  overflow:hidden;
}
.msahero-content.msahero-content-style-default{
  background:none;
  border:none;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.msahero-content.msahero-pos-desktop-top-left{ align-self:start; justify-self:start; text-align:left; }
.msahero-content.msahero-pos-desktop-top-center{ align-self:start; justify-self:center; text-align:center; }
.msahero-content.msahero-pos-desktop-top-right{ align-self:start; justify-self:end; text-align:right; }
.msahero-content.msahero-pos-desktop-center-left{ align-self:center; justify-self:start; text-align:left; }
.msahero-content.msahero-pos-desktop-center-center{ align-self:center; justify-self:center; text-align:center; }
.msahero-content.msahero-pos-desktop-center-right{ align-self:center; justify-self:end; text-align:right; }
.msahero-content.msahero-pos-desktop-bottom-left{ align-self:end; justify-self:start; text-align:left; }
.msahero-content.msahero-pos-desktop-bottom-center{ align-self:end; justify-self:center; text-align:center; }
.msahero-content.msahero-pos-desktop-bottom-right{ align-self:end; justify-self:end; text-align:right; }
@media (min-width:769px) and (max-width:1024px){
  .msahero-content.msahero-pos-tablet-top-left{ align-self:start; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-tablet-top-center{ align-self:start; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-tablet-top-right{ align-self:start; justify-self:end; text-align:right; }
  .msahero-content.msahero-pos-tablet-center-left{ align-self:center; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-tablet-center-center{ align-self:center; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-tablet-center-right{ align-self:center; justify-self:end; text-align:right; }
  .msahero-content.msahero-pos-tablet-bottom-left{ align-self:end; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-tablet-bottom-center{ align-self:end; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-tablet-bottom-right{ align-self:end; justify-self:end; text-align:right; }
}
@media (max-width:768px){
  .msahero-overlay{
    --msahero-overlay-pad-top: 16px;
    --msahero-overlay-pad-right: 16px;
    --msahero-overlay-pad-bottom: 86px;
    --msahero-overlay-pad-left: 16px;
    padding: var(--msahero-overlay-pad-top) var(--msahero-overlay-pad-right) var(--msahero-overlay-pad-bottom) var(--msahero-overlay-pad-left);
  }
  .msahero-content{ width:min(calc(100% - 4px), var(--msahero-text-width, 520px)); max-width:min(calc(100% - 4px), var(--msahero-text-width, 520px)); }
  .msahero-content.msahero-content-style-card{ padding:20px 18px 22px; }
  .msahero-content.msahero-content-style-default{ padding:28px 20px 44px; }
  .msahero-content.msahero-pos-mobile-top-left{ align-self:start; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-mobile-top-center{ align-self:start; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-mobile-top-right{ align-self:start; justify-self:end; text-align:right; }
  .msahero-content.msahero-pos-mobile-center-left{ align-self:center; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-mobile-center-center{ align-self:center; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-mobile-center-right{ align-self:center; justify-self:end; text-align:right; }
  .msahero-content.msahero-pos-mobile-bottom-left{ align-self:end; justify-self:start; text-align:left; }
  .msahero-content.msahero-pos-mobile-bottom-center{ align-self:end; justify-self:center; text-align:center; }
  .msahero-content.msahero-pos-mobile-bottom-right{ align-self:end; justify-self:end; text-align:right; }
}
.msahero-slider[data-transition-style="fade"] .msahero-slide{
  opacity:0;
  transform:none;
  transition: opacity var(--msahero-transition-duration, 950ms) ease;
}
.msahero-slider[data-transition-style="fade"] .msahero-slide.is-active{
  opacity:1;
  transform:none;
}

.msahero-slider[data-transition-style="wipe_left"] .msahero-slide,
.msahero-slider[data-transition-style="wipe_up"] .msahero-slide{
  opacity:0;
  transform:none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--msahero-transition-duration, 950ms) var(--msahero-transition-ease, cubic-bezier(.22,1,.36,1)), opacity calc(var(--msahero-transition-duration, 950ms) * .4) ease, filter var(--msahero-transition-duration, 950ms) ease;
  will-change: clip-path, opacity, filter;
  z-index:1;
}
.msahero-slider[data-transition-style="wipe_up"] .msahero-slide{
  clip-path: inset(100% 0 0 0);
}
.msahero-slider[data-transition-style="wipe_left"] .msahero-slide.is-prev,
.msahero-slider[data-transition-style="wipe_up"] .msahero-slide.is-prev{
  opacity:1;
  clip-path: inset(0 0 0 0 round 0px);
  transform: translate3d(0,0,0) scale(.992);
  filter: blur(1px) saturate(.98);
  z-index:2;
}
.msahero-slider[data-transition-style="wipe_left"] .msahero-slide.is-active,
.msahero-slider[data-transition-style="wipe_up"] .msahero-slide.is-active{
  opacity:1;
  clip-path: inset(0 0 0 0 round 0px);
  transform: translate3d(0,0,0) scale(1);
  filter:none;
  z-index:3;
}

.msahero-slider[data-transition-style="tiles"] .msahero-slide,
.msahero-slider[data-transition-style="tiles_elegant"] .msahero-slide,
.msahero-slider[data-transition-style="tiles_spectacular"] .msahero-slide{
  opacity:0;
  transform: translate3d(0,0,0) scale(1.018);
  filter: blur(6px) saturate(.96) brightness(.985);
  transition:
    opacity calc(var(--msahero-transition-duration, 950ms) * .4) ease,
    transform var(--msahero-transition-duration, 950ms) cubic-bezier(.16,1,.3,1),
    filter calc(var(--msahero-transition-duration, 950ms) * .7) ease;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  z-index:1;
}
.msahero-slider[data-transition-style="tiles"] .msahero-slide.is-prev,
.msahero-slider[data-transition-style="tiles_elegant"] .msahero-slide.is-prev,
.msahero-slider[data-transition-style="tiles_spectacular"] .msahero-slide.is-prev{
  opacity:1;
  transform: translate3d(0,0,0) scale(.994);
  filter: blur(1px) saturate(.985);
  z-index:2;
}
.msahero-slider[data-transition-style="tiles"] .msahero-slide.is-active,
.msahero-slider[data-transition-style="tiles_elegant"] .msahero-slide.is-active,
.msahero-slider[data-transition-style="tiles_spectacular"] .msahero-slide.is-active{
  opacity:1;
  transform: translate3d(0,0,0) scale(1);
  filter:none;
  z-index:3;
}
.msahero-tile-grid{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:repeat(var(--msahero-tile-cols, 8), 1fr);
  grid-template-rows:repeat(var(--msahero-tile-rows, 4), 1fr);
  gap:0;
  pointer-events:none;
  z-index:4;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.msahero-tile-cell{
  position:relative;
  overflow:hidden;
  transform-style: preserve-3d;
}
.msahero-tile-piece{
  position:absolute;
  inset:0;
  opacity:1;
  transform-origin: var(--tile-origin, 50% 50%);
  transform: rotateX(0deg) rotateY(0deg) translateZ(0) scale(1);
  background:
    linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.10) 34%, rgba(255,255,255,.03) 100%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.10));
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    inset 0 -10px 18px rgba(0,0,0,.06);
  transition:
    transform calc(var(--msahero-transition-duration, 950ms) * .54) cubic-bezier(.22,.88,.22,1),
    opacity calc(var(--msahero-transition-duration, 950ms) * .44) ease-out,
    filter calc(var(--msahero-transition-duration, 950ms) * .46) ease-out,
    box-shadow calc(var(--msahero-transition-duration, 950ms) * .42) ease-out;
  transition-delay: var(--tile-delay, 0ms);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}
.msahero-tile-piece::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 54%);
  opacity:.8;
}
.msahero-tile-piece::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.12) 100%);
  mix-blend-mode:multiply;
  opacity:.65;
}
.msahero-tile-grid.is-animating .msahero-tile-piece{
  opacity:0;
  transform:
    rotateX(var(--tile-rotate-x, 0deg))
    rotateY(var(--tile-rotate-y, 0deg))
    translateZ(var(--tile-depth, 54px))
    scale(var(--tile-scale-end, .9));
  filter: blur(6px) saturate(.96);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.03),
    0 var(--tile-shadow, 22px) calc(var(--tile-shadow, 22px) * 1.3) rgba(0,0,0,.18);
}

.msahero-tile-grid[data-tile-variant="elegant"] .msahero-tile-piece{
  background:
    linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,.12) 34%, rgba(255,255,255,.04) 100%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(0,0,0,.08));
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}
.msahero-tile-grid[data-tile-variant="elegant"].is-animating .msahero-tile-piece{
  filter: blur(4px) saturate(.98);
}
.msahero-tile-grid[data-tile-variant="spectacular"] .msahero-tile-piece{
  background:
    linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.08) 30%, rgba(255,255,255,.02) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.14));
  backdrop-filter: blur(8px) saturate(1.18);
  -webkit-backdrop-filter: blur(8px) saturate(1.18);
}
.msahero-tile-grid[data-tile-variant="spectacular"].is-animating .msahero-tile-piece{
  filter: blur(7px) saturate(.94);
}

@media (max-width: 1024px){
  .msahero-tile-grid{
    perspective: 1300px;
  }
  .msahero-tile-piece{
    backdrop-filter: blur(8px) saturate(1.08);
    -webkit-backdrop-filter: blur(8px) saturate(1.08);
  }
}
@media (max-width: 768px){
  .msahero-tile-grid{
    perspective: 1100px;
  }
  .msahero-tile-piece{
    backdrop-filter: blur(6px) saturate(1.05);
    -webkit-backdrop-filter: blur(6px) saturate(1.05);
  }
}

.msahero-slider[data-transition-style="slide_left"] .msahero-slide,
.msahero-slider[data-transition-style="slide_right"] .msahero-slide{
  opacity:0;
  transition: transform var(--msahero-transition-duration, 950ms) var(--msahero-transition-ease, cubic-bezier(.22,1,.36,1)), opacity calc(var(--msahero-transition-duration, 950ms) * .72) ease;
  will-change: transform, opacity;
}
.msahero-slider[data-transition-style="slide_left"] .msahero-slide{
  transform: translate3d(7.5%, 0, 0) scale(1);
}
.msahero-slider[data-transition-style="slide_right"] .msahero-slide{
  transform: translate3d(-7.5%, 0, 0) scale(1);
}
.msahero-slider[data-transition-style="slide_left"] .msahero-slide.is-prev{
  opacity:0;
  transform: translate3d(-5.5%, 0, 0) scale(1);
  z-index:2;
}
.msahero-slider[data-transition-style="slide_right"] .msahero-slide.is-prev{
  opacity:0;
  transform: translate3d(5.5%, 0, 0) scale(1);
  z-index:2;
}
.msahero-slider[data-transition-style="slide_left"] .msahero-slide.is-active,
.msahero-slider[data-transition-style="slide_right"] .msahero-slide.is-active{
  opacity:1;
  transform: translate3d(0, 0, 0) scale(1);
  z-index:3;
}

.msahero-slider[data-transition-style="split_center"] .msahero-slide{
  opacity:0;
  transform:none;
  clip-path: inset(0 50% 0 50% round 20px);
  transition: clip-path var(--msahero-transition-duration, 950ms) var(--msahero-transition-ease, cubic-bezier(.22,1,.36,1)), opacity calc(var(--msahero-transition-duration, 950ms) * .42) ease;
  will-change: clip-path, opacity;
}
.msahero-slider[data-transition-style="split_center"] .msahero-slide.is-prev{
  opacity:0;
  clip-path: inset(0 0 0 0 round 0px);
  z-index:2;
}
.msahero-slider[data-transition-style="split_center"] .msahero-slide.is-active{
  opacity:1;
  clip-path: inset(0 0 0 0 round 0px);
  z-index:3;
}

.msahero-slider[data-transition-style="cinematic_zoom"] .msahero-slide{
  opacity:0;
  transform: scale(1.12);
  filter: blur(16px) saturate(.92);
  transition: opacity var(--msahero-transition-duration, 950ms) ease, transform var(--msahero-transition-duration, 950ms) var(--msahero-transition-ease, cubic-bezier(.22,1,.36,1)), filter var(--msahero-transition-duration, 950ms) ease;
  will-change: transform, opacity, filter;
}
.msahero-slider[data-transition-style="cinematic_zoom"] .msahero-slide.is-prev{
  opacity:0;
  transform: scale(.96);
  filter: blur(10px) saturate(.95);
  z-index:2;
}
.msahero-slider[data-transition-style="cinematic_zoom"] .msahero-slide.is-active{
  opacity:1;
  transform: scale(1);
  filter: none;
  z-index:3;
}

/* ===== v1.9.1 – Angebotskacheln / 3 Bildkacheln als sauberer Kachel-Strip ===== */
.msahero-offer-tiles{
  width:100%;
  max-width:none;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:0;
  align-self:stretch;
  justify-self:stretch;
  position:relative;
  z-index:3;
  pointer-events:auto;
  box-sizing:border-box;
  overflow:hidden;
  min-height:100%;
  height:100%;
  border-radius:0;
  border:none;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.msahero-offer-tiles--strip::before,
.msahero-offer-tiles--strip::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:1px;
  background:linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.28) 18%, rgba(255,255,255,.28) 82%, rgba(255,255,255,.05) 100%);
  pointer-events:none;
  z-index:4;
}
.msahero-offer-tiles--strip::before{ left:33.3334%; }
.msahero-offer-tiles--strip::after{ left:66.6667%; }

.msahero-overlay-has-offers{
  overflow:hidden;
}
.msahero-overlay-has-offers .msahero-offer-tiles--strip{
  position:absolute;
  top:calc(var(--msahero-overlay-pad-top, 0px) * -1);
  right:calc(var(--msahero-overlay-pad-right, 0px) * -1);
  bottom:calc(var(--msahero-overlay-pad-bottom, 0px) * -1);
  left:calc(var(--msahero-overlay-pad-left, 0px) * -1);
  width:auto;
  min-height:0;
  height:auto;
  margin:0;
  align-self:auto !important;
  justify-self:auto !important;
}
.msahero-overlay-has-offers .msahero-content{
  position:relative;
  z-index:5;
}

.msahero-offer-pos-desktop-top-left{ align-self:start; justify-self:start; }
.msahero-offer-pos-desktop-top-center{ align-self:start; justify-self:center; }
.msahero-offer-pos-desktop-top-right{ align-self:start; justify-self:end; }
.msahero-offer-pos-desktop-center-left{ align-self:center; justify-self:start; }
.msahero-offer-pos-desktop-center-center{ align-self:center; justify-self:center; }
.msahero-offer-pos-desktop-center-right{ align-self:center; justify-self:end; }
.msahero-offer-pos-desktop-bottom-left{ align-self:end; justify-self:start; }
.msahero-offer-pos-desktop-bottom-center{ align-self:end; justify-self:center; }
.msahero-offer-pos-desktop-bottom-right{ align-self:end; justify-self:end; }

.msahero-offer-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:100%;
  height:100%;
  min-width:0;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  opacity:0;
  transform:translate3d(46px, 0, 0);
  transition:
    opacity 580ms cubic-bezier(.22,1,.36,1),
    transform 760ms cubic-bezier(.22,1,.36,1),
    filter 240ms ease,
    background-color 240ms ease;
  will-change:transform, opacity;
}
.msahero-offer-tile + .msahero-offer-tile{
  border-left:1px solid rgba(255,255,255,.14);
}
.msahero-offer-tile:hover{
  filter:brightness(1.04);
}
.msahero-offer-tiles.js-managed .msahero-offer-tile{
  opacity:0;
  transform:translate3d(46px, 0, 0);
}
.msahero-offer-tiles.js-managed .msahero-offer-tile.is-offer-visible{
  opacity:1;
  transform:translate3d(0, 0, 0);
}
.msahero-offer-tiles.js-managed .msahero-offer-tile.is-offer-focus{
  filter:brightness(1.06);
}
.msahero-slide.is-active .msahero-offer-tiles:not(.js-managed) .msahero-offer-tile{
  opacity:1;
  transform:translate3d(0, 0, 0);
}
.msahero-slide.is-active .msahero-offer-tiles:not(.js-managed) .msahero-offer-tile:nth-child(1){ transition-delay:120ms; }
.msahero-slide.is-active .msahero-offer-tiles:not(.js-managed) .msahero-offer-tile:nth-child(2){ transition-delay:260ms; }
.msahero-slide.is-active .msahero-offer-tiles:not(.js-managed) .msahero-offer-tile:nth-child(3){ transition-delay:400ms; }
.msahero-slide.is-prev .msahero-offer-tile,
.msahero-slide:not(.is-active) .msahero-offer-tile{
  opacity:0;
}
.msahero-offer-tile-media{
  position:absolute;
  inset:0;
  overflow:hidden;
  background:#0b1220;
}
.msahero-offer-tile-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(4,8,18,.04) 0%, rgba(4,8,18,.06) 34%, rgba(4,8,18,.26) 68%, rgba(4,8,18,.62) 100%);
}
.msahero-offer-tile-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 520ms cubic-bezier(.22,1,.36,1);
}
.msahero-offer-tile:hover .msahero-offer-tile-media img,
.msahero-offer-tile.is-offer-focus .msahero-offer-tile-media img{
  transform:scale(1.035);
}
.msahero-offer-tile-body{
  position:relative;
  margin-top:auto;
  min-height:100%;
  padding:22px 22px 22px;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:8px;
  background:linear-gradient(180deg, rgba(7,10,18,0) 0%, rgba(7,10,18,.10) 28%, rgba(7,10,18,.32) 56%, rgba(7,10,18,.84) 100%);
}
.msahero-offer-tile-title{
  font-size:1.18rem;
  line-height:1.15;
  font-weight:800;
  letter-spacing:.01em;
  text-wrap:balance;
}
.msahero-offer-tile-text{
  font-size:.95rem;
  line-height:1.4;
  opacity:.96;
}


@media (min-width:769px) and (max-width:1024px){
  .msahero-offer-tiles{ width:100%; max-width:none; justify-self:stretch; }
  .msahero-offer-pos-tablet-top-left{ align-self:start; justify-self:start; }
  .msahero-offer-pos-tablet-top-center{ align-self:start; justify-self:center; }
  .msahero-offer-pos-tablet-top-right{ align-self:start; justify-self:end; }
  .msahero-offer-pos-tablet-center-left{ align-self:center; justify-self:start; }
  .msahero-offer-pos-tablet-center-center{ align-self:center; justify-self:center; }
  .msahero-offer-pos-tablet-center-right{ align-self:center; justify-self:end; }
  .msahero-offer-pos-tablet-bottom-left{ align-self:end; justify-self:start; }
  .msahero-offer-pos-tablet-bottom-center{ align-self:end; justify-self:center; }
  .msahero-offer-pos-tablet-bottom-right{ align-self:end; justify-self:end; }
  .msahero-offer-tile{ min-height:100%; height:100%; }
  .msahero-offer-tile-body{ padding:18px 18px 18px; }
  .msahero-offer-tile-title{ font-size:1rem; }
  .msahero-offer-tile-text{ font-size:.84rem; }
}

@media (max-width:768px){
  .msahero-offer-tiles{
    width:100%;
    grid-template-columns:1fr;
  }
  .msahero-offer-tiles--strip::before,
  .msahero-offer-tiles--strip::after{ display:none; }
  .msahero-offer-pos-mobile-top-left{ align-self:start; justify-self:start; }
  .msahero-offer-pos-mobile-top-center{ align-self:start; justify-self:center; }
  .msahero-offer-pos-mobile-top-right{ align-self:start; justify-self:end; }
  .msahero-offer-pos-mobile-center-left{ align-self:center; justify-self:start; }
  .msahero-offer-pos-mobile-center-center{ align-self:center; justify-self:center; }
  .msahero-offer-pos-mobile-center-right{ align-self:center; justify-self:end; }
  .msahero-offer-pos-mobile-bottom-left{ align-self:end; justify-self:start; }
  .msahero-offer-pos-mobile-bottom-center{ align-self:end; justify-self:center; }
  .msahero-offer-pos-mobile-bottom-right{ align-self:end; justify-self:end; }
  .msahero-offer-tile{
    min-height:0;
    height:auto;
    transform:translate3d(0, 30px, 0);
  }
  .msahero-offer-tile + .msahero-offer-tile{
    border-left:none;
    border-top:1px solid rgba(255,255,255,.14);
  }
  .msahero-offer-tile-media{ inset:0; }
  .msahero-offer-tile-body{ padding:14px 14px 15px; }
  .msahero-offer-tile-title{ font-size:.96rem; }
  .msahero-offer-tile-text{ font-size:.8rem; }
}



/* ===== v1.9.7 – Mobile Angebotskacheln wieder untereinander ===== */
@media (min-width:769px) and (max-width:1024px){
  .msahero-offer-tiles{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    grid-template-rows:repeat(2, minmax(0, 1fr));
  }
  .msahero-offer-tile:nth-child(3){
    grid-column:1 / -1;
  }
  .msahero-offer-tiles--strip::before{
    left:50%;
  }
  .msahero-offer-tiles--strip::after{
    display:none;
  }
}

@media (max-width:768px){
  .msahero-overlay-has-offers .msahero-content{
    padding-bottom:calc(clamp(228px, 34vh, 320px) + 24px);
  }

  .msahero-overlay-has-offers .msahero-offer-tiles--strip{
    top:auto;
    right:0;
    bottom:0;
    left:0;
    height:clamp(228px, 34vh, 320px);
    min-height:clamp(228px, 34vh, 320px);
  }

  .msahero-offer-tiles{
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:repeat(3, minmax(0, 1fr));
    min-height:clamp(228px, 34vh, 320px);
    height:clamp(228px, 34vh, 320px);
  }

  .msahero-offer-tiles--strip::before,
  .msahero-offer-tiles--strip::after{
    display:none;
  }

  .msahero-offer-tile{
    position:relative;
    inset:auto;
    min-height:0;
    height:100%;
    opacity:1;
    transform:translate3d(0, 0, 0);
  }

  .msahero-offer-tiles.js-managed .msahero-offer-tile{
    opacity:1;
    transform:none;
  }

  .msahero-offer-tile + .msahero-offer-tile{
    border-left:none;
    border-top:1px solid rgba(255,255,255,.12);
  }

  .msahero-offer-tile-media::after{
    background:linear-gradient(180deg, rgba(4,8,18,.04) 0%, rgba(4,8,18,.10) 30%, rgba(4,8,18,.26) 62%, rgba(4,8,18,.74) 100%);
  }

  .msahero-offer-tile-body{
    padding:10px 12px 11px;
    gap:4px;
  }

  .msahero-offer-tile-title{
    font-size:.84rem;
    line-height:1.08;
  }

  .msahero-offer-tile-text{
    font-size:.69rem;
    line-height:1.22;
  }
}

@media (max-width:520px){
  .msahero-overlay-has-offers .msahero-content{
    padding-bottom:calc(clamp(210px, 32vh, 286px) + 22px);
  }

  .msahero-overlay-has-offers .msahero-offer-tiles--strip,
  .msahero-offer-tiles{
    height:clamp(210px, 32vh, 286px);
    min-height:clamp(210px, 32vh, 286px);
  }

  .msahero-offer-tile-title{
    font-size:.78rem;
  }

  .msahero-offer-tile-text{
    font-size:.65rem;
  }
}

/* ============================================================
 * MASTER HEADER OVERLAY OFFSET
 * ============================================================ */
body.mh-has-master-header #master-header.mh-over-hero {
  --mh-hero-header-offset: 110px;
}

body.mh-has-master-header .msahero-slider .msahero-content {
  padding-top: calc(64px + var(--mh-hero-header-offset, 110px));
}

@media (max-width: 1024px) {
  body.mh-has-master-header .msahero-slider .msahero-content {
    padding-top: calc(40px + var(--mh-hero-header-offset, 92px));
  }
}

@media (max-width: 768px) {
  body.mh-has-master-header .msahero-slider .msahero-content {
    padding-top: calc(24px + var(--mh-hero-header-offset, 78px));
  }
}


/* ===== v1.9.8 – Mobile Angebotskacheln über gesamte Bannerhöhe ===== */
@media (max-width:768px){
  .msahero-overlay-has-offers{
    overflow:hidden;
  }

  .msahero-overlay-has-offers .msahero-content{
    padding-top:0 !important;
    padding-right:0 !important;
    padding-bottom:0 !important;
    padding-left:0 !important;
    min-height:100%;
    height:100%;
  }

  .msahero-overlay-has-offers .msahero-offer-tiles--strip{
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    min-height:100%;
    max-height:none;
  }

  .msahero-offer-tiles{
    width:100%;
    height:100%;
    min-height:100%;
    max-height:none;
    grid-template-columns:1fr;
    grid-template-rows:repeat(3, minmax(0, 1fr));
  }

  .msahero-offer-tile{
    min-height:0;
    height:100%;
  }

  .msahero-offer-tile-media,
  .msahero-offer-tile-media img{
    height:100%;
  }

  .msahero-offer-tile-body{
    min-height:100%;
    justify-content:flex-end;
  }
}

/* ===== v1.10.2 – Schräger transparenter Text-Hintergrund links ===== */
.msahero-overlay.msahero-overlay-slant-left{
  padding: 0 !important;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
  align-self: stretch !important;
  justify-self: start !important;
  width: min(58vw, calc(var(--msahero-text-width, 520px) + clamp(120px, 12vw, 240px)));
  max-width: min(58vw, 860px);
  min-width: min(420px, 100%);
  height: 100%;
  min-height: 100%;
  margin: 0 !important;
  padding: clamp(38px, 5vw, 86px) clamp(78px, 8vw, 150px) clamp(38px, 5vw, 86px) clamp(30px, 4vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center !important;
  color: var(--msahero-text-color, #fff);
  background: var(--msahero-card-bg, rgba(15,23,42,.72));
  backdrop-filter: blur(var(--msahero-card-blur, 10px));
  -webkit-backdrop-filter: blur(var(--msahero-card-blur, 10px));
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  border-radius: 0;
  border: 0;
  box-shadow: 30px 0 90px rgba(0,0,0,.26);
  overflow: hidden;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,0) 52%);
  pointer-events: none;
  z-index: -1;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  max-width: var(--msahero-text-width, 520px);
  margin-left: auto;
  margin-right: auto;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  justify-content: center;
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    width: min(66vw, calc(var(--msahero-text-width, 520px) + 170px));
    max-width: 720px;
    padding: clamp(32px, 5vw, 68px) clamp(64px, 8vw, 118px) clamp(32px, 5vw, 68px) clamp(24px, 4vw, 52px);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  }
}

@media (max-width:768px){
  .msahero-overlay.msahero-overlay-slant-left{
    padding: 0 !important;
  }
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    width: min(92vw, calc(100% - 18px));
    max-width: none;
    min-width: 0;
    padding: 30px 58px 76px 24px;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  }
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text{
    max-width: calc(100% - 8px);
  }
}


/* ===== v1.10.3 – Animation für „Schräger Hintergrund links“ ===== */
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background: var(--msahero-card-bg, rgba(15,23,42,.72));
  backdrop-filter: blur(var(--msahero-card-blur, 10px));
  -webkit-backdrop-filter: blur(var(--msahero-card-blur, 10px));
  transform: scaleX(1);
  transform-origin:left center;
  opacity:1;
  pointer-events:none;
  will-change: transform, opacity;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::before{
  z-index:1;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  position:relative;
  z-index:2;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after{
  transform-origin:left center;
}
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  transform-origin:center center;
}

.msahero-slide:not(.is-active):not(.is-prev) .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after,
.msahero-slide:not(.is-active):not(.is-prev) .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  transform:scaleX(0);
  opacity:.94;
}

.msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after{
  animation: msaheroSlantFillLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both;
}
.msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  animation: msaheroSlantExpandCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both;
}

.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after{
  animation: msaheroSlantCollapseLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both;
}
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  animation: msaheroSlantCollapseCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both;
}

.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  animation: msaheroSlantContentFoldOut 360ms ease both;
}

@keyframes msaheroSlantFillLeft{
  0%{ transform:scaleX(0); opacity:.86; }
  100%{ transform:scaleX(1); opacity:1; }
}
@keyframes msaheroSlantExpandCenter{
  0%{ transform:scaleX(0); opacity:.86; }
  100%{ transform:scaleX(1); opacity:1; }
}
@keyframes msaheroSlantCollapseLeft{
  0%{ transform:scaleX(1); opacity:1; }
  100%{ transform:scaleX(0); opacity:.86; }
}
@keyframes msaheroSlantCollapseCenter{
  0%{ transform:scaleX(1); opacity:1; }
  100%{ transform:scaleX(0); opacity:.86; }
}
@keyframes msaheroSlantContentFoldOut{
  0%{ opacity:1; transform:translateX(0); }
  100%{ opacity:0; transform:translateX(-10px); }
}

@media (prefers-reduced-motion: reduce){
  .msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after,
  .msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
    animation:none;
  }
  .msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after,
  .msahero-slide.is-active .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
    transform:scaleX(1);
    opacity:1;
  }
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
    transform:scaleX(0);
    opacity:.86;
  }
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
  .msahero-slide.is-prev .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
    opacity:0;
    transform:none;
  }
}

/* ===== v1.10.5 – Sequenz für „Schräger Hintergrund links“ =====
   Ablauf: alter Hintergrund raus -> Bildwechsel -> neuer Hintergrund rein -> Text sichtbar
*/
.msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  opacity:0 !important;
  transform:translateY(10px) !important;
  transition:opacity 420ms ease, transform 420ms ease !important;
  transition-delay:0ms !important;
}

.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  opacity:1 !important;
  transform:translateY(0) !important;
}

.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantCollapseLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both !important;
}
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantCollapseCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both !important;
}

.msahero-slide.msahero-slant-wait-enter .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::after{
  animation:none !important;
  transform:scaleX(0) !important;
  opacity:.94 !important;
}
.msahero-slide.msahero-slant-wait-enter .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::before{
  opacity:0;
}

.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantFillLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both !important;
}
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantExpandCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both !important;
}

.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn,
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-subtitle,
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-headline,
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-text,
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  opacity:0 !important;
  transform:translateY(10px) !important;
}

@media (prefers-reduced-motion: reduce){
  .msahero-slide.msahero-slant-wait-enter .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::after,
  .msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::after,
  .msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left::after{
    animation:none !important;
  }
}

/* ===== v1.11.0 – Responsive Button-Größen + Text pro Gerät ===== */
.msahero-btn{
  font-size: var(--msahero-btn-font-wide, .86rem);
  padding: var(--msahero-btn-pad-y-wide, 11px) var(--msahero-btn-pad-x-wide, 26px);
  line-height: 1.15;
  white-space: nowrap;
}

.msahero-btn .msahero-btn-label-device{ display:none; }
.msahero-btn .msahero-btn-label-wide{ display:inline-block; }

@media (min-width:1025px) and (max-width:1440px){
  .msahero-btn{
    font-size: var(--msahero-btn-font-desktop, .82rem);
    padding: var(--msahero-btn-pad-y-desktop, 10px) var(--msahero-btn-pad-x-desktop, 22px);
  }
  .msahero-btn .msahero-btn-label-device{ display:none; }
  .msahero-btn .msahero-btn-label-desktop{ display:inline-block; }
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-btn{
    font-size: var(--msahero-btn-font-tablet, .78rem);
    padding: var(--msahero-btn-pad-y-tablet, 10px) var(--msahero-btn-pad-x-tablet, 20px);
  }
  .msahero-btn .msahero-btn-label-device{ display:none; }
  .msahero-btn .msahero-btn-label-tablet{ display:inline-block; }
}

@media (max-width:768px){
  .msahero-btn{
    font-size: var(--msahero-btn-font-mobile, .74rem);
    padding: var(--msahero-btn-pad-y-mobile, 12px) var(--msahero-btn-pad-x-mobile, 18px);
  }
  .msahero-btn .msahero-btn-label-device{ display:none; }
  .msahero-btn .msahero-btn-label-mobile{ display:inline-block; }
}

/* ===== v1.11.0 – Icon-Kurztitel im Hero ===== */
.msahero-feature-badges{
  display:flex;
  align-items:center;
  gap: clamp(18px, 4vw, 64px);
  margin-top: clamp(22px, 4vw, 48px);
  flex-wrap: wrap;
  color: var(--msahero-text-color, #fff);
}

.msahero-feature-badge{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  min-width: 140px;
  position: relative;
  font-weight: 700;
  letter-spacing: -.01em;
}

.msahero-feature-badge + .msahero-feature-badge::before{
  content:"";
  width:1px;
  height:38px;
  background: currentColor;
  opacity:.45;
  position:absolute;
  left: calc(-1 * clamp(10px, 2vw, 32px));
  top:50%;
  transform:translateY(-50%);
}

.msahero-feature-badge-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background: rgba(255,255,255,.95);
  color: var(--msahero-accent-color, #E7791A);
  transform: rotate(45deg);
  box-shadow: 0 12px 28px rgba(0,0,0,.20);
}

.msahero-feature-badge-icon svg{
  width:18px;
  height:18px;
  transform: rotate(-45deg);
}

.msahero-feature-badge-title{
  font-size: clamp(.86rem, 1.05vw, 1rem);
  line-height: 1.2;
  text-shadow: 0 8px 24px rgba(0,0,0,.25);
}

@media (max-width:768px){
  .msahero-feature-badges{
    gap: 12px;
    margin-top: 20px;
  }
  .msahero-feature-badge{
    min-width: calc(50% - 10px);
    gap: 10px;
  }
  .msahero-feature-badge + .msahero-feature-badge::before{
    display:none;
  }
  .msahero-feature-badge-icon{
    width:30px;
    height:30px;
    flex-basis:30px;
  }
  .msahero-feature-badge-icon svg{
    width:16px;
    height:16px;
  }
}

/* Gutenberg Preview Rahmen */
.editor-styles-wrapper .msahero-block-editor-preview .msahero-tt5-wrapper{
  margin-top:0;
  margin-bottom:0;
}


/* ===== v1.11.1 – Icon-Kurztitel über Overlay + nach Schräg-Animation ===== */
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badges{
  position:relative;
  z-index:3;
  max-width:var(--msahero-text-width, 520px);
  margin-left:auto;
  margin-right:auto;
  pointer-events:auto;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge-icon,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge-title{
  position:relative;
  z-index:3;
}

.msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge{
  opacity:0 !important;
  transform:translate3d(0, 14px, 0) scale(.98) !important;
  transition:
    opacity 460ms ease,
    transform 520ms cubic-bezier(.22,1,.36,1),
    filter 520ms ease !important;
  transition-delay:0ms !important;
  filter:blur(3px);
  will-change:opacity, transform, filter;
}

.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge{
  opacity:1 !important;
  transform:translate3d(0, 0, 0) scale(1) !important;
  filter:blur(0);
}

.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge:nth-child(1){ transition-delay:80ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge:nth-child(2){ transition-delay:170ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge:nth-child(3){ transition-delay:260ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge:nth-child(4){ transition-delay:350ms !important; }

.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge,
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge{
  opacity:0 !important;
  transform:translate3d(0, 14px, 0) scale(.98) !important;
  filter:blur(3px);
  transition-delay:0ms !important;
}

@media (prefers-reduced-motion: reduce){
  .msahero-slide .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge,
  .msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge{
    transition:none !important;
    transform:none !important;
    filter:none !important;
  }
}

/* ===== v1.11.2 – Mobile Icon-Kurztitel sauber untereinander ===== */
@media (max-width: 768px){
  .msahero-feature-badges,
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badges{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: fit-content !important;
    max-width: 100% !important;
  }

  .msahero-feature-badge,
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge{
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
  }

  .msahero-feature-badge + .msahero-feature-badge::before,
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-feature-badge + .msahero-feature-badge::before{
    display: none !important;
    content: none !important;
  }
}

/* ===== v1.11.3 – Textausrichtung & Icon-Kurztitel-Größe pro Gerät ===== */
.msahero-content.msahero-text-align-wide-left{ --msahero-current-text-align:left; --msahero-current-items-align:flex-start; --msahero-current-justify:flex-start; --msahero-current-margin-left:0; --msahero-current-margin-right:auto; }
.msahero-content.msahero-text-align-wide-center{ --msahero-current-text-align:center; --msahero-current-items-align:center; --msahero-current-justify:center; --msahero-current-margin-left:auto; --msahero-current-margin-right:auto; }
.msahero-content.msahero-text-align-wide-right{ --msahero-current-text-align:right; --msahero-current-items-align:flex-end; --msahero-current-justify:flex-end; --msahero-current-margin-left:auto; --msahero-current-margin-right:0; }

@media (min-width:1025px) and (max-width:1440px){
  .msahero-content.msahero-text-align-desktop-left{ --msahero-current-text-align:left; --msahero-current-items-align:flex-start; --msahero-current-justify:flex-start; --msahero-current-margin-left:0; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-desktop-center{ --msahero-current-text-align:center; --msahero-current-items-align:center; --msahero-current-justify:center; --msahero-current-margin-left:auto; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-desktop-right{ --msahero-current-text-align:right; --msahero-current-items-align:flex-end; --msahero-current-justify:flex-end; --msahero-current-margin-left:auto; --msahero-current-margin-right:0; }
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-content.msahero-text-align-tablet-left{ --msahero-current-text-align:left; --msahero-current-items-align:flex-start; --msahero-current-justify:flex-start; --msahero-current-margin-left:0; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-tablet-center{ --msahero-current-text-align:center; --msahero-current-items-align:center; --msahero-current-justify:center; --msahero-current-margin-left:auto; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-tablet-right{ --msahero-current-text-align:right; --msahero-current-items-align:flex-end; --msahero-current-justify:flex-end; --msahero-current-margin-left:auto; --msahero-current-margin-right:0; }
}

@media (max-width:768px){
  .msahero-content.msahero-text-align-mobile-left{ --msahero-current-text-align:left; --msahero-current-items-align:flex-start; --msahero-current-justify:flex-start; --msahero-current-margin-left:0; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-mobile-center{ --msahero-current-text-align:center; --msahero-current-items-align:center; --msahero-current-justify:center; --msahero-current-margin-left:auto; --msahero-current-margin-right:auto; }
  .msahero-content.msahero-text-align-mobile-right{ --msahero-current-text-align:right; --msahero-current-items-align:flex-end; --msahero-current-justify:flex-end; --msahero-current-margin-left:auto; --msahero-current-margin-right:0; }
}

.msahero-content[class*="msahero-text-align-"]{
  text-align: var(--msahero-current-text-align, inherit) !important;
  align-items: var(--msahero-current-items-align, initial) !important;
}
.msahero-content[class*="msahero-text-align-"] .msahero-subtitle,
.msahero-content[class*="msahero-text-align-"] .msahero-headline,
.msahero-content[class*="msahero-text-align-"] .msahero-text,
.msahero-content[class*="msahero-text-align-"] .msahero-btn,
.msahero-content[class*="msahero-text-align-"] .msahero-feature-badges{
  margin-left: var(--msahero-current-margin-left, initial) !important;
  margin-right: var(--msahero-current-margin-right, initial) !important;
}
.msahero-content[class*="msahero-text-align-"] .msahero-btn{
  align-self: var(--msahero-current-items-align, auto);
}
.msahero-content[class*="msahero-text-align-"] .msahero-feature-badges{
  justify-content: var(--msahero-current-justify, flex-start) !important;
  align-items: center !important;
}
@media (max-width:768px){
  .msahero-content[class*="msahero-text-align-"] .msahero-feature-badges{
    align-items: var(--msahero-current-items-align, flex-start) !important;
  }
}

.msahero-feature-badge-title{ font-size: var(--msahero-feature-title-size-wide, 1rem) !important; }
.msahero-feature-badge-icon{
  width: var(--msahero-feature-icon-size-wide, 34px) !important;
  height: var(--msahero-feature-icon-size-wide, 34px) !important;
  flex-basis: var(--msahero-feature-icon-size-wide, 34px) !important;
}
.msahero-feature-badge-icon svg{
  width: calc(var(--msahero-feature-icon-size-wide, 34px) * .53) !important;
  height: calc(var(--msahero-feature-icon-size-wide, 34px) * .53) !important;
}
@media (min-width:1025px) and (max-width:1440px){
  .msahero-feature-badge-title{ font-size: var(--msahero-feature-title-size-desktop, .96rem) !important; }
  .msahero-feature-badge-icon{ width: var(--msahero-feature-icon-size-desktop, 32px) !important; height: var(--msahero-feature-icon-size-desktop, 32px) !important; flex-basis: var(--msahero-feature-icon-size-desktop, 32px) !important; }
  .msahero-feature-badge-icon svg{ width: calc(var(--msahero-feature-icon-size-desktop, 32px) * .53) !important; height: calc(var(--msahero-feature-icon-size-desktop, 32px) * .53) !important; }
}
@media (min-width:769px) and (max-width:1024px){
  .msahero-feature-badge-title{ font-size: var(--msahero-feature-title-size-tablet, .90rem) !important; }
  .msahero-feature-badge-icon{ width: var(--msahero-feature-icon-size-tablet, 30px) !important; height: var(--msahero-feature-icon-size-tablet, 30px) !important; flex-basis: var(--msahero-feature-icon-size-tablet, 30px) !important; }
  .msahero-feature-badge-icon svg{ width: calc(var(--msahero-feature-icon-size-tablet, 30px) * .53) !important; height: calc(var(--msahero-feature-icon-size-tablet, 30px) * .53) !important; }
}
@media (max-width:768px){
  .msahero-feature-badge-title{ font-size: var(--msahero-feature-title-size-mobile, .86rem) !important; }
  .msahero-feature-badge-icon{ width: var(--msahero-feature-icon-size-mobile, 30px) !important; height: var(--msahero-feature-icon-size-mobile, 30px) !important; flex-basis: var(--msahero-feature-icon-size-mobile, 30px) !important; }
  .msahero-feature-badge-icon svg{ width: calc(var(--msahero-feature-icon-size-mobile, 30px) * .53) !important; height: calc(var(--msahero-feature-icon-size-mobile, 30px) * .53) !important; }
}

/* Mobile: schräger Hintergrund ca. 25% schmaler */
@media (max-width:768px){
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    width: min(clamp(250px, 69vw, 360px), calc(100% - 74px)) !important;
    padding: 30px 40px 76px 18px !important;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%) !important;
  }
}


/* ===== v1.11.4 – Button-Maximalbreite folgt dem schrägen Hintergrund =====
   Verhindert, dass sehr breite Button-Texte/Paddings auf Mobil aus der schrägen Fläche laufen. */
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
  --msahero-slant-button-safe-cut: clamp(40px, 7vw, 96px);
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: fit-content !important;
  max-width: min(var(--msahero-text-width, 520px), calc(100% - var(--msahero-slant-button-safe-cut, 64px))) !important;
  flex-shrink: 1 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn-label,
.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn-label-device{
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
}

.msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn-icon{
  flex: 0 0 auto !important;
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    --msahero-slant-button-safe-cut: clamp(34px, 7vw, 70px);
  }
}

@media (max-width:768px){
  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    --msahero-slant-button-safe-cut: clamp(26px, 8vw, 44px);
  }

  .msahero-overlay.msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left .msahero-btn{
    width: fit-content !important;
    max-width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
    min-width: 0 !important;
  }
}


/* ===== v1.11.5 – Schräger Hintergrund: Textausrichtung wirklich pro Device übernehmen =====
   Fix: Die Slant-Optik hatte eine stärkere text-align:center-Regel. Dadurch wurden Headline,
   Beschreibung und Button-Inhalt trotz mobiler Linksausrichtung teilweise weiter zentriert. */
.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]{
  text-align: var(--msahero-current-text-align, center) !important;
  align-items: var(--msahero-current-items-align, center) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-subtitle,
.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-headline,
.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-text{
  text-align: var(--msahero-current-text-align, center) !important;
  align-self: var(--msahero-current-items-align, center) !important;
  margin-left: var(--msahero-current-margin-left, auto) !important;
  margin-right: var(--msahero-current-margin-right, auto) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-btn{
  align-self: var(--msahero-current-items-align, center) !important;
  margin-left: var(--msahero-current-margin-left, auto) !important;
  margin-right: var(--msahero-current-margin-right, auto) !important;
  justify-content: var(--msahero-current-justify, center) !important;
  text-align: var(--msahero-current-text-align, center) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-btn-label,
.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-btn-label-device{
  text-align: var(--msahero-current-text-align, center) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-feature-badges{
  justify-content: var(--msahero-current-justify, center) !important;
  align-items: var(--msahero-current-items-align, center) !important;
  margin-left: var(--msahero-current-margin-left, auto) !important;
  margin-right: var(--msahero-current-margin-right, auto) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-feature-badge{
  justify-content: flex-start !important;
  text-align: var(--msahero-current-text-align, left) !important;
}

@media (max-width:768px){
  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-subtitle,
  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-headline,
  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-text,
  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-feature-badges{
    max-width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
  }

  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-headline,
  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
    .msahero-text{
    width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
  }
}

/* ===== v1.12.0 – Layout 4, mehrere Buttons, Single-Bild ohne Navigation ===== */
.msahero-single-slide .msahero-arrow-btn,
.msahero-single-slide .msahero-dots{
  display:none !important;
}

.msahero-buttons{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(18px, 2.5vw, 30px);
  position:relative;
  z-index:4;
}

.msahero-content[class*="msahero-text-align-"] .msahero-buttons{
  justify-content: var(--msahero-current-justify, flex-start) !important;
  align-self: stretch;
  margin-left: var(--msahero-current-margin-left, 0) !important;
  margin-right: var(--msahero-current-margin-right, auto) !important;
}

.msahero-buttons .msahero-btn{
  margin-top:0;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left[class*="msahero-text-align-"]
  .msahero-buttons{
  justify-content: var(--msahero-current-justify, center) !important;
  align-items:center !important;
  margin-left: var(--msahero-current-margin-left, auto) !important;
  margin-right: var(--msahero-current-margin-right, auto) !important;
  max-width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
}

.msahero-overlay-showcase-right{
  align-items:stretch;
}

.msahero-content.msahero-content-style-showcase-right{
  width:100%;
  max-width:min(var(--msahero-text-width, 560px), 44vw);
  min-height:100%;
  margin:0 auto 0 0;
  padding: clamp(52px, 7vw, 138px) clamp(26px, 6.5vw, 140px);
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  border-radius:0 !important;
  backdrop-filter:none !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  text-align:left;
}

.msahero-content.msahero-content-style-showcase-right .msahero-subtitle{
  color: var(--msahero-accent-color, #0077aa);
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom: clamp(16px, 1.8vw, 26px);
}

.msahero-content.msahero-content-style-showcase-right .msahero-headline{
  max-width: 440px;
  font-weight:800;
  line-height:1.14;
  letter-spacing:-.035em;
  margin-bottom: clamp(18px, 2vw, 28px);
}

.msahero-content.msahero-content-style-showcase-right .msahero-text{
  max-width: 520px;
  line-height:1.55;
}

.msahero-content.msahero-content-style-showcase-right .msahero-buttons{
  justify-content:flex-start !important;
  align-self:flex-start !important;
  margin-left:0 !important;
  margin-right:auto !important;
  margin-top: clamp(20px, 2.4vw, 34px);
}

.msahero-content.msahero-content-style-showcase-right .msahero-btn{
  min-width: unset;
  border-radius:8px;
  letter-spacing:.01em;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
  width: min(680px, 70vw);
  gap: clamp(22px, 3.6vw, 56px);
  margin-top: clamp(34px, 4.4vw, 62px);
  justify-content:flex-start !important;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
  min-width: 120px;
  color: var(--msahero-text-color, #fff);
  font-weight:500;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-icon{
  background: transparent;
  color: var(--msahero-accent-color, #0077aa);
  border:1px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa), transparent 20%);
  border-radius:0;
  transform:none;
  box-shadow:none;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-icon svg{
  transform:none;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badge + .msahero-feature-badge::before{
  display:none;
}

.msahero-content .msahero-inline-color,
.msahero-content span[style*="color"]{
  display:inline;
}

@media (max-width:1024px){
  .msahero-content.msahero-content-style-showcase-right{
    max-width:min(var(--msahero-text-width, 560px), 58vw);
    padding-left:clamp(26px, 5vw, 70px);
    padding-right:clamp(22px, 4vw, 48px);
  }
}

@media (max-width:768px){
  .msahero-content.msahero-content-style-showcase-right{
    max-width:100%;
    padding: clamp(84px, 18vw, 120px) 24px 92px;
    justify-content:center;
  }
  .msahero-content.msahero-content-style-showcase-right .msahero-buttons{
    width:100%;
    gap:10px;
  }
  .msahero-content.msahero-content-style-showcase-right .msahero-btn{
    flex:1 1 auto;
    max-width:100%;
  }
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:14px;
    margin-top:28px;
  }
}


/* ===== v1.12.1 – Einzelner Button: nicht zu schmal darstellen =====
   Fix: Seit v1.12.0 liegt auch ein einzelner Button in der neuen Button-Gruppe.
   In Kombination mit der Slant-Sicherheitsbreite konnte der Button dadurch zu klein
   werden und der Text unnötig umbrechen. */
.msahero-buttons.msahero-buttons--single{
  width: auto !important;
  max-width: min(var(--msahero-text-width, 520px), 100%) !important;
}

.msahero-buttons.msahero-buttons--single .msahero-btn{
  min-width: min(300px, 100%) !important;
  justify-content: center !important;
}

.msahero-buttons.msahero-buttons--single .msahero-btn-label,
.msahero-buttons.msahero-buttons--single .msahero-btn-label-device{
  flex: 0 1 auto !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left
  .msahero-buttons.msahero-buttons--single{
  max-width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
}

.msahero-overlay.msahero-overlay-slant-left
  .msahero-content.msahero-content-style-slant-left
  .msahero-buttons.msahero-buttons--single .msahero-btn{
  min-width: min(300px, 100%) !important;
  max-width: 100% !important;
}

.msahero-content.msahero-content-style-showcase-right
  .msahero-buttons.msahero-buttons--single .msahero-btn{
  min-width: min(250px, 100%) !important;
}

@media (max-width:768px){
  .msahero-buttons.msahero-buttons--single{
    width: fit-content !important;
    max-width: 100% !important;
  }

  .msahero-buttons.msahero-buttons--single .msahero-btn{
    min-width: min(250px, 100%) !important;
  }

  .msahero-overlay.msahero-overlay-slant-left
    .msahero-content.msahero-content-style-slant-left
    .msahero-buttons.msahero-buttons--single{
    max-width: calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
  }
}

/* ===== v1.12.2 – Premium Hover-Animationen für Buttons, Icons & Slider-Controls ===== */
.msahero-btn,
.msahero-arrow-btn,
.msahero-dot,
.msahero-feature-badge,
.msahero-feature-badge-icon,
.msahero-feature-badge-title{
  -webkit-tap-highlight-color: transparent;
}

.msahero-btn{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    color 260ms ease,
    box-shadow 360ms cubic-bezier(.22,1,.36,1),
    filter 360ms ease;
}

.msahero-btn::before{
  content:"";
  position:absolute;
  inset:-2px -55%;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(115deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,.34) 47%,
    rgba(255,255,255,.12) 54%,
    transparent 68%,
    transparent 100%);
  transform:translateX(-115%) skewX(-16deg);
  transition:transform 720ms cubic-bezier(.22,1,.36,1);
}

.msahero-btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:-2;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(circle at 50% 115%, color-mix(in srgb, var(--msahero-button-hover-bg, var(--msahero-button-bg, var(--msahero-accent-color, #0077aa))) 46%, transparent), transparent 58%);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--msahero-button-hover-border, var(--msahero-button-border, var(--msahero-accent-color, #0077aa))) 42%, transparent);
  transition:opacity 320ms ease;
}

.msahero-btn-label,
.msahero-btn-label-device,
.msahero-btn-icon{
  position:relative;
  z-index:1;
  transition:transform 340ms cubic-bezier(.22,1,.36,1), color 260ms ease, opacity 260ms ease;
  will-change:transform;
}

.msahero-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.msahero-btn-icon svg{
  transition:transform 340ms cubic-bezier(.22,1,.36,1), filter 300ms ease;
}

.msahero-arrow-btn{
  cursor:pointer;
  overflow:hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 340ms cubic-bezier(.22,1,.36,1),
    color 260ms ease,
    filter 300ms ease;
}

.msahero-arrow-btn::before{
  content:"";
  position:absolute;
  inset:-40%;
  pointer-events:none;
  background:linear-gradient(120deg, transparent 20%, rgba(255,255,255,.42) 46%, transparent 72%);
  transform:translateX(-120%) rotate(12deg);
  transition:transform 620ms cubic-bezier(.22,1,.36,1);
}

.msahero-dot{
  cursor:pointer;
  transition:
    width 280ms cubic-bezier(.22,1,.36,1),
    transform 260ms cubic-bezier(.22,1,.36,1),
    background-color 260ms ease,
    box-shadow 260ms ease,
    opacity 260ms ease;
}

.msahero-feature-badge{
  transition:transform 340ms cubic-bezier(.22,1,.36,1), filter 300ms ease;
  will-change:transform;
}

.msahero-feature-badge-icon{
  position:relative;
  transition:
    transform 360ms cubic-bezier(.22,1,.36,1),
    box-shadow 360ms cubic-bezier(.22,1,.36,1),
    background-color 260ms ease,
    color 260ms ease,
    border-color 260ms ease,
    filter 300ms ease;
  will-change:transform;
}

.msahero-feature-badge-icon::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:inherit;
  pointer-events:none;
  opacity:0;
  border:1px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 48%, transparent);
  box-shadow:0 0 22px color-mix(in srgb, var(--msahero-accent-color, #0077aa) 22%, transparent);
  transform:scale(.72);
  transition:opacity 340ms ease, transform 420ms cubic-bezier(.22,1,.36,1);
}

.msahero-feature-badge-title{
  display:inline-block;
  transition:transform 340ms cubic-bezier(.22,1,.36,1), text-shadow 300ms ease, color 260ms ease;
}

@media (hover:hover){
  .msahero-slide.is-active .msahero-btn:hover,
  .msahero-content.msahero-anim-off .msahero-btn:hover,
  .msahero-admin-preview .msahero-btn:hover{
    transform:translate3d(0,-3px,0) scale(1.018) !important;
    box-shadow:
      0 16px 36px rgba(0,0,0,.34),
      0 0 30px color-mix(in srgb, var(--msahero-button-hover-bg, var(--msahero-button-bg, var(--msahero-accent-color, #0077aa))) 32%, transparent) !important;
    filter:saturate(1.08) brightness(1.03);
    color:var(--msahero-button-hover-text, var(--msahero-button-text, currentColor)) !important;
    border-color:var(--msahero-button-hover-border, var(--msahero-button-border, var(--msahero-accent-color, #0077aa))) !important;
  }

  .msahero-btn:hover::before{
    transform:translateX(115%) skewX(-16deg);
  }

  .msahero-btn:hover::after{
    opacity:1;
  }

  .msahero-btn:hover .msahero-btn-label,
  .msahero-btn:hover .msahero-btn-label-device{
    transform:translateX(-2px);
  }

  .msahero-btn:hover .msahero-btn-icon{
    transform:translateX(5px) scale(1.08);
  }

  .msahero-btn:hover .msahero-btn-icon svg{
    transform:translateX(2px);
    filter:drop-shadow(0 0 8px color-mix(in srgb, currentColor 45%, transparent));
  }

  .msahero-btn--solid:hover{
    background:var(--msahero-button-hover-bg, color-mix(in srgb, var(--msahero-accent-color, #0077aa) 88%, #ffffff 12%));
  }

  .msahero-btn--outline:hover,
  .msahero-btn:not(.msahero-btn--solid):not(.msahero-btn--outline):hover{
    background:var(--msahero-button-hover-bg, color-mix(in srgb, var(--msahero-accent-color, #0077aa) 18%, transparent));
    border-color:var(--msahero-button-hover-border, color-mix(in srgb, var(--msahero-accent-color, #0077aa) 78%, #ffffff 22%));
  }

  .msahero-btn:active{
    transform:translate3d(0,-1px,0) scale(.992) !important;
    box-shadow:0 8px 22px rgba(0,0,0,.25) !important;
  }

  .msahero-arrow-btn:hover{
    background:color-mix(in srgb, var(--msahero-accent-color, #0077aa) 34%, rgba(0,0,0,.30));
    border-color:rgba(255,255,255,.92);
    box-shadow:
      0 12px 30px rgba(0,0,0,.32),
      0 0 24px color-mix(in srgb, var(--msahero-accent-color, #0077aa) 28%, transparent);
    color:#fff;
    filter:brightness(1.06);
  }

  .msahero-arrow-btn:hover::before{
    transform:translateX(120%) rotate(12deg);
  }

  .msahero-arrow-btn:active{
    filter:brightness(.96);
  }

  .msahero-arrow-btn.msahero-prev:hover{
    transform:translateY(-50%) translateX(-2px) scale(1.08);
  }

  .msahero-arrow-btn.msahero-next:hover{
    transform:translateY(-50%) translateX(2px) scale(1.08);
  }

  .msahero-dot:hover{
    width:24px;
    transform:translateY(-2px);
    background:#fff;
    box-shadow:
      0 0 0 5px rgba(255,255,255,.10),
      0 0 18px color-mix(in srgb, var(--msahero-accent-color, #0077aa) 36%, transparent);
  }

  .msahero-dot.is-active:hover{
    transform:translateY(-2px) scaleX(1.06);
  }

  .msahero-feature-badge:hover{
    transform:translate3d(0,-4px,0);
    filter:brightness(1.08);
  }

  .msahero-feature-badge:hover .msahero-feature-badge-icon{
    transform:rotate(45deg) scale(1.12);
    background:#fff;
    color:var(--msahero-accent-color, #0077aa);
    box-shadow:
      0 16px 34px rgba(0,0,0,.26),
      0 0 30px color-mix(in srgb, var(--msahero-accent-color, #0077aa) 30%, transparent);
  }

  .msahero-feature-badge:hover .msahero-feature-badge-icon::after{
    opacity:1;
    transform:scale(1.08);
  }

  .msahero-feature-badge:hover .msahero-feature-badge-title{
    transform:translateX(4px);
    text-shadow:0 10px 28px rgba(0,0,0,.38), 0 0 16px color-mix(in srgb, var(--msahero-accent-color, #0077aa) 22%, transparent);
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:hover .msahero-feature-badge-icon{
    transform:translateY(-2px) scale(1.1);
    background:color-mix(in srgb, var(--msahero-accent-color, #0077aa) 10%, transparent);
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:hover .msahero-feature-badge-title{
    transform:translateX(5px);
  }

  @media (max-width:768px){
    .msahero-arrow-btn.msahero-prev:hover,
    .msahero-arrow-btn.msahero-next:hover{
      transform:scale(1.08);
    }
  }
}

.msahero-btn:focus-visible,
.msahero-arrow-btn:focus-visible,
.msahero-dot:focus-visible{
  outline:2px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 78%, #fff 22%);
  outline-offset:4px;
}

@media (prefers-reduced-motion: reduce){
  .msahero-btn,
  .msahero-btn::before,
  .msahero-btn::after,
  .msahero-btn-label,
  .msahero-btn-label-device,
  .msahero-btn-icon,
  .msahero-btn-icon svg,
  .msahero-arrow-btn,
  .msahero-arrow-btn::before,
  .msahero-dot,
  .msahero-feature-badge,
  .msahero-feature-badge-icon,
  .msahero-feature-badge-icon::after,
  .msahero-feature-badge-title{
    transition:none !important;
    animation:none !important;
  }
}


/* ===== v1.12.3 – Layout 4 mit schrägem Hintergrund + Desktop-Reihe =====
   Layout 4 bleibt Showcase rechts / Text links, bekommt aber wieder die schräge
   Overlay-Fläche. Zusätzlich werden Desktop-Buttons und Icon-Kurztitel in einer
   sauberen Reihe gehalten. */
.msahero-overlay.msahero-overlay-showcase-right{
  padding:0 !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
}

.msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
  --msahero-slant-button-safe-cut: clamp(56px, 7vw, 110px);
  position:relative !important;
  align-self:stretch !important;
  justify-self:start !important;
  width:min(61vw, calc(var(--msahero-text-width, 560px) + clamp(170px, 13vw, 280px))) !important;
  max-width:min(61vw, 980px) !important;
  min-width:min(520px, 100%) !important;
  height:100% !important;
  min-height:100% !important;
  margin:0 !important;
  padding:clamp(52px, 6.5vw, 132px) clamp(112px, 8vw, 176px) clamp(52px, 6.5vw, 132px) clamp(42px, 6vw, 140px) !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  text-align:left !important;
  color:var(--msahero-text-color, #fff) !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:30px 0 90px rgba(0,0,0,.32) !important;
  clip-path:polygon(0 0, 100% 0, 82% 100%, 0 100%) !important;
  overflow:hidden !important;
  isolation:isolate !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:var(--msahero-card-bg, rgba(10, 14, 20, .76));
  backdrop-filter:blur(var(--msahero-card-blur, 10px));
  -webkit-backdrop-filter:blur(var(--msahero-card-blur, 10px));
  transform:scaleX(1);
  transform-origin:left center;
  opacity:1;
  pointer-events:none;
  will-change:transform, opacity;
}

.msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,0) 54%);
  pointer-events:none;
}

.msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right > *{
  position:relative;
  z-index:2;
}

.msahero-slide:not(.is-active):not(.is-prev) .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-fill-left::after,
.msahero-slide:not(.is-active):not(.is-prev) .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-expand-center::after{
  transform:scaleX(0);
  opacity:.94;
}

.msahero-slide.is-active .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantFillLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both;
}
.msahero-slide.is-active .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantExpandCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both;
}
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantCollapseLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both;
}
.msahero-slide.is-prev .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantCollapseCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both;
}

.msahero-slide .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-subtitle,
.msahero-slide .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-headline,
.msahero-slide .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-text,
.msahero-slide .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-btn,
.msahero-slide .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
  opacity:0 !important;
  transform:translateY(10px) !important;
  transition:opacity 420ms ease, transform 420ms ease, filter 520ms ease !important;
  transition-delay:0ms !important;
}

.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-subtitle,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-headline,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-text,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-btn,
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
  opacity:1 !important;
  transform:translateY(0) !important;
  filter:blur(0) !important;
}

.msahero-slide.msahero-slant-wait-enter .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right::after{
  animation:none !important;
  transform:scaleX(0) !important;
  opacity:.94 !important;
}
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantFillLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both !important;
}
.msahero-slide.is-active.msahero-slant-entering .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantExpandCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 260ms) cubic-bezier(.22,1,.36,1) 70ms both !important;
}
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-fill-left::after{
  animation:msaheroSlantCollapseLeft calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both !important;
}
.msahero-slide.is-active.msahero-slant-pre-exit .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right.msahero-slant-anim-expand-center::after{
  animation:msaheroSlantCollapseCenter calc(var(--msahero-slant-anim-duration, var(--msahero-anim-duration, 700ms)) + 120ms) cubic-bezier(.55,.08,.68,.53) both !important;
}

.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:nth-child(1){ transition-delay:80ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:nth-child(2){ transition-delay:170ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:nth-child(3){ transition-delay:260ms !important; }
.msahero-slide.is-active.msahero-slant-content-ready .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge:nth-child(4){ transition-delay:350ms !important; }

@media (min-width:1025px){
  .msahero-content.msahero-content-style-showcase-right .msahero-buttons.msahero-buttons--multi{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:clamp(10px, .9vw, 16px) !important;
    width:max-content !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 80px)) !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-buttons.msahero-buttons--multi .msahero-btn{
    flex:0 1 auto !important;
    min-width:max-content !important;
    max-width:24ch !important;
    white-space:nowrap !important;
    overflow-wrap:normal !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, auto)) !important;
    grid-auto-flow:column !important;
    width:max-content !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 80px)) !important;
    gap:clamp(18px, 2.4vw, 44px) !important;
    align-items:center !important;
    justify-content:flex-start !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
    min-width:0 !important;
    width:auto !important;
    white-space:normal !important;
  }
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    width:min(66vw, calc(var(--msahero-text-width, 560px) + 190px)) !important;
    max-width:760px !important;
    min-width:min(460px, 100%) !important;
    padding:clamp(42px, 5.4vw, 76px) clamp(78px, 8vw, 124px) clamp(42px, 5.4vw, 76px) clamp(28px, 4vw, 62px) !important;
    clip-path:polygon(0 0, 100% 0, 80% 100%, 0 100%) !important;
  }
}

@media (max-width:768px){
  .msahero-overlay.msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    width:min(clamp(250px, 69vw, 360px), calc(100% - 74px)) !important;
    max-width:none !important;
    min-width:0 !important;
    padding:30px 40px 76px 18px !important;
    clip-path:polygon(0 0, 100% 0, 78% 100%, 0 100%) !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-buttons{
    width:auto !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
    flex-wrap:wrap !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
    width:auto !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}

/* ===== v1.12.4 – Layout 4: Icon-Kurztitel stabil zweizeilig =====
   Ziel: Icon + Text bleiben als saubere Feature-Zeile erhalten.
   Lange Titel werden auf genau maximal zwei Zeilen begrenzt, damit die Reihe
   im Desktop-Layout nicht mehr in 3–4 Zeilen auseinanderläuft. */
.msahero-feature-badge-title{
  max-width: 20ch;
  min-height: calc(2 * 1.18em);
  line-height: 1.18;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-title{
  max-width: 19ch;
  min-height: calc(2 * 1.16em);
  line-height: 1.16;
}

@media (min-width:1025px){
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:min(940px, calc(100% - var(--msahero-slant-button-safe-cut, 80px))) !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 80px)) !important;
    gap:clamp(14px, 1.6vw, 30px) !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
    flex:1 1 0 !important;
    min-width:0 !important;
    max-width:225px !important;
    width:auto !important;
    display:grid !important;
    grid-template-columns:auto minmax(0, 1fr) !important;
    align-items:center !important;
    column-gap:12px !important;
  }

  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-title{
    width:100% !important;
    max-width:20ch !important;
    min-height:calc(2 * 1.16em) !important;
    line-height:1.16 !important;
  }
}

@media (min-width:769px) and (max-width:1280px){
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badges{
    gap:clamp(10px, 1.15vw, 18px) !important;
  }
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge{
    column-gap:9px !important;
  }
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-title{
    max-width:17ch !important;
    font-size:clamp(.76rem, .92vw, .94rem) !important;
  }
}

@media (max-width:768px){
  .msahero-feature-badge-title,
  .msahero-content.msahero-content-style-showcase-right .msahero-feature-badge-title{
    max-width:22ch !important;
    min-height:calc(2 * 1.18em) !important;
    line-height:1.18 !important;
  }
}



/* ===== v1.12.5 – Button-Farben pro Button ===== */
.msahero-btn{
  border-color:var(--msahero-button-border, var(--msahero-accent-color, #0077aa));
}
.msahero-btn--outline,
.msahero-btn:not(.msahero-btn--solid):not(.msahero-btn--outline){
  background:var(--msahero-button-bg, transparent);
  color:var(--msahero-button-text, var(--msahero-accent-color, #0077aa));
}
.msahero-btn--solid{
  background:var(--msahero-button-bg, var(--msahero-accent-color, #0077aa));
  color:var(--msahero-button-text, #0b1220);
}
@media (hover:hover){
  .msahero-btn:hover{
    color:var(--msahero-button-hover-text, var(--msahero-button-text, currentColor)) !important;
    border-color:var(--msahero-button-hover-border, var(--msahero-button-border, var(--msahero-accent-color, #0077aa))) !important;
  }
}


/* ===== v1.12.6 – Gutenberg Block Preview vollständig im Editor darstellen ===== */
.editor-styles-wrapper .msahero-block-editor-preview{
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
}
.editor-styles-wrapper .msahero-block-editor-preview .msahero-tt5-wrapper.alignfull,
.editor-styles-wrapper .msahero-block-editor-preview .msahero-breakout,
.editor-styles-wrapper .msahero-block-editor-preview .msahero-slider{
  width:100% !important;
  max-width:100% !important;
  left:auto !important;
  right:auto !important;
  transform:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
.editor-styles-wrapper .msahero-block-editor-preview .msahero-tt5-wrapper.alignfull{
  overflow:hidden !important;
}
.editor-styles-wrapper .msahero-block-editor-preview .msahero-slides{
  min-height:260px;
}

/* ===== v1.12.7 – Custom PNG/SVG Icons with automatic color mask ===== */
.msahero-icon-custom{
  display:block;
  width:18px;
  height:18px;
  background:currentColor;
  -webkit-mask-image: var(--msahero-custom-icon-url);
  mask-image: var(--msahero-custom-icon-url);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
}
.msahero-btn-icon .msahero-icon-custom{
  width:18px;
  height:18px;
}
.msahero-feature-badge-icon .msahero-icon-custom{
  width:53%;
  height:53%;
  transform:rotate(-45deg);
}
@media (max-width:1024px){
  .msahero-btn-icon .msahero-icon-custom{ width:16px; height:16px; }
}

/* ===== v1.12.8 – Zusätzlicher Sicherheitsabstand pro Slide/Gerät =====
   Der Abstand erhöht den unteren Innenabstand der Content-Fläche je Breakpoint.
   Dadurch können lange Button-/Icon-Kombinationen besonders in Slant/Layout 4
   nach oben rücken und laufen nicht in Dots, Floating-Buttons oder Browserleisten. */
.msahero-content{
  --msahero-current-safe-gap: var(--msahero-safe-gap-desktop, 0px);
}
@media (min-width:1441px){
  .msahero-content{ --msahero-current-safe-gap: var(--msahero-safe-gap-wide, var(--msahero-safe-gap-desktop, 0px)); }
}
@media (min-width:769px) and (max-width:1024px){
  .msahero-content{ --msahero-current-safe-gap: var(--msahero-safe-gap-tablet, var(--msahero-safe-gap-desktop, 0px)); }
}
@media (max-width:768px){
  .msahero-content{ --msahero-current-safe-gap: var(--msahero-safe-gap-mobile, 0px); }
}

.msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-default{
  padding-bottom: calc(44px + var(--msahero-current-safe-gap, 0px)) !important;
}
.msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-card{
  padding-bottom: calc(clamp(22px, 2vw, 32px) + var(--msahero-current-safe-gap, 0px)) !important;
}

.msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
  padding-bottom: calc(clamp(38px, 5vw, 86px) + var(--msahero-current-safe-gap, 0px)) !important;
}
.msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
  padding-bottom: calc(clamp(52px, 6.5vw, 132px) + var(--msahero-current-safe-gap, 0px)) !important;
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    padding-bottom: calc(clamp(32px, 5vw, 68px) + var(--msahero-current-safe-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    padding-bottom: calc(clamp(42px, 5.4vw, 76px) + var(--msahero-current-safe-gap, 0px)) !important;
  }
}
@media (max-width:768px){
  .msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-default{
    padding-bottom: calc(44px + var(--msahero-current-safe-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    padding-bottom: calc(76px + var(--msahero-current-safe-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    padding-bottom: calc(76px + var(--msahero-current-safe-gap, 0px)) !important;
  }
}



/* ===== v1.12.9 – Zusätzlicher Abstand oben + Icon-Rahmenvarianten ===== */
.msahero-content{
  --msahero-current-safe-top-gap: var(--msahero-safe-top-gap-desktop, 0px);
}
@media (min-width:1441px){
  .msahero-content{ --msahero-current-safe-top-gap: var(--msahero-safe-top-gap-wide, var(--msahero-safe-top-gap-desktop, 0px)); }
}
@media (min-width:769px) and (max-width:1024px){
  .msahero-content{ --msahero-current-safe-top-gap: var(--msahero-safe-top-gap-tablet, var(--msahero-safe-top-gap-desktop, 0px)); }
}
@media (max-width:768px){
  .msahero-content{ --msahero-current-safe-top-gap: var(--msahero-safe-top-gap-mobile, 0px); }
}

.msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-default{
  padding-top: calc(64px + var(--msahero-current-safe-top-gap, 0px)) !important;
}
.msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-card{
  padding-top: calc(clamp(22px, 2vw, 32px) + var(--msahero-current-safe-top-gap, 0px)) !important;
}
.msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
  padding-top: calc(clamp(38px, 5vw, 86px) + var(--msahero-current-safe-top-gap, 0px)) !important;
}
.msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
  padding-top: calc(clamp(52px, 6.5vw, 132px) + var(--msahero-current-safe-top-gap, 0px)) !important;
}
@media (min-width:769px) and (max-width:1024px){
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left{
    padding-top: calc(clamp(32px, 5vw, 68px) + var(--msahero-current-safe-top-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    padding-top: calc(clamp(42px, 5.4vw, 76px) + var(--msahero-current-safe-top-gap, 0px)) !important;
  }
}
@media (max-width:768px){
  .msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-default{
    padding-top: calc(28px + var(--msahero-current-safe-top-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers) .msahero-content.msahero-content-style-card{
    padding-top: calc(20px + var(--msahero-current-safe-top-gap, 0px)) !important;
  }
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-slant-left .msahero-content.msahero-content-style-slant-left,
  .msahero-overlay:not(.msahero-overlay-has-offers).msahero-overlay-showcase-right .msahero-content.msahero-content-style-showcase-right{
    padding-top: calc(30px + var(--msahero-current-safe-top-gap, 0px)) !important;
  }
}

.msahero-feature-badge-icon.msahero-feature-icon-frame--diamond-filled{
  background: rgba(255,255,255,.95) !important;
  border:0 !important;
  border-radius:10px !important;
  transform:rotate(45deg) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.20) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--diamond-outline{
  background:transparent !important;
  border:1.5px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 82%, #ffffff 18%) !important;
  border-radius:9px !important;
  transform:rotate(45deg) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.14) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--rounded-filled{
  background:rgba(255,255,255,.95) !important;
  border:0 !important;
  border-radius:12px !important;
  transform:none !important;
  box-shadow:0 12px 28px rgba(0,0,0,.20) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--rounded-outline{
  background:transparent !important;
  border:1.5px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 82%, #ffffff 18%) !important;
  border-radius:12px !important;
  transform:none !important;
  box-shadow:0 10px 24px rgba(0,0,0,.12) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--square-outline{
  background:transparent !important;
  border:1.5px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 82%, #ffffff 18%) !important;
  border-radius:0 !important;
  transform:none !important;
  box-shadow:0 10px 24px rgba(0,0,0,.12) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--circle-filled{
  background:rgba(255,255,255,.95) !important;
  border:0 !important;
  border-radius:999px !important;
  transform:none !important;
  box-shadow:0 12px 28px rgba(0,0,0,.20) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--circle-outline{
  background:transparent !important;
  border:1.5px solid color-mix(in srgb, var(--msahero-accent-color, #0077aa) 82%, #ffffff 18%) !important;
  border-radius:999px !important;
  transform:none !important;
  box-shadow:0 10px 24px rgba(0,0,0,.12) !important;
}
.msahero-feature-badge-icon.msahero-feature-icon-frame--none{
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
  box-shadow:none !important;
}

.msahero-feature-icon-frame--diamond-filled svg,
.msahero-feature-icon-frame--diamond-outline svg,
.msahero-feature-icon-frame--diamond-filled .msahero-icon-custom,
.msahero-feature-icon-frame--diamond-outline .msahero-icon-custom{
  transform:rotate(-45deg) !important;
}
.msahero-feature-icon-frame--rounded-filled svg,
.msahero-feature-icon-frame--rounded-outline svg,
.msahero-feature-icon-frame--square-outline svg,
.msahero-feature-icon-frame--circle-filled svg,
.msahero-feature-icon-frame--circle-outline svg,
.msahero-feature-icon-frame--none svg,
.msahero-feature-icon-frame--rounded-filled .msahero-icon-custom,
.msahero-feature-icon-frame--rounded-outline .msahero-icon-custom,
.msahero-feature-icon-frame--square-outline .msahero-icon-custom,
.msahero-feature-icon-frame--circle-filled .msahero-icon-custom,
.msahero-feature-icon-frame--circle-outline .msahero-icon-custom,
.msahero-feature-icon-frame--none .msahero-icon-custom{
  transform:none !important;
}
.msahero-feature-icon-frame--none svg,
.msahero-feature-icon-frame--none .msahero-icon-custom{
  width:70% !important;
  height:70% !important;
}

@media (hover:hover){
  .msahero-feature-badge:hover .msahero-feature-icon-frame--diamond-filled,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--diamond-outline{
    transform:rotate(45deg) translate3d(-1px,-1px,0) scale(1.12) !important;
  }
  .msahero-feature-badge:hover .msahero-feature-icon-frame--rounded-filled,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--rounded-outline,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--square-outline,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--circle-filled,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--circle-outline,
  .msahero-feature-badge:hover .msahero-feature-icon-frame--none{
    transform:translate3d(0,-2px,0) scale(1.10) !important;
  }
  .msahero-feature-badge:hover .msahero-feature-icon-frame--none{
    background:transparent !important;
    box-shadow:none !important;
  }
}

/* ===== v1.13.0 – Layout 5: Showcase + große Icon-Text-Features ===== */
.msahero-feature-badge-text{
  display:none;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badges{
  width:min(920px, calc(100% - var(--msahero-slant-button-safe-cut, 80px))) !important;
  max-width:calc(100% - var(--msahero-slant-button-safe-cut, 80px)) !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:clamp(26px, 4.4vw, 76px) !important;
  align-items:start !important;
  justify-content:flex-start !important;
  margin-top:clamp(38px, 5.2vw, 76px) !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:clamp(10px, 1.2vw, 16px) !important;
  width:100% !important;
  min-width:0 !important;
  max-width:260px !important;
  color:var(--msahero-text-color, #fff) !important;
  font-weight:600 !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge + .msahero-feature-badge::before{
  display:none !important;
  content:none !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon{
  width:clamp(48px, 3.8vw, 70px) !important;
  height:clamp(48px, 3.8vw, 70px) !important;
  flex:0 0 auto !important;
  margin-bottom:clamp(4px, .7vw, 10px) !important;
  color:var(--msahero-accent-color, #0077aa) !important;
  transform:none !important;
  box-shadow:none !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon svg,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon .msahero-icon-custom{
  width:clamp(40px, 3vw, 58px) !important;
  height:clamp(40px, 3vw, 58px) !important;
  transform:none !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--none,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--diamond-filled,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--diamond-outline,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--rounded-filled,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--rounded-outline,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--square-outline,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--circle-filled,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--circle-outline{
  background:transparent !important;
  border-color:color-mix(in srgb, var(--msahero-accent-color, #0077aa) 58%, transparent) !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-icon-frame--none{
  border:0 !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title{
  display:block !important;
  max-width:100% !important;
  min-height:0 !important;
  margin:0 !important;
  font-size:var(--msahero-feature-title-size-wide, 1rem) !important;
  font-weight:800 !important;
  line-height:1.18 !important;
  letter-spacing:-.015em !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
  overflow:visible !important;
  text-overflow:clip !important;
  text-shadow:0 10px 30px rgba(0,0,0,.28) !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text{
  display:block !important;
  margin-top:clamp(2px, .4vw, 6px) !important;
  max-width:28ch !important;
  color:color-mix(in srgb, var(--msahero-text-color, #fff) 82%, transparent) !important;
  font-size:clamp(.78rem, .85vw, .94rem) !important;
  font-weight:400 !important;
  line-height:1.55 !important;
  text-shadow:0 10px 28px rgba(0,0,0,.26) !important;
}

@media (min-width:1025px) and (max-width:1440px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title{
    font-size:var(--msahero-feature-title-size-desktop, .96rem) !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text{
    font-size:clamp(.74rem, .88vw, .88rem) !important;
  }
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badges{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:22px !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title{
    font-size:var(--msahero-feature-title-size-tablet, .90rem) !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text{
    font-size:.76rem !important;
    line-height:1.42 !important;
  }
}

@media (max-width:768px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badges{
    width:auto !important;
    max-width:calc(100% - var(--msahero-slant-button-safe-cut, 34px)) !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    margin-top:24px !important;
  }

  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge{
    display:grid !important;
    grid-template-columns:auto minmax(0, 1fr) !important;
    grid-template-areas:"icon title" "icon text" !important;
    align-items:center !important;
    column-gap:12px !important;
    row-gap:2px !important;
    max-width:100% !important;
  }

  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon{
    grid-area:icon !important;
    width:var(--msahero-feature-icon-size-mobile, 30px) !important;
    height:var(--msahero-feature-icon-size-mobile, 30px) !important;
    margin:0 !important;
  }

  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon svg,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-icon .msahero-icon-custom{
    width:calc(var(--msahero-feature-icon-size-mobile, 30px) * .82) !important;
    height:calc(var(--msahero-feature-icon-size-mobile, 30px) * .82) !important;
  }

  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title{
    grid-area:title !important;
    font-size:var(--msahero-feature-title-size-mobile, .86rem) !important;
    line-height:1.12 !important;
  }

  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text{
    grid-area:text !important;
    max-width:100% !important;
    font-size:.72rem !important;
    line-height:1.28 !important;
  }
}


/* ===== v1.13.1 – Layout 5: einheitliche Feature-Schriftgrößen ===== */
.msahero-content.msahero-content-style-showcase-features,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badges,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text{
  -webkit-text-size-adjust:100% !important;
  text-size-adjust:100% !important;
  font-size-adjust:none !important;
  font-synthesis:none !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title *{
  font-size:var(--msahero-feature-title-size-wide, 1rem) !important;
  line-height:1.16 !important;
  font-weight:800 !important;
  letter-spacing:-.015em !important;
}

.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text,
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text *{
  font-size:.90rem !important;
  line-height:1.48 !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
}

@media (min-width:1025px) and (max-width:1440px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title *{
    font-size:var(--msahero-feature-title-size-desktop, .96rem) !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text *{
    font-size:.84rem !important;
    line-height:1.44 !important;
  }
}

@media (min-width:769px) and (max-width:1024px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title *{
    font-size:var(--msahero-feature-title-size-tablet, .90rem) !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text *{
    font-size:.76rem !important;
    line-height:1.40 !important;
  }
}

@media (max-width:768px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-title *{
    font-size:var(--msahero-feature-title-size-mobile, .86rem) !important;
    line-height:1.12 !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text,
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge-text *{
    font-size:.72rem !important;
    line-height:1.28 !important;
  }
}

/* ===== v1.13.2 – Icon-Titel ohne Untertitel vertikal mittig zum Icon ===== */
.msahero-feature-badge.msahero-feature-badge--no-text{
  align-items:center !important;
}
.msahero-feature-badge.msahero-feature-badge--no-text .msahero-feature-badge-title{
  display:flex !important;
  align-items:center !important;
  min-height:var(--msahero-feature-icon-size-wide, 34px) !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}
@media (min-width:1025px) and (max-width:1440px){
  .msahero-feature-badge.msahero-feature-badge--no-text .msahero-feature-badge-title{
    min-height:var(--msahero-feature-icon-size-desktop, 32px) !important;
  }
}
@media (min-width:769px) and (max-width:1024px){
  .msahero-feature-badge.msahero-feature-badge--no-text .msahero-feature-badge-title{
    min-height:var(--msahero-feature-icon-size-tablet, 30px) !important;
  }
}
@media (max-width:768px){
  .msahero-feature-badge.msahero-feature-badge--no-text .msahero-feature-badge-title{
    min-height:var(--msahero-feature-icon-size-mobile, 30px) !important;
    align-self:center !important;
  }
}
.msahero-content.msahero-content-style-showcase-features .msahero-feature-badge.msahero-feature-badge--no-text{
  align-items:flex-start !important;
}
@media (max-width:768px){
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge.msahero-feature-badge--no-text{
    grid-template-columns:auto minmax(0, 1fr) !important;
    grid-template-areas:"icon title" !important;
    grid-template-rows:auto !important;
    align-items:center !important;
  }
  .msahero-content.msahero-content-style-showcase-features .msahero-feature-badge.msahero-feature-badge--no-text .msahero-feature-badge-title{
    min-height:var(--msahero-feature-icon-size-mobile, 30px) !important;
    align-self:center !important;
  }
}


/* ===== v1.13.5 – Geräte-/Ausrichtungs-Höhen, inkl. iPad Pro Querformat ===== */
.msahero-slider .msahero-slides{
  height: var(--msahero-h-desktop, 70vh);
  min-height: min(420px, var(--msahero-h-desktop, 70vh));
}

/* Tablet Hochformat: normale Tablets */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh));
    min-height: min(420px, var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh)));
  }
}

/* Tablet Querformat: normale Tablets */
@media (min-width: 769px) and (max-width: 1180px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh));
    min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)));
  }
}

/* iPad Pro 12.9/13" Querformat: 1366/1368px wird sonst als Desktop erkannt */
@media (hover: none) and (pointer: coarse) and (min-width: 1025px) and (max-width: 1400px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh));
    min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)));
  }
}

/* iPadOS Safari Desktop-Modus meldet teils MacIntel; Safari-only Fallback */
@supports (-webkit-touch-callout: none){
  @media (min-width: 1025px) and (max-width: 1400px) and (orientation: landscape){
    .msahero-slider .msahero-slides{
      height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh));
      min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)));
    }
  }
}

@media (max-width: 768px) and (orientation: portrait){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh));
    min-height: min(340px, var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh)));
  }
}

@media (max-width: 932px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-mobile-landscape, var(--msahero-h-mobile, 60vh));
    min-height: min(320px, var(--msahero-h-mobile-landscape, var(--msahero-h-mobile, 60vh)));
  }
}


/* ===== v1.13.6 – harte JS-Geräteklassen für iPad Pro 13 / Safari ===== */
.msahero-slider.msahero-device-tablet-landscape .msahero-slides{
  height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
  min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh))) !important;
}
.msahero-slider.msahero-device-tablet-portrait .msahero-slides{
  height: var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh)) !important;
  min-height: min(420px, var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh))) !important;
}
.msahero-slider.msahero-device-mobile-landscape .msahero-slides{
  height: var(--msahero-h-mobile-landscape, var(--msahero-h-mobile, 60vh)) !important;
  min-height: min(320px, var(--msahero-h-mobile-landscape, var(--msahero-h-mobile, 60vh))) !important;
}
.msahero-slider.msahero-device-mobile-portrait .msahero-slides{
  height: var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh)) !important;
  min-height: min(340px, var(--msahero-h-mobile-portrait, var(--msahero-h-mobile, 60vh))) !important;
}

/* iPad Pro 13 mit Safari/Chrome iOS, auch bei abweichendem Zoom/Desktop-Modus */
@media (hover: none) and (pointer: coarse) and (min-width: 1025px) and (max-width: 1600px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
    min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh))) !important;
  }
}


/* ===== v1.13.7 – iPad Pro 13 Querformat per DPR/Viewport, auch mit Magic Keyboard ===== */
@media (min-resolution: 1.5dppx) and (min-width: 1180px) and (max-width: 1420px) and (min-height: 820px) and (max-height: 1120px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
    min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh))) !important;
  }
}

/* Exakte gängige iPad Pro 13 / 12.9 CSS-Breiten im Querformat */
@media (min-width: 1360px) and (max-width: 1385px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
    min-height: min(420px, var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh))) !important;
  }
}


/* ===== v1.13.8 – Tablet Querformat finaler iPad-Pro-13-Fallback ===== */
.msahero-slider.msahero-device-tablet-landscape .msahero-slides{
  height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
  min-height: 0 !important;
}

/* iPad Pro 13 Querformat, auch wenn iPadOS Desktop-/Trackpad-Werte meldet */
@media (any-pointer: coarse) and (min-width: 1025px) and (max-width: 1700px) and (orientation: landscape){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
    min-height: 0 !important;
  }
}

/* iPadOS/WebKit Fallback: greift auch bei Safari Desktop-Modus */
@supports (-webkit-touch-callout: none){
  @media (min-width: 1025px) and (max-width: 1700px) and (orientation: landscape){
    .msahero-slider .msahero-slides{
      height: var(--msahero-h-tablet-landscape, var(--msahero-h-desktop, 70vh)) !important;
      min-height: 0 !important;
    }
  }
}


/* ===== v1.13.9 – Hochformat darf nicht Querformat-Wert übernehmen ===== */
.msahero-slider.msahero-device-tablet-portrait .msahero-slides{
  height: var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh)) !important;
  min-height: 0 !important;
}

@media (min-width: 769px) and (max-width: 1200px) and (orientation: portrait){
  .msahero-slider .msahero-slides{
    height: var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh)) !important;
    min-height: 0 !important;
  }
}

@supports (-webkit-touch-callout: none){
  @media (min-width: 769px) and (max-width: 1200px) and (orientation: portrait){
    .msahero-slider .msahero-slides{
      height: var(--msahero-h-tablet-portrait, var(--msahero-h-desktop, 70vh)) !important;
      min-height: 0 !important;
    }
  }
}
