:root{--bg:#f5f7f7;--card:#fff;--text:#172426;--muted:#657477;--line:#dfe7e7;--primary:#007782;--primary2:#005b63;--soft:#e8f5f5;--danger:#c83c3c;--shadow:0 14px 34px rgba(17,47,51,.08);--radius:18px}html[data-theme=dark]{--bg:#111718;--card:#192224;--text:#eef6f6;--muted:#9daeb0;--line:#2b393b;--primary:#20a6af;--primary2:#6bc8cf;--soft:#17383b;--shadow:none}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}.app{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:22px;background:#083f44;color:#fff}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.brand small{display:block;opacity:.7;margin-top:2px}.logo{width:42px;height:42px;border-radius:13px;background:#fff;color:#08626b;display:grid;place-items:center;font-weight:900;font-size:22px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:11px 13px;border-radius:11px;opacity:.88}.sidebar nav a:hover{background:rgba(255,255,255,.1);opacity:1}.main{padding:28px;min-width:0}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.topbar h1{margin:0;font-size:30px}.topbar p{margin:5px 0 0;color:var(--muted)}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:var(--card);color:var(--text);padding:10px 14px;border-radius:11px;cursor:pointer;font-weight:700}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.ghost{background:transparent}.btn.danger{background:var(--danger);border-color:var(--danger);color:#fff}.btn.small{padding:7px 10px;font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:18px}.stat{min-height:110px;display:flex;flex-direction:column;justify-content:center}.stat span{color:var(--muted);font-size:13px}.stat strong{font-size:26px;margin-top:8px}.toolbar{margin-bottom:18px}.filters,.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filters{grid-template-columns:2fr repeat(3,1fr) auto}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:18px}.product-card{padding:0;overflow:hidden}.thumb{aspect-ratio:4/3;display:block;background:var(--soft)}.thumb img,.preview-grid img,.main-image img{width:100%;height:100%;object-fit:cover}.placeholder{height:100%;display:grid;place-items:center;color:var(--muted)}.pc-body{padding:17px}.pc-body h3{margin:9px 0 5px;font-size:17px}.muted,.hint{color:var(--muted)}.price-row,.title-line,.card-actions,.actions,.copy-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-actions,.actions{justify-content:flex-start;margin-top:15px}.actions.wrap{flex-wrap:wrap}.badge{font-size:12px;font-weight:800;padding:5px 9px;border-radius:99px}.status-draft{background:#e8ecec;color:#526164}.status-online{background:#dcf6f4;color:#066f73}.status-reserved{background:#fff0d9;color:#a55b00}.status-sold{background:#dff4e7;color:#20733b}.status-archived{background:#d9dddd;color:#41494a}.form-card label,.modal-card label{display:grid;gap:7px;font-weight:700;margin-bottom:14px}input,select,textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);font:inherit}textarea{resize:vertical}.span2{grid-column:1/-1}.dropzone{min-height:190px;border:2px dashed #8db8bb;border-radius:16px;background:var(--soft);display:grid;place-items:center;text-align:center;padding:30px;position:relative;margin-bottom:18px}.dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.dropzone.drag{border-color:var(--primary);transform:scale(1.005)}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:24px}.preview-item{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;border:2px solid transparent;cursor:grab}.preview-item:first-child{border-color:var(--primary)}.preview-item:first-child:after{content:'Titelbild';position:absolute;left:7px;top:7px;background:var(--primary);color:white;padding:4px 7px;border-radius:8px;font-size:11px;font-weight:800}.preview-item button{position:absolute;right:6px;top:6px;border:0;border-radius:99px;width:28px;height:28px;background:#fff;color:#222;cursor:pointer}.split,.product-detail,.settings-grid,.analytics-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}.product-detail{grid-template-columns:minmax(300px,.9fr) minmax(0,1.25fr)}.stack{display:grid;gap:18px}.gallery{align-self:start;position:sticky;top:20px}.main-image{aspect-ratio:1;background:var(--soft);border-radius:14px;overflow:hidden}.thumbs{display:flex;gap:8px;margin-top:10px;overflow:auto}.thumbs button{width:68px;height:68px;padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:none}.thumbs img{width:100%;height:100%;object-fit:cover}.description{line-height:1.65;margin:16px 0}.price-list{display:grid;grid-template-columns:1fr auto;gap:11px;margin:0}.price-list dt{color:var(--muted)}.price-list dd{margin:0;font-weight:800}.copy-row{padding:10px 0;border-bottom:1px solid var(--line)}.copy-row small{display:block;color:var(--muted);margin-top:4px}.history{display:grid;gap:8px}.history div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.history time{color:var(--muted)}.compare{margin-top:18px;padding:14px;border-radius:12px;background:var(--soft)}.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:30;padding:24px;place-items:center}.modal.open{display:grid}.modal-card{width:min(520px,100%);background:var(--card);border-radius:18px;padding:22px;position:relative}.modal-x{position:absolute;right:13px;top:11px;border:0;background:none;color:var(--text);font-size:28px;cursor:pointer}.toast{position:fixed;right:22px;bottom:22px;background:#173f42;color:#fff;padding:13px 16px;border-radius:12px;z-index:60;box-shadow:var(--shadow)}.toast.inline{position:static;margin:0 0 18px;background:var(--primary)}.bar-row{display:grid;grid-template-columns:80px 1fr 130px;gap:10px;align-items:center;margin:12px 0}.bar{height:10px;background:var(--soft);border-radius:99px;overflow:hidden}.bar i{display:block;height:100%;background:var(--primary);border-radius:99px}.empty{grid-column:1/-1;text-align:center;padding:50px}.danger-zone{max-width:720px}.inline-form{display:inline-block;margin-top:12px}.settings-grid,.analytics-grid{align-items:start}.analytics-grid{grid-template-columns:1.4fr 1fr 1fr}.drag-hint{font-size:12px;color:var(--muted)}
@media(max-width:950px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:12px 16px}.brand{margin-bottom:10px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap}.main{padding:18px}.split,.product-detail,.settings-grid,.analytics-grid{grid-template-columns:1fr}.gallery{position:static}.filters{grid-template-columns:1fr 1fr}.topbar{align-items:flex-start}.topbar p{display:none}}
@media(max-width:600px){.main{padding:12px}.topbar h1{font-size:24px}.topbar .btn{display:none}.stats-grid{grid-template-columns:1fr 1fr}.stat{min-height:90px;padding:14px}.stat strong{font-size:20px}.filters,.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.product-grid{grid-template-columns:1fr}.actions .btn{flex:1}.bar-row{grid-template-columns:65px 1fr}.bar-row b{grid-column:2}.history div{grid-template-columns:1fr}.card{padding:16px}}
.token-once{margin-top:16px;padding:14px;border:1px solid var(--border,#d9e2e5);border-radius:14px;background:rgba(0,140,140,.06)}
.token-once code{display:block;max-width:100%;overflow-wrap:anywhere;font-size:.85rem}.check{display:flex!important;gap:10px;align-items:center}.check input{width:auto}.vinted-extension-card{border-left:4px solid #0aa6a6}

/* Multi-User */
.sidebar{display:flex;flex-direction:column}.sidebar-user{margin-top:auto;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);display:grid;gap:6px}.sidebar-user small{opacity:.7}.sidebar-user .badge{justify-self:start;background:rgba(255,255,255,.15);color:#fff}.sidebar-user .btn{color:#fff;border-color:rgba(255,255,255,.3);justify-self:start}
.toast.inline.error{background:var(--danger)}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:16px}.auth-card{width:100%;max-width:440px}.auth-card form{display:grid;gap:12px}
.check-list{display:grid;gap:8px;max-height:520px;overflow:auto;margin:12px 0;padding:4px}.check-list .check{display:flex;gap:8px;align-items:center}
.preview-item .check{display:flex;gap:6px;align-items:center;font-size:13px;padding:6px}
.folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:18px}.folder-grid form{display:grid;gap:8px}
.row-form{display:flex;gap:10px;flex-wrap:wrap}.row-form input{flex:1;min-width:200px}
.folder-tag{display:inline-block;font-size:12px;color:var(--muted);margin-left:6px}

img.logo{display:block;width:42px;height:42px;background:none;padding:0;border-radius:11px;flex:none}

/* Marke */
.brand-logo{display:grid;gap:4px;margin-bottom:28px}.brand-logo img{width:170px;height:auto;display:block}.brand-logo small{opacity:.7;padding-left:2px}
.auth-page{background:radial-gradient(circle at 15% 10%,rgba(20,184,166,.35),transparent 45%),radial-gradient(circle at 90% 95%,rgba(255,122,89,.25),transparent 45%),linear-gradient(135deg,#093a42,#06222a)}
.auth-wrap{width:100%;max-width:760px;display:grid;gap:22px;justify-items:center}
.auth-banner{width:100%;height:auto;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
.auth-logo{display:grid;gap:6px;justify-items:center;margin-bottom:8px}.auth-logo img{width:220px;height:auto}.auth-logo small{color:var(--muted)}
.logo-dark{display:none}html[data-theme=dark] .logo-dark{display:block}html[data-theme=dark] .logo-light{display:none}
@media (max-width:640px){.auth-banner,.auth-banner-link{display:none}.brand-logo img{width:140px}}
.filters{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.card-actions{flex-wrap:wrap}.quick-sold{margin:0}.sold-btn{background:#16a378;border-color:#16a378;color:#fff}
.input-row{display:flex;gap:8px}.input-row input{flex:1;min-width:0}.mono{font-family:ui-monospace,Menlo,Consolas,monospace;letter-spacing:.5px}
.credentials{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px;margin-bottom:18px}.credentials code{font-size:15px}


/* Handy-Anleitung */
.guide{max-width:720px;display:grid;gap:14px}.guide h2{margin:0 0 6px}.guide h3{margin:0 0 6px;font-size:17px}.guide p{margin:0 0 6px}
.guide-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}.guide-steps li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start}
.guide-steps .step{display:grid;place-items:center;width:42px;height:42px;border-radius:21px;background:var(--primary);color:#fff;font-weight:800;font-size:18px}
.guide-steps li:last-child .step{background:#16a378}.guide-tips ul{margin:8px 0 0;padding-left:20px;display:grid;gap:6px}
.browser-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.addon-page .guide-steps{margin-top:0}.guide-steps li.guide-note .step{background:#e0a100}.addon-page code{background:var(--soft);padding:2px 6px;border-radius:6px}
.copy-url{font:600 13px ui-monospace,Menlo,Consolas,monospace;background:var(--soft);color:var(--primary);border:1px dashed var(--primary);border-radius:8px;padding:4px 8px;cursor:pointer;margin:2px 0}.copy-url:hover{background:var(--card)}

/* ===== Navigation (Desktop + Handy) ===== */
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sidebar-menu{display:flex;flex-direction:column;flex:1;min-height:0}
.sidebar nav a.active{background:rgba(255,255,255,.16);opacity:1;font-weight:700}
.nav-toggle{display:none}
.fab{display:none}
.main{min-width:0}
.copy-row small,.muted,.hint{overflow-wrap:anywhere}

/* ===== Tablet & Handy ===== */
@media (max-width:950px){
  .sidebar{position:sticky;top:0;z-index:50;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));box-shadow:0 6px 20px rgba(0,0,0,.18)}
  .sidebar .brand-logo{margin:0}.sidebar .brand-logo small{display:none}.sidebar .brand-logo img{width:130px}
  .nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 11px;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:12px;cursor:pointer}
  .nav-toggle span{display:block;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
  .nav-toggle[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
  .nav-toggle[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .sidebar-menu{display:none;padding-top:10px;max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);overflow:auto}
  .sidebar.open .sidebar-menu{display:flex}
  .sidebar nav{display:grid;gap:2px;overflow:visible}
  .sidebar nav a{padding:13px 14px;white-space:normal;font-size:16px}
  .sidebar-user{margin-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
  .sidebar-user small{flex-basis:100%}
  .sidebar-user form{margin-left:auto}
}

/* ===== Handy ===== */
@media (max-width:600px){
  html,body{overflow-x:hidden}
  input,select,textarea{font-size:16px}  /* verhindert Auto-Zoom auf dem iPhone */
  .main{padding:12px 12px calc(96px + env(safe-area-inset-bottom))}
  .topbar{margin-bottom:14px}
  .btn{min-height:44px}.btn.small{min-height:38px}
  .card-actions .btn,.card-actions form{flex:1 1 auto}.card-actions form .btn{width:100%}
  .copy-row{flex-wrap:wrap}.copy-row>span{flex:1 1 200px;min-width:0}
  .title-line{flex-wrap:wrap;justify-content:flex-start}
  .price-list{grid-template-columns:1fr auto;font-size:15px}
  .thumbs button{width:60px;height:60px;flex:none}
  .modal{padding:12px;align-items:end}
  .modal-card{width:100%;max-height:88vh;max-height:88dvh;overflow:auto;border-radius:18px 18px 12px 12px;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}
  .input-row{flex-wrap:wrap}.input-row input{flex:1 1 100%}.input-row .btn{flex:1}
  .row-form input{min-width:0;flex:1 1 100%}.row-form .btn{flex:1}
  .toast{left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom))}
  .fab{display:grid;place-items:center;position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:58px;height:58px;border-radius:29px;background:var(--primary);color:#fff;font-size:30px;line-height:1;box-shadow:0 10px 24px rgba(0,0,0,.28);z-index:40}
  .folder-grid,.product-grid{gap:12px}
  .guide-steps li{grid-template-columns:36px 1fr;gap:10px}.guide-steps .step{width:36px;height:36px;font-size:16px}
  .browser-tabs .btn{flex:1}
  .dropzone{min-height:150px;padding:20px}
  .preview-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:600px){
  .stats-grid{gap:8px;margin-bottom:12px}.stat{min-height:0;padding:12px 14px}.stat span{font-size:12px}.stat strong{font-size:18px;margin-top:4px}
  .filters{grid-template-columns:1fr 1fr;gap:8px}
  .toolbar{padding:12px;margin-bottom:12px}
  /* Produktkarten als kompakte Liste: Bild links, Text rechts */
  .product-card{padding:0;display:grid;grid-template-columns:104px minmax(0,1fr)}
  .product-card .thumb{aspect-ratio:auto;height:100%;min-height:128px}
  .product-card .pc-body{padding:12px}
  .product-card h3{font-size:15px;margin:6px 0 4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product-card .muted{font-size:13px;margin:2px 0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  .product-card .price-row{margin-top:6px}
  .product-card .card-actions{margin-top:10px;gap:6px}
  .product-card .card-actions .btn{padding:6px 8px;font-size:13px;min-height:36px}
}
@media (max-width:950px){.app{grid-template-rows:auto 1fr;align-content:start}}
@media (max-width:950px){
  .split,.product-detail,.settings-grid,.analytics-grid{grid-template-columns:minmax(0,1fr)}
  .stack,.gallery,.product-detail>*{min-width:0}
  .actions{flex-wrap:wrap}
}
@media (max-width:600px){
  .actions .btn,.actions form{flex:1 1 auto}.actions form .btn{width:100%}
  .product-detail .title-line h2{font-size:20px;margin:6px 0 0}
  .description{overflow-wrap:anywhere}
}
.modal{z-index:70}.toast{z-index:80}
@media (max-width:600px){
  .form-card form>.btn.primary,.modal-card form>.btn.primary,.auth-card form>.btn.primary{width:100%}
}
/* PC: Menü scrollt bei wenig Höhe, Abmelden bleibt immer sichtbar */
@media (min-width:951px){
  .sidebar{overflow:hidden}
  .sidebar-menu{overflow:hidden}
  .sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;align-content:start;scrollbar-width:thin}
  .sidebar-user{flex:none}
}
@media (min-width:951px) and (max-height:860px){
  .sidebar{padding:16px 18px}.brand-logo{margin-bottom:14px}
  .sidebar nav{gap:2px}.sidebar nav a{padding:8px 12px}
  .sidebar-user{padding-top:12px;gap:4px}
}

/* Galerie: Hauptbild verlinkt aufs Original */
.main-image a{display:block;width:100%;height:100%}

/* Credits */
.credits-balance{display:grid;gap:10px}.credits-balance strong{font-size:44px;line-height:1.1;color:var(--primary)}.credits-balance strong span{font-size:18px;color:var(--muted);font-weight:600}.credits-balance small{color:var(--muted)}
.credit-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:12px 0}
.credit-package{display:grid;gap:4px;justify-items:center;text-align:center;padding:18px 14px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}
.credit-package strong{font-size:34px;line-height:1;color:var(--primary)}.credit-package span{color:var(--muted);font-size:13px}.credit-package b{font-size:20px;margin-top:6px}.credit-package small{color:var(--muted);font-size:12px}.credit-package .btn{margin-top:8px;width:100%}
.table-wrap{overflow-x:auto}.credit-table{width:100%;border-collapse:collapse;font-size:14px}.credit-table th,.credit-table td{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.credit-table .num{text-align:right;white-space:nowrap}.credit-table .pos{color:#16a34a;font-weight:700}.credit-table .neg{color:var(--danger);font-weight:700}
.credits-note{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px;border-left:4px solid var(--primary)}.credits-note.empty{border-left-color:var(--danger)}
.sidebar-credits{justify-self:start;color:#fff;text-decoration:none;font-weight:700;background:rgba(255,255,255,.12);padding:4px 10px;border-radius:999px;font-size:13px}
/* Geschützte KI-Vorschau */
.locked-text{position:relative;border:1px solid var(--line);border-radius:14px;overflow:hidden;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;background:#fff}
.locked-text img{display:block;width:100%;height:auto;pointer-events:none}
.locked-overlay{position:absolute;left:0;right:0;bottom:0;padding:48px 16px 14px;background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.92) 45%,#fff);text-align:center}
.locked-overlay span{display:inline-block;background:var(--primary);color:#fff;font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px}
.check-summary{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:6px}.check-summary li.ok{color:#16a34a;font-weight:600}.check-summary li.no{color:var(--muted)}
.locked-preview .actions{display:flex;gap:8px;flex-wrap:wrap}.locked-preview .actions form{margin:0}
@media(max-width:600px){.locked-preview .actions form,.locked-preview .actions .btn{width:100%}}

/* Kauf: Paketauswahl + Zustimmung */
.credit-package{cursor:pointer;position:relative}.credit-package input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.credit-package:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,119,130,.18);background:var(--card)}
.consent{align-items:flex-start!important;gap:10px;font-size:14px;line-height:1.45;margin:6px 0 8px}.consent input{margin-top:3px;flex:none}
.btn.big{padding:14px 22px;font-size:16px}.muted.small{font-size:13px}
/* Rechtstexte */
.legal-footer{display:flex;flex-wrap:wrap;gap:6px 10px;justify-content:center;margin:28px 0 8px;font-size:13px;color:var(--muted)}.legal-footer a{color:var(--muted);text-decoration:none}.legal-footer a:hover{color:var(--primary);text-decoration:underline}
.legal-page{max-width:820px;margin:0 auto;padding:24px 16px}.legal-logo img{height:44px;width:auto;margin:6px 0 14px}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.legal-tabs a{padding:7px 12px;border-radius:999px;border:1px solid var(--line);text-decoration:none;color:var(--text);font-size:14px}.legal-tabs a.active{background:var(--primary);border-color:var(--primary);color:#fff}
.legal-text{line-height:1.6;overflow-wrap:anywhere}.legal-text h1{margin-top:0}.legal-text h2{font-size:19px;margin:22px 0 6px}.legal-text h3{font-size:16px;margin:16px 0 4px}.legal-text ul{padding-left:20px}
.legal-edit{border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:8px 0}.legal-edit summary{cursor:pointer}.legal-edit textarea{margin-top:10px;font-family:ui-monospace,Consolas,monospace;font-size:13px}

.danger-text{color:var(--danger)!important;border-color:var(--danger)!important}

/* ===== Startseite / Präsentation ===== */
body.lp{margin:0;background:#fff;color:#172426;font-family:inherit}
.lp-wrap{max-width:1180px;margin:0 auto;padding:0 20px}.lp-narrow{max-width:820px}
.lp-nav{position:sticky;top:0;z-index:50;background:rgba(6,34,42,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.lp-nav .lp-wrap{display:flex;align-items:center;gap:20px;height:68px}
.lp-logo img{height:34px;width:auto;display:block}
.lp-links{display:flex;gap:22px;margin-left:auto}.lp-links a{color:#cfe5e6;text-decoration:none;font-weight:600;font-size:15px}.lp-links a:hover{color:#fff}
.lp-actions{display:flex;gap:10px}
.lp-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 18px;border-radius:12px;font-weight:700;text-decoration:none;font-size:15px;border:2px solid transparent;transition:transform .15s,background .15s}
.lp-btn:hover{transform:translateY(-1px)}.lp-btn.big{padding:14px 26px;font-size:17px}
.lp-btn.primary{background:#ff7a59;color:#fff}.lp-btn.primary:hover{background:#ff6a45}
.lp-btn.ghost{border-color:rgba(255,255,255,.35);color:#fff}.lp-btn.ghost:hover{background:rgba(255,255,255,.08)}
.lp-hero{background:radial-gradient(900px 500px at 10% 0%,rgba(20,184,166,.35),transparent 60%),radial-gradient(700px 500px at 100% 100%,rgba(255,122,89,.22),transparent 60%),linear-gradient(135deg,#093a42,#051e24);color:#fff;padding:70px 0 80px}
.lp-hero-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:center}
.lp-eyebrow{display:inline-block;background:rgba(255,255,255,.12);color:#9ff0e3;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:7px 12px;border-radius:999px}
.lp-hero h1{font-size:clamp(36px,5vw,60px);line-height:1.06;margin:18px 0 16px;letter-spacing:-.02em}.lp-hero h1 span{color:#2dd4bf}
.lp-lead{font-size:clamp(17px,1.6vw,20px);line-height:1.55;color:#c6e2e3;margin:0 0 26px}
.lp-cta{display:flex;gap:12px;flex-wrap:wrap}
.lp-trust{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:8px 18px;color:#a9cfd1;font-size:14px;font-weight:600}
.lp-hero-media{border-radius:20px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.08);background:#051e24}
.lp-hero-media video,.lp-hero-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#051e24}
.lp-section{padding:84px 0}.lp-section.alt{background:#f2f7f7}
.lp-h2{font-size:clamp(28px,3.4vw,42px);text-align:center;margin:0 0 16px;letter-spacing:-.01em}
.lp-intro{max-width:760px;margin:0 auto 38px;text-align:center;font-size:18px;line-height:1.65;color:#4c5f62}
.lp-cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.lp-card{background:#fff;border:1px solid #e1eaea;border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(17,47,51,.06)}.lp-card b{font-size:19px}.lp-card p{color:#5a6c6f;line-height:1.55;margin:8px 0 0}
.lp-step{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;align-items:center;margin:56px 0}.lp-step.rev .lp-step-text{order:2}
.lp-step-text h3{font-size:clamp(22px,2.4vw,30px);margin:12px 0 10px}.lp-step-text p{font-size:17px;line-height:1.65;color:#4c5f62;margin:0}
.lp-num{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#007782;color:#fff;font-weight:800;font-size:20px}
.lp-step-img img,.lp-shot img{display:block;width:100%;height:auto;border-radius:18px;box-shadow:0 24px 60px rgba(6,34,42,.25)}
.lp-step-img.phone{text-align:center}.lp-step-img.phone img{width:min(320px,80%);margin:0 auto;border-radius:36px}
.lp-features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:46px}
.lp-feature{border:1px solid #e1eaea;border-radius:16px;padding:20px;background:#fff}.lp-feature span{font-size:26px}.lp-feature b{display:block;margin:8px 0 6px;font-size:17px}.lp-feature p{margin:0;color:#5a6c6f;font-size:15px;line-height:1.5}
.lp-shot{max-width:900px;margin:0 auto}
.lp-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,260px));justify-content:center;gap:18px}
.lp-price{position:relative;background:#fff;border:2px solid #e1eaea;border-radius:20px;padding:28px 20px;text-align:center;display:grid;gap:4px}
.lp-price.best{border-color:#007782;box-shadow:0 18px 40px rgba(0,119,130,.18)}.lp-price em{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:#ff7a59;color:#fff;font-style:normal;font-weight:800;font-size:12px;padding:5px 12px;border-radius:999px}
.lp-price strong{font-size:46px;line-height:1;color:#007782}.lp-price span{color:#657477}.lp-price b{font-size:24px;margin-top:10px}.lp-price small{color:#657477}
.lp-note{text-align:center;color:#657477;font-size:14px;margin-top:22px}
.lp-faq{border-bottom:1px solid #e1eaea;padding:4px 0}.lp-faq summary{cursor:pointer;font-weight:700;font-size:18px;padding:16px 0;list-style:none;display:flex;justify-content:space-between;gap:16px}.lp-faq summary::after{content:'+';font-size:24px;color:#007782;line-height:1}.lp-faq[open] summary::after{content:'–'}.lp-faq summary::-webkit-details-marker{display:none}.lp-faq p{margin:0 0 18px;color:#4c5f62;line-height:1.65;font-size:16px}
.lp-final{background:linear-gradient(135deg,#093a42,#051e24);color:#fff;text-align:center;padding:80px 0}.lp-final h2{font-size:clamp(26px,3.2vw,40px);margin:18px 0 8px}.lp-final p{color:#a9cfd1;font-size:18px;margin:0 0 26px}.lp-final img{border-radius:20px}
body.lp .legal-footer{padding:22px 16px 30px;margin:0}
@media(max-width:950px){.lp-links{display:none}.lp-hero-grid,.lp-step{grid-template-columns:1fr;gap:28px}.lp-step.rev .lp-step-text{order:0}.lp-features{grid-template-columns:1fr 1fr}.lp-cards3{grid-template-columns:1fr}.lp-hero{padding:44px 0 56px}.lp-section{padding:60px 0}.lp-step{margin:40px 0}}
@media(max-width:560px){.lp-nav .lp-wrap{height:60px;gap:10px}.lp-logo img{height:28px}.lp-actions .lp-btn{padding:8px 12px;font-size:14px}.lp-actions .lp-btn.ghost{display:none}.lp-features{grid-template-columns:1fr}.lp-cta .lp-btn{flex:1}}
/* Registrierung/Login */
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.auth-switch{text-align:center;margin-top:14px}
/* Freunde einladen */
.credit-bonus{display:inline-block;font-style:normal;font-weight:700;color:#fff;background:var(--primary);border-radius:999px;padding:1px 8px;font-size:11px;margin-left:4px}
.referral-card{border:2px solid var(--primary)}
.referral-link{display:flex;gap:8px;margin:12px 0}.referral-link input{flex:1;min-width:0;font-family:ui-monospace,monospace;font-size:13px}
.referral-share{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.referral-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:6px 0 10px}.referral-stats div{display:grid;justify-items:center;padding:12px 8px;border-radius:14px;background:var(--soft);text-align:center}.referral-stats strong{font-size:26px;color:var(--primary);line-height:1.1}.referral-stats span{font-size:12px;color:var(--muted)}
@media(max-width:560px){.referral-link{flex-direction:column}}
/* Umsatz-Dashboard */
.stat small{display:block;margin-top:6px;font-size:12px}.stat strong small{font-size:15px}
.revenue-grid{grid-template-columns:1.6fr 1fr 1fr}
.rev-chart{display:grid;grid-template-columns:repeat(12,1fr);gap:6px;align-items:end;height:200px;margin:8px 0 18px}
.rev-col{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:4px;min-width:0}
.rev-col i{display:block;width:100%;max-width:34px;background:var(--primary);border-radius:6px 6px 2px 2px}
.rev-col b{font-size:10px;color:var(--muted);white-space:nowrap}.rev-col span{font-size:11px;color:var(--muted)}
@media(max-width:1100px){.revenue-grid{grid-template-columns:1fr}}
@media(max-width:600px){.rev-chart{height:150px;gap:3px}.rev-col b{display:none}}
/* Support-Tickets */
.support-page{display:grid;gap:18px;max-width:900px}.support-page>p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.support-tabs{display:flex;flex-wrap:wrap;gap:8px}.support-tabs .count{display:inline-block;min-width:20px;padding:0 6px;border-radius:99px;background:rgba(0,0,0,.08);font-size:12px}
.support-faq summary{cursor:pointer;font-weight:700;margin-top:6px}.support-faq p{margin:10px 0}
.ticket-list{display:grid}.ticket-row{display:grid;grid-template-columns:150px 1fr auto;gap:14px;align-items:center;padding:13px 6px;border-bottom:1px solid var(--line)}.ticket-row:hover{background:var(--soft)}
.ticket-row.unread .ticket-main b:after{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--danger);margin-left:8px;vertical-align:middle}
.ticket-main{display:grid;gap:3px;min-width:0}.ticket-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-main small,.ticket-row time{color:var(--muted);font-size:12px}
.ticket-status{justify-self:start;font-size:12px;font-weight:800;padding:5px 10px;border-radius:99px;white-space:nowrap}.st-open{background:#fff0d9;color:#a55b00}.st-answered{background:#dcf6f4;color:#066f73}.st-closed{background:#e8ecec;color:#526164}
.ticket-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.ticket-head h2{margin:0 0 6px}.ticket-head p{margin:0}
.ticket-user{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.ticket-user small{display:block;color:var(--muted)}.ticket-user .actions{margin:0}
.ticket-credit{display:flex;gap:6px}.ticket-credit input{width:80px;padding:7px 9px}
.ticket-thread{display:grid;gap:12px}
.ticket-msg{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;max-width:85%;justify-self:start}
.ticket-msg.staff{justify-self:end;background:var(--soft);border-color:transparent}
.ticket-msg header{display:flex;justify-content:space-between;gap:16px;margin-bottom:6px;font-size:13px}.ticket-msg time{color:var(--muted)}
.ticket-body{line-height:1.55;overflow-wrap:anywhere}
.ticket-att img{display:block;max-width:100%;max-height:320px;margin-top:10px;border-radius:10px;border:1px solid var(--line)}
@media(max-width:600px){.ticket-row{grid-template-columns:1fr;gap:6px}.ticket-msg{max-width:100%}.ticket-head{flex-direction:column}}
/* FAQ */
.faq-page{display:grid;gap:16px;max-width:900px;width:100%}
.faq-title{margin:6px 0 4px;font-size:30px}
.faq-search input{font-size:16px;padding:13px 14px}
.faq-jump{display:flex;flex-wrap:wrap;gap:8px}
.faq-group{scroll-margin-top:16px}.faq-group h2{margin:0 0 6px}
.faq-group .lp-faq p a,.faq-more a:not(.btn){color:var(--primary);text-decoration:underline}
.faq-more{text-align:center}.faq-more p{margin:6px 0 12px}
.faq-group .lp-faq{border-color:var(--line)}.faq-group .lp-faq p{color:var(--muted)}.faq-group .lp-faq summary{font-size:16px;padding:13px 0}
.forgot-link{margin:-6px 0 14px;text-align:right;font-size:13px}.forgot-link a{color:var(--primary)}
/* Bildspeicher */
.storage-card{grid-column:1/-1}
.storage-list{display:grid;gap:10px;margin:14px 0 18px}
.storage-row{display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.storage-row.paused{opacity:.65}.storage-row.full{border-color:#e7b25c}
.storage-info{display:grid;gap:4px;min-width:0}.storage-info small{color:var(--muted)}.storage-info .bar{margin-top:4px}
.storage-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.storage-actions form{display:flex;flex-wrap:wrap;gap:6px}
.storage-limit input{width:90px;padding:7px 9px}
.storage-add{margin:12px 0}.storage-add summary{list-style:none;cursor:pointer;display:inline-flex}.storage-add summary::-webkit-details-marker{display:none}.storage-add[open] summary{margin-bottom:12px}
.storage-tools{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
/* Treuebonus */
.loyalty{margin-bottom:18px;background:linear-gradient(135deg,var(--card),var(--soft))}
.loyalty-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.loyalty-head span{font-weight:800;color:var(--primary)}
.loyalty-bar{height:14px;border-radius:99px;background:var(--line);overflow:hidden}
.loyalty-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--primary),#2fc4a0);transition:width .6s ease}
.loyalty p{margin:10px 0 0}
.loyalty-steps{display:flex;justify-content:space-between;margin-top:10px}
.loyalty-steps span{min-width:30px;padding:3px 6px;border-radius:99px;text-align:center;font-size:12px;font-weight:700;color:var(--muted);background:var(--card);border:1px solid var(--line)}
.loyalty-steps span.done{background:var(--primary);color:#fff;border-color:var(--primary)}
.loyalty-steps span:last-child:after{content:' 🎁'}
.loyalty.large .loyalty-bar{height:18px}

/* ================================================================
   Design „Editorial Studio“ (2026) – gleiche Schriften & Farben wie die Startseite
   ================================================================ */
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Manrope";src:url(../fonts/manrope-latin-wght-normal.woff2) format("woff2");font-weight:200 800;font-style:normal;font-display:swap}
:root{--bg:#f3efe6;--card:#fbf9f4;--text:#0f1e20;--muted:#5f6f70;--line:#e2dccd;--primary:#007782;--primary2:#00535b;--soft:#e7efe9;--danger:#d2452a;--shadow:0 18px 44px -26px rgba(15,30,32,.35);--radius:20px;--ink:#0f1e20;--coral:#ff6a3d;--serif:"Instrument Serif",ui-serif,Georgia,serif}
html[data-theme=dark]{--bg:#0c1617;--card:#142425;--text:#eef3ef;--muted:#93a5a3;--line:#22393a;--primary:#2bb3ad;--primary2:#7fd8cd;--soft:#163233;--shadow:none}
body{font-family:"Manrope",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.sidebar{background:#0f1e20;background-image:radial-gradient(circle at 110% 105%,rgba(0,119,130,.55),transparent 55%)}
.sidebar nav a.active{background:rgba(243,239,230,.12);box-shadow:inset 3px 0 0 var(--coral)}
.topbar h1{font-family:var(--serif);font-weight:400;font-size:clamp(32px,4vw,46px);letter-spacing:-.02em;line-height:1.05}
.card h2{letter-spacing:-.01em}
.btn{border-radius:999px;padding:10px 18px;transition:transform .25s,background .2s,border-color .2s}
.btn.primary{background:var(--ink);border-color:var(--ink)}
.btn.primary:hover{background:var(--primary);border-color:var(--primary)}
html[data-theme=dark] .btn.primary{background:var(--primary);border-color:var(--primary);color:#0c1617}
.btn.small{padding:7px 12px}
input,select,textarea{border-radius:12px}
input:focus,select:focus,textarea:focus{outline:2px solid var(--primary);outline-offset:1px;border-color:transparent}
.stat strong{font-family:var(--serif);font-weight:400;font-size:38px;letter-spacing:-.01em}
.toast{background:#0f1e20;border-radius:14px}.toast.inline{background:var(--primary)}
.toast.inline.error{background:var(--danger)}
.fab{background:var(--coral)!important}
/* Anmelde-/Registrierseiten auf Papier statt Dunkelgrün */
.auth-page{background:radial-gradient(circle at 8% 0%,rgba(168,234,215,.7),transparent 40%),radial-gradient(circle at 100% 90%,rgba(255,106,61,.18),transparent 45%),#f3efe6}
html[data-theme=dark] .auth-page{background:radial-gradient(circle at 8% 0%,rgba(31,75,71,.8),transparent 40%),radial-gradient(circle at 100% 90%,rgba(255,106,61,.12),transparent 45%),#0c1617}
.auth-banner{box-shadow:0 24px 60px -30px rgba(15,30,32,.45)}
.legal-page{background:transparent}
.legal-text h1,.faq-title{font-family:var(--serif);font-weight:400;letter-spacing:-.02em}
.loyalty-bar i{background:linear-gradient(90deg,var(--primary),var(--coral))}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}
/* Verkaufs-Erinnerung (7 Tage ohne Verkauf) */
.stale-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;border-left:4px solid var(--coral,#ff6a3d)}
.stale-banner p{margin:4px 0 0}.stale-banner form{flex:none}
.stale-card.due{border-color:var(--coral,#ff6a3d);background:linear-gradient(135deg,var(--card),rgba(255,106,61,.07))}
.stale-card p{margin:10px 0}.stale-card .inline-form{margin-top:6px}
.stale-chip{color:var(--coral,#ff6a3d);font-weight:800}
.reminder-card .inline-form{display:flex;align-items:center;gap:12px}
@media(max-width:640px){.stale-banner{flex-direction:column;align-items:flex-start}}
/* Familie & Teilen */
.fam-tag{display:inline-block;margin:6px 0 0;font-size:12px;font-weight:800;padding:4px 9px;border-radius:99px;background:#fff0d9;color:#8a4b00}
.fam-tag.fam-online{background:#dcf6f4;color:#066f73}.fam-tag.fam-sold{background:#dff4e7;color:#20733b}
.fam-card{border-left:4px solid var(--coral,#ff6a3d)}.fam-card h3{margin:0 0 4px}.fam-card p{margin:0}
.share-intro{display:grid;gap:18px;margin-bottom:18px;background:linear-gradient(135deg,var(--card),var(--soft))}
.share-intro h2{margin:0 0 6px}
.share-steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.share-steps li{counter-increment:s;display:grid;gap:2px;padding:12px 14px 12px 48px;position:relative;border-radius:14px;background:var(--card);border:1px solid var(--line)}
.share-steps li:before{content:counter(s);position:absolute;left:12px;top:12px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--coral,#ff6a3d);color:#fff;font-weight:800;font-size:13px}
.share-steps span{color:var(--muted);font-size:13px}
.share-link{padding:14px 0;border-bottom:1px solid var(--line);display:grid;gap:8px}.share-link:last-child{border-bottom:0}
.share-link.fresh{background:var(--soft);margin:0 -12px;padding:14px 12px;border-radius:14px}
.share-link-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.share-link .actions{margin-top:0}.share-link form.inline{display:inline}
.share-url{font-size:13px;font-family:ui-monospace,monospace}
/* Gastseite (ohne Konto) */
body.share-page{background:var(--bg)}
.share-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px max(16px,calc((100% - 1100px)/2));border-bottom:1px solid var(--line);background:var(--card);position:sticky;top:0;z-index:20}
.share-logo img{height:30px;width:auto;display:block}.share-logo .logo-dark{display:none}
html[data-theme=dark] .share-logo .logo-light{display:none}html[data-theme=dark] .share-logo .logo-dark{display:block}
.share-who{font-weight:800;font-size:14px}
.share-main{width:min(1100px,100% - 32px);margin:22px auto 40px;display:grid;gap:18px}
.share-main .toast.inline{margin:0}
.share-gate{max-width:520px;margin:6vh auto 0;width:100%}.share-gate h1{margin:6px 0 10px;font-size:30px;line-height:1.1}
.share-kicker{font-size:13px;font-weight:800;color:var(--primary);letter-spacing:.02em}
.share-form{margin-top:16px}.share-form label{display:grid;gap:7px;font-weight:700;margin-bottom:14px}.share-form small{font-weight:400;color:var(--muted)}
.share-head h1{margin:6px 0 6px;font-size:clamp(28px,5vw,42px);line-height:1.05}.share-head h1 em{color:var(--primary)}.share-head p{margin:0;max-width:640px}
.share-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.share-tabs a{flex:none;padding:8px 14px;border-radius:99px;border:1px solid var(--line);background:var(--card);font-weight:700;font-size:14px}
.share-tabs a span{color:var(--muted);font-weight:600;margin-left:2px}
.share-tabs a[aria-current]{background:var(--text);color:var(--bg);border-color:var(--text)}.share-tabs a[aria-current] span{color:inherit;opacity:.7}
.share-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.share-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.share-card.s-sold{opacity:.62}
.share-thumb{position:relative;display:block;aspect-ratio:1;background:var(--soft)}.share-thumb img{width:100%;height:100%;object-fit:cover}
.share-thumb .share-chip{position:absolute;left:10px;top:10px}
.share-chip{display:inline-block;font-size:12px;font-weight:800;padding:5px 10px;border-radius:99px;background:#fff;color:var(--text);box-shadow:0 4px 14px rgba(0,0,0,.12)}
.share-chip.s-free{background:#dcf6f4;color:#066f73}.share-chip.s-mine{background:var(--coral,#ff6a3d);color:#fff}
.share-chip.s-taken{background:#fff0d9;color:#8a4b00}.share-chip.s-sold{background:#dff4e7;color:#20733b}
.share-body{padding:14px 15px 15px;display:grid;gap:6px;flex:1}.share-body h3{margin:0;font-size:16px;line-height:1.3}.share-body p{margin:0;font-size:13px}
.share-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:6px}.share-row strong{font-size:18px}
.share-back{font-weight:700;color:var(--primary)}
.share-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;align-items:start}
.share-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.share-gallery a:first-child{grid-column:1/-1}
.share-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}.share-gallery .btn{grid-column:1/-1}
.share-title{margin:10px 0 14px;font-size:26px;line-height:1.15}
.btn.big{padding:14px 22px;font-size:17px;width:100%}
.share-inline{display:flex;gap:10px;align-items:flex-end;margin-bottom:10px}.share-inline label{display:grid;gap:6px;font-weight:700;flex:1}
.share-cta{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;border-radius:var(--radius);background:#0f1e20;color:#f3efe6}
.share-cta p{margin:4px 0 0;color:rgba(243,239,230,.78)}.share-cta .btn{flex:none}
@media(max-width:760px){.share-detail{grid-template-columns:1fr}.share-cta{flex-direction:column;align-items:flex-start}.share-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.share-body{padding:10px}.share-row{flex-direction:column;align-items:stretch}.share-row .btn{width:100%}.share-inline{flex-direction:column;align-items:stretch}}
.fam-banner{border-left-color:var(--primary)}
.retention-box{margin:22px 0 6px;padding:18px;border-radius:16px;background:var(--soft)}.retention-box h3{margin:0 0 6px}
.purge-hint{margin:12px 0 0;font-size:13px;padding:10px 12px;border-radius:12px;background:var(--soft)}

/* ==========================================================================
   Eingeloggter Bereich im Stil der Startseite (Editorial Studio, Teil 2):
   Augenbrauen-Zeile, kursive Akzente, Bento-Kacheln, bildstarke Produktkarten
   ========================================================================== */
.main{position:relative;isolation:isolate}
.main:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(42vw 42vw at 100% -8%,rgba(168,234,215,.55),transparent 62%),radial-gradient(36vw 36vw at 108% 105%,rgba(255,106,61,.13),transparent 60%)}
html[data-theme=dark] .main:before{background:radial-gradient(42vw 42vw at 100% -8%,rgba(31,75,71,.55),transparent 62%),radial-gradient(36vw 36vw at 108% 105%,rgba(255,106,61,.08),transparent 60%)}
.topbar{align-items:flex-end;margin-bottom:28px}
.topbar .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.topbar .eyebrow:before{content:"";width:26px;height:1.5px;background:currentColor}
.topbar h1{margin:10px 0 0;font-size:clamp(36px,4.6vw,60px);line-height:.98;letter-spacing:-.025em}
.topbar h1 em{font-style:italic;color:var(--primary)}
.topbar p{margin-top:10px;max-width:560px}
/* Karten wie die Kacheln der Startseite */
.card{border-radius:22px;border-color:var(--line);box-shadow:none}
.card h2{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.4vw,30px);letter-spacing:-.015em;line-height:1.1}
.empty h2{font-size:34px}
/* Kennzahlen als Bento: erste Kachel Petrol, letzte Tinte */
.stats-grid{gap:14px;margin-bottom:22px}
.stat{min-height:132px;justify-content:flex-end;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.stat:hover{transform:translateY(-3px)}
.stat span{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.stat strong{font-size:46px;line-height:1;margin-top:10px}
.stats-grid .stat:first-child{background:var(--primary);border-color:var(--primary);color:#fff}
.stats-grid .stat:first-child span{color:rgba(255,255,255,.78)}
.stats-grid .stat:last-child{background:#0f1e20;border-color:#0f1e20;color:#f3efe6}
.stats-grid .stat:last-child span{color:rgba(243,239,230,.65)}.stats-grid .stat:last-child strong{color:#a8ead7}
html[data-theme=dark] .stats-grid .stat:last-child{background:#10282a;border-color:#10282a}
html[data-theme=dark] .stats-grid .stat:first-child{color:#0c1617}html[data-theme=dark] .stats-grid .stat:first-child span{color:rgba(12,22,23,.7)}
/* Filterleiste: leicht, ohne Kasten */
.toolbar{background:transparent;border:0;padding:0;margin-bottom:20px}
.toolbar input,.toolbar select{border-radius:999px;padding:11px 16px;background:var(--card)}
/* Produktkarten: Foto vorn, Status-Chip auf dem Bild, Preis in Serife */
.product-grid{gap:20px}
.product-card{position:relative;border-radius:24px;transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 30px 70px -38px rgba(15,30,32,.45)}
.product-card .thumb{overflow:hidden;background:var(--soft)}
.product-card .thumb img{transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.product-card:hover .thumb img{transform:scale(1.04)}
.product-card .pc-body .badge{position:absolute;top:12px;left:12px;z-index:1;padding:6px 11px;box-shadow:0 6px 18px -8px rgba(0,0,0,.35)}
.product-card .badge.status-draft{background:var(--card);color:var(--text)}
.product-card h3{font-size:17px;line-height:1.3;margin:0 0 6px;letter-spacing:-.005em}
.product-card .price-row strong{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1;letter-spacing:-.01em}
.product-card .price-row span{font-size:13px;color:var(--muted)}
.product-card .card-actions{padding-top:14px;border-top:1px solid var(--line)}
.sold-btn{background:#a8ead7;border-color:#a8ead7;color:#0f1e20}
.sold-btn:hover{background:#007782;border-color:#007782;color:#fff}
.folder-tag{margin-left:0;display:block;margin-bottom:4px}
@media(min-width:601px){.product-card .thumb{aspect-ratio:1}.product-card .pc-body{padding:18px 18px 16px}}
@media(max-width:600px){
  .topbar h1{font-size:34px}
  .stat{min-height:0}.stat strong{font-size:26px}
  .product-card{border-radius:18px}.product-card .pc-body .badge{top:8px;left:8px;font-size:11px;padding:4px 8px}
  .product-card .price-row strong{font-size:24px}
  .product-card .card-actions{padding-top:10px}
}
/* Seitenleiste: Tinte mit Glühen, Pillen-Navigation, Benutzer als Glas-Karte */
.sidebar{background-image:radial-gradient(circle at 110% 105%,rgba(0,119,130,.6),transparent 55%),radial-gradient(circle at -20% -10%,rgba(255,106,61,.16),transparent 45%)}
.sidebar nav a{border-radius:999px;padding:10px 14px;font-weight:600;transition:background .2s,opacity .2s}
.sidebar nav a.active{background:rgba(243,239,230,.14);box-shadow:inset 3px 0 0 var(--coral);font-weight:800}
.sidebar-user{background:rgba(243,239,230,.07);border:1px solid rgba(243,239,230,.12)!important;border-radius:18px;padding:14px!important}
/* Hinweis-Leisten (Treuebonus, Erinnerung, Familie) etwas luftiger */
.loyalty,.stale-banner{border-radius:22px}
.loyalty-head b,.stale-banner b{font-size:15px}
@media (prefers-reduced-motion:reduce){.stat,.product-card,.product-card .thumb img{transition:none}.product-card:hover,.stat:hover{transform:none}}
/* Fortschritt beim Generieren */
body.gen-lock{overflow:hidden}
.gen-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:rgba(15,30,32,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:genIn .3s ease both}
@keyframes genIn{from{opacity:0}}
.gen-card{width:min(440px,100%);background:var(--card);color:var(--text);border-radius:28px;padding:26px 24px 22px;box-shadow:0 40px 90px -30px rgba(0,0,0,.55);text-align:left}
.gen-photo{position:relative;width:96px;height:96px;border-radius:22px;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:38px;margin-bottom:16px}
.gen-photo img{width:100%;height:100%;object-fit:cover}
.gen-beam{position:absolute;left:0;right:0;height:38%;background:linear-gradient(180deg,transparent,rgba(168,234,215,.85),transparent);animation:genBeam 1.6s ease-in-out infinite}
@keyframes genBeam{0%{top:-40%}100%{top:100%}}
.gen-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.gen-eyebrow:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--coral);animation:genPulse 1.2s ease-in-out infinite}
@keyframes genPulse{50%{opacity:.3}}
.gen-card h2{font-family:var(--serif);font-weight:400;font-size:32px;line-height:1.05;margin:8px 0 18px;letter-spacing:-.015em}
.gen-card h2 em{color:var(--primary)}
.gen-bar{height:12px;border-radius:99px;background:var(--line);overflow:hidden}
.gen-bar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--coral));transition:width .35s ease}
.gen-meta{display:flex;justify-content:space-between;margin:8px 0 16px;font-size:13px;color:var(--muted)}.gen-meta b{color:var(--text)}
.gen-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gen-steps li{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--muted);transition:color .3s}
.gen-steps li span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-size:15px;flex:none;transition:background .3s}
.gen-steps li.now{color:var(--text)}.gen-steps li.now span{background:var(--coral);animation:genPulse 1.2s ease-in-out infinite}
.gen-steps li.done{color:var(--text)}.gen-steps li.done span{background:#a8ead7;font-size:0}.gen-steps li.done span:after{content:"✓";font-size:15px;font-weight:800;color:#0f1e20}
.gen-note{margin:16px 0 0;font-size:13px;color:var(--muted)}
.gen-error{margin:16px 0 12px;padding:12px 14px;border-radius:14px;background:rgba(210,69,42,.1);color:var(--danger);font-weight:600}
.gen-overlay.failed .gen-beam,.gen-overlay.failed .gen-eyebrow:before{animation:none;display:none}
.gen-close{width:100%}
@media (prefers-reduced-motion:reduce){.gen-beam,.gen-eyebrow:before,.gen-steps li.now span{animation:none}.gen-bar i{transition:none}}
/* ==========================================================================
   Handy: gleiche Optik wie am PC – Foto-Karten im 2er-Raster statt Liste
   ========================================================================== */
@media (max-width:600px){
  .main{padding-left:16px;padding-right:16px}
  .card{padding:16px;border-radius:20px}
  .card h2{font-size:24px}
  .topbar{margin:6px 0 18px}.topbar p{font-size:14px}
  .stats-grid{grid-template-columns:1fr 1fr;gap:10px}
  .stat{padding:14px;border-radius:18px}.stat strong{font-size:30px}.stat span{font-size:10px;letter-spacing:.1em}
  .toolbar{padding:0}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-card{display:flex;flex-direction:column;border-radius:18px}
  .product-card .thumb{aspect-ratio:1;height:auto;min-height:0}
  .product-card .pc-body{padding:10px 11px 11px;display:flex;flex-direction:column;flex:1}
  .product-card .pc-body .badge{top:8px;left:8px}
  .product-card h3{font-size:14px;line-height:1.3;margin:0 0 4px;-webkit-line-clamp:2}
  .product-card .muted{font-size:12px}
  .product-card .pc-body>p:last-of-type{display:none} /* „Erstellt: …“ – am Handy überflüssig */
  .product-card .fam-tag,.product-card .folder-tag{font-size:11px;padding:3px 7px;margin:2px 0}
  .product-card .price-row{margin-top:auto;padding-top:6px;flex-wrap:wrap;gap:2px 8px}
  .product-card .price-row strong{font-size:24px}
  .product-card .price-row span{font-size:11px}
  .product-card .card-actions{display:grid;grid-template-columns:1fr 40px;gap:6px;margin-top:10px;padding-top:10px}
  .product-card .card-actions .btn{padding:6px 4px;font-size:13px;min-height:38px;width:100%}
  .product-card .card-actions .lbl{display:none}
  .product-card .card-actions>a.btn.ghost{grid-column:1/-1}
  .product-card .card-actions form{grid-column:1/-1}
  .product-card:hover{transform:none}
  /* Tabellen und lange Inhalte nie breiter als der Bildschirm */
  .credit-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}
  .card{overflow-wrap:break-word}
  .btn{white-space:nowrap}
  .stale-banner,.loyalty{margin-bottom:12px}
  .stale-banner .btn,.stale-banner form{width:100%}
  .share-steps{grid-template-columns:1fr}
  .gen-card{padding:22px 18px 18px;border-radius:24px}.gen-card h2{font-size:28px}
}
@media (max-width:360px){.product-grid{grid-template-columns:1fr}}
.gen-card [hidden]{display:none!important}
/* iPhone: geführter Ablauf „In Vinted einstellen“ (Bottom-Sheet) */
.ios-sheet{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,30,32,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);animation:genIn .25s ease both}
.ios-card{width:min(520px,100%);max-height:92vh;max-height:92dvh;overflow:auto;background:var(--card);color:var(--text);border-radius:26px 26px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px -20px rgba(0,0,0,.4);animation:iosUp .35s cubic-bezier(.2,.8,.2,1) both}
@keyframes iosUp{from{transform:translateY(40px);opacity:.4}}
.ios-grab{width:42px;height:5px;border-radius:9px;background:var(--line);margin:0 auto 14px}
.ios-card h2{font-family:var(--serif);font-weight:400;font-size:30px;line-height:1.05;margin:6px 0 14px}.ios-card h2 em{color:var(--primary)}
.ios-steps{list-style:none;counter-reset:i;margin:0 0 12px;padding:0;display:grid;gap:10px}
.ios-steps li{counter-increment:i;position:relative;padding-left:40px;display:grid;gap:4px}
.ios-steps li:before{content:counter(i);position:absolute;left:0;top:7px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-weight:800;font-size:13px}
.ios-steps li.done:before{content:"✓";background:#a8ead7;color:#0f1e20}
.ios-steps .btn{width:100%;justify-content:center;min-height:46px}
.ios-steps small{color:var(--muted);font-size:12.5px;line-height:1.4}
.ios-extra{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 14px}
.ios-extra .chip{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:12px;padding:6px 10px;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer}
.ios-extra .chip small{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ios-done{width:100%}
.remember-check{display:flex!important;align-items:center;gap:8px;font-weight:600!important}.remember-check input{width:auto}
.ios-ico{display:inline-grid;place-items:center;width:22px;height:22px;border:1.5px solid currentColor;border-radius:5px;font-size:12px;vertical-align:-4px}
.ios-howto{list-style:none;counter-reset:h;margin:10px 0;padding:0;display:grid;gap:8px}
.guide-steps .ios-howto li{counter-increment:h;display:block;position:relative;padding:10px 12px 10px 42px;border-radius:14px;background:var(--soft);line-height:1.45}
.guide-steps .ios-howto li:before{content:counter(h);position:absolute;left:10px;top:9px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--card);color:var(--text);font-weight:800;font-size:12px}
.ios-steps .btn{font:inherit;font-weight:700;font-size:15px}
/* Handy-App: Auswahl Android / iPhone */
.os-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}
.os-choice a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;gap:2px 12px;align-items:center;padding:16px 18px;border-radius:20px;border:1.5px solid var(--line);background:var(--card);color:var(--text);text-decoration:none;transition:border-color .2s,background .2s,transform .2s}
.os-choice a span{grid-row:span 2;font-size:30px;line-height:1}
.os-choice a b{font-size:18px}.os-choice a small{color:var(--muted);font-size:13px}
.os-choice a:hover{transform:translateY(-2px)}
.os-choice a[aria-current]{border-color:var(--text);background:var(--text);color:var(--bg)}
.os-choice a[aria-current] small{color:inherit;opacity:.75}
@media(max-width:480px){.os-choice a{padding:12px;grid-template-columns:1fr;text-align:center;justify-items:center}.os-choice a span{grid-row:auto;font-size:26px}.os-choice a small{font-size:11.5px}}
/* Elemente mit hidden-Attribut immer ausblenden (sonst überschreiben display-Regeln wie .btn oder .guide das) */
[hidden]{display:none!important}
.auth-banner-link{display:block;border-radius:20px;transition:transform .2s}.auth-banner-link:hover{transform:translateY(-2px)}.auth-banner-link .auth-banner{display:block}
@media (max-width:640px){.auth-banner-link{display:none}}
.twofa-qr{width:min(240px,100%);aspect-ratio:1;margin:6px 0 12px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#fff}.twofa-qr svg{display:block;width:100%;height:100%}
.twofa-secret{font-size:15px;letter-spacing:.04em;overflow-wrap:anywhere}.twofa-steps{padding-left:20px;line-height:1.6;margin:0 0 12px}
.twofa-codes{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin:12px 0}.twofa-codes code{padding:8px 10px;border-radius:9px;background:var(--card);border:1px solid var(--line);text-align:center;font-size:15px}
.tags-check{margin:16px 0 0!important;font-weight:600!important}.actions .tags-check{margin:0!important}
.section-title{margin:30px 0 14px;font-size:22px}.section-title small{font-size:14px;font-weight:600}.stat small{margin-top:6px}
.legal-note{flex-basis:100%;margin:6px 0 0;text-align:center;font-size:12px;color:var(--muted);opacity:.85}
.token-advanced{margin-top:16px}.token-advanced summary{cursor:pointer;font-weight:700;color:var(--muted);font-size:14px}.account-overview{grid-column:1/-1}
/* ==========================================================================
   Dashboard im SaaS-Stil: dunkler Kopfbereich mit Kennzahlen, Filterleiste links,
   kompakte Inserat-Karten mit Status-Pille, Info-Boxen und dunklem Haupt-Button
   ========================================================================== */
.page-dash .topbar{display:none}
.dash-hero{position:relative;overflow:hidden;border-radius:26px;padding:26px 26px 24px;margin-bottom:22px;color:#f3efe6;
  background:radial-gradient(70% 120% at 0% 0%,rgba(0,119,130,.55),transparent 60%),radial-gradient(50% 90% at 100% 100%,rgba(255,106,61,.16),transparent 60%),#0f1e20}
.dash-hero-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:22px}
.dash-hero .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a8ead7}
.dash-hero .eyebrow:before{content:"";width:26px;height:1.5px;background:currentColor}
.dash-hero h1{margin:8px 0 0;font-size:clamp(32px,3.8vw,48px);line-height:1;letter-spacing:-.025em}
.dash-hero h1 em{font-style:italic;color:#a8ead7}
.dash-hero p{margin:8px 0 0;color:rgba(243,239,230,.7);max-width:520px}
.dash-new{flex:none;background:#f3efe6;border-color:#f3efe6;color:#0f1e20;border-radius:999px;padding:11px 18px}
.dash-new:hover{background:#a8ead7;border-color:#a8ead7}
.dash-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
/* Admin (7 Kacheln): oben 4 Zähler, darunter 3 Geldwerte – füllt beide Reihen ganz */
@media (min-width:1101px){.dash-stats.split{grid-template-columns:repeat(12,1fr)}.dash-stats.split .dash-stat{grid-column:span 3}.dash-stats.split .dash-stat:nth-child(n+5){grid-column:span 4}}
.dash-stat{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:104px;padding:16px 18px;border-radius:18px;
  background:rgba(243,239,230,.07);border:1px solid rgba(243,239,230,.1);transition:background .25s,transform .35s cubic-bezier(.2,.8,.2,1)}
.dash-stat:hover{background:rgba(243,239,230,.11);transform:translateY(-2px)}
.dash-stat span{font-size:13px;font-weight:600;color:rgba(243,239,230,.75);padding-right:40px;min-height:32px;display:flex;align-items:center}
.dash-stat strong{font-size:30px;line-height:1;letter-spacing:-.02em;font-weight:800}
.dash-stat i{position:absolute;right:14px;top:14px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:14px;font-weight:900}
.tone-teal{background:rgba(32,166,175,.25);color:#7fd8de}
.tone-mint{background:rgba(168,234,215,.2);color:#a8ead7}
.tone-amber{background:rgba(255,196,77,.2);color:#ffc44d}
.tone-coral{background:rgba(255,106,61,.22);color:#ff8a66}
/* Zwei Spalten: Filter + Karten */
.dash-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}
.dash-filter{position:sticky;top:20px;padding:20px}
.dash-filter .df-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}
.dash-filter h2{margin:0;font-family:inherit!important;font-size:17px!important;font-weight:800!important;letter-spacing:0!important}
.dash-filter .df-head a{font-size:13px;font-weight:700;color:var(--primary)}
.df-search input{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:12px;padding:10px 12px;font:inherit;font-size:14px}
.dash-filter fieldset{border:0;margin:18px 0 0;padding:0;display:grid;gap:2px}
.dash-filter legend{padding:0;margin-bottom:8px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.df-opt{display:flex;align-items:center;gap:10px;padding:7px 8px;margin:0 -8px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer}
.df-opt:hover{background:var(--soft)}
.df-opt input{width:18px;height:18px;margin:0;accent-color:#0f1e20;flex:none}
html[data-theme=dark] .df-opt input{accent-color:var(--primary)}
.df-opt small{margin-left:auto;font-size:12px;font-weight:700;color:var(--muted);background:var(--bg);border-radius:99px;padding:2px 8px}
.df-opt .dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--muted)}
.dash-filter select{width:100%;border-radius:12px}
/* Karten */
.dash-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:18px}
.dash-card{display:flex;flex-direction:column;gap:12px;padding:18px;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.dash-card:hover{transform:translateY(-3px);box-shadow:0 28px 60px -34px rgba(15,30,32,.4)}
.dc-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}
.dc-thumb{width:56px;height:56px;border-radius:14px;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:24px}
.dc-thumb img{width:100%;height:100%;object-fit:cover}
.dc-title h3{margin:0;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dc-title small{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.dc-pill{align-self:start;white-space:nowrap;font-size:12px;font-weight:800;padding:5px 10px;border-radius:99px;background:var(--bg);color:var(--muted);border:1px solid var(--line)}
.dc-pill.status-online,.dot.status-online{background:#dff4e7;color:#1d7a3e;border-color:#c6ebd3}
.dc-pill.status-reserved,.dot.status-reserved,.dc-pill.status-opened,.dot.status-opened{background:#fff3d6;color:#9a6400;border-color:#fbe3a6}
.dc-pill.status-sold,.dot.status-sold{background:#e8e4ff;color:#5b46c9;border-color:#d7d0ff}
.dc-pill.status-archived{background:var(--soft);color:var(--muted)}
.dot.status-online{background:#2fb35f}.dot.status-reserved,.dot.status-opened{background:#f0a400}.dot.status-sold{background:#7a63f0}.dot.status-draft{background:#b8c3c4}.dot.status-archived{background:#5b6b6d}.dot.status-all{background:#0f1e20}
html[data-theme=dark] .dc-pill.status-online{background:#163b26;color:#7fe0a3;border-color:#1f5134}
html[data-theme=dark] .dc-pill.status-reserved,html[data-theme=dark] .dc-pill.status-opened{background:#3d2f10;color:#ffd27a;border-color:#57431a}
html[data-theme=dark] .dc-pill.status-sold{background:#2a2550;color:#bdb2ff;border-color:#3a3370}
html[data-theme=dark] .dot.status-all{background:#eef6f6}
.dc-boxes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dc-boxes div,.dc-note{border-radius:14px;background:var(--bg);padding:10px 12px;min-width:0}
.dc-boxes small,.dc-note small{display:block;font-size:11.5px;color:var(--muted);margin-bottom:3px}
.dc-boxes b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dc-note p{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.dc-tags{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;margin-top:8px}
.dc-tags .folder-tag,.dc-tags .fam-tag{margin:0;display:inline-block}
.dc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.dc-actions .dc-main{flex:1 1 100%;background:#0f1e20;border-color:#0f1e20;color:#fff;border-radius:12px;min-height:44px}
.dc-actions .dc-main:hover{background:var(--primary);border-color:var(--primary)}
html[data-theme=dark] .dc-actions .dc-main{background:#eef6f6;border-color:#eef6f6;color:#0f1e20}
.dc-actions>.btn.small,.dc-actions form{flex:1 1 0}
.dc-actions form .btn{width:100%}
.dc-actions .btn.small{min-height:38px;border-radius:12px}
.dash-grid .empty{grid-column:1/-1}
@media (max-width:1100px){.dash-layout{grid-template-columns:1fr}.dash-filter{position:static}
  .dash-filter form{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 22px}.dash-filter .df-head,.dash-filter .df-search{grid-column:1/-1}}
@media (max-width:600px){
  .dash-hero{border-radius:20px;padding:20px 16px 16px;margin:4px 0 16px}
  .dash-hero-head{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px}
  .dash-hero h1{font-size:34px}.dash-hero p{font-size:14px}
  .dash-new{justify-content:center}
  .dash-stats{grid-template-columns:1fr 1fr;gap:8px}
  .dash-stat{min-height:84px;padding:12px 14px;gap:10px;border-radius:14px}
  .dash-stat strong{font-size:22px}.dash-stat span{font-size:12px;padding-right:34px}
  .dash-stat i{width:26px;height:26px;font-size:12px;right:10px;top:10px}
  .dash-stat span{min-height:26px}
  /* Filter am Handy als Chips */
  .dash-filter{padding:14px}
  .dash-filter form{display:block}
  .dash-filter fieldset{margin-top:12px;display:flex;flex-wrap:wrap;gap:6px}
  .dash-filter legend{width:100%;margin-bottom:4px}
  .df-opt{margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:99px;font-size:13px;gap:6px}
  .df-opt input{position:absolute;opacity:0;pointer-events:none}
  .df-opt:has(input:checked){background:#0f1e20;border-color:#0f1e20;color:#fff}
  html[data-theme=dark] .df-opt:has(input:checked){background:#eef6f6;border-color:#eef6f6;color:#0f1e20}
  .df-opt small{padding:0 6px;background:transparent;color:inherit;opacity:.7}
  .dash-grid{grid-template-columns:1fr;gap:12px}
  .dash-card{padding:14px;gap:10px}
  .dash-card:hover{transform:none}
}
@media (prefers-reduced-motion:reduce){.dash-stat,.dash-card{transition:none}.dash-stat:hover,.dash-card:hover{transform:none}}
/* ==========================================================================
   Seitenleiste: ruhig und typografisch – flache Tinte, Gruppen-Überschriften,
   aktiver Punkt als helle Fläche mit dunkler Schrift, keine Symbole
   ========================================================================== */
.sidebar{background:#0f1e20!important;background-image:none!important}
.sidebar nav{gap:1px}
.sidebar .nav-group{display:block;margin:18px 12px 6px;font-size:11px;font-weight:700;letter-spacing:.06em;color:rgba(243,239,230,.42)}
.sidebar .nav-group:first-child{margin-top:4px}
.sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:9px;font-size:14.5px;font-weight:500;color:rgba(243,239,230,.74);opacity:1;box-shadow:none!important;transition:color .15s,background .15s}
.sidebar nav a:hover{color:#f3efe6;background:rgba(243,239,230,.06)}
.sidebar nav a.active{background:#f3efe6;color:#0f1e20;font-weight:700}
.sidebar nav a.active:hover{background:#f3efe6}
.sidebar .nav-count{min-width:20px;padding:1px 6px;border-radius:6px;background:var(--coral);color:#fff;font-size:11.5px;font-weight:800;text-align:center;line-height:18px}
.sidebar nav a:focus-visible{outline:2px solid #a8ead7;outline-offset:1px}
.sidebar-user{background:transparent!important;border:0!important;border-top:1px solid rgba(243,239,230,.12)!important;border-radius:0!important;padding:14px 12px 0!important}
@media (max-width:950px){.sidebar .nav-group{margin:14px 14px 4px}.sidebar nav a{font-size:16px;padding:11px 14px}}
.sidebar .nav-group{margin:14px 12px 4px}
.sidebar nav a{padding:7px 12px}
.sidebar-account{justify-self:start;font-size:13.5px;font-weight:600;color:rgba(243,239,230,.74);text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(243,239,230,.3)}
.sidebar-account:hover,.sidebar-account.active{color:#f3efe6;text-decoration-color:currentColor}
@media (min-width:951px) and (max-height:820px){.sidebar .nav-group{margin-top:10px}.sidebar nav a{padding:5px 12px;font-size:14px}}
