/* JH-Productions Vault — gleiche Farbwelt wie die Galerie (warm, hell, ruhig). */
:root {
  --bg: #f6f4ef; --panel: #ffffff; --ink: #1d1a16; --muted: #8d847a; --line: #e4dfd5;
  --accent: #b1492e; --accent-soft: #f3e2db; --ok: #2f7a4f; --ok-soft: #e1f0e6; --warn: #a8641a; --warn-soft: #f6ead9;
  --radius: 10px; --shadow: 0 1px 2px rgba(40,30,20,.06), 0 8px 28px rgba(40,30,20,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
       -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
main { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: 8px 24px 48px; }
button { font: inherit; cursor: pointer; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1180px;
       width: 100%; margin: 0 auto; }
.brand { font-weight: 700; letter-spacing: .14em; text-decoration: none; font-size: 14px; }
.who { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 14px; }
.who a { color: var(--muted); }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 24px; }

h1 { font-size: 28px; line-height: 1.2; margin: 18px 0 6px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.lead { font-size: 17px; color: #4a443d; margin: 0 0 8px; max-width: 60ch; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.block { margin-top: 40px; }

/* Login */
.login { max-width: 460px; margin: 8vh auto 0; }
.loginform { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 12px; }
.loginform label { font-size: 13px; color: var(--muted); }
.loginform input { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--panel); }
.loginform button, .accept .ok { padding: 12px 16px; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; font-weight: 600; }

/* Karten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow);
        transition: transform .15s ease, box-shadow .15s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); }
.thumb { aspect-ratio: 16/9; background: #2a2622; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; padding: 1px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.meta { padding: 12px 14px 14px; }
.meta .t { font-weight: 600; }
.meta .s { color: var(--muted); font-size: 13px; }
.badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.b { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.b.ok { background: var(--ok-soft); color: var(--ok); } .b.warn { background: var(--warn-soft); color: var(--warn); }
.b.c { background: #eee9df; color: #5d564e; }

/* Angebote */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.offer { background: var(--panel); border-radius: var(--radius); padding: 16px; text-decoration: none; box-shadow: var(--shadow); }
.offer .t { font-weight: 600; } .amt { font-size: 20px; font-weight: 650; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.amt.big { font-size: 34px; }
.offerpage { max-width: 680px; } .desc { white-space: pre-wrap; margin: 18px 0; background: var(--panel); padding: 18px; border-radius: var(--radius); }
.accept { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ghost { padding: 10px 14px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); color: var(--muted); }

/* Video-Seite */
.back { display: inline-block; margin-top: 8px; color: var(--muted); text-decoration: none; font-size: 14px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; margin-top: 12px; align-items: start; }
.stage video { width: 100%; border-radius: var(--radius); background: #000; display: block; aspect-ratio: 16/9; }
.markers { position: relative; height: 10px; margin: 6px 0 0; }
.markers i { position: absolute; top: 1px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); cursor: pointer; }
.head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.head h1 { font-size: 22px; margin-top: 12px; } .head .s { color: var(--muted); }
.actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.actions button, .dl { padding: 9px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); text-decoration: none; font-weight: 600; font-size: 14px; }
.actions .ok.on { background: var(--ok); color: #fff; border-color: var(--ok); }
.actions .warn.on { background: var(--warn); color: #fff; border-color: var(--warn); }
.versions { margin-top: 14px; color: var(--muted); font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.versions a { padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--panel); }
.versions a.cur { background: var(--ink); color: #fff; border-color: var(--ink); }
.comments { background: var(--panel); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); position: sticky; top: 12px; }
.clist { max-height: 52vh; overflow: auto; display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.cm .ch { display: flex; gap: 8px; align-items: baseline; font-size: 13px; } .cm .ch span { color: var(--muted); font-size: 12px; margin-left: auto; }
.cm .cb { white-space: pre-wrap; font-size: 14px; margin-top: 2px; } .cm.jh .ch b { color: var(--accent); } .cm.done { opacity: .55; }
.tcb { border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 4px; font-size: 12px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.cform { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.cform textarea { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 10px; resize: vertical; }
.cform button { align-self: flex-end; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; }
.tc { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .item { grid-template-columns: 1fr; } .comments { position: static; }
  main { padding: 8px 16px 40px; } .top { padding: 14px 16px; } h1 { font-size: 24px; }
}
.brand .vault { font-weight: 400; opacity: .6; margin-left: .35em; }
