/**
 * Invisible honeypot + “Verschlüsselt senden” overlay for public mail forms.
 */
.ten-sg-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ten-secure-send {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(18, 18, 22, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.ten-secure-send.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ten-secure-send__card {
  width: min(420px, 100%);
  padding: 1.6rem 1.45rem 1.35rem;
  border-radius: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 246, 0.94)),
    #fff;
  box-shadow:
    0 24px 60px rgba(20, 12, 12, 0.28),
    0 0 0 1px rgba(204, 6, 7, 0.08);
  text-align: center;
  color: #1a1a1a;
  font-family: inherit;
}

.ten-secure-send__title {
  margin: 0 0 1.05rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.ten-secure-send__stage {
  position: relative;
  height: 88px;
  margin: 0 auto 1.1rem;
  overflow: hidden;
}

.ten-secure-send__envelope {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 72px;
  height: 48px;
  margin-left: -36px;
  transform-origin: 50% 50%;
  animation: ten-sg-fly 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.ten-secure-send__envelope svg {
  width: 72px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(204, 6, 7, 0.28));
}

.ten-secure-send__bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #ececec;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.ten-secure-send__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #cc0607 0%,
    #f4a261 32%,
    #f4d35e 58%,
    #2a9d8f 82%,
    #cc0607 100%
  );
  background-size: 220% 100%;
  animation: ten-sg-sheen 1.4s linear infinite;
  box-shadow: 0 0 12px rgba(204, 6, 7, 0.35);
  transition: width 0.12s linear;
}

.ten-secure-send__pct {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #cc0607;
}

@keyframes ten-sg-fly {
  0% {
    transform: translate(-18px, 10px) rotate(-8deg) scale(0.92);
    opacity: 0.55;
  }
  35% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(22px, -14px) rotate(10deg) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translate(40px, -28px) rotate(16deg) scale(0.88);
    opacity: 0;
  }
}

@keyframes ten-sg-sheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ten-secure-send__envelope,
  .ten-secure-send__fill {
    animation: none;
  }
  .ten-secure-send__envelope {
    transform: none;
    opacity: 1;
  }
}
