@charset "UTF-8";

.twoColsPromo{
  padding: 60px 0 70px;
}

.twoColsPromo__headline{
  margin: 0 0 26px;
  text-align: center;
  font-weight: 900;
  font-size: 38px;
  line-height: 1.1;
}

/* ✅ HIER: Grid schmaler & mittig */
.twoColsPromo__grid{
  max-width: 720px;      /* Gesamtbreite der 2 Spalten */
  margin: 0 auto;        /* mittig auf der Seite */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.promoCard{
  background: #e7e7df;
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Bild */
.promoCard__media a{ display:block; }
.promoCard__media img,
.promoImg{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Text */
.promoCard__text{
  font-size: 18px;
  line-height: 1.55;
}
.promoCard__text *{
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Button */
.promoBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  background: #f56437;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-radius: 0;
}
.promoBtn:hover{
  opacity: .92;
  text-decoration: none;
}

/* =================================
   KINDERFREUNDLICHE FUN-ANIMATION
   ================================= */

.spinOnce img{
  transform-origin: 50% 50%;
  will-change: transform;
}

/* wird per JS einmal ausgelöst */
.spinOnce.is-spin img{
  animation: promoFunSpin 1.2s cubic-bezier(.22,.9,.25,1) 1;
}

/* 🎈 weich + verspielt */
@keyframes promoFunSpin{
  0%{
    transform: rotate(0deg) scale(1);
  }

  25%{
    transform: rotate(14deg) scale(1.05);
  }

  50%{
    transform: rotate(-10deg) scale(1.04);
  }

  70%{
    transform: rotate(6deg) scale(1.02);
  }

  85%{
    transform: rotate(-3deg) scale(1.01);
  }

  100%{
    transform: rotate(0deg) scale(1);
  }
}

/* Mobile */
@media (max-width: 900px){
  .twoColsPromo__headline{
    font-size: 30px;
  }
  .twoColsPromo__grid{
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }
}