/**
 * WKV Mitgliedsantrag CSS
 * Erstellt: 14.05.2026 19:30
 */

.wkv-member-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 56px;
}

.wkv-member-card,
.wkv-member-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.wkv-member-intro {
  padding: 34px;
  margin-bottom: 26px;
}

.wkv-eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.wkv-member-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  color: #111827;
}

.wkv-member-intro p {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 12px;
}

.wkv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.wkv-secondary-button,
.wkv-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  border: 1px solid #d1d5db;
  color: #1f2937;
  background: #f9fafb;
  cursor: pointer;
}

.wkv-primary-link {
  color: #ffffff;
  background: #2563eb;
  border-color: #2563eb;
}

.wkv-member-form {
  padding: 34px;
}

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

.wkv-field {
  margin-bottom: 20px;
}

.wkv-field-wide {
  grid-column: 1 / -1;
}

.wkv-field label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 750;
}

.wkv-field input,
.wkv-field select,
.wkv-field textarea,
.wkv-member-form input[type="text"],
.wkv-member-form input[type="email"],
.wkv-member-form input[type="tel"],
.wkv-member-form input[type="date"],
.wkv-member-form select,
.wkv-member-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 14px 16px;
  background: #f9fafb;
  color: #111827;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wkv-field small {
  display: block;
  margin-top: 7px;
  color: #6b7280;
  line-height: 1.45;
}

.wkv-field input:focus,
.wkv-field select:focus,
.wkv-field textarea:focus,
.wkv-member-form input:focus,
.wkv-member-form select:focus,
.wkv-member-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.wkv-sepa-box {
  margin: 10px 0 26px;
  padding: 24px;
  border-radius: 20px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.wkv-sepa-box h3 {
  margin: 0 0 8px;
  color: #111827;
}

.wkv-sepa-box p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.6;
}

.wkv-checks {
  margin: 24px 0;
  display: grid;
  gap: 14px;
}

.wkv-checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #374151;
  line-height: 1.55;
}

.wkv-checks input[type="checkbox"] {
  margin-top: 5px;
  transform: scale(1.15);
}

.wkv-checks a {
  color: #2563eb;
  text-decoration: underline;
}

.wkv-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.wkv-submit-row button {
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.wkv-submit-row button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.28);
}

.wkv-submit-row p {
  color: #6b7280;
  margin: 0;
}

.wkv-notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 18px;
  line-height: 1.55;
}

.wkv-notice-success {
  color: #064e3b;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
}

.wkv-notice-error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.wkv-notice ul {
  margin: 8px 0 0 20px;
}

.wkv-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 720px) {
  .wkv-member-intro,
  .wkv-member-form {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .wkv-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wkv-submit-row button,
  .wkv-secondary-button,
  .wkv-primary-link {
    width: 100%;
  }
}

@media print {
  .site-header,
  .site-footer,
  header,
  footer,
  nav,
  .wkv-actions,
  .wkv-submit-row,
  .wkv-notice {
    display: none !important;
  }

  .wkv-member-wrap {
    padding: 0;
    max-width: 100%;
  }

  .wkv-member-card,
  .wkv-member-form {
    box-shadow: none;
    border: 1px solid #cccccc;
  }
}

/* Ergänzt: 14.05.2026 20:12 - Felder passend zur Original-PDF-Vorlage */
.wkv-member-form h3 {
  margin: 30px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #b91c1c;
  color: #b91c1c;
  font-size: 1.25rem;
  line-height: 1.25;
}

.wkv-member-form h3:first-of-type {
  margin-top: 0;
}

.wkv-radio-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.wkv-radio-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
  color: #374151;
  line-height: 1.4;
  font-weight: 650;
}

.wkv-radio-row input[type="radio"] {
  margin-top: 3px;
  transform: scale(1.1);
}

@media (max-width: 720px) {
  .wkv-radio-row {
    grid-template-columns: 1fr;
  }
}

/* Ergänzt: 14.05.2026 20:45 - bessere Lesbarkeit für Auswahl- und Checkbox-Bereiche */
.wkv-radio-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.wkv-radio-row label,
.wkv-choice-card {
  min-height: 56px;
  align-items: center;
  overflow: visible;
}

.wkv-radio-row label span,
.wkv-choice-card span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.wkv-radio-row input[type="radio"] {
  flex: 0 0 auto;
  margin-top: 0;
}

.wkv-checks {
  gap: 12px;
}

.wkv-checks label,
.wkv-check-line {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 13px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f9fafb;
}

.wkv-checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0 0;
  transform: none;
  flex: 0 0 auto;
}

.wkv-check-text {
  display: block;
  min-width: 0;
  line-height: 1.55;
}

.wkv-check-text a {
  display: inline !important;
  white-space: normal;
  word-break: normal;
}

@media (max-width: 720px) {
  .wkv-radio-row {
    grid-template-columns: 1fr;
  }

  .wkv-checks label,
  .wkv-check-line {
    padding: 12px 13px;
  }
}
