/* =====================================================================
   Klarglas · Ergänzungen vom 11.11.2026
   Listen für Aufträge und Betriebe, Männchen für freie Plätze, Suchleiste
   mit Mehrfachauswahl und Standort-Knopf, Symbole auf Knöpfen und im Inhalt
   ===================================================================== */

/* ---------- Symbole auf Knöpfen und im Inhalt ---------- */
.btn .ic{flex:none}
.cell-link{gap:5px}
.cell-link .ic{flex:none;width:15px;height:15px}
.facts dt{display:flex;align-items:center;gap:7px}
.facts dt .ic{flex:none;width:16px;height:16px;color:var(--blue-2)}
.stat__ic{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:var(--blue-soft);color:var(--blue)}
.stat__ic .ic{width:21px;height:21px}
.stat[class*="stat--"] .stat__ic{background:var(--t-bg);color:var(--t)}
.stat.has-ic .stat__link::before{display:none}
.stat.has-ic[class*="stat--"] .stat__link::before{display:block;top:11px;right:11px;z-index:1;width:12px;height:12px;box-shadow:0 0 0 2px #fff}
.stat.has-ic .stat__value{padding-right:50px}
.b-title .kg-hic{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:10px;border-radius:10px;background:var(--blue-soft);color:var(--blue);vertical-align:-7px}
.b-title .kg-hic .ic{width:17px;height:17px}
.card--branch{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;column-gap:12px;padding-left:14px}
.kg-bic{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:var(--green-soft);color:var(--green-ink)}
.kg-bic .ic{width:22px;height:22px}

/* ---------- Plätze als Männchen (grün = frei, grau = besetzt) ---------- */
.kg-ppl{display:inline-grid;justify-items:start;gap:4px;min-width:0;vertical-align:middle}
.kg-ppl__figs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px}
.kg-ppl__figs i{display:block;line-height:0}
.kg-ppl__figs svg{display:block;width:11px;height:15px}
.kg-ppl__figs .is-free svg{fill:var(--green)}
.kg-ppl__figs .is-taken svg{fill:#b7c6d4}
.kg-ppl__figs em{align-self:center;margin-left:3px;color:var(--ink-2);font:600 12px/1 var(--body);font-style:normal}
.kg-ppl__tx{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;line-height:1.3}
.kg-ppl__tx b{color:var(--green-ink);font-weight:700}
.kg-ppl__tx small{color:var(--ink-2);font-size:12.5px;font-weight:500}
.kg-ppl--compact{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px 8px}

/* ---------- Aufträge und Betriebe als Liste ---------- */
.b-joblist{container:joblist / inline-size}
.kg-jl{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.kg-jr{position:relative;display:grid;grid-template-columns:52px minmax(0,1.2fr) minmax(0,1.9fr) auto;align-items:center;gap:8px 20px;padding:16px 18px 16px 16px;border:1px solid var(--edge);border-radius:26px;background:var(--glass-2);box-shadow:var(--sh-1);transition:transform .18s ease,box-shadow .18s ease}
.kg-jr:hover{transform:translateY(-2px);box-shadow:var(--sh-2)}
.kg-jr__ic{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--green-soft);color:var(--green-ink)}
.kg-jr__ic .ic{width:26px;height:26px}
.kg-jr > .avatar{width:52px;height:52px;font-size:16px}
.kg-jr__main{min-width:0}
.kg-jr__top{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:0 0 3px}
.kg-jr__top:empty{display:none}
.kg-jr__cat{color:var(--green-ink);font:600 13px/1.3 var(--body)}
.kg-jr__title{margin:0;font:600 18px/1.25 var(--head);letter-spacing:-.01em}
.kg-jr__title a{color:var(--ink);text-decoration:none}
.kg-jr__title a::after{content:'';position:absolute;inset:0;border-radius:26px}
.kg-jr__title a:hover{color:var(--blue-2)}
.kg-jr__title a:focus-visible{outline:none}
.kg-jr__title a:focus-visible::after{outline:3px solid var(--blue-2);outline-offset:2px}
.kg-jr__text{display:-webkit-box;margin:4px 0 0;overflow:hidden;color:var(--ink-2);font-size:14px;line-height:1.4;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical}
.kg-jl__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 16px;margin:0}
.kg-jl__facts--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.kg-jl__f{min-width:0}
.kg-jl__f dt{display:flex;align-items:center;gap:6px;margin-bottom:3px;color:var(--ink-2);font:600 12px/1.2 var(--body);letter-spacing:.04em;text-transform:uppercase}
.kg-jl__f dt .ic{flex:none;width:15px;height:15px;color:var(--blue-2)}
.kg-jl__f dd{margin:0;font:600 14.5px/1.35 var(--body);overflow-wrap:anywhere}
.kg-jl__f dd > small{display:block;color:var(--ink-2);font-size:12.5px;font-weight:400}
.kg-jr__side{position:relative;z-index:1;display:grid;justify-items:end;gap:6px;text-align:right;pointer-events:none}
.kg-jr__side > *{pointer-events:auto}
.kg-jr__side small{max-width:170px;color:var(--ink-2);font-size:12.5px;line-height:1.35}
@container joblist (max-width:940px){
  .kg-jr{grid-template-columns:52px minmax(0,1fr) auto}
  .kg-jl__facts{grid-column:1 / -1;grid-row:2;padding-top:12px;border-top:1px solid var(--line)}
}
@container joblist (max-width:560px){
  .kg-jr{grid-template-columns:44px minmax(0,1fr);gap:10px 12px;padding:14px;border-radius:22px}
  .kg-jr__title a::after{border-radius:22px}
  .kg-jr__ic,.kg-jr > .avatar{width:44px;height:44px;border-radius:15px}
  .kg-jr > .avatar{border-radius:50%}
  .kg-jr__ic .ic{width:22px;height:22px}
  .kg-jr__title{font-size:17px}
  .kg-jl__facts,.kg-jl__facts--3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kg-jr__side{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-items:start;text-align:left}
  .kg-jr__side small{order:-1;max-width:none}
}

/* ---------- Suchleiste: Mehrfachauswahl, Standort, Umkreis ---------- */
.kg-sb{position:relative;z-index:5;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,.6fr) auto;align-items:stretch;margin:0 0 16px;padding:8px;border:1px solid var(--edge);border-radius:36px;background:rgba(255,255,255,.95);box-shadow:var(--sh-2);text-align:left}
.kg-sb--hero{max-width:780px;margin:28px auto 16px}
.kg-sb__f{position:relative;display:grid;align-content:center;gap:1px;min-width:0;padding:6px 12px 6px 20px;border-radius:28px}
.kg-sb__f + .kg-sb__f::before{content:'';position:absolute;left:0;top:22%;bottom:22%;border-left:1px solid var(--line-2)}
.kg-sb__f:focus-within{background:var(--blue-faint);box-shadow:inset 0 0 0 2px var(--blue-2)}
.kg-sb__f:focus-within::before,.kg-sb__f:focus-within + .kg-sb__f::before{display:none}
.kg-sb__lab{color:var(--ink-2);font:600 12.5px/1.3 var(--body)}
.kg-sb__lab em{margin-left:4px;padding:1px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-ink);font-size:11.5px;font-style:normal;white-space:nowrap}
.kg-sb input,.kg-sb select{width:100%;min-width:0;min-height:34px;padding:0;border:0;background:none;color:var(--ink);font:500 16px/1.3 var(--body);outline:none}
.kg-sb select{cursor:pointer}
.kg-sb input::placeholder{color:#5d7388;opacity:1}
.kg-sb__go{align-self:center;min-height:56px;margin-left:8px;padding:0 26px;background:var(--blue);font-size:16px;box-shadow:0 6px 16px rgba(14,65,105,.3)}
.kg-sb__go:hover{background:#0a3252;box-shadow:0 10px 22px rgba(14,65,105,.34)}
.kg-ms__box{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;min-width:0}
.kg-ms__tags{display:contents;list-style:none}
.kg-ms__tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:32px;padding:0 4px 0 9px;border-radius:999px;background:var(--blue);color:#fff;font:600 13.5px/1 var(--body)}
.kg-ms__tag > .ic{flex:none;width:15px;height:15px}
.kg-ms__tag span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kg-ms__tag button{display:grid;place-items:center;flex:none;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:#fff;cursor:pointer}
.kg-ms__tag button:hover{background:rgba(255,255,255,.36)}
.kg-ms__tag button .ic{width:13px;height:13px}
.kg-ms__box input{flex:1 1 96px;width:auto}
.kg-ms__pop{position:absolute;left:0;top:calc(100% + 12px);z-index:40;width:min(460px,calc(100vw - 40px));max-height:330px;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--sh-2)}
.kg-ms__pop[hidden]{display:none}
.kg-ms__hint{margin:2px 8px 8px;color:var(--ink-2);font-size:13px}
.kg-ms__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;margin:0;padding:0;list-style:none}
.kg-ms__list li[hidden]{display:none}
.kg-ms__opt{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:6px 10px;border:0;border-radius:12px;background:none;color:var(--ink);font:500 14.5px/1.25 var(--body);text-align:left;cursor:pointer}
.kg-ms__opt:hover,.kg-ms__opt:focus-visible{background:var(--blue-faint)}
.kg-ms__opt .ic{flex:none;width:18px;height:18px;color:var(--blue-2)}
.kg-ms__free{margin:6px 0 0;padding-top:6px;border-top:1px solid var(--line)}
.kg-ms__free[hidden]{display:none}
.kg-ms__foot{position:sticky;bottom:-10px;display:flex;justify-content:flex-end;margin:8px -10px -10px;padding:8px 10px 10px;border-top:1px solid var(--line);background:#fff}
.kg-ms__foot .btn{min-height:40px;padding:6px 18px}
.kg-loc{display:flex;align-items:center;gap:6px;min-width:0}
.kg-loc input{flex:1 1 auto}
.kg-loc__btn{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid var(--line-2);border-radius:50%;background:#fff;color:var(--blue-2);cursor:pointer;transition:background-color .15s,color .15s,border-color .15s}
.kg-loc__btn:hover{background:var(--blue-faint);border-color:var(--blue-2)}
.kg-loc__btn.is-on{background:var(--green-btn);border-color:var(--green-btn);color:#fff}
.kg-loc__btn .ic{width:20px;height:20px}
.input-wrap .kg-loc__btn{width:48px;height:48px}
@media (min-width:760px){
  /* Startseite: „Was“ bekommt eine eigene Zeile, damit mehrere Begriffe Platz haben */
  .kg-sb--hero{grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr) auto;border-radius:32px}
  .kg-sb--hero .kg-sb__f--what{grid-column:1 / -1;margin-bottom:5px;padding-top:8px;padding-bottom:8px}
  .kg-sb--hero .kg-sb__f--what::after{content:'';position:absolute;left:18px;right:18px;bottom:-3px;border-bottom:1px solid var(--line)}
  .kg-sb--hero .kg-sb__f--what:focus-within::after,.kg-sb--hero .kg-sb__f--where::before{display:none}
}
@media (max-width:759px){
  .kg-sb{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);border-radius:30px}
  .kg-sb--hero{margin-top:22px}
  .kg-sb__f{padding:8px 12px 8px 16px;border-radius:22px}
  .kg-sb__f--what,.kg-sb__f--where{grid-column:1 / -1}
  .kg-sb__f + .kg-sb__f::before{display:none}
  .kg-sb__f--where,.kg-sb__f--radius{margin-top:4px}
  .kg-sb__f--where::after,.kg-sb__f--radius::after{content:'';position:absolute;left:14px;right:14px;top:-3px;border-top:1px solid var(--line)}
  .kg-sb__f--radius::after{right:0}
  .kg-sb__go{align-self:stretch;margin:8px 0 0 8px;padding:0 18px}
  .kg-ms__pop{width:100%}
  .kg-ms__list{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Filter mit Mehrfachauswahl ---------- */
.kg-fbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin:0 0 24px}
.kg-picks{position:relative;display:flex;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:0;border:0}
.kg-pick{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 15px;border:1px solid var(--line-2);border-radius:999px;background:rgba(255,255,255,.78);color:var(--ink);font:600 14px/1 var(--body);white-space:nowrap;cursor:pointer}
.kg-pick:hover{background:#fff}
.kg-pick .ic{flex:none;width:17px;height:17px;color:var(--blue-2)}
.kg-pick.is-on{background:var(--blue);border-color:var(--blue);color:#fff}
.kg-pick.is-on .ic{color:#fff}
.kg-pick.is-on::after{content:'';width:10px;height:6px;margin:-3px 0 0 2px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg)}
.kg-fbar__sel{display:flex;flex:1 1 100%;flex-wrap:wrap;gap:10px;min-width:0}
.kg-fbar__sel .filter__select{flex:0 1 210px}
.b-filter .kg-picks{margin-top:12px}
@media (max-width:759px){
  .kg-fbar > .kg-picks{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .kg-fbar > .kg-picks::-webkit-scrollbar{display:none}
  .kg-pick{flex:none;min-height:44px}
  .kg-fbar__sel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
}

/* ---------- Startseite: Kärtchen mit Branchen-Symbol und Männchen ---------- */
.kg-float__cat{display:flex;align-items:center;gap:6px}
.kg-float__cat .ic{flex:none;width:15px;height:15px}
.kg-float__ppl{margin-top:6px;font-size:12.5px}
.kg-float__ppl .kg-ppl__figs svg{width:9px;height:13px}

/* ---------- Symbole an den Hauptpunkten der Glas-Leiste ---------- */
.kg-nav__ic{flex:none;width:18px;height:18px;color:var(--blue-2)}
.kg-nav__item.is-on .kg-nav__ic{color:#fff}
