/* GEORGE – Designsystem
   Idee: Kaufgesuche statt Anzeigen. Das prägende Element ist das gelbe Preisschild des Käufers
   (der Käufer nennt den Preis). Alles andere bleibt ruhig: kühles Papierweiß, Tintenblau, klare Typografie. */
:root {
  --ink: #15224f;
  --cobalt: #2747d6;
  --cobalt-dark: #1c36a8;
  --tag: #ffc93c;
  --tag-edge: #e6a800;
  --paper: #f5f6f9;
  --white: #ffffff;
  --line: #d9dde7;
  --text: #1e2433;
  --muted: #5b6478;
  --ok: #13795b;
  --ok-bg: #e3f4ec;
  --warn: #8a5600;
  --warn-bg: #fff3d6;
  --bad: #b42318;
  --bad-bg: #fde8e6;
  --info-bg: #e8edff;
  --radius-s: 6px;
  --radius-m: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.44rem;
  --step-3: 1.95rem;
  --step-4: clamp(2.1rem, 4.6vw, 3.4rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.55; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--cobalt); text-underline-offset: 2px; }
a:hover { color: var(--cobalt-dark); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.5em; }
h1 { font-size: var(--step-3); font-weight: 800; }
h2 { font-size: var(--step-1); font-weight: 750; margin-top: 1.4em; }
h3 { font-size: var(--step-0); font-weight: 700; }
p { margin: 0 0 0.9em; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.prose { white-space: pre-line; max-width: 70ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
code { font-size: .9em; background: #eceff5; padding: .1em .35em; border-radius: 4px; word-break: break-all; }
mark.todo { background: var(--bad-bg); color: var(--bad); padding: 0 .3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.wrap-wide { width: min(1200px, 100% - 2rem); }
main.wrap { padding-block: 1.5rem 4rem; min-height: 60vh; }
.narrow { max-width: 760px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 850; font-size: 1.25rem; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.logo-mark { width: 22px; height: 22px; background: var(--tag); border: 2px solid var(--ink); border-radius: 4px 4px 4px 12px; position: relative; }
.logo-mark::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); left: 4px; bottom: 4px; }
.main-nav { display: flex; gap: 1.1rem; flex-wrap: nowrap; white-space: nowrap; }
.header-actions, .icon-link, .btn { white-space: nowrap; }
.main-nav a, .icon-link { color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; }
.main-nav a:hover, .icon-link:hover { color: var(--cobalt); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.pill { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: .75rem; text-align: center; font-weight: 700; line-height: 1.4; }
.menu { position: relative; }
.menu summary { cursor: pointer; list-style: none; font-weight: 600; padding: .3rem .5rem; border-radius: var(--radius-s); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: " ▾"; color: var(--muted); }
.menu-panel { position: absolute; right: 0; top: calc(100% + .4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 12px 30px rgba(21, 34, 79, .14); min-width: 240px; padding: .4rem; display: grid; }
.menu-panel a, .menu-panel .linklike { padding: .5rem .7rem; border-radius: var(--radius-s); color: var(--text); text-decoration: none; text-align: left; }
.menu-panel a:hover, .menu-panel .linklike:hover { background: var(--paper); }
.menu-switch { padding: .5rem .7rem; display: grid; gap: .3rem; font-size: .9rem; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; font-weight: 650; padding: .35rem .6rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); color: var(--ink); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav .menu-panel { left: 0; right: auto; }
.verify-banner { background: var(--warn-bg); color: var(--warn); padding: .6rem 0; font-size: .95rem; }
.demo-banner { background: var(--ink); color: #fff; text-align: center; font-size: .85rem; padding: .3rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font: inherit; font-weight: 650; padding: .62rem 1.05rem; border-radius: var(--radius-s); border: 1.5px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; line-height: 1.2; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); border-color: var(--cobalt-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0e1739; color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--cobalt); }
.btn-ghost:hover { background: var(--info-bg); color: var(--cobalt-dark); }
.btn-danger { border-color: var(--bad); color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); color: var(--bad); }
.btn-small { padding: .4rem .75rem; font-size: .9rem; }
.btn-large { padding: .85rem 1.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; margin-bottom: .5rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--cobalt); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
form.inline { display: inline; }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }

/* ---------- Preisschild: das prägende Element ---------- */
.tag { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: flex-start; flex: none;
  background: var(--tag); color: var(--ink); padding: .45rem .9rem .45rem 1.55rem; border-radius: 3px 6px 6px 3px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); font-variant-numeric: tabular-nums; min-height: 2.6rem; }
.tag::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--tag-edge); }
.tag-amount { font-weight: 800; font-size: 1.02rem; white-space: nowrap; letter-spacing: -.01em; }
.tag-note { font-size: .72rem; font-weight: 650; opacity: .8; }
.tag-large { padding: .7rem 1.3rem .7rem 2rem; clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%); }
.tag-large::before { left: 15px; width: 10px; height: 10px; margin-top: -5px; }
.tag-large .tag-amount { font-size: 1.5rem; }

/* ---------- Hero / Composer ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; padding: 2.5rem 0 3rem; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; letter-spacing: -.03em; margin-bottom: .6em; }
.composer { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 1.25rem 1.25rem 1rem; box-shadow: 8px 8px 0 var(--ink); }
.composer-label { display: block; font-size: var(--step-2); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.composer textarea { width: 100%; border: 0; border-bottom: 2px dashed var(--line); resize: vertical; font: inherit; font-size: var(--step-1); padding: .4rem 0 .6rem; color: var(--text); background: transparent; min-height: 3.2rem; }
.composer textarea:focus { outline: none; border-bottom-color: var(--cobalt); }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; flex-wrap: wrap; }
.composer-foot p { margin: 0; }
.examples { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.chip { font-size: .85rem; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; color: var(--text); text-decoration: none; background: var(--paper); }
.chip:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* ---------- Gesuchslisten ---------- */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-head h2 { margin-top: 0; }
.req-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.req-row { border-bottom: 1px solid var(--line); }
.req-link { display: flex; gap: 1.25rem; justify-content: space-between; align-items: flex-start; padding: 1rem .25rem; color: inherit; text-decoration: none; }
.req-link:hover .req-title { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.req-main { min-width: 0; }
.req-cat { margin: 0 0 .15rem; font-size: .82rem; color: var(--muted); font-weight: 600; }
.req-title { font-size: 1.08rem; margin: 0 0 .3rem; }
.req-facts { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .35rem; }
.req-facts span { font-size: .82rem; background: var(--info-bg); color: var(--ink); padding: .08rem .5rem; border-radius: 4px; }
.req-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; font-size: .85rem; color: var(--muted); align-items: center; }
.badge { display: inline-block; font-size: .75rem; font-weight: 650; padding: .05rem .5rem; border-radius: 4px; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.badge-ok { border-color: #a7d8c3; background: var(--ok-bg); color: var(--ok); }
.badge-warn { border-color: #f1d08a; background: var(--warn-bg); color: var(--warn); }
.badge-demo { background: var(--ink); color: #fff; border-color: var(--ink); }

.seller-box { background: var(--ink); color: #e9ecf8; padding: 1.5rem; border-radius: var(--radius-m); }
.seller-box h2 { color: #fff; margin-top: 0; }
.seller-box .btn-dark { background: var(--tag); color: var(--ink); border-color: var(--tag); }
.seller-box .btn-dark:hover { background: #ffd666; }
.vertical-links { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .1rem; }
.vertical-links a { display: grid; gap: .1rem; color: #fff; text-decoration: none; padding: .7rem 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.vertical-links a span { color: #b9c1dd; font-size: .9rem; }
.vertical-links a:hover strong { text-decoration: underline; }

.steps { margin-top: 3.5rem; }
.steps ol { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: .9rem; }
.steps li::before { content: counter(s); font-weight: 850; font-size: 1.6rem; color: var(--cobalt); display: block; margin-bottom: .2rem; }
.cats { margin-top: 3rem; }
.cat-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .1rem 1.5rem; }
.cat-grid a { display: grid; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.cat-grid a span { color: var(--muted); font-size: .88rem; }
.cat-grid a:hover strong { color: var(--cobalt); }
.transparency { margin-top: 3rem; color: var(--muted); font-size: .9rem; border-left: 3px solid var(--tag); padding-left: .8rem; }

/* ---------- Feed ---------- */
.page-head { margin: .5rem 0 1.2rem; }
.split-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.feed { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; display: grid; gap: .2rem; position: sticky; top: 80px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-m); padding: 2rem; text-align: left; }
.empty h2 { margin-top: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }

/* ---------- Gesuchdetail ---------- */
.req-detail-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; padding-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.req-detail-head h1 { font-size: var(--step-3); max-width: 24ch; }
.req-detail-body { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; margin-top: 1.5rem; }
.req-detail-body h2:first-child { margin-top: 0; }
.facts { margin: 0; display: grid; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 550; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem; margin-bottom: 1rem; }
.side-title { font-weight: 750; color: var(--ink); margin-bottom: .4rem; }
.req-side .btn-block { margin-bottom: .6rem; }
details > summary { cursor: pointer; color: var(--cobalt); font-weight: 600; }
.report { margin-top: 1rem; font-size: .9rem; }
.report summary { color: var(--muted); font-weight: 500; }
.danger { margin-top: 2rem; }
.danger summary { color: var(--bad); }

/* ---------- Formulare ---------- */
.stack { display: grid; gap: .25rem; }
.stack-inline { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end; }
.stack-inline .field { flex: 1 1 200px; }
.form-section { border: 0; border-top: 1px solid var(--line); padding: 1rem 0 .4rem; margin: 0; }
.form-section legend, fieldset.form-section > h2 { font-weight: 750; color: var(--ink); font-size: var(--step-1); padding: 0 .5rem 0 0; }
.field { display: grid; gap: .25rem; margin-bottom: .75rem; }
.field label, .field legend { font-weight: 600; font-size: .93rem; }
.req { color: var(--bad); }
.hint { margin: 0; font-size: .84rem; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input:not([type]), input[inputmode], select, textarea {
  font: inherit; width: 100%; padding: .58rem .7rem; border: 1.5px solid #b8bfd0; border-radius: var(--radius-s); background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: 3px solid rgba(39, 71, 214, .2); outline-offset: 0; }
input[type=file] { font: inherit; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .87rem; margin: 0; font-weight: 600; }
.form-error { background: var(--bad-bg); color: var(--bad); padding: .7rem .9rem; border-radius: var(--radius-s); font-weight: 600; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: .2rem .55rem; }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cobalt); }
.check label { font-weight: 500; }
.check .hint, .check .field-error { grid-column: 2; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 0 1rem; align-items: end; }
.row2 { align-items: end; }
.attr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 1rem; }
.range { border: 0; padding: 0; margin: 0 0 .75rem; }
.range legend { font-weight: 600; font-size: .93rem; margin-bottom: .25rem; padding: 0; }
.range-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; color: var(--muted); }
.strict { display: flex; gap: .35rem; align-items: center; font-size: .82rem; color: var(--muted); margin: -.45rem 0 .75rem; }
.segmented { border: 0; padding: 0; margin: 0 0 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.segmented legend { font-weight: 600; margin-bottom: .4rem; }
.segmented label { border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: .5rem .9rem; cursor: pointer; background: #fff; }
.segmented label:has(input:checked) { border-color: var(--cobalt); background: var(--info-bg); }
[data-hidden] { display: none; }
.form-actions { margin-top: 1rem; }
.assistant-note { background: var(--info-bg); border-left: 4px solid var(--cobalt); padding: .7rem .9rem; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.assistant-note p { margin: 0; }
.notice { background: var(--warn-bg); color: #5c3b00; padding: .7rem .9rem; border-radius: var(--radius-s); }
.notice-bad { background: var(--bad-bg); color: var(--bad); }
.flashes { margin-top: 1rem; }
.flash { padding: .7rem 1rem; border-radius: var(--radius-s); margin: 0 0 .5rem; font-weight: 550; }
.flash-success { background: var(--ok-bg); color: var(--ok); }
.flash-error { background: var(--bad-bg); color: var(--bad); }
.flash-info { background: var(--info-bg); color: var(--ink); }

.auth { max-width: 440px; margin: 2rem auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.6rem; }
.auth-wide { max-width: 560px; }
.secret code { font-size: 1.15rem; letter-spacing: .08em; }

/* ---------- Status ---------- */
.status { display: inline-block; font-size: .78rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; }
.status-ok { background: var(--ok-bg); color: var(--ok); }
.status-info { background: var(--info-bg); color: var(--cobalt-dark); }
.status-warn { background: var(--warn-bg); color: var(--warn); }
.status-bad { background: var(--bad-bg); color: var(--bad); }
.status-muted { background: #eceff5; color: var(--muted); }
.tier { display: inline-block; font-size: .8rem; font-weight: 750; padding: .1rem .55rem; border-radius: 4px; }
.tier-very_good { background: var(--ok); color: #fff; }
.tier-good { background: var(--ok-bg); color: var(--ok); }
.tier-partial { background: var(--warn-bg); color: var(--warn); }
.warn-text { color: var(--warn); }

/* ---------- Matches ---------- */
.match-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.match { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: var(--radius-s); padding: 1rem 1.1rem; }
.match-head { display: flex; gap: .7rem; align-items: center; margin-bottom: .35rem; }
.match-title { font-weight: 750; font-size: 1.08rem; color: var(--ink); }
.match-why { margin: .5rem 0; }
.match-why p { margin: 0 0 .2rem; }
.match-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.preview-result { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-m); padding: 1.2rem; margin-bottom: 1.5rem; box-shadow: 6px 6px 0 var(--tag); }
.preview-count { font-size: var(--step-2); margin-bottom: .3rem; color: var(--ink); }
.partner-box { margin-top: 2rem; }

/* ---------- Dashboard ---------- */
.dash-nav { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; padding-bottom: .5rem; }
.dash-nav a { padding: .35rem .7rem; border-radius: var(--radius-s); text-decoration: none; color: var(--text); font-weight: 550; font-size: .93rem; }
.dash-nav a:hover { background: #fff; }
.dash-nav a[aria-current=page] { background: var(--ink); color: #fff; }
.overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; margin-bottom: 1.5rem; }
.ov { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; text-decoration: none; color: var(--muted); display: grid; gap: .1rem; font-size: .9rem; }
.ov:hover { border-color: var(--cobalt); }
.ov-n { font-size: 1.8rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: #eef0f6; font-weight: 650; color: var(--ink); font-size: .88rem; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.offer-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: .75rem 1rem; text-decoration: none; color: var(--text); }
.offer-row:hover { border-color: var(--cobalt); }
.offer-amount { font-weight: 800; color: var(--ink); font-size: 1.1rem; font-variant-numeric: tabular-nums; min-width: 8rem; }
.offer-context { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; margin-bottom: 1.2rem; }
.offer-context h2 { margin: 0 0 .3rem; }
.note-list { list-style: none; padding: 0; margin: 0; }
.note-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.note-list li.unread { font-weight: 650; }
.note-list li.unread::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--cobalt); border-radius: 50%; margin-right: .5rem; vertical-align: middle; }
.close-box { margin-top: 2rem; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; margin: 1rem 0; }
.thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); }
.lead-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.report-card blockquote { margin: .5rem 0; padding: .6rem .8rem; background: var(--paper); border-left: 3px solid var(--line); white-space: pre-line; }

/* ---------- Nachrichten ---------- */
.conv-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); }
.conv-list a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.conv-list a.unread .conv-title { font-weight: 800; }
.conv-title { font-weight: 650; color: var(--ink); }
.conv-meta, .conv-last { color: var(--muted); font-size: .88rem; grid-column: 1; }
.conv-time { grid-column: 2; grid-row: 1; color: var(--muted); font-size: .85rem; }
.conv-layout { display: grid; grid-template-columns: 1fr 300px; gap: 0 2rem; }
.conv-layout > .dash-nav, .conv-layout > .page-head { grid-column: 1 / -1; }
.chat { list-style: none; padding: 1rem; margin: 0 0 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); display: grid; gap: .6rem; max-height: 60vh; overflow-y: auto; }
.chat li { max-width: 78%; padding: .6rem .85rem; border-radius: 12px; }
.chat li p { margin: 0; white-space: pre-line; }
.chat .mine { justify-self: end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 3px; }
.chat .theirs { justify-self: start; background: #eef0f6; border-bottom-left-radius: 3px; }
.chat .system { justify-self: center; color: var(--muted); }
.chat-time { display: block; font-size: .72rem; opacity: .75; margin-top: .2rem; }
.msg-report { font-size: .75rem; }
.msg-report summary { color: var(--muted); font-weight: 500; }
.chat-form { display: grid; gap: .5rem; }

/* ---------- B2B / Vertikalen ---------- */
.b2b-hero, .vertical-hero { padding: 2rem 0 1.5rem; max-width: 760px; }
.b2b-hero h1, .vertical-hero h1 { font-size: var(--step-4); letter-spacing: -.03em; line-height: 1.05; }
.b2b-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; margin: 2rem 0; }
.b2b-grid h2 { margin-top: 0; }
.vertical-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.vertical-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.2rem; position: sticky; top: 80px; }
.mini-steps { padding-left: 1.2rem; }
.mini-steps li { margin-bottom: .5rem; }

/* ---------- Rechtliches / Fehler ---------- */
.legal { max-width: 75ch; background: #fff; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-m); }
.legal ul { padding-left: 1.2rem; }
.error-page { padding: 3rem 0; max-width: 60ch; }
.error-code { font-size: 4rem; font-weight: 900; color: var(--tag-edge); margin: 0; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c5cbe3; padding: 2.5rem 0 1.5rem; margin-top: 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid nav { display: grid; gap: .35rem; align-content: start; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand { font-weight: 850; letter-spacing: .04em; color: #fff; font-size: 1.1rem; }
.footer-h { color: #fff; font-weight: 700; margin-bottom: .3rem; }
.site-footer .muted { color: #9aa3c4; }
.footer-base { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) { .is-auth .main-nav .nav-extra { display: none; } }
@media (max-width: 960px) {
  .hero, .split, .feed, .req-detail-body, .two-col, .vertical-grid, .conv-layout { grid-template-columns: 1fr; }
  .filters, .vertical-aside { position: static; }
  .steps ol { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .header-row { gap: .8rem; }
}
@media (max-width: 600px) {
  .header-actions .icon-link { display: none; }
  .header-actions { gap: .5rem; }
  .row2, .row3, .b2b-grid { grid-template-columns: 1fr; }
  .req-link { flex-direction: column; gap: .6rem; }
  .composer { box-shadow: 5px 5px 0 var(--ink); }
  .facts div { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .table { display: block; overflow-x: auto; }
  .chat li { max-width: 92%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
.side-card > h2:first-child, .side-card > p:first-child { margin-top: 0; }

.filters-wrap > summary { display: none; }
@media (max-width: 960px) {
  .filters-wrap > summary { display: block; padding: .7rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: .5rem; }
  .filters-wrap[open] > summary { border-radius: var(--radius-m) var(--radius-m) 0 0; margin-bottom: 0; }
}
@media (min-width: 961px) { .filters-wrap { position: sticky; top: 80px; } .filters-wrap .filters { position: static; } }

.hero h1.claim { text-transform: none; }
.claim-sub { display: block; font-size: .5em; font-weight: 700; letter-spacing: -.01em; color: var(--cobalt); margin-top: .35em; line-height: 1.15; }
.footer-claim { color: #fff; font-weight: 650; }
.claim-line { display: block; white-space: nowrap; }

/* ---------- Verkäufervorteile ---------- */
.seller-why { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; align-items: start; }
.seller-why h2 { font-size: var(--step-2); margin-top: 0; }
.compare { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-m); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 8.5rem 1fr 1fr; border-top: 1px solid var(--line); }
.compare-row > span { padding: .65rem .85rem; font-size: .93rem; }
.compare-head { border-top: 0; background: var(--ink); color: #fff; font-weight: 700; }
.compare-head > span:last-child { background: var(--tag); color: var(--ink); }
.compare-k { font-weight: 700; color: var(--ink); }
.compare-old { color: var(--muted); }
.compare-new { background: #fffaf0; font-weight: 600; color: var(--ink); border-left: 1px solid var(--line); }
.benefits { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.benefits li { display: grid; align-content: start; gap: .15rem; padding-left: .9rem; border-left: 3px solid var(--tag); }
.benefits strong { color: var(--ink); }
.benefits span { color: var(--muted); font-size: .93rem; }
.mini-benefits { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.mini-benefits li { margin-bottom: .35rem; }
@media (max-width: 960px) { .seller-why { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .benefits { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr 1fr; }
  .compare-row .compare-k { grid-column: 1 / -1; padding-bottom: 0; }
  .compare-head > span:first-child { display: none; }
}

/* ---------- Käufer mit kleinerem Budget ---------- */
.gap-section { margin-top: 2.5rem; }
.match-gap { border-left-color: var(--tag-edge); }
.tier-gap { background: var(--warn-bg); color: var(--warn); }
.gap-box { background: #fffaf0; border: 1px dashed #f1d08a; border-radius: var(--radius-s); padding: .55rem .75rem; margin: .55rem 0; }
.gap-box p { margin: 0 0 .2rem; }
.gap-actions { display: inline-flex; gap: .5rem; flex-wrap: wrap; }
.gap-figures { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: 0 0 .35rem; }
.gap-figures dt { font-size: .78rem; color: var(--muted); }
.gap-figures dd { margin: 0; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Einheitlicher Einstieg ---------- */
.mode-switch { border: 0; padding: 0; margin: 0 0 .8rem; display: inline-flex; background: var(--paper); border-radius: 999px; padding: .2rem; }
.mode-switch label { padding: .4rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 650; color: var(--muted); }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch label:has(input:checked) { background: var(--ink); color: #fff; }
.mode-switch label:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.composer.is-sell { box-shadow: 8px 8px 0 var(--tag); }
.composer-note { margin: .8rem 0 0; }
.composer-inline { margin-bottom: 2rem; }
.vertical-links li > strong { display: block; color: #fff; padding-top: .7rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.vertical-links li > span { display: block; color: #b9c1dd; font-size: .9rem; padding-bottom: .7rem; }

/* =====================================================================
   Theme v2 – freundlich & clean (Kleinanzeigen-Feeling), Grün oder Orange
   ===================================================================== */
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-medium.woff") format("woff"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-bold.woff") format("woff"); font-weight: 700 900; font-display: swap; }
:root, [data-theme="green"] {
  --primary: #12a150; --primary-dark: #0b7a3b; --primary-soft: #e8f7ee; --primary-softer: #f3fbf6;
  --accent: #ffb020; --accent-edge: #e08e00; --accent-soft: #fff4dc;
}
[data-theme="orange"] {
  --primary: #f26b1d; --primary-dark: #c9520f; --primary-soft: #fff0e6; --primary-softer: #fff8f3;
  --accent: #ffd23f; --accent-edge: #e0b000; --accent-soft: #fffbe6;
}
:root {
  --ink: #1e2a24; --text: #27302c; --muted: #66706b; --line: #e3e7e4; --paper: #f5f7f6;
  --cobalt: var(--primary); --cobalt-dark: var(--primary-dark); --info-bg: var(--primary-soft);
  --tag: var(--accent); --tag-edge: var(--accent-edge);
  --radius-s: 10px; --radius-m: 16px; --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(20, 40, 30, .06), 0 1px 3px rgba(20, 40, 30, .06);
  --shadow-m: 0 6px 20px rgba(20, 40, 30, .08);
  --display: "Poppins", var(--font);
}
[data-theme="orange"] { --ink: #2a221d; --text: #2f2925; --muted: #6f6660; --line: #ebe5e1; --paper: #f8f6f4; }
body { background: #fff; }
main.wrap { padding-top: 1.25rem; }
h1, h2, h3, .logo, .btn, .composer-label, .ov-n, .tag-amount, .footer-brand, .offer-amount, .preview-count { font-family: var(--display); }
h1 { font-weight: 700; letter-spacing: -.02em; }
h2 { font-weight: 600; letter-spacing: -.01em; }
h3 { font-weight: 600; }

/* Header */
.site-header { border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 2px 10px rgba(20, 40, 30, .04); }
.logo { color: var(--ink); font-weight: 700; letter-spacing: .01em; }
.logo-mark { background: var(--primary); border: 0; border-radius: 7px 7px 7px 13px; width: 26px; height: 26px; }
.logo-mark::after { background: #fff; left: 6px; bottom: 6px; width: 6px; height: 6px; }
.main-nav a, .icon-link { font-weight: 500; }
.main-nav a:hover, .icon-link:hover { color: var(--primary-dark); }
.pill { background: var(--accent); color: var(--ink); }
.menu summary { color: var(--ink); }

/* Buttons: rund, freundlich */
.btn { border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; padding: .62rem 1.2rem; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: #c9d0cc; background: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 2px 0 var(--primary-dark); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { border-color: transparent; color: var(--primary-dark); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary-dark); border-color: transparent; }
.btn-danger { border-color: #f0c4c0; }
a { color: var(--primary-dark); }
a:hover { color: var(--primary); }
:focus-visible { outline-color: var(--primary); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input:not([type]), input[inputmode], select, textarea { border: 1.5px solid #d3d9d5; border-radius: 10px; }
.check input, .strict input { accent-color: var(--primary); }

/* Preisschild bleibt das Erkennungszeichen – jetzt in der Akzentfarbe */
.tag { color: var(--ink); }

/* Hero: freundliche Fläche */
.hero { background: linear-gradient(135deg, var(--primary-soft), var(--primary-softer) 60%, #fff); border-radius: var(--radius-l); padding: 2.6rem 2.6rem 2.8rem; margin-top: .5rem; gap: 2.5rem; }
.hero h1 { color: var(--ink); }
.claim-sub { color: var(--primary-dark); font-family: var(--display); font-weight: 600; }
.composer { border: 0; border-radius: var(--radius-m); box-shadow: var(--shadow-m); padding: 1.4rem; }
.composer.is-sell { box-shadow: var(--shadow-m), 0 0 0 3px var(--accent) inset; }
.composer-label { font-weight: 700; }
.composer textarea { border: 1.5px solid #d3d9d5; border-radius: 12px; padding: .7rem .85rem; margin-top: .5rem; font-size: 1.1rem; }
.composer textarea:focus { border-color: var(--primary); outline: 3px solid color-mix(in srgb, var(--primary) 22%, transparent); }
.mode-switch { background: var(--paper); }
.mode-switch label:has(input:checked) { background: var(--primary); color: #fff; box-shadow: 0 2px 6px color-mix(in srgb, var(--primary) 35%, transparent); }
.is-sell .mode-switch label:has(input:checked) { background: var(--accent); color: var(--ink); }
.chip { background: #fff; border-color: var(--line); }
.chip:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-softer); }

/* Kategorien als Kacheln mit Icon */
.cats { margin-top: 2.2rem; }
.cats h2 { margin-top: 0; }
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.cat-grid a { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem .9rem; background: #fff; display: grid; gap: .25rem; justify-items: start; transition: box-shadow .15s, border-color .15s, transform .15s; }
.cat-grid a:hover { border-color: var(--primary); box-shadow: var(--shadow-m); transform: translateY(-2px); }
.cat-grid a:hover strong { color: var(--primary-dark); }
.cat-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); margin-bottom: .35rem; }
.cat-grid li:nth-child(even) .cat-icon { background: var(--accent-soft); color: #8a5a00; }
.cat-icon .icon { width: 26px; height: 26px; }
.cat-grid strong { font-family: var(--display); font-weight: 600; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.cat-sub { color: var(--muted); font-size: .8rem; line-height: 1.35; }

/* Gesuchsliste: helle Karten */
.split { margin-top: 2.5rem; }
.req-list { border-top: 0; display: grid; gap: .7rem; }
.req-row { border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; transition: box-shadow .15s, border-color .15s; }
.req-row:hover { border-color: #cdd5d0; box-shadow: var(--shadow-m); }
.req-link { padding: 1rem 1.1rem; }
.req-link:hover .req-title { color: var(--primary-dark); text-decoration: none; }
.req-title { font-family: var(--display); font-weight: 600; }
.req-facts span { background: var(--paper); color: var(--text); border-radius: 999px; padding: .1rem .6rem; }
.badge { border-radius: 999px; }
.badge-ok { background: var(--primary-soft); color: var(--primary-dark); border-color: transparent; }
.badge-demo { background: var(--ink); }

/* Verkäufer-Box: warm statt dunkel */
.seller-box { background: var(--accent-soft); color: var(--text); border-radius: var(--radius-l); }
.seller-box h2 { color: var(--ink); }
.seller-box .btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.seller-box .btn-dark:hover { background: #000; }
.vertical-links a, .vertical-links li > strong { color: var(--ink); border-top-color: rgba(0, 0, 0, .08); }
.vertical-links a span, .vertical-links li > span { color: var(--muted); }

.steps li { border-top: 0; background: var(--paper); border-radius: var(--radius-m); padding: 1.2rem; }
.steps li::before { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 1.05rem; margin-bottom: .6rem; font-family: var(--display); }
.transparency { border-left-color: var(--primary); }

.compare { border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.compare-head { background: var(--paper); color: var(--ink); }
.compare-head > span:last-child { background: var(--primary); color: #fff; }
.compare-new { background: var(--primary-softer); }
.benefits li { border-left-color: var(--primary); }

/* Formulare & Karten */
.filters, .side-card, .empty, .auth, .legal, .offer-context, .ov, .table, .conv-list, .chat, .match, .vertical-aside, .preview-result { border-radius: var(--radius-m); border-color: var(--line); }
.filters { box-shadow: var(--shadow-s); }
.auth { box-shadow: var(--shadow-m); border: 0; }
.form-section legend { font-family: var(--display); font-weight: 600; }
.assistant-note { background: var(--primary-soft); border-left-color: var(--primary); }
.notice { background: var(--accent-soft); color: #5c3b00; border-radius: var(--radius-s); }
.flash { border-radius: var(--radius-s); }
.flash-success { background: var(--primary-soft); color: var(--primary-dark); }
.flash-info { background: var(--paper); }
.segmented label { border-radius: 999px; }
.segmented label:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.preview-result { border: 0; box-shadow: var(--shadow-m), 0 0 0 3px var(--accent) inset; }
.preview-count strong { color: var(--primary-dark); }
.req-detail-head { border-bottom: 1px solid var(--line); }

/* Status & Treffer */
.status-ok, .tier-good { background: var(--primary-soft); color: var(--primary-dark); }
.status-info { background: #eef2f0; color: var(--ink); }
.tier-very_good { background: var(--primary); }
.match { border-left: 4px solid var(--primary); box-shadow: var(--shadow-s); }
.match-gap { border-left-color: var(--accent); }
.match-title { font-family: var(--display); font-weight: 600; }

/* Dashboard */
.dash-nav { border-bottom: 0; background: var(--paper); border-radius: 999px; padding: .3rem; display: inline-flex; max-width: 100%; overflow-x: auto; }
.dash-nav a { border-radius: 999px; white-space: nowrap; }
.dash-nav a[aria-current=page] { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-s); }
.ov { box-shadow: var(--shadow-s); }
.ov:hover { border-color: var(--primary); }
.ov-n { color: var(--primary-dark); font-weight: 700; }
.table th { background: var(--paper); }
.chat .mine { background: var(--primary); }
.chat .theirs { background: var(--paper); }
.note-list li.unread::before { background: var(--primary); }

/* Footer: hell */
.site-footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid a, .footer-h, .footer-brand, .footer-claim { color: var(--ink); }
.site-footer .muted { color: var(--muted); }
.footer-base { border-top-color: var(--line); }
.demo-banner { background: var(--ink); }
.error-code { color: var(--primary); }

@media (max-width: 960px) {
  .hero { padding: 1.6rem 1.2rem 1.8rem; border-radius: var(--radius-m); }
  .dash-nav { border-radius: var(--radius-s); }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .composer { box-shadow: var(--shadow-m); }
}
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid a { grid-template-columns: auto 1fr; column-gap: .8rem; align-items: center; }
.cat-grid .cat-icon { grid-row: span 2; margin-bottom: 0; }
.cat-grid strong { align-self: end; }
.cat-sub { align-self: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .cat-grid a { grid-template-columns: 1fr; } .cat-grid .cat-icon { grid-row: auto; margin-bottom: .3rem; } }
@media (max-width: 600px) {
  .header-row { gap: .5rem; }
  .logo { font-size: 1.1rem; gap: .4rem; }
  .logo-mark { width: 22px; height: 22px; }
  .header-actions .btn-small { padding: .45rem .8rem; font-size: .85rem; }
  .hero .lead { font-size: 1.05rem; }
}
.note-list a { text-decoration: none; color: var(--ink); }
.note-list a:hover { color: var(--primary-dark); text-decoration: underline; }
.note-list li.unread a { color: var(--ink); }

/* ---------- BELLO: Pfote als Logo ---------- */
.logo-mark { display: inline-grid; place-items: center; color: #fff; border-radius: 9px; width: 30px; height: 30px; }
.logo-mark::after { content: none; }
.logo-mark svg { width: 20px; height: 20px; }
.logo { letter-spacing: .04em; }
@media (max-width: 600px) { .logo-mark { width: 26px; height: 26px; } .logo-mark svg { width: 17px; height: 17px; } }

/* ---------- Lupe & Glocke ---------- */
.logo-mark svg { width: 22px; height: 22px; }
.header-search { position: relative; flex: 1 1 260px; max-width: 340px; margin-left: .5rem; }
.header-search input { width: 100%; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: .5rem .9rem .5rem 2.3rem; font-size: .93rem; }
.header-search input:focus { background: #fff; }
.hs-icon { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.header-search:focus-within .hs-icon { color: var(--primary-dark); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--primary-soft); color: var(--primary-dark); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn[aria-current=page], .icon-btn.active { color: var(--primary-dark); background: var(--primary-soft); }
.dot-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }
.bell.has-new .icon { transform-origin: 50% 10%; animation: bell-ring 1.4s ease-in-out 1s 2; }
@keyframes bell-ring { 0%, 50%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) { .bell.has-new .icon { animation: none; } }
.search-btn { display: none; }
.header-actions { gap: .4rem; }
.header-actions > .btn { margin-left: .4rem; }
@media (max-width: 1180px) { .header-search { display: none; } .search-btn { display: inline-grid; } }
@media (max-width: 600px) {
  .header-actions .icon-link { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .header-actions .menu { display: none; }
  .is-auth .header-actions > .btn { display: none; }
}
/* Lupe im großen Eingabefeld der Startseite und im Filter */
.composer textarea, #f-q { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366706b' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: .85rem .8rem; padding-left: 2.6rem; }
#f-q { background-position: .7rem 50%; padding-left: 2.3rem; }
.wrap-wide { width: min(1120px, 100% - 2rem); }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; }
.logo-mark svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .logo-mark { width: 32px; height: 32px; } .logo-mark svg { width: 26px; height: 26px; } }

/* ---------- BELLLO: das dritte L wedelt ---------- */
.logo-word, .footer-brand { letter-spacing: .03em; }
.wag { display: inline-block; transform: rotate(16deg); transform-origin: 40% 90%; color: var(--primary); }
.footer-claim .wag, .claim-line .wag { color: var(--primary-dark); }
.logo:hover .wag { animation: wag .6s ease-in-out 2; }
.hero .claim-line .wag { animation: wag .7s ease-in-out .6s 3; }
@keyframes wag { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .logo:hover .wag, .hero .claim-line .wag { animation: none; } }
.logo-word .wag, .footer-brand .wag { transform: rotate(14deg); transform-origin: 30% 95%; margin: 0 .14em 0 .02em; }
.claim-line .wag, .footer-claim .wag { transform: rotate(9deg); transform-origin: 50% 95%; margin: 0 .07em 0 .03em; }
@keyframes wag { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(-4deg); } }
.hero .claim-line .wag { animation-name: wag-soft; }
@keyframes wag-soft { 0%, 100% { transform: rotate(9deg); } 50% { transform: rotate(-5deg); } }
.logo-word .wag, .footer-brand .wag { transform: rotate(14deg); transform-origin: 0 100%; margin: 0 .2em 0 0; }
.claim-line .wag, .footer-claim .wag { transform: none; margin: 0; }
.hero .claim-line .wag { animation: wag-once .9s ease-in-out .8s 2; transform-origin: 50% 95%; }
@keyframes wag-once { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(14deg); } 70% { transform: rotate(-8deg); } }
@keyframes wag { 0%, 100% { transform: rotate(14deg); } 50% { transform: rotate(-2deg); } }
.logo-word .wag, .footer-brand .wag { margin: 0 .1em 0 -.07em; }
.logo { white-space: nowrap; flex: none; }
.lbl-short { display: none; }
@media (max-width: 420px) { .lbl-full { display: none; } .lbl-short { display: inline; } .header-actions .btn-small { padding: .45rem .7rem; } }

[data-theme="blue"] {
  --primary: #0e8fd6; --primary-dark: #0a6ea6; --primary-soft: #e6f4fc; --primary-softer: #f3f9fe;
  --accent: #ffc93c; --accent-edge: #e0a800; --accent-soft: #fff8e1;
  --ink: #1b2733; --text: #26313c; --muted: #63707c; --line: #e2e8ee; --paper: #f5f8fa;
}
.composer-inline > p.small { margin: .9rem 0 0; }

/* ---------- So funktioniert es (Startseite) ---------- */
.how h2 { margin-top: 0; }
.how-list { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: .8rem; }
.how-list li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .1rem 1rem; background: var(--paper); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; }
.how-list li::before { content: counter(s); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.how-list strong { font-family: var(--display); font-weight: 600; color: var(--ink); }
.how-list span { color: var(--muted); }

/* ---------- Branchen-Abos ---------- */
.branch-list { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .6rem; }
.branch-list li label, .branch-list-static li { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: .8rem 1rem; background: #fff; cursor: pointer; }
.branch-list-static li { grid-template-columns: 1fr auto; cursor: default; }
.branch-list li label:has(input:checked) { border-color: var(--primary); background: var(--primary-softer); }
.branch-list li.is-active label { border-color: var(--primary); background: var(--primary-soft); cursor: default; }
.branch-list input { width: 1.15rem; height: 1.15rem; accent-color: var(--primary); }
.branch-list input:disabled + .branch-name { color: var(--muted); }
.branch-name { font-weight: 600; color: var(--ink); }
.branch-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.branch-check { color: var(--primary-dark); font-weight: 800; }
.badge-lock { background: var(--paper); color: var(--muted); }
.locked-box { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; background: linear-gradient(135deg, var(--primary-soft), #fff); border-radius: var(--radius-l); padding: 2rem; border: 1px solid var(--line); }
.locked-box h2 { margin-top: 0; }
.locked-count { display: grid; place-items: center; text-align: center; width: 9rem; height: 9rem; border-radius: 50%; background: #fff; box-shadow: var(--shadow-m); color: var(--muted); font-size: .9rem; padding: 1rem; }
.locked-n { font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--primary-dark); }
@media (max-width: 600px) { .locked-box { grid-template-columns: 1fr; padding: 1.3rem; } .locked-count { width: 7rem; height: 7rem; } }
.branch-list li { display: grid; }
.branch-list li label { height: 100%; }

/* Vorrang für das höchste Budget */
.prio { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; background: #f3efe9; color: #5b4a3a; }
.prio-now { background: #ff7a1a; color: #fff; }
.prio-wait { background: #eee; color: #777; }
.match-waiting { opacity: .7; }
.match-waiting .match-title { pointer-events: none; color: inherit; text-decoration: none; }
.prio-note { max-width: 28ch; text-align: right; }

.table-wrap { overflow-x: auto; max-width: 100%; }
.table-wrap .table { min-width: 560px; }

.page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.page-head-row h2 { margin: 0; }

/* Objektansicht (Immobilien, Fahrzeuge) */
.crumb { font-size: .9rem; color: var(--muted, #6b6259); margin: .25rem 0 .75rem; }
.crumb a { color: inherit; }
.object-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.object-head h1 { margin: .25rem 0; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; max-width: 32ch; }
.object-price { text-align: right; }
.price-big { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 700; margin: 0; line-height: 1.1; }
.price-big .small { font-size: 1rem; font-weight: 500; }
.object-price .budget-tag { vertical-align: middle; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 160px; gap: 8px; margin: 0 0 1.75rem; border-radius: 16px; overflow: hidden; }
.gallery a { display: block; background: #eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .g-main { grid-row: span 2; }
.gallery:has(a:only-child) { grid-template-columns: 1fr; grid-auto-rows: 360px; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 0 0 1.5rem; }
.key-facts div { background: var(--surface-2, #f6f3ef); border-radius: 12px; padding: .7rem .85rem; }
.key-facts dt { font-size: .8rem; color: var(--muted, #6b6259); margin: 0; }
.key-facts dd { margin: .15rem 0 0; font-weight: 600; }
.quote { border-left: 3px solid var(--primary, #F26B1D); padding-left: .9rem; }
details.viewing > summary { list-style: none; cursor: pointer; text-align: center; }
details.viewing > summary::-webkit-details-marker { display: none; }
details.viewing[open] > summary { display: none; }
.viewing-form { margin: 0 0 .75rem; }
.viewing-form label.field span { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.viewing-form input[type=datetime-local] { width: 100%; }
.side-card > * + * { margin-top: .6rem; }
@media (max-width: 720px) {
  .object-price { text-align: left; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 12px; grid-auto-rows: unset; }
  .gallery a { flex: 0 0 88%; height: 240px; scroll-snap-align: start; }
  .gallery .g-main { grid-row: auto; }
}
.gallery[data-n="2"], .gallery[data-n="3"] { grid-template-columns: 2fr 1fr; }
.gallery[data-n="2"] { grid-auto-rows: 320px; }
.gallery[data-n="2"] .g-main { grid-row: auto; }
@media (max-width: 720px) { .gallery[data-n] { display: flex; } }

/* Bestandsimport */
.steps-list { padding-left: 1.3rem; display: grid; gap: .8rem; margin: 1rem 0 1.4rem; }
.steps-list li { padding-left: .2rem; }
.template-form { margin-top: .6rem; }
.template-form .field { margin-bottom: 0; flex: 0 1 280px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

/* Fahrzeugkatalog: Auswahlliste + optionales Textfeld */
.vc-field input[data-vc-other] { margin-top: .4rem; }
.vc-field input[hidden], .vc-field select[hidden] { display: none; }

/* Statistik */
.period-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1.2rem; align-items: center; }
.period-tabs a { border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; text-decoration: none; color: var(--text); background: #fff; font-weight: 600; }
.period-tabs a[aria-current="page"] { background: var(--primary, #f07a12); border-color: var(--primary, #f07a12); color: #fff; }
.period-tabs .sep { width: 1px; height: 1.4rem; background: var(--line); margin: 0 .4rem; }
.ov-active { border-color: var(--primary, #f07a12); box-shadow: 0 0 0 1px var(--primary, #f07a12) inset; }
.delta { font-weight: 700; color: var(--muted); }
.delta.up { color: var(--ok); }
.delta.down { color: var(--bad); }
.stat-chart { margin: 0 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; }
.stat-chart svg { width: 100%; height: auto; display: block; }
.stat-chart .bar { fill: #f7b98f; }
.stat-chart .bar.cur { fill: var(--primary, #f07a12); }
.stat-chart .axis { stroke: var(--line); }
.stat-chart .lbl { font-size: 13px; fill: var(--muted); }
.stat-chart .val { font-size: 13px; fill: var(--ink); font-weight: 700; }
.stat-table td.num, .table th.num, .table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-table tr.cur td { background: var(--primary-softer, #fff4ea); }
.stat-table tr.sum td { font-weight: 700; border-top: 2px solid var(--line); }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 860px) { .grid-2col { grid-template-columns: 1fr; } }
.check-row { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.stat-table td:first-child { white-space: nowrap; }

/* Budget: in Worten, Rückfrage, Hinweis */
.amount-words { color: var(--ink); font-weight: 600; margin-top: .3rem; min-height: 1.2em; overflow-wrap: anywhere; font-size: .85rem; }
.budget-note { margin-top: .2rem; }
.budget-confirm { margin-top: .6rem; }
/* Absage mit Grund */
.decline-box { margin-top: .5rem; }
.decline-box[open] summary { margin-bottom: .6rem; }
.decline-box .radio { display: flex; gap: .5rem; align-items: flex-start; padding: .25rem 0; font-weight: 400; }
/* Zuverlässigkeit des Käufers (für Verkäufer) */
.trust-badges { display: flex; flex-wrap: wrap; gap: .3rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.trust-badges li { font-size: .78rem; border-radius: 999px; padding: .15rem .6rem; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.trust-badges li.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.trust-badges li.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.row2:has([data-amount-words]) { align-items: start; }

/* Stöbern */
.browse-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; align-items: end; margin: 1rem 0 .5rem; }
.browse-filter .field { margin-bottom: .6rem; }
.browse-filter > div:last-child { margin-bottom: .6rem; }
.browse-grid { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.browse-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.browse-card a:hover, .browse-card a:focus-visible { border-color: var(--primary); box-shadow: 0 6px 18px rgba(242, 107, 29, .12); }
.browse-img { aspect-ratio: 4 / 3; background: var(--primary-softer, #fff8f3); display: grid; place-items: center; overflow: hidden; }
.browse-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.browse-noimg { font-size: 2.6rem; opacity: .55; }
.browse-body { padding: .75rem .85rem .9rem; display: grid; gap: .25rem; flex: 1; }
.browse-title { font-weight: 700; margin: 0; line-height: 1.3; }
.browse-facts { margin: 0; color: var(--muted); font-size: .88rem; }
.browse-meta { margin: 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.browse-btn { margin-top: auto; pointer-events: none; }
.browse-body > .browse-meta { margin-bottom: .55rem; }
.chip-seller { font-size: .75rem; border-radius: 999px; padding: .05rem .5rem; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.chip-seller.is-biz { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.bid-count { font-size: .75rem; font-weight: 700; background: var(--primary-soft, #fff0e6); color: var(--primary-dark, #c9520f); border-radius: 999px; padding: .05rem .5rem; }
.browse-hint { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.browse-hint p { margin: 0; max-width: 60ch; }
.bid-box .notice { margin: 0; }
.bid-amount { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.bid-row.bid-declined, .bid-row.bid-expired, .bid-row.bid-closed { opacity: .65; }
.browse-for-request { margin: 1.5rem 0; }
#angebot { scroll-margin-top: 90px; }
.browse-card a:hover .browse-btn { filter: brightness(.95); }
.similar-request { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px dashed var(--line); border-radius: var(--radius-m); padding: .9rem 1rem; margin: 1.25rem 0; }
.similar-request p { margin: 0; flex: 1 1 260px; }
/* Fahrzeughistorie */
.chip-history { font-size: .75rem; border-radius: 999px; padding: .05rem .5rem; background: var(--ok-bg); color: var(--ok); }
.history-box .vin-line { margin: .5rem 0; }
code.vin { font-size: 1.05rem; letter-spacing: .06em; user-select: all; background: var(--paper); padding: .15rem .4rem; border-radius: 6px; }
.history-public { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.1rem; margin: 1.25rem 0; }
.history-public h2 { margin-top: 0; }
.history-box.is-requested { border-color: var(--primary); }
.ad-note { margin: .35rem 0 0; font-size: .75rem; color: var(--muted); }
.ad-note a { color: inherit; }
/* Gegenangebot */
.counter-box form { margin-top: .5rem; max-width: 360px; }
.counter-offer { background: var(--primary-softer, #fff8f3); border: 1px solid var(--primary); border-radius: var(--radius-m); padding: .75rem .9rem; }
.counter-offer p { margin: 0 0 .5rem; }
.counter-offer .hint { margin: .5rem 0 0; }
.counter-offer form.inline { display: inline-block; margin-right: .4rem; }
tr.has-counter td { background: var(--primary-softer, #fff8f3); }
.low-bids { margin: 1rem 0; }
.low-bids > summary { cursor: pointer; color: var(--muted); }
/* Teilen */
.share-box { margin: 1rem 0; }
.share-label { font-weight: 700; margin: 0 0 .4rem; }
.share-buttons { display: flex; flex-wrap: wrap; gap: .4rem; }
.share-wa { background: #25D366; border-color: #25D366; color: #fff; }
.share-wa:hover, .share-wa:focus-visible { background: #1ebe5b; color: #fff; }
.share-url { margin: .5rem 0 0; }
.share-url input { width: 100%; font-size: .85rem; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: .35rem .5rem; }
/* Qualität des Gesuchs */
.quality-meter { display: flex; align-items: center; gap: .6rem; margin: .2rem 0 .8rem; font-size: .88rem; color: var(--muted); }
.q-bar { flex: 0 0 120px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.q-fill { display: block; height: 100%; width: 0; background: var(--primary); transition: width .25s; }
.quality-meter[data-level="Sehr gut"] .q-fill { background: var(--ok); }
.quality-box { border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius-m); padding: .7rem 1rem; margin: 0 0 1rem; }
.quality-box p { margin: 0; }
.quality-box p + p { margin-top: .25rem; }
.quality-box.q-sehr_gut { border-left-color: var(--ok); }
@media (prefers-reduced-motion: reduce) { .q-fill { transition: none; } }

/* Frühzugang (Händlerfenster) */
.chip-early { font-size: .75rem; font-weight: 600; border-radius: 999px; padding: .05rem .5rem; background: #1f2937; color: #fff; white-space: nowrap; }
.early-note { margin: .5rem 0 1rem; padding: .6rem .8rem; border-left: 4px solid #1f2937; background: #f3f4f6; border-radius: 6px; font-size: .92rem; }
.early-teaser { border-left-color: var(--brand, #f60); background: #fff7ed; }
.early-banner { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 8px; background: #1f2937; color: #fff; font-size: .95rem; }
.early-banner strong { color: #fdba74; }
.early-panel { margin: 1.5rem 0; }
/* Gesuche stöbern (Händler) */
.req-card { list-style: none; }
.req-card > a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1rem; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.req-card > a:hover { border-color: var(--primary, #f26b1d); }
.req-card-cat { margin: 0; font-size: .78rem; color: var(--muted, #6b7280); }
.req-card-budget { margin: 0; font-weight: 700; font-size: 1.05rem; }
.req-card .browse-btn { margin-top: auto; }
.for-request { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 10px; background: #fff7ed; border-left: 4px solid var(--primary, #f26b1d); }
.for-request p { margin: .15rem 0; }

/* Bewertungen & Erfolg */
.rating-chip { display: inline-flex; gap: .25rem; align-items: baseline; font-size: .85rem; white-space: nowrap; color: inherit; text-decoration: none; }
a.rating-chip:hover { text-decoration: underline; }
.stars { color: #d97706; letter-spacing: .05em; font-weight: 600; }
.rating-box .side-title { margin-top: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .1rem; border: 0; padding: 0; margin: 0; }
.star-input legend { width: 100%; margin-bottom: .25rem; font-weight: 600; float: left; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; line-height: 1; color: #d1d5db; cursor: pointer; padding: 0 .05rem; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }
.star-input input:focus-visible + label { outline: 2px solid var(--primary, #f26b1d); outline-offset: 2px; border-radius: 4px; }
.rating-list { list-style: none; padding: 0; margin: 0; }
.rating-list li { padding: .75rem 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.rating-list li p { margin: .15rem 0; }
.rating-pending { margin: 1rem 0; padding: .8rem 1rem; border-radius: 10px; background: #fffbeb; border-left: 4px solid #f59e0b; }
.rating-pending h3 { margin: 0 0 .25rem; font-size: 1rem; }
.rating-pending ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin: 0 0 1rem; }
.tabs a { padding: .35rem .8rem; border-radius: 999px; background: #f3f4f6; color: inherit; text-decoration: none; font-size: .9rem; }
.tabs a.active { background: var(--primary, #f26b1d); color: #fff; }
.trade-chip { margin: 0; font-size: .82rem; font-weight: 600; color: #065f46; background: #ecfdf5; border-radius: 6px; padding: .15rem .45rem; align-self: flex-start; }
.trade-in details > summary { list-style: none; cursor: pointer; }
.trade-in details > summary::-webkit-details-marker { display: none; }
.trade-offer { padding: .8rem 1rem; border-radius: 10px; background: #ecfdf5; }
.trade-offer p { margin: 0 0 .5rem; }

/* Nachfrage-Seiten */
.demand .demand-n { color: var(--primary, #f26b1d); }
.demand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1rem 0; }
.demand-grid .panel h2 { margin-top: 0; font-size: 1.1rem; }
.demand-list { list-style: none; margin: 0; padding: 0; }
.demand-list li { display: grid; grid-template-columns: minmax(7rem, 9rem) 1fr 2.5rem; align-items: center; gap: .5rem; padding: .3rem 0; }
.demand-bar { height: .6rem; border-radius: 999px; background: #f3f4f6; position: relative; overflow: hidden; }
.demand-bar::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--primary, #f26b1d); border-radius: 999px; }
.demand-bar[data-w="0"]::before { width: 0%; }
.demand-bar[data-w="5"]::before { width: 5%; }
.demand-bar[data-w="10"]::before { width: 10%; }
.demand-bar[data-w="15"]::before { width: 15%; }
.demand-bar[data-w="20"]::before { width: 20%; }
.demand-bar[data-w="25"]::before { width: 25%; }
.demand-bar[data-w="30"]::before { width: 30%; }
.demand-bar[data-w="35"]::before { width: 35%; }
.demand-bar[data-w="40"]::before { width: 40%; }
.demand-bar[data-w="45"]::before { width: 45%; }
.demand-bar[data-w="50"]::before { width: 50%; }
.demand-bar[data-w="55"]::before { width: 55%; }
.demand-bar[data-w="60"]::before { width: 60%; }
.demand-bar[data-w="65"]::before { width: 65%; }
.demand-bar[data-w="70"]::before { width: 70%; }
.demand-bar[data-w="75"]::before { width: 75%; }
.demand-bar[data-w="80"]::before { width: 80%; }
.demand-bar[data-w="85"]::before { width: 85%; }
.demand-bar[data-w="90"]::before { width: 90%; }
.demand-bar[data-w="95"]::before { width: 95%; }
.demand-bar[data-w="100"]::before { width: 100%; }
.demand-count { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.demand-cta { margin: 1.5rem 0; }

/* Gebotsbalken rot → grün: gleicher Balken für Käufer und Verkäufer, nur Marker, keine Worte */
.bidbar { margin: .4rem 0 .6rem; }
.bidbar-track { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #dc2626 0%, #f97316 22%, #facc15 45%, #a3e635 68%, #16a34a 100%); }
.bidbar-compact .bidbar-track { height: 9px; }
.bb-mark { position: absolute; top: 50%; width: 0; }
.bb-pin { position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #fff; border: 3px solid #111827; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.bidbar-compact .bb-pin { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-width: 2px; }
.bb-seller .bb-pin { background: #111827; }
.bb-label { position: absolute; left: 0; transform: translateX(-50%); bottom: 16px; font-size: .78rem; font-weight: 600; white-space: nowrap; color: var(--ink, #1f2937); }
.bb-label-below { bottom: auto; top: 16px; }
.attempts { display: flex; align-items: center; gap: .3rem; margin: .25rem 0; }
.attempts > span:not(.small) { width: 12px; height: 12px; border-radius: 50%; background: var(--primary, #f26b1d); }
.attempts > span.used { background: #e5e7eb; }
.btn-bell { background: #fef3c7; border-color: #f59e0b; color: #78350f; font-weight: 700; }
.btn-bell:hover { background: #fde68a; }
.bell-section { margin: 1rem 0 1.5rem; padding: 1rem; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.bell-section h2 { margin-top: 0; }
.bell-answer { flex: 1 1 20rem; }
.bid-competition { margin: 0; font-size: .9rem; padding: .45rem .6rem; border-radius: 8px; background: #f3f4f6; }
.bid-competition.is-behind { background: #fff7ed; color: #9a3412; }
/* Balken mit Gebot und Gegenangebot (zwei Marker) */
.bidbar-duo .bidbar-track { margin: 2.2rem 0; }
/* Marker-Position 0…100 % (CSP-sicher über data-pos statt Inline-Style) */
.bb-mark[data-pos="0"]{left:0%}
.bb-mark[data-pos="1"]{left:1%}
.bb-mark[data-pos="2"]{left:2%}
.bb-mark[data-pos="3"]{left:3%}
.bb-mark[data-pos="4"]{left:4%}
.bb-mark[data-pos="5"]{left:5%}
.bb-mark[data-pos="6"]{left:6%}
.bb-mark[data-pos="7"]{left:7%}
.bb-mark[data-pos="8"]{left:8%}
.bb-mark[data-pos="9"]{left:9%}
.bb-mark[data-pos="10"]{left:10%}
.bb-mark[data-pos="11"]{left:11%}
.bb-mark[data-pos="12"]{left:12%}
.bb-mark[data-pos="13"]{left:13%}
.bb-mark[data-pos="14"]{left:14%}
.bb-mark[data-pos="15"]{left:15%}
.bb-mark[data-pos="16"]{left:16%}
.bb-mark[data-pos="17"]{left:17%}
.bb-mark[data-pos="18"]{left:18%}
.bb-mark[data-pos="19"]{left:19%}
.bb-mark[data-pos="20"]{left:20%}
.bb-mark[data-pos="21"]{left:21%}
.bb-mark[data-pos="22"]{left:22%}
.bb-mark[data-pos="23"]{left:23%}
.bb-mark[data-pos="24"]{left:24%}
.bb-mark[data-pos="25"]{left:25%}
.bb-mark[data-pos="26"]{left:26%}
.bb-mark[data-pos="27"]{left:27%}
.bb-mark[data-pos="28"]{left:28%}
.bb-mark[data-pos="29"]{left:29%}
.bb-mark[data-pos="30"]{left:30%}
.bb-mark[data-pos="31"]{left:31%}
.bb-mark[data-pos="32"]{left:32%}
.bb-mark[data-pos="33"]{left:33%}
.bb-mark[data-pos="34"]{left:34%}
.bb-mark[data-pos="35"]{left:35%}
.bb-mark[data-pos="36"]{left:36%}
.bb-mark[data-pos="37"]{left:37%}
.bb-mark[data-pos="38"]{left:38%}
.bb-mark[data-pos="39"]{left:39%}
.bb-mark[data-pos="40"]{left:40%}
.bb-mark[data-pos="41"]{left:41%}
.bb-mark[data-pos="42"]{left:42%}
.bb-mark[data-pos="43"]{left:43%}
.bb-mark[data-pos="44"]{left:44%}
.bb-mark[data-pos="45"]{left:45%}
.bb-mark[data-pos="46"]{left:46%}
.bb-mark[data-pos="47"]{left:47%}
.bb-mark[data-pos="48"]{left:48%}
.bb-mark[data-pos="49"]{left:49%}
.bb-mark[data-pos="50"]{left:50%}
.bb-mark[data-pos="51"]{left:51%}
.bb-mark[data-pos="52"]{left:52%}
.bb-mark[data-pos="53"]{left:53%}
.bb-mark[data-pos="54"]{left:54%}
.bb-mark[data-pos="55"]{left:55%}
.bb-mark[data-pos="56"]{left:56%}
.bb-mark[data-pos="57"]{left:57%}
.bb-mark[data-pos="58"]{left:58%}
.bb-mark[data-pos="59"]{left:59%}
.bb-mark[data-pos="60"]{left:60%}
.bb-mark[data-pos="61"]{left:61%}
.bb-mark[data-pos="62"]{left:62%}
.bb-mark[data-pos="63"]{left:63%}
.bb-mark[data-pos="64"]{left:64%}
.bb-mark[data-pos="65"]{left:65%}
.bb-mark[data-pos="66"]{left:66%}
.bb-mark[data-pos="67"]{left:67%}
.bb-mark[data-pos="68"]{left:68%}
.bb-mark[data-pos="69"]{left:69%}
.bb-mark[data-pos="70"]{left:70%}
.bb-mark[data-pos="71"]{left:71%}
.bb-mark[data-pos="72"]{left:72%}
.bb-mark[data-pos="73"]{left:73%}
.bb-mark[data-pos="74"]{left:74%}
.bb-mark[data-pos="75"]{left:75%}
.bb-mark[data-pos="76"]{left:76%}
.bb-mark[data-pos="77"]{left:77%}
.bb-mark[data-pos="78"]{left:78%}
.bb-mark[data-pos="79"]{left:79%}
.bb-mark[data-pos="80"]{left:80%}
.bb-mark[data-pos="81"]{left:81%}
.bb-mark[data-pos="82"]{left:82%}
.bb-mark[data-pos="83"]{left:83%}
.bb-mark[data-pos="84"]{left:84%}
.bb-mark[data-pos="85"]{left:85%}
.bb-mark[data-pos="86"]{left:86%}
.bb-mark[data-pos="87"]{left:87%}
.bb-mark[data-pos="88"]{left:88%}
.bb-mark[data-pos="89"]{left:89%}
.bb-mark[data-pos="90"]{left:90%}
.bb-mark[data-pos="91"]{left:91%}
.bb-mark[data-pos="92"]{left:92%}
.bb-mark[data-pos="93"]{left:93%}
.bb-mark[data-pos="94"]{left:94%}
.bb-mark[data-pos="95"]{left:95%}
.bb-mark[data-pos="96"]{left:96%}
.bb-mark[data-pos="97"]{left:97%}
.bb-mark[data-pos="98"]{left:98%}
.bb-mark[data-pos="99"]{left:99%}
.bb-mark[data-pos="100"]{left:100%}
.bb-mark[data-pos="0"] .bb-pin,.bb-mark[data-pos="1"] .bb-pin,.bb-mark[data-pos="2"] .bb-pin{margin-left:0}
.bb-mark[data-pos="0"] .bb-label{transform:translateX(-18%)}
.bb-mark[data-pos="1"] .bb-label{transform:translateX(-18%)}
.bb-mark[data-pos="2"] .bb-label{transform:translateX(-18%)}
.bb-mark[data-pos="3"] .bb-label{transform:translateX(-18%)}
.bb-mark[data-pos="97"] .bb-label{transform:translateX(-82%)}
.bb-mark[data-pos="98"] .bb-label{transform:translateX(-82%)}
.bb-mark[data-pos="99"] .bb-label{transform:translateX(-82%)}
.bb-mark[data-pos="100"] .bb-label{transform:translateX(-82%)}


/* In der Mitte treffen */
.middle-box { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; margin: .5rem 0; padding: .65rem .8rem; border-radius: 10px; background: #f0fdf4; border: 1px dashed #86efac; }
.middle-box p { margin: 0; flex: 1 1 16rem; font-size: .92rem; }
.middle-box.is-asked { border-style: solid; border-color: #16a34a; background: #dcfce7; }
.btn-middle { background: #16a34a; border-color: #16a34a; color: #fff; font-weight: 700; }
.btn-middle:hover { background: #15803d; }
.invite-list { list-style: none; padding: 0; }
.invite-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.team-invite { margin: 1rem 0; padding: 1rem; border-radius: 12px; background: #f9fafb; }
.team-invite h3 { margin: 0; }
.roles-info { margin: 1rem 0; }
.roles-info td:not(:first-child), .roles-info th:not(:first-child) { text-align: center; }
.invite-card { padding-top: 1rem; }

/* Bieten: Anker und Schnell-Erhöhen */
.bid-anchor { margin: 0; padding: .55rem .75rem; border-radius: 10px; background: #f9fafb; border: 1px solid var(--line, #e5e7eb); }
.quick-raise { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: -.25rem; }
.quick-raise .btn { border-radius: 999px; font-variant-numeric: tabular-nums; }
/* Verkaufen: Nachfrage live */
.demand-live { margin: .5rem 0 1rem; padding: .75rem 1rem; border-radius: 12px; background: #f3f4f6; border-left: 4px solid #9ca3af; }
.demand-live p { margin: 0; }
.demand-live.has-demand { background: #fff7ed; border-left-color: var(--primary, #f26b1d); }

/* Ratgeber, Vergleich, Fragen, Bericht */
.guide-list { list-style: none; padding: 0; display: grid; gap: .8rem; max-width: 75ch; }
.guide-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.guide-list li p { margin: .3rem 0 0; color: var(--muted, #5b5b66); }
.guide h2 { margin-top: 1.6rem; }
.guide .lead { font-size: 1.08rem; }
.guide-wide { max-width: 90ch; }
.guide-cta { margin: 1.6rem 0; }
.table.compare th[scope=row] { background: transparent; font-weight: 650; width: 28%; }
.table.compare td:last-child { background: #fff6ef; }
.demand-summary { max-width: 75ch; font-size: 1.02rem; }
