/* E-Mail-Gate für die Tools. Monochrom, Silber als Akzent, Montserrat + Inter. */

.am-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  animation: am-gate-in 0.2s ease-out;
}

@keyframes am-gate-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.am-gate-card {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 3px solid #9ca3af;
}

.am-gate-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.85rem;
}

.am-gate-card h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.9rem;
}

.am-gate-lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 1.6rem;
}

.am-gate-field { margin-bottom: 1rem; }

.am-gate-field label {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.am-gate-field input {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.am-gate-field input:focus { border-color: #9ca3af; }
.am-gate-field input::placeholder { color: rgba(255, 255, 255, 0.25); font-style: italic; }

.am-gate-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.1rem 0 0.4rem;
}

.am-gate-consent input {
  margin-top: 0.2rem;
  accent-color: #9ca3af;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.am-gate-consent label {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.am-gate-error {
  min-height: 1.2rem;
  margin: 0.5rem 0 0;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #d64545;
}

.am-gate-btn {
  width: 100%;
  margin-top: 0.6rem;
  background: #fff;
  color: #000;
  border: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.am-gate-btn:hover { background: #e5e7eb; }
.am-gate-btn:disabled { background: rgba(255, 255, 255, 0.28); cursor: not-allowed; }

.am-gate-note {
  margin: 0.9rem 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

.am-gate-note a { color: rgba(255, 255, 255, 0.62); }

@media (max-width: 520px) {
  .am-gate-card { padding: 1.75rem 1.35rem; }
  .am-gate-card h2 { font-size: 1.35rem; }
}
