/* JustRoom Admin – baut auf app.css auf */
.admin { background: #f1eee9; font-size: 15px; }
.admin .logo { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); text-decoration: none; }
.admin .logo .logo-svg { height: 26px; }
.admin .logo small { font: 600 10px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
.block { display: block; }
.strong { font-weight: 600; text-decoration: none; }
.strong:hover { text-decoration: underline; }
.warn { color: #c2410c; font-weight: 600; }

.a-side { position: fixed; inset: 0 auto 0 0; width: 228px; background: var(--card); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 24px 16px; z-index: 5; }
.a-side nav { display: grid; gap: 2px; margin-top: 32px; }
.a-side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.a-side nav a:hover { background: #f6f4f1; color: var(--ink); }
.a-side nav a[aria-current] { background: var(--ink); color: #fff; }
.a-side nav svg { width: 18px; height: 18px; }
.pill { margin-left: auto; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px; padding: 1px 7px; }
.a-side-foot { margin-top: auto; display: grid; gap: 10px; font-size: 13px; color: var(--muted); }
.a-side-foot a { text-decoration: none; } .a-side-foot a:hover { color: var(--ink); }
.a-side-foot button { background: none; border: 0; padding: 0; color: var(--ink-2); cursor: pointer; text-align: left; font-size: 13px; }
.a-side-foot button:hover { color: var(--coral-dark); }
.a-side-foot small { overflow: hidden; text-overflow: ellipsis; }

.a-main { margin-left: 228px; padding: 32px clamp(16px, 3vw, 40px) 80px; max-width: 1400px; }
.admin-guest .a-main { margin: 0; padding: 0; max-width: none; min-height: 100vh; display: grid; place-items: center; }
.a-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.a-head .h-lg small { font: 500 18px var(--body); letter-spacing: 0; }
.a-back { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 8px; }
.a-back:hover { color: var(--ink); }
.a-card { background: var(--card); border-radius: 12px; padding: 22px 24px; border: 1px solid var(--line); }
.a-card + .a-card { margin-top: 16px; }
.a-card .h-sm { margin-bottom: 16px; }
.a-card .h-sm small { font-weight: 400; font-size: 13px; letter-spacing: 0; }
.a-sub { font: 600 14px var(--body); margin: 22px 0 10px; }
.a-sub small { font-weight: 400; }
.a-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.a-cols .a-card + .a-card { margin-top: 0; }

.a-flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.a-flash-ok { background: #e7f5ea; color: #14532d; }
.a-flash-warn { background: #fff4e0; color: #7c4a03; }
.a-flash-err, .a-error { background: #fdeceb; color: #9b1c1c; }
.a-error { padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.a-ferr { display: block; color: #b42318; font-size: 12.5px; margin-top: 4px; }
.has-err input, .has-err select, .has-err textarea { border-color: #d6452a !important; }

/* Login */
.a-login { width: min(380px, calc(100vw - 32px)); background: var(--card); border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow); }
.a-login .h-lg { margin: 28px 0 22px; }
.a-login .btn { margin-top: 8px; }

/* Kennzahlen */
.a-kpis { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.a-kpis a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; transition: border-color .2s; }
.a-kpis a:hover { border-color: var(--ink); }
.a-kpis b { display: block; font: 650 34px/1.1 var(--display); letter-spacing: -0.03em; }
.a-kpis span { font-size: 13px; color: var(--muted); }
.a-kpis .is-hot a { background: var(--ink); color: #fff; border-color: var(--ink); }
.a-kpis .is-hot span { color: rgba(255,255,255,.75); }
.a-kpis .is-hot b { color: var(--coral); }
.a-list { list-style: none; margin: 0; padding: 0; }
.a-list li { border-top: 1px solid var(--line); }
.a-list li:first-child { border-top: 0; }
.a-list a, .a-log li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; align-items: baseline; }
.a-list a:hover span:first-child { text-decoration: underline; }
.a-list small { color: var(--muted); font-size: 12.5px; text-align: right; flex: none; max-width: 55%; }

.st { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #eee; white-space: nowrap; }
.st-published, .st-closed { background: #e7f5ea; color: #166534; }
.st-draft { background: #eef0f2; color: #475467; }
.st-pending, .st-new { background: #fff1e6; color: #b54708; }
.st-forwarded { background: #eaf2ff; color: #1d4ed8; }
.st-spam { background: #f4f4f4; color: #888; }
.tag { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; background: #fdebe5; color: var(--coral-dark); padding: 2px 6px; border-radius: 4px; font-weight: 600; vertical-align: 1px; }

/* Tabelle */
.a-filter { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.a-filter input, .a-filter select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--card); }
.a-filter input { flex: 1; min-width: 220px; }
.a-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.a-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.a-table td { padding: 10px 14px; border-top: 1px solid #f0ece6; vertical-align: middle; }
.a-table tr:hover td { background: #fbfaf8; }
.a-table .num { text-align: right; }
.a-table .thumb { width: 64px; padding-right: 0; }
.a-table .thumb img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: #eee; }

/* Bearbeiten */
.a-edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.a-edit-main .a-card + .a-card { margin-top: 16px; }
.a-sticky { position: static; display: grid; gap: 4px; }
.a-sticky .btn { margin-top: 6px; }
.a-edit-side .a-card + .a-card { margin-top: 16px; }
.a-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.a-check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 4px 0 10px; cursor: pointer; }
.a-check input { accent-color: var(--coral); width: 16px; height: 16px; }
.admin .field input, .admin .field select, .admin .field textarea { background: #fff; }

.a-rows { display: grid; gap: 6px; }
.a-rows-head, .a-rowline { display: grid; grid-template-columns: 2fr 1fr 1.6fr 32px; gap: 8px; align-items: center; }
.a-rows-head span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.a-rowline input { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; width: 100%; min-width: 0; }
.a-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1; }
.a-x:hover { background: #fdeceb; color: #b42318; }
.a-rows .btn-ghost { justify-self: start; padding-left: 0; color: var(--coral-dark); font-weight: 600; }

/* Editor */
.rte { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.rte-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #faf9f7; }
.rte-bar button { border: 0; background: transparent; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.rte-bar button:hover, .rte-bar button.is-on { background: #ece8e1; color: var(--ink); }
.rte-bar .rte-src { margin-left: auto; font-family: ui-monospace, Menlo, monospace; }
.rte textarea { border: 0 !important; border-radius: 0 !important; font: 13px/1.55 ui-monospace, Menlo, monospace; min-height: 320px; box-shadow: none !important; }
.rte-area { min-height: 320px; max-height: 640px; overflow-y: auto; padding: 16px 18px; outline: none; font-size: 15.5px; line-height: 1.65; }
.rte-area h2 { font: 650 22px/1.2 var(--display); margin: 1.1em 0 .4em; } .rte-area h3 { font: 650 18px/1.3 var(--display); margin: 1em 0 .4em; }
.rte-area p { margin: 0 0 .9em; } .rte-area a { color: var(--coral-dark); }
.rte-area table { border-collapse: collapse; font-size: 13px; } .rte-area td, .rte-area th { border: 1px solid var(--line); padding: 4px 6px; }

/* Galerie */
.a-gallery { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.a-gallery li { position: relative; background: #faf9f7; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: grab; transition: opacity .2s, transform .2s; }
.a-gallery li.is-dragging { opacity: .35; }
.a-gallery li.is-over { outline: 2px dashed var(--coral); outline-offset: 2px; }
.a-gallery li.is-removed { opacity: .35; }
.a-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; pointer-events: none; }
.a-gallery input[type=text], .a-gallery input:not([type]) { width: 100%; border: 0; border-top: 1px solid var(--line); padding: 7px 8px; font-size: 12px; background: #fff; }
.a-rm { display: flex; gap: 6px; align-items: center; font-size: 12px; padding: 6px 8px; color: var(--muted); cursor: pointer; }
.a-cover-badge { display: none; position: absolute; top: 8px; left: 8px; background: var(--coral); color: #fff; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 7px; border-radius: 4px; }
.a-gallery li:first-child .a-cover-badge { display: block; }
.a-drop { display: block; position: relative; border: 2px dashed #d7d1c8; border-radius: 12px; padding: 26px; text-align: center; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s; }
.a-drop:hover, .a-drop.is-over { border-color: var(--coral); background: #fff8f5; }
.a-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.a-drop small { color: var(--muted); }
.a-preview { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.a-preview li { width: 96px; font-size: 11px; color: var(--muted); text-align: center; }
.a-preview img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; }
.a-preview .bad { color: #b42318; }

/* Google-Vorschau */
.serp { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; font-family: Arial, sans-serif; background: #fff; }
.serp-url { font-size: 12px; color: #4d5156; }
.serp-title { font-size: 19px; color: #1a0dab; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-desc { font-size: 13.5px; color: #4d5156; line-height: 1.45; }
[data-count] { float: right; font-weight: 500; }
[data-count].over { color: #b42318; }

/* Kategorien */
.a-terms .h-sm { margin-bottom: 10px; }
.a-term-filter, .a-term-new { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 13px; margin-bottom: 8px; }
.a-term-new { margin: 10px 0 0; }
.a-term-list { max-height: 220px; overflow-y: auto; display: grid; gap: 2px; padding-right: 4px; }
.a-term-list label { display: flex; gap: 8px; align-items: center; font-size: 13.5px; padding: 3px 0; cursor: pointer; }
.a-term-list input { accent-color: var(--coral); }
.a-danger { border-color: #f3d4cf; }
.a-danger .btn { border-color: #b42318; color: #b42318; }
.a-danger .btn:hover { background: #b42318; color: #fff; }

/* Anfragen */
.a-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.a-tabs a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 13.5px; background: var(--card); border: 1px solid var(--line); }
.a-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a-inq { display: grid; gap: 12px; }
.a-inq .a-card + .a-card { margin-top: 0; }
.a-inq-item header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.a-inq-item:target { outline: 2px solid var(--coral); }
.st-select { border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; cursor: pointer; }
.a-inq-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 40px; margin: 16px 0; }
.a-inq-facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.a-inq-facts dd { margin: 2px 0 0; font-weight: 500; }
.a-inq-msg { background: #faf9f7; border-radius: 8px; padding: 12px 14px; margin: 0 0 14px; white-space: normal; }

@media (max-width: 1100px) {
  .a-edit-grid { grid-template-columns: 1fr; }
  .a-sticky { position: static; }
  .a-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .a-side { position: static; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .a-side nav { margin: 0; display: flex; overflow-x: auto; }
  .a-side nav a { padding: 8px 10px; white-space: nowrap; }
  .a-side-foot { display: none; }
  .a-main { margin-left: 0; }
  .a-cols, .a-row3 { grid-template-columns: 1fr; }
  .a-inq-facts { grid-template-columns: 1fr 1fr; }
  .a-rows-head { display: none; }
  .a-rowline { grid-template-columns: 1fr 1fr 32px; }
  .a-rowline input:first-child { grid-column: 1 / -1; }
}

.tag-partner { background: #f26a4b; color: #fff; }

.a-ok { background: #edf7ef; border-radius: 10px; padding: 12px 14px; font-size: 14px; }

/* Location bearbeiten: Raumplan, Status, Badges */
.a-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.a-note textarea { background: #fbfaf8; }
.a-plan { overflow-x: auto; }
.a-plan .a-rows-head, .a-plan .a-rowline { grid-template-columns: minmax(150px, 2.2fr) repeat(7, minmax(52px, 1fr)) 64px 32px; min-width: 720px; }
.a-plan .a-rows-head span { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 10px; letter-spacing: .04em; line-height: 1.2; }
.a-plan .a-rows-head span:first-child { align-items: flex-start; }
.a-plan .a-rows-head .ico { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.a-plan .a-rows-head .ico circle { fill: var(--ink); stroke: none; }
.a-plan .a-rowline > input { text-align: center; padding: 9px 4px; }
.a-plan-name { display: grid; gap: 4px; }
.a-plan-name input { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; min-width: 0; }
.a-plan-name .a-en { font-size: 12px; padding: 5px 10px; color: var(--muted); background: #fbfaf8; }
.a-plan .a-rowline { padding: 6px 0; border-bottom: 1px solid #f1eee9; }
.a-dl { display: flex; justify-content: center; }
.a-dl-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #b9b5ae; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.a-dl-btn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.a-dl-btn[aria-pressed="true"] { background: #fff4d6; border-color: #f2c94c; color: #c28a00; }
.a-dl-btn:hover { border-color: var(--ink); }
.a-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 10px; padding: 3px; gap: 3px; }
.a-seg label { cursor: pointer; }
.a-seg input { position: absolute; opacity: 0; pointer-events: none; }
.a-seg span { display: block; text-align: center; padding: 8px 6px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.a-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.a-seg input[value="published"]:checked + span { color: #17803d; }
.a-seg input:focus-visible + span { outline: 2px solid var(--coral); }
.a-badge-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.a-badge-opt > span { display: grid; gap: 4px; font-size: 13px; }
.a-badge-opt small { color: var(--muted); line-height: 1.4; }
.a-switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 36px; height: 20px; border-radius: 20px; background: #d9d5ce; position: relative; cursor: pointer; margin-top: 1px; transition: .15s; }
.a-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.a-switch:checked { background: var(--coral); }
.a-switch:checked::after { left: 18px; }
@media (max-width: 760px) { .a-row2 { grid-template-columns: 1fr; } .a-plan .a-rows-head { display: grid; } .a-plan .a-rowline { grid-template-columns: minmax(150px, 2.2fr) repeat(7, minmax(52px, 1fr)) 64px 32px; } .a-plan .a-rowline input:first-child { grid-column: auto; } }
.a-badge-opt .tag { justify-self: start; }
.a-plan .a-rows-head span { overflow-wrap: anywhere; hyphens: manual; }
.a-plan .a-rows-head .is-sun .ico circle { fill: none; stroke: var(--ink); }
.field input.a-switch, .a-switch { width: 36px; height: 20px; padding: 0; border: 0; min-width: 36px; }
.a-plan .a-rows-head span { overflow-wrap: normal; text-transform: none; letter-spacing: 0; font-size: 11px; }
.a-plan .a-rows-head span:first-child { text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.field input.a-switch { background: #d9d5ce; border-radius: 20px; }
.field input.a-switch:checked { background: var(--coral); }

/* Bestellungen, Freigaben, Pakete */
.a-tabs { display: flex; gap: 4px; margin: -6px 0 18px; flex-wrap: wrap; }
.a-tabs a { padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.a-tabs a[aria-current] { background: var(--ink); color: #fff; }
.a-empty { text-align: center; padding: 40px 24px; }
.a-empty p { margin: 0 0 6px; }
.a-intro { margin: -8px 0 18px; max-width: 80ch; }
.a-sub-h { margin: 32px 0 12px; }
.a-cols-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.a-cols-wide > div > .a-card + .a-card { margin-top: 16px; }
.a-dlist { margin: 0; display: grid; }
.a-dlist > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #f1eee9; font-size: 14px; }
.a-dlist dt { color: var(--muted); }
.a-dlist dd { margin: 0; }
.a-steps { margin: 4px 0 18px; padding-left: 18px; font-size: 13px; color: var(--ink-2); display: grid; gap: 4px; }
.st-o-new, .st-c-pending { background: #fff1e6; color: #b54708; }
.st-o-approved, .st-c-approved { background: #e8f5ec; color: #17803d; }
.st-o-rejected, .st-c-rejected { background: #f2f0ec; color: var(--muted); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.a-head-btns { display: flex; gap: 8px; }
.a-diff { display: grid; gap: 16px; }
.a-diff-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-diff-cols > div { border-radius: 10px; padding: 12px 14px; font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.a-diff-cols small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.a-diff-cols p { margin: 0; }
.a-diff-cols .prose { font-size: 14px; max-height: 420px; overflow: auto; }
.a-diff-old { background: #f6f4f1; color: var(--ink-2); }
.a-diff-new { background: #edf7ef; }
.a-diff-new small { color: #17803d; }
.a-diff-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.a-diff-imgs img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; }
.a-decide { margin-top: 16px; }
.a-decide-btns { display: flex; gap: 10px; justify-content: flex-end; }
.a-pk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a-pk-grid .a-card + .a-card { margin-top: 0; }
.a-pk-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.a-pk-name { font: 650 20px var(--display); border: 0; border-bottom: 1px dashed var(--line); padding: 4px 0; background: transparent; width: 100%; }
.a-pk-flags { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 4px 0 10px; }
.a-inline { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.a-inline small { color: var(--muted); white-space: nowrap; }
.field .a-inline input { padding: 7px 10px; }
small.warn, .warn { color: #b54708; }
@media (max-width: 1000px) { .a-cols-wide, .a-pk-grid, .a-diff-cols { grid-template-columns: 1fr; } .a-dlist > div { grid-template-columns: 1fr; gap: 2px; } }

/* Anbieterbereich */
.p-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-kpis .a-card + .a-card { margin-top: 0; }
.p-kpis b { display: block; font: 650 26px/1.1 var(--display); letter-spacing: -.03em; }
.p-kpis span { font-size: 13px; color: var(--muted); }
.p-venues { display: grid; gap: 12px; margin-bottom: 16px; }
.p-venue { display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: center; }
.p-venues .a-card + .a-card { margin-top: 0; }
.p-venue-img { width: 140px; aspect-ratio: 4/3; border-radius: 10px; background: var(--paper); overflow: hidden; }
.p-venue-img img { width: 100%; height: 100%; object-fit: cover; }
.p-venue h3 { font: 650 19px var(--display); margin: 0; }
.p-venue p { margin: 4px 0 0; font-size: 14px; }
.p-state { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px !important; }
.p-venue-act { display: grid; gap: 8px; }
.p-inq { display: grid; gap: 12px; }
.p-inq .a-card + .a-card { margin-top: 0; }
.p-inq header { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.p-inq header small { margin-left: auto; }
.p-inq p { margin: 8px 0 0; font-size: 14px; }
.p-inq-facts { color: var(--ink-2); font-weight: 500; }
.p-orders { margin: 0; padding-left: 18px; font-size: 13.5px; }
@media (max-width: 760px) { .p-kpis { grid-template-columns: 1fr; } .p-venue { grid-template-columns: 1fr; } .p-venue-img { width: 100%; } }

.a-term-add { display: flex; gap: 6px; margin-top: 10px; }
.a-term-add .a-term-new { margin: 0; flex: 1; min-width: 0; }
.a-term-add .btn-sm { white-space: nowrap; padding: 6px 10px; }
.a-term-list label.is-new small { color: #17803d; font-weight: 600; }
.a-addr { grid-template-columns: 1fr 2fr 1.4fr; }

.tag-fav { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tag-offer { background: var(--ink); color: #fff; }
.a-badge-opt + .a-badge-opt { margin-top: 8px; }
.a-offer + .a-offer { margin-top: 12px; }
.a-offer-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-bottom: 10px; }
.a-copy { display: flex; gap: 8px; }
.a-copy input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; background: #fbfaf8; }
.a-inline-form { display: inline; margin-left: 10px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--coral-dark); font-weight: 600; cursor: pointer; font-size: 13px; }
.a-card.is-done { opacity: .6; }
.a-danger .btn-outline:hover { background: #b42318; border-color: #b42318; color: #fff; }
.a-card .a-table-wrap { margin: 0 -8px; } .a-table-sm td, .a-table-sm th { padding: 9px 8px; font-size: 13px; vertical-align: top; }
.a-places input { width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13.5px; }
.a-places td { vertical-align: top; } .a-places .is-missing td { background: #fffaf3; }
.a-sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--paper) 30%); text-align: right; margin: 0; }
.a-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 900px) { .a-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.a-hint { display: block; font-size: 11.5px; color: #b54708; margin-top: 4px; font-weight: 500; }
.a-upload-err { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a8321c; font-size: 13.5px; font-weight: 600; }

/* Auswahlfeld im Stil der Seite */
.nice-sel { position: relative; }
.nice-trig { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s; }
.nice-trig:hover, .nice-sel.is-open .nice-trig { border-color: var(--ink); }
.nice-sel.is-open .nice-trig { box-shadow: 0 0 0 3px rgba(245,100,65,.15); }
.nice-trig svg { margin-left: auto; width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.8; transition: transform .2s; flex: none; }
.nice-sel.is-open .nice-trig svg { transform: rotate(180deg); }
.nice-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 1px 2px rgba(22,22,22,.04), 0 16px 36px -10px rgba(22,22,22,.22); max-height: 300px; overflow-y: auto; }
.nice-opt { display: flex; align-items: center; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.nice-opt:hover, .nice-opt:focus-visible { background: #f6f3ef; outline: none; }
.nice-opt[aria-selected=true] { background: #fff1ec; font-weight: 600; }
.nice-opt[aria-selected=true]::after { content: ""; margin-left: auto; width: 6px; height: 11px; border: solid var(--coral-dark); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); }

/* Löschen direkt in der Liste */
.a-del-cell { width: 44px; text-align: right; }
.a-del-form { display: inline; margin: 0; }
.a-del { width: 32px; height: 32px; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--muted); display: inline-grid; place-items: center; cursor: pointer; transition: .15s; }
.a-del svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a-del:hover { color: #c0392b; background: #fdecea; border-color: #f5c6bf; }
.a-btn-danger:hover { border-color: #c0392b; color: #c0392b; background: #fdecea; }

.a-del-box { position: relative; display: inline-block; } .a-del-box > summary { list-style: none; cursor: pointer; } .a-del-box > summary::-webkit-details-marker { display: none; }
.a-del-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 16px 36px -10px rgba(22,22,22,.25); font-size: 13.5px; }
.a-del-pop p { margin: 0 0 12px; color: var(--ink-2); } .a-del-pop .a-check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; } .a-del-pop small { color: var(--muted); }
.a-btn-del { width: 100%; background: #c0392b; border-color: #c0392b; } .a-btn-del:hover { background: #a93226; }
.a-head-btns { align-items: center; } .a-head-btns > .st { align-self: center; }

.a-hero-pick { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 3px 8px 3px 5px; font-size: 11px; font-weight: 600; cursor: pointer; }
.a-hero-pick input { margin: 0; accent-color: var(--coral); } .a-hero-pick em { font-style: normal; color: #b54708; font-weight: 500; }
.a-hero-pick:has(input:checked) { background: var(--coral); color: #fff; } .a-hero-pick:has(input:checked) em { color: #fff; }
.a-gallery:not(.hero-on) .a-hero-pick { display: none; }
.a-gallery li:first-child .a-hero-pick { top: 34px; }
/* Startseite: Stimmen & Logos */
.a-quotes { display: grid; gap: 14px; }
.a-quote { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fcfbf9; }
.a-quote.is-new { border-style: dashed; background: #fff; } .a-quote-new { margin: 0 0 10px; font-weight: 600; font-size: 14px; color: var(--coral-dark); }
.a-quote.is-off, .a-logo.is-off { opacity: .55; }
.a-quote-meta { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 90px auto auto; gap: 0 12px; align-items: end; }
.a-mini { padding: 0 0 18px; } .a-quote-meta .a-rm, .a-logo-foot .a-rm { padding-bottom: 22px; font-size: 13px; white-space: nowrap; }
.a-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 14px; }
.a-logo { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fcfbf9; }
.a-logo-img { height: 70px; display: grid; place-items: center; background: #fff; border-radius: 8px; margin-bottom: 10px; }
.a-logo-img img { max-height: 54px; max-width: 80%; object-fit: contain; filter: grayscale(1); }
.a-logo-foot { display: grid; grid-template-columns: 90px 1fr auto; gap: 0 10px; align-items: end; }
.a-drop-sm { padding: 18px; }
@media (max-width: 1100px) { .a-quote-meta { grid-template-columns: 1fr 1fr; } }
/* Magazin */
.a-posts .a-thumb { width: 64px; padding-right: 0; }
.a-posts .a-thumb img, .a-thumb-empty { display: block; width: 56px; height: 40px; border-radius: 6px; object-fit: cover; background: #ece8e1; }
.a-warn-txt { color: #b54708; }
.a-ico-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); vertical-align: middle; }
.a-ico-link:hover { background: #f1ede7; color: var(--ink); }
.a-ico-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.a-post-cover { display: block; width: 100%; border-radius: 10px; margin-bottom: 8px; aspect-ratio: 16/9; object-fit: cover; }
.a-posts .a-del-cell { width: 84px; white-space: nowrap; }
.a-posts .a-del-form { display: inline-block; }
.a-dirty { margin: 6px 0 0; text-align: center; color: #b54708; }
.a-posts td:nth-child(3) { white-space: nowrap; }
.tag-new { background: #eaf3ee; color: #1f6b45; }
.a-badges { min-width: 150px; } .a-badges .tag { display: inline-block; margin: 2px 4px 2px 0; white-space: nowrap; }
.a-check-note { margin: -6px 0 14px 24px; font-size: 12px; line-height: 1.45; color: var(--muted, #6b6b68); }
.a-webp { max-width: 720px; }
.a-webp-row { font-size: 15px; margin-bottom: 10px; }
.a-webp-bar { height: 10px; border-radius: 999px; background: var(--line, #e2ded7); overflow: hidden; margin-bottom: 12px; }
.a-webp-bar i { display: block; height: 100%; background: var(--coral, #f56441); border-radius: 999px; transition: width .4s; }
.a-webp .btn { margin-top: 8px; }

/* Anbieter: geführte Profil-Einrichtung */
.p-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 44px); padding: clamp(22px, 3vw, 32px); margin: 0 0 20px; box-shadow: var(--shadow); border: 0; }
.p-setup .eyebrow { color: var(--coral-dark); margin: 0 0 6px; }
.p-setup h2 { margin: 0 0 10px; }
.p-setup-intro > p { color: var(--ink-2); margin: 0 0 18px; line-height: 1.6; }
.p-prog { height: 6px; border-radius: 999px; background: #eeeae4; overflow: hidden; }
.p-prog i { display: block; height: 100%; background: var(--coral); border-radius: 999px; transition: width .4s ease; }
.p-setup .p-prog + .fine { margin: 8px 0 0; }
.p-setup-act { margin-top: 20px; }
.p-sent { display: inline-flex; align-items: center; gap: 10px; background: #ecf6ef; color: #1f6b3a; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px; margin: 0; }
.p-sent svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.p-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p-steps li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p-steps li > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.p-steps b { font-weight: 600; font-size: 15px; }
.p-steps b small { font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.p-steps li > span > small { color: var(--muted); font-size: 13px; }
.p-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12.5px var(--body); border: 1.5px solid var(--line); color: var(--muted); }
.p-steps li.is-ok .p-ic { background: #2f9e5b; border-color: #2f9e5b; color: #fff; }
.p-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.p-steps li.is-ok b { color: var(--muted); font-weight: 500; }
.p-steps li.is-opt:not(.is-ok) .p-ic { border-style: dashed; }
.p-go { font-size: 13.5px; font-weight: 600; color: var(--coral-dark); text-decoration: none; white-space: nowrap; }
.p-go:hover { text-decoration: underline; }
.p-tip { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.p-tip a { color: var(--coral-dark); font-weight: 600; margin-left: 6px; }
.p-setup-strip { background: var(--card); border-radius: 12px; padding: 18px 20px; margin: 0 0 20px; box-shadow: var(--shadow); }
.p-setup-strip-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.p-setup-strip-head b { display: block; font: 650 17px var(--display); letter-spacing: -.01em; }
.p-setup-strip-head small { color: var(--muted); font-size: 13px; }
.p-setup-strip-head form { margin: 0; }
.p-chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p-chips a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink); background: #fdf1ed; border: 1px solid #f8cfc3; border-radius: 999px; padding: 5px 11px; }
.p-chips a:hover { border-color: var(--coral); }
.p-chips a.is-ok { background: #ecf6ef; border-color: #cfe8d7; color: #1f6b3a; }
.p-chips a.is-opt:not(.is-ok) { background: var(--paper); border-color: var(--line); border-style: dashed; color: var(--muted); }
.p-chips svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.a-edit section[id] { scroll-margin-top: 20px; }
.a-edit section:target { outline: 2px solid var(--coral); outline-offset: 3px; }
@media (max-width: 860px) { .p-setup { grid-template-columns: 1fr; } }

/* Admin: neue Locations in Einrichtung / Freischaltung */
.a-setups { margin-bottom: 20px; }
.a-mini-prog { display: inline-block; vertical-align: middle; width: 70px; height: 5px; border-radius: 999px; background: #eeeae4; overflow: hidden; margin-right: 6px; }
.a-mini-prog i { display: block; height: 100%; background: var(--coral); }
.a-mini-prog-lg { width: 160px; height: 7px; margin: 0; }
.a-review { margin-bottom: 20px; border-left: 4px solid var(--line); }
.a-review.is-sent { border-left-color: var(--coral); }
.a-review-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.a-review-head .eyebrow { margin: 0 0 4px; color: var(--coral-dark); }
.a-review-items { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; font-size: 14px; }
.a-review-items li { color: #b42318; } .a-review-items li.is-ok { color: #1f6b3a; }
.a-review-items small { display: block; color: var(--muted); margin-left: 16px; }
.a-review-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.a-orphans { margin-top: 20px; }
.a-inline-row { display: flex; gap: 8px; } .a-inline-row input { flex: 1; min-width: 0; }

/* Anbieter: Profil-Check für Locations, die online sind */
.p-profile { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 28px); }
.p-profile-side .p-venue-img { width: 100%; aspect-ratio: 16/10; }
.p-profile-side .p-venue-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-profile-side h3 { font: 650 20px/1.2 var(--display); letter-spacing: -.01em; margin: 14px 0 2px; }
.p-profile-side .muted { margin: 0 0 8px; font-size: 13.5px; }
.p-profile-side .p-venue-act { display: grid; gap: 8px; margin-top: 16px; }
.p-score { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 12px; margin-top: 16px; }
.p-score::before { content: ""; grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(closest-side, #fff 74%, transparent 76%), conic-gradient(var(--coral) calc(var(--p) * 1%), #eeeae4 0); }
.p-score b { font: 700 22px/1 var(--display); letter-spacing: -.02em; align-self: end; }
.p-score span { font-size: 13px; color: var(--muted); align-self: start; }
.p-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 0; }
.p-facts div { background: var(--paper); border-radius: 10px; padding: 8px 10px; }
.p-facts dt { font-size: 11.5px; color: var(--muted); } .p-facts dd { margin: 0; font: 650 18px var(--display); }
.p-profile-main .eyebrow { margin: 0 0 10px; color: var(--coral-dark); }
.p-done-h { margin-top: 22px !important; color: var(--muted) !important; }
.p-sugg { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.p-sugg li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p-sugg li > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.p-sugg b { font-weight: 600; font-size: 15px; } .p-sugg b small { font-weight: 500; font-size: 12.5px; color: #b54708; margin-left: 6px; }
.p-sugg li > span > small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.p-sugg .p-ic { border-style: dashed; border-color: #f2b8a6; }
@media (max-width: 900px) { .p-profile { grid-template-columns: 1fr; } }
.a-gallery .a-imgcat { width: 100%; font-size: 12.5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.a-gallery .a-imgcat.is-empty { color: var(--muted); border-style: dashed; border-color: #f2b8a6; }
