/* swissbutler Bewerber-Bot – Farben und Schriften nach swissbutler.ch */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');
:root {
  --green: #273B35; --green-2: #3A5149; --green-soft: #E6EEEA; --green-ink: #1E4D36;
  --gold-ink: #6B4E00; --gold-soft: #F5E8C8; --red-ink: #8A2A1E; --red-soft: #F6E1DE;
  --bg: #FCFBF8; --panel: #F0F2F1; --line: #E2E0D8; --line-2: #D5D2C8;
  --ink: #1F2B27; --muted: #4A5853;
  --serif: 'EB Garamond', Georgia, serif; --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; }
a { color: #7A6420; } a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #B59630; outline-offset: 2px; }
.logo { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green); }
h1, h2 { font-family: var(--serif); color: var(--green); font-weight: 600; }

/* ---------- Bewerber (Handy zuerst) ---------- */
.bw-wrap { max-width: 480px; margin: 0 auto; padding: 20px 22px 40px; }
.bw-top { display: flex; justify-content: space-between; align-items: center; }
.bw-step { font-size: 13px; color: var(--muted); margin-top: 14px; }
.bw-bar { display: flex; gap: 6px; margin-top: 8px; }
.bw-bar span { flex: 1; height: 4px; border-radius: 2px; background: #DAD8D0; }
.bw-bar span.on { background: var(--green); }
.bw h1 { font-size: 28px; line-height: 1.15; margin: 20px 0 8px; }
.bw h2 { font-size: 20px; margin: 26px 0 10px; }
.lead { color: var(--muted); margin: 0 0 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
legend small { font-weight: 400; color: var(--muted); }
.bw-opts { display: grid; gap: 8px; }
.bw-opts.c1 { grid-template-columns: 1fr; }
.bw-opts.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bw-opts.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bw-opts.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.bw-opt { position: relative; }
.bw-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bw-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 10px; text-align: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; }
.c1 .bw-opt span { justify-content: flex-start; padding: 0 16px; }
.bw-opt input:checked + span { border: 2px solid var(--green); background: var(--green-soft); font-weight: 500; }
.c6 .bw-opt input:checked + span { background: var(--green); color: #fff; }
.bw-opt input:focus-visible + span { outline: 3px solid #B59630; outline-offset: 2px; }
.bw-btn { width: 100%; height: 52px; margin-top: 8px; border: 0; border-radius: 12px; background: var(--green); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.bw-btn:hover { background: var(--green-2); }
.bw-center { text-align: center; font-size: 13px; margin-top: 14px; line-height: 2.6; }
.bw-err { background: var(--red-soft); color: var(--red-ink); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.bw-doc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 10px; border: 1px dashed #A8A496; border-radius: 12px; background: #fff; }
.bw-doc.done { border: 1px solid #BFD3C8; background: var(--green-soft); }
.bw-doc-txt { flex: 1; display: flex; flex-direction: column; }
.bw-doc-txt span { font-size: 13px; color: var(--muted); }
.bw-file { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--green);
  border-radius: 10px; background: #fff; color: var(--green); font-weight: 500; cursor: pointer; overflow: hidden; }
.bw-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bw-next { padding-left: 20px; margin: 0 0 18px; } .bw-next li { margin-bottom: 8px; }

/* ---------- Team ---------- */
.ad-head { background: var(--green); color: #fff; }
.ad-head-in { max-width: 1440px; margin: 0 auto; padding: 0 32px; min-height: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.ad-head .logo { color: #fff; }
.ad-head .sub { color: #D8E2DD; font-size: 14px; margin-left: 10px; }
.ad-nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.ad-nav a { color: #D8E2DD; text-decoration: none; padding: 0 14px; line-height: 40px; border-radius: 8px; font-size: 14px; }
.ad-nav a.on { color: #fff; background: var(--green-2); font-weight: 500; }
.ad-user { color: #D8E2DD; font-size: 13px; } .ad-user a { color: #fff; }
.ad-main { max-width: 1440px; margin: 0 auto; padding: 28px 32px 48px; }
.ad-main h1 { font-size: 32px; margin: 0; }
.ad-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.ad-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.ad-filter label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
input[type=text], input[type=password], select, textarea { height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; padding: 0 12px; color: var(--ink); }
textarea { height: 80px; padding: 10px 12px; width: 100%; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--green); background: #fff;
  color: var(--green); font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--green); color: #fff; } .btn.primary:hover { background: var(--green-2); }
.btn.danger { border-color: var(--line-2); color: var(--red-ink); }
.ad-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.kpi.dark { background: var(--green); border-color: var(--green); color: #fff; }
.kpi .k { font-size: 13px; color: var(--muted); } .kpi.dark .k { color: #D8E2DD; }
.kpi .v { font-size: 30px; font-weight: 600; margin-top: 2px; }
.board-scroll { overflow-x: auto; padding-bottom: 8px; }
.board { display: grid; grid-template-columns: repeat(7, minmax(190px, 1fr)); gap: 12px; min-width: 1400px; }
.col { background: var(--panel); border-radius: 12px; padding: 12px; min-height: 420px; }
.col-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; padding: 2px 4px; }
.col-h .n { background: #fff; border-radius: 10px; padding: 1px 8px; font-size: 12px; color: var(--muted); }
.col-hint { font-size: 12px; color: var(--muted); padding: 4px 4px 10px; }
.card { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.card:hover { border-color: var(--green); color: var(--ink); }
.card-top { display: flex; justify-content: space-between; gap: 8px; }
.card .name { font-weight: 600; font-size: 14px; } .card .ort { font-size: 12px; color: var(--muted); }
.card .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.score { font-size: 13px; font-weight: 600; border-radius: 8px; padding: 2px 8px; height: fit-content; }
.score.hi { background: #DCEBE2; color: var(--green-ink); } .score.lo { background: var(--gold-soft); color: var(--gold-ink); }
.tag { display: block; margin-top: 8px; font-size: 12px; font-weight: 500; border-radius: 6px; padding: 4px 8px; background: var(--panel); color: var(--muted); }
.tag.ok { background: var(--green-soft); color: var(--green-ink); } .tag.warn { background: var(--gold-soft); color: var(--gold-ink); } .tag.bad { background: var(--red-soft); color: var(--red-ink); }
.empty { font-size: 13px; color: var(--muted); padding: 8px 4px; }
.badge { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 4px 10px; background: var(--panel); color: var(--muted); }
.badge.hoch { background: #DCEBE2; color: var(--green-ink); } .badge.tief { background: var(--gold-soft); color: var(--gold-ink); } .badge.ko_pruefen, .badge.abgesagt { background: var(--red-soft); color: var(--red-ink); }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.split .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split .side { flex: 1 1 360px; min-width: 0; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.box h2 { font-family: var(--sans); color: var(--ink); font-size: 17px; margin: 0 0 14px; }
.sc-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 70px; gap: 14px; align-items: center; margin-bottom: 12px; }
.sc-row small { display: block; color: var(--muted); font-size: 12px; }
.sc-bar { height: 10px; border-radius: 5px; background: #ECEAE3; } .sc-bar i { display: block; height: 10px; border-radius: 5px; background: var(--green); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.facts .k { font-size: 12px; color: var(--muted); }
.tl-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
.tl-dot { display: flex; flex-direction: column; align-items: center; }
.tl-dot i { width: 10px; height: 10px; border-radius: 5px; margin-top: 5px; background: #A8A496; } .tl-dot i.bot { background: var(--green); }
.tl-dot b { width: 2px; flex: 1; background: var(--line); min-height: 26px; }
.tl-txt { padding-bottom: 14px; } .tl-txt .w { font-size: 12px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; } .actions form { margin: 0; }
.flash { background: var(--green-soft); color: var(--green-ink); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.login { max-width: 360px; margin: 12vh auto; padding: 0 22px; }
.login form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
@media (max-width: 640px) { .sc-row { grid-template-columns: 1fr 60px; } .sc-row .sc-bar { grid-column: 1 / -1; grid-row: 2; } .facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
