/* quik Sites: Rechtsseiten, Zustimmung, Auskunft, „Marke beenden“, „Meine Daten“ (public/js/recht-admin.js,
   public/js/zustimmung.js, public/js/meine-daten.js). Nur Variablen aus public/app.css. */

/* ---------- Rechtsseiten (Verwaltung → Plattform) ---------- */
.ra-card .list { margin-top: 2px; }
.ra-row .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ra-row .row-acts { opacity: 0; transition: opacity .12s var(--ease); }
.ra-row:hover .row-acts, .ra-row:focus-within .row-acts { opacity: 1; }
@media (hover: none) { .ra-row .row-acts { opacity: 1; } }
.ra-zust { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.ra-zust-set { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 6px 0 10px; }
.ra-zust-set .tg { flex: 1 1 280px; margin: 0; }
.ra-lbl { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--ink-soft); }
.ra-lbl .input { width: auto; min-width: 0; height: var(--h-sm); }
.ra-marken ul { list-style: none; margin: 8px 0 0; padding: 0; }
.ra-marken li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.ra-m { display: flex; flex-direction: column; min-width: 0; }
.ra-m small { color: var(--ink-faint); font-size: var(--fs-xs); overflow-wrap: anywhere; }

/* ---------- Dialog „Angaben“ ---------- */
.ra-dlg { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; min-height: min(62vh, 620px); margin: -4px -20px -8px; border-top: 1px solid var(--line-soft); }
.ra-nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line-soft); overflow: auto; max-height: 66vh; }
.ra-nav button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; font: inherit; font-size: var(--fs-sm); color: var(--ink-soft); background: transparent; border: 0; border-radius: var(--r-sm); padding: 8px 10px; cursor: pointer; }
.ra-nav button:hover { background: var(--hover); color: var(--ink); }
.ra-nav button.on { background: var(--surface-2); color: var(--ink); font-weight: 550; }
.ra-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: var(--fs-2xs); line-height: 20px; text-align: center; background: var(--orange-tint); color: var(--orange-ink); }
.ra-n:empty { display: none; }
.ra-nav button.is-fertig::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green-dot); flex: none; }
.ra-panel { padding: 14px 20px 18px; overflow: auto; max-height: 66vh; }
.ra-panel-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ra-panel-h b { font-size: var(--fs-md); }
.ra-panel-h small { color: var(--ink-faint); font-size: var(--fs-xs); }
.ra-abschnitt { margin: 16px 0 4px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-faint); }
.ra-feld { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.ra-feld:last-child { border-bottom: 0; }
.ra-feld-t { display: flex; flex-direction: column; gap: 2px; }
.ra-feld-t b { font-size: var(--fs-sm); font-weight: 550; color: var(--ink); overflow-wrap: anywhere; }
.ra-feld-t small { font-size: var(--fs-xs); color: var(--ink-faint); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ra-feld .input:disabled { opacity: .55; }
.ra-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ra-chips:empty { display: none; }
.ra-chip { font: inherit; font-size: var(--fs-xs); color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.ra-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.ra-chip.on { background: var(--fg); color: var(--on-fg); border-color: var(--fg); }
.ra-chip.is-vor { border-style: dashed; }
.ra-hint { margin-right: auto; }

/* ---------- Auskunft und Löschung ---------- */
.ra-suche { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.ra-suche .fld { flex: 1; margin: 0; }
.ra-konto { display: flex; align-items: center; gap: 12px; padding: 10px 0 12px; border-bottom: 1px solid var(--line-soft); }
.ra-ebene { padding: 10px 0 4px; }
.ra-ebene h4 { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-faint); }
.ra-ebene ul { list-style: none; margin: 0; padding: 0; }
.ra-ebene li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: var(--fs-sm); }
.ra-ebene li > span:first-child { flex: 1; }
.ra-ebene li small { color: var(--ink-faint); font-size: var(--fs-xs); }
.ra-person-acts { margin-top: 12px; }
.ra-danger { color: var(--red-ink); }
.ra-list { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: var(--fs-sm); }
.ra-list li { margin: 3px 0; }

/* ---------- Marke beenden ---------- */
.ra-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ra-step { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ra-step:last-child { border-bottom: 0; }
.ra-step-n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 600; background: var(--surface-2); color: var(--ink); }
.ra-step p { margin: 2px 0 8px; }
.ra-step .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Zustimmung beim Anmelden (public/js/zustimmung.js) ---------- */
.rz-texte { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; gap: 8px; }
.rz-texte li a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--surface); }
.rz-texte li a:hover { border-color: var(--line-strong); }
.rz-texte li span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rz-texte li small { color: var(--ink-faint); font-size: var(--fs-xs); }
.rz-frist { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.rz-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px; max-width: min(680px, calc(100vw - 24px)); padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--toast); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-pop); font-size: var(--fs-sm); }
.rz-bar > span { flex: 1; min-width: 0; }
.rz-bar .btn { flex: none; }

/* ---------- Meine Daten (Konto, public/js/meine-daten.js) ---------- */
.md-card .srow { padding-left: 0; padding-right: 0; }
.md-danger { color: var(--red-ink); }

/* ---------- Datenschutz-Übersicht: wer wofür verantwortlich ist (public/js/datenschutz.js) ---------- */
.ds-verantw { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; }
.ds-verantw li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: var(--fs-sm); }
.ds-verantw b { font-weight: 550; color: var(--ink); }
.ds-verantw span { color: var(--ink-soft); }

@media (max-width: 700px) {
  .ds-verantw li { grid-template-columns: 1fr; gap: 0; }
  .ra-dlg { grid-template-columns: 1fr; margin: -4px -16px -8px; }
  .ra-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 8px; max-height: none; }
  .ra-nav button { width: auto; flex: none; white-space: nowrap; }
  .ra-panel { max-height: none; padding: 12px 16px; }
  .ra-suche { flex-direction: column; align-items: stretch; }
  .ra-marken li { align-items: flex-start; }
}

/* Ruhig (Audit 25.11.2026): Ausfüllen per Klick auf die Zeile statt Knopf je Zeile */
.ra-row[title] { cursor: pointer; }
.ra-row[title]:hover b { text-decoration: underline; text-underline-offset: 3px; }
