:root {
  --bg: #F2F5F4; --surface: #FFFFFF; --ink: #16201E; --muted: #55645F; --line: #D8E0DD;
  --offer: #0E6B5C; --offer-bg: #DCF0EA; --seek: #A84A0C; --seek-bg: #FBE8D6;
  --accent: #0E6B5C; --on-accent: #FFFFFF; --focus: #1B5FD1; --danger: #B3261E;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1615; --surface: #172120; --ink: #E6EEEC; --muted: #98A9A5; --line: #2A3837;
    --offer: #5FD1B8; --offer-bg: #143A33; --seek: #F0A266; --seek-bg: #3A2514;
    --accent: #5FD1B8; --on-accent: #07201B; --focus: #8DB6FF; --danger: #FF8A80; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
#app { flex: 1; padding-block: 20px 40px; outline: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: 1.7rem; margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 0 0 8px; }

/* Kopf */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; justify-content: space-between; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; border-radius: 6px; }
.logo img { display: block; height: 48px; width: auto; max-width: 100%; }
@media (prefers-color-scheme: dark) { .logo { background: #FFFFFF; padding: 4px 8px; } }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.nav a { padding: 6px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { font-weight: 600; background: var(--offer-bg); }
.mob-acts { display: none; align-items: center; gap: 8px; }
.menu-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .15s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.menu-btn[aria-expanded="true"] .burger { background: transparent; }
.menu-btn[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
.menu-btn.has-dot::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--seek); }
@media (max-width: 820px) {
  .bar { flex-wrap: wrap; gap: 0 12px; }
  .logo img { height: 40px; }
  .mob-acts { display: flex; }
  .nav { display: none; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 4px; border-top: 1px solid var(--line); margin-top: 10px; }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav .nav-new { display: none; }
}
@media (max-width: 380px) {
  .logo img { height: 32px; }
  .mob-acts { gap: 6px; }
}
.dot { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--seek); color: var(--surface); font-size: 12px; text-align: center; margin-left: 4px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; padding-block: 20px; }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); }
.legal { display: flex; gap: 16px; align-items: start; }
.nl { max-width: 440px; display: grid; gap: 6px; flex: 1 1 280px; }
.nl-row { display: flex; gap: 8px; }
.nl-row .field { flex: 1; min-width: 0; }

/* Bausteine */
.btn { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 8px; padding: 10px 16px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.small { padding: 6px 12px; font-size: 14px; }
.field { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; }
textarea.field { resize: vertical; }
.lbl { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
.lbl .field { font-weight: 400; color: var(--ink); font-size: 15px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; flex: none; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.err { color: var(--danger); font-size: 14px; margin: 0; min-height: 1.3em; }
.ok { color: var(--offer); font-size: 14px; margin: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 14px; min-width: 0; }
.narrow { max-width: 520px; margin-inline: auto; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.pill { font-weight: 600; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.pill.offer { background: var(--offer-bg); color: var(--offer); }
.pill.seek { background: var(--seek-bg); color: var(--seek); }
.pill.state { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-size: 14px; max-width: calc(100% - 32px); z-index: 30; }

/* Liste */
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }
.mode { flex: 1 1 180px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer; display: grid; gap: 1px; }
.mode strong { font-size: 1.05rem; }
.mode span { font-size: 13px; color: var(--muted); }
.mode[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--offer-bg); }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { display: grid; gap: 12px; position: sticky; top: 80px; min-width: 0; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 18px; }
.filter-toggle { display: none; margin-bottom: 12px; }
.f-group h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.cats, .subcats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subcats { margin: 2px 0 6px 12px; padding-left: 8px; border-left: 2px solid var(--line); }
.cat-btn { width: 100%; display: flex; justify-content: space-between; gap: 8px; text-align: left; background: transparent; border: 0; border-radius: 6px; padding: 7px 8px; cursor: pointer; }
.cat-btn:hover { background: var(--bg); }
.cat-btn[aria-current="true"] { background: var(--offer-bg); font-weight: 600; }
.cat-btn .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.feed-head { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.crumbs button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.feed { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; min-width: 0; cursor: pointer; }
.card:hover { border-color: var(--accent); }
.card-main { display: grid; gap: 8px; min-width: 0; }
.card-top { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 13px; color: var(--muted); }
.card h3 { font-size: 1.15rem; margin: 0; overflow-wrap: anywhere; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { margin: 0; max-width: 65ch; overflow-wrap: anywhere; }
.thumb { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); align-self: start; }
.path { font-size: 13px; color: var(--muted); }
.path b { color: var(--ink); font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 600; }
.card-foot { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; padding: 28px 20px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.empty strong { color: var(--ink); font-size: 1.1rem; }
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 16px; }

/* Detail */
.detail { display: grid; gap: 18px; }
.detail h1 { overflow-wrap: anywhere; }
.d-sec { display: grid; gap: 6px; min-width: 0; }
.d-sec h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 600; }
.d-sec p { margin: 0; max-width: 65ch; overflow-wrap: anywhere; }
.d-sec p.long { white-space: pre-wrap; }
.gallery { display: grid; gap: 8px; max-width: 720px; }
.g-main { aspect-ratio: 16 / 10; max-width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.g-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.g-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.g-thumb { width: 88px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg); cursor: pointer; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb[aria-current="true"] { border-color: var(--accent); }
.dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-box { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 10px; }
.contact-box p { margin: 0; }
.selectable { user-select: all; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; overflow-wrap: anywhere; }

/* Formular und Chat */
.uploads { display: flex; flex-wrap: wrap; gap: 10px; }
.up-item { position: relative; width: 104px; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--bg); }
.up-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); cursor: pointer; line-height: 1; font-size: 16px; }
.threads { display: grid; gap: 8px; }
.thread { display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.thread:hover { border-color: var(--accent); }
.thread.unread { border-left: 4px solid var(--seek); }
.thread .snip { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat { display: grid; gap: 10px; }
.msg { max-width: min(560px, 90%); padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { justify-self: end; background: var(--offer-bg); border-color: transparent; }
.msg time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; min-width: 120px; }
.stat b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.rows { display: grid; gap: 8px; }
.item-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.item-row .grow { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
.todo { border: 2px dashed var(--danger); border-radius: 10px; padding: 12px 16px; color: var(--danger); }

@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-block; }
  .side { position: static; }
  .ad-side { display: none; }
  .filters[data-open="false"] { display: none; }
  .card { grid-template-columns: minmax(0, 1fr); }
  .thumb { width: 100%; max-width: 280px; order: -1; }
  .admin-row .acts { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .card { transition: border-color .15s; } }
.lbl .hint { font-weight: 400; }

/* Werbung */
.ad { position: relative; display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.ad img { display: block; width: 100%; height: auto; }
.ad a { display: block; }
.ad-tag { position: absolute; top: 6px; right: 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: rgba(0, 0, 0, .6); color: #fff; padding: 1px 6px; border-radius: 4px; pointer-events: none; }
.ad-top { margin-top: 14px; }

/* Adminbereich */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 8px 14px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.admin-tabs a:hover { background: var(--surface); }
.admin-tabs a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.admin-body { display: grid; gap: 16px; min-width: 0; }
.admin-body h2 { margin: 8px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.stat-grid .stat { display: grid; gap: 2px; align-content: start; min-width: 0; }
.stat-label { font-size: 13px; color: var(--muted); }
.action-card { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; background: var(--seek-bg); border-radius: 10px; padding: 12px 16px; }
.admin-row { align-items: flex-start; }
.admin-row .acts { justify-content: flex-end; }
.row-check { margin-top: 6px; width: 18px; height: 18px; }
.row-thumb { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); }
.banner-thumb { width: 180px; max-width: 100%; max-height: 100px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); }
.banner-preview { max-width: 100%; max-height: 200px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); justify-self: start; }
.item-title { font-weight: 600; margin-top: 4px; }
.snippet { margin: 4px 0 0; font-size: 14px; max-width: 70ch; }
.reject-box { display: grid; gap: 8px; width: min(100%, 380px); }
.spread { justify-content: space-between; }
.item-row.compact { padding: 8px 14px; }
.nl-item { display: grid; gap: 10px; justify-content: stretch; }
.nl-item summary { cursor: pointer; }
.nl-item .long { white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; font-size: 14px; }
.nl-item .btn { justify-self: start; }
.pill.state.review, .pill.warn { background: var(--seek-bg); color: var(--seek); border-color: transparent; }
.pill.state.active, .pill.state.live { background: var(--offer-bg); color: var(--offer); border-color: transparent; }
.pill.state.rejected { color: var(--danger); }
.scroll-target { scroll-margin-top: 90px; }
.sub-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.sub-row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sub-row .grow { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.rename { display: grid; gap: 6px; width: 100%; }
.rename .field { min-width: 0; }
.var-list { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.var-list code { font-size: 13px; }
.prev-subject { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.mail-preview { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.field.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.5; }
.mail-frame { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.layout-row { border-color: var(--accent); }
.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.account-grid .panel h2 { margin: 0; }
.logo-box { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.logo-box > div:last-child { flex: 1 1 200px; display: grid; gap: 6px; }
.logo-preview, .logo-empty { width: 120px; height: 80px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 6px; }
.logo-empty { display: grid; place-items: center; font-size: 12px; color: var(--muted); background: var(--bg); }
.logo-empty[hidden], .logo-preview[hidden] { display: none; }
.card-foot { display: flex; align-items: center; gap: 10px; }
.co-logo { height: 28px; width: auto; max-width: 96px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; }
.who-line .co-logo { height: 32px; vertical-align: middle; margin-right: 6px; }
.co-text { display: grid; gap: 2px; min-width: 0; }
.co-text b { font-weight: 600; }
.co-about { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; white-space: pre-line; }
.card-foot { align-items: flex-start; }
.card-foot .co-logo { margin-top: 2px; }
.co-box { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; }
.co-box p { flex: 1 1 260px; }
.co-logo.big { height: 64px; max-width: 160px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.reject-note { margin: 6px 0 0; padding: 8px 10px; border-radius: 6px; background: var(--seek-bg); font-size: 14px; overflow-wrap: anywhere; }
.thumb.ph, .row-thumb.ph { background: #fff; object-fit: contain; }
.gallery.ph { max-width: 480px; }
.gallery.ph .g-main { background: #fff; }
.gallery.ph .g-main img { object-fit: contain; }
/* Fußbereich aus dem Admin */
.foot-col { display: grid; gap: 6px; align-content: start; min-width: 0; flex: 0 1 220px; }
.foot-text { margin: 0; font-size: 14px; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-bottom { padding-block: 0 18px; font-size: 13px; color: var(--muted); white-space: pre-line; }

/* Eigene Seiten */
.page { max-width: 820px; margin-inline: auto; }
.page-content { overflow-wrap: anywhere; }
.page-content > :first-child { margin-top: 0; }
.page-content h2 { font-size: 1.2rem; margin: 22px 0 8px; }
.page-content h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.page-content p, .page-content ul, .page-content ol { margin: 0 0 12px; max-width: 70ch; }
.page-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Cookie-Hinweis */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 760px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, .18); padding: 14px 16px;
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.cookie-bar p { margin: 0; flex: 1 1 280px; font-size: 14px; }

/* Popup */
.popup-back { position: fixed; inset: 0; z-index: 50; background: rgba(10, 20, 18, .55); display: grid; place-items: center; padding: 16px; }
.popup { position: relative; background: var(--surface); border-radius: 14px; max-width: 520px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 24px 22px 20px; display: grid; gap: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.popup h2 { margin: 0; padding-right: 28px; }
.popup-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 20px; line-height: 1; cursor: pointer; }
.popup-body > :last-child { margin-bottom: 0; }

/* Admin: Seiten & Design */
.sub-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-item { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.menu-item .lbl { flex: 1 1 180px; }
.menu-item .tag { font-size: 12px; color: var(--muted); align-self: center; flex: 0 0 auto; }
.foot-col-edit { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 10px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.page-preview { border: 1px dashed var(--line); border-radius: 10px; padding: 16px; background: var(--surface); }
.logo-admin { max-height: 64px; max-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.popup-preview { background: rgba(10, 20, 18, .55); border-radius: 10px; padding: 24px 16px; display: grid; place-items: center; }
/* Merken und Teilen */
.fav { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 16px; line-height: 1.4; cursor: pointer; color: var(--seek); }
.fav[aria-pressed="true"] { background: var(--seek-bg); border-color: transparent; }
.fav.big { font-size: 14px; font-weight: 600; padding: 4px 12px; }
.share { padding-top: 6px; border-top: 1px solid var(--line); }
.small-num { width: 100px; }
.lbl.inline { display: inline; }
.share { gap: 10px; }
.share-btn { display: inline-flex; width: 38px; height: 38px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; transition: transform .12s; }
.share-btn svg { width: 100%; height: 100%; display: block; }
.share-btn:hover { transform: translateY(-2px); }
/* Firmen, Häkchen, Sterne */
.co-link { color: inherit; font-weight: 600; text-decoration: none; }
.co-link:hover { text-decoration: underline; }
.badge-ok { display: inline-block; font-size: 12px; font-weight: 600; color: var(--offer); background: var(--offer-bg); border-radius: 999px; padding: 1px 8px; vertical-align: middle; white-space: nowrap; }
.stars { color: #E0A100; font-weight: 600; white-space: nowrap; }
.stars.small { font-size: 13px; }
.co-row { gap: 4px 8px; }
.co-box-text { display: grid; gap: 8px; flex: 1 1 260px; }
.co-head { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-start; }
.co-head h1 { margin: 0 0 6px; }
.co-head .grow { flex: 1 1 300px; display: grid; gap: 8px; }
.co-head p { margin: 0; }
.co-logo.xl { height: 96px; max-width: 200px; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.review p { margin: 6px 0 0; }
.review-reply { background: var(--bg); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.star-pick { display: flex; gap: 4px; }
.star-pick button { font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--line); padding: 0 2px; }
.star-pick button.on { color: #E0A100; }
/* Anhänge */
.attach { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.attach-list { gap: 6px; }
.attach-chip { display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.chip-x { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; }
.msg-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; white-space: normal; }
.msg-img img { display: block; max-width: 220px; max-height: 160px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.msg-file { display: inline-block; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
/* Vorab vom Server gelieferter Inhalt (für Suchmaschinen), bis die App geladen ist */
.ssr { display: grid; gap: 10px; }
.ssr ul { margin: 0; padding-left: 18px; }
.ssr li { margin-bottom: 6px; }
.ssr nav ul ul { font-size: 14px; }
.path-link { color: inherit; text-decoration: none; }
.path-link:hover { text-decoration: underline; }
.path-link.b { color: var(--ink); font-weight: 600; }
/* Premium und Hervorheben */
.card.featured { border-color: #E0A100; box-shadow: inset 4px 0 0 #E0A100; }
.pill.top { background: #FFF3CC; color: #8A6100; }
.badge-premium { display: inline-block; font-size: 12px; font-weight: 700; color: #8A6100; background: #FFF3CC; border-radius: 999px; padding: 1px 8px; vertical-align: middle; white-space: nowrap; }
.stat-line { font-size: 14px; color: var(--muted); }
.stat-line b { color: var(--ink); }
.billing { margin: 6px 0 0; font-size: 14px; background: var(--bg); border-radius: 8px; padding: 8px 10px; display: inline-block; }
.premium-form { border-color: #E0A100; }
@media (prefers-color-scheme: dark) { .pill.top, .badge-premium { background: #3A2F0A; color: #F2C14E; } }
.code-input { font-size: 26px; letter-spacing: 8px; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; max-width: 260px; }
