/* ============================================================
   Ergänzungen zum EHC-Theme (style.css) für die Einwilligungsseite.
   Enthält nur das, was style.css nicht abdeckt: Formular, Checkbox,
   Button, Status-Meldungen – im gleichen Look (Orange #ff4c00 auf
   Schwarz).
   ============================================================ */

:root {
  /* Ohne Eckbild wird der reservierte Rand rechts nicht gebraucht. */
  --content-right-pad: 30px;
}

/* Der Theme-Hintergrund verweist auf ein Bild der Vereinsseite, das dieser
   Dienst nicht ausliefert – hier ein passender Verlauf als Ersatz. */
.bg-fixed {
  background-image:
    radial-gradient(1200px 600px at 15% -10%, rgba(255, 76, 0, 0.20), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(255, 76, 0, 0.10), transparent 55%),
    linear-gradient(160deg, #101010 0%, #050505 100%);
}

.container { max-width: 900px; }
.footer-inner { padding-right: 0; }
.nav-brand { cursor: default; }

/* ====== Formular ====== */
.consent-form { margin-top: 26px; }

.consent-box {
  background: rgba(255, 76, 0, 0.07);
  border: 1px solid rgba(255, 76, 0, 0.45);
  border-left: 4px solid #ff4c00;
  border-radius: 6px;
  padding: 20px 22px;
  margin-bottom: 22px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
}
.checkbox-row span { flex: 1; }
.checkbox-row strong { color: #ff4c00; }

.checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border: 2px solid rgba(255, 76, 0, 0.7);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.checkbox-row input[type="checkbox"]:hover { border-color: #ff4c00; }
.checkbox-row input[type="checkbox"]:focus-visible {
  outline: 2px solid #ff7a2a;
  outline-offset: 3px;
}
.checkbox-row input[type="checkbox"]:checked {
  background: #ff4c00;
  border-color: #ff4c00;
}
.checkbox-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 8px; top: 3px;
  width: 6px; height: 12px;
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* ====== Button ====== */
.btn {
  display: inline-block;
  padding: 14px 34px;
  background: #ff4c00;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(255, 76, 0, 0.25);
}
.btn:hover {
  background: #ff7a2a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 76, 0, 0.35);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* ====== Meta-Block (Daten des Teilnehmers) ====== */
.consent-meta {
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 76, 0, 0.35);
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 22px;
}
.consent-meta .label {
  display: block;
  color: #ff4c00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.consent-meta p { color: #ffffff; margin: 0; font-weight: 600; }
.consent-meta dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 12px;
  margin: 0;
}
.consent-meta dt { color: #b8b8b8; font-size: 0.9rem; }
.consent-meta dd { color: #ffffff; margin: 0; font-size: 0.95rem; font-weight: 600; word-break: break-word; }

.hint {
  color: #8a8a8a;
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 14px;
}

/* ====== Status / Fehler ====== */
.status-ok, .status-error, .form-error {
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-weight: 700;
}
.status-ok {
  background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.5);
  border-left: 4px solid #2ea043;
  color: #7ee2a0;
}
.status-error, .form-error {
  background: rgba(255, 76, 0, 0.10);
  border: 1px solid rgba(255, 76, 0, 0.5);
  border-left: 4px solid #ff4c00;
  color: #ff9b6a;
}

@media (max-width: 620px) {
  .consent-meta dl { grid-template-columns: 1fr; }
  .consent-meta dt { margin-top: 6px; }
  .btn { width: 100%; text-align: center; }
}
