/* Leuchtkraft – Formulare auf der Website (ersetzt Profile Builder).
   Übernimmt Schrift und Grundfarben des Themes; Akzentfarbe wie bisher (#f16c20). */
.lk-f {
  --lk-akzent: #f16c20;
  --lk-linie: rgba(0, 0, 0, .14);
  --lk-leise: #6e7a86;
  --lk-fehler: #c62828;
  --lk-gut: #2e7d32;
  font-size: 15px;
  line-height: 1.5;
  max-width: 760px;
  box-sizing: border-box;
}
.lk-f *, .lk-f *::before, .lk-f *::after { box-sizing: border-box; }
.lk-f fieldset { border: 1px solid var(--lk-linie); border-radius: 10px; padding: 14px 18px 6px; margin: 0 0 18px; min-width: 0; }
.lk-f legend { font-weight: 700; padding: 0 6px; }
.lk-f label { display: block; margin: 0 0 12px; font-weight: 600; font-size: 14px; color: inherit; }
.lk-f input[type=text], .lk-f input[type=email], .lk-f input[type=tel], .lk-f input[type=url], .lk-f input[type=password],
.lk-f input[type=search], .lk-f select, .lk-f textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 12px; font: inherit; font-weight: 400;
  border: 1px solid var(--lk-linie); border-radius: 8px; background: #fff; color: #222; box-shadow: none;
}
.lk-f input:focus, .lk-f select:focus, .lk-f textarea:focus { outline: none; border-color: var(--lk-akzent); box-shadow: 0 0 0 3px rgba(241, 108, 32, .2); }
.lk-f small { display: block; font-weight: 400; color: var(--lk-leise); font-size: 13px; margin-top: 3px; }
.lk-f em { display: block; font-style: normal; font-weight: 600; color: var(--lk-fehler); font-size: 13px; margin-top: 3px; }
.lk-f .lk-fehler input, .lk-f .lk-fehler textarea { border-color: var(--lk-fehler); }
.lk-f .lk-pflicht { color: var(--lk-akzent); }
.lk-f .lk-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin: 0 0 8px; }
.lk-f .lk-check input { margin-top: 4px; flex: none; accent-color: var(--lk-akzent); }
.lk-f .lk-check small { margin-top: 0; }
.lk-f .lk-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 12px; }
.lk-f .lk-checks.lk-reihe { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; margin-bottom: 12px; }
.lk-f .lk-checks.lk-reihe .lk-check { margin: 0; }
.lk-f .lk-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.lk-f .lk-klein { color: var(--lk-leise); font-size: 13px; }
.lk-f button {
  display: inline-block; background: var(--lk-akzent); color: #fff; border: 0; border-radius: 999px; padding: 11px 26px;
  font: inherit; font-weight: 700; cursor: pointer; transition: filter .15s;
}
.lk-f button:hover { filter: brightness(1.08); }
.lk-f .lk-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lk-f.lk-login { max-width: 420px; }

.lk-f .lk-frage { margin: 0 0 14px; }
.lk-f .lk-frage-titel { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.lk-f .lk-frage.lk-fehler .lk-frage-titel { color: var(--lk-fehler); }

/* Hinweise */
.lk-box { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; border: 1px solid; }
.lk-box-ok { background: #edf7ed; border-color: #a5d6a7; }
.lk-box-info { background: #eef6fb; border-color: #b3d9ee; }
.lk-box-fehler { background: #fdecea; border-color: #f5b7b1; }

/* Meine Mitgliedschaft */
.lk-mitgliedschaft { border: 1px solid var(--lk-linie); border-left: 4px solid var(--lk-akzent); border-radius: 10px; padding: 12px 18px; margin-bottom: 20px; }
.lk-mitgliedschaft h3 { margin: 0 0 8px; }
.lk-f dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0; }
.lk-f dt { color: var(--lk-leise); }
.lk-f dd { margin: 0; }

/* Meine Mitgliedschaft: Konto */
.lk-konto { margin-top: 12px; }
.lk-konto summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
.lk-konto table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0; }
.lk-konto th, .lk-konto td { text-align: left; padding: 5px 8px 5px 0; border-bottom: 1px solid var(--lk-linie); }
.lk-konto th { color: var(--lk-leise); font-weight: 600; }
.lk-konto .lk-r { text-align: right; white-space: nowrap; }
.lk-offen { margin: 6px 0 0; padding-left: 18px; }

/* Mitgliederliste */
.lk-filter { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; align-items: center; margin-bottom: 6px; }
.lk-filter input, .lk-filter select { width: auto !important; flex: 1 1 160px; margin: 0 !important; }
.lk-filter button { padding: 9px 18px; }
.lk-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 10px 0 20px; }
.lk-karte { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 10px; color: inherit !important;
  text-decoration: none !important; transition: border-color .15s, transform .1s; }
.lk-karte:hover { border-color: #f16c20; transform: translateY(-1px); }
.lk-karte strong { font-size: 16px; }
.lk-karte > * { margin: 0 !important; }
.lk-karte .lk-klein { color: #6e7a86; font-size: 13px; }
.lk-einzel h2 { margin: 6px 0 14px; }
.lk-einzel dl { margin-bottom: 14px; }

@media (max-width: 600px) {
  .lk-f .lk-zwei { grid-template-columns: 1fr; }
  .lk-f dl { grid-template-columns: 1fr; gap: 0; }
  .lk-f dd { margin-bottom: 8px; }
}

/* ===================== Profilseite (Mein Profil) ===================== */
.lk-profil { max-width: 880px; font-size: 15px; line-height: 1.5; color: #1f2328; }
.lk-profil *, .lk-profil *::before, .lk-profil *::after { box-sizing: border-box; }
/* Theme-Vorgaben neutralisieren */
.lk-profil h2, .lk-profil h3, .lk-profil legend { text-transform: none; letter-spacing: normal; font-family: inherit; }
.lk-profil dl, .lk-profil dd, .lk-profil dt { font-weight: 400; margin: 0; padding: 0; }
.lk-profil table { border: 0; margin: 0; width: 100%; border-collapse: collapse; }
.lk-profil th, .lk-profil td { border: 0; border-bottom: 1px solid rgba(0, 0, 0, .08); background: none; padding: 8px 10px 8px 0; font-size: 14px; text-align: left; }
.lk-profil th { color: #6e7a86; font-weight: 600; }
.lk-profil .lk-r { text-align: right; white-space: nowrap; }
.lk-profil .lk-minus { color: #c62828; }
.lk-profil .lk-leise { color: #6e7a86; }
.lk-profil .lk-klein { font-size: 13px; }
.lk-profil .lk-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: .02em; }
.lk-profil .lk-abschnitt { font-size: 20px; font-weight: 700; margin: 34px 0 12px; padding: 0; border: 0; }
.lk-profil .lk-abschnitt::after { display: none; }

/* Kopf */
.lk-profil .lk-mitgliedschaft { border: 0; padding: 0; margin: 0 0 8px; max-width: none; }
.lk-profil .lk-kopf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lk-profil .lk-avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px;
  background: radial-gradient(circle at 35% 30%, #ffe2c8, #f6a06a); color: #6b3410; flex: none; }
.lk-profil .lk-hallo { font-size: 24px; font-weight: 700; line-height: 1.2; }
.lk-profil .lk-status { margin-left: auto; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #eef6fb; color: #23577a; }
.lk-profil .lk-status-aktiv { background: #edf7ed; color: #2e7d32; }
.lk-profil .lk-status-ruhend, .lk-profil .lk-status-angenommen { background: #fff4e5; color: #8a5300; }
.lk-profil .lk-status-gesperrt { background: #fdecea; color: #c62828; }

/* Kacheln */
.lk-profil .lk-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.lk-profil .lk-kachel { border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; padding: 14px 16px; background: #fff; display: grid; gap: 2px; }
.lk-profil .lk-kachel span { color: #6e7a86; font-size: 13px; font-weight: 600; }
.lk-profil .lk-kachel strong { font-size: 22px; }
.lk-profil .lk-kachel small { color: #6e7a86; font-size: 12px; }
.lk-profil .lk-kachel-offen { border-color: #f16c20; background: #fff7f1; }
.lk-profil .lk-kachel-offen strong { color: #c4520f; }
.lk-profil .lk-kachel-gut strong { color: #2e7d32; }

/* Offene Zahlungen */
.lk-profil .lk-zahlkarten { display: grid; gap: 14px; }
.lk-profil .lk-zahlkarte { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 20px; align-items: start; border: 1px solid rgba(0, 0, 0, .1);
  border-left: 4px solid #f16c20; border-radius: 14px; padding: 18px 20px; background: #fff; }
.lk-profil .lk-zahlkarte-titel { font-weight: 700; font-size: 17px; }
.lk-profil .lk-zahlkarte-betrag { font-size: 28px; font-weight: 700; color: #c4520f; margin: 2px 0 4px; }
.lk-profil .lk-zahlkarte dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 12px; margin: 12px 0 10px; }
.lk-profil .lk-zahlkarte dt { color: #6e7a86; font-size: 14px; }
.lk-profil .lk-zahlkarte dd { overflow-wrap: anywhere; }
.lk-profil .lk-kopie { font: inherit; font-size: 12px; font-weight: 600; padding: 2px 10px; margin-left: 6px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .15);
  background: #fff; color: #1f2328; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; line-height: 1.6; }
.lk-profil .lk-kopie:hover { border-color: #f16c20; }
.lk-profil .lk-qr-box { margin: 0; text-align: center; }
.lk-profil .lk-qr { background: #fff; border-radius: 10px; padding: 6px; border: 1px solid rgba(0, 0, 0, .08); }
.lk-profil .lk-qr svg { display: block; width: 100%; height: auto; }
.lk-profil .lk-qr-box figcaption { font-size: 12px; color: #6e7a86; margin-top: 6px; line-height: 1.35; }

/* Aufklappbare Listen */
.lk-profil .lk-konto { border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; padding: 6px 18px; margin-top: 14px; background: #fff; }
.lk-profil .lk-konto summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style-position: outside; }
.lk-profil .lk-konto[open] summary { margin-bottom: 4px; }
.lk-profil .lk-konto p { margin: 8px 0 10px; }

/* Formular "Meine Daten" */
.lk-profil .lk-formular { max-width: none; }
.lk-profil .lk-f fieldset { background: #fff; border-radius: 14px; border-color: rgba(0, 0, 0, .1); padding: 16px 20px 8px; }
.lk-profil .lk-f legend { font-size: 16px; padding: 0 6px; margin: 0; border: 0; width: auto; }
.lk-profil .lk-f button[type=submit] { text-transform: none; letter-spacing: normal; }

@media (max-width: 640px) {
  .lk-profil .lk-zahlkarte { grid-template-columns: 1fr; }
  .lk-profil .lk-qr-box { max-width: 220px; margin: 0 auto; }
  .lk-profil .lk-zahlkarte dl { grid-template-columns: 1fr; gap: 0; }
  .lk-profil .lk-zahlkarte dd { margin-bottom: 8px; }
  .lk-profil .lk-status { margin-left: 0; }
}
