/* ==========================================================================
   DÄBN · experten.css  (Expertensuche · wird von experte.html mitgenutzt)
   Basis: site.css + design-system/MASTER.md
   --------------------------------------------------------------------------
   INHALT
    01  Seitenbasis, Ribbon
    02  Such-Hero, Suchleiste, Comboboxen
    03  Sticky Filterleiste (Pills, Popover, Switch, Segment, Sortierung)
    04  Drawer „Alle Filter“ (Seitenpanel / mobil Bottom-Sheet)
    05  Ergebnisbereich (Layout, Kopf, Transparenz-Hinweis, aktive Filter)
    06  Ergebniskarte, Avatar, Merken, Skeleton, Mini-Karte
    07  Karte (Leaflet-Anpassungen, Pins, Popup)
    08  Null-Treffer, Vorschläge, Concierge
    09  Info-Band, SEO-Text, CTA-Band
    10  FAB, Toast, Dialog „Anfrage senden“, Formular-Zusätze
    11  Reduced Motion, Print
   ========================================================================== */

/* ==========================================================================
   01 · SEITENBASIS
   ========================================================================== */
.search-app { --fb-h: 76px; }
.container--search { max-width: calc(1520px + var(--gutter) * 2); }

.ribbon {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(222, 195, 122, .55);
  background: rgba(222, 195, 122, .1);
  color: var(--gold-200);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
}
.ribbon svg { flex: none; color: var(--gold-300); }
.ribbon--light { color: var(--gold-ink); background: var(--sand-100); border-color: var(--gold-500); }
.ribbon--light svg { color: var(--gold-ink); }
.ribbon--member { border-style: solid; border-color: rgba(154, 122, 46, .55); background: rgba(201, 168, 76, .16); font-weight: 600; }

/* ==========================================================================
   02 · SUCH-HERO, SUCHLEISTE, COMBOBOXEN
   ========================================================================== */
.search-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(24px, 3.4vw, 48px));
  padding-bottom: clamp(36px, 4vw, 56px);
}
.search-hero:focus-within { z-index: 62; } /* Combobox-Listen überlagern dann die Filterleiste; sonst liegt die klebende Leiste über dem Hero */
.search-hero__title { margin-top: 18px; max-width: 20ch; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4rem); line-height: 1.07; }
.search-hero__lead { margin-top: 16px; max-width: 58ch; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); }

.searchbar--hero { margin-top: clamp(26px, 3vw, 38px); box-shadow: 0 0 0 7px rgba(255, 255, 255, .08), 0 34px 70px -26px rgba(0, 0, 0, .65); }
.searchbar--hero .searchbar__field { z-index: 1; }
.searchbar--hero .searchbar__field:focus-within { z-index: 3; }

.combo__list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  max-height: min(430px, 62vh);
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 22, 40, .04);
  list-style: none;
  text-align: left;
  /* Hero ist dunkel, die Liste hell: Kontext zurücksetzen */
  --c-heading: var(--ink); --c-text: var(--ink-2); --c-muted: var(--ink-3); --c-focus: var(--gold-600);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}
@media (min-width: 900px) { .combo__list { width: max(100%, 400px); left: 8px; } }
.combo__group {
  padding: 12px 12px 6px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.combo__group:first-child { padding-top: 6px; }
.combo__opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
}
.combo__opt.is-active, .combo__opt:hover { background: var(--sand-100); }
.combo__opt.is-active::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--gold-500); }
.combo__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sand-100); color: var(--gold-ink); font-size: 1.1rem; }
.combo__opt.is-active .combo__icon, .combo__opt:hover .combo__icon { background: var(--gold-grad-btn); color: var(--navy-950); }
.combo__label { flex: 1; min-width: 0; }
.combo__label small { display: block; margin-top: 1px; font-size: .875rem; font-weight: 400; color: var(--ink-3); }
.combo__meta { flex: none; font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.quick__label { margin-right: 4px; font-size: .9375rem; color: var(--navy-300); }
.quick__chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}
.quick__chip:hover { border-color: var(--gold-300); background: rgba(255, 255, 255, .18); transform: translateY(-1px); }

/* ==========================================================================
   03 · STICKY FILTERLEISTE
   ========================================================================== */
.filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  scroll-margin-top: -24px;
  background: rgba(251, 248, 243, .9);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 34px -26px rgba(10, 22, 40, .5);
  --c-heading: var(--ink); --c-text: var(--ink-2); --c-muted: var(--ink-3); --c-focus: var(--gold-600);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .filterbar { background: var(--sand-50); } }
/* Klebt die Leiste unter dem schwebenden Header, füllt dieses Glas den Streifen darüber */
.filterbar::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 100%;
  height: var(--header-h);
  background: rgba(251, 248, 243, .97);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.filterbar.is-stuck::before { opacity: 1; }
.filterbar__row { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 12px; }
.filterbar__pills { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; -webkit-overflow-scrolling: touch; }
.filterbar__pills::-webkit-scrollbar { display: none; }
.filterbar__right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
@media (min-width: 768px) {
  .filterbar__row { flex-wrap: wrap; }
  .filterbar__pills { flex-wrap: wrap; overflow: visible; flex: 1 1 auto; }
}

.fpill { position: relative; flex: none; }
.fpill__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--sand-300);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}
.fpill__btn:hover { border-color: var(--gold-500); box-shadow: 0 6px 16px -10px rgba(10, 22, 40, .45); }
.fpill__btn[aria-expanded="true"] { border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(201, 168, 76, .32); }
.fpill__btn > svg { width: 1.1em; height: 1.1em; }
.fpill__btn > svg:last-child:not(:first-child) { transition: transform var(--t-med) var(--ease); }
.fpill__btn[aria-expanded="true"] > svg:last-child { transform: rotate(180deg); }
.fpill__btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.fpill__btn.is-active svg { color: var(--gold-300); }
.fpill__n {
  display: inline-grid;
  place-items: center;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold-grad-btn);
  color: var(--navy-950);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
}
.fpill__btn--saved .fpill__n { background: var(--sand-200); color: var(--ink); }
.fpill__btn--saved.is-active .fpill__n { background: var(--gold-grad-btn); color: var(--navy-950); }
.fpill__btn--saved.is-active svg { fill: currentColor; }
.fpill__btn--all svg { color: var(--gold-ink); }

/* Schalter */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--sand-300);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.switch:hover { border-color: var(--gold-500); }
.switch__track { position: relative; flex: none; width: 42px; height: 24px; border-radius: 999px; background: #8C93A5; transition: background-color var(--t-med); }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 22, 40, .35); transition: transform var(--t-med) var(--ease), background-color var(--t-med); }
.switch[aria-checked="true"] { border-color: var(--gold-500); background: rgba(201, 168, 76, .15); }
.switch[aria-checked="true"] .switch__track { background: var(--navy-900); }
.switch[aria-checked="true"] .switch__thumb { transform: translateX(18px); background: var(--gold-300); }
.switch__short { display: none; }
@media (max-width: 1399.98px) { .switch__long { display: none; } .switch__short { display: inline; } }
.switch--row { width: 100%; justify-content: flex-start; min-height: 52px; border-radius: 16px; }

/* Sortierung & Ansicht */
.fsel { display: none; align-items: center; gap: 8px; }
.fsel__l { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fsel__select {
  min-height: 44px;
  padding: 0 40px 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--sand-300);
  background: #fff var(--field-arrow) no-repeat right 14px center;
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink);
  width: 168px;
  text-overflow: ellipsis;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
.fsel__select:hover { border-color: var(--gold-500); }
.fsel__select:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 3px; }
.seg { display: none; border-radius: 999px; background: var(--sand-100); border: 1.5px solid var(--sand-300); overflow: hidden; }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; font-size: .9375rem; font-weight: 600; color: var(--ink); border-radius: 999px; }
.seg button svg { width: 1.1em; height: 1.1em; }
.seg button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.seg button[aria-pressed="true"] svg { color: var(--gold-300); }
@media (min-width: 768px) { .fsel { display: flex; } .seg { display: inline-flex; } }
@media (min-width: 1280px) { .seg { display: none; } }
@media (max-width: 767.98px) { .fpill__btn--all { order: -1; } }
@media (min-width: 768px) and (max-width: 1499.98px) {
  .filterbar__pills { gap: 8px; }
  .fpill__btn { padding-inline: 14px; }
  .switch { padding-right: 14px; padding-left: 10px; }
  .fsel__select { width: 150px; }
}
@media (max-width: 1499.98px) { .fpill__btn--saved .fpill__l { display: none; } .fpill__btn--saved { padding: 0 14px; } }

/* 768–1099 px: Leiste bleibt einzeilig (statt drei Zeilen / ca. 250 px). Sticky bleiben „Alle Filter“ (mit Zähler),
   Merkliste, Sortierung und Ansicht; die Pill-Dropdowns und der Kapazitäts-Schalter wohnen im Drawer „Alle Filter“. */
.fpill__btn--all .fpill__n { display: none; }
@media (min-width: 768px) and (max-width: 1099.98px) {
  .filterbar__row { flex-wrap: nowrap; }
  .filterbar__pills { flex: 0 1 auto; flex-wrap: nowrap; }
  .filterbar__pills > .fpill, .filterbar__pills > .switch--pill { display: none; }
  .fpill__btn--all .fpill__n { display: inline-grid; }
}

/* Popover */
.pop {
  position: absolute;
  z-index: 70;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  max-width: min(380px, calc(100vw - 24px));
  padding: 10px 10px 8px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(10, 22, 40, .03);
  --c-text: var(--ink-2); --c-focus: var(--gold-600);
}
.pop--wide { min-width: 360px; }
.pop--right { left: auto; right: 0; }
.pop__list { display: grid; gap: 2px; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.pop__clear { background-position-y: calc(50% + .85em); }

.opt { width: 100%; align-items: center; gap: 12px; padding: 4px 10px; border-radius: 12px; cursor: pointer; font-size: 1rem; line-height: 1.3; }
.opt:hover { background: var(--sand-100); }
.opt__l { flex: 1; min-width: 0; color: var(--ink); }
.opt__n { flex: none; min-width: 1.6em; text-align: right; font-size: .875rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.opt--zero .opt__l, .opt--zero .opt__n { opacity: .72; }

/* ==========================================================================
   04 · DRAWER „ALLE FILTER“
   ========================================================================== */
.drawer { max-width: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #fff; }
.drawer[open] { display: flex; flex-direction: column; }
@media (min-width: 768px) {
  .drawer { position: fixed; inset: 0 0 0 auto; width: min(480px, 100vw); height: 100dvh; max-height: 100dvh; border-radius: 28px 0 0 28px; }
  .dialog.drawer[open] { animation: drawer-in-r .45s var(--ease) both; }
}
@media (max-width: 767.98px) {
  .drawer { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; height: auto; max-height: 92dvh; border-radius: 28px 28px 0 0; }
  .dialog.drawer[open] { animation: drawer-in-b .45s var(--ease) both; }
}
@keyframes drawer-in-r { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes drawer-in-b { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 1.5rem; }
.drawer__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 24px; }
.drawer__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.drawer__foot .btn-gold { flex: 1; white-space: normal; line-height: 1.2; }
@media (max-width: 480px) {
  .drawer__foot { flex-wrap: wrap; }
  .drawer__foot .btn-gold { order: -1; flex: 1 1 100%; }
  .drawer__foot .btn-ghost { flex: 1 1 100%; }
}
.dgroup { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.dgroup:last-child { border-bottom: 0; }
.dgroup__legend { float: left; width: 100%; margin-bottom: 8px; font-family: var(--font-display); font-weight: var(--display-weight-3); font-size: 1.15rem; letter-spacing: -.012em; color: var(--ink); }
.dgroup > :not(legend) { clear: both; }
.dgroup__list { display: grid; gap: 2px; }
.dgroup__radios { display: flex; flex-wrap: wrap; gap: 10px; }
.hint-text { margin-top: 10px; font-size: .9375rem; color: var(--ink-3); }
.rchip { position: relative; display: inline-block; }
.rchip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rchip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--sand-300); background: #fff; color: var(--ink); font-size: .9375rem; font-weight: 600; transition: background-color var(--t-fast), border-color var(--t-fast); }
.rchip:hover span { border-color: var(--gold-500); }
.rchip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.rchip input:focus-visible + span { outline: 3px solid var(--gold-600); outline-offset: 3px; }
.rchip.is-disabled { opacity: .55; }
.rchip.is-disabled input { cursor: not-allowed; }

/* ==========================================================================
   05 · ERGEBNISBEREICH
   ========================================================================== */
.results { padding-block: 28px clamp(56px, 6vw, 88px); }
.results-layout { display: block; }
@media (min-width: 1280px) {
  .results-layout { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 32px; align-items: start; }
}
.results-col { min-width: 0; }
.results-head { margin-bottom: 16px; }
.results-title { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.95rem); line-height: 1.2; letter-spacing: -.02em; }
.results-sub { margin-top: 6px; font-size: .9375rem; line-height: 1.5; color: var(--ink-3); }
.results-sub:empty { display: none; }

/* Transparenz-Hinweis (§ 5b UWG: Ranking-Transparenz) */
.tnote { margin: 0 0 18px; padding: 14px 18px; border-radius: 20px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(201, 168, 76, .55); box-shadow: var(--shadow-sm); }
.tnote__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.tnote__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-grad-btn); color: var(--navy-950); font-size: 1.2rem; }
.tnote .ph, .p-trans .ph { white-space: nowrap; }
@media (max-width: 400px) { .tnote .ph, .p-trans .ph { white-space: normal; } }
.tnote__text { font-size: .9375rem; line-height: 1.55; color: var(--ink-2); align-self: center; }
.tnote__btn { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-decoration-color: rgba(201, 168, 76, .85); text-decoration-thickness: 2px; text-underline-offset: .22em; }
.tnote__btn svg { transition: transform var(--t-med) var(--ease); }
.tnote__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.tnote__panel { margin: 6px 0 2px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: .7em; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); max-width: 78ch; }
@media (min-width: 640px) { .tnote__panel { margin-left: 54px; } }

/* Aktive Filter */
.afilters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.afilters__list { display: flex; flex-wrap: wrap; gap: 8px; }
.afchip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--gold-500); color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: left; transition: background-color var(--t-fast); }
.afchip svg { flex: none; width: 1.15em; height: 1.15em; color: var(--ink-3); }
.afchip:hover { background: var(--gold-200); }
.afchip:hover svg { color: var(--ink); }
.afilters__reset { min-height: 44px; padding: 0 10px; font-size: .9375rem; font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(201, 168, 76, .85); text-underline-offset: .22em; }

/* ==========================================================================
   06 · ERGEBNISKARTE
   ========================================================================== */
.results-list { display: grid; gap: 18px; }
.ex-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "photo head" "photo body" "photo actions";
  column-gap: 26px;
  row-gap: 12px;
  align-items: start;
  padding: 24px;
  background: #fff;
}
.ex-card::before { left: 24px; right: 24px; }
.ex-card:hover, .ex-card:focus-within, .ex-card.is-hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(201, 168, 76, .5); }
.ex-card.is-hover::before { opacity: 1; transform: none; }
.ex-card.is-pulse { animation: card-pulse 1.4s var(--ease); }
@keyframes card-pulse { 0%, 100% { box-shadow: var(--shadow-md); } 35% { box-shadow: 0 0 0 4px rgba(201, 168, 76, .5), var(--shadow-md); } }
.results-list.is-entering .ex-card { animation: card-in .6s var(--ease) calc(var(--d, 0) * 70ms) backwards; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.ex-card__photo, .mini-card__photo { text-decoration: none; }
.ex-card__photo { grid-area: photo; position: relative; display: block; width: 132px; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--sand-200); box-shadow: 0 10px 24px -14px rgba(10, 22, 40, .5); }
.ex-card__photo img, .ex-card__photo .ex-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.ex-card__example { position: absolute; left: 6px; right: 6px; bottom: 6px; padding: 3px 6px; border-radius: 999px; background: rgba(10, 22, 40, .8); color: var(--gold-200); font-size: .8125rem; font-weight: 600; line-height: 1.3; text-align: center; letter-spacing: .02em; }
.ex-card__example .short { display: none; }
.ex-card__example--member { background: linear-gradient(135deg, var(--gold-200), var(--gold-400)); border: 1px solid rgba(255, 255, 255, .5); color: var(--navy-950); }

.ex-avatar { container-type: inline-size; display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, var(--navy-600), var(--navy-800) 55%, var(--navy-950)); }
.ex-avatar > span { font-family: var(--font-display); font-weight: 700; font-size: 34cqw; line-height: 1; letter-spacing: .02em; padding-left: .02em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.ex-card__head { grid-area: head; min-width: 0; padding-right: 52px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.ex-card .ex-card__name { -webkit-hyphens: manual; hyphens: manual; margin: 0; font-size: 1.4rem; font-weight: var(--display-weight); line-height: 1.2; letter-spacing: -.02em; }
.ex-card__name a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--gold-500), var(--gold-500)); background-repeat: no-repeat; background-size: 0 2px; background-position: 0 100%; transition: background-size var(--t-med) var(--ease); }
.ex-card__name a:hover { background-size: 100% 2px; }
.ex-card__role { margin-top: 4px; font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--ink-2); }
.ex-card__firma { margin-top: 2px; font-size: .9375rem; line-height: 1.4; color: var(--ink-3); }
.ex-card__body { grid-area: body; display: grid; gap: 11px; min-width: 0; justify-items: start; }
.ex-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip--fb { min-height: 32px; padding: 4px 12px; background: var(--sand-100); border: 1px solid var(--sand-200); font-size: .875rem; }
.chip--fb svg { width: 1em; height: 1em; }
.chip--main { background: var(--sand-200); border-color: var(--sand-300); font-weight: 600; }
.ex-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ex-loc > svg { flex: none; color: var(--gold-ink); }
.ex-tag { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.35; }
.ex-tag--nahe { background: rgba(47, 125, 91, .12); color: #1F5B40; }
.ex-tag--einzug { background: rgba(201, 168, 76, .22); color: var(--gold-ink); }
.ex-tag--bundesweit, .ex-tag--digital { background: rgba(24, 48, 92, .1); color: var(--navy-700); }
.ex-tag--weit { background: var(--sand-200); color: var(--ink-2); }
.ex-card__text { font-size: 1rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ex-meta { display: grid; gap: 6px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.ex-meta li { display: flex; align-items: flex-start; gap: 10px; }
.ex-meta li > svg { flex: none; margin-top: .15em; color: var(--gold-ink); }
.ex-meta .ex-meta__ok > svg { color: var(--ok); }
.ex-meta .ex-meta__off { color: var(--ink-3); }
.ex-meta__fee strong { color: var(--ink); font-weight: 600; }
.ex-card__body .badge-verified { text-decoration: none; transition: background-color var(--t-fast), border-color var(--t-fast); }
.ex-card__body .badge-verified:hover { background: rgba(47, 125, 91, .18); border-color: rgba(47, 125, 91, .5); }
.ex-card__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.save-btn { position: absolute; top: 16px; right: 16px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--sand-300); background: #fff; color: var(--ink); font-size: 1.15rem; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); }
.save-btn:hover { border-color: var(--gold-500); background: var(--sand-50); transform: scale(1.06); }
.save-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold-300); }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }

@media (max-width: 640px) {
  .ex-card { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "photo head" "body body" "actions actions"; column-gap: 16px; row-gap: 14px; padding: 18px; }
  .ex-card::before { left: 18px; right: 18px; }
  .ex-card__photo { width: 84px; border-radius: 14px; }
  .ex-card .ex-card__name { font-size: 1.2rem; }
  .ex-card__head { padding-right: 46px; }
  .ex-card__example .long { display: none; }
  .ex-card__example .short { display: inline; }
  .ex-card__actions .btn { flex: 1 1 auto; }
  .save-btn { top: 12px; right: 12px; }
}

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--sand-100) 0%, var(--sand-50) 40%, var(--sand-100) 80%); background-size: 220% 100%; animation: shimmer 1.5s linear infinite; border-radius: 10px; }
.skeleton--line { height: 16px; margin: 12px 0; }
.ex-card--skel .ex-card__photo { box-shadow: none; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* Kompakte Karte (Profilseite) */
.mini-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; background: #fff; height: 100%; }
.mini-card::before { left: 20px; right: 20px; z-index: 2; }
.mini-card__photo { display: block; position: relative; aspect-ratio: 16 / 10; background: var(--sand-200); overflow: hidden; }
.mini-card__photo img, .mini-card__photo .ex-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 1s var(--ease); }
.mini-card:hover .mini-card__photo img { transform: scale(1.04); }
.mini-card__photo .ex-avatar > span { font-size: 22cqw; }
.mini-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.mini-card__fb { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.mini-card .mini-card__name { margin: 0; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.018em; }
.mini-card__name a { color: var(--ink); text-decoration: none; }
.mini-card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.mini-card__role { font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.mini-card__loc { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: .9375rem; color: var(--ink-3); }
.mini-card__loc svg { flex: none; color: var(--gold-ink); }
.mini-card__text { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }

/* ==========================================================================
   07 · KARTE (Leaflet)
   ========================================================================== */
.map-col { display: none; }
@media (min-width: 1280px) {
  .map-col { display: block; position: sticky; top: calc(var(--header-h) + var(--fb-h) + 16px); height: calc(100dvh - var(--header-h) - var(--fb-h) - 32px); min-height: 480px; }
}
@media (max-width: 1279.98px) {
  .results-layout[data-view="liste"] .map-col { display: none; }
  .results-layout[data-view="karte"] .results-col { display: none; }
  .results-layout[data-view="karte"] .map-col { display: block; height: calc(100dvh - var(--header-h) - var(--fb-h) - 20px); min-height: 440px; }
}
@media (max-width: 767.98px) {
  /* Platz für den schwebenden „Liste“-Button unter der Karte */
  .results-layout[data-view="karte"] .map-col { height: calc(100dvh - var(--header-h) - var(--fb-h) - 20px - 80px); margin-bottom: 80px; min-height: 380px; }
}
.map-panel { position: relative; isolation: isolate; z-index: 0; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--sand-200); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.map { position: relative; flex: 1; min-height: 340px; background: #E9E3D6; }
.map:focus-visible { outline: none; }
.map-panel:has(.map:focus-visible) { outline: 3px solid var(--c-focus); outline-offset: 3px; } /* Fokusring am Panel: Leaflet-Panes und overflow:hidden verdecken ihn sonst */
.map-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.45; color: var(--ink-3); }
.map-note svg { flex: none; margin-top: .1em; color: var(--gold-ink); width: 1.2em; height: 1.2em; }
.map-fallback { display: grid; place-content: center; justify-items: center; gap: 12px; height: 100%; padding: 24px; text-align: center; color: var(--ink-2); font-size: 1rem; }
.map-fallback svg { width: 40px; height: 40px; color: var(--gold-ink); }

.leaflet-container { font-family: var(--font-body); font-size: 1rem; background: #E9E3D6; }
.leaflet-container a { color: var(--navy-700); }
.leaflet-touch .leaflet-bar { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px -10px rgba(10, 22, 40, .5); }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 22px; color: var(--ink); background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); }
.leaflet-touch .leaflet-bar a:hover { background: var(--sand-100); }
.leaflet-control-attribution { font-size: .8125rem !important; padding: 2px 8px !important; background: rgba(255, 255, 255, .85) !important; }
.leaflet-marker-icon:focus-visible { outline: none; }
.leaflet-marker-icon:focus-visible .pin__drop { stroke: #fff; stroke-width: 2.4; }

.pin-wrap { background: none; border: 0; }
.pin { position: relative; width: 34px; height: 44px; transform-origin: 50% 100%; filter: drop-shadow(0 7px 7px rgba(10, 22, 40, .38)); transition: transform .22s var(--ease); }
.pin__svg { width: 34px; height: 44px; display: block; overflow: visible; }
.pin__drop { fill: var(--gold-400); stroke: var(--navy-900); stroke-width: 1.7; transition: fill .2s; }
.pin__core { fill: var(--navy-900); }
.pin.is-active { transform: scale(1.34); }
.pin.is-active .pin__drop { fill: var(--gold-200); }
.pin__count { position: absolute; top: -6px; right: -9px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--navy-900); border: 2px solid #fff; color: var(--gold-200); font-size: .8125rem; font-weight: 700; line-height: 1; }
.pin-wrap--center .center-dot { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-900); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--gold-500), 0 8px 16px rgba(10, 22, 40, .45); }

.map-popup .leaflet-popup-content-wrapper { padding: 4px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.map-popup .leaflet-popup-content { margin: 12px 14px 12px; font-family: var(--font-body); font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.map-popup .leaflet-popup-tip { box-shadow: 0 8px 14px rgba(10, 22, 40, .18); }
.leaflet-container a.leaflet-popup-close-button { top: 2px; right: 2px; width: 40px; height: 40px; font: 24px/40px var(--font-body); color: var(--ink-3); }
.leaflet-container a.leaflet-popup-close-button:hover { color: var(--ink); background: none; }
.mp { display: grid; gap: 10px; min-width: 230px; }
.mp p { margin: 0; }
.mp__ort { display: flex; align-items: center; gap: 8px; padding-right: 28px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.mp__item { display: flex; align-items: center; gap: 12px; }
.mp__ph { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; object-fit: cover; object-position: 50% 16%; }
.mp__t { display: grid; min-width: 0; }
.mp__name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.0625rem; line-height: 1.25; color: var(--ink) !important; text-decoration: none; }
.mp__name:hover { text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: .2em; }
.mp__role { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.mp__km { font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.mp__more { font-size: .875rem; color: var(--ink-3); }
.mp__link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; font-size: 1rem; color: var(--gold-ink) !important; text-decoration: none; }
.mp__link:hover { text-decoration: underline; text-underline-offset: .2em; }

/* ==========================================================================
   08 · NULL-TREFFER, VORSCHLÄGE, CONCIERGE
   ========================================================================== */
.empty { padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; border: 1px dashed var(--sand-300); text-align: center; }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: var(--sand-100); border: 1px solid var(--sand-200); color: var(--gold-ink); font-size: 1.8rem; }
.empty__title { max-width: 30ch; margin-inline: auto; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); line-height: 1.25; }
.empty__text { max-width: 54ch; margin: 10px auto 0; color: var(--ink-2); font-size: 1.0625rem; }
.empty__sub { margin-top: 18px; font-weight: 600; color: var(--ink); }
.empty__sug { justify-content: center; margin-top: 10px; }
.empty__actions { margin-top: 20px; }
.chip--btn { cursor: pointer; }
.btn-wrap { padding-block: 12px; line-height: 1.25; }
.chip__n { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #fff; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }

.hints { margin-top: 20px; }
.hints__lead { margin-bottom: 12px; font-size: 1rem; color: var(--ink-2); }
.hints__list { display: grid; gap: 12px; }
.sugg { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 16px 20px; border-radius: 20px; background: #fff; border: 1.5px solid var(--sand-300); text-align: left; transition: border-color var(--t-fast), transform var(--t-med) var(--ease), box-shadow var(--t-med); }
button.sugg:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.sugg__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--sand-100); color: var(--gold-ink); font-size: 1.25rem; transition: background-color var(--t-med), color var(--t-med); }
button.sugg:hover .sugg__icon { background: var(--gold-grad-btn); color: var(--navy-950); }
.sugg__text { display: block; min-width: 0; }
.sugg__text strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.sugg__text small { display: block; margin-top: 2px; font-size: .9375rem; color: var(--ink-3); }
.sugg__go { margin-left: auto; flex: none; color: var(--gold-ink); transition: transform var(--t-med) var(--ease); }
button.sugg:hover .sugg__go { transform: translateX(4px); }
.sugg--related { align-items: flex-start; }
.sugg--related .chip-row { margin-top: 10px; }

.concierge { display: grid; gap: 24px; margin-top: 24px; padding: clamp(22px, 3vw, 36px); border-color: rgba(201, 168, 76, .6); background: linear-gradient(135deg, #fff 40%, var(--sand-50)); }
.concierge:hover { transform: none; box-shadow: none; }
@media (min-width: 900px) { .concierge { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; } }
.concierge__intro .icon-badge { margin-bottom: 16px; }
.concierge__intro h3 { margin-bottom: 8px; }
.concierge__intro p { font-size: 1.0625rem; max-width: 36ch; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: .9375rem; line-height: 1.5; color: var(--c-muted); }
.form-note svg { flex: none; color: var(--gold-ink); }
.form-success .form-note { display: block; margin-top: 8px; }

/* ==========================================================================
   09 · INFO-BAND, SEO-TEXT, CTA-BAND
   ========================================================================== */
.infoband__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.infoband__head .eyebrow { margin-bottom: 16px; }
.infoband__title { max-width: 22ch; font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }
.infoband__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 700px) { .infoband__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .infoband__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.infoband__grid .card-glass { padding: 26px; }
.infoband__grid .card-glass h3 { font-size: 1.2rem; }
.infoband__grid .card-glass p { font-size: 1rem; line-height: 1.6; }
.infoband__note { margin-top: 28px; max-width: 70ch; font-size: 1rem; line-height: 1.6; color: var(--navy-300); }

.seo__body { max-width: 72ch; margin-inline: auto; }
.seo__title { margin-bottom: 18px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.seo__body p + p { margin-top: 1em; }
.seo__note { margin-top: 22px; font-size: .9375rem; color: var(--ink-3); }

.ctaband__panel { position: relative; display: grid; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .ctaband__panel { grid-template-columns: minmax(0, 1.5fr) auto; gap: 56px; } }
.ctaband__text .eyebrow { margin-bottom: 18px; }
.ctaband h2 { max-width: 22ch; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); }
.ctaband .lead { margin-top: 16px; max-width: 52ch; }
.ctaband__actions { display: grid; gap: 12px; justify-items: start; }

/* ==========================================================================
   10 · FAB, TOAST, ANFRAGE-DIALOG
   ========================================================================== */
.fab-map {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: rgba(10, 22, 40, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(222, 195, 122, .6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 22px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.fab-map svg { color: var(--gold-300); }
@media (max-width: 767.98px) {
  .fab-map { display: inline-flex; }
  .fab-map.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
  html.dialog-open .fab-map, html.is-locked .fab-map { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 200;
  max-width: min(92vw, 540px);
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--navy-900);
  border: 1px solid rgba(222, 195, 122, .5);
  color: #fff;
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

.dialog--request { width: min(660px, calc(100vw - 24px)); }
.rq-who { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 14px 16px; border-radius: 18px; background: var(--sand-50); border: 1px solid var(--sand-200); }
.rq-who__ph { flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--sand-200); }
.rq-who__ph img, .rq-who__ph .ex-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.rq-who__t { display: grid; min-width: 0; }
.rq-who__t strong { color: var(--ink); font-size: 1.0625rem; }
.rq-who__t small { font-size: .9375rem; color: var(--ink-3); line-height: 1.4; }
.notice-patient { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(201, 168, 76, .13); border: 1px solid rgba(201, 168, 76, .5); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.notice-patient svg { flex: none; margin-top: .1em; color: var(--gold-ink); }
.dialog .form-grid .form-grid { gap: 20px; }
.dialog__body .form-success, .concierge .form-success { margin-top: 0; }
.dialog:focus-visible { outline: none; }


/* Fokus-Formen: site.css setzt border-radius: 6px auf :focus-visible. Pills, Chips und runde Buttons behalten ihre Form. */
.fpill__btn:focus-visible, .switch:focus-visible, .afchip:focus-visible, .quick__chip:focus-visible, .seg button:focus-visible,
.chip--btn:focus-visible, a.chip:focus-visible, .afilters__reset:focus-visible, .fab-map:focus-visible, .rchip input:focus-visible + span { border-radius: 999px; }
.save-btn:focus-visible, .dialog__close:focus-visible { border-radius: 50%; }
.sugg:focus-visible, .ex-card:focus-visible { border-radius: 20px; }
.ex-card__photo:focus-visible { border-radius: 18px; }
.fsel__select:focus-visible { border-radius: 999px; }
.pop .opt:focus-within { background: var(--sand-100); }

/* ==========================================================================
   11 · REDUCED MOTION, PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  .results-list.is-entering .ex-card { animation: none; }
  .dialog.drawer[open] { animation: none; }
  .pin { transition: none; }
}
.is-static .skeleton, .is-static .results-list.is-entering .ex-card { animation: none !important; }
@media print {
  .filterbar, .fab-map, .map-col, .toast { display: none !important; }
}
