@import url("vendor/leaflet/leaflet.css");

/* Plus Jakarta Sans (Überschriften) – selbst gehostet, SIL OFL 1.1 (fonts/LICENSE-PlusJakartaSans-OFL.txt).
   Keine Verbindung zu Google (CSP/DSGVO). Variable Schrift, Gewichte 200–800. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/PlusJakartaSans-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/PlusJakartaSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ============================================================ Design-Tokens */
:root {
  --brand: #12c99b; --brand-600: #0fae87; --brand-700: #0a8a6b; --brand-50: #e8faf4;
  --gold: #f2a900; --gold-50: #fff6dc;
  --bg: #f5f7f8; --surface: #ffffff; --surface-2: #f0f3f5;
  --ink: #101828; --ink-2: #5a6573; --ink-3: #8a94a1; --line: #e6e9ed;
  --nails: #d9488f; --friseur: #2f6fdb; --kosmetik: #9443d6; --spa: #0e9f7b;
  --ok: #138a52; --bad: #c2382f;
  --r-xl: 22px; --r-l: 16px; --r-m: 12px; --r-s: 9px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --sh-2: 0 10px 30px rgba(16, 24, 40, .10), 0 2px 6px rgba(16, 24, 40, .06);
  --appbar-h: 58px; --tabbar-h: 62px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Inter Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;   /* alle Überschriften h1–h6 */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1115; --surface: #141b21; --surface-2: #1b242b; --ink: #eef2f4; --ink-2: #a9b4bd; --ink-3: #7c8892; --line: #26313a;
    --brand-50: #0f2b24; --gold-50: #2c2410; --brand-700: #3ddbb3; --ok: #4cd08e; --bad: #ff8077;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 10px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

/* ============================================================ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font: 15px/1.55 var(--font-sans); color: var(--ink); background: var(--bg); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: 1.65rem; margin: .1em 0 .35em; font-weight: 800; }
h2 { font-size: 1.08rem; margin: 0 0 .7em; font-weight: 700; display: flex; align-items: center; gap: 8px; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); } .small { font-size: .84rem; } .center { text-align: center; } .pre { white-space: pre-wrap; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ic-s { width: 16px; height: 16px; vertical-align: -3px; }
.ic-xl { width: 48px; height: 48px; color: var(--ink-3); }
.accent { color: var(--gold); }

/* ============================================================ App-Leiste */
.appbar { position: sticky; top: 0; z-index: 1000; padding-top: var(--safe-t); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.appbar-in { height: var(--appbar-h); display: flex; align-items: center; gap: 10px; padding: 0 16px; max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 9px; font: 800 1.06rem/1 var(--font-heading); color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.topnav { display: none; margin-left: 24px; gap: 4px; }
.topnav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.topnav a:hover { background: var(--surface-2); text-decoration: none; }
.topnav a[aria-current] { color: var(--ink); background: var(--surface-2); }
.lang { margin-left: auto; display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.lang a:hover { text-decoration: none; }
.lang a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.iconbtn:hover { background: var(--surface-2); text-decoration: none; }
.iconbtn.round { background: var(--surface); border: 1px solid var(--line); width: 48px; height: 48px; }
.backbar { max-width: 1440px; margin: 0 auto; padding: 4px 8px 0; }
.backbar .back { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--ink); }
.backbar .back:hover { background: var(--surface-2); text-decoration: none; }
.backbar .back-ic { width: 30px; height: 30px; stroke-width: 2.4; }
body.page-embed .backbar { display: none; }  /* Zurück-Pfeil sitzt in der Studio-Kopfzeile (lz_embed.js) */
@media (min-width: 900px) { .topnav { display: flex; } .backbar { display: none; } }

/* ============================================================ Tab-Leiste (mobil) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + var(--safe-b)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 12px; color: var(--ink-3); font-size: .7rem; font-weight: 600; }
.tabbar a:hover { text-decoration: none; }
.tabbar a .ic { width: 23px; height: 23px; }
.tabbar a[aria-current] { color: var(--brand-700); }
body { --tabbar-h: 0px; }  /* Admin: Menü ebenfalls oben */
body.detail .tabbar { display: none; }
body.detail { padding-bottom: var(--safe-b); }  /* keine Aktionsleiste unten mehr – Knöpfe stehen oben auf der Seite */
@media (min-width: 900px) { .tabbar { display: none; } body, body.detail { padding-bottom: 0; } }

/* ============================================================ Knöpfe, Chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; border: 1px solid var(--brand); cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s; }
.btn:hover { background: var(--brand-600); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-l { min-height: 52px; padding: 0 22px; font-size: 1.02rem; }
.btn-s { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.3; }
.chip-nails { background: color-mix(in srgb, var(--nails) 14%, transparent); color: var(--nails); }
.chip-friseur { background: color-mix(in srgb, var(--friseur) 14%, transparent); color: var(--friseur); }
.chip-kosmetik { background: color-mix(in srgb, var(--kosmetik) 14%, transparent); color: var(--kosmetik); }
.chip-spa { background: color-mix(in srgb, var(--spa) 14%, transparent); color: var(--spa); }
.badge-partner { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: var(--gold-50); color: #8a5d00; }
.badge-partner .ic { color: var(--gold); width: 13px; height: 13px; }
@media (prefers-color-scheme: dark) { .badge-partner { color: #ffd166; } }
.openstate { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 600; }
.openstate.is-open { color: var(--ok); } .openstate.is-closed { color: var(--bad); }

/* ============================================================ Suche */
.finder { display: flex; flex-direction: column; }
.searchbar { position: sticky; top: calc(var(--appbar-h) + var(--safe-t)); z-index: 900; background: var(--bg); padding: 12px 16px 8px; }
.search { position: relative; display: flex; align-items: center; max-width: 720px; height: 50px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--sh-1); padding: 0 6px 0 16px; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.search-ic { color: var(--ink-3); display: flex; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: 500 1rem var(--font-sans); padding: 0 10px; outline: none; }
.search input::-webkit-search-cancel-button { display: none; }
.locate { color: var(--brand-700); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); z-index: 1100; }
.suggest li { padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: .95rem; }
.suggest li:hover, .suggest li.active { background: var(--surface-2); }
.filters { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters.static { flex-wrap: wrap; overflow: visible; margin-bottom: 16px; }
.fchip { position: relative; flex: none; display: inline-flex; cursor: pointer; user-select: none; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink); transition: all .15s; }
a.fchip:hover { text-decoration: none; }
.fchip:hover span { border-color: var(--ink-3); }
.fchip input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.fchip input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }

/* Ansicht Liste / Karte (mobil) */
.viewtoggle { display: flex; gap: 4px; margin: 4px 16px 10px; padding: 4px; background: var(--surface-2); border-radius: 999px; align-self: flex-start; }
.viewtoggle button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.viewtoggle button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.viewtoggle .ic { width: 17px; height: 17px; }

/* ============================================================ Karte + Liste */
.results { position: relative; }
.map { background: var(--surface-2); }
.results.view-list .map { display: none; }
.results.view-map .list-wrap { display: none; }
.results.view-map .map { display: block; height: calc(100dvh - var(--appbar-h) - var(--safe-t) - 170px - var(--tabbar-h) - var(--safe-b)); min-height: 320px; margin: 0 16px; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); }
.map-off { align-items: center; justify-content: center; }
.results.view-map .map.map-off { display: flex; }
.map-off-msg { color: var(--ink-2); padding: 16px; text-align: center; }
.list-wrap { padding: 0 16px 24px; }
.status { color: var(--ink-2); font-size: .88rem; margin: 2px 4px 12px; }
@media (min-width: 900px) {
  .viewtoggle { display: none; }
  .searchbar { position: static; padding: 14px 20px 10px; }
  .results, .results.view-list, .results.view-map { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0; height: calc(100dvh - var(--appbar-h) - 128px); min-height: 560px; padding: 0 20px 20px; }
  .results .map.map-off { display: flex; }
  .results .map, .results.view-list .map, .results.view-map .map { display: block; height: 100%; margin: 0; border-radius: var(--r-xl); box-shadow: var(--sh-1); overflow: hidden; }
  .results .list-wrap, .results.view-map .list-wrap { display: block; overflow-y: auto; height: 100%; padding: 0 0 20px 18px; overscroll-behavior: contain; }
}

/* Abschnitte */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 4px 4px 10px; }
.sec-head h2 { margin: 0; font-size: 1rem; }
.adlabel { font-size: .74rem; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.sec-title { font-size: 1rem; margin: 18px 4px 10px; }
.partners { margin-bottom: 8px; }

/* Karten (Listeneinträge) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.cards > li { min-width: 0; }
.card-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); transition: border-color .15s, box-shadow .15s; }
.card-item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.card-item.hl { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.card-item.partner { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--gold-50) 55%, var(--surface)), var(--surface) 70%); }
.ci-main { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 12px; color: inherit; }
.ci-main:hover { text-decoration: none; }
.ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ci-title { font-weight: 700; font-size: .98rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-2); }
.ci-addr { font-size: .84rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-chev { color: var(--ink-3); }
.ci-actions { display: flex; gap: 8px; padding: 0 12px 12px 72px; }
.ci-fav { margin-left: auto; }
.km { font-weight: 600; }

/* Avatar / Logo */
.avatar { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; background: var(--brand-50); color: var(--brand-700); font: 800 .95rem var(--font-display); }
.avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.avatar-l { width: 72px; height: 72px; border-radius: 20px; font-size: 1.35rem; }
.avatar-nails { background: color-mix(in srgb, var(--nails) 12%, var(--surface)); color: var(--nails); }
.avatar-friseur { background: color-mix(in srgb, var(--friseur) 12%, var(--surface)); color: var(--friseur); }
.avatar-kosmetik { background: color-mix(in srgb, var(--kosmetik) 12%, var(--surface)); color: var(--kosmetik); }
.avatar-spa { background: color-mix(in srgb, var(--spa) 12%, var(--surface)); color: var(--spa); }

/* Favoriten-Herz */
.fav .on { display: none; color: #e5484d; }
.fav[aria-pressed="true"] .on { display: block; }
.fav[aria-pressed="true"] .off { display: none; }

/* Karten-Marker */
.cl { display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--brand) 90%, transparent); color: #fff; font: 800 13px var(--font-sans); border: 3px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.pm { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: #fff; border: 3px solid var(--gold); box-shadow: 0 4px 12px rgba(0, 0, 0, .28); overflow: hidden; font: 800 13px var(--font-display); color: var(--ink); }
.pm img { width: 100%; height: 100%; object-fit: contain; }
.leaflet-container { font-family: var(--font-sans); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--sh-2); }
.pop { min-width: 180px; }
.pop a.t { font-weight: 800; display: block; color: var(--ink); }
.pop .addr { color: #5a6573; font-size: 12px; margin: 2px 0 8px; }
.pop .btn { min-height: 32px; font-size: 12.5px; padding: 0 12px; color: #fff; }

/* ============================================================ Seiten */
.page { max-width: 1040px; margin: 0 auto; padding: 16px 16px 40px; }
.page.narrow { max-width: 760px; }
.crumbs { font-size: .84rem; color: var(--ink-2); margin: 4px 0 12px; }
.crumbs a { color: var(--ink-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; margin: 0 0 16px; box-shadow: var(--sh-1); }
.hero-top { display: flex; gap: 16px; align-items: flex-start; }
.hero-txt { flex: 1; min-width: 0; }
.hero-txt h1 { margin: 6px 0 4px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hero .addr { color: var(--ink-2); margin: 0 0 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card-map { padding: 0; overflow: hidden; }
.minimap { height: 100%; min-height: 260px; }
.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 600; padding: 6px 12px 6px 0; width: 76px; color: var(--ink-2); }
.hours td { padding: 6px 0; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 800; }
.kv { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; }
.owner .actions { margin-top: 8px; }
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; display: flex; gap: 10px; padding: 10px 16px calc(10px + var(--safe-b)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.actionbar .btn { flex: 1; }
@media (min-width: 900px) { .actionbar { display: none; } }
.empty { text-align: center; padding: 48px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.menu { list-style: none; padding: 6px; }
.menu li a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.menu li a:hover { background: var(--surface-2); text-decoration: none; }
.menu li a span { flex: 1; }
.menu .tick { color: var(--brand-700); }
.city-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.city-grid a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); font-weight: 600; }
.city-grid a:hover { border-color: var(--brand); text-decoration: none; }
.city-grid small { color: var(--ink-3); font-weight: 600; }
.cities { padding: 20px 16px 8px; max-width: 1440px; }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin: 24px 0; }

/* Formulare */
.form label { display: block; margin: 0 0 14px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.notice.ok { border-color: var(--ok); }
.notice.err { border-color: var(--bad); color: var(--bad); }
.legal h2 { margin-top: 1.4em; }
.legal .card h2:first-child { margin-top: 0; }

/* Admin */
.adm table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.adm th, .adm td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm .inline { display: inline; }
.adm .inline input, .adm .inline select { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.adm .tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.adm .tabs a { padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-weight: 700; color: var(--ink); }
.adm .tabs a[aria-current] { background: var(--ink); color: var(--surface); }
.adm .logout { float: right; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--surface-2); }
.tag.ok { color: var(--ok); } .tag.bad { color: var(--bad); }

/* Fuß */
.foot { padding: 24px 16px 28px; border-top: 1px solid var(--line); background: var(--surface); font-size: .82rem; color: var(--ink-2); text-align: center; }
.foot a { color: var(--ink-2); }
.foot .links a { margin: 0 8px; display: inline-block; }
.foot .note { max-width: 760px; margin: 10px auto 0; }

/* ============================================================ Admin: Karten & Einstellungen (mobil zuerst) */
.adm { padding-bottom: calc(var(--tabbar-h) + 24px + var(--safe-b)); }
.adm .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 8px; }
.adm .tabs::-webkit-scrollbar { display: none; }
.adm .tabs a { white-space: nowrap; }
.adm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin: 18px 0 10px; }
.adm-head h2 { margin: 0 0 4px; }
.adm-head p { margin: 0; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
  padding: 10px 12px; margin: 0 0 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-1); }
.bulkbar-btns { display: flex; gap: 8px; }
.searchrow { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 14px; }
.searchrow input[type=search] { flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); font: inherit; }
.acards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; }
.acard.is-off { border-style: dashed; }
.acard.is-off .acard-head { opacity: .62; }
.acard-head { display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 6px; }
.acard-head .pick { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: 6px -4px 0 -6px; cursor: pointer; }
.acard-head .pick input { width: 20px; height: 20px; accent-color: var(--brand-600); }
.acard-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 800; overflow: hidden; }
.acard-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.acard-title { min-width: 0; flex: 1; }
.acard-title h3 { margin: 2px 0 2px; font-size: 1.05rem; overflow-wrap: anywhere; }
.acard-title p { margin: 0; overflow-wrap: anywhere; }
.acard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 14px 12px; }
.settings { margin-top: auto; background: var(--surface-2); border-top: 1px solid var(--line); padding: 14px; display: grid; gap: 14px; }
.settings h4 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.settings fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.settings legend, .set-row { font-weight: 700; font-size: .9rem; padding: 0; }
.settings legend .muted { font-weight: 500; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tgl { position: relative; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tgl span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .88rem; color: var(--ink-2); transition: background .15s, border-color .15s, color .15s; }
.tgl span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; flex: none; display: grid; place-items: center; font-size: 11px; line-height: 1; font-weight: 900; }
.tgl input:checked + span { color: #fff; border-color: transparent; }
.tgl input:checked + span::before { content: '\2713'; opacity: 1; border-color: #fff; background: #fff; color: var(--ink); }
.tgl-nails input:checked + span { background: var(--nails); }
.tgl-friseur input:checked + span { background: var(--friseur); }
.tgl-kosmetik input:checked + span { background: var(--kosmetik); }
.tgl-spa input:checked + span { background: var(--spa); }
.tgl input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.set-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .set-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.settings label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.settings select, .settings input:not([type=checkbox]):not([type=radio]) { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; }
.settings .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.settings .check input { width: 18px; height: 18px; accent-color: var(--brand-600); }
.switch { display: flex !important; align-items: center; gap: 12px; cursor: pointer; position: relative; align-self: end; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { flex: none; width: 48px; height: 28px; border-radius: 999px; background: var(--ink-3); position: relative; transition: background .2s; }
.switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--ok); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.switch strong { font-weight: 700; }
.switch .muted { font-weight: 500; }
.set-more { border-top: 1px dashed var(--line); padding-top: 10px; }
.set-more summary { cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--ink-2); min-height: 32px; display: flex; align-items: center; }
.set-more[open] summary { margin-bottom: 10px; }
.set-more > * + * { margin-top: 10px; }
.set-foot { display: flex; justify-content: flex-end; }
.set-foot .btn { min-width: 140px; }
@media (max-width: 559px) { .set-foot .btn { width: 100%; } .bulkbar-btns { width: 100%; } .bulkbar-btns .btn { flex: 1; } }
.adm .card { overflow-wrap: anywhere; }
.adm table { display: block; overflow-x: auto; }
.adm .form input, .adm .form select, .adm .inline input { max-width: 100%; }
@media (min-width: 900px) { .acards .set-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================ Ergebnisliste im Google-Stil (weiß, ohne Farbflächen) */
.avatar { background: var(--surface); border: 1px solid var(--line); }
.avatar-nails, .avatar-friseur, .avatar-kosmetik, .avatar-spa { background: var(--surface); }
.cards { gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.cards:empty { display: none; }
.card-item, .card-item.partner { background: var(--surface); border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.card-item:last-child { border-bottom: 0; }
.card-item:hover { border-color: var(--line); }
.card-item.hl { border-color: var(--line); box-shadow: inset 3px 0 0 var(--brand); }
.ci-main { align-items: flex-start; gap: 14px; padding: 14px 14px 12px 16px; }
.ci-body { gap: 3px; }
.ci-title { font-size: 1.02rem; font-weight: 700; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ci-main:hover .ci-title { color: var(--brand-700); }
.ci-meta { gap: 0; font-size: .86rem; color: var(--ink-2); }
.ci-meta > * + *::before { content: '·'; margin: 0 6px; color: var(--ink-3); font-weight: 400; }
.ci-meta .chip { background: none; padding: 0; border-radius: 0; font-size: inherit; font-weight: 500; color: var(--ink-2); }
.ci-meta .badge-partner { background: none; padding: 0; border-radius: 0; font-size: inherit; color: var(--ink); font-weight: 800; }
.ci-meta .openstate { font-size: inherit; }
.ci-addr { font-size: .86rem; white-space: normal; }
.card-item .avatar { order: 2; width: 64px; height: 64px; border-radius: 12px; }
.card-item:not(.partner) .avatar { display: none; }
.card-item .ci-fav { order: 3; margin-left: 0; margin-top: -4px; }
.ci-actions { padding: 0 16px 14px; gap: 8px; flex-wrap: wrap; }
.ci-actions .btn-ghost { border-color: var(--line); }
.sec-head, .sec-title { margin-left: 2px; }
@media (min-width: 900px) { .ci-actions { padding-left: 16px; } }

/* ============================================================ Admin: Listen + Detailseite */
.alist { list-style: none; margin: 0 0 8px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.alist li { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.alist li:last-child { border-bottom: 0; }
.alist li.is-off .al-title, .alist li.is-off .acard-logo { opacity: .55; }
.alist .pick { flex: none; display: grid; place-items: center; width: 44px; align-self: stretch; cursor: pointer; }
.alist .pick input { width: 20px; height: 20px; accent-color: var(--brand-600); }
.alist a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 0; color: inherit; min-height: 60px; }
.alist a:hover { text-decoration: none; }
.alist a:hover .al-title { color: var(--brand-700); }
.alist .acard-logo { width: 40px; height: 40px; border-radius: 10px; font-size: .8rem; }
.al-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.al-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-sub { font-size: .82rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-state { flex: none; display: flex; align-items: center; gap: 6px; }
@media (max-width: 559px) { .al-state .tag { display: none; } }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); display: inline-block; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); }
.acard-logo { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.acard-logo-l { width: 64px; height: 64px; border-radius: 14px; font-size: 1.1rem; }
.acard-detail .acard-title h2 { margin: 2px 0 4px; font-size: 1.25rem; overflow-wrap: anywhere; }
.acard-detail .settings { background: var(--surface); }
.settings-2 { border-top: 1px solid var(--line); }
.logo-row { display: flex; gap: 14px; align-items: flex-start; }
.logo-row p { margin: 0 0 4px; }
.logo-up { display: grid; gap: 10px; }
.logo-up input[type=file] { min-height: auto !important; padding: 10px !important; }
.break { overflow-wrap: anywhere; }
.bad-text { color: var(--bad); }
.adm-back { margin: 14px 0 10px; }
.adm-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.adm-pager { flex-wrap: wrap; gap: 6px; }
.searchrow select { min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); font: inherit; }
.ci-body > .openstate { font-size: .86rem; }
.ci-meta .ci-kats { min-width: 0; }
.ci-meta { display: block; line-height: 1.45; }
.ci-meta > * { display: inline; }
.ci-meta .badge-partner .ic { vertical-align: -2px; margin-right: 3px; }

/* ============================================================ Startseite ohne Karte + Städteliste */
.home-page { max-width: 760px; }
.hero-search { padding: 18px 0 8px; }
.hero-search h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 0 0 4px; }
.hero-search > p.muted { margin: 0 0 16px; }
.hero-search .search { max-width: none; height: 56px; }
.search-go { flex: none; min-height: 42px; }
.hero-search .filters.static { margin: 14px 0 6px; }
.home-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.search-inline { max-width: none; margin: 4px 0 18px; }
.suggest li { display: flex; align-items: center; gap: 10px; }
.suggest li .ic { color: var(--ink-3); flex: none; }
.suggest .sg-partner .ic { color: var(--gold); }
.sg-tx { display: flex; flex-direction: column; min-width: 0; }
.sg-l { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-s { font-size: .8rem; color: var(--ink-3); }
.top-cities { margin-top: 26px; }
.top-cities h2 { font-size: 1.15rem; margin: 0 0 10px; }
.citylist { list-style: none; margin: 0 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.citylist li + li { border-top: 1px solid var(--line); }
.citylist a { display: flex; align-items: center; gap: 14px; padding: 13px 14px 13px 16px; color: inherit; min-height: 60px; }
.citylist a:hover { text-decoration: none; }
.citylist a:hover .cl-name { color: var(--brand-700); }
.cl-rank { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: var(--ink-2); border: 1px solid var(--line); }
.citylist li:nth-child(-n+3) .cl-rank { color: var(--brand-700); border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.cl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl-name { font-weight: 700; font-size: 1.02rem; }
.cl-sub { font-size: .84rem; color: var(--ink-2); }
.cl-sub .ic { vertical-align: -2px; margin-right: 2px; }
.center { text-align: center; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.az a { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 700; color: var(--ink); }
.az-h { margin: 18px 0 8px; font-size: 1.05rem; scroll-margin-top: calc(var(--appbar-h) + 12px); }
.partners-list { margin-bottom: 10px; }
.leaflet-marker-icon.pin { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.leaflet-marker-icon.pin-partner { filter: drop-shadow(0 0 0 #fff) drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); }
.import-card { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.import-card h2 { margin-top: 0; }
.import-card progress { width: 100%; height: 10px; accent-color: var(--brand-600); margin: 4px 0 12px; }
.import-card form { display: grid; gap: 10px; justify-items: start; }
.import-card .check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.kv { align-items: flex-start; }
.kv > .ic { margin-top: 4px; flex: none; }
.kv > span { line-height: 1.7; }

/* ============================================================ Startseite (Titelbild, Städte mit Foto, Kategorien) */
.page-home .appbar { position: sticky; }
.home2 { padding-bottom: 32px; }
.hero2 { position: relative; isolation: isolate; color: #fff; background: #1d2b2a; min-height: 520px; display: flex; align-items: center; }
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero2::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 22, .35) 0%, rgba(8, 20, 22, .55) 55%, rgba(8, 20, 22, .82) 100%),
              linear-gradient(90deg, rgba(8, 20, 22, .55), rgba(8, 20, 22, 0) 70%); }
.hero2-in { width: 100%; max-width: 1040px; margin: 0 auto; padding: 56px 20px 40px; }
.hero2 .eyebrow { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.hero2 h1 { margin: 0 0 10px; font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; max-width: 14ch; color: #fff; }
.hero2 .lead { margin: 0 0 22px; font-size: clamp(1rem, 2.6vw, 1.15rem); color: rgba(255, 255, 255, .88); max-width: 46ch; }
.search-hero { max-width: 640px; height: 60px; border: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); padding: 0 6px 0 18px; }
.search-hero input { font-size: 1.05rem; }
.search-hero .search-go { min-height: 48px; padding: 0 22px; }
.search-hero .suggest { color: var(--ink); }
.hero2-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.hero2-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-weight: 600; font-size: .9rem; backdrop-filter: blur(6px); }
.hero2-links a:hover { background: rgba(255, 255, 255, .24); text-decoration: none; }
.hero2-stats { list-style: none; display: flex; gap: 28px; margin: 30px 0 0; padding: 0; }
.hero2-stats li { display: flex; flex-direction: column; }
.hero2-stats strong { font: 800 clamp(1.3rem, 4vw, 1.75rem)/1 var(--font-display); letter-spacing: -.02em; }
.hero2-stats span { font-size: .82rem; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.photo-credit { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: rgba(255, 255, 255, .7); }
.photo-credit:hover { color: #fff; }
@media (min-width: 900px) { .hero2 { min-height: 600px; } .hero2-in { padding: 80px 24px 56px; } }

.sect { max-width: 1040px; margin: 0 auto; padding: 34px 16px 0; }
.sect-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sect-head h2 { margin: 0; font-size: clamp(1.25rem, 3.6vw, 1.6rem); }
.sect-head a { font-weight: 700; white-space: nowrap; }

.citycards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.citycards li.big { grid-column: span 2; }
@media (min-width: 720px) {
  .citycards { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .citycards li.big { grid-column: span 2; grid-row: span 2; }
}
.citycard { position: relative; isolation: isolate; display: flex; align-items: flex-end; height: 100%; min-height: 150px; border-radius: var(--r-l); overflow: hidden; color: #fff; padding: 14px; box-shadow: var(--sh-1); }
.citycards li.big .citycard { min-height: 220px; }
.citycard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.citycard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .7) 100%); }
.citycard:hover { text-decoration: none; }
.citycard:hover img { transform: scale(1.05); }
.cc-rank { position: absolute; top: 10px; left: 10px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); font: 800 .82rem/1 var(--font-display); }
.cc-text { display: flex; flex-direction: column; min-width: 0; }
.cc-name { font: 800 1.15rem/1.15 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.citycards li.big .cc-name { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.cc-sub { font-size: .8rem; color: rgba(255, 255, 255, .88); margin-top: 3px; }
/* Farbverlauf, wenn es (noch) kein Stadtfoto gibt */
.citycard.g0 { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.citycard.g1 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.citycard.g2 { background: linear-gradient(135deg, #be185d, #f472b6); }
.citycard.g3 { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.citycard.g4 { background: linear-gradient(135deg, #b45309, #f59e0b); }
.citycard.g5 { background: linear-gradient(135deg, #334155, #64748b); }

.katcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .katcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.katcard { position: relative; isolation: isolate; display: flex; align-items: flex-end; aspect-ratio: 4 / 3.4; border-radius: var(--r-l); overflow: hidden; color: #fff; padding: 14px; box-shadow: var(--sh-1); }
.katcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.katcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .72) 100%); }
.katcard:hover { text-decoration: none; }
.katcard:hover img { transform: scale(1.05); }
.kc-nails { background: linear-gradient(135deg, #9d174d, var(--nails)); }
.kc-friseur { background: linear-gradient(135deg, #1e3a8a, var(--friseur)); }
.kc-kosmetik { background: linear-gradient(135deg, #581c87, var(--kosmetik)); }
.kc-spa { background: linear-gradient(135deg, #065f46, var(--spa)); }
.kc-text { display: flex; flex-direction: column; }
.kc-name { font: 800 1.08rem/1.2 var(--font-display); }
.kc-sub { font-size: .8rem; color: rgba(255, 255, 255, .88); margin-top: 2px; }

.ctaband { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: #10302c; color: #fff; min-height: 300px; display: flex; align-items: center; }
.ctaband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ctaband::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 30, 27, .92) 0%, rgba(6, 30, 27, .75) 55%, rgba(6, 30, 27, .25) 100%); }
.ctaband-in { padding: 30px 22px; max-width: 560px; }
.ctaband .eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.ctaband h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); }
.ctaband p { color: rgba(255, 255, 255, .86); }
@media (min-width: 900px) { .ctaband-in { padding: 44px 48px; } }

/* Stadtseite: Titelbild */
.cityhero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); color: #fff; min-height: 200px; display: flex; align-items: flex-end; padding: 18px; margin: 4px 0 16px; box-shadow: var(--sh-1); }
.cityhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cityhero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .72) 100%); }
.cityhero h1 { margin: 0; color: #fff; font-size: clamp(1.5rem, 5vw, 2.3rem); }
.cityhero h1 small { color: rgba(255, 255, 255, .8); }
.cityhero .crumbs, .cityhero .crumbs a { color: rgba(255, 255, 255, .85); }
.cityhero .crumbs { margin: 0 0 6px; }
@media (min-width: 900px) { .cityhero { min-height: 280px; padding: 28px; } }

/* Admin: Bilder */
.imggrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 12px 0 24px; }
.imgcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.imgcard img, .imgph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.imgph { display: grid; place-items: center; background: var(--surface-2); color: var(--ink-3); font-size: .85rem; }
.imgcard figcaption { padding: 10px; display: grid; gap: 6px; font-size: .9rem; }
.imgbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.imgq { display: flex; gap: 6px; }
.imgq input { flex: 1; min-width: 0; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; }
.settings textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; resize: vertical; }
.set-foot-2 { gap: 8px; flex-wrap: wrap; }
.settings .hours { max-width: 360px; }
.editbox { border-top: 1px solid var(--line); background: var(--surface); }
.editbox > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; font-weight: 700; font-size: .95rem; }
.editbox > summary::-webkit-details-marker { display: none; }
.editbox > summary .chev { margin-left: auto; color: var(--ink-3); transform: rotate(90deg); transition: transform .2s; }
.editbox[open] > summary .chev { transform: rotate(-90deg); }
.editbox > summary:hover { background: var(--surface-2); }
.editbox .settings-2 { border-top: 1px solid var(--line); }

/* ============================================================ Admin als App (iPhone): kompakt, Navigation oben (wie luminazz.de) */
.mainnav a { position: relative; }
.adm-app .adm .tabs { display: none; }
@media (min-width: 900px) { .mainnav .nav-badge { position: static; margin-left: 2px; } }
.adm-tabbar { grid-template-columns: repeat(5, 1fr); }
.adm-tabbar a { position: relative; }
.nav-badge { position: absolute; top: 0; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; }
.adm-pagetitle { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); font-weight: 700; color: var(--ink-2); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 899px) {
  .adm-app .adm .tabs, .adm-app .adm > .logout, .adm-app .adm-h1 { display: none; }
  .adm-app .adm { padding-top: 10px; }
  .adm-app .adm-head { margin-top: 6px; }
  .adm-app .adm-head h2 { font-size: 1.15rem; }
  .adm-app .notice { margin: 0 0 12px; }
}
@media (min-width: 900px) { .adm-pagetitle { display: none; } }
.adm-login .adm { padding-top: 24px; }
.adm-menu { padding: 6px; }
.adm-logout { width: 100%; margin-top: 8px; }
.app-hint { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; }
.app-hint[hidden] { display: none !important; }
.app-hint img { border-radius: 12px; flex: none; }
.app-hint ol { margin: 6px 0; padding-left: 18px; }
.app-hint li { margin: 2px 0; }
/* Als App gestartet: kein Rand oben nötig, Statusleiste beachten */
@media (display-mode: standalone) { .adm-app .appbar { padding-top: var(--safe-t); } }
.imgup summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--brand-700); padding: 4px 0; }
.imgup form { display: grid; gap: 6px; margin-top: 6px; }
.imgup input[type=file] { font-size: .8rem; max-width: 100%; }
.imgup input[name=credit] { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; }
.alist .mover { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 0 8px 0 0; }
.alist .mover button { width: 34px; height: 26px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink-2); font-size: .7rem; cursor: pointer; }
.alist .mover button:hover { background: var(--surface-2); color: var(--ink); }
.alist li { scroll-margin-top: calc(var(--appbar-h) + 20px); }

/* Startseite: hervorgehobene Luminazz-Partner */
.sect-head h2 .ic { width: 20px; height: 20px; margin-right: 6px; vertical-align: -2px; }
.pcards { list-style: none; margin: 0; padding: 2px 16px 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; scrollbar-width: none; }
.pcards::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .pcards { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; } }
@media (min-width: 1000px) { .pcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { scroll-snap-align: start; background: var(--surface); border: 1px solid color-mix(in srgb, var(--gold) 40%, var(--line)); border-radius: var(--r-l); box-shadow: var(--sh-1); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.pc-main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: inherit; flex: 1; }
.pc-main:hover { text-decoration: none; }
.pc-main:hover .pc-name { color: var(--brand-700); }
.pc-logo { width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; font: 800 1.2rem var(--font-display); color: var(--ink-2); margin-bottom: 6px; }
.pc-logo img { width: 100%; height: 100%; object-fit: contain; }
.pc-name { font: 800 1.05rem/1.25 var(--font-display); overflow-wrap: anywhere; }
.pc-sub { font-size: .84rem; color: var(--ink-2); }
.pcard .openstate { font-size: .84rem; }
.pc-book { width: 100%; }
.alist .posin { flex: none; padding: 0 10px 0 0; }
.alist .posin input { width: 54px; height: 38px; text-align: center; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: 700 .95rem var(--font-sans); -moz-appearance: textfield; }
.alist .posin input::-webkit-outer-spin-button, .alist .posin input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.alist .posin input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.orderbar { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 8px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-2); }
@media (min-width: 900px) { .orderbar { bottom: 12px; } }
.app-hint-home { position: relative; margin: 0; padding-right: 48px; align-items: center; }
.app-hint-home p { margin: 4px 0 0; }
.app-hint-x { position: absolute; top: 8px; right: 8px; }

/* ============================================================ Gemeinsames Hauptmenü (luminazz.de + /fuer-salons/) */
.mainnav { margin-left: auto; display: flex; gap: 2px; }
.mainnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 46px; padding: 4px 3px; border-radius: 12px; color: var(--ink-2, #5a6573); font-size: .62rem; font-weight: 600; line-height: 1.1; white-space: nowrap; text-decoration: none; }
.mainnav a:hover { background: var(--surface-2, #f0f3f5); color: var(--ink, #101828); text-decoration: none; }
.mainnav a[aria-current] { color: var(--brand-700, #0a8a6b); }
.mainnav .mn-ic { width: 22px; height: 22px; flex: none; }
@media (max-width: 599px) {
  .mainnav { flex: 1; justify-content: space-around; margin-left: 4px; }
  .appbar .brand span, .lz-brand span { display: none; }
}
@media (min-width: 900px) {
  .mainnav a { flex-direction: row; gap: 7px; min-width: 0; padding: 8px 12px; border-radius: 999px; font-size: .92rem; }
  .mainnav .mn-ic { width: 18px; height: 18px; }
  .mainnav a[aria-current] { background: var(--surface-2, #f0f3f5); color: var(--ink, #101828); }
}

/* ============================================================ Smartphone: kein Zoom, kein seitliches Verschieben */
html, body { overflow-x: clip; overscroll-behavior-x: none; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, select, textarea { font-size: max(16px, 1em); } /* iOS zoomt sonst beim Antippen eines Feldes */

/* ============================================================ Buchung eingebettet (/partner/…/buchen) */
body.page-embed { overflow: hidden; overscroll-behavior: none; display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding-bottom: 0; }
body.page-embed .appbar { flex: none; }
.embed { flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--surface); }
.embed-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.embed-studio { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink); font-weight: 700; }
.embed-studio:hover { text-decoration: none; }
.embed-studio .avatar { width: 28px; height: 28px; border-radius: 8px; flex: none; font-size: .7rem; }
.embed-studio .avatar img { width: 28px; height: 28px; }
.embed-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.embed-ext { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.embed-ext:hover { background: var(--surface-2); text-decoration: none; }
.embed-frame { flex: 1; width: 100%; border: 0; display: block; background: #fff; }
@media (max-width: 420px) { .embed-ext span { display: none; } }

/* „Mehr“ im Hauptmenü: auf- und zuklappbar (gleich für luminazz.de, /fuer-salons/ und Admin) */
.mn-more { position: relative; display: flex; }
.mn-more > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 46px; padding: 4px 3px; border-radius: 12px; color: var(--ink-2, #5a6573); font-size: .62rem; font-weight: 600; line-height: 1.1; white-space: nowrap; user-select: none; -webkit-user-select: none; }
.mn-more > summary::-webkit-details-marker { display: none; }
.mn-more > summary::marker { content: ''; }
.mn-more > summary:hover { background: var(--surface-2, #f0f3f5); color: var(--ink, #101828); }
.mn-more[open] > summary, .mn-more > summary[aria-current] { color: var(--brand-700, #0a8a6b); }
.mn-panel { position: fixed; z-index: 1100; top: calc(env(safe-area-inset-top, 0px) + 62px); left: 8px; right: 8px; max-height: calc(100dvh - 90px); overflow-y: auto; background: var(--surface, #fff); color: var(--ink, #101828); border: 1px solid var(--line, #e6e9ed); border-radius: 16px; box-shadow: 0 10px 30px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06); padding: 6px; animation: mn-pop .14s ease-out; }
@keyframes mn-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mn-panel ul { list-style: none; margin: 0; padding: 0; }
.mainnav .mn-panel li a { flex-direction: row; justify-content: flex-start; min-width: 0; line-height: 1.3; white-space: normal; text-align: left; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--ink, #101828); font-size: .95rem; font-weight: 600; text-decoration: none; }
.mainnav .mn-panel li a:hover { background: var(--surface-2, #f0f3f5); text-decoration: none; }
.mainnav .mn-panel li .mn-ic { flex: none; width: 20px; height: 20px; color: var(--ink-2, #5a6573); }
.mn-lang { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; padding: 10px 12px 6px; border-top: 1px solid var(--line, #e6e9ed); }
.mainnav .mn-lang .mn-ic { width: 18px; height: 18px; color: var(--ink-2, #5a6573); margin-right: 2px; }
.mainnav .mn-lang a { flex-direction: row; min-width: 0; line-height: 1.2; padding: 5px 11px; border-radius: 999px; background: var(--surface-2, #f0f3f5); color: var(--ink-2, #5a6573); font-size: .82rem; font-weight: 700; text-decoration: none; }
.mainnav .mn-lang a[aria-current] { background: var(--ink, #101828); color: var(--surface, #fff); }
@media (min-width: 900px) {
  .mn-more > summary { flex-direction: row; gap: 7px; min-width: 0; padding: 8px 12px; border-radius: 999px; font-size: .92rem; }
  .mn-more > summary .mn-ic { width: 18px; height: 18px; }
  .mn-more[open] > summary, .mn-more > summary[aria-current] { background: var(--surface-2, #f0f3f5); color: var(--ink, #101828); }
  .mn-panel { position: absolute; top: calc(100% + 8px); left: auto; right: 0; width: 320px; max-height: 75vh; }
}

/* ============================================================ Luminazz-Konto (/konto/) */
.konto { max-width: 960px; }
.konto h1 { margin-bottom: 14px; }
.konto-card { margin-bottom: 16px; }
.page-konto .konto > .konto-card:only-of-type, .konto > section.konto-card:first-child:last-child { max-width: 520px; margin-inline: auto; }
.konto-card h2 { font-size: 1.05rem; }
.konto .form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .88rem; line-height: 1.45; }
.konto .form label.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--brand); }
.konto-submit { width: 100%; margin-top: 4px; }
.konto-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 14px 0 0; font-weight: 600; font-size: .92rem; }
.konto .code-input { font-size: 1.4rem !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.konto .notice { margin: 0 0 14px; }
.konto-hl { border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); background: var(--gold-50); }
.konto-studios { list-style: none; margin: 0 0 8px; padding: 0; }
.konto-studios li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.konto-studios li:last-child { border-bottom: 0; }
.konto-studios li form { margin-left: auto; }
.konto .inline { display: inline; }
.konto-del summary { cursor: pointer; font-weight: 700; color: var(--bad); margin-top: 6px; }
.konto-del .form { margin-top: 12px; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 85%, #000); }
.konto-logout { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; }
.konto .grid-2 { align-items: start; }
.konto-google { width: 100%; gap: 10px; }
.konto-google .g-ic { width: 20px; height: 20px; }
.konto-oder { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--ink-3); font-size: .85rem; }
.konto-oder::before, .konto-oder::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.konto-termine { list-style: none; margin: 0; padding: 0; }
.konto-termine li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.konto-termine li:last-child { border-bottom: 0; }
.konto-termine .kt-zeit { grid-column: 1 / -1; font-weight: 700; font-size: .88rem; color: var(--brand-700); }
.konto-termine .kt-was { display: flex; flex-direction: column; min-width: 0; }
.konto-termine li.is-storno { opacity: .55; }
.konto-termine li.is-storno strong { text-decoration: line-through; }
.konto-past summary { cursor: pointer; font-weight: 700; margin-top: 10px; color: var(--ink-2); }
.konto-bonus { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.kb-studio { border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.kb-studio h3 { margin: 0 0 6px; font-size: .98rem; }
.kb-zahl { margin: 0 0 6px; }
.kb-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.kb-bar span { display: block; height: 100%; background: var(--brand); border-radius: 999px; width: 0; }
.kb-bar .w0 { width: 0%; }
.kb-bar .w5 { width: 5%; }
.kb-bar .w10 { width: 10%; }
.kb-bar .w15 { width: 15%; }
.kb-bar .w20 { width: 20%; }
.kb-bar .w25 { width: 25%; }
.kb-bar .w30 { width: 30%; }
.kb-bar .w35 { width: 35%; }
.kb-bar .w40 { width: 40%; }
.kb-bar .w45 { width: 45%; }
.kb-bar .w50 { width: 50%; }
.kb-bar .w55 { width: 55%; }
.kb-bar .w60 { width: 60%; }
.kb-bar .w65 { width: 65%; }
.kb-bar .w70 { width: 70%; }
.kb-bar .w75 { width: 75%; }
.kb-bar .w80 { width: 80%; }
.kb-bar .w85 { width: 85%; }
.kb-bar .w90 { width: 90%; }
.kb-bar .w95 { width: 95%; }
.kb-bar .w100 { width: 100%; }
.kb-gs { list-style: none; margin: 8px 0; padding: 0; }
.kb-gs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 6px 0; border-top: 1px dashed var(--line); }
.kb-gs code { font-size: .85rem; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.kb-gs li.is-abgelaufen { opacity: .5; }

/* Alle Städte: Bundesländer auf-/zuklappbar, Städte als Liste */
.bl-list { display: grid; gap: 10px; }
.bl-group { padding: 0; overflow: hidden; }
.bl-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.bl-group > summary::-webkit-details-marker { display: none; }
.bl-group > summary::marker { content: ''; }
.bl-group > summary:hover { background: var(--surface-2); }
.bl-name { font-weight: 800; }
.bl-count { margin-left: auto; color: var(--ink-3); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.bl-chev { color: var(--ink-3); transform: rotate(90deg); transition: transform .2s; flex: none; }
.bl-group[open] .bl-chev { transform: rotate(-90deg); }
.city-list { list-style: none; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); columns: 1; }
@media (min-width: 700px) { .city-list { columns: 2; column-gap: 24px; padding: 4px 16px 8px; } }
@media (min-width: 1100px) { .city-list { columns: 3; } }
.city-list li { break-inside: avoid; }
.city-list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
@media (min-width: 700px) { .city-list a { padding: 8px 0; } }
.city-list a:hover { color: var(--brand-700); text-decoration: none; }
.city-list .cl-n { color: var(--ink-3); font-variant-numeric: tabular-nums; font-weight: 600; }

/* Bewertungen */
.stars { display: inline-flex; gap: 1px; font-size: 1.15rem; line-height: 1; vertical-align: -2px; }
.stars span.on { color: var(--gold); }
.stars span.off { color: color-mix(in srgb, var(--ink-3) 35%, transparent); }
.stars span.half { background: linear-gradient(90deg, var(--gold) 50%, color-mix(in srgb, var(--ink-3) 35%, transparent) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.stars-s { font-size: .95rem; }
.rating-mini { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; margin: 2px 0 4px; }
.bew-sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.05rem; }
.bew-form { margin: 12px 0 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); }
.star-label { margin: 0 0 4px; font-weight: 700; font-size: .92rem; }
.star-input { margin: 0 0 10px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; cursor: pointer; color: color-mix(in srgb, var(--ink-3) 40%, transparent); margin: 0 !important; padding: 0 2px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); border-radius: 4px; }
.bew-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bew-list { list-style: none; margin: 8px 0; padding: 0; }
.bew-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.bew-list p { margin: 6px 0 0; }
.bew-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bew-melden { margin-left: auto; color: var(--ink-3); }
.toplist { list-style: none; margin: 0; padding: 4px 0; counter-reset: tl; }
.toplist li { counter-increment: tl; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: 0; }
.toplist a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--ink); }
.toplist a::before { content: counter(tl) "."; color: var(--ink-3); font-weight: 700; min-width: 1.8em; font-variant-numeric: tabular-nums; }
.toplist a:hover { background: var(--surface-2); text-decoration: none; }
.tl-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tl-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-rate { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
@media (max-width: 420px) { .tl-rate .stars { display: none; } .tl-rate::before { content: "★"; color: var(--gold); } }

/* Mitgliederprofile */
.mg-avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; overflow: hidden; background: var(--brand-50); color: var(--brand-700); font-weight: 800; }
.mg-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mg-avatar-l { width: 96px; height: 96px; font-size: 1.6rem; }
.mg-kopf { display: flex; align-items: center; gap: 16px; }
.mg-kopf h1 { margin: 0 0 2px; }
.mg-avatar-edit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mg-avatar-edit .form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.mg-avatar-edit input[type=file], .konto input[type=file] { font-size: .85rem; padding: 8px; }
.mg-gallery { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.mg-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-m); display: block; background: var(--surface-2); }
.mg-gallery-edit li { display: flex; flex-direction: column; gap: 6px; }
.mg-bio { line-height: 1.6; overflow-wrap: anywhere; }
.mg-angaben { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mg-angaben li { display: flex; align-items: center; gap: 10px; }
.mg-zeige { border: 1px solid var(--line); border-radius: var(--r-m); padding: 10px 14px 4px; margin: 0 0 14px; }
.mg-zeige legend { font-weight: 700; font-size: .92rem; padding: 0 6px; }
.konto-profil-links { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink-3); cursor: pointer; font: inherit; }
.linkbtn:hover { color: var(--bad); text-decoration: none; }

/* Bild-Vergrößerung (Mitgliederprofil) */
a[data-lightbox] { cursor: zoom-in; display: block; }
.mg-avatar a[data-lightbox] { width: 100%; height: 100%; }
html.lb-offen, html.lb-offen body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 12, 14, .92); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lb[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.28); outline: none; }
.lb-btn[hidden] { display: none; }
.lb-zu { top: 10px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-cnt { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .85rem; }
.lb-cnt[hidden] { display: none; }

/* Besuchte Salons im Profil */
.mg-salons { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mg-salons a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-radius: var(--r-m); color: inherit; text-decoration: none; }
.mg-salons a:hover { background: var(--surface-2); }
.mg-salons img, .mg-salons .mg-salon-ini { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: var(--surface-2); flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.mg-salons .muted { display: block; }

/* Bio-Inhalt (Profil und Editor) */
.mg-bio p, .rte-area p { margin: 0 0 .6em; }
.mg-bio h3, .rte-area h3 { font-size: 1.05rem; margin: .9em 0 .4em; }
.mg-bio ul, .mg-bio ol, .rte-area ul, .rte-area ol { margin: 0 0 .6em; padding-left: 1.4em; }
.mg-bio img, .rte-area img { display: block; max-width: 100%; height: auto; border-radius: var(--r-m); margin: 8px 0; }
.mg-bio a.mg-bio-bild { display: inline-block; max-width: 100%; }
.mg-bio > :last-child { margin-bottom: 0; }

/* WYSIWYG-Editor */
.rte-feld { display: flex; flex-direction: column; gap: 6px; }
.rte-feld > label { font-weight: 600; }
.rte { border: 1px solid var(--line, #dfe3e6); border-radius: var(--r-m); background: var(--surface, #fff); overflow: hidden; }
.rte[hidden], .rte-quelle[hidden], .rte-linkbar[hidden], .rte-bar button[hidden] { display: none; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line, #dfe3e6); background: var(--surface-2, #f5f7f8); position: sticky; top: 0; z-index: 2; }
.rte-bar button { min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.rte-bar button:hover, .rte-bar button:focus-visible { background: rgba(0,0,0,.07); outline: none; }
.rte-bar button:disabled { opacity: .4; cursor: default; }
.rte-bar .rte-bild { background: var(--brand-50, #e8faf3); color: var(--brand-700, #0a7a55); font-weight: 600; }
.rte-bar .rte-bild-weg { color: #b42318; font-weight: 600; }
.rte-area { min-height: 180px; max-height: 60vh; overflow-y: auto; padding: 12px 14px; line-height: 1.6; outline: none; overflow-wrap: anywhere; }
.rte-area.leer::before { content: attr(data-placeholder); color: var(--muted, #8a9399); pointer-events: none; position: absolute; }
.rte-area img { cursor: pointer; }
.rte-area img.rte-sel { outline: 3px solid var(--brand-500, #12b886); outline-offset: 2px; }
.rte-linkbar { display: flex; gap: 6px; padding: 6px; border-top: 1px solid var(--line, #dfe3e6); }
.rte-linkbar input { flex: 1; min-width: 0; }
.rte-info { margin: 0; padding: 6px 12px; border-top: 1px solid var(--line, #dfe3e6); display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.rte-info .err, .rte-status.err { color: #b42318; }
.rte .check { padding: 0 12px 10px; margin: 0; }
.quelle-hinweis { font-size: .66rem; line-height: 1.4; opacity: .8; margin: 10px 0 0; }

/* Bio: Farben, Größen, Ausrichtung, Bildbreiten (feste Klassen statt Inline-Styles) */
.mg-bio .c-grau { color: #6b7280; } .sw-grau { background: #6b7280; }
.mg-bio .c-rot { color: #dc2626; } .sw-rot { background: #dc2626; }
.mg-bio .c-orange { color: #ea580c; } .sw-orange { background: #ea580c; }
.mg-bio .c-gelb { color: #ca8a04; } .sw-gelb { background: #ca8a04; }
.mg-bio .c-gruen { color: #16a34a; } .sw-gruen { background: #16a34a; }
.mg-bio .c-tuerkis { color: #0d9488; } .sw-tuerkis { background: #0d9488; }
.mg-bio .c-blau { color: #2563eb; } .sw-blau { background: #2563eb; }
.mg-bio .c-lila { color: #9333ea; } .sw-lila { background: #9333ea; }
.mg-bio .c-pink { color: #db2777; } .sw-pink { background: #db2777; }
.mg-bio .fs-xs, .rte-area font[size="1"] { font-size: .75em; }
.mg-bio .fs-s, .rte-area font[size="2"], .rte-pop .fs-s { font-size: .85em; }
.rte-area font[size="3"] { font-size: 1em; }
.mg-bio .fs-l, .rte-area font[size="4"], .rte-pop .fs-l { font-size: 1.2em; }
.mg-bio .fs-xl, .rte-area font[size="5"], .rte-pop .fs-xl { font-size: 1.45em; line-height: 1.3; }
.mg-bio .fs-xxl, .rte-area font[size="6"], .rte-area font[size="7"], .rte-pop .fs-xxl { font-size: 1.8em; line-height: 1.2; }
.mg-bio .ta-c, .rte-area .ta-c { text-align: center; }
.mg-bio .ta-r, .rte-area .ta-r { text-align: right; }
.mg-bio, .rte-area { display: flow-root; }
.mg-bio .mg-bio-bild { display: block; max-width: 100%; margin: 8px 0; }
.mg-bio .mg-bio-bild img { width: 100%; margin: 0; }
.mg-bio .mg-bio-bild.w20, .rte-area img.w20 { width: 20%; }
.mg-bio .mg-bio-bild.w30, .rte-area img.w30 { width: 30%; }
.mg-bio .mg-bio-bild.w40, .rte-area img.w40 { width: 40%; }
.mg-bio .mg-bio-bild.w50, .rte-area img.w50 { width: 50%; }
.mg-bio .mg-bio-bild.w60, .rte-area img.w60 { width: 60%; }
.mg-bio .mg-bio-bild.w70, .rte-area img.w70 { width: 70%; }
.mg-bio .mg-bio-bild.w80, .rte-area img.w80 { width: 80%; }
.mg-bio .mg-bio-bild.w90, .rte-area img.w90 { width: 90%; }
.mg-bio .mg-bio-bild.w100, .rte-area img.w100 { width: 100%; }
.mg-bio .al-c, .rte-area img.al-c { margin-left: auto; margin-right: auto; }
.mg-bio .al-l, .rte-area img.al-l { float: left; margin: 4px 14px 8px 0; }
.mg-bio .al-r, .rte-area img.al-r { float: right; margin: 4px 0 8px 14px; }
.mg-bio .mg-bio-bild.w100.al-l, .mg-bio .mg-bio-bild.w100.al-r, .rte-area img.w100.al-l, .rte-area img.w100.al-r { float: none; margin: 8px 0; }

/* Editor: Popups, Bildleiste, Ziehgriff */
.rte { position: relative; }
.rte-gruppe { position: relative; display: inline-flex; }
.rte-bar small { font-size: .7em; }
.rte-farb-a { border-bottom: 3px solid #dc2626; line-height: 1.1; font-weight: 700; }
.rte-pop { position: absolute; top: 100%; left: 0; z-index: 5; margin-top: 4px; background: #fff; border: 1px solid var(--line, #dfe3e6); border-radius: 12px; box-shadow: 0 8px 24px rgba(16,24,40,.14); padding: 6px; display: flex; flex-direction: column; gap: 2px; min-width: 130px; }
.rte-pop[hidden] { display: none; }
.rte-pop button { justify-content: flex-start; height: auto; min-height: 34px; padding: 4px 10px; }
.rte-pop-farben { flex-direction: row; flex-wrap: wrap; width: 176px; min-width: 0; }
.rte-pop .sw { width: 30px; min-width: 30px; height: 30px; border-radius: 50%; padding: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); justify-content: center; }
.rte-pop .sw:hover { transform: scale(1.1); background-image: none; }
.rte-pop .sw-standard { background: #fff; color: #555; font-size: 1.1rem; }
.rte-al { display: inline-block; width: 16px; height: 12px; background: linear-gradient(currentColor 0 0) top/100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom/100% 2px no-repeat; position: relative; }
.rte-al::after { content: ""; position: absolute; top: 5px; height: 2px; width: 10px; background: currentColor; }
.rte-al-l::after { left: 0; } .rte-al-c::after { left: 3px; } .rte-al-r::after { right: 0; }
.rte-imgbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line, #dfe3e6); background: #eefaf5; }
.rte-imgbar[hidden] { display: none; }
.rte-imgbar button { min-width: 36px; height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: #fff; color: inherit; font: inherit; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rte-imgbar button.an { background: var(--brand-500, #12b886); color: #fff; }
.rte-imgbar .rte-bild-weg { color: #b42318; margin-left: auto; }
.rte-griff { position: absolute; z-index: 4; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-500, #12b886); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: nwse-resize; touch-action: none; }
.rte-griff[hidden] { display: none; }
.rte-area img { max-width: 100%; }
.rte { overflow: visible; } .rte-bar { border-radius: var(--r-m) var(--r-m) 0 0; }

.rte-pop .sw.sw-grau { background: #6b7280; }
.rte-pop .sw.sw-rot { background: #dc2626; }
.rte-pop .sw.sw-orange { background: #ea580c; }
.rte-pop .sw.sw-gelb { background: #ca8a04; }
.rte-pop .sw.sw-gruen { background: #16a34a; }
.rte-pop .sw.sw-tuerkis { background: #0d9488; }
.rte-pop .sw.sw-blau { background: #2563eb; }
.rte-pop .sw.sw-lila { background: #9333ea; }
.rte-pop .sw.sw-pink { background: #db2777; }
.rte-pop .sw.sw-standard { background: #fff; }
.rte-bar { position: static; }
.rte-pop.rechts { left: auto; right: 0; }

/* Admin: Mitgliederbilder moderieren */
.adm-bilder { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.adm-bilder li { padding: 8px; margin: 0; }
.adm-bilder img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; background: var(--surface-2); }
.adm-bilder p { margin: 6px 0; }
.adm-mod { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 0; }
.adm-mod select { max-width: 100%; font-size: .85rem; padding: 6px; }
.mg-regeln { background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--r-m); padding: 6px 9px; font-size: .66rem; line-height: 1.4; color: #7c2d12; }
.mg-regeln strong { color: #9a3412; }

/* Bilder nebeneinander, @Erwähnungen, Freunde */
.mg-bio .mg-bio-bild.al-i, .rte-area img.al-i { display: inline-block; vertical-align: top; margin: 4px 6px 4px 0; }
.mg-bio .mg-bio-bild.al-i.w20, .rte-area img.al-i.w20 { width: calc(20% - 6px); }
.mg-bio .mg-bio-bild.al-i.w30, .rte-area img.al-i.w30 { width: calc(33.33% - 6px); }
.mg-bio .mg-bio-bild.al-i.w40, .rte-area img.al-i.w40 { width: calc(40% - 6px); }
.mg-bio .mg-bio-bild.al-i.w50, .rte-area img.al-i.w50 { width: calc(50% - 6px); }
.mg-bio .mg-bio-bild.al-i.w60, .rte-area img.al-i.w60 { width: calc(60% - 6px); }
.mg-bio .mg-bio-bild.al-i.w70, .rte-area img.al-i.w70 { width: calc(66.66% - 6px); }
.mg-bio .mg-bio-bild.al-i.w100, .rte-area img.al-i.w100 { display: block; width: 100%; margin: 8px 0; }
.rte-reihe { display: inline-block; width: 18px; height: 10px; background: linear-gradient(90deg, currentColor 0 44%, transparent 44% 56%, currentColor 56% 100%); border-radius: 2px; }
.mg-bio a.mention, .rte-area a.mention { color: var(--brand-700, #0a7a55); background: var(--brand-50, #e8faf3); border-radius: 6px; padding: 0 4px; font-weight: 600; text-decoration: none; }
.rte-mention { position: absolute; z-index: 6; list-style: none; margin: 0; padding: 4px; width: 260px; max-width: calc(100% - 8px); background: #fff; border: 1px solid var(--line, #dfe3e6); border-radius: 12px; box-shadow: 0 8px 24px rgba(16,24,40,.16); }
.rte-mention[hidden] { display: none; }
.rte-mention li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; }
.rte-mention li span { font-size: .8rem; color: var(--muted, #8a9399); }
.rte-mention li.an, .rte-mention li:hover { background: var(--brand-50, #e8faf3); }
.mg-freund-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.mg-freund-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-700, #0a7a55); font-weight: 600; font-size: .9rem; }
.mg-kopf .btn + .btn { margin-left: 4px; }
.mg-freunde { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.mg-freunde a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; text-align: center; }
.mg-freunde .mg-freund-name { font-size: .8rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.mg-liste { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.mg-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line, #eef0f2); }
.mg-liste li:last-child { border-bottom: 0; }
.mg-person { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mg-liste-aktion { display: flex; gap: 6px; align-items: center; }
.badge-zahl { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #dc2626; color: #fff; font-size: .72rem; font-weight: 700; align-items: center; justify-content: center; }

/* Freunde entdecken */
.mg-suche { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; }
.mg-suche label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .85rem; margin: 0; }
@media (min-width: 720px) { .mg-suche { grid-template-columns: 1.2fr 1fr 1fr auto; } }
.mg-karten { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mg-karten li { margin: 0; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mg-karte-link { display: flex; flex-direction: column; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.mg-karte-link strong { overflow-wrap: anywhere; }
.mg-ort { display: flex; align-items: center; gap: 4px; margin: 0 0 2px; color: var(--ink-2); }
.mg-wohnort { gap: 10px; }

/* Hinweistexte klein halten */
.konto .muted.small, .page-mitglied .muted.small, .konto-card > .muted.small, .rte-feld > .muted.small, .mg-zeige + .muted.small { font-size: .7rem; line-height: 1.4; }
.rte .check.small, .rte-info { font-size: .7rem; }

/* Smartphone: alle Schriften etwas kleiner (Eingabefelder bleiben 16px, sonst zoomt iOS) */
@media (max-width: 699px) {
  html { font-size: 14px; }
  body { font-size: 13.5px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1rem; }
  .small { font-size: .8rem; }
  input, select, textarea { font-size: 16px; }
}
@media (max-width: 899px) { .mainnav a, .mn-more > summary { font-size: 10px; } }
.konto .notice.small { font-size: .75rem; }

.mg-regeln { background: none !important; border: 0 !important; padding: 0 !important; margin: 4px 0 0; color: var(--ink-2) !important; font-size: .7rem !important; line-height: 1.4; }
.mg-regeln strong { color: inherit !important; font-weight: 600; }

/* Kompakter Editor (Kommentare, Bewertungen) */
.rte-klein .rte-area { min-height: 90px; max-height: 40vh; }
.mg-kommentar-text { font-size: .95em; margin-top: 4px; }
.mg-kommentar-text p { margin: 0 0 .4em; }
.mg-kommentar-text .mg-bio-bild:not([class*=" w"]) { max-width: 70%; }

/* Freunde entdecken: Suchbox */
.konto .mg-suche { max-width: none; margin: 0 0 18px; padding: 16px; gap: 12px; display: grid; grid-template-columns: 1fr; align-items: end; }
.konto .mg-suche label { font-size: .78rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; gap: 0; }
.konto .mg-suche input, .konto .mg-suche select { height: 46px; padding: 0 14px; border-radius: 12px; background-color: var(--surface-2, #f3f5f6); border-color: transparent; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink); }
.konto .mg-suche input:focus, .konto .mg-suche select:focus { background-color: var(--surface, #fff); }
.konto .mg-suche select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6573' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.konto .mg-suche .btn { height: 46px; justify-content: center; gap: 6px; }
@media (min-width: 760px) { .konto .mg-suche { grid-template-columns: 1.3fr 1fr 1fr auto; } .konto .mg-suche .btn { padding-inline: 22px; } }
.mg-karten li { transition: box-shadow .15s, transform .15s; }
.mg-karten li:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,24,40,.08); }
.rte label.check { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 8px; font-weight: 500 !important; font-size: .72rem; line-height: 1.4; color: var(--ink-2); text-align: left; }
.rte label.check input { width: 16px !important; height: 16px; min-height: 0; flex: none; margin: 1px 0 0 !important; padding: 0; accent-color: var(--brand); display: inline-block; }

/* Hashtags, Kommentar-Button, Profil-Formular */
a.hashtag { color: var(--brand-700, #0a7a55); font-weight: 600; text-decoration: none; }
a.hashtag:hover { opacity: .8; }
.hashtag-titel { color: var(--brand-700, #0a7a55); }
.hashtag-liste { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hashtag-liste > li.card { margin: 0; }
#kommentare form .rte-feld + .btn, #kommentare form > button[type=submit] { margin-top: 14px; }
.mg-wohnort { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.mg-wohnort label { min-width: 0; }
.mg-avatar-knoepfe { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.konto .form .rte label.check, .rte label.check { font-size: .7rem !important; }
.rte-zustimmung { margin: 0; padding: 0 12px 10px; font-size: .7rem; line-height: 1.4; color: var(--ink-2); }
.rte-zustimmung a { color: inherit; text-decoration: underline; }

/* Admin: Mitgliederverwaltung */
.adm-sub { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.adm-sub a { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: .88rem; text-decoration: none; }
.adm-sub a[aria-current] { background: var(--ink); color: var(--surface); }
.adm-suche { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.adm-suche input[type=search] { flex: 1 1 220px; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; }
.adm-suche select { height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; }
.adm-liste { padding: 4px 0; overflow: hidden; }
.adm-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.adm-zeile:last-child { border-bottom: 0; }
.adm-zeile:hover { background: var(--surface-2); }
.adm-zeile .mg-avatar { width: 40px; height: 40px; font-size: .8rem; }
.adm-zeile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.adm-zeile-text .muted { overflow: hidden; text-overflow: ellipsis; }
.adm-pfeil { color: var(--ink-2); font-size: 1.3rem; }
.adm-leer { padding: 14px; margin: 0; }
.adm-badges { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.adm-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); font-size: .72rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.adm-badge.rot { background: #fee2e2; color: #b42318; }
.adm-badge.orange { background: #ffedd5; color: #9a3412; }
.adm-badge.gelb { background: #fef3c7; color: #92400e; }
.adm-mg-kopf { display: flex; gap: 16px; align-items: flex-start; }
.adm-mg-kopf h3 { margin: 0 0 4px; }
.adm-mg-kopf p { margin: 2px 0; }
.adm-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
@media (min-width: 860px) { .adm-grid { grid-template-columns: 1fr 1fr; } }
.adm-grid > .card { margin: 0; }
.adm-grid h3 { margin-top: 0; }
.adm-form label { display: block; margin-bottom: 10px; font-weight: 600; font-size: .85rem; }
.adm-form .adm-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.adm-form label.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.adm-form label.check input { width: 18px; height: 18px; margin: 0; }
.adm-mod { margin: 0 0 10px; }
.adm-mod label.check { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.adm-loeschen { padding: 10px; border-radius: 12px; background: #fff5f5; }
.adm-loeschen p { margin: 0 0 6px; width: 100%; }
.adm-vorschau { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.adm hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* Startseite: Top 10 Bewerter */
.bewerter { list-style: none; margin: 0; padding: 4px 0; counter-reset: bw; display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bewerter { grid-template-columns: 1fr 1fr; } }
.bewerter li { counter-increment: bw; border-bottom: 1px solid var(--line); }
.bewerter a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--ink); text-decoration: none; }
.bewerter a::before { content: counter(bw) "."; color: var(--ink-3); font-weight: 700; min-width: 1.6em; font-variant-numeric: tabular-nums; }
.bewerter .mg-avatar { width: 44px; height: 44px; font-size: .85rem; }
.bewerter .tl-name { display: flex; flex-direction: column; min-width: 0; }

/* Admin-Dashboard */
.dash-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
@media (min-width: 760px) { .dash-kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dash-kachel { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--r-l, 18px); background: var(--surface); box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.dash-kachel:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,24,40,.08), 0 0 0 1px var(--line); }
.dash-wert { font: 800 1.7rem/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dash-label { font-weight: 700; font-size: .85rem; }
.dash-sub { font-size: .75rem; color: var(--ink-2); }
.dash-kachel.warn { box-shadow: 0 0 0 2px #f59e0b inset; }
.dash-kachel.warn .dash-wert { color: #b45309; }
.dash-kachel.ok .dash-wert { color: var(--brand-700, #0a7a55); }
.dash-chart h3 { margin: 0 0 4px; }
.dash-svg { width: 100%; height: auto; display: block; }
.dash-svg .bar-a { fill: var(--brand, #12b886); }
.dash-svg .bar-b { fill: #f59e0b; }
.dash-svg .bar-z { font-size: 11px; font-weight: 700; fill: var(--ink-2, #5a6573); }
.dash-svg .bar-t { font-size: 11px; fill: var(--ink-3, #8a9399); }
.dash-svg .bar-achse { stroke: var(--line, #dfe3e6); }
.dash-legende { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--ink-2); }
.dash-legende .dl { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 8px; }
.dash-legende .dl-a { background: var(--brand, #12b886); margin-left: 0; }
.dash-legende .dl-b { background: #f59e0b; }
.dash-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.adm-grid > .card .adm-zeile { padding: 8px 4px; }

/* Startseite: Konto-Einladung */
.konto-cta { display: grid; gap: 16px; padding: 22px; background: linear-gradient(135deg, var(--brand-50, #e8faf3) 0%, #fff 70%); border: 1px solid color-mix(in srgb, var(--brand, #12b886) 25%, transparent); }
@media (min-width: 760px) { .konto-cta { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; } }
.konto-cta .eyebrow { margin: 0 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700, #0a7a55); }
.konto-cta h2 { margin: 0 0 10px; font-size: 1.25rem; }
.konto-cta-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.konto-cta-liste li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.konto-cta-liste .ic { color: var(--brand-700, #0a7a55); flex: none; }
.konto-cta-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 760px) { .konto-cta-knoepfe { flex-direction: column; min-width: 200px; } .konto-cta-knoepfe .btn { justify-content: center; } }

/* Admin: keine Unterstreichung bei Hover; Abmelden in der Leiste (Desktop) */
.adm a.adm-zeile:hover, .adm a.adm-zeile:hover *, .adm-sub a:hover, a.dash-kachel:hover, a.dash-kachel:hover *, .adm .adm-badges a:hover, .adm-bilder a:hover { text-decoration: none; }
.adm-nav-logout { display: none; margin: 0; }
.adm-nav-logout button { display: flex; flex-direction: row; align-items: center; gap: 7px; padding: 8px 12px; border: 0; border-radius: 999px; background: none; color: var(--ink-2, #5a6573); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.adm-nav-logout button:hover { background: #fee2e2; color: #b42318; }
@media (min-width: 900px) { .adm-nav-logout { display: block; } }

/* Admin: keine Unterstreichung bei Hover */
.adm a:hover, .adm a:hover * { text-decoration: none; }
a:hover, a:hover * { text-decoration: none !important; }

/* Städte: Karten wie vorher, aber enger untereinander */
.bl-list { gap: 5px; }
.bl-group > summary { padding: 10px 14px; }
.bl-list > .bl-group { margin: 0; }
.bl-alle { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--brand-700, #0a7a55); }

/* ============================================================ Kategorie-Seite (kategorie.php): Filter + Seitenzahlen */
.katfilter { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding: 14px; margin: 6px 0 10px; }
.kf-feld { display: grid; gap: 6px; min-width: 0; }
.kf-feld > span { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.kf-feld select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; }
.kf-feld select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.kf-feld select:disabled { opacity: .55; }
.kf-aktionen { display: flex; gap: 8px; }
.kf-aktionen .btn { min-height: 46px; }
.kf-hinweis { margin: 0 2px 14px; }
.kf-hinweis .ic { vertical-align: -2px; margin-right: 4px; }
.kf-pager { flex-wrap: wrap; gap: 10px; }
.kf-nums { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kf-num { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; }
a.kf-num:hover { border-color: var(--brand); text-decoration: none; }
.kf-num.is-cur { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.kf-gap { color: var(--ink-3); }
.kf-staedte { margin-top: 18px; padding: 14px; }
.kf-staedte summary { cursor: pointer; font-weight: 700; }
.kf-staedte .city-grid { margin: 14px 0 0; }
.ci-body > .rating-mini { margin: 0; }
@media (max-width: 640px) {
  .katfilter { grid-template-columns: 1fr; }
  .kf-aktionen .btn { flex: 1; }
}

/* /beste-salons: Platzierung vor den Sternen */
.beste-platz { font-weight: 800; color: var(--ink); margin-right: 2px; }

/* Admin: Anmeldung in 2 Schritten */
.tfa-box { padding: 16px; margin: 0 0 14px; }
.tfa-h { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 6px; }
.tfa-box .btn-l { width: 100%; }
.al-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px; }
.al-row form { margin: 0; }

/* Datumsfelder (Geburtsdatum): iOS Safari gibt <input type=date> eine feste Mindestbreite → lief auf dem Handy über den Rand */
input[type="date"], input[type="time"], input[type="datetime-local"] {
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  min-height: 46px;            /* leeres Feld fällt in iOS sonst zusammen */
  line-height: normal; text-align: left;
}
input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }
.form label { min-width: 0; }

/* Konto: vertrauenswürdige Geräte */
.konto-geraete { list-style: none; margin: 0 0 12px; padding: 0; }
.konto-geraete li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.konto-geraete li:last-child { border-bottom: 0; }
.kpk-login { margin: 10px 0 4px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* Inhaber-App (/inhaber/): Verwaltung + Kalender des Studios im Rahmen */
.inh-bar { gap: 8px; }
.inh-tabs { display: flex; gap: 4px; padding: 3px; background: var(--surface-2); border-radius: 999px; flex: none; }
.inh-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.inh-tab:hover { text-decoration: none; color: var(--ink); }
.inh-tab[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
@media (max-width: 560px) { .inh-tab span { display: none; } .inh-tab { padding: 8px 12px; } .inh-bar .embed-name { max-width: 38vw; } }
.inh-card { max-width: 480px; margin-inline: auto; }
.inh-wahl { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.inh-studio { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.inh-studio:hover { border-color: var(--brand); }
.inh-studio .ci-chev { margin-left: auto; }
.inh-hinweis { margin-top: 12px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--brand-700); font: inherit; font-weight: 600; cursor: pointer; }
.inh-extern { margin-top: 24px; }

/* ---------- /fuer-salons/ – 5 Abschnitte aus dem Admin (inc/fuersalons.php) ---------- */
.fs{max-width:1080px;margin:0 auto;padding:8px 16px 40px}
.fs-ab{display:grid;gap:22px;align-items:center;padding:34px 0;border-bottom:1px solid var(--line)}
.fs-ab:last-child{border-bottom:0}
.fs-mit-bild{grid-template-columns:1fr}
@media (min-width:820px){
  .fs-mit-bild{grid-template-columns:1.05fr .95fr;gap:44px}
  .fs-gespiegelt.fs-mit-bild .fs-bild{order:-1}
}
.fs-kicker{margin:0 0 8px;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand-700)}
.fs-titel{margin:0 0 14px;line-height:1.15;font-size:clamp(1.45rem,3.6vw,2.1rem)}
.fs-hero .fs-titel{font-size:clamp(1.8rem,5vw,2.9rem)}
.fs-inhalt p{margin:0 0 12px;line-height:1.6;color:var(--ink-2)}
.fs-hero .fs-inhalt p{font-size:1.06rem}
.fs-liste{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:10px}
.fs-liste li{position:relative;padding-left:28px;line-height:1.5}
.fs-liste li::before{content:"";position:absolute;left:0;top:.2em;width:18px;height:18px;border-radius:50%;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304231A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat}
.fs-aktion{margin:18px 0 0}
.fs-bild img{display:block;width:100%;height:auto;max-height:520px;object-fit:cover;border-radius:22px;box-shadow:var(--sh-2)}
.fs-adm{margin-bottom:12px}
.fs-adm > summary{cursor:pointer;list-style:none}
.fs-adm > summary::-webkit-details-marker{display:none}
.fs-adm textarea{width:100%;min-height:150px;font:inherit;font-weight:400;resize:vertical}
.fs-adm-bild{width:120px;height:80px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
/* Salon-Partner: Face ID / PIN (/inhaber/, /inhaber/sicherheit.php) */
.inh-oder { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--ink-3); font-size: .85rem; }
.inh-oder::before, .inh-oder::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inh-oder[hidden] { display: none; }
.inh-faceid { width: 100%; justify-content: center; gap: 8px; }
.konto .inh-pin { display: block; width: 100%; max-width: 260px; margin: 6px auto 14px; font-size: 1.8rem !important; letter-spacing: .6em; padding-left: .6em; }
.inh-h2 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 1.05rem; }
.inh-geraete { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.inh-geraete li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-m); }
.inh-pin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .inh-pin-grid { grid-template-columns: 1fr; } }
/* Mehrere Knöpfe in einer Zeile: beim Umbruch Abstand zur Zeile darüber (vorher klebten sie aneinander) */
p:has(> .btn ~ .btn), p:has(> .btn ~ form), p:has(> form ~ .btn) { display: flex; flex-wrap: wrap; gap: 8px; }
/* Freunde: 3 Knöpfe immer in einer Zeile */
.lz-btn-zeile { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lz-btn-zeile .btn { min-width: 0; padding: 6px 8px; white-space: normal; text-align: center; line-height: 1.2; font-size: .88rem; }
/* Kontakt (/fuer-salons/kontakt.php) im App-Design */
.kontakt-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kontakt-form { padding: 18px 16px; }
.kontakt-interesse { border: 0; margin: 0 0 14px; padding: 0; }
.kontakt-interesse legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.kontakt-senden { width: 100%; }
.kontakt-zeit { display: flex; align-items: center; gap: 12px; padding: 14px 12px; color: var(--ink-2); font-weight: 600; }
.kontakt-zeit > span { flex: 1; }
.kontakt-interesse .tgl { display: inline-block; margin: 0; font-weight: 700; }
.kontakt-interesse .tgl input:checked + span { background: var(--brand-600); }
.adm-pw-login > summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.adm-pw-login[open] > summary { margin-bottom: 12px; }
/* Admin: Partner-Shops */
.al-aktion { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.al-row:has(.al-aktion) { flex-wrap: wrap; gap: 8px; }

/* Suche/Filter auf Stadt- und Bundesland-Seiten (stadt.php) */
.katfilter.kf-4 { grid-template-columns: 1fr 1fr 1.3fr auto; }
.katfilter.kf-suche { grid-template-columns: 1fr auto; }
.kf-feld input[type="search"] { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; }
.kf-feld input[type="search"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.katfilter .kf-aktionen .btn .ic { margin-right: 4px; }
@media (max-width: 760px) {
  .katfilter.kf-4, .katfilter.kf-suche { grid-template-columns: 1fr; }
  .katfilter .kf-aktionen .btn { flex: 1; justify-content: center; }
}

/* Admin: Zugang zum Partner-Shop */
.zg-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 6px 0 14px; font-size: .9rem; }
.zg-dl dt { color: var(--ink-2); font-weight: 600; }
.zg-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .zg-dl { grid-template-columns: 1fr; gap: 2px; } .zg-dl dd { margin-bottom: 8px; } }

/* Beim Ziehen über den Rand (Smartphone „Gummiband“) bleibt die Kopfzeile stehen */
html, body { overscroll-behavior-y: none; }

/* Kopfzeile bis ganz nach oben: der Bereich der Statusleiste (Uhrzeit, Netz, Akku) hat die gleiche Farbe wie die Kopfzeile */
html { background: var(--surface); }
.appbar { background: var(--surface); }
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: var(--safe-t); background: var(--surface); z-index: 1001; pointer-events: none; }

/* /anmelden.php: Auswahl Kunde / Salon-Inhaber */
.rollen-wahl { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.rollen-wahl .inh-studio { text-decoration: none; padding: 14px 16px; }
.rollen-wahl .inh-studio:hover { border-color: var(--brand); text-decoration: none; }
.rollen-wahl .avatar { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.rollen-wahl .ci-chev { margin-left: auto; }

/* Altes Studio im Luminazz-Rahmen ohne eigene Luminazz-Kopfzeile (die Studio-Seite bringt ‹ · Luminazz · Name · Entdecken · Menü mit) */
body.page-embed.lz-vollbild { padding-top: var(--safe-t); background: #fff; }
body.page-embed.lz-vollbild .tabbar, body.page-embed.lz-vollbild .backbar { display: none; }

/* Mein Konto: Bereiche auf- und zuklappbar (standardmäßig zu) */
details.konto-fold { padding: 0; }
details.konto-fold > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; }
details.konto-fold > summary::-webkit-details-marker { display: none; }
details.konto-fold > summary h2 { margin: 0; flex: 1; display: flex; align-items: center; gap: 8px; }
details.konto-fold > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; margin: -4px 4px 0 0; flex: none; }
details.konto-fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.konto-fold[open] > summary { padding-bottom: 6px; }
details.konto-fold > :not(summary) { margin-left: 18px; margin-right: 18px; }
details.konto-fold[open] > :last-child { margin-bottom: 16px; }
.rollen-wahl .inh-studio.is-zuletzt { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); }
.rw-zuletzt { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .7rem; font-weight: 700; vertical-align: 2px; }

/* Admin: aufklappbare Bereiche (Partner-Shops) */
details.adm-fold { padding: 0; margin-bottom: 14px; }
details.adm-fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; min-height: 56px; }
details.adm-fold > summary::-webkit-details-marker { display: none; }
details.adm-fold > summary .af-titel { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1rem; color: var(--ink); }
details.adm-fold > summary .af-info { font-size: .82rem; color: var(--ink-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
details.adm-fold > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s; margin: -4px 4px 0 0; flex: none; }
details.adm-fold[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.adm-fold[open] > summary { border-bottom: 1px solid var(--line); }
details.adm-fold > :not(summary) { margin: 14px 18px; }
details.adm-fold > .alist { margin: 6px 12px; }
details.adm-fold .af-foot { margin: 6px 18px 16px; }
details.pe-fold { margin: 2px 0 6px; }
details.pe-fold > summary { cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--accent, #0f9f8a); min-height: 32px; display: flex; align-items: center; gap: 4px; }
details.pe-fold .pe-aktionen { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
@media (max-width: 560px) { details.adm-fold > summary { flex-wrap: wrap; } details.adm-fold > summary .af-info { justify-content: flex-start; width: 100%; order: 3; } }

/* Admin → Mitglieder: Prüfung (Spam-Verdacht) */
.kp-karte { border-left: 4px solid var(--line); }
.kp-karte.kp-ok { border-left-color: #12C99B; }
.kp-karte.kp-pruefen { border-left-color: #F59E0B; }
.kp-karte.kp-verdacht { border-left-color: #E5484D; }
.kp-karte h3 { margin-top: 0; }
.kp-karte ul { margin: 8px 0 0 18px; padding: 0; }

/* Honeypot im Registrierungsformular: für Menschen unsichtbar */
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Kompakte Darstellung auf dem Smartphone */
@media (max-width: 640px) {
  .hero2 { min-height: 0; }
  .hero2-in { padding: 32px 16px 24px; }
  .hero2 h1 { font-size: 1.9rem; max-width: none; margin-bottom: 16px; }
  .hero2-links { margin-top: 12px; }
  .hero2-stats { margin-top: 18px; }
  .sect { padding-top: 24px; }
  .sect-head { margin-bottom: 10px; }
  .konto-cta { padding: 16px; gap: 12px; }
  .konto-cta h2 { margin: 0; font-size: 1.1rem; }
  .konto-cta-knoepfe .btn { flex: 1; }
  .backbar { padding: 0 4px; }
  .backbar .back { width: 40px; height: 40px; }
  .backbar .back-ic { width: 24px; height: 24px; }
  .page { padding: 10px 12px 32px; }
  .konto-card { padding: 16px; }
  .konto-card .form { gap: 10px; }
  .konto-links { margin-top: 12px; }
}
/* Eintrag-Hinweise auf der Salonseite eingeklappt */
.owner-fold > summary { cursor: pointer; font-weight: 700; }
.owner-fold .actions { margin-top: 12px; }

@media (max-width: 640px) {
  .page > .crumbs, .cityhero .crumbs { display: none; }
  .cityhero { min-height: 110px; padding: 14px; margin: 0 0 10px; }
  .kf-suche { display: flex; align-items: center; gap: 8px; padding: 10px; }
  .kf-suche .kf-feld { flex: 1; min-width: 0; margin: 0; }
  .kf-suche .kf-feld > span:not(.kf-q) { display: none; }
  .kf-suche .kf-aktionen { display: flex; gap: 8px; margin: 0; }
  .kf-suche button.btn { font-size: 0; gap: 0; padding: 12px; }
  .kf-suche button.btn .ic { width: 20px; height: 20px; }
  .detail-page .card { padding: 14px; }
  .detail-page .actions { margin-top: 12px; }
  .detail-page .hero .actions .btn { flex: 1 1 auto; padding-left: 12px; padding-right: 12px; }
  .hours th, .hours td { padding-top: 4px; padding-bottom: 4px; }
  .minimap { height: 170px; }
}
/* Als installierte App geöffnet: Installations-Hinweis ausblenden */
@media (display-mode: standalone) { .nur-browser, .app-hint { display: none !important; } }
/* ============================================================ Beauty-Design: Türkis und Weiß, Serifen in Überschriften */
:root {
  --bg: #f7fbfa; --surface: #ffffff; --surface-2: #eef6f4;
  --ink: #12211f; --ink-2: #566664; --ink-3: #8a9896; --line: #e3ecea;
  --r-xl: 18px; --r-l: 14px;
  --sh-1: 0 1px 2px rgba(10, 60, 50, .04), 0 2px 8px rgba(10, 60, 50, .05);
  --sh-2: 0 14px 34px rgba(10, 60, 50, .12), 0 2px 6px rgba(10, 60, 50, .05);
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Noto Serif', serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c1115; --surface: #141b21; --surface-2: #1b242b; --ink: #eef2f4; --ink-2: #a9b4bd; --ink-3: #7c8892; --line: #26313a; }
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.005em; }
.btn { font-weight: 600; letter-spacing: .01em; }
.brand { font-family: var(--font-heading); font-weight: 600; }   /* Schriftzug „Luminazz“ neben dem Logo */
.hero2 h1 { font-weight: 500; letter-spacing: 0; }
.hero2-stats strong, .cc-name, .kc-name { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; }
.sect-head h2 { font-weight: 500; letter-spacing: 0; }
.sect-head h2 .ic { display: none; }
.pcard { border-color: var(--line); }
.konto-cta { background: var(--surface); border-color: var(--line); }
.kc-nails, .kc-friseur, .kc-kosmetik, .kc-spa, .citycard.g0, .citycard.g1, .citycard.g2, .citycard.g3, .citycard.g4, .citycard.g5 { background: linear-gradient(135deg, #0a5c4c, #12c99b); }
.staedte-liste-titel { margin: 24px 0 10px; font-weight: 500; letter-spacing: 0; }

/* LZ-RECHT 05.11.2026: Kennzeichnung bezahlter Platzierungen (§ 5a Abs. 4 UWG) */
.badge-anzeige { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; font: 700 .72rem/1.4 system-ui, sans-serif; letter-spacing: .02em; color: var(--ink-2); vertical-align: middle; }

/* ---- Salon eintragen (salon-eintragen.php) & Google-Suche (google-suche.php) – 11/2026 */
.form fieldset { border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px 4px; margin: 0 0 16px; min-width: 0; }
.form legend { font-weight: 700; font-size: .95rem; padding: 0 6px; }
.form .lbl { margin: 0 0 6px; font-weight: 600; font-size: .92rem; }
.form .checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 14px; }
.form .row2 { display: grid; grid-template-columns: 2fr 1fr; gap: 0 12px; }
@media (max-width: 420px) { .form .row2 { grid-template-columns: 1fr; } }
.form label.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .88rem; line-height: 1.45; }
.form label.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--brand); }
.gs-note { font-size: .72rem; line-height: 1.45; color: var(--ink-2); opacity: .8; margin: 6px 0; }
.gs-note a { color: inherit; text-decoration: underline; }
.gs-note strong { font-weight: 600; }
.gs-consent { margin: 4px 0 8px; }
.gs-consent .actions { margin: 0 0 8px; }
.gs-ergebnis { margin-top: 16px; min-height: 120px; }
.gs-ergebnis gmp-place-search { display: block; width: 100%; }
.gs-details { margin-top: 16px; }
.gs-fehler { color: var(--bad); }
.cta-google { margin-top: 18px; text-align: center; }
.gs-kurz { font-size: .68rem; line-height: 1.4; color: #d6d6d6; opacity: 1; margin: 0 0 8px; }
.gs-fuss { margin: 32px 0 -30px; }
.gs-fuss p { font-size: .56rem; line-height: 1.4; color: #d6d6d6; opacity: 1; margin: 0; }
.gs-fuss a { color: inherit; text-decoration: underline; }
.gs-block { margin-top: 24px; }
.gs-kurz a { color: inherit; text-decoration: underline; }

/* ---- Ergebnislisten im Stil der Google-Maps-Liste (Schrift, Größen, Farben) – 11/2026 */
.card-item .ci-body { font-family: "Google Sans Text", "Google Sans", Roboto, Arial, sans-serif; gap: 2px; }
.card-item .ci-title { font-family: "Google Sans", Roboto, Arial, sans-serif; font-size: 1rem; font-weight: 400; line-height: 1.5rem; color: #1f1f1f; letter-spacing: 0; }
.card-item .ci-meta, .card-item .ci-addr, .card-item .ci-body > .openstate { font-size: .875rem; line-height: 1.25rem; font-weight: 400; color: #5f6368; }
.card-item .ci-meta .chip, .card-item .ci-meta .ci-kats { font-weight: 400; color: #5f6368; }
.card-item .ci-meta .badge-partner { font-weight: 500; color: #1f1f1f; }
.card-item .openstate { font-weight: 400; }
.card-item .openstate.is-open { color: #188038; } .card-item .openstate.is-closed { color: #d93025; }
@media (prefers-color-scheme: dark) {
  .card-item .ci-title, .card-item .ci-meta .badge-partner { color: #e3e3e3; }
  .card-item .ci-meta, .card-item .ci-addr, .card-item .ci-body > .openstate, .card-item .ci-meta .chip, .card-item .ci-meta .ci-kats { color: #9aa0a6; }
}
.gs-quelle { font-size: .75rem; color: #5f6368; margin: 0 0 10px; }
.gs-salon gmp-place-details { display: block; width: 100%; border-radius: 16px; overflow: hidden; }
.gs-mit { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 8px 2px 0; font-size: .82rem; font-weight: 500; cursor: pointer; }
.gs-mit input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.gs-mit small { font-size: .62rem; font-weight: 400; color: #d6d6d6; }
.gs-mit small a { color: inherit; text-decoration: underline; }
.hero2 .gs-mit { color: #fff; justify-content: center; }
.hero2 .gs-mit small { color: rgba(255,255,255,.7); }
.gs-block { margin: 12px 0 20px; }
.gc-banner { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; max-width: 560px; margin: 0 auto; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
@media (min-width: 900px) { .gc-banner { bottom: 20px; } }
.gc-titel { margin: 0 0 4px; font-weight: 700; font-size: .95rem; }
.gc-text { margin: 0 0 10px; font-size: .72rem; line-height: 1.45; color: var(--ink-2); }
.gc-text a { color: inherit; text-decoration: underline; }
.gc-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gc-btn { width: 100%; justify-content: center; }
.gpin { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #9aa0a6; color: #5f6368; font: 700 11px/18px Arial, sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.25); cursor: pointer; }
.gs-karte { margin: 8px 0 16px; }
.fchip.is-on span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.kf-q { position: relative; display: block; }
.kf-q input { padding-right: 40px !important; }
.kf-q input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.kf-x { position: absolute; right: 6px; top: calc(50% + 3px); transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; font-weight: 400; color: var(--ink-2); background: var(--line); text-decoration: none; }
.kf-x:hover { color: var(--ink); text-decoration: none; }
.filters.static { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }

/* Smartphone: kein automatisches Hineinzoomen beim Antippen eines Such-/Eingabefelds (iOS zoomt bei Schrift < 16px).
   :where() hält die Spezifität bei 0 – Felder mit eigener größerer Schrift (!important) bleiben, wie sie sind. */
@media (max-width: 1024px), (pointer: coarse) {
  :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea) { font-size: 16px !important; }
  :where(a, button, input, select, textarea, label, summary) { touch-action: manipulation; }   /* kein Doppeltipp-Zoom auf Bedienelementen */
}

/* Stadtseite: Suchleiste ohne Rahmenkarte – ein großes, rundes Eingabefeld über die ganze Breite, Lupe innen rechts */
.katfilter.kf-pill { display: block; position: relative; padding: 0; margin: 8px 0 12px; background: none; border: 0; box-shadow: none; }
.kf-pill .kf-feld { display: block; margin: 0; }
.kf-pill .kf-feld > span:not(.kf-q) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kf-pill .kf-q { display: block; }
.kf-pill .kf-feld input[type="search"] { width: 100%; height: 56px; min-height: 56px; padding: 0 104px 0 22px !important; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); font-size: 1.05rem; font-weight: 500; }
.kf-pill .kf-feld input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.kf-pill .kf-x { right: 58px; top: 50%; }
.kf-pill .kf-aktionen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin: 0; display: block; }
.kf-pill .kf-aktionen .btn { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 0; gap: 0; display: flex; align-items: center; justify-content: center; flex: none; }
.kf-pill .kf-aktionen .btn .ic { width: 20px; height: 20px; margin: 0 !important; }

/* Ergebnisliste: Vorschaubild rechts (echtes Foto, Logo oder gekennzeichnetes Symbolbild) – wie bei Google */
.card-item:not(.partner) .avatar.ci-bild, .card-item .avatar.ci-bild { display: block; position: relative; order: 2; flex: none; width: 80px; height: 80px; border-radius: 10px; overflow: hidden; background: var(--line); }
.ci-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-sym { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; font-family: var(--font-sans); font-size: .58rem; font-weight: 600; line-height: 1.3; text-align: center; color: #fff; background: rgba(0, 0, 0, .45); letter-spacing: .01em; }
@media (max-width: 640px) { .card-item .avatar.ci-bild { width: 72px; height: 72px; } }
/* Salonseite: echtes Foto */
.salon-foto { margin: 0 0 14px; border-radius: var(--r-l); overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; max-height: 420px; }
.salon-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 900px) { .salon-foto { aspect-ratio: 16 / 7; } }
/* Vorschaubild links (wie in der Google-Liste) */
.card-item .avatar.ci-bild, .card-item:not(.partner) .avatar.ci-bild { order: -1; }

/* ============================================================ Cookie-Richtlinie (/cookies.php) */
.ck-tab-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.ck-tab { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.ck-tab th, .ck-tab td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.ck-tab thead th { border-top: 0; background: var(--surface-2); font-weight: 700; color: var(--ink); white-space: nowrap; }
.ck-tab td:first-child { white-space: nowrap; }
.ck-tab code { font-size: .84rem; }
@media (max-width: 640px) {
  .ck-tab thead { display: none; }
  .ck-tab, .ck-tab tbody, .ck-tab tr, .ck-tab td { display: block; width: 100%; }
  .ck-tab tr { padding: 10px 12px; border-top: 1px solid var(--line); }
  .ck-tab tr:first-child { border-top: 0; }
  .ck-tab td { padding: 2px 0; border: 0; }
  .ck-tab td:nth-child(3)::before { content: "Speicherdauer: "; color: var(--ink-3); }
  .ck-tab td:nth-child(4)::before { content: "Art: "; color: var(--ink-3); }
}

/* ============================================================ Cookie-Hinweis (erster Besuch, #gc-banner.ck-banner) */
.ck-banner .gc-titel { font-family: var(--font-heading); }
.ck-banner .gc-text a { white-space: nowrap; }
.gc-knoepfe.ck-einzeln { grid-template-columns: 1fr; }

/* ==== Einheitliche Schrift: überall Plus Jakarta Sans (font-v1) ==== */
:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body, button, input, select, textarea, .leaflet-container,
.card-item .ci-body, .card-item .ci-title { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
