/* ---- Selbst gehostete Schrift (KEINE Google-Fonts-Einbindung!) ----
   Datei liegt in /httpdocs/fonts/. Space Grotesk = Variable Font. */
@font-face{
  font-family:'Space Grotesk';
  src:url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype-variations'),
      url('../fonts/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight:300 700; font-style:normal; font-display:swap;
}
/* Inter / JetBrains Mono optional: einfach Dateien in /fonts legen und
   die beiden Blöcke einkommentieren. Ohne sie greifen saubere System-Fonts. */
/*
@font-face{font-family:'Inter';src:url('../fonts/Inter-VariableFont.ttf') format('truetype-variations');font-weight:100 900;font-display:swap;}
@font-face{font-family:'JetBrains Mono';src:url('../fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype-variations');font-weight:100 800;font-display:swap;}
*/

:root{
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace;
  --paper:#FBFBF9; --ink:#15171C; --muted:#6B7280; --line:#E6E5DF;
  --accent:#5B4BE8; --accent-ink:#4636D6; --accent-soft:#EEEBFC;
  --ok:#0E9F6E; --bad:#B4322A;
  --shadow:0 1px 2px rgba(20,23,28,.05),0 8px 30px rgba(20,23,28,.06);
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  background:var(--paper); color:var(--ink);
  font-family:var(--sans); line-height:1.5;
  -webkit-font-smoothing:antialiased;
  background-image:radial-gradient(var(--line) 1px,transparent 1px);
  background-size:22px 22px; background-position:-1px -1px;
  min-height:100vh; display:flex; flex-direction:column;
}
a{color:inherit; text-decoration:none}

/* ---- Layout mit Werbe-Säulen ---- */
.page{display:grid; grid-template-columns:160px minmax(0,1180px) 160px;
  justify-content:center; gap:24px; padding:0 20px; max-width:1600px; margin:0 auto;
  width:100%; box-sizing:border-box; flex:1 0 auto}
.rail{padding-top:80px}
.rail-inner{position:sticky; top:20px}
.main{min-width:0; padding-bottom:10px}
.site-footer{flex-shrink:0}
@media(max-width:1200px){ .page{grid-template-columns:minmax(0,1000px); justify-content:center} .rail{display:none} }

/* ---- Kopfzeile ---- */
.topbar{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 0 8px}
.brand{display:flex; align-items:center; gap:10px;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:22px; letter-spacing:-.02em}
.mark{width:26px; height:26px; border-radius:7px; background:var(--accent); position:relative;
  box-shadow:inset 0 0 0 3px var(--paper),inset 0 0 0 4px var(--accent)}
.mark::after{content:""; position:absolute; inset:8px; background:var(--paper); border-radius:2px}
.topnav{display:flex; align-items:center; gap:8px}
.navlink{font-size:14px; color:var(--muted); padding:8px 12px; border-radius:8px}
.navlink:hover{color:var(--accent); background:var(--accent-soft)}
@media(max-width:640px){.navlink.hide-sm{display:none}}
.navmenu{position:relative; display:none!important}
@media(max-width:640px){.navmenu.show-sm{display:inline-flex!important}}
.navmenu__toggle{background:none; border:0; cursor:pointer}
.navmenu__panel{position:absolute; right:0; top:calc(100% + 8px); background:#fff; border:1px solid var(--line); border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.12); padding:6px; display:flex; flex-direction:column; min-width:170px; z-index:80}
.navmenu__panel[hidden]{display:none}
.navmenu__panel a{padding:9px 12px; border-radius:8px; font-size:14px; color:var(--ink); text-decoration:none}
.navmenu__panel a:hover{background:var(--accent-soft)}
.btn{display:inline-flex; align-items:center; gap:7px; border:0; cursor:pointer;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px;
  padding:10px 16px; border-radius:10px; transition:.15s; white-space:nowrap}
.btn--primary{background:var(--accent); color:#fff}
.btn--primary:hover{background:var(--accent-ink)}
.btn--ghost{background:#fff; border:1px solid var(--line); color:var(--ink)}
.btn--ghost:hover{border-color:var(--accent); color:var(--accent)}
.btn--block{display:flex; width:100%; justify-content:center}
.btn svg{width:16px; height:16px}

/* ---- Hinweise ---- */
.notice{border-radius:10px; padding:11px 14px; margin:0 0 18px; font-size:14px}
.notice.ok{background:#E7F6EE; color:#0B7A54; border:1px solid #BFE6D3}
.notice.bad{background:#FBEAE8; color:var(--bad); border:1px solid #F1C9C4}

/* ---- Suche ---- */
.hero{margin:24px 0 6px}
.hero h1{font-family:'Space Grotesk',sans-serif; font-size:24px;
  line-height:1.05; letter-spacing:-.02em; margin:0 0 4px; font-weight:700}
.hero p{color:var(--muted); margin:0 0 18px; font-size:15px}
.searchbar{display:flex; gap:8px; background:#fff; border:1px solid var(--line);
  border-radius:14px; box-shadow:var(--shadow); padding:8px; flex-wrap:wrap}
.searchbar .field{position:relative; flex:1; min-width:180px; display:flex; align-items:center}
.searchbar .field svg{position:absolute; left:12px; width:17px; height:17px; color:var(--muted)}
.searchbar input, .searchbar select{width:100%; border:0; background:transparent; font-family:var(--sans);
  font-size:15px; color:var(--ink); padding:11px 12px 11px 38px; outline:none}
.searchbar .field--cat{flex:0 0 200px; border-left:1px solid var(--line)}
.searchbar .field--loc{flex:0 0 210px; border-left:1px solid var(--line)}
.searchbar select{appearance:none; padding-left:38px; cursor:pointer}
@media(max-width:720px){.searchbar .field--cat,.searchbar .field--loc{flex:1 1 100%; border-left:0; border-top:1px solid var(--line)}}

/* ---- Abschnitts-Kopf ---- */
.section-head{display:flex; align-items:baseline; justify-content:space-between; margin:30px 0 14px}
.section-head h2{font-family:'Space Grotesk',sans-serif; font-size:18px; letter-spacing:-.02em; margin:0}
.section-head a{font-size:13px; color:var(--accent); font-weight:500}

/* ---- Kategorien ---- */
.cats{display:grid; grid-template-columns:repeat(6,1fr); gap:10px}
@media(max-width:900px){.cats{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){.cats{grid-template-columns:repeat(2,1fr)}}
.cat{background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 12px;
  display:flex; flex-direction:column; align-items:center; gap:9px; text-align:center; transition:.15s}
.cat:hover{border-color:var(--accent); box-shadow:var(--shadow); transform:translateY(-2px)}
.cat .ic{width:40px; height:40px; border-radius:11px; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; color:var(--accent)}
.cat .ic svg{width:21px; height:21px}
.cat b{font-family:'Space Grotesk',sans-serif; font-size:13.5px; font-weight:600}
.cat span{font-family:var(--mono); font-size:10.5px; color:var(--muted)}

/* ---- Anzeigen-Grid ---- */
.grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
@media(max-width:1000px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.grid{grid-template-columns:repeat(2,1fr)}}
.listing{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden;
  box-shadow:var(--shadow); display:flex; flex-direction:column; transition:.15s}
.listing:hover{border-color:var(--accent); transform:translateY(-2px)}
.listing .thumb{aspect-ratio:4/3; background:
  linear-gradient(45deg,#f1f1ee 25%,transparent 25%),linear-gradient(-45deg,#f1f1ee 25%,transparent 25%),
  linear-gradient(45deg,transparent 75%,#f1f1ee 75%),linear-gradient(-45deg,transparent 75%,#f1f1ee 75%);
  background-size:20px 20px; background-position:0 0,0 10px,10px -10px,-10px 0;
  position:relative; display:flex; align-items:center; justify-content:center; color:#c7c7bf}
.listing .thumb img{width:100%; height:100%; object-fit:cover}
.listing .thumb .ph{width:34px; height:34px}
.listing .fav{position:absolute; top:8px; right:8px; width:30px; height:30px; border-radius:8px;
  background:rgba(255,255,255,.9); border:1px solid var(--line); display:flex;
  align-items:center; justify-content:center; color:var(--muted); cursor:pointer}
.listing .fav:hover{color:var(--accent); border-color:var(--accent)}
.listing .fav svg{width:15px; height:15px}
.listing .tag{position:absolute; top:8px; left:8px; font-family:var(--mono);
  font-size:10px; padding:3px 7px; border-radius:6px; background:var(--accent); color:#fff}
.listing .tag--free{background:#0b7a55}
.listing .tag--gallery{background:#E9A23B}
.listing .body{padding:12px 13px; display:flex; flex-direction:column; gap:5px; flex:1}
.listing .price{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:16px}
.listing .ttl{font-size:13.5px; line-height:1.35; color:var(--ink); display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
.listing .meta{margin-top:auto; font-family:var(--mono); font-size:10.5px;
  color:var(--muted); display:flex; gap:8px}

/* ---- Breadcrumb ---- */
.crumb{font-size:13px; color:var(--muted); margin:20px 0 4px; display:flex; gap:7px; flex-wrap:wrap}
.crumb a:hover{color:var(--accent)}
.crumb span{opacity:.5}

/* ---- Detailseite ---- */
.detail{display:grid; grid-template-columns:1.5fr 1fr; gap:20px; align-items:start; margin-top:14px}
@media(max-width:820px){.detail{grid-template-columns:1fr}}
.gallery{background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); overflow:hidden}
.gallery .main-img{aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; color:#c7c7bf; background:
  linear-gradient(45deg,#f1f1ee 25%,transparent 25%),linear-gradient(-45deg,#f1f1ee 25%,transparent 25%),
  linear-gradient(45deg,transparent 75%,#f1f1ee 75%),linear-gradient(-45deg,transparent 75%,#f1f1ee 75%);
  background-size:22px 22px; background-position:0 0,0 11px,11px -11px,-11px 0}
.gallery .main-img img{width:100%; height:100%; object-fit:contain}
.gallery .main-img svg{width:46px; height:46px}
.detail .card-pad{background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:var(--shadow); padding:20px; margin-bottom:16px}
.detail h1{font-family:'Space Grotesk',sans-serif; font-size:24px; letter-spacing:-.02em; margin:0 0 8px; line-height:1.15}
.detail .big-price{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:26px; color:var(--ink); margin:0 0 6px}
.detail .loc{font-family:var(--mono); font-size:12px; color:var(--muted); margin-bottom:14px}
.detail .desc{white-space:pre-line; color:#3a3d44; font-size:15px}
.seller{display:flex; align-items:center; gap:12px; margin-bottom:14px}
.seller .av{width:46px; height:46px; border-radius:12px; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:18px}
.seller b{font-family:'Space Grotesk',sans-serif; display:block}
.seller span{font-size:12px; color:var(--muted)}
.pill{display:inline-block; font-family:var(--mono); font-size:10px; padding:2px 7px;
  border-radius:6px; background:var(--accent-soft); color:var(--accent-ink); margin-left:6px}
.pill--biz{background:#FEF3E2; color:#B7791F}

/* ---- Formulare (Login/Register/Anzeige) ---- */
.formwrap{max-width:460px; margin:10px auto 0; background:#fff; border:1px dashed var(--line);
  border-radius:16px; box-shadow:var(--shadow); padding:26px}
.formwrap.wide{max-width:720px}
.formwrap h1{font-family:'Space Grotesk',sans-serif; font-size:24px; margin:0 0 4px; letter-spacing:-.02em}
.formwrap .sub{color:var(--muted); font-size:14px; margin:0 0 20px}
.field-row{margin-bottom:15px}
.field-row label{display:block; font-size:13px; font-weight:500; margin-bottom:6px}
.field-row input,.field-row select,.field-row textarea{width:100%; font-family:var(--sans); font-size:15px;
  padding:11px 12px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--ink)}
.field-row input:focus,.field-row select:focus,.field-row textarea:focus{outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft)}
.field-row textarea{min-height:120px; resize:vertical}
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media(max-width:520px){.two-col{grid-template-columns:1fr}}
.form-foot{margin-top:8px; font-size:13px; color:var(--muted); text-align:center}
.form-foot a{color:var(--accent); font-weight:500}

/* ---- generischer Inhalt / SEO-Text ---- */
.content{margin-top:26px; max-width:70ch}
.content h2{font-family:'Space Grotesk',sans-serif; font-size:20px; margin:26px 0 10px}
.content h3{font-size:15px; margin:18px 0 4px}
.content p,.content li{color:#3a3d44; font-size:15px}
.content ol{padding-left:20px}
.empty{background:#fff; border:1px dashed var(--line); border-radius:14px; padding:40px 20px;
  text-align:center; color:var(--muted); font-size:14px}

/* ---- Werbung ---- */
.ad--ph{border:1px dashed #cfcfc7; border-radius:8px; min-height:64px; display:flex;
  align-items:center; justify-content:center; font-family:var(--mono);
  font-size:11px; color:#b7b7ad; margin:20px 0;
  background:repeating-linear-gradient(45deg,#fafaf8,#fafaf8 8px,#f4f4f0 8px,#f4f4f0 16px)}
.rail .ad--ph{min-height:600px; width:160px; margin:0}

/* ---- Footer ---- */
.site-footer{border-top:1px solid var(--line); margin-top:40px; background:#fff}
.foot-cols{max-width:1180px; margin:0 auto; padding:34px 20px 20px;
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:24px}
@media(max-width:760px){.foot-cols{grid-template-columns:1fr 1fr}}
.foot-cols h3{font-family:'Space Grotesk',sans-serif; font-size:13px; text-transform:uppercase;
  letter-spacing:.06em; color:var(--muted); margin:0 0 12px}
.foot-cols a{display:block; font-size:13.5px; color:#3a3d44; padding:4px 0}
.foot-cols a:hover{color:var(--accent)}
.foot-cols .brand{margin-bottom:10px}
.foot-cols p{font-size:13px; color:#565f6b; margin:0}
.foot-fine{text-align:center; padding:16px 20px 40px; color:var(--muted);
  font-family:var(--mono); font-size:11px}

/* ---- Cookie-Consent (dunkelt ab + blockt) ---- */
.consent-overlay{position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;
  padding:20px; background:rgba(20,23,28,0); backdrop-filter:blur(0px); transition:background .25s, backdrop-filter .25s}
.consent-overlay.show{background:rgba(20,23,28,.5); backdrop-filter:blur(2px)}
.consent-box{background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow);
  max-width:440px; width:100%; padding:24px; transform:translateY(12px); opacity:0; transition:.25s}
.consent-overlay.show .consent-box{transform:none; opacity:1}
.consent-box h3{font-family:'Space Grotesk',sans-serif; font-size:19px; margin:0 0 8px; letter-spacing:-.02em}
.consent-box p{font-size:14px; color:#3a3d44; margin:0 0 18px}
.consent-actions{display:flex; gap:10px}
.consent-actions .btn{flex:1; justify-content:center}
.consent-link{display:inline-block; margin-top:14px; font-size:12px; color:var(--muted)}
.consent-link:hover{color:var(--accent)}
@media(max-width:440px){.consent-actions{flex-direction:column-reverse}}

/* ---- Generisches Modal (z. B. "Nutzer melden") ---- */
.modal-overlay{position:fixed; inset:0; z-index:9999; display:flex; align-items:center; justify-content:center;
  padding:16px; opacity:0; pointer-events:none; transition:opacity .2s ease}
.modal-overlay.show{opacity:1; pointer-events:auto; background:rgba(20,23,28,.5); backdrop-filter:blur(2px)}
.modal-box{background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow);
  padding:22px; max-width:420px; width:100%; transform:translateY(8px); opacity:0; transition:.2s ease}
.modal-overlay.show .modal-box{transform:none; opacity:1}
.modal-box h3{font-family:'Space Grotesk',sans-serif; font-size:19px; margin:0 0 14px; letter-spacing:-.02em}
.modal-box select, .modal-box textarea{width:100%}
.modal-actions{display:flex; gap:10px; margin-top:16px}
.modal-actions .btn{flex:1; justify-content:center}
.modal-box{position:relative}
.modal-x{position:absolute; top:14px; right:14px; background:none; border:0; font-size:20px; line-height:1;
  color:var(--muted); cursor:pointer; padding:4px}
.modal-x:hover{color:var(--ink)}

.changelog-list{list-style:none; margin:0 0 20px; padding:0}
.changelog-list li{padding:7px 0; border-bottom:1px dashed var(--line); font-size:14px}
.changelog-list li:last-child{border-bottom:0}

.share-row{display:flex; align-items:center; gap:8px; margin:10px 0}
.share-label{font-size:13px; color:var(--muted)}
.share-btn{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--muted); cursor:pointer}
.share-btn svg{width:16px; height:16px}
.share-btn:hover{color:var(--accent); border-color:var(--accent)}
.share-btn.is-copied{color:#1a8a4a; border-color:#1a8a4a}
.share-btn b{font-size:15px; font-style:normal}

/* ---- Footer-Pitch / Credit (wie PixelResize) ---- */
.foot-pitch{max-width:64ch; margin:0 auto 12px; font-size:13px; line-height:1.6; color:#4b4e55; text-align:center; padding:0 20px}
.foot-pitch b{color:var(--ink); font-weight:600}
.foot-credit{text-align:center; margin:0 0 30px; font-family:var(--mono); font-size:10px; color:#565f6b}
.foot-credit a{text-decoration:none; color:#565f6b}
.foot-credit a:hover{text-decoration:underline}

/* ---- Tabellen (Admin) ---- */
.tbl{width:100%; border-collapse:collapse; font-size:13.5px}
.tbl th{text-align:left; font-family:var(--mono); font-size:11px; text-transform:uppercase;
  letter-spacing:.05em; color:var(--muted); padding:11px 14px; border-bottom:1px solid var(--line)}
.tbl td{padding:11px 14px; border-bottom:1px solid var(--line)}
.tbl tr:last-child td{border-bottom:0}
.tbl .btn{padding:6px 12px; font-size:12px}
.tbl--kv td:first-child{color:var(--muted); width:38%; font-size:12.5px}
@media(max-width:640px){
  .tbl th:nth-child(2),.tbl td:nth-child(2){display:none} /* E-Mail-Spalte auf Handy ausblenden */
}

/* ---- Phase 3: Anzeigen ---- */
.hint{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.check{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink);font-weight:500}
.check input{width:auto}

.tag--reserved{background:#E9A23B;color:#fff}
.state-sold{background:#eef;border-color:#ccd}
.state-del{background:#f6f6f6;color:var(--muted)}
.state-res{background:#FEF9F0;border-color:#E9A23B;color:#7a5b1e}

/* Galerie */
.gallery.is-inactive{opacity:.75}
.main-img{position:relative}
.main-img .ribbon{position:absolute;top:12px;left:12px;background:#E9A23B;color:#fff;
  padding:6px 12px;border-radius:8px;font-weight:700;font-size:13px;font-family:var(--sans)}
.main-img .ribbon--sold{background:#5566cc}
.thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.thumbs img{width:64px;height:64px;object-fit:cover;border-radius:8px;cursor:pointer;border:1px solid var(--line)}
.big-price .vb{font-size:14px;color:var(--muted);font-weight:600}
.ship{color:var(--muted);font-size:13px;margin:2px 0 0}

/* Bilder verwalten (Bearbeiten) */
.img-manage{display:flex;gap:10px;flex-wrap:wrap}
.img-manage__item{position:relative}
.img-manage__item img{width:90px;height:90px;object-fit:cover;border-radius:8px;border:1px solid var(--line)}
.img-del{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;
  border:0;background:#B4322A;color:#fff;cursor:pointer;font-size:15px;line-height:1}

/* Meine Anzeigen: Verwaltung */
.manage{display:flex;flex-direction:column;gap:10px}
.manage__row{display:flex;gap:14px;align-items:center;background:var(--card);
  border:1px solid var(--line);border-radius:14px;padding:12px}
.manage__thumb{width:72px;height:72px;flex:0 0 auto;border-radius:10px;overflow:hidden;background:var(--accent-soft);display:flex;align-items:center;justify-content:center}
.manage__thumb img{width:100%;height:100%;object-fit:cover}
.manage__info{flex:1;min-width:0}
.manage__ttl{font-weight:600;color:var(--ink);text-decoration:none;display:block;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.manage__meta{font-size:12.5px;color:var(--muted);margin-top:4px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.manage__actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.manage__actions .btn{padding:7px 12px;font-size:12.5px}
.manage__actions form{margin:0}
.btn--danger{color:#B4322A;border-color:#f1c9c4}
.pill--ok{background:#e7f6ec;color:#1f7a43}

/* Sortier-/Filterleiste */
.sortbar{display:flex;align-items:center;gap:8px;font-size:13px}
.sortbar label{color:var(--muted)}
.sortbar select{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.filterbar{margin:0 0 18px}
.filterbar form{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.filterbar select,.filterbar input{padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--card);font:inherit}

/* Nach-oben-Button */
.to-top{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:50%;
  border:0;background:var(--accent);color:#fff;font-size:20px;cursor:pointer;display:none;
  box-shadow:0 6px 20px rgba(91,75,232,.4);z-index:50}
.to-top.show{display:block}

@media(max-width:640px){
  .manage__row{flex-wrap:wrap}
  .manage__actions{width:100%;justify-content:flex-start}
  .filterbar form{gap:6px}
}

/* ---- Phase 3.1: Profil ---- */
.prof-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:16px}
.prof-av{width:72px;height:72px;flex:0 0 auto;border-radius:16px;overflow:hidden;background:var(--accent-soft);
  color:var(--accent);display:flex;align-items:center;justify-content:center;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:26px}
.prof-av img{width:100%;height:100%;object-fit:cover}
.prof-av--lg{width:88px;height:88px;border-radius:20px;font-size:32px}
.prof-meta{flex:1}
.carriers-pick{display:flex;flex-wrap:wrap;gap:10px 16px}

.prof-banner{display:flex;gap:18px;align-items:center;margin-top:14px}
.prof-banner__info h1{margin:0;font-family:'Space Grotesk',sans-serif;font-size:24px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prof-sub{margin:4px 0 0;color:var(--muted);font-size:13px}
.prof-ship{margin:8px 0 0;font-size:13px;color:var(--ink)}
.pill--verified{background:#e7f6ec;color:#1f7a43}
.carrier-badge{display:inline-block;background:var(--accent-soft);color:var(--accent);border-radius:6px;
  padding:2px 8px;font-size:12px;font-weight:600;margin-left:4px}

/* Tabs (Händlerseite) */
.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:18px 0 16px}
.tabs .tab{padding:10px 16px;color:var(--muted);text-decoration:none;font-weight:600;font-size:14px;
  border-bottom:2px solid transparent;margin-bottom:-1px}
.tabs .tab.is-active{color:var(--accent);border-bottom-color:var(--accent)}

.kv-grid{display:grid;grid-template-columns:1fr;gap:12px}
.kv-grid>div{display:grid;grid-template-columns:160px 1fr;gap:10px;font-size:14px}
.kv-grid b{color:var(--muted);font-weight:600}
.prose{font-size:14.5px;line-height:1.6}
@media(max-width:640px){
  .prof-banner{flex-direction:column;text-align:center;align-items:center}
  .kv-grid>div{grid-template-columns:1fr;gap:2px}
  .kv-grid b{font-size:12px}
}

/* ---- Phase 3.2: Merkliste/Benachrichtigungen ---- */
.bell{position:relative;display:inline-flex;align-items:center;padding:6px}
.bell svg{width:22px;height:22px}
.bell .badge{position:absolute;top:-2px;right:-4px;min-width:18px;height:18px;padding:0 4px;
  background:#E23B3B;color:#fff;border-radius:9px;font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;font-family:var(--sans)}
.btn.is-fav{color:var(--accent);border-color:var(--accent)}
.savesearch{display:inline-block;margin-top:8px}

.notif-list{display:flex;flex-direction:column;gap:8px}
.notif{display:flex;gap:12px;align-items:center;background:var(--card);border:1px solid var(--line);
  border-radius:12px;padding:12px 14px;text-decoration:none;color:var(--ink)}
.notif--new{border-color:var(--accent);background:var(--accent-soft)}
.notif__ic{font-size:18px;flex:0 0 auto}
.notif__body{display:flex;flex-direction:column;min-width:0}
.notif__msg{font-weight:500;font-size:14px}
.notif__time{color:var(--muted);font-size:12px;margin-top:2px}

.two-col--top{align-items:start}
.ss-list{display:flex;flex-direction:column;gap:8px}
.ss-row{display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.ss-row a{text-decoration:none;color:var(--ink);font-weight:500;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-row .btn{padding:6px 10px;font-size:12px}

/* ---- Fixes-Runde ---- */
/* Avatare: weißer Hintergrund, wenn Bild den Kasten nicht füllt */
.prof-av img,.prof-av--lg img,.manage__thumb img,.av img{background:#fff}
.av{overflow:hidden}
.av img{width:100%;height:100%;object-fit:cover}

/* Verkäufer-Box: Verifiziert grün, abwesend-Hinweis */
.away-dot{color:#E9A23B;font-weight:600}
.state-away{background:#FEF9F0;border-color:#E9A23B;color:#7a5b1e}
.pill--away{background:#FDECCB;color:#8a5a10}
.prof-away{margin:8px 0 0;font-size:13px;color:#8a5a10}

/* Melden links / ID rechts */
.report-row{font-size:12px;color:var(--muted)}
.report-row .report-link{color:var(--muted);text-decoration:none}
.report-row .listing-id{color:var(--muted)}

/* Merkliste: gesperrte (reservierte/verkaufte) Karten */
.is-locked{opacity:.5;pointer-events:none;filter:grayscale(.3)}

/* Filterleiste: Filter links, Aktion rechts */
.filterbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:0 0 18px}
.filterbar__filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0}
.filterbar__save{margin:0}
.filterbar select,.filterbar input{padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--card);font:inherit}
.filterbar__filters input[name=pmin],.filterbar__filters input[name=pmax]{max-width:110px}

/* Leerer Suchtreffer */
.noresult{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px}
.noresult h2{margin:0 0 6px;font-family:'Space Grotesk',sans-serif;font-size:20px}
.noresult__lead{font-weight:600;margin:0 0 8px}
.noresult__tips{margin:0 0 16px;padding-left:18px;color:var(--muted);line-height:1.7}
.noresult__actions{display:flex;gap:10px;flex-wrap:wrap}

/* Profil-Banner: Folgen rechts */
.prof-banner{display:flex;gap:18px;align-items:center}
.prof-banner__info{flex:1;min-width:0}
.prof-banner__action{flex:0 0 auto}

/* Konto mit Tab-Navigation */
.acct{display:grid;grid-template-columns:210px 1fr;gap:22px;margin-top:8px}
.acct-nav{display:flex;flex-direction:column;gap:4px;position:sticky;top:16px;align-self:start}
.acct-nav__item{text-align:left;padding:11px 14px;border:0;background:transparent;border-radius:10px;
  font:inherit;font-weight:600;font-size:14px;color:var(--muted);cursor:pointer}
.acct-nav__item:hover{background:var(--accent-soft);color:var(--accent)}
.acct-nav__item.is-active{background:var(--accent);color:#fff}
.acct-panel{display:none}
.acct-panel.is-active{display:block}
.acct-save{margin-top:16px}
@media(max-width:860px){
  .acct{grid-template-columns:1fr}
  .acct-nav{flex-direction:row;overflow-x:auto;position:static}
  .acct-nav__item{white-space:nowrap}
}

/* Drag&Drop-Upload */
.dropzone{position:relative;border:2px dashed var(--line);border-radius:14px;padding:26px;text-align:center;
  background:var(--bg);cursor:pointer;transition:border-color .15s,background .15s}
.dropzone.is-over{border-color:var(--accent);background:var(--accent-soft)}
.dropzone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.dropzone__hint{color:var(--muted);font-size:14px;pointer-events:none}
.dropzone__hint b{color:var(--ink)}
.previews{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.preview{position:relative;width:110px}
.preview img{width:110px;height:110px;object-fit:cover;border-radius:10px;border:1px solid var(--line);background:#fff}
.preview.is-title img{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.preview__del{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;
  border:0;background:#B4322A;color:#fff;cursor:pointer;font-size:15px}
.preview__title{display:block;width:100%;margin-top:4px;border:1px solid var(--line);background:var(--card);
  border-radius:8px;padding:4px 6px;font-size:11px;cursor:pointer;color:var(--muted)}
.preview.is-title .preview__title{border-color:var(--accent);color:var(--accent);font-weight:600}

/* Benachrichtigungs-Punkt statt Emoji */
.notif__dot{width:9px;height:9px;border-radius:50%;background:var(--muted);flex:0 0 auto;margin-top:6px}
.notif--new .notif__dot{background:var(--accent)}
.notif--follow_new .notif__dot{background:#3b82f6}
.notif--search_hit .notif__dot{background:#0ea5a5}
.notif--fav_change .notif__dot{background:#E9A23B}

/* ---- Phase 3.3: Bewertungen ---- */
.prof-rating{margin:8px 0 0;font-size:14px}
.prof-rating b{color:var(--accent)}

.rating-summary{display:flex;gap:26px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.rating-big{text-align:center}
.rating-num{font-family:'Space Grotesk',sans-serif;font-size:44px;font-weight:700;color:var(--accent)}
.rating-of{color:var(--muted)}
.rating-label{font-size:13px;color:var(--muted);margin-top:2px}
.rating-bars{display:flex;flex-direction:column;gap:6px;min-width:220px}
.rbar{display:flex;justify-content:space-between;font-size:13.5px;border-bottom:1px solid var(--line);padding-bottom:4px}
.rbar em{font-style:normal;font-weight:600;color:var(--accent)}

.review-list{display:flex;flex-direction:column;gap:14px}
.review{border:1px solid var(--line);border-radius:12px;padding:14px}
.review__head{display:flex;gap:8px;align-items:center;font-size:14px}
.review__role{font-size:12px;color:var(--muted);background:var(--accent-soft);border-radius:6px;padding:1px 7px}
.review__time{margin-left:auto;color:var(--muted);font-size:12px}
.review__crit{font-size:12.5px;color:var(--muted);margin-top:6px}
.review__text{margin:8px 0 0;font-size:14px;line-height:1.55}
.review__response{margin:10px 0 0;padding:10px 12px;background:var(--bg);border-radius:10px;font-size:13.5px}
.review__reply{display:flex;gap:8px;margin-top:10px}
.review__reply input{flex:1;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font:inherit}

/* Bewertungs-Formular: Stufen 1..5 */
.rate-row{margin-bottom:14px;border:0;padding:0}
.rate-row>legend{display:block;font-weight:600;font-size:14px;margin-bottom:6px;padding:0}
.stars{display:flex;gap:8px}
.star{cursor:pointer}
.star input{position:absolute;opacity:0;width:0;height:0}
.star span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line);
  border-radius:10px;font-weight:600;color:var(--muted);background:var(--card)}
.star input:checked+span{background:var(--accent);color:#fff;border-color:var(--accent)}

.notif--deal_new .notif__dot,.notif--deal_ok .notif__dot{background:#8b5cf6}
.notif--review_new .notif__dot{background:#22c55e}

/* Anzeigenbild: weißer Hintergrund statt Transparenz-Kästchen (Kasten bleibt) */
.main-img{background:#fff}
.main-img img{background:#fff}
.thumbs img{background:#fff}
.listing .thumb img{background:#fff}

/* ---- Phase 4: Nachrichten ---- */
.navcount{background:#E23B3B;color:#fff;border-radius:9px;padding:0 6px;font-size:11px;font-weight:700}

.conv-list{display:flex;flex-direction:column;gap:8px}
.conv-item{display:flex;gap:12px;align-items:center;background:var(--card);border:1px solid var(--line);
  border-radius:12px;padding:12px 14px;text-decoration:none;color:var(--ink)}
.conv-item--unread{border-color:var(--accent);background:var(--accent-soft)}
.conv-av{width:46px;height:46px;flex:0 0 auto;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--accent)}
.conv-av img{width:100%;height:100%;object-fit:cover;background:#fff}
.conv-body{flex:1;min-width:0;display:flex;flex-direction:column}
.conv-top{display:flex;justify-content:space-between;gap:8px}
.conv-time{color:var(--muted);font-size:12px}
.conv-sub{color:var(--accent);font-size:12.5px}
.conv-last{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conv-badge{background:var(--accent);color:#fff;border-radius:10px;min-width:20px;height:20px;padding:0 6px;
  display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}

.chat{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.chat__head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.chat__listing{display:block;font-size:12.5px;color:var(--accent);text-decoration:none;margin-top:2px}
.chat__msgs{display:flex;flex-direction:column;gap:8px;padding:16px;max-height:56vh;overflow-y:auto}
.msg{max-width:76%;padding:9px 13px;border-radius:14px;font-size:14px;line-height:1.45}
.msg__time{font-size:10.5px;color:var(--muted);margin-top:3px}
.msg--them{align-self:flex-start;background:var(--bg);border:1px solid var(--line)}
.msg--me{align-self:flex-end;background:var(--accent);color:#fff}
.msg--me .msg__time{color:rgba(255,255,255,.75)}
.msg--system{align-self:center;background:transparent;color:var(--muted);font-size:12.5px;font-style:italic;
  max-width:90%;text-align:center;border:0}
.msg--offer{background:var(--accent-soft);border:1px solid var(--accent);color:var(--ink);text-align:center}
.msg--offer.msg--me{color:var(--ink)}
.offer-amt{font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;color:var(--accent)}
.offer-cap{font-size:11.5px;color:var(--muted)}
.offer-actions{display:flex;gap:6px;justify-content:center;margin-top:8px}
.offer-actions .btn{padding:6px 12px;font-size:12.5px}
.offer-status{font-size:12px;color:var(--muted);margin-top:4px}
.offer-status--ok{color:#1f7a43;font-weight:600}

.quick{display:flex;gap:8px;flex-wrap:wrap;padding:10px 16px 0}
.chip{border:1px solid var(--line);background:var(--card);border-radius:20px;padding:7px 13px;font-size:12.5px;cursor:pointer;color:var(--ink)}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chat__compose{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.chat__compose textarea{flex:1;resize:vertical;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit}
.offer-form{display:flex;gap:8px;align-items:center;padding:0 16px 14px;flex-wrap:wrap}
.offer-form label{font-size:13px;color:var(--muted)}
.offer-form input{padding:9px 11px;border:1px solid var(--line);border-radius:10px;font:inherit;max-width:140px}
.notif--message .notif__dot{background:var(--accent)}

/* ============ Fix-Runde 2 ============ */
/* WEISS nur dort, wo vorher nur ein leerer Rahmen war: Nachrichten & Benachrichtigungen */
.chat,.chat2__side,.chat2__main,.notif{background:#fff}
.notif--new{background:#fff}
.conv-item{background:#fff}
.conv-item--unread{background:#fff}

/* Zähler/Badges in Lila statt Rot */
.bell .badge,.navcount{background:var(--accent);color:#fff}
.conv-badge{background:var(--accent)}

/* Verkäufer-Bewertung im Anzeigen-Kasten */
.seller-rating{display:block;margin-top:4px;font-size:12.5px;color:var(--ink)}
.seller-rating b{color:var(--accent)}

/* Statistik-Box im Konto */
.stats-box{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.stat{flex:1;min-width:110px;text-align:center;padding:12px 8px;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat__num{display:block;font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:700;color:var(--accent)}
.stat__lbl{font-size:12px;color:var(--muted)}

/* Zweispaltiger Chat (links Artikel, rechts Nachrichten) */
.chat2{display:grid;grid-template-columns:290px 1fr;gap:18px;align-items:start}
.chat2__side{border:1px solid var(--line);border-radius:16px;padding:14px;position:sticky;top:16px;display:flex;flex-direction:column;gap:12px}
.chat2__item{display:flex;gap:12px;text-decoration:none;color:var(--ink)}
.chat2__thumb{width:64px;height:64px;flex:0 0 auto;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.chat2__thumb img{width:100%;height:100%;object-fit:cover;background:#fff}
.chat2__meta{display:flex;flex-direction:column;gap:3px;min-width:0}
.chat2__price{color:var(--accent);font-weight:700}
.chat2__with{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:10px}
.chat2__main{border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.chat2__main .chat__msgs{max-height:60vh}
.report-box{border-top:1px solid var(--line);padding-top:10px}
.report-box summary{cursor:pointer;font-size:13px;color:var(--muted)}
.report-box textarea{width:100%;margin:8px 0;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font:inherit;resize:vertical}
.offer-text{font-size:12.5px;color:var(--muted);margin-top:6px;line-height:1.4}
@media(max-width:820px){ .chat2{grid-template-columns:1fr} .chat2__side{position:static} }

/* ============ Fix-Runde 3 ============ */
/* Benachrichtigung löschen (x rechts) */
.notif{justify-content:space-between}
.notif__link{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);flex:1;min-width:0}
.notif__del button{border:0;background:transparent;color:var(--muted);font-size:20px;cursor:pointer;line-height:1;padding:4px 8px}
.notif__del button:hover{color:#B4322A}

/* Streichpreis */
.oldprice{color:var(--muted);font-weight:500;margin-left:6px;font-size:.85em}
.pricecut{display:inline-block;margin-left:8px;background:#e7f6ec;color:#1f7a43;border-radius:6px;padding:1px 8px;font-size:12px;font-weight:600;vertical-align:middle}
.price .oldprice{font-size:.8em}

/* Verkauft-Bestätigung als Inline-Banner (kein Popup) */
.sell-confirm{margin-top:8px;padding:12px;border:1px solid var(--accent);border-radius:12px;background:var(--accent-soft)}
.sell-confirm p{margin:0 0 10px;font-size:13.5px}
.sell-confirm form{display:flex;gap:8px}
.agreed-note{padding:10px 16px 14px;font-size:13px;color:#1f7a43}
.agreed-note b{color:var(--accent)}

/* Profil-Banner mit Rating rechts + Aktionsspalte */
.prof-banner{flex-wrap:wrap}
.prof-rating-box{display:flex;gap:18px;align-items:center;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.prof-rating-box .rating-num{font-size:34px}
.prof-rating-box .rating-bars{min-width:190px}
.prof-banner__action{display:flex;flex-direction:column;gap:8px;min-width:170px}
.prof-banner__action form{margin:0}
@media(max-width:820px){ .prof-rating-box{width:100%} .prof-banner__action{width:100%} }

/* Bewertung: Artikelzeile */
.review__article{font-size:12.5px;color:var(--ink);margin-top:4px}
.review__article b{font-weight:600}

/* ============ Phase 5: Hervorhebungen & Abrechnung ============ */
/* Karten-Hervorhebung – ein Violett-Ton, dunkler = mehr Wert
   Hochschieben 2,50 (hell) · Galerie 3,00 (mittel) · Premium 4,00 (dunkel) */
.listing--bump{box-shadow:0 0 0 2px #b9aef2 inset;border-radius:14px}
.listing--gallery{box-shadow:0 0 0 2px #7c6be8 inset;border-radius:14px}
.listing--premium{box-shadow:0 0 0 2px #4b3bc9 inset;border-radius:14px}
.tag--bump{background:#b9aef2;color:#fff}
.tag--gallery{background:#7c6be8;color:#fff}
.tag--premium{background:#4b3bc9;color:#fff}

/* Weiße Boxen im Konto/Profil (wie gewünscht) */
.manage__row,.ss-row,.review{background:#fff}

/* Buchungs-Optionen: Hover überall lila */
.boost-opt:hover{border-color:var(--accent)}

/* Top-Anzeigen-Reihe (horizontal scrollbar) */
.gallery-row{display:flex;gap:14px;overflow-x:auto;padding-bottom:6px;margin-bottom:8px}
.gallery-row .listing,.gallery-row>a{flex:0 0 210px}

/* Buchungs-Box auf der Anzeige */
.boost-box{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}
.boost-head{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:15px}
.boost-sub{font-size:12.5px;color:var(--muted);margin:2px 0 10px}
.boost-opts{display:flex;flex-direction:column;gap:8px}
.boost-opt{display:flex;justify-content:space-between;align-items:center;width:100%;
  border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;cursor:pointer;font:inherit}
.boost-opt b{font-weight:600}
.boost-opt span{color:var(--muted);font-size:13px}

/* Rechnung */
.bill-total{font-size:15px;margin:0 0 14px}
.bill-total b{color:var(--accent);font-size:20px;font-family:'Space Grotesk',sans-serif}

/* ============ Fix-Runde 4 ============ */
/* Highlight-Hinweis auf der Anzeige */
.hl-note{font-weight:600}
.hl-note--gallery{background:#efecfc;border-color:#7c6be8;color:#5b4be8}
.hl-note--premium{background:#e9e6fb;border-color:#4b3bc9;color:#4b3bc9}
.hl-note--bump{background:#f3f0fd;border-color:#b9aef2;color:#5b4bc9}

/* Boost-Box: Optionen mit Beschreibung + Inline-Bestätigung */
.boost-item{border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}
.boost-item .boost-opt{border:0;padding:0;background:transparent;width:100%}
.boost-item .boost-opt[disabled]{opacity:.45;cursor:not-allowed}
.boost-desc{font-size:11.5px;color:var(--muted);margin:6px 0 0}
.boost-confirm{margin-top:10px;padding:10px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft);font-size:13px}
.boost-confirm span{display:block;margin-bottom:8px}
.boost-confirm form{display:flex;gap:8px;flex-wrap:wrap}
.boost-confirm .btn{padding:7px 12px;font-size:13px}
.boost-consent{display:flex;align-items:flex-start;gap:6px;width:100%;font-size:11.5px;color:var(--muted);margin-bottom:2px;cursor:pointer}
.boost-consent input{margin-top:2px;flex:0 0 auto}

/* Nachricht bearbeiten/löschen */
.msg-act{border:0;background:transparent;cursor:pointer;color:inherit;opacity:.6;font-size:13px;padding:0 2px;margin-left:4px}
.msg--me .msg-act{color:#fff}
.msg-act:hover{opacity:1}
.msg-edit{margin-top:8px;display:flex;gap:6px}
.msg-edit textarea{flex:1;border:1px solid var(--line);border-radius:8px;padding:6px 8px;font:inherit}
.msg-edit .btn{padding:6px 10px;font-size:12px}

/* Inbox: Unterhaltung löschen */
.conv-wrap{display:flex;align-items:stretch;gap:6px}
.conv-wrap .conv-item{flex:1}
.conv-del{display:flex}
.conv-del button{border:1px solid var(--line);background:#fff;border-radius:12px;width:40px;cursor:pointer;color:var(--muted);font-size:18px}
.conv-del button:hover{color:#B4322A;border-color:#f1c9c4}

/* Anzeige melden inline */
.report-inline{flex:1}
.report-inline summary{cursor:pointer;color:var(--muted);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.report-inline textarea{width:100%;margin:8px 0;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font:inherit;resize:vertical}

/* Profil: Overflow-Menü */
.prof-more{position:relative}
.prof-more summary{list-style:none;cursor:pointer;text-align:center;padding:9px 12px;border:1px solid var(--line);border-radius:10px;font-size:13.5px;color:var(--muted)}
.prof-more__menu{position:absolute;right:0;top:calc(100% + 4px);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.1);z-index:20;min-width:180px;overflow:hidden}
.prof-more__menu button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:10px 14px;cursor:pointer;font:inherit}
.prof-more__menu button:hover{background:var(--accent-soft);color:var(--accent)}

/* Kontakt volle Breite */
.prose-page--wide{max-width:none}
.contact-form{max-width:none}

/* Bewertungs-Box weiß (Wiederholung zur Sicherheit) */
.review{background:#fff}

/* ============ Phase 5.1: Rechnung / Preise ============ */
.inv-actions{margin-bottom:12px}
.invoice{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;max-width:760px}
.inv-top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.inv-logo{max-height:52px}
.inv-brand{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:22px;color:var(--accent)}
.inv-issuer p{color:var(--muted);font-size:13px;margin:8px 0 0}
.inv-meta h1{font-family:'Space Grotesk',sans-serif;margin:0}
.inv-meta p{font-size:13px;color:var(--muted)}
.inv-cust{margin:22px 0;font-size:13.5px;line-height:1.6}
.inv-table{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:8px}
.inv-table th,.inv-table td{border-bottom:1px solid var(--line);padding:9px 10px;text-align:left}
.inv-table .r{text-align:right}
.inv-sum{font-weight:700}
.inv-sum td{border-top:2px solid var(--ink);border-bottom:0}
.inv-note,.inv-bank{font-size:12px;color:var(--muted);margin-top:12px}
@media print{ .topbar,.rail,.site-footer,.inv-actions,.to-top{display:none!important} .invoice{border:0;max-width:none} }

.price-table{width:100%;border-collapse:collapse;font-size:14px;margin:10px 0 6px}
.price-table th,.price-table td{border-bottom:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
.price-table th{font-family:var(--mono);font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}

/* ============ Fix-Runde 5: kompakte Karten ============ */
.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:12px}
.gallery-row .lcell,.gallery-row>*{flex:0 0 160px}
.lcell{position:relative;display:block}
.listing .ttl{
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
  min-height:3.6em;line-height:1.2}
.listing .body{padding:10px}
.listing .price{font-size:15px}
/* funktionierendes Herz oben rechts */
.favf{position:absolute;top:8px;right:8px;margin:0;z-index:2}
.favf .fav{width:32px;height:32px;border:0;border-radius:50%;background:rgba(255,255,255,.9);
  display:flex;align-items:center;justify-content:center;cursor:pointer;color:#888;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.favf .fav svg{width:18px;height:18px}
.favf .fav.is-fav{color:#e0245e}
.favf .fav.is-fav svg{fill:#e0245e}

/* ============ Fix-Runde 5: Rest ============ */
/* Inline-Bestätigung */
.confirm-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;padding:10px;
  border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft);font-size:13px}
.confirm-bar .btn{padding:6px 12px;font-size:12.5px}

/* Konto-Navi etwas tiefer starten */
.acct-nav{padding-top:6px}
@media(min-width:861px){ .acct-nav{margin-top:44px} }
.foot-sub{margin-top:20px!important}

/* Footer: Abstand vor "powered by" */
.foot-credit{margin-top:14px}

/* ============ Fix-Runde 6 ============ */
/* Herz violett gefüllt */
.favf .fav.is-fav{color:var(--accent)}
.favf .fav.is-fav svg{fill:var(--accent);stroke:var(--accent)}

/* Karten: feste Bildhöhe (Chrome-sicher) + Titel 2 Zeilen + Leerzeile */
.listing .thumb{aspect-ratio:auto;height:150px;position:relative;overflow:hidden;background:#fff}
.listing .thumb img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.listing .ttl{
  display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  height:2.4em;line-height:1.2;margin-bottom:.5em}
.listing .meta{white-space:nowrap}

/* ============ Fix-Runde 6: Profil + Lightbox ============ */
/* Lightbox */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:200;align-items:center;justify-content:center;cursor:zoom-out;padding:20px}
.lightbox img{max-width:96vw;max-height:96vh;border-radius:8px}

/* Bearbeitungs-Hinweis */
.edit-note{margin:12px 0 0;font-size:12px;color:var(--muted);font-style:italic}

/* Profil neu */
.prof2{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:14px;background-size:cover;background-position:center}
.prof2--cover{min-height:200px;border:0;color:#fff;display:flex;align-items:flex-end}
.prof2__head{display:flex;gap:16px;align-items:center;width:100%}
.prof2--cover .prof-av{border:2px solid #fff}
.prof2__info{flex:1;min-width:0}
.prof2__info h1{margin:0;font-family:'Space Grotesk',sans-serif;font-size:24px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prof2--cover .prof2__info h1{color:#fff}
.prof2__sub,.prof2__ship,.prof2__note{margin:4px 0 0;font-size:13px}
.prof2--cover .prof2__sub,.prof2--cover .prof2__ship{color:#f0f0f0}
.prof2__actions{margin-top:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prof2__actions .sep{color:var(--muted)}
.prof2--cover .prof2__actions .sep{color:#ddd}
.linkbtn{border:0;background:transparent;color:var(--accent);cursor:pointer;font:inherit;padding:0;text-decoration:underline}
.prof2--cover .linkbtn{color:#fff}
.linkbtn:hover{opacity:.8}
.prof2__actions form{margin:0}

/* Rating-Kopf im Bewertungen-Tab */
.rating-head{display:flex;gap:26px;align-items:center;flex-wrap:wrap;margin-bottom:14px}

/* ============ Fix-Runde 7: einheitliche Optik ============ */
/* Karten exakt 6 pro Reihe, überall gleich; responsive */
.grid,.gallery-row{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px}
.gallery-row{overflow:visible}
.gallery-row .lcell,.gallery-row>*{flex:none}
@media(max-width:1150px){.grid,.gallery-row{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:820px){.grid,.gallery-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:520px){.grid,.gallery-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Kein Schatten, überall Rahmen; Karten-Hover = volle violette Linie */
.card-pad,.listing,.notif,.conv-item,.manage__row,.ss-row,.review,.chat,
.chat2__side,.chat2__main,.stats-box,.dropzone,.boost-item,.invoice,.rating-summary{
  box-shadow:none!important;border:1px solid var(--line);border-radius:14px}
.listing{transition:border-color .12s;overflow:hidden;background:#fff}
.listing:hover{border-color:var(--accent)}
/* Highlight-Stufen nur über Rahmenfarbe (kein Ring/Schatten) */
.listing--bump{border-color:#b9aef2!important}
.listing--gallery{border-color:#7c6be8!important}
.listing--premium{border-color:#4b3bc9!important}

/* Leerzustände dezent gestrichelt – überall gleich */
.empty,.noresult{border:1px dashed var(--line);border-radius:14px;background:transparent;color:var(--muted)}

/* Merken-Zähler + Herz oben rechts */
.favwrap{position:absolute;top:8px;right:8px;display:flex;align-items:center;gap:5px;z-index:2}
.favcount{background:rgba(255,255,255,.92);border-radius:10px;padding:1px 7px;font-size:11px;font-weight:700;color:#555;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.favf{margin:0}
.fav.fav--static{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.92);color:#999;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.fav.fav--static svg{width:17px;height:17px}
.filter-reset{margin-left:4px}

/* ============ Fix-Runde 8 ============ */
/* Karten: gestrichelter Rahmen, Hover = volle violette Linie */
.listing{border:1px dashed var(--line)!important}
.listing:hover{border:1px solid var(--accent)!important}
.listing--bump{border-color:#b9aef2!important}
.listing--gallery{border-color:#7c6be8!important}
.listing--premium{border-color:#4b3bc9!important}

/* Textseiten OHNE Rahmen/Box */
.prose-page{border:0!important;background:transparent!important;padding:0!important}

/* „Weitere Anzeigen" auf der Detailseite wieder breiter */
.grid--rel{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important}

/* Herz + Zahl in EINEM Badge (gleiche Höhe, wird breiter bei großer Zahl) */
.favwrap{position:absolute;top:8px;right:8px;z-index:2}
.favf{margin:0}
.fav-badge{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 10px;border:0;border-radius:15px;
  background:rgba(255,255,255,.92);color:#777;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.15);font:inherit;text-decoration:none}
.fav-badge svg{width:17px;height:17px}
.fav-badge__n{font-size:12px;font-weight:700}
.fav-badge.is-fav{color:var(--accent)}
.fav-badge.is-fav svg{fill:var(--accent);stroke:var(--accent)}

/* ============ Teil 3: Profil-Kopf (Cover-Band + Karte) ============ */
.prof-cover{width:100%;height:240px;border-radius:16px;background-size:cover;background-position:center;margin-top:14px}
.prof-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-top:14px;
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
.prof-card--over{margin-top:-70px;position:relative;z-index:1;box-shadow:0 6px 24px rgba(0,0,0,.08)}
.prof-card__main{display:flex;gap:16px;align-items:flex-start;flex:1;min-width:260px}
.prof-card__info{flex:1;min-width:0}
.prof-card__info h1{margin:0;font-family:'Space Grotesk',sans-serif;font-size:24px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prof-card .prof-av--lg{width:88px;height:88px;border-radius:18px;overflow:hidden;flex:0 0 auto}
.prof-card .prof-av--lg img{width:100%;height:100%;object-fit:cover}
.prof-card__contact{min-width:240px;border-left:1px solid var(--line);padding-left:18px}
.pc-row{display:grid;grid-template-columns:110px 1fr;gap:8px;font-size:13px;padding:6px 0;border-bottom:1px solid var(--line)}
.pc-row:last-child{border-bottom:0}
.pc-row b{color:var(--muted);font-weight:600}
@media(max-width:820px){
  .prof-cover{height:150px}
  .prof-card--over{margin-top:-50px}
  .prof-card__contact{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:10px;width:100%}
}

/* ============ Teil 3b: Profil-Feinschliff ============ */
/* Tab-Inhalte ohne Rahmen, nur etwas Luft */
.tabpane{background:transparent;border:0;padding:6px 0 0}
.rating-head{border:0;background:transparent;padding:0;margin-bottom:16px}

/* Aktionen als kleine Buttons */
.prof-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.prof-actions form{margin:0}
.btn--sm{padding:7px 14px;font-size:13px}

/* Bewertungen: weiße Karten mit Abstand (einfacher Rahmen) */
.review-list{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.review{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}

/* ============ Teil 4: Recht/Nachrichten ============ */
.consumer-note{font-size:12.5px;color:var(--muted);line-height:1.55;margin-bottom:12px}
.consumer-note b{color:var(--ink)}
/* Bearbeiten wirklich erst nach Klick auf Stift (hidden schlägt display:flex) */
.msg-edit[hidden]{display:none!important}
/* Schnellantworten mit Abstand zur Trennlinie */
.quick{padding-top:12px;margin-top:4px}

/* Beliebte Suchen */
.poptags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.poptag{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:7px 14px;
  font-size:13px;color:var(--ink);text-decoration:none}
.poptag:hover{border-color:var(--accent);color:var(--accent)}

/* ============ Teil 4b ============ */
/* Bestätiger als fixer Banner unten (Cookie-Stil) */
.confirm-banner{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:300;
  display:none;align-items:center;gap:14px;flex-wrap:wrap;max-width:560px;width:calc(100% - 32px);
  background:#fff;border:1px solid var(--accent);border-radius:14px;padding:12px 16px;
  box-shadow:0 10px 30px rgba(0,0,0,.18);font-size:14px}
.confirm-banner .cb-btns{display:flex;gap:8px;margin-left:auto}
.confirm-banner .btn{padding:7px 14px;font-size:13px}

/* Emoji-Auswahl im Chat */
.emoji-btn{border:1px solid var(--line);background:#fff;border-radius:10px;width:40px;cursor:pointer;font-size:18px}
.chat__compose{align-items:stretch}
.emoji-pal{display:flex;flex-wrap:wrap;gap:4px;padding:8px 16px;border-top:1px solid var(--line)}
.emoji-i{border:0;background:transparent;cursor:pointer;font-size:20px;line-height:1;padding:3px 5px;border-radius:8px}
.emoji-i:hover{background:var(--accent-soft)}

/* Anbieterkennzeichnung */
.provider-note .kv-grid{gap:8px}
.provider-note .kv-grid>div{grid-template-columns:130px 1fr}

/* ============ Fix-Runde 9 ============ */
/* --- Wiederverwendbare Inline-Lösch-Bestätigung: X -> Box rutscht nach links,
       Nachfrage „Löschen? Ja / Abbrechen" auf GLEICHER Höhe (kein Popup, kein
       fixer Banner unten). Wird bei Nachrichten, Meine Anzeigen, Suchaufträgen
       und „Ich folge" genutzt. --- */
.slidedel{display:flex;align-items:stretch;gap:8px;min-width:0}
.slidedel__main{flex:1 1 auto;min-width:0}
.slidedel>.sd-x{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:10px;
  width:40px;min-height:34px;cursor:pointer;color:var(--muted);font-size:18px;line-height:1;
  display:flex;align-items:center;justify-content:center;transition:color .12s,border-color .12s}
.slidedel>.sd-x:hover{color:var(--bad);border-color:#f1c9c4}
.slidedel__ask{flex:0 0 auto;display:flex;align-items:center;gap:8px;white-space:nowrap;
  overflow:hidden;max-width:0;opacity:0;padding:0;will-change:max-width;
  transition:max-width .30s cubic-bezier(.25,.8,.35,1),opacity .22s ease,padding .30s cubic-bezier(.25,.8,.35,1)}
.slidedel.is-asking .slidedel__ask{max-width:340px;opacity:1;padding-left:4px}
.slidedel.is-asking>.sd-x{display:none}
.slidedel__ask form{margin:0;display:inline-flex}
.sd-q{font-size:13px;color:var(--muted)}
.slidedel__ask .btn{padding:6px 12px;font-size:12.5px}

/* Nachrichten-Variante: rechtsbündig, Blase wird beim Nachfragen nach links geschoben,
   das X ist genauso hoch wie die Nachrichtenblase */
.slidedel--msg{align-self:flex-end;max-width:88%}
.slidedel--msg .msg{max-width:100%}
.slidedel--msg .slidedel__ask{background:#fff;border:1px dashed var(--line);border-radius:10px}
.slidedel--msg.is-asking .slidedel__ask{padding:4px 10px}

/* --- Meine Anzeigen: Löschen ist jetzt nur noch das X hinter der Box --- */
.manage .slidedel__main.manage__row{flex:1 1 auto}

/* --- Käufe & Bestätigungen: leere Zustände wieder als weißer Content-Kasten --- */
#panel-deals .empty{background:#fff}

/* --- Einstellungen: kompletter Rahmen raus (sonst nichts) --- */
#panel-einstellungen>.card-pad{border:0!important;background:transparent}

/* --- Rechnung (Mein Konto): Rahmen weg --- */
#panel-rechnung .card-pad{border:0!important;background:transparent}

/* --- Profil: Boxen gestrichelt, passend zum Rest --- */
.prof-card{border:1px dashed var(--line)!important}
.prof-card__contact{border-left:1px dashed var(--line)}
.pc-row{border-bottom:1px dashed var(--line)}
.pc-row:last-child{border-bottom:0}

/* --- Chat: etwas Luft zwischen den Schnell-Antworten und der Trennlinie --- */
.quick{padding-bottom:14px}

/* ============ Fix-Runde 10 ============ */
/* Anzeigen-Detailseite: alle Boxen (Bilder, Beschreibung, Verkäufer) gestrichelt */
.gallery{border:1px dashed var(--line)!important;box-shadow:none!important}
.detail .card-pad{border:1px dashed var(--line)!important;box-shadow:none!important}

/* ============ Käuferschutz („Sicher bezahlen") ============ */
.secure-page{max-width:720px}
.secure-box{border:1px dashed var(--line);border-radius:16px;padding:20px;background:#fff}
.secure-box__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.secure-box__head h1{font-family:'Space Grotesk',sans-serif;font-size:22px;margin:0;display:flex;align-items:center;gap:8px}
.secure-box__head h1 svg{width:22px;height:22px;stroke:var(--accent)}
.secure-box__listing{color:var(--muted);margin:6px 0 16px}
.secure-breakdown{border:1px dashed var(--line);border-radius:12px;padding:12px 14px;margin-bottom:16px}
.secure-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;padding:4px 0}
.secure-breakdown__total{border-top:1px dashed var(--line);margin-top:6px;padding-top:8px!important;font-size:17px}
.secure-breakdown__note{justify-content:flex-start!important}
.secure-step{border-top:1px dashed var(--line);padding-top:14px;margin-top:4px}
.secure-step h2{font-family:'Space Grotesk',sans-serif;font-size:16px;margin:0 0 6px}
.secure-bank{display:inline-block;background:#f5f4ff;border:1px dashed var(--line);border-radius:8px;padding:8px 10px;margin-top:4px}
.secure-done{color:#1f7a4d;font-weight:600;margin-top:14px}
.secure-dispute{margin-top:16px}
.secure-dispute summary{cursor:pointer;color:var(--muted)}
.secure-dispute textarea{width:100%;margin:8px 0}
.secure-dispute-note{margin-top:14px;background:#fbf3ec;border:1px dashed #e6c6a8;border-radius:10px;padding:10px 12px}
.secure-flow{list-style:none;counter-reset:sf;padding:0;margin:20px 0 0;display:grid;gap:8px}
.secure-flow li{counter-increment:sf;position:relative;padding-left:34px;color:var(--muted)}
.secure-flow li::before{content:counter(sf);position:absolute;left:0;top:-1px;width:24px;height:24px;border-radius:50%;
  border:1px dashed var(--line);display:flex;align-items:center;justify-content:center;font-size:12px;background:#fff}
.secure-flow li.is-done{color:var(--ink)}
.secure-flow li.is-done::before{background:var(--accent);color:#fff;border-color:var(--accent);content:'✓'}

/* Mini-Box in der Chat-Seitenspalte */
.secure-mini{border:1px dashed var(--line);border-radius:12px;padding:12px;margin-top:4px;background:#f9f8ff}
.secure-mini__head{font-weight:600;display:flex;align-items:center;gap:6px;margin-bottom:8px}
.secure-mini__head svg{width:16px;height:16px;stroke:var(--accent)}
.secure-mini__txt{font-size:13px;color:var(--muted);margin:0 0 10px}

/* Admin-Aktionsspalte */
.admin-secure-act{display:flex;flex-direction:column;gap:6px;align-items:flex-start}

/* ============ Fix-Runde 11 ============ */
/* Leere Zustände wieder mit weißem Content-Kasten (Kategorie, Suche, überall) */
.empty{background:#fff!important}

/* Mein Konto: alle Boxen gestrichelt statt durchgezogen, weißer Hintergrund */
.manage__row,.ss-row,.notif,.conv-item{border-style:dashed!important;background:#fff!important}

/* Inline-Bestätigung (ersetzt den Banner unten): rechts eingeschoben */
.js-confirm{position:relative}
.js-confirm.is-asking>button{display:none}
.inline-ask{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  animation:inlineask .22s cubic-bezier(.25,.8,.35,1)}
@keyframes inlineask{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}

/* Lösch-Nachfrage (Slide + Inline): gestrichelter ROTER Rahmen, weißer Hintergrund */
.slidedel__ask,.inline-ask{background:#fff;border:1px dashed #d9534f;border-radius:10px;padding:4px 10px}
.slidedel.is-asking .slidedel__ask{padding:6px 10px}
.slidedel__ask .sd-q,.inline-ask .sd-q{color:#b4322a}

/* Profil-Notizen: Kasten gestrichelt, weiß, mit Abstand, über den Karten */
.prof-notes{border:1px dashed var(--line)!important;background:#fff!important;border-radius:14px;
  padding:16px!important;margin-bottom:16px}

/* Beliebte Suchen: volle Content-Breite, links/rechts Luft, bis zu 2 Zeilen */
.poptags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0}
.poptag{flex:0 0 auto}

/* Käuferschutz: „Problem melden" im Stil */
.secure-dispute summary{display:inline-flex;align-items:center;gap:6px;padding:8px 0;font-weight:600;color:var(--muted)}
.secure-dispute[open] summary{color:var(--ink)}
.secure-dispute textarea{width:100%;border:1px dashed var(--line);border-radius:10px;padding:10px;margin:8px 0}

/* Footer-Haupttext auf ~4 Zeilen mit Abstand, Zusatzzeile über „powered by" */
.foot-cols>div:first-child p{max-width:64ch;line-height:1.6;color:#565f6b}
.foot-tagline{text-align:center;color:#565f6b;font-size:13px;max-width:70ch;margin:6px auto 2px;line-height:1.6}

/* etwas Luft zwischen den Hervorhebungs-Optionen */
.boost-item+.boost-item{margin-top:10px}
/* Lösch-Nachfrage auch in Chat-Blasen rot-gestrichelt */
.slidedel--msg .slidedel__ask{border:1px dashed #d9534f!important;background:#fff!important}

/* ============ Käuferschutz Runde 3: Bezahlseite 2-spaltig, Verlauf, Notizen ============ */
.secure-page{max-width:1040px}
.secure-grid{display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:start}
.secure-side{display:grid;gap:16px}
.secure-panel{border:1px dashed var(--line);border-radius:16px;background:#fff;padding:16px}
.secure-panel h2{font-family:'Space Grotesk',sans-serif;font-size:15px;margin:0 0 12px}
.secure-timeline{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.secure-timeline li{display:grid;grid-template-columns:1fr;gap:2px;border-left:2px dashed var(--line);padding:0 0 0 12px;position:relative}
.secure-timeline li::before{content:'';position:absolute;left:-5px;top:4px;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.st-when{font-size:12px;color:var(--muted)}
.st-what{font-size:14px}
.secure-note{border:1px dashed var(--line);border-radius:12px;background:#fff;padding:10px 12px;margin-bottom:10px}
.secure-note--admin{background:#f5f4ff;border-color:#cdc7f5}
.secure-note.is-hidden{opacity:.5}
.sn-head{font-size:13px;margin-bottom:4px}
.sn-head .hint{margin-left:6px}
.secure-note p{margin:2px 0}
.sn-img{max-width:100%;border-radius:8px;margin-top:6px;display:block}
.sn-admin{margin-top:6px}
.secure-note-form{border-top:1px dashed var(--line);padding-top:12px;margin-top:6px}
.secure-note-form textarea{width:100%;border:1px dashed var(--line);border-radius:10px;padding:8px}
.snf-row{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}
.snf-row input[type=file]{font-size:12px;flex:1 1 auto;min-width:0}
.secure-buy-btn svg{width:16px;height:16px;stroke:currentColor;vertical-align:-2px}
@media(max-width:820px){.secure-grid{grid-template-columns:1fr}}

/* ============ Fix-Runde 12 ============ */
/* Abstand zwischen Hervorhebungs-Tabelle und dem Hinweis darunter */
.price-table{margin-bottom:16px}
.price-table + .hint{margin-top:6px;padding-top:14px;border-top:1px dashed var(--line)}
/* Footer: Haupttext 3–4 Zeilen, untere Tagline breiter über 2 Zeilen */
.foot-cols>div:first-child p{max-width:58ch;line-height:1.65}
.foot-tagline{max-width:92ch;line-height:1.7}

/* ============ Fix-Runde 13 ============ */
/* Footer: kleiner Zusatztext mit Abstand */
.foot-sub{margin-top:14px;color:#565f6b;font-size:13px;max-width:60ch;line-height:1.6}
/* Mein Konto: Rahmen um „Gewerblich" weg */
#panel-gewerblich>.card-pad{border:0!important;background:transparent}
/* Käuferschutz: Versandformular + Tracking-Hinweis */
.secure-ship-form{display:grid;gap:10px;margin-top:6px}
.secure-ship-form label{display:grid;gap:4px;font-size:13px;color:var(--muted)}
.secure-ship-form select,.secure-ship-form input{border:1px dashed var(--line);border-radius:10px;padding:8px}
.secure-ship-form .btn{justify-self:start}
.secure-track{background:#f5f4ff;border:1px dashed var(--line);border-radius:10px;padding:8px 10px;margin:0 0 10px}
/* Suche ohne Treffer: weißer Content-Kasten */
.noresult{background:#fff!important}

/* ============ Fix-Runde 14 ============ */
/* „Anzeige aufgeben": Formular + Ablauf-Timeline nebeneinander */
.create-grid{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
.create-main{min-width:0}
.create-aside{position:sticky;top:16px}
.create-flow{border:1px dashed var(--line);border-radius:16px;background:#fff;padding:18px}
.create-flow h3{font-family:'Space Grotesk',sans-serif;font-size:16px;margin:0 0 14px}
.cflow{list-style:none;counter-reset:cf;margin:0;padding:0;display:grid;gap:14px}
.cflow li{counter-increment:cf;position:relative;padding-left:38px;min-height:26px}
.cflow li::before{content:counter(cf);position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;
  background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
.cflow li:not(:last-child)::after{content:'';position:absolute;left:12px;top:28px;bottom:-14px;width:2px;
  background:repeating-linear-gradient(var(--line) 0 4px,transparent 4px 8px)}
.cflow li b{display:block;font-size:14px}
.cflow li span{display:block;font-size:12.5px;color:var(--muted);line-height:1.5;margin-top:2px}
.cflow-note{margin:16px 0 0;font-size:12.5px;color:var(--muted);border-top:1px dashed var(--line);padding-top:12px}

/* ============ Fix-Runde 15 ============ */
/* „Anzeige aufgeben/bearbeiten": volle Content-Breite (Formular + Timeline) */
.createpage{max-width:1220px;background:transparent;border:0;box-shadow:none;border-radius:0;padding:0}
.formwrap.wide.createpage{max-width:1220px}
.createpage>h1,.createpage>.sub,.createpage>.notice{padding:0 2px}
.create-main{background:#fff;border:1px dashed var(--line);border-radius:16px;padding:24px;min-width:0}
.create-grid{grid-template-columns:minmax(0,1fr) 300px}
/* Mobil: Aside komplett weg + Formular auf volle Breite – MUSS nach den Regeln oben stehen,
   sonst gewinnt die unbedingte .create-grid-Regel und die mobile Ein-Spalten-Regel wird ignoriert. */
@media(max-width:820px){.create-grid{grid-template-columns:1fr!important}.create-aside{display:none}.create-main{padding:16px}}
@media(max-width:480px){.create-main{padding:10px}.createpage{padding:0 6px}}
/* Konto-Navigation nochmal 10px tiefer */
@media(min-width:861px){ .acct-nav{margin-top:64px} }

/* ============ Fix-Runde 16: neues Logo (Standort-Pin) ============ */
.mark{background:var(--accent) url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2032%2032%27%3E%3Cpath%20d%3D%27M16%206.4c-3.8%200-6.9%203-6.9%206.8%200%204.8%206.9%2012.4%206.9%2012.4s6.9-7.6%206.9-12.4c0-3.8-3.1-6.8-6.9-6.8z%27%20fill%3D%27%23FBFBF9%27%2F%3E%3Ccircle%20cx%3D%2716%27%20cy%3D%2713%27%20r%3D%272.7%27%20fill%3D%27%235B4BE8%27%2F%3E%3C%2Fsvg%3E") center/17px 17px no-repeat !important;
  box-shadow:none !important; border-radius:8px}
.mark::after{display:none !important}

/* ============ Umkreissuche ============ */
.field--umkreis{display:flex;align-items:center;flex:0 0 auto}
.field--umkreis select{border:0;background:transparent;font:inherit;color:var(--ink);padding:0 4px;cursor:pointer;outline:none;width:auto;max-width:96px}
.searchbar .field--umkreis{border-left:1px solid var(--line);padding-left:6px;flex:0 0 auto;min-width:0}
.searchbar .field--umkreis select{max-width:104px;padding:11px 8px}
@media(max-width:640px){ .searchbar .field--umkreis{border-left:0;width:100%} .field--umkreis select{max-width:none;width:100%;padding:10px 8px} }


/* ---- Suchleiste mobil: saubere gestapelte Reihen ---- */
@media(max-width:720px){
  .searchbar{flex-direction:column; align-items:stretch; gap:8px; padding:10px}
  .searchbar .field,
  .searchbar .field--cat,
  .searchbar .field--loc,
  .searchbar .field--umkreis{
    flex:1 1 100%; width:100%; min-width:0; margin:0;
    border:1px solid var(--line); border-top:1px solid var(--line);
    border-radius:12px; background:var(--paper);
  }
  .searchbar .field svg{left:14px}
  .searchbar input,
  .searchbar select{padding:14px 14px 14px 42px; font-size:16px}
  /* Umkreis hat kein Icon -> normaler linker Abstand, volle Breite */
  .searchbar .field--umkreis{padding-left:0}
  .searchbar .field--umkreis select{max-width:none; width:100%; padding:14px}
  .searchbar > .btn{width:100%; justify-content:center; padding:14px; font-size:16px}
}

/* ---- Benachrichtigungs-Optionen (Mein Konto) ---- */
.notif-opt{display:flex; gap:10px; align-items:flex-start; padding:11px 0; border-bottom:1px dashed var(--line); line-height:1.4}
.notif-opt:last-of-type{border-bottom:0}
.notif-opt input[type=checkbox]{margin-top:3px; flex:0 0 auto}
