/* Tegnetjek – technical, editorial, Danish. Review notes: 文案/UI评审_GPT_Gemini_2026-12-03.md
   Few boxes: structure comes from type, whitespace and 1px rules. Radius 3px. Brick red = the new building in the drawings. */
:root {
  --bg: #ffffff; --paper: #fff; --band: #f3f4f2; --ink: #242b2b; --muted: #5f6766; --rule: #dcddd7; --rule-strong: #b9bcb4;
  --brick: #a4473b; --brick-soft: #f3e6e3; --green: #47765b; --amber: #9a6a12;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;
  --r: 3px; --wrap: 1100px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--brick-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 60; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { left: 1rem; color: #fff; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); margin: .3rem 0 1rem; }
h2 { font-size: 1.5rem; margin: 0 0 1rem; }
h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.small { color: var(--muted); font-size: .86rem; }
.lead { font-size: 1.15rem; color: #3a4242; max-width: 40rem; }
.meta { color: var(--muted); font-size: .86rem; margin: 0 0 .4rem; }

/* header / footer */
.top { display: flex; gap: 1.2rem; align-items: baseline; padding: .9rem max(1rem, calc((100% - var(--wrap)) / 2)); border-bottom: 1px solid var(--rule); background: var(--paper); }
.brand { font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand::before { content: ""; display: inline-block; width: .62em; height: .62em; background: var(--brick); margin-right: .45em; vertical-align: .02em; }
.tag { color: var(--muted); font-size: .88rem; }
main { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem 1rem 4rem; }
footer { background: #1f2626; color: #aab1ae; padding: 1.6rem max(1rem, calc((100% - var(--wrap)) / 2)); font-size: .85rem; }
.foot-links { margin-bottom: .8rem; line-height: 2; }
.foot-links a { color: #e4e8e6; }
footer .small, footer p { color: #aab1ae; }
footer p { margin: .25rem 0; }

/* address search */
.search { position: relative; max-width: 38rem; }
.search form { display: flex; gap: 0; }
.search .q { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: .9rem 1rem; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r) 0 0 var(--r); background: var(--paper); }
.search .go { font: 600 1rem var(--sans); padding: 0 1.2rem; border: 1.5px solid var(--brick); background: var(--brick); color: #fff; border-radius: 0 var(--r) var(--r) 0; cursor: pointer; white-space: nowrap; }
.search .go:hover { background: #8e3b31; }
.hits { position: absolute; z-index: 5; left: 0; right: 0; margin: 2px 0 0; padding: 0; list-style: none; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.hits a, .hits .none { display: block; padding: .7rem 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.hits a:hover, .hits a:focus { background: var(--brick-soft); }
@media (max-width: 560px) { .search form { flex-direction: column; } .search .q { border-right: 1.5px solid var(--ink); border-radius: var(--r); } .search .go { border-radius: var(--r); padding: .85rem; margin-top: .5rem; } }

/* ---------- homepage ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; padding: 2rem 0 3rem; border-bottom: 1px solid var(--rule); }
.hero .reassure { margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.hero .reassure span + span::before { content: " · "; }
.hero-figure { margin: 0; }
.hero-figure .sheet { display: block; background: var(--paper); border: 1px solid var(--rule-strong); padding: .6rem; border-radius: var(--r); }
.hero-figure img { display: block; width: 100%; height: auto; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .84rem; color: var(--muted); margin-top: .5rem; }
section.block { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.steps { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1rem; }
/* step marker = a detail callout from the drawings: a numbered circle on a hairline */
.steps .n { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1.5px solid var(--brick); border-radius: 50%; font: 500 .9rem/1 var(--mono); color: var(--brick); margin-bottom: .8rem; }
.steps p { margin: 0; color: #3a4242; }
.product-shot { margin: 0; }
/* both screenshots have the same height; flex-grow = their pixel width, so they share the row without cropping */
.product-shot .frame { display: flex; align-items: flex-start; border: 1px solid var(--rule-strong); background: #fff; border-radius: var(--r); overflow: hidden; }
.product-shot img, .product-shot picture { display: block; min-width: 0; flex-basis: 0; width: 100%; height: auto; background: #fff; }
.product-shot picture img { flex: none; }
.product-shot .frame > :not(:first-child) { border-left: 1px solid var(--rule); }
.product-shot figcaption { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
.checks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; padding: 1.05rem 0; border-top: 1px solid var(--rule); }
.check-list li:last-child { border-bottom: 1px solid var(--rule); }
.check-list .ico { color: var(--brick); width: 2.2rem; height: 2.2rem; }
.check-list p { margin: 0; color: #3a4242; font-size: .96rem; }
.doc { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: 1.25rem 1.5rem 1rem; box-shadow: 0 1px 2px rgba(36,43,43,.06), 0 8px 24px rgba(36,43,43,.06); }
.doc .doc-head { display: flex; justify-content: space-between; font: 500 .78rem var(--mono); color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: .5rem; margin-bottom: .9rem; }
.doc p { margin: 0 0 .7rem; font-size: .95rem; color: #555c5b; }
.doc mark { background: var(--brick-soft); color: var(--ink); padding: .05em .2em; text-decoration: underline 1.5px var(--brick); text-underline-offset: 4px; }
.doc .doc-foot { font-size: .84rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: .6rem; margin-top: .8rem; }
.types { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.types li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.types a { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 500; }
.types a { transition: background-color .15s ease-out, color .15s ease-out; }
.types a:hover { background: var(--band); color: var(--brick); }
.types .ico { color: var(--brick); width: 3rem; height: 3rem; }
.types small { color: var(--muted); font-weight: 400; font-size: .84rem; }
table.prices { width: 100%; border-collapse: collapse; }
table.prices th, table.prices td { text-align: left; padding: 1rem .2rem; border-top: 1px solid var(--rule); vertical-align: top; }
table.prices tr:last-child td, table.prices tr:last-child th { border-bottom: 1px solid var(--rule); }
table.prices th { font-weight: 600; width: 38%; }
table.prices td.p { font: 500 1.25rem var(--mono); white-space: nowrap; text-align: right; width: 9rem; }
table.prices td.what { color: #3a4242; font-size: .95rem; }
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: start; }
.about p { color: #3a4242; max-width: 40rem; }
/* data sources set like the source list on a drawing: register, then what we take from it */
.sources { margin: 0; border-top: 1px solid var(--ink); }
.sources div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rule); }
.sources dt { font: 500 .86rem/1.5 var(--mono); }
.sources dd { margin: 0; font-size: .92rem; color: #3a4242; }
@media (max-width: 860px) {
  .hero, .checks, .about { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .product-shot .frame { flex-direction: column; }
  .product-shot .frame > * { flex: none !important; }
  .product-shot .frame > :not(:first-child) { border-left: 0; border-top: 1px solid var(--rule); }
  table.prices th { width: auto; }
  table.prices tr { display: grid; grid-template-columns: 1fr auto; }
  table.prices td.what { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
}
@media (max-width: 560px) {
  .tag { display: none; } body { font-size: 16px; }
  .top { align-items: center; }
  .top-cta { padding: .6rem 0; }
  .foot-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; line-height: 1.4; }
  .foot-links a { padding: .65rem 0; }
  .foot-links .sep { display: none; }
  .sources div { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- entry pages ---------- */
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.page { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 300px); gap: 3.5rem; align-items: start; }
.guide h1 { margin-top: .2rem; }
.guide h2 { font-size: 1.35rem; margin: 2.4rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.guide p { margin: 0 0 1rem; max-width: 68ch; }
.byline { color: var(--muted); font-size: .86rem; margin: -.3rem 0 1.4rem; }
.quick { font-size: 1.2rem; line-height: 1.55; color: var(--ink); margin: 0 0 1.6rem; }
.inline-check { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 1.2rem 0; margin: 1.5rem 0 2rem; }
/* on wide screens the sticky sidebar carries the address search – one search above the fold, not two */
@media (min-width: 961px) { .inline-check { display: none; } }
.side .terms { list-style: none; margin: 0 0 .2rem; padding: 0; font-size: .88rem; color: #3a4242; }
.side .terms li { padding: .45rem 0; border-top: 1px solid var(--rule); }
.inline-check p { margin: 0 0 .7rem; font-weight: 500; }
table.facts { width: 100%; border-collapse: collapse; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: .8rem .3rem .8rem 0; border-top: 1px solid var(--rule); }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 1px solid var(--rule); }
table.facts th { width: 30%; font-weight: 600; padding-right: 1.2rem; }
.ref { font: .78rem var(--mono); color: var(--muted); white-space: nowrap; }
.example { margin: 1.6rem 0; }
.example .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.example img { width: 100%; height: auto; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: .3rem; display: block; }
.example figcaption { font-size: .84rem; color: var(--muted); margin-top: .5rem; }
.extra { margin: 2rem 0; }
.extra ul { margin: 0; padding: 0; list-style: none; }
.extra li { padding: .6rem 0 .6rem 1.4rem; border-top: 1px solid var(--rule); position: relative; }
.extra li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .55rem; height: .55rem; background: var(--brick); }
.faq details { border-top: 1px solid var(--rule); padding: .4rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; padding: .5rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.4rem; font-family: var(--mono); color: var(--brick); }
.faq details[open] summary::before { content: "–"; }
.faq details p { margin: .5rem 0 0 1.4rem; }
.related { padding-left: 1.2rem; }
.side { position: sticky; top: 1.2rem; display: grid; gap: 1.2rem; }
.side .panel { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: 1.1rem; }
.side .panel h2 { font-size: 1.05rem; margin: 0 0 .5rem; border: 0; padding: 0; }
.side .panel p { font-size: .9rem; color: #3a4242; margin: 0 0 .8rem; }
.side .search form { flex-direction: column; }
.side .search .q { border-right: 1.5px solid var(--ink); border-radius: var(--r); font-size: 1rem; }
.side .search .go { border-radius: var(--r); padding: .75rem; margin-top: .5rem; }
.side .price { font: 500 1.4rem var(--mono); }
.side img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
@media (max-width: 960px) { .page { grid-template-columns: 1fr; gap: 0; } .side { position: static; margin-top: 2rem; } }
@media (max-width: 560px) { .example .pair { grid-template-columns: 1fr; } table.facts th { width: 38%; } }

/* ---------- check page ---------- */
.addr { margin-bottom: .2rem; }
p.facts { color: var(--muted); margin-top: 0; }
p.facts a { color: inherit; }
/* map and verdict share the left column, so the answer sits next to the fields that change it */
.work { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "map form" "result form"; column-gap: 2rem; row-gap: 1.5rem; align-items: start; }
.work .left { display: contents; }
.work .map { grid-area: map; }
.work .form { grid-area: form; }
.work .result { grid-area: result; }
@media (max-width: 800px) { .work { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "form" "result"; } }
.map svg { width: 100%; height: 420px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); touch-action: pan-y pinch-zoom; display: block; }
.map p.small { margin: .5rem 0 0; }
.form { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--r); padding: 1.25rem; display: grid; gap: 1rem; }
.form label { display: grid; gap: .25rem; font-size: .88rem; color: var(--muted); }
.form input, .form select { min-width: 0; width: 100%; font: inherit; font-size: 1rem; min-height: 2.75rem; padding: .5rem .6rem; border: 1px solid var(--rule-strong); border-radius: var(--r); color: var(--ink); background: #fff; }
.form input:hover, .form select:hover { border-color: var(--muted); }
.form input[inputmode=decimal], .form input[type=number] { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.form input[aria-invalid=true] { border-color: var(--brick); background: var(--brick-soft); }
.form .err { color: var(--brick); font-size: .82rem; }
.form .hint { font-size: .8rem; color: var(--muted); }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; align-items: start; }
.form .check { display: flex; gap: .5rem; align-items: center; color: var(--ink); min-height: 2.75rem; cursor: pointer; }
.form .check input { flex: none; width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--brick); }
.form .check.inline { align-self: end; }
fieldset { border: 0; border-top: 1px solid var(--rule); margin: 0; padding: 1rem 0 0; display: grid; gap: .75rem; }
fieldset:first-child { border-top: 0; padding-top: 0; }
legend { font-weight: 600; font-size: .95rem; padding: 0 0 .25rem; }
fieldset > p.small { margin: 0; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.ops { width: 100%; border-collapse: collapse; font-size: .85rem; table-layout: fixed; }
.ops th { text-align: left; font-weight: 500; color: var(--muted); padding: 0 .2rem .25rem; }
.ops th:nth-child(1) { width: 3.4rem; } .ops th:nth-child(2) { width: 5.6rem; } .ops th:nth-child(6) { width: 2.75rem; }
.ops td { padding: .2rem; }
.ops input, .ops select { width: 100%; min-width: 0; min-height: 2.25rem; padding: .3rem .35rem; font-size: .85rem; }
button.ghost { font: inherit; font-size: .88rem; min-height: 2.25rem; border: 1px solid var(--rule-strong); background: #fff; border-radius: var(--r); padding: .3rem .7rem; cursor: pointer; color: var(--ink); }
button.ghost:hover { border-color: var(--ink); }

/* verdict */
.result { border-top: 2px solid var(--ink); padding-top: 1rem; scroll-margin-top: 1rem; }
.result h2 { margin: 0 0 1rem; font-size: 1.45rem; display: flex; gap: .6rem; align-items: baseline; }
.result h2::before { content: ""; flex: none; width: .7em; height: .7em; background: currentColor; transform: translateY(.02em); }
.result h2.permit { color: var(--brick); } .result h2.no_permit { color: var(--green); } .result h2.no_permit_check { color: var(--amber); }
.result h2.pending { color: var(--muted); }
.result h2.pending::before { background: none; border: 1.5px solid currentColor; }
.result.busy h2 { opacity: .55; }
/* key figures as cells of a drawing title block */
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); margin: 0 0 1rem; }
.summary div { padding: .5rem .7rem .55rem; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.summary span { display: block; font-size: .76rem; line-height: 1.3; color: var(--muted); margin-bottom: .2rem; }
.summary b { font: 500 1.02rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
#items { padding-left: 0; list-style: none; margin: 0; }
#items li { padding: .6rem 0 .6rem 1.9rem; border-bottom: 1px solid var(--rule); position: relative; }
#items li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 1rem; height: 1rem; background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
#items li.ok::before { color: var(--green); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"); }
#items li.fail::before { color: var(--brick); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E"); }
#items li.warn::before, #items li.unknown::before { color: var(--amber); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2.2L14.5 13.5h-13z'/%3E%3Cpath d='M8 6.5v3.2M8 11.6v.1'/%3E%3C/svg%3E"); }
#items li.info::before { color: var(--muted); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='6.3'/%3E%3Cpath d='M8 7.3v4M8 4.9v.1'/%3E%3C/svg%3E"); }
.status-error { color: var(--brick); font-size: .88rem; margin: .6rem 0 0; }
.next { margin-top: 1.25rem; }
.next h3 { font-size: 1rem; margin: 0 0 .5rem; }
.next ol { margin: 0; padding-left: 1.3rem; }
.next li { padding: .2rem 0; }

/* drawings + buy */
.buy { margin-top: 3rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; }
.buy h2 { font-size: 1.3rem; margin: 0 0 .5rem; }
.buy > p { max-width: 66ch; }
.buyrow { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 1rem 0 .5rem; }
.buy button { font: 600 1rem var(--sans); min-height: 3rem; padding: .8rem 1.3rem; border: 1.5px solid var(--brick); border-radius: var(--r); background: var(--brick); color: #fff; cursor: pointer; transition: background-color .15s ease-out; }
.buy button:hover:not(:disabled) { background: #8e3b31; }
.buy button.secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.buy button.secondary:hover:not(:disabled) { background: var(--band); }
.buy button:disabled { cursor: default; }
#previewBtn:disabled { opacity: .7; }
#buyBtn:disabled { color: var(--muted); border-color: var(--rule-strong); background: var(--band); }
.soon { font-size: .86rem; color: var(--muted); }
.terms { list-style: none; padding: 0; margin: .75rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .88rem; color: #3a4242; }
.terms li { display: flex; gap: .45rem; align-items: baseline; }
.terms li::before { content: ""; flex: none; width: .5rem; height: .5rem; border: 1.5px solid var(--green); border-radius: 50%; transform: translateY(-.05em); }
.why-buy { max-width: 66ch; }
.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.buy .pages button { display: block; min-height: 0; font-weight: 400; width: 100%; padding: 0; border: 1px solid var(--rule-strong); border-radius: var(--r); background: #fff; cursor: zoom-in; text-align: left; font: inherit; color: var(--ink); transition: border-color .15s ease-out; }
.buy .pages button:hover { border-color: var(--ink); background: #fff; }
.pages img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--rule); }
.pages .cap { display: flex; justify-content: space-between; padding: .45rem .7rem; font: .8rem var(--mono); color: var(--muted); }
.after { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--rule-strong); border-radius: var(--r); background: var(--band); }
.after[hidden] { display: none; }
.after h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.after p { margin: 0; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,24,24,.9); display: grid; grid-template-rows: auto minmax(0, 1fr); z-index: 50; padding: 0 1rem 1rem; }
.lightbox[hidden] { display: none; }
.lb-bar { display: flex; align-items: center; gap: .5rem; min-height: 3.5rem; color: #e4e8e6; font: .9rem var(--mono); }
.lb-bar .count { margin-right: auto; }
.lb-bar button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; padding: 0; }
.lb-bar button:hover { background: rgba(255,255,255,.2); }
.lb-bar svg { width: 1.1rem; height: 1.1rem; }
.lb-stage { display: grid; place-items: center; min-height: 0; overflow: hidden; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); background: #fff; cursor: zoom-in; }
.lightbox.zoom .lb-stage { overflow: auto; place-items: start; }
.lightbox.zoom .lb-stage img { max-width: none; max-height: none; width: min(2600px, 250%); cursor: zoom-out; }

/* phone: the verdict follows you while you change the fields above it */
.verdict-bar { display: none; }
@media (max-width: 800px) {
  .verdict-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--rule-strong); box-shadow: 0 -4px 16px rgba(36,43,43,.08); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
  .verdict-bar[hidden] { display: none; }
  .verdict-bar .dot { flex: none; width: .65rem; height: .65rem; background: currentColor; }
  .verdict-bar .t { flex: 1; min-width: 0; }
  .verdict-bar .go { flex: none; color: var(--muted); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
  .verdict-bar.permit .dot { color: var(--brick); } .verdict-bar.no_permit .dot { color: var(--green); } .verdict-bar.no_permit_check .dot { color: var(--amber); } .verdict-bar.pending .dot { color: var(--muted); }
  body.has-bar { padding-bottom: 4.5rem; }
}
@media (max-width: 560px) {
  .map svg { height: 340px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .ops th:nth-child(5), .ops td:nth-child(5) { display: none; }
  .buy button { width: 100%; }
  .pages { grid-template-columns: 1fr 1fr; gap: .5rem; }
}

/* variant B (compare): grey bands behind alternate sections – enabled with <body class="bands"> */
body.bands .hero, body.bands section.block:nth-of-type(odd) { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }

/* legal pages (kontakt, handelsbetingelser, privatlivspolitik) */
.legal { max-width: 720px; }
.legal h2 { font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.legal p, .legal li { line-height: 1.6; }
.legal .address { font-family: inherit; padding: .8rem 1rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--band); }

/* conversion + trust (critique 2026-12-03: F1, F3, F8/F9) */
footer a { color: #e4e8e6; }
.top-cta { margin-left: auto; font-weight: 600; color: var(--brick); text-decoration: none; white-space: nowrap; }
.top-cta:hover { text-decoration: underline; }
#adresse { scroll-margin-top: 1.5rem; }
.price-note { margin: 1.2rem 0 .4rem; max-width: 66ch; color: #3a4242; }
.closing { text-align: left; }
.closing p { max-width: 40rem; }
.closing .search { max-width: 38rem; }
.side .panel-ico { color: var(--brick); margin-bottom: .25rem; }
.side .terms { display: grid; gap: 0; margin-top: .25rem; }
.side .terms li { padding: .45rem 0; border-top: 1px solid var(--rule); }
.side .price .small { font-family: var(--sans); }

/* buying (consents) and the order page – 2026-12-03 */
.consents { display: grid; gap: .6rem; margin: 1rem 0; max-width: 62ch; }
.consents label { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.consents input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--brick); }
#payBtn:disabled { opacity: .55; }
.order { max-width: 720px; }
.order h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.order-box { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.5rem 0; padding: 1.2rem; border: 1px solid var(--rule-strong); border-radius: var(--r); background: #fff; }
.order-box .small { flex-basis: 100%; margin: 0; }
a.button { display: inline-block; font: 600 1rem var(--sans); padding: .8rem 1.3rem; border: 1.5px solid var(--brick); border-radius: var(--r); background: var(--brick); color: #fff; text-decoration: none; }
a.button:hover { background: #8e3b31; }
a.button.secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
a.button.secondary:hover { background: var(--band); }
.order-link { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.order-link code { font-family: var(--mono, monospace); font-size: .85rem; padding: .35rem .5rem; background: var(--band); border-radius: var(--r); overflow-wrap: anywhere; }
.status-warn { color: var(--amber); font-weight: 600; }
