/*
Theme Name:     Corpiva Pro Child
Theme URI:      https://desertthemes.com/themes/corpiva-pro/
Description:    Child theme for Corpiva Pro.
Author:         Janis
Template:       corpiva-pro
Version:        1.0.0
Text Domain:    corpiva-pro-child
*/

/* If the theme adds a pseudo element you don't want */
.cta-round::after { display: none !important; }

.cta-round{
  border-radius: 999rem !important;
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  overflow: visible;
  border-radius: 999rem;
}

.cta-round__icon{
  margin: 0 !important;
  font-size: 3rem;
  z-index: 2;
}

/* Badge */
.cta-round__badge{
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  aspect-ratio: 1;
  padding: .5rem;
  transform: translate(35%, -35%);
  border-radius: 999rem;
  background: var(--dt-secondary-color);
  color: #fff;            /* <-- wichtig */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transform: translate(35%, -35%);
  font-size: 1.2rem;
}

/* Motion: weniger nervig */
.cta-round__icon{
  animation: cta-bounce 3.5s ease-in-out infinite;
}

@keyframes cta-bounce{
  0%, 86%, 100% { transform: translateY(0); }
  90% { transform: translateY(-3px); }
  94% { transform: translateY(0); }
  97% { transform: translateY(-2px); }
}

/* Respect accessibility */
@media (prefers-reduced-motion: reduce){
  .cta-round__icon{ animation: none; }
}
