/* Neu geordnete Einstellungen – sechs gleichartige Gruppen, mobil zuerst. */
.einst-neu-seite{display:grid;gap:var(--abstand-3);width:100%;min-width:0}
.einst-neu-seite>h1{font-size:var(--groesse-titel)}
.einst-neu-seite>h2{font-size:var(--groesse-abschnitt);margin-top:.5rem}
.einst-neu-suche{display:grid;gap:.5rem;font-size:var(--groesse-klein);font-weight:700}
.einst-neu-suche input{width:100%;border:2px solid var(--linie);background:var(--flaeche-hoch);color:var(--text);padding:.85rem 1rem;border-radius:var(--rund);font:inherit;min-height:3rem}
.einst-neu-treffer{display:grid;gap:.45rem;margin:.8rem 0 0;grid-template-columns:repeat(2,minmax(0,1fr))}
.einst-neu-treffer>li{min-width:0}
.einst-neu-treffer .einstellungen-punkt{background:var(--flaeche-hoch);border:1px solid var(--linie);min-height:4.8rem}
.einst-neu-treffer .einstellungen-punkt:hover{background:var(--flaeche)}
.einst-neu-treffer small{display:block;color:var(--text-leise);font-size:.86rem}
.einst-neu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.einst-neu-karte{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:.2rem .9rem;padding:1.25rem;background:var(--flaeche-hoch);border:1px solid var(--linie);border-radius:var(--rund);text-decoration:none;color:var(--text);min-height:7rem}
.einst-neu-karte:hover{background:var(--flaeche);color:var(--text);border-color:var(--ton)}
.einst-neu-karte .einstellungen-punkt-symbol{grid-row:1/3;width:3rem;height:3rem}
.einst-neu-karte strong{font-size:1.07rem}
.einst-neu-karte>span:last-child{font-size:var(--groesse-klein);color:var(--text-leise)}
@media(max-width:680px){.einst-neu-grid,.einst-neu-treffer{grid-template-columns:1fr}.einst-neu-karte{min-height:6.1rem;padding:1rem}}

/* Desktop anchors and individual mobile profile pages. */
.profil-einstellungen-mobil { display: none; }
.profil-unter-nav { list-style: none; padding: 0.25rem 0 0.5rem 3rem; display: grid; gap: 0.2rem; }
.profil-unter-nav a { display: block; padding: 0.65rem; border-radius: var(--rund); color: var(--text); text-decoration: none; }
.profil-unter-nav a[aria-current="location"] { background: var(--ton-leise); color: var(--ton); font-weight: 700; }
.profil-unter-nav a:hover { background: var(--flaeche); }
.profil-bearbeiten-seite h2[id] { scroll-margin-top: 6rem; }
.profil-einstellungen-einzel [data-profil-schritt][hidden] { display: none !important; }
.profil-unter-zurueck { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width:760px) {
  .profil-einstellungen-desktop, .profil-unter-nav { display: none; }
  .profil-einstellungen-mobil { display: grid; gap: .5rem; }
  .profil-einstellungen-mobil .einstellungen-punkt { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap:.75rem; padding: .8rem; min-height: 72px; background: var(--flaeche-hoch); border: 1px solid var(--linie); border-radius: var(--rund); }
  .profil-unter-vorschau { width:56px;height:44px;display:grid;place-items:center;overflow:hidden;border-radius:var(--rund);background:var(--ton-leise);color:var(--ton); }
  .profil-unter-titelbild { width:100%;height:100%;background-position:center;background-size:cover; }
  .profil-einstellungen-mobil small { color:var(--text-leise); overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
  .einstellungen-inhalt:has(.profil-einstellungen-einzel) > .einstellungen-zurueck { display:none; }
}
