@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* ═══════════════════════════════════════════════
   BROTHERS GYM — CF7 Probetraining Styling
   Einfügen unter: Darstellung → Customizer →
   Zusätzliches CSS
   ═══════════════════════════════════════════════ */

/* ── Wrapper (umschließt das gesamte CF7-Formular) ── */
.wpcf7 {
  background: #1a1a1a;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 36px 32px 32px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
  color: #ccc;
}

.wpcf7::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -20px;
  width: 220px;
  height: 60px;
  background: rgba(255,255,255,.05);
  transform: rotate(-8deg);
  pointer-events: none;
}

/* ── Alle Paragraphen im Formular ── */
.wpcf7 p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* ── Überschriften / Abschnitte ── */
.wpcf7 p strong {
  display: block;
  color: #d8944d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── Trennlinie ── */
.wpcf7 hr {
  border: none;
  border-top: 1px solid #333;
  margin: 24px 0;
}

/* ── Text-, Tel-, E-Mail-Felder ── */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
  width: 100%;
  height: 48px;
  background: #2a2a2a !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 0 !important;
  color: #ccc !important;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0 14px;
  box-sizing: border-box;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.wpcf7 textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #555 !important;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #d8944d !important;
  outline: none;
}

/* ── File Upload ── */
.wpcf7 input[type="file"] {
  height: auto;
  background: #2a2a2a !important;
  border: 1px dashed #3a3a3a !important;
  border-radius: 0 !important;
  color: #aaa !important;
  font-size: 14px;
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.wpcf7 input[type="file"]:hover {
  border-color: #d8944d !important;
}

/* ── Checkboxen & Acceptance ── */
.wpcf7 .wpcf7-list-item {
  display: block;
  margin: 8px 0;
}

.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  line-height: 1.5;
}

.wpcf7 input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  background: #2a2a2a !important;
  border: 1px solid #3a3a3a !important;
  border-radius: 0 !important;
  accent-color: #d8944d;
  margin: 2px 0 0;
  cursor: pointer;
  flex-shrink: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #888;
  line-height: 1.6;
}

.wpcf7 .wpcf7-acceptance a {
  color: #d8944d;
  text-decoration: underline;
}

/* ── Vertragstexte ── */
.wpcf7 p:not(:has(strong)) {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

/* ── Unterschrift-Box ── */
.wpcf7 div[style*="border:2px solid red"],
.wpcf7 div[style*="border: 2px solid red"] {
  border: 1px solid #3a3a3a !important;
  border-radius: 0 !important;
  background: #2a2a2a;
  padding: 16px !important;
  margin: 16px 0 !important;
  display: block !important;
}

.wpcf7 .wpcf7-signature-wrap canvas,
.wpcf7 canvas {
  background: #fff !important;
  width: 100% !important;
  max-width: 100%;
  display: block;
}

.wpcf7 .wpcf7-signature-clear {
  background: transparent;
  border: 1px solid #3a3a3a;
  color: #888;
  font-size: 12px;
  padding: 4px 12px;
  cursor: pointer;
  margin-top: 8px;
  border-radius: 0;
}

.wpcf7 .wpcf7-signature-clear:hover {
  border-color: #d8944d;
  color: #d8944d;
}

/* ── reCAPTCHA ── */
.wpcf7 .wpcf7-recaptcha {
  margin: 16px 0;
}

/* ── Submit-Button ── */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
  width: 100%;
  height: 56px;
  margin-top: 16px;
  background: #d8944d !important;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: 'Anton', Impact, sans-serif !important;
  font-size: 20px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: none !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
  background: #c07a38 !important;
}

.wpcf7 input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Validierungsfehler ── */
.wpcf7 .wpcf7-not-valid {
  border-color: #ff6b6b !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 12px;
  margin-top: -6px;
  margin-bottom: 8px;
  display: block;
}

/* ── Erfolgs- / Fehlermeldung ── */
.wpcf7 .wpcf7-response-output {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: none !important;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: rgba(124,255,138,.12);
  color: #7CFF8A;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted,
.wpcf7 .wpcf7-validation-errors {
  background: rgba(255,107,107,.12);
  color: #ff6b6b;
}

/* ── Spinner ── */
.wpcf7 .wpcf7-spinner {
  background-color: #d8944d !important;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .wpcf7 {
    padding: 24px 16px 20px;
  }

  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit {
    font-size: 16px !important;
  }
}