/* ===== Modul: H2 + P + Trigger-Akkordeon (ohne Spalten) ===== */
/* Basis aus dem 750er-Frame als Default */
.modul_h2_p_trigger_akkordeon .inner .mh2p-akkordeon__content {
  background-color:#E0ECF4
}
.modul_h2_p_trigger_akkordeon .inner {
  max-width:100% !important;
  padding-inline: 0 !important;
}

.mh2p{
  padding-top: 48px;       
  padding-bottom: 48px;   /* Figma 750: pt 60 */     /* Figma 750: px 36 */
  /* max-width: 696px; */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;                  /* Figma gap */
  /* display:none; */
}

.mh2p__title{
  font-family: "NeueHaasUnicaPro-Bold";
  font-weight: 700;
  font-size: 26px;            /* Figma 750: 28 */
  line-height: 1.2;
  color: #28282b;
  text-align: center;
  margin: 0;
  max-width: 504px;        /* Figma max-w für h2 */
}

.mh2p__lead{
  font-family: "NeueHaasUnicaPro-Regular";
  font-weight: 400;
  max-width: 696px;
  font-size: 20px;            /* Figma: 20 */
  line-height: 1.5;
  color: #28282b;
  text-align: center;
  margin: 0;
}
@media(max-width:696px){
  .mh2p__title {
    padding-inline: var(--space); 
  }
  .mh2p__lead {
    padding-inline: var(--space);
  }
}
.mh2p__lead strong{ font-family: "NeueHaasUnicaPro-Bold"; }

/* Akkordeon */
.mh2p-akkordeon{
  /* border: 1px solid rgba(0,0,0,.08); */
  /* border-radius: 12px; */
  background: #fff;
  /* overflow: clip; */
  width: 100%;
  margin-top:8px;
}

.mh2p-akkordeon__summary {
  /* Figma: pt 24, pb 0, px 0, gap 8 */
  padding: 0;
  display: flex;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
    /* margin-bottom:24px; */
}
.mh2p-akkordeon__summary::-webkit-details-marker{ display: none; }

.mh2p-akkordeon__label{
  /* Figma: 150×21, Bold 16, Rot */
  /* width: 150px; */
  height: 21px;
  display: inline-grid;
  /* place-items: center; */
  font-family: "NeueHaasUnicaPro-Bold";
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #E91E1E;             /* exakt */
  /* text-align: center; */
}

.mh2p-akkordeon__plus{
  width: 18px;                /* dein Vektor ist 18px */
  height: 18px;
  display: inline-grid;
  place-items: center;
  transition: transform .25s ease;
}
/* .mh2p-akkordeon__plus:hover{ transform: rotate(45deg); } */
.icon-plus{ display: block; }

/* Smooth reveal: grid-rows Trick + Opacity */
/* Smooth reveal: grid-rows Trick */
.mh2p-akkordeon__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease; /* Nur Höhe animieren */
  overflow: hidden; /* Wichtig für den Übergang */
}

.mh2p-akkordeon[open] .mh2p-akkordeon__reveal {
  grid-template-rows: 1fr;
}

.mh2p-akkordeon__content {
  display: none; /* Standardmäßig versteckt */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #28282b;
  margin-top:24px;
}
.mh2p-akkordeon__content ul {
    list-style-position: outside;
    padding-left: 20px;
    margin:0;
}
.mh2p-akkordeon__content p, .mh2p-akkordeon__content li{
  font-family: "NeueHaasUnicaPro-Regular";
  font-size: 20px;
  line-height:1.5;
}
.mh2p-akkordeon__content li{
  margin-bottom:7px;
}
.mh2p-akkordeon__content li:last-child { margin-bottom:0; }
.mh2p-akkordeon__content p strong, .mh2p-akkordeon__content li strong {
  font-family: "NeueHaasUnicaPro-Bold" !important;
}
.mh2p-akkordeon__content h3 {
  font-family: "NeueHaasUnicaPro-Bold";
  font-size: 24px;
  line-height:120%;
  margin-top:24px;
  margin-bottom:16px;
}
.mh2p-akkordeon__content .mh2p-akkordeon__summary {
  justify-content: flex-start;
  gap:8px;
  margin-bottom:0;
  margin-top:60px;
}
.mh2p-akkordeon__content .mh2p-akkordeon__label {
  width:138px;
}

.mh2p-akkordeon__content .rechts img {
  width:340px;
  max-width:100%;
  margin-bottom:24px;
}
.mh2p-akkordeon__content .rechts{
  text-align: center;
}
.mh2p-akkordeon__content .rechts p {
  max-width:280px;
  margin-left: auto;
    margin-right: auto;
    font-size:18px;
}
/* Optional: Falls du einen Übergang für andere Dinge möchtest */
.mh2p-akkordeon__plus {
  transition: transform 0.25s ease;
}
.mh2p-akkordeon__plus:hover {
  /* transform: rotate(45deg); */
}

.mh2p-akkordeon[aria-expanded="true"] .mh2p-akkordeon__plus {
  transform: rotate(45deg);
}

/* Fokus */
.mh2p-akkordeon__summary:focus{ outline: none; }
.mh2p-akkordeon__summary:focus-visible{
  outline: 2px solid color-mix(in oklab, #E91E1E 35%, transparent);
  outline-offset: 2px;
  border-radius: 10px;
}
#close_akkordeon_xs {
  display: none;
}
#close_akkordeon_xl {
  display: flex;
  justify-content: center;
  margin-top:36px;
}
.mh2p-akkordeon__content p + ul {
  margin-top:16px;
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce){
  .mh2p-akkordeon__plus{ transition: none; }
  .mh2p-akkordeon__reveal{ transition: none; }
}


.akkordeon_spalten_wrapper {
  display:flex;
  flex-direction: column;
  padding-top:24px;
  padding-bottom:36px;
  gap:36px;
}
.akkordeon_spalten_wrapper .links {
  max-width:900px;
}

/* ===== Exakte Figma-Umschalter ===== */

@media(min-width:550px){
  .mh2p{
    padding-top: 60px;
    padding-bottom: 60px;
    gap: 16px;
  }
}

@media(min-width:750px){
  .mh2p__title {
    font-size:28px;
  }
  .mh2p-akkordeon__content .rechts{
    text-align: left;
  }
  .mh2p-akkordeon__content .rechts p {
    margin:inherit;
  }
  #close_akkordeon_xl {
    justify-content: flex-start;
  }
  .mh2p-akkordeon__content h3 {
    margin-top:36px;
  }

}

@media(min-width:950px){
  .akkordeon_spalten_wrapper {
    flex-direction: row;
    justify-content: space-between;
    padding-top:36px;
  }
  .mh2p-akkordeon__content .rechts{
    text-align: left;
    min-width:276px;
    position: sticky;
    top: 36px;
    align-self: flex-start;
  }
  
  #close_akkordeon_xl {
    display: none;
  }
  #close_akkordeon_xs {
    display: flex;
  }
}

@media(min-width:1150px){
  .mh2p{
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 16px;
  }
  .mh2p-akkordeon__content .rechts{
    min-width:288px;
  }
}

/* 1350er Frame: pt 84, px 72, Typo bleibt 28/20 */
@media (min-width: 1350px){
  .mh2p{
    padding-top: 84px;
    padding-bottom: 84px;
    gap: 16px;
  }
  .mh2p-akkordeon__content .rechts{
    min-width:312px;
  }
}

/* 1950er Frame: pt 96, px 96, gap 24, H2 30, P 20 */
@media (min-width: 1550px){
  .mh2p{
    padding-top: 96px;
    padding-bottom: 96px;
    gap: 16px;
  }
  .mh2p__title{ font-size: 30px; }
  /* Lead bleibt 20px laut Figma */
  .mh2p-akkordeon__content .rechts{
    min-width:340px;
  }
}

@media (min-width: 1750px){
  .mh2p{
    gap: 24px;
  }
  .mh2p__title {
    font-size:30px;
  }
  .mh2p-akkordeon{
    margin-top:0px;
  }
  .akkordeon_spalten_wrapper {
    padding-top:48px;
    padding-bottom:48px;
  }
  .mh2p-akkordeon__content .rechts{
    top: 48px;
  }
}

@media(min-width:2350px){
  .mh2p__title {
    font-size:32px;
  }
}

.sticky-schliessen-xs {
  display:flex;
  height: 0px;
  align-items: center;
  justify-content: center;
  background-color:rgba(255,255,255,0.92);
  padding:0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
   opacity: 0;
   gap:8px;
  pointer-events: none;
  transition: opacity .25s ease;
}
.sticky-schliessen-xs:hover {
  cursor: pointer;
}
.sticky-schliessen-xs.is-visible {
  height:50px;
  opacity: 1;
  pointer-events: auto;
}
.sticky-schliessen-xs .mh2p-akkordeon__label {
  color: #E91E1E !important;
  font-size: 16px !important;
}