/* Mietrix Marktplatz – Ergänzungen zu app.css */
.pt0 { padding-top: 0 !important; }
.h3 { font-size: 1.1rem; }
.mt-s { margin-top: .35rem; }
.inline-block { display: inline-block; }
.narrow-l { max-width: 1000px; }
.lead { font-size: 1.08rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Startseite */
.hero-kicker { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255,255,255,.12); padding: .25rem .7rem; border-radius: 999px; font-size: .85rem; color: #e6eef0 !important; margin-bottom: 1rem; }
.hero .hero-search { grid-template-columns: 1.9fr 1fr 1fr .8fr auto; align-items: end; }
.hero-search > div { min-width: 0; }
.hero-search .hs-btn .btn { height: 100%; min-height: 44px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; font-size: .9rem; color: #d3dde0; }
.hero-facts span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-facts svg { color: var(--accent); }
@media (max-width: 760px) { .hero .hero-search { grid-template-columns: 1fr 1fr; } .hero-search > div:first-child, .hero-search .hs-btn { grid-column: 1 / -1; } }
.cat-tiles .tile { min-height: 96px; }
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { position: relative; padding-top: 1.6rem; }
.step .num, .step-list .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #1d1300; font-weight: 800; }
.step .num { position: absolute; top: -14px; left: 1.2rem; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: linear-gradient(135deg, #263236, #3d5257); color: #fff; border-radius: var(--r); padding: 1.6rem 1.8rem; }
.cta-box p { color: #d3dde0; }
.project-card h2 a { color: var(--ink); }

/* Karten */
.acard .tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.acard .tags span { background: #f1f4f5; border-radius: 4px; padding: 0 .35rem; font-size: .74rem; color: var(--ink-2); }
.acard .tags .tag-ok { background: var(--ok-l); color: var(--ok); }
.acard .tags .stars { font-size: .72rem; }
.acard-hl { border: 2px solid #f0c75a; box-shadow: 0 0 0 3px #fff7dc; }
.acard .badge-info { background: #314043; color: #fff; }

/* Suche */
.page-intro { margin-bottom: 1.2rem; }
.page-intro h1 { margin-bottom: .3rem; }
.search-layout { align-items: start; }
.filters-box > summary { display: none; list-style: none; }
.filters-box > summary::-webkit-details-marker { display: none; }
.filters .panel h3 { margin-top: .4rem; }
.grid.tight { gap: .5rem; }
.cat-tree ul { list-style: none; padding-left: 0; margin: 0; }
.cat-tree ul ul { padding-left: .8rem; border-left: 1px solid var(--line); margin-left: .2rem; }
.cat-tree li a { display: block; padding: .18rem 0; font-size: .9rem; color: var(--ink-2); }
.cat-tree li a.on { color: var(--ink); font-weight: 700; }
.sort-form select { width: auto; min-width: 170px; }
.rank-note { margin-top: -.6rem; }
.hint-chips .chip { font-size: .8rem; }
@media (max-width: 960px) {
  .filters-box > summary { display: flex; margin-bottom: .8rem; }
  .filters-box:not([open]) > form { display: none; }
}

/* Artikel */
.article-split { margin-top: .4rem; }
.article-h1 { margin-top: 1rem; font-size: 1.75rem; }
.article-meta { margin-bottom: .6rem; gap: .5rem .9rem; }
.mode-line { margin: .5rem 0; }
.bookbox h3 { font-size: 1rem; }
.opt-box { border: 1px solid var(--line); border-radius: var(--r-s); padding: .5rem .8rem .4rem; margin: 0 0 1rem; }
.opt-box legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.extra-qty { display: grid; grid-template-columns: 1fr 80px; gap: .5rem; align-items: center; margin: .35rem 0; font-size: .92rem; }
.quote .ql { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; }
.quote .ql.sm { font-size: .85rem; color: var(--mute); }
.quote .err { margin: 0; }
.list-check { padding-left: 1.2rem; margin: 0; }
.list-check li { margin: .25rem 0; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; align-items: center; gap: .45rem; padding: .3rem 0; flex-wrap: wrap; }
.reply { margin-top: .5rem; padding: .5rem .7rem; background: #f6f8f9; border-left: 3px solid var(--brand); font-size: .9rem; }
.cal .d[data-day] { cursor: pointer; }
.cal .d.sel { background: var(--brand); color: #fff; }
.cal .d.rng { background: #cfe0e3; color: var(--ink); }
.variant-form { margin: .8rem 0 0; }

/* Vermieter */
.merchant-head { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 1.4rem; box-shadow: var(--sh); }
.merchant-head .cover { max-height: 220px; overflow: hidden; }
.merchant-head .cover img { width: 100%; height: 220px; object-fit: cover; }
.mh-row { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; }
.mh-logo { width: 72px; height: 72px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; overflow: hidden; flex: none; }
.mh-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.mh-logo.sm { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 8px; }
.merchant-tile { color: var(--ink); display: block; }
.merchant-tile:hover { text-decoration: none; box-shadow: var(--sh-l); }
.kv.kv-1 { grid-template-columns: 1fr; gap: .1rem; }
.kv.kv-1 dt { font-size: .8rem; margin-top: .5rem; }

/* Warenkorb & Kasse */
.cart-line.has-problem { background: #fffafa; }
.qty-input { width: 80px !important; padding: .35rem .5rem !important; }
.qty-form { gap: .35rem; }
.cart-total { margin-top: .5rem; }
.group-panel .panel-h h2 { font-size: 1.15rem; }
.group-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.group-lines li { display: flex; gap: .5rem; flex-wrap: wrap; align-items: baseline; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.group-lines .right-num { margin-left: auto; font-weight: 600; }
.opts fieldset { border: 1px solid var(--line); border-radius: var(--r-s); padding: .4rem .8rem .3rem; margin: 0 0 1rem; }
.opts legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
.sum.cost { margin: .5rem 0 1rem; }
.payee-note { display: flex; gap: .5rem; align-items: flex-start; background: #f6f8f9; border: 1px solid #dbe3e5; border-radius: var(--r-s); padding: .7rem .8rem; font-size: .9rem; margin-bottom: .6rem; }
.payee-note svg { flex: none; margin-top: .15rem; }
.terms-details { margin: .3rem 0 0 1.6rem; font-size: .9rem; }
.req-check { background: var(--warn-l); padding: .5rem .6rem; border-radius: var(--r-s); }
.addr-grid { grid-template-columns: 2fr 1fr 2fr; }
.addr-grid .span2 { grid-column: span 1; }
@media (max-width: 620px) { .addr-grid { grid-template-columns: 1fr; } }
.account-box { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.delivery-addr { margin-top: .5rem; }

/* Buchungsansicht */
.thanks h1 { display: flex; align-items: center; gap: .5rem; color: var(--ok); }
.order-card .panel-h { align-items: flex-start; }
.items-table td, .items-table th { padding: .5rem .4rem; }
.msgs { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0; }
.msg { max-width: 85%; background: #f1f4f5; border-radius: 10px; padding: .55rem .75rem; font-size: .92rem; }
.msg.mine { align-self: flex-end; background: #e3eef0; }
details > summary { cursor: pointer; }

/* Konto */
.acc-nav nav a { display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem; border-radius: var(--r-s); color: var(--ink-2); font-size: .93rem; }
.acc-nav nav a:hover { background: #f1f4f5; text-decoration: none; }
.acc-nav nav a.on { background: var(--brand-l); color: var(--ink); font-weight: 600; }
.acc-who { padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.thread { display: block; padding: .7rem .4rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.thread:hover { background: #f7f9fa; text-decoration: none; }
.thread.unread { background: #fffaf0; }
.authbox.wide { max-width: 680px; }
.stars-input { border: 0; padding: 0; margin: 0 0 .6rem; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.stars-input legend { font-weight: 600; font-size: .9rem; float: left; margin-right: .6rem; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 1.7rem; color: #cfd6db; cursor: pointer; padding: 0 .08rem; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: #e3a008; }
.stars-input input:focus-visible + label { outline: 2px solid var(--brand); }

/* Informationsseiten */
.prose-page { max-width: 820px; }
.share-row { margin: .9rem 0; }
.share-row .bar { height: 8px; background: #edf1f2; border-radius: 4px; overflow: hidden; margin: .3rem 0; }
.share-row .bar span { display: block; height: 100%; background: var(--brand); }
.step-list > div { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.step-list > div:last-child { border-bottom: 0; }
.step-list .num { flex: none; }

@media (max-width: 620px) {
  .container { padding: 0 14px; }
  .section { padding: 1.6rem 0; }
  .hero { padding: 2rem 0 2.4rem; }
  .cards { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .acard .body { padding: .6rem .65rem .75rem; }
  .acard .t { font-size: .92rem; }
  .acard .price { font-size: .95rem; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cart-line { grid-template-columns: 56px 1fr; }
  .cart-line .thumb { width: 56px; height: 44px; }
  .cart-line > .right { grid-column: 2; text-align: left; }
  .result-head { flex-direction: column; align-items: flex-start; }
  .mh-row { padding: 1rem; }
  .cta-box { padding: 1.2rem; }
  .bookbox { position: static; }
}
@media (max-width: 380px) { .cards { grid-template-columns: 1fr; } }
.filters .dates { grid-template-columns: 1fr; }
@media (max-width: 960px) { .filters .dates { grid-template-columns: 1fr 1fr; } }
input:not([type]), input[type=time] { width: 100%; padding: .58rem .7rem; border: 1px solid #cdd5dc; border-radius: var(--r-s); background: #fff; font: inherit; color: inherit; }
input:not([type]):focus, input[type=time]:focus { outline: 2px solid rgba(49, 64, 67, .2); border-color: var(--brand); }
input[readonly] { background: #f4f6f7; }
.quote .ql span + span, .quote .ql b { white-space: nowrap; }
.mobile-book-bar { display: none; }
@media (max-width: 960px) {
  .mobile-book-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(16,24,40,.08); padding: .6rem 1rem; justify-content: space-between; align-items: center; color: var(--ink); }
  .mobile-book-bar:hover { text-decoration: none; }
  body:has(.mobile-book-bar) .mk-foot { padding-bottom: 4.5rem; }
  .bookbox { scroll-margin-top: 80px; }
}
@media (max-width: 760px) { .hero-search .hs-btn .btn { width: 100%; } }
