/* Anmeldung: Tester + Newsletter – passend zum Dark-Navy-Design */
.reg-section {
  padding: 48px 0;
  background:
    linear-gradient(180deg, rgba(14, 31, 69, .55), rgba(10, 23, 51, .25));
  border-block: 1px solid var(--line, rgba(120, 170, 255, .22));
}

.reg-section .section-head {
  max-width: 66ch;
  margin-bottom: 26px;
}

.reg-section .section-head p {
  margin: 0;
  color: var(--muted, #b3c3e3);
}

.reg-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reg-card {
  background: linear-gradient(180deg, var(--card, #0e1f45), var(--bg-2, #0a1733));
  border: 1px solid var(--line, rgba(120, 170, 255, .22));
  border-radius: var(--radius, 18px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.reg-card:hover,
.reg-card:focus-within {
  border-color: var(--line-2, rgba(120, 170, 255, .4));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .36);
}

@media (prefers-reduced-motion: reduce) {
  .reg-card {
    transition: none;
  }
}

.reg-card h3 {
  margin: 0;
  font-size: var(--text-xl, 1.25rem);
  line-height: 1.25;
}

.reg-card .reg-purpose {
  margin: 0;
  color: var(--muted, #b3c3e3);
  font-size: var(--text-base, 1rem);
}

.reg-form {
  display: grid;
  gap: 14px;
  margin: 0;
}

.reg-field {
  display: grid;
  gap: 6px;
}

.reg-field label {
  font-weight: 700;
  font-size: var(--text-sm, .9rem);
}

.reg-field input[type="email"] {
  width: 100%;
  font: inherit;
  color: var(--text, #eaf2ff);
  background: rgba(5, 13, 31, .65);
  border: 1px solid var(--line-2, rgba(120, 170, 255, .4));
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color .15s ease, background-color .15s ease;
}

.reg-field input[type="email"]:hover {
  border-color: var(--accent, #3ec6ff);
}

.reg-field input[type="email"]:focus {
  outline: 3px solid var(--gold, #ffd24d);
  outline-offset: 2px;
  border-color: var(--accent, #3ec6ff);
  background: rgba(5, 13, 31, .85);
}

.reg-field input[type="email"]:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #ff8f8f;
}

.reg-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--text-sm, .9rem);
  color: var(--muted, #b3c3e3);
  line-height: 1.45;
}

.reg-consent input {
  margin-top: 3px;
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent, #3ec6ff);
}

.reg-consent a {
  color: var(--accent, #3ec6ff);
}

.reg-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;
}

.reg-form .btn {
  justify-self: start;
}

.reg-form .btn:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
  filter: none;
}

.reg-status {
  min-height: 1.4em;
  margin: 0;
  font-size: var(--text-sm, .9rem);
  color: var(--muted, #b3c3e3);
}

.reg-status.is-error {
  color: #ff8f8f;
}

.reg-status.is-success {
  color: var(--ok, #5fe3a1);
}

.reg-status.is-info {
  color: var(--accent, #3ec6ff);
}

.reg-note {
  margin: 0;
  font-size: var(--text-sm, .9rem);
  color: var(--muted, #b3c3e3);
}

@media (max-width: 760px) {
  .reg-grid {
    grid-template-columns: 1fr;
  }
}
