/* =========================================================
   0711addicts Ticketing — Frontend
   VfB-Vereinsfarben (Rot/Weiß/Schwarz), schlicht & modern
   ========================================================= */

.a71-portal {
  --vfb-red: #E32219;
  --vfb-red-dark: #B81813;
  --vfb-black: #1a1a1a;
  --vfb-white: #ffffff;
  --a71-bg: #f6f6f7;
  --a71-surface: #ffffff;
  --a71-border: #e5e5e7;
  --a71-text: #1a1a1a;
  --a71-muted: #6b7280;
  --a71-success: #16a34a;
  --a71-success-bg: #ecfdf5;
  --a71-warn: #d97706;
  --a71-warn-bg: #fffbeb;
  --a71-info-bg: #f3f4f6;
  --a71-radius: 14px;
  --a71-radius-sm: 8px;
  --a71-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--a71-text);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 4px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Theme-Kompatibilität: neutralisiert aggressive Theme-Styles
   (Monospace-Fonts, Rahmen/Boxen um Absätze, Linkfarben)
   innerhalb des Portals und des Nutzer-Dashboards.
   --------------------------------------------------------- */
.a71-portal, .a71-portal * {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}
.a71-portal p, .a71-portal li {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: 100% !important;
}
.a71-portal p:not([class]), .a71-portal li {
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  display: block;
}
.a71-portal ul, .a71-portal ol { background: transparent !important; border: 0 !important; padding-left: 0 !important; list-style: none; }
.a71-portal a:not([class]) {
  color: var(--vfb-red) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.a71-portal h2, .a71-portal h3 {
  background: transparent !important;
  box-shadow: none !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  text-shadow: none !important;
}
.a71-portal button { background-image: none !important; text-shadow: none !important; }
.a71-portal strong, .a71-portal em, .a71-portal small,
.a71-portal dt, .a71-portal dd {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.a71-portal dd { margin-left: 0; }

/* Schutznetz: Wurde der Shortcode im Editor versehentlich als „Code"/fett
   formatiert eingefügt, erzeugt WordPress <strong><code>-Wrapper um die
   Ausgabe (blaue Monospace-Boxen, leere Klammer-Artefakte). Neutralisieren: */
body .a71-portal code, body .a71-portal kbd, body .a71-portal samp, body .a71-portal pre {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline !important;
  white-space: normal !important;
  letter-spacing: inherit !important;
}

/* ---------------------------------------------------------
   BeTheme-Gegenregeln: das Theme stylt h2/h3, span und
   Inputs im Content-Bereich mit hoher Spezifität.
   Diese Regeln setzen unser Design mit !important durch;
   speziellere Regeln darunter stellen unsere farbigen
   Komponenten (Badges, Pills, Preise) wieder her.
   --------------------------------------------------------- */
body .a71-portal h2, body .a71-portal h3 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  color: var(--vfb-black) !important;
  text-shadow: none !important;
}
body .a71-portal .a71-portal-box h2 { color: var(--vfb-red) !important; margin-bottom: 8px !important; }
body .a71-portal .a71-card-head h3 { font-size: 20px !important; }
body .a71-portal span {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-shadow: none !important;
  color: inherit !important;
}
body .a71-portal .a71-badge { background: var(--vfb-red) !important; color: #fff !important; padding: 2px 8px !important; border-radius: 999px !important; }
body .a71-portal .a71-badge-admin { background: var(--vfb-black) !important; }
body .a71-portal .a71-status { padding: 4px 12px !important; border-radius: 999px !important; }
body .a71-portal .a71-status-pending, body .a71-portal .a71-status-waitlist { background: var(--a71-info-bg) !important; color: var(--a71-muted) !important; }
body .a71-portal .a71-status-reserved { background: #fee2e2 !important; color: var(--vfb-red-dark) !important; }
body .a71-portal .a71-status-partial { background: var(--a71-warn-bg) !important; color: var(--a71-warn) !important; }
body .a71-portal .a71-status-rejected { background: #f3f4f6 !important; color: #4b5563 !important; }
body .a71-portal .a71-status-paid { background: var(--a71-success-bg) !important; color: var(--a71-success) !important; }
body .a71-portal .a71-qty-field > span, body .a71-portal .a71-profile-field > span { color: var(--a71-muted) !important; }
body .a71-portal .a71-stat-value { color: var(--vfb-red) !important; background: transparent !important; border: 0 !important; }
body .a71-portal .a71-stat-label, body .a71-portal .a71-stat-sub { color: var(--a71-muted) !important; }
body .a71-portal .a71-stepper input[type=number] {
  background: #fff !important;
  color: var(--a71-text) !important;
  -webkit-text-fill-color: var(--a71-text) !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
}
body .a71-portal .a71-step-btn { background: var(--a71-bg) !important; color: var(--vfb-black) !important; border: 0 !important; min-width: 0 !important; }
body .a71-portal .a71-profile-field input {
  background: #fff !important;
  color: var(--a71-text) !important;
  border: 1.5px solid var(--a71-border) !important;
  box-shadow: none !important;
}
body .a71-portal .a71-profile-field input:focus { border-color: var(--vfb-red) !important; box-shadow: 0 0 0 3px rgba(227,34,25,.15) !important; }
body .a71-portal .a71-btn-action { text-shadow: none !important; background-image: none !important; border-radius: var(--a71-radius-sm) !important; }
body .a71-portal .a71-btn-red { background-color: var(--vfb-red) !important; color: #fff !important; }
body .a71-portal .a71-btn-green { background-color: var(--a71-success) !important; color: #fff !important; }
body .a71-portal .a71-btn-dark { background-color: var(--vfb-black) !important; color: #fff !important; }
body .a71-portal .a71-btn-ghost { background-color: transparent !important; color: var(--a71-text) !important; border: 1.5px solid var(--a71-border) !important; }
body .a71-portal .a71-tab-link { background: transparent !important; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; box-shadow: none !important; color: var(--a71-muted) !important; }
body .a71-portal .a71-tab-link.active { color: var(--vfb-red) !important; border-bottom: 3px solid var(--vfb-red) !important; }

/* Login-Formular (wp_login_form) im Widget-Design — Theme-Skin komplett überschreiben */
body .a71-portal .a71-portal-box h2 { font-size: 24px !important; line-height: 1.3 !important; }
body .a71-portal .a71-portal-box p { margin: 0 0 14px !important; }
body .a71-portal .a71-portal-box label {
  color: var(--a71-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: block;
  margin-bottom: 4px;
}
body .a71-portal .a71-portal-box input[type=text],
body .a71-portal .a71-portal-box input[type=password] {
  background: #fff !important;
  color: var(--a71-text) !important;
  -webkit-text-fill-color: var(--a71-text) !important;
  border: 1.5px solid var(--a71-border) !important;
  border-radius: var(--a71-radius-sm) !important;
  padding: 10px 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  font-size: 15px !important;
}
body .a71-portal .a71-portal-box input[type=text]:focus,
body .a71-portal .a71-portal-box input[type=password]:focus {
  border-color: var(--vfb-red) !important;
  box-shadow: 0 0 0 3px rgba(227,34,25,.15) !important;
  outline: none !important;
}
body .a71-portal .a71-portal-box input[type=checkbox] { accent-color: var(--vfb-red) !important; width: 16px !important; height: 16px !important; }
body .a71-portal .a71-portal-box input[type=submit],
body .a71-portal .a71-portal-box button[type=submit] {
  background: var(--vfb-red) !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--a71-radius-sm) !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  text-shadow: none !important;
  box-shadow: none !important;
  width: 100%;
}
body .a71-portal .a71-portal-box input[type=submit]:hover,
body .a71-portal .a71-portal-box button[type=submit]:hover { background: var(--vfb-red-dark) !important; }

/* ----- Login-Box ----- */
.a71-portal-box {
  background: var(--a71-surface);
  border: 1px solid var(--a71-border);
  border-radius: var(--a71-radius);
  padding: 32px;
  box-shadow: var(--a71-shadow);
  max-width: 420px;
  margin: 40px auto;
}
.a71-portal-box h2 {
  margin: 0 0 8px;
  color: var(--vfb-red);
  font-size: 24px;
}

/* ----- Flash-Messages ----- */
.a71-flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--a71-radius-sm);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  border-left: 4px solid;
}
.a71-flash-success { background: var(--a71-success-bg); border-color: var(--a71-success); color: #14532d; }
.a71-flash-error   { background: #fef2f2; border-color: var(--vfb-red); color: #7f1d1d; }

/* ----- Tabs ----- */
.a71-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--a71-border);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.a71-tabs::-webkit-scrollbar { display: none; }

.a71-tab-link {
  background: transparent;
  border: none;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--a71-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: inherit;
}
.a71-tab-link:hover { color: var(--a71-text); }
.a71-tab-link.active {
  color: var(--vfb-red);
  border-bottom-color: var(--vfb-red);
}

.a71-badge {
  background: var(--vfb-red);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  min-width: 20px;
  text-align: center;
}
.a71-badge-admin {
  background: var(--vfb-black);
}

.a71-tab-content { display: none; animation: a71fade .2s ease-out; }
@keyframes a71fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ----- Karten (Match / Application) ----- */
.a71-app, .a71-match {
  background: var(--a71-surface);
  border: 1px solid var(--a71-border);
  border-radius: var(--a71-radius);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--a71-shadow);
  transition: transform .15s, box-shadow .15s;
}
.a71-app:hover, .a71-match:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
}

.a71-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--vfb-red);
}
.a71-card-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--vfb-black);
  letter-spacing: -.01em;
}

/* ----- Status-Pill ----- */
.a71-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.a71-status-pending  { background: var(--a71-info-bg);   color: var(--a71-muted); }
.a71-status-reserved { background: #fee2e2;              color: var(--vfb-red-dark); }
.a71-status-partial  { background: var(--a71-warn-bg);   color: var(--a71-warn); }
.a71-status-waitlist { background: var(--a71-info-bg);   color: var(--a71-muted); }
.a71-status-rejected { background: #f3f4f6;              color: #4b5563; }
.a71-status-paid     { background: var(--a71-success-bg); color: var(--a71-success); }

/* ----- Meta-Grid (Anstoß / Frist / Preis / Ort) ----- */
.a71-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px 20px;
  margin: 0 0 18px;
  padding: 0;
}
.a71-meta > div { margin: 0; }
.a71-meta dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--a71-muted);
  margin-bottom: 2px;
}
.a71-meta dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--a71-text);
}

/* ----- Bewerbungs-Form ----- */
.a71-form { margin: 0; }

.a71-qty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.a71-qty-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a71-qty-field span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--a71-muted);
}
/* Stepper: − [Zahl] + — Zahlfarbe explizit gesetzt, damit kein Theme-Grün/Blau durchschlägt */
.a71-stepper {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--a71-border);
  border-radius: var(--a71-radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.a71-stepper:focus-within {
  border-color: var(--vfb-red);
  box-shadow: 0 0 0 3px rgba(227,34,25,.15);
}
.a71-step-btn {
  width: 46px;
  min-height: 46px;
  flex-shrink: 0;
  border: none;
  background: var(--a71-bg);
  color: var(--vfb-black);
  font-size: 22px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.a71-step-btn:hover { background: #ececee; color: var(--vfb-red); }
.a71-step-btn:active { background: var(--vfb-red); color: #fff; }
.a71-stepper input[type=number] {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  text-align: center;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--a71-text) !important;
  -webkit-text-fill-color: var(--a71-text);
  background: #fff;
  padding: 10px 4px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.a71-stepper input[type=number]::-webkit-outer-spin-button,
.a71-stepper input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.a71-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--a71-bg);
  border-radius: var(--a71-radius-sm);
  font-size: 14px;
  color: var(--a71-text);
  cursor: pointer;
  margin-bottom: 18px;
}
.a71-check input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--vfb-red);
  flex-shrink: 0;
  margin: 0;
}

/* ----- Buttons ----- */
.a71-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--a71-radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s, transform .05s;
  letter-spacing: .01em;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.a71-btn-action:active { transform: translateY(1px); }
.a71-btn-action:focus-visible {
  outline: 3px solid rgba(227,34,25,.3);
  outline-offset: 2px;
}

.a71-btn-red   { background: var(--vfb-red); color: #fff; }
.a71-btn-red:hover   { background: var(--vfb-red-dark); color: #fff; }

.a71-btn-dark  { background: var(--vfb-black); color: #fff; }
.a71-btn-dark:hover  { background: #000; color: #fff; }

.a71-btn-green { background: var(--a71-success); color: #fff; }
.a71-btn-green:hover { background: #15803d; color: #fff; }

.a71-btn-ghost {
  background: transparent;
  color: var(--a71-text);
  border-color: var(--a71-border);
}
.a71-btn-ghost:hover {
  border-color: var(--vfb-red);
  color: var(--vfb-red);
}

.a71-btn-block { display: flex; width: 100%; }

/* ----- Info-Boxen (innerhalb Karten) ----- */
.a71-info-row {
  background: var(--a71-bg);
  border-radius: var(--a71-radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.a71-info-row strong { color: var(--vfb-black); }

.a71-admin-note {
  background: #fff7ed;
  border-left: 4px solid var(--a71-warn);
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--a71-radius-sm);
  font-size: 14px;
}
.a71-admin-note strong { display: block; font-size: 11px; text-transform: uppercase; color: var(--a71-warn); letter-spacing: .05em; margin-bottom: 2px; }

.a71-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--a71-radius-sm);
  font-weight: 600;
  margin: 14px 0;
  font-size: 14px;
}
.a71-callout-success { background: var(--a71-success-bg); color: #14532d; border-left: 4px solid var(--a71-success); }
.a71-callout-pending { background: var(--a71-info-bg); color: #374151; border-left: 4px solid var(--a71-muted); }
.a71-callout-icon { font-size: 18px; line-height: 1; }

/* ----- Action-Group (Buttons + Forms am Ende einer Karte) ----- */
.a71-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.a71-actions form { margin: 0; min-width: 0; }
.a71-actions > * { min-width: 0; }

.a71-deadline-info {
  font-size: 13px;
  color: var(--a71-muted);
  margin: 8px 0 0;
}

/* ----- Empty State ----- */
.a71-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--a71-surface);
  border: 1px dashed var(--a71-border);
  border-radius: var(--a71-radius);
  color: var(--a71-muted);
  font-size: 15px;
}

/* ----- Sektion-Trenner (Vergangene Tickets) ----- */
.a71-section-divider {
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--a71-border);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--a71-muted);
}

/* ----- Zahlungsübersicht (Sitz/Steh + Sondertickets) ----- */
.a71-price-box {
  background: var(--a71-bg);
  border-radius: var(--a71-radius-sm);
  padding: 12px 14px;
  margin: 14px 0;
}
.a71-price-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--a71-muted);
  margin-bottom: 6px;
}
.a71-price-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.a71-price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 14px;
}
.a71-price-list li.a71-price-extra { color: var(--vfb-red-dark); font-weight: 600; }
.a71-price-list li.a71-price-extra em { font-style: normal; font-weight: 500; opacity: .85; }
.a71-price-list li.a71-price-total {
  border-top: 1px solid var(--a71-border);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 800;
  font-size: 15px;
}

/* ----- Nutzer-Dashboard (Meine Daten) ----- */
.a71-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--a71-bg);
  border-radius: var(--a71-radius-sm);
}
.a71-portal img.a71-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid var(--a71-border) !important;
  background: #fff;
  flex-shrink: 0;
  box-shadow: none !important;
}
.a71-avatar-controls {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.a71-avatar-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--a71-muted);
}
.a71-avatar-controls input[type=file] { font-size: 13px; max-width: 100%; }
.a71-avatar-remove {
  font-size: 13px;
  color: var(--a71-muted);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}
.a71-avatar-remove input[type=checkbox] { accent-color: var(--vfb-red); margin: 0; }
.a71-shoplink-text { font-size: 14px; color: var(--a71-muted); margin: 0 0 14px; }

/* App-Installations-Hinweise */
.a71-install-hints { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.a71-install-os {
  font-size: 13px;
  color: var(--a71-text);
  background: var(--a71-bg);
  border-radius: var(--a71-radius-sm);
  padding: 10px 12px;
}
.a71-install-os strong { color: var(--vfb-black); }

/* Passwort-Eingabe mit Augen-Icon */
.a71-pw-wrap {
  position: relative;
  display: block;
}
.a71-pw-wrap input[type=password],
.a71-pw-wrap input[type=text] {
  padding-right: 42px !important;
  width: 100%;
  box-sizing: border-box;
}
.a71-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--a71-muted);
  padding: 6px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.a71-pw-toggle:hover { color: var(--vfb-red); background: var(--a71-bg); }
.a71-pw-toggle.a71-pw-shown { color: var(--vfb-red); }

/* OFC-Mitgliedsnummer: graues, nur lesbares Feld (Admin-verwaltet) */
.a71-ofc-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  background: #eceef1;
  border: 1px solid #dcdfe4;
  border-radius: var(--a71-radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.a71-ofc-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #4b5563 !important;
}
.a71-ofc-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a !important;
}
.a71-ofc-hint {
  flex-basis: 100%;
  font-size: 12px;
  color: #6b7280 !important;
}

.a71-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.a71-profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.a71-profile-field span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--a71-muted);
}
.a71-profile-field input {
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1.5px solid var(--a71-border);
  border-radius: var(--a71-radius-sm);
  background: #fff;
  color: var(--a71-text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.a71-profile-field input:focus {
  outline: none;
  border-color: var(--vfb-red);
  box-shadow: 0 0 0 3px rgba(227,34,25,.15);
}

/* ----- Anmeldeformular (Mitgliedsantrag) ----- */
.a71-reg-intro {
  font-size: 14px;
  color: var(--a71-text);
  background: var(--a71-bg);
  border-left: 4px solid var(--vfb-red);
  border-radius: var(--a71-radius-sm);
  padding: 14px 16px;
  margin: 0 0 18px;
}
.a71-reg-section {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--a71-muted);
  margin: 6px 0 12px;
}
.a71-reg-check { align-items: flex-start; margin-top: 16px; }
.a71-reg-check input[type=checkbox] { margin-top: 3px; }
.a71-reg-privacy {
  font-size: 12px;
  color: var(--a71-muted);
  margin: 16px 0 0;
  font-style: italic;
}

/* ----- Meine Stats ----- */
.a71-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}
.a71-stat-card {
  background: var(--a71-surface);
  border: 1px solid var(--a71-border);
  border-radius: var(--a71-radius);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--a71-shadow);
  animation: a71pop .5s cubic-bezier(.2, .7, .3, 1.15) both;
  transition: transform .15s, box-shadow .15s;
}
.a71-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,.05), 0 10px 28px rgba(0,0,0,.08);
}
.a71-stat-card:nth-child(1) { animation-delay: .02s; }
.a71-stat-card:nth-child(2) { animation-delay: .08s; }
.a71-stat-card:nth-child(3) { animation-delay: .14s; }
.a71-stat-card:nth-child(4) { animation-delay: .20s; }
.a71-stat-card:nth-child(5) { animation-delay: .26s; }
.a71-stat-card:nth-child(6) { animation-delay: .32s; }
@keyframes a71pop {
  from { opacity: 0; transform: translateY(14px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.a71-stat-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #fee2e2;
  color: var(--vfb-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.a71-stat-icon svg { width: 23px; height: 23px; }
.a71-stat-card:hover .a71-stat-icon { animation: a71wiggle .5s ease; }
@keyframes a71wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg) scale(1.08); }
  75% { transform: rotate(8deg) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .a71-stat-card, .a71-stat-card:hover .a71-stat-icon { animation: none; }
}
.a71-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--vfb-red);
  line-height: 1.2;
  margin-bottom: 6px;
  word-break: break-word;
}
.a71-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--a71-muted);
}
.a71-stat-sub {
  font-size: 11px;
  color: var(--a71-muted);
  margin-top: 6px;
}

/* =========================================================
   Mobile (≤ 600px)
   ========================================================= */
@media screen and (max-width: 600px) {
  .a71-portal { padding: 0; }
  .a71-app, .a71-match { padding: 16px; border-radius: 12px; }
  .a71-card-head h3 { font-size: 17px; }
  .a71-tab-link { padding: 12px 14px; font-size: 13px; }
  .a71-meta { grid-template-columns: 1fr 1fr; gap: 12px; }
  .a71-meta dd { font-size: 14px; }
  .a71-qty-grid { grid-template-columns: 1fr; }
  .a71-profile-grid { grid-template-columns: 1fr; }
  .a71-qty-field, .a71-stepper { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
  .a71-stepper input[type=number] { font-size: 16px; }
  .a71-step-btn { width: 52px; min-height: 50px; }
  .a71-stats-grid { grid-template-columns: 1fr 1fr; }
  .a71-stat-value { font-size: 22px; }
  .a71-btn-action { padding: 12px 16px; min-height: 44px; width: 100%; }
  .a71-actions { flex-direction: column; }
  .a71-actions > * { width: 100%; }
}
