/* mitglied-werden.css – Styles for the membership signup page */

/* Hero */
.mw-hero {
  padding: 8rem 0 2rem;
  text-align: center;
}
.mw-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.mw-hero h1 .script-accent {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.mw-hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Step Indicator */
.mw-steps {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
}

.mw-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  transition: opacity 0.3s;
}
.mw-steps__item.is-active { opacity: 1; }
.mw-steps__item.is-done { opacity: 0.65; }

.mw-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.3s, color 0.3s;
}
.mw-steps__item.is-active .mw-steps__num {
  background: var(--accent);
  color: #000;
}
.mw-steps__item.is-done .mw-steps__num {
  background: rgba(0, 175, 240, 0.2);
  color: var(--accent);
}

.mw-steps__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.mw-steps__item.is-active .mw-steps__label { color: var(--accent); }

/* Panels */
.mw-panel {
  display: none;
  padding: 4rem 1rem;
  animation: mwFadeIn 0.4s ease;
}
.mw-panel.is-active { display: block; }

@keyframes mwFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Period Selector - uses .pricing-tabs from style.css */

/* Cards Grid - uses .pricing-grid / .price-card from style.css */
.price-card.is-selected {
  border-color: var(--accent) !important;
  box-shadow: 0 0 30px rgba(0, 175, 240, 0.15);
  transform: translateY(-6px);
}

/* Addon Select in Card */
.mw-card__addon {
  margin: -0.5rem 0 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.mw-card__addon label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.mw-card__addon select {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 0.85rem;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.6rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mw-card__addon select option {
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem;
}
.mw-card__addon select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.15);
}

/* Selected Tariff */
.mw-selected {
  background: linear-gradient(135deg, rgba(0, 175, 240, 0.1), rgba(0, 175, 240, 0.04));
  border: 1px solid rgba(0, 175, 240, 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.mw-selected__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mw-selected__plan { font-weight: 700; font-size: 1rem; }
.mw-selected__price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

/* Special Prices Toggle */
.mw-special-toggle {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.mw-special-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.mw-special-trigger:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}
.mw-special-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mw-special-content {
  margin-top: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  animation: mwFadeIn 0.3s ease;
}
.mw-special-content p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.mw-special-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}
.mw-special-content li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 1.2rem;
  position: relative;
}
.mw-special-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: 700;
}
.mw-special-note {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
  opacity: 0.7;
}

/* Fees Note (Kleingedrucktes) */
.mw-fees-note {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.6;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Error message */
.mw-error {
  color: #ff4757;
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Actions */
.mw-actions {
  text-align: center;
  padding: 1.5rem 0 3rem;
}
.mw-actions--split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Form Styles */
.mw-form-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}
.mw-form-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mw-form-row--addr {
  grid-template-columns: 2.5fr 0.8fr 1fr 2fr;
}

.mw-field { margin-bottom: 1rem; }
.mw-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.mw-field input,
.mw-field select,
.mw-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mw-field input:focus,
.mw-field select:focus,
.mw-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.12);
}
.mw-field input.is-invalid { border-color: #ff4757; }
.mw-field-error {
  color: #ff4757;
  font-size: 0.8rem;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}
.mw-field textarea { resize: vertical; min-height: 80px; }

.mw-field select {
  appearance: none;
  background-color: #16161f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300AFF0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  color: #fff;
}
.mw-field select option {
  background-color: #16161f;
  color: #fff;
  padding: 0.5rem;
}

.mw-sepa-info {
  background: rgba(0, 175, 240, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0.4rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.mw-sepa-info p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Info-Toggle (aufklappbare kleine Information) */
.mw-info-toggle {
  margin: -0.25rem 0 1rem;
  font-size: 0.78rem;
}
.mw-info-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--accent);
  list-style: none;
  user-select: none;
  padding: 0.3rem 0;
  transition: opacity 0.2s;
}
.mw-info-toggle summary:hover { opacity: 0.8; }
.mw-info-toggle summary::-webkit-details-marker { display: none; }
.mw-info-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}
.mw-info-toggle p {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.mw-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.mw-checkbox input {
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}
.mw-checkbox a { color: var(--accent); text-decoration: underline; }
.mw-checkbox--center { justify-content: center; margin: 1.5rem 0; }

.mw-honeypot { position: absolute; left: -9999px; }

/* Summary */
.mw-summary {
  margin-bottom: 1.5rem;
}
.mw-summary-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
}
.mw-summary-section h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}
.mw-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mw-summary-row:last-child { border-bottom: none; }
.mw-summary-dt { color: var(--muted); font-size: 0.85rem; }
.mw-summary-dd { color: #fff; font-weight: 600; font-size: 0.85rem; text-align: right; }

/* Aktionsbanner */
.mw-action-banner {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(245, 166, 35, 0.06));
  border-top: 1px solid rgba(245, 166, 35, 0.3);
  border-bottom: 1px solid rgba(245, 166, 35, 0.3);
  padding: 0.85rem 0;
  text-align: center;
  animation: mwFadeIn 0.4s ease;
}
.mw-action-banner__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5a623;
}
.mw-action-banner__icon {
  font-size: 1rem;
}

/* Partnertarif-Hinweis */
.mw-partner-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.mw-partner-note__icon { flex-shrink: 0; font-size: 1rem; }

/* Rabatt-Upload Feld-Hinweis */
.mw-field-hint {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.15rem;
  opacity: 0.8;
}
.mw-field input[type="file"] {
  padding: 0.55rem 1rem;
  cursor: pointer;
  font-size: 0.82rem;
}
.mw-field input[type="file"].is-invalid {
  border-color: #ff4757;
}

/* Summary Gebühren-Sektion */
.mw-summary-section--fees {
  background: rgba(0, 175, 240, 0.04);
  border-color: rgba(0, 175, 240, 0.18);
}
.mw-summary-row--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mw-summary-dd--total {
  color: var(--accent);
  font-size: 1rem;
}
.mw-summary-fees-note {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Summary Aktions-Sektion */
.mw-summary-section--action {
  background: rgba(245, 166, 35, 0.06);
  border-color: rgba(245, 166, 35, 0.25);
}
.mw-summary-section--action h4 {
  color: #f5a623;
}

/* Success */
.mw-success {
  padding: 6rem 0;
}
.mw-success__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 175, 240, 0.12);
  border-radius: 50%;
  font-size: 2.2rem;
  color: var(--accent);
  box-shadow: 0 0 40px rgba(0, 175, 240, 0.2);
}
.mw-success h2 { margin-bottom: 1rem; }
.mw-success > .section-inner > p { color: var(--muted); max-width: 420px; margin: 0 auto; line-height: 1.6; }
.mw-success__card {
  max-width: 440px;
  margin: 2rem auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: left;
}
.mw-success__card-item {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.mw-success__card-item:last-child { margin-bottom: 0; }
.mw-success__card-item strong { color: #fff; display: block; margin-bottom: 0.2rem; }

/* Responsive */
@media (max-width: 900px) {
  .mw-form-row { grid-template-columns: 1fr; }
  .mw-form-row--addr { grid-template-columns: 1fr 1fr; }
  .mw-steps { gap: 0.75rem; }
  .mw-steps__label { display: none; }
  .mw-actions--split { flex-direction: column-reverse; }
}

@media (max-width: 480px) {
  .mw-hero { padding: 6rem 0 1.5rem; }
  .mw-form-row--addr { grid-template-columns: 1fr; }
  .mw-form-section { padding: 1.25rem; }
}
