/* Layout: kompakt topbjælke, filterbånd, gitter af rum-kort; detaljer i et sideark. Rulleporte + stencil-numre som gennemgående motiv. */
:root {
  --bg: #eef1f3;          /* galvaniseret stål, lys */
  --surface: #ffffff;
  --ink: #1b2430;         /* blæk-navy */
  --muted: #5c6875;
  --line: #d6dce1;
  --steel: #c7cfd6;
  --accent: #f2b705;      /* signalgul – bud og nedtælling */
  --accent-ink: #1b2430;
  --soon: #c2410c;        /* slutter snart */
  --ok: #1f7a4d;
  --chip: #e3e8ec;
  --door: #9aa6b1;
  --door-line: #7f8b96;
  --inside: #2b3440;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --logo-y: #f2b705;
  --sea: #dde6ec;          /* havet på kortet */
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #12171d; --surface: #1a212a; --ink: #e8edf1; --muted: #9aa7b3; --line: #2c3540; --steel: #34404c;
  --accent: #f5c518; --accent-ink: #12171d; --soon: #f08a4b; --ok: #4cc38a; --chip: #252e38;
  --door: #4a5664; --door-line: #3a4552; --inside: #0c1015; --logo-y: #a87a00; --sea: #0d141b; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #12171d; --surface: #1a212a; --ink: #e8edf1; --muted: #9aa7b3; --line: #2c3540; --steel: #34404c;
  --accent: #f5c518; --accent-ink: #12171d; --soon: #f08a4b; --ok: #4cc38a; --chip: #252e38;
  --door: #4a5664; --door-line: #3a4552; --inside: #0c1015; --logo-y: #a87a00; --sea: #0d141b; color-scheme: dark }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: .01em; text-wrap: balance; margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* Topbjælke */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--ink); color: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 20px; padding-block: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .01em; display: flex; align-items: baseline; }
.logo-word .y { color: var(--logo-y); }
.logo-word .lock { width: .62em; height: .8em; margin: 0 .03em .1em; align-self: flex-end; overflow: visible; }
.logo-word .shackle { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .shackle, .logo:focus-visible .shackle { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .logo-word .shackle { transition: none; } }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav button { background: none; border: 0; color: inherit; opacity: .75; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav button[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.1); }
.login { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 600; }
.login.in { background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.35); }

/* Filterbånd */
.band { padding-block: 26px 10px; }
.band h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.band p.lead { color: var(--muted); max-width: 60ch; margin: 8px 0 0; }
.stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-weight: 500; }
.stats b { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-right: 6px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 20px; padding-block: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; min-width: 0; }
.search input { border: 0; background: none; padding: 10px 0; width: 100%; outline: none; }
.chip { background: var(--chip); border: 1px solid transparent; border-radius: 999px; padding: 7px 13px; font-weight: 500; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
select.sort { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; }

/* Rum-kort */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; padding-block: 22px 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,30,40,.12); }
.pic { position: relative; aspect-ratio: 16 / 10; max-width: 100%; background: var(--inside); }
.pic svg { width: 100%; height: 100%; display: block; }
.lot { position: absolute; left: 10px; top: 10px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .08em; background: var(--accent); color: var(--accent-ink); padding: 2px 8px; border-radius: 4px; }
.timer { position: absolute; right: 10px; top: 10px; background: rgba(12,16,21,.78); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.timer.soon { background: var(--soon); }
.card-body { padding: 14px 16px 16px; display: grid; gap: 10px; flex: 1; }
.card-title { font-weight: 600; font-size: 16px; }
.meta { color: var(--muted); font-size: 13.5px; display: flex; gap: 6px 14px; flex-wrap: wrap; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.price-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.bids { font-size: 13px; color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; background: var(--chip); padding: 2px 8px; border-radius: 4px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 10px; color: var(--muted); }

/* Sideark */
.sheet-back { position: fixed; inset: 0; background: rgba(10,14,18,.5); z-index: 20; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(920px, 100%); background: var(--bg); z-index: 21; overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); box-shadow: -10px 0 40px rgba(0,0,0,.25); }
.sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); padding: 12px 20px; border-bottom: 1px solid var(--line); }
.close { background: var(--chip); border: 0; border-radius: 8px; padding: 8px 12px; font-weight: 600; }
.sheet-body { padding: 20px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 760px) { .sheet-body { grid-template-columns: minmax(0, 1fr); } }
.big { border-radius: var(--radius); overflow: hidden; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; aspect-ratio: 16/10; max-width: 100%; }
.thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.thumbs svg { width: 100%; height: 100%; display: block; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.facts div { background: var(--surface); padding: 10px 12px; }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.desc { margin-top: 16px; }
.desc h3, .hist h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.desc p { margin: 0 0 8px; max-width: 65ch; }

.bidbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; align-self: start; position: sticky; top: 64px; }
.bidbox .price { font-size: 44px; }
.count { display: flex; gap: 8px; }
.count div { flex: 1; background: var(--ink); color: var(--bg); border-radius: 8px; text-align: center; padding: 6px 4px; }
.count b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.count span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.count.soon div { background: var(--soon); color: #fff; }
.bid-input { display: flex; gap: 8px; }
.bid-input input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--bg); font-weight: 600; font-size: 17px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick button { background: var(--chip); border: 0; border-radius: 6px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
.cta { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; padding: 13px 16px; font-weight: 700; font-size: 16px; width: 100%; }
.cta:disabled { opacity: .5; cursor: not-allowed; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.breakdown { font-size: 14px; display: grid; gap: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.breakdown div { display: flex; justify-content: space-between; gap: 10px; }
.breakdown .total { font-weight: 700; font-size: 15px; padding-top: 4px; border-top: 1px solid var(--line); margin-top: 4px; }
.note { font-size: 12.5px; color: var(--muted); }
.msg { font-size: 14px; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.msg.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.msg.warn { background: color-mix(in srgb, var(--soon) 15%, transparent); color: var(--soon); }
.hist { margin-top: 18px; }
.hist ol { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; }
.hist li:first-child { border-top: 0; }
.hist li.me { font-weight: 700; }
.hist li .who { color: var(--muted); }

/* Indholdssider */
.page { padding-block: 26px 50px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.step { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); line-height: 1; -webkit-text-stroke: 1px var(--ink); }
.compare { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.compare td.us { font-weight: 700; }
.table-wrap { overflow-x: auto; }
.calc { display: grid; gap: 10px; margin-top: 10px; }
.calc label { font-size: 13px; color: var(--muted); }
.calc input { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--bg); font-weight: 600; font-size: 17px; width: 100%; }
.payout { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
footer { border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 13px; }
/* Sælgerportal */
.seller-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.seller-bar .who { color: var(--muted); font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; }
.kpi .l { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.ghost { background: transparent; }
.mytable { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 16px; font-size: 14.5px; }
.mytable th, .mytable td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mytable th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--chip); }
.pill.live { background: var(--accent); color: var(--accent-ink); }
.pill.sold { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill.plan { background: color-mix(in srgb, var(--soon) 15%, transparent); color: var(--soon); }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 18px 0 0; flex-wrap: wrap; counter-reset: s; }
.stepper li { flex: 1 1 150px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted); }
.stepper li b { font-family: var(--font-display); font-size: 22px; line-height: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); color: var(--ink); }
.stepper li[aria-current="step"] { color: var(--ink); border-color: var(--ink); }
.stepper li[aria-current="step"] b { background: var(--accent); color: var(--accent-ink); }
.stepper li.done b { background: var(--ink); color: var(--bg); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 14px; display: grid; gap: 16px; }
.form h2 { font-size: 26px; font-weight: 800; text-transform: uppercase; }
.form .hint { color: var(--muted); margin: -8px 0 0; max-width: 65ch; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field label, .field .lab { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--bg); width: 100%; font: inherit; color: inherit; }
.field textarea { min-height: 96px; resize: vertical; }
.field .sub { font-size: 12.5px; color: var(--muted); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--soon); }
.err { color: var(--soon); font-size: 13px; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; background: var(--bg); }
.drop.over { border-color: var(--accent); }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo { position: relative; aspect-ratio: 16/10; max-width: 100%; border-radius: 8px; overflow: hidden; background: var(--inside); border: 1px solid var(--line); }
.photo img, .photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .rm { position: absolute; right: 6px; top: 6px; background: rgba(12,16,21,.8); color: #fff; border: 0; border-radius: 6px; padding: 2px 8px; font-size: 13px; }
.photo .cover { position: absolute; left: 6px; bottom: 6px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 4px; }
.confirm { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 720px) { .review { grid-template-columns: minmax(0, 1fr); } }
.rev-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 14.5px; margin: 0; }
.rev-list dt { color: var(--muted); }
.rev-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.success { display: grid; gap: 10px; justify-items: start; }
/* Mine bud */
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--soon); color: #fff; font-size: 12px; font-weight: 700; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.summary { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.summary .pill { font-size: 13px; padding: 5px 12px; }
.pill.lead { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill.out { background: color-mix(in srgb, var(--soon) 18%, transparent); color: var(--soon); }
.rows { display: grid; gap: 10px; margin-top: 14px; }
.row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.row.out { border-color: color-mix(in srgb, var(--soon) 55%, var(--line)); }
.row .thumb { aspect-ratio: 16/10; max-width: 100%; border-radius: 7px; overflow: hidden; background: var(--inside); }
.row .thumb img, .row .thumb svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.row .info { min-width: 0; display: grid; gap: 4px; }
.row .info b { font-weight: 600; }
.row .nums { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.row .nums span { color: var(--muted); }
.row .nums strong { color: var(--ink); font-weight: 700; }
.row .act { display: grid; gap: 6px; justify-items: end; text-align: right; }
@media (max-width: 640px) { .row { grid-template-columns: 96px minmax(0, 1fr); } .row .act { grid-column: 1 / -1; justify-items: stretch; text-align: left; } }
.won { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 14px; }
@media (max-width: 720px) { .won { grid-template-columns: minmax(0, 1fr); } }
.won h3 { font-size: 26px; font-weight: 800; text-transform: uppercase; margin: 0; }
.progress { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.progress li { display: flex; gap: 10px; align-items: flex-start; }
.progress li i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: var(--chip); color: var(--muted); }
.progress li.ok i { background: var(--ok); color: #fff; }
.progress li.now i { background: var(--accent); color: var(--accent-ink); }
.code { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: .18em; line-height: 1; }
.code.locked { color: var(--muted); letter-spacing: .1em; }
button.pill { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 18px; align-items: start; margin-top: 14px; }
@media (max-width: 760px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout .order { order: -1; } }
.paybox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 16px; min-width: 0; }
.paybox h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; }
.paybox.done, .paybox.wait { justify-items: start; }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; }
.order .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; max-width: 100%; }
.order .thumb > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.methods { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.methods legend { margin-bottom: 6px; }
.method { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: var(--bg); }
.method > span { display: grid; gap: 2px; min-width: 0; }
.method input { margin-top: 4px; accent-color: var(--ink); }
.method:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--surface); }
.btn.big { padding: 14px 18px; font-size: 16px; justify-self: start; }
.bank { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.bank div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; flex-wrap: wrap; align-items: center; }
.bank div + div { border-top: 1px solid var(--line); }
.bank dt { color: var(--muted); font-size: 13.5px; } .bank dd { margin: 0; font-weight: 600; }
.tick { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--chip); border-top-color: var(--accent); animation: drej .9s linear infinite; }
@keyframes drej { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 3s; } }
/* Liste/kort-skifter og Danmarkskort */
.visning { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.visning button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 14px; }
.visning button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.kort { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; padding-block: 22px 40px; align-items: start; }
@media (max-width: 860px) { .kort { grid-template-columns: minmax(0, 1fr); } }
.kort-flade { background: var(--sea); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 8px; }
.kort-flade svg { width: 100%; height: auto; max-height: 72vh; display: block; }
.kort-flade .land { fill: var(--surface); stroke: var(--steel); stroke-width: 1.2px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.kort-flade .indsats { fill: none; stroke: var(--steel); stroke-width: .6; stroke-dasharray: 2 2; }
.kort-flade .indsats-tekst { font-size: 5px; fill: var(--muted); font-family: var(--font-body); }
.pin { cursor: pointer; outline: none; }
.pin .prik { stroke: var(--surface); transition: r .15s; }
.pin.groen .prik { fill: var(--ok); } .pin.gul .prik { fill: var(--accent); } .pin.roed .prik { fill: var(--soon); } .pin.plan .prik { fill: var(--door); }
.pin.hl .prik, .pin:focus-visible .prik { stroke: var(--ink); }
.pin .puls { fill: var(--soon); opacity: .45; transform-box: fill-box; transform-origin: center; animation: puls 1.6s ease-out infinite; }
@keyframes puls { from { transform: scale(1); opacity: .5; } to { transform: scale(2.6); opacity: 0; } }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.dot.groen { background: var(--ok); } .dot.gul { background: var(--accent); } .dot.roed { background: var(--soon); } .dot.plan, .dot.slut { background: var(--door); }
.forklaring { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.forklaring li { display: flex; align-items: center; gap: 6px; }
.kort-side { display: grid; gap: 10px; min-width: 0; }
.kort-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 72vh; overflow: auto; }
.kort-liste button { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kort-liste button > span { display: grid; min-width: 0; }
.kort-liste .note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kort-liste .r { text-align: right; }
.kort-liste li.hl button { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (prefers-reduced-motion: reduce) { .pin .puls { animation: none; opacity: .3; transform: scale(1.8); } }
/* Forside for opbevaringsfirmaer */
.s-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 10px 30px; }
@media (max-width: 860px) { .s-hero { grid-template-columns: minmax(0, 1fr); } }
.s-hero-tekst { display: grid; gap: 16px; justify-items: start; }
.s-hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: .95; text-transform: uppercase; }
.s-hero h1 span { display: block; color: var(--muted); }
.s-hero .lead { margin: 0; font-size: 17.5px; max-width: 54ch; }
.s-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.tidslinje { margin: 0; background: var(--ink); color: var(--bg); border-radius: 16px; padding: 22px; display: grid; gap: 14px; }
.tidslinje figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.tidslinje .price-label { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.tidslinje ol { list-style: none; margin: 0; padding: 0; display: grid; }
.tidslinje li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 9px 0 9px 18px; position: relative; border-left: 2px solid color-mix(in srgb, var(--bg) 25%, transparent); }
.tidslinje li::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent); }
.tidslinje li.slut::before { background: var(--accent); }
.tidslinje b { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--accent); }
.tidslinje strong { color: var(--accent); }
.tal { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-block: 2px solid var(--ink); }
.tal li { padding: 18px 16px; display: grid; gap: 2px; }
.tal li + li { border-left: 1px solid var(--line); }
@media (max-width: 440px) { .tal li + li { border-left: 0; border-top: 1px solid var(--line); } }
.tal b { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; }
.tal span { color: var(--muted); font-size: 14px; }
.s-h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-transform: uppercase; margin: 44px 0 16px; }
.flow { list-style: none; counter-reset: trin; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.flow li { counter-increment: trin; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.flow li::before { content: counter(trin); font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent); -webkit-text-stroke: 1px var(--ink); }
.flow h3 { font-size: 21px; font-weight: 800; text-transform: uppercase; }
.flow p { margin: 0; font-size: 14.5px; color: var(--muted); }
.vaerktoej { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.v-kort { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; font: inherit; color: inherit; }
button.v-kort { cursor: pointer; transition: border-color .15s, transform .15s; }
button.v-kort:hover { border-color: var(--ink); transform: translateY(-2px); }
.v-kort b { font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.v-kort span:not(.price-label):not(.v-link) { color: var(--muted); font-size: 14.5px; }
.v-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq { display: grid; gap: 8px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 16px 0; list-style-position: outside; }
.faq details[open] summary { padding-bottom: 6px; }
.faq p { margin: 0 0 16px; color: var(--muted); max-width: 66ch; }
.s-kontakt { margin-top: 44px; background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .s-kontakt { grid-template-columns: minmax(0, 1fr); } }
.s-kontakt h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; text-transform: uppercase; line-height: .95; }
.s-kontakt p { max-width: 42ch; }
.s-form { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.s-form > .field, .s-form > .k-msg, .s-form > .note, .s-form > .btn { grid-column: span 2; }
@media (min-width: 520px) { .s-form > .field { grid-column: span 1; } }
.s-form .btn { justify-self: start; }
.k-msg:empty { display: none; }
@media (prefers-reduced-motion: reduce) { button.v-kort { transition: none; } }
/* Receptionsvisning: fuld skærm til tablet ved skranken. Store trykflader (min. 64 px), ingen menu. */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.kiosk .top, body.kiosk footer { display: none; }
body.kiosk::before { background: var(--ink); }
.rec-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--ink); color: var(--bg); }
.rec-top .inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 10px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.rec-top .logo-word { font-size: 28px; }
.rec-top .rolle { font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; opacity: .7; }
.rec-top select { background: transparent; color: inherit; border: 1px solid color-mix(in srgb, var(--bg) 35%, transparent); border-radius: 8px; padding: 8px 10px; font-weight: 600; }
.rec-top select option { color: var(--ink); background: var(--surface); }
.rec-top .ur { margin-left: auto; font-family: var(--font-display); font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.rec-top .btn { background: transparent; color: inherit; border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.rec-body { padding-block: 18px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); max-width: 1280px; margin: 0 auto; }
.rec-start { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .rec-start { grid-template-columns: minmax(0, 1fr); } }
.rec-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 16px; min-width: 0; }
.rec-panel h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; }
.felter { display: flex; gap: 12px; justify-content: center; }
.felter span { width: 72px; height: 92px; border: 2px solid var(--line); border-radius: 14px; display: grid; place-items: center; background: var(--bg);
  font-family: var(--font-display); font-weight: 800; font-size: 56px; font-variant-numeric: tabular-nums; }
.felter span.fyldt { border-color: var(--ink); }
.felter span.naeste { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 420px; width: 100%; margin: 0 auto; }
.key { min-height: 72px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font-family: var(--font-display); font-weight: 800; font-size: 36px;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.key:active { background: var(--accent); color: var(--accent-ink); }
.key.fn { font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.key.ok { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.rec-msg { font-size: 17px; font-weight: 600; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--soon) 15%, transparent); color: var(--soon); text-align: center; }
.idag { display: grid; gap: 10px; }
.idag-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; text-align: left; width: 100%;
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); min-height: 72px; }
button.idag-item { cursor: pointer; border-color: var(--ink); background: var(--surface); }
.idag-item b { font-size: 19px; }
.idag-item .note { font-size: 14px; }
.idag-item .pill { font-size: 13px; padding: 5px 11px; }
.rec-stor { max-width: 760px; margin: 0 auto; text-align: center; justify-items: center; padding: 30px 24px; }
.rec-stor .rum { font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 11vw, 96px); line-height: .9; text-transform: uppercase; }
.rec-stor .sted { font-size: 22px; font-weight: 600; }
.rec-stor .navn { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 8vw, 72px); line-height: 1; border: 3px dashed var(--ink); border-radius: 14px; padding: 10px 26px; }
.rec-stor p { margin: 0; font-size: 18px; max-width: 52ch; }
.rec-knapper { display: grid; gap: 12px; width: 100%; max-width: 560px; }
.rec-knapper .btn { min-height: 68px; font-size: 20px; border-radius: 14px; }
.rec-stor.ok { border-color: var(--ok); box-shadow: inset 0 0 0 3px var(--ok); }
.rec-stor.stop { border-color: var(--soon); box-shadow: inset 0 0 0 3px var(--soon); }
.rec-stor .ikon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #fff; }
.rec-stor.ok .ikon { background: var(--ok); } .rec-stor.stop .ikon { background: var(--soon); }
.valgchips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.valgchips .chip { min-height: 56px; padding: 10px 18px; font-size: 17px; font-weight: 600; border-radius: 12px; }
.rec-stor textarea { width: 100%; min-height: 84px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--bg); font-size: 17px; }
.afh { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 16px; }
@media (max-width: 820px) { .afh { grid-template-columns: minmax(0, 1fr); } }
.kodeboks h2 { font-size: 26px; }
.kode { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: .35em; text-indent: .35em; text-align: center; width: 100%; max-width: 280px;
  border: 2px solid var(--ink); border-radius: 10px; padding: 8px 0; background: var(--bg); color: var(--ink); font-variant-numeric: tabular-nums; }
.paybox.tom { min-height: 100%; align-content: center; color: var(--muted); border-style: dashed; }
.valg { display: flex; gap: 10px; flex-wrap: wrap; }
.mangel { display: grid; gap: 14px; border-top: 1px dashed var(--line); padding-top: 14px; }
.mytable tr.sel td { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.pill.lead { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.gate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 18px; display: grid; gap: 12px; justify-items: start; max-width: 560px; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
