/*
  PrintStort.dk
  Version: 2.7
  Dato: 2026-09-14
*/

:root {
  --ink: #17211c;
  --muted: #59645d;
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --surface-soft: #ebe7dc;
  --line: #cfc9ba;
  --accent: #d65e36;
  --accent-dark: #a74426;
  --green: #315b45;
  --green-dark: #244434;
  --green-soft: #dde8df;
  --blue: #2f5f8f;
  --blue-soft: #e1ebf4;
  --yellow: #e9c857;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
button, input, select { font: inherit; }
p { margin-top: 0; margin-bottom: .8rem; }
ul { margin-top: .65rem; margin-bottom: .65rem; }

.skip-link { position: absolute; left: -9999px; top: 0; padding: .65rem .9rem; background: var(--ink); color: white; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(245, 241, 232, .97); border-bottom: 1px solid var(--line); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; text-decoration: none; white-space: nowrap; letter-spacing: -.045em; line-height: 1; }
.brand-print { font-weight: 650; font-size: 1.58rem; }
.brand-stort { font-weight: 900; font-size: 1.92rem; color: var(--accent); margin-left: .03em; }
.brand-dot { width: .4rem; height: .4rem; border-radius: 50%; background: var(--yellow); margin-left: .2rem; align-self: flex-start; margin-top: .06rem; }
.main-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { text-decoration: none; font-weight: 720; font-size: .93rem; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { border-color: var(--accent); outline: none; }
.main-nav a[aria-current="page"] { border-color: var(--ink); }

main { overflow: hidden; }
.container { max-width: var(--max); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.section { padding: 46px 0; }
.section-tight { padding: 24px 0; }
.section-white { background: var(--surface); }
.section-soft { background: var(--surface-soft); }
.section-green { background: var(--green-dark); color: white; }
.section-green .lead, .section-green .muted { color: rgba(255,255,255,.84); }
.section-green .kicker { color: #f3d976; }
.section-green .check-list li::before { color: #f3d976; }

.hero { padding: 46px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 38px; align-items: start; }
.eyebrow, .kicker { margin: 0 0 8px; font-weight: 850; color: var(--green); letter-spacing: .02em; }
.eyebrow { text-transform: uppercase; font-size: .8rem; letter-spacing: .11em; }
.wordplay-accent { color: var(--accent); }
.section-label { margin: 0 0 6px; font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.12; font-weight: 900; letter-spacing: -.025em; color: var(--green-dark); }
.section-label-light { color: #f3d976; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6rem); margin-bottom: 16px; max-width: 12ch; }
h2 { font-size: clamp(1.75rem, 3.15vw, 2.85rem); margin-bottom: 12px; }
h3 { font-size: 1.28rem; margin-bottom: 7px; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); max-width: 760px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.max-700 { max-width: 700px; }
.max-820 { max-width: 820px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.text-link { font-weight: 800; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .62rem .9rem; border: 1px solid var(--ink); border-radius: 6px; text-decoration: none; font-weight: 800; background: transparent; color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--ink); color: white; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--green); border-color: var(--green); }
.btn-light { background: white; color: var(--ink); border-color: white; }
.btn-large { min-height: 50px; padding: .78rem 1.05rem; font-size: 1.02rem; }

.project-note { background: #f0e8cf; border: 1px solid #cbbf99; padding: 18px 20px; transform: rotate(1deg); box-shadow: 5px 5px 0 rgba(23,33,28,.07); }
.project-note h2 { font-size: 1.48rem; margin-bottom: 8px; }
.project-note ul { margin: 12px 0 0; padding-left: 1.2rem; }
.project-note li { margin: 5px 0; }
.project-stamp { display: inline-block; margin-bottom: 11px; padding: .22rem .45rem; border: 2px solid var(--accent); color: var(--accent-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; transform: rotate(-2deg); }

.fact-strip { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-strip > div { padding: 12px 24px 12px 0; margin-right: 24px; border-right: 1px solid var(--line); }
.fact-strip > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fact-strip strong { display: block; font-size: 1.05rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.two-thirds { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; }
.check-list li { position: relative; padding-left: 25px; margin: 7px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: var(--accent); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.card { background: transparent; border-top: 3px solid var(--ink); padding: 16px 4px 2px; }
.card-number { display: inline-block; margin-bottom: 10px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 950; color: var(--ink); }

.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.model-card { padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.model-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.model-tag { display: inline-block; margin-bottom: 7px; font-size: 1rem; font-weight: 950; letter-spacing: .06em; }
.model-green { background: #edf4ee; border-top: 4px solid var(--green); }
.model-green .model-tag, .model-green h3 { color: var(--green-dark); }
.model-blue { background: #edf3f8; border-top: 4px solid var(--blue); }
.model-blue .model-tag, .model-blue h3 { color: var(--blue); }
.model-note { margin-top: 14px; padding-left: 14px; border-left: 3px solid var(--line); color: var(--muted); }

.price-strip { display: grid; grid-template-columns: repeat(3, max-content); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 18px; }
.price-strip > div { padding: 16px 24px 16px 0; margin-right: 24px; border-right: 1px solid var(--line); }
.price-strip > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.price-big { font-size: 1.85rem; font-weight: 900; line-height: 1.05; margin: 6px 0 4px; }
.price-green-text, .price-green { color: var(--green-dark); }
.price-blue-text, .price-blue { color: var(--blue); }
.price-separator { color: var(--muted); font-weight: 600; }
.price-green-head { background: #dbe8de; color: var(--green-dark); }
.price-blue-head { background: var(--blue-soft); color: #23496f; }
.price-table td.price-green { background: rgba(221,232,223,.42); }
.price-table td.price-blue { background: rgba(225,235,244,.55); }

.callout { padding: 16px 18px; background: var(--green-soft); border-left: 5px solid var(--green); }
.callout-warm { background: #f0e8cf; border-left-color: var(--yellow); }
.callout strong { color: var(--green-dark); }

.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.material-card { border: 1px solid var(--line); background: var(--surface); padding: 16px 18px; display: grid; gap: 7px; }
.material-card:nth-child(4n+1) { background: #f7f1df; }
.material-card:nth-child(4n+2) { background: #edf4ee; }
.material-card:nth-child(4n+3) { background: #edf3f8; }
.material-card:nth-child(4n+4) { background: #f5ece7; }
.material-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px; }
.material-name { margin: 0; font-size: 1.17rem; }
.material-price { min-width: 112px; text-align: right; line-height: 1.28; font-size: .78rem; font-weight: 800; }
.material-price span { display: block; }
.material-price strong { font-size: 1rem; }
.material-price small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.material-price-green { color: var(--green-dark); }
.material-price-blue { color: var(--blue); }
.badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.badge { display: inline-flex; align-items: center; padding: .22rem .48rem; border: 1px solid var(--line); background: var(--surface-soft); font-size: .79rem; line-height: 1.15; font-weight: 750; white-space: nowrap; }
.badge-water { background: #dcecf2; color: #164f64; border-color: #bdd7df; }
.material-card details { border-top: 1px solid var(--line); padding-top: 8px; }
.material-card summary { cursor: pointer; font-weight: 800; }
.material-card details p:last-child { margin-bottom: 0; }

.tech-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tech-guide-card { display: grid; gap: 5px; padding: 15px 17px; border: 1px solid var(--line); background: var(--surface); }
.tech-guide-card strong { font-size: 1.02rem; }
.tech-guide-card-contrast { background: #fff0d9; border-color: #d9bd76; }
.tech-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.tech-workflow > div { padding: 12px 14px; border-top: 3px solid var(--green); background: var(--surface-soft); }
.tech-workflow strong, .tech-workflow span { display: block; }
.tech-workflow span { margin-top: 4px; color: var(--muted); }
.tech-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tech-material-card { padding: 15px 17px; border: 1px solid var(--line); background: var(--surface); }
.tech-material-card:nth-child(4n+1) { background: #f7f1df; }
.tech-material-card:nth-child(4n+2) { background: #edf4ee; }
.tech-material-card:nth-child(4n+3) { background: #edf3f8; }
.tech-material-card:nth-child(4n+4) { background: #f5ece7; }
.tech-paper-no { margin-bottom: 4px; font-size: .8rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: var(--green-dark); }
.tech-material-card dl { margin: 10px 0 0; }
.tech-material-card dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 5px 0; border-top: 1px solid rgba(23,33,28,.12); }
.tech-material-card dt { font-weight: 800; }
.tech-material-card dd { margin: 0; }
.tech-material-card code { font-size: .78rem; overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #e7e2d6; font-size: .8rem; text-transform: uppercase; letter-spacing: .035em; }
tr:last-child td { border-bottom: 0; }
.price-cell { font-weight: 900; white-space: nowrap; }
.price-table { width: auto; min-width: 0; max-width: 100%; }
.price-table th:first-child, .price-table td:first-child { min-width: 220px; }

.calculator { background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.size-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.size-preset { border: 1px solid #aab3ad; background: #fff; color: var(--ink); padding: .48rem .68rem; border-radius: 5px; font-weight: 800; cursor: pointer; }
.size-preset:hover, .size-preset:focus-visible { border-color: var(--green); outline: 2px solid rgba(49,91,69,.12); }
.size-preset[aria-pressed="true"] { background: var(--green-dark); border-color: var(--green-dark); color: white; }
.size-preset small { display: block; font-size: .72rem; font-weight: 650; opacity: .85; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-weight: 800; font-size: .88rem; }
.field input, .field select { width: 100%; border: 1px solid #aeb7b0; background: white; border-radius: 4px; padding: .66rem .72rem; color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid rgba(214,94,54,.17); border-color: var(--accent); }
.calc-result { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-price { font-size: 2.3rem; font-weight: 900; line-height: 1; margin: 5px 0; }
.calc-meta { display: grid; gap: 3px; margin-top: 9px; }
.calc-error { margin-top: 10px; color: #8e2f1b; font-weight: 800; }
.calc-note { margin-top: 12px; padding: 10px 12px; background: #f0e8cf; border-left: 4px solid var(--yellow); font-size: .9rem; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 850; }
.faq details p { margin-bottom: 0; color: var(--muted); }

.cta-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; border-top: 4px solid var(--accent); padding-top: 18px; }
.cta-box h2 { margin-bottom: 7px; }
.cta-box .contact-heading { font-size: clamp(1.35rem, 2.2vw, 1.9rem); max-width: 18ch; }
.cta-links { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 5px; align-items: baseline; justify-items: start; }
.cta-links a { font-weight: 850; }
.contact-label { font-size: .88rem; color: var(--muted); margin: 0; }
.contact-phone { font-weight: 850; text-decoration: none; }

.site-footer { padding: 24px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { text-decoration: none; font-weight: 700; }

.page-hero { padding: 38px 0 24px; }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.55rem, 5.8vw, 4.9rem); margin-bottom: 10px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { text-decoration-thickness: 1px; }
.note { border-left: 4px solid var(--yellow); padding: 6px 0 6px 13px; color: var(--muted); }

@media (max-width: 920px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .main-nav { justify-content: flex-start; gap: 10px 13px; }
  .hero-grid, .split, .two-thirds, .cta-box { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 10px 0; }
  .fact-strip > div:last-child { border-bottom: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .price-strip { grid-template-columns: 1fr; }
  .price-strip > div { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 12px 0; }
  .price-strip > div:last-child { border-bottom: 0; }
  .material-grid { grid-template-columns: 1fr; }
  .tech-guide-grid, .tech-material-grid { grid-template-columns: 1fr; }
  .tech-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { padding: 9px 16px; }
  .main-nav { gap: 8px 12px; }
  .main-nav a { font-size: .86rem; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 34px; padding-bottom: 26px; }
  .section { padding: 34px 0; }
  .section-tight { padding: 18px 0; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .project-note { transform: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .price-table { width: 100%; table-layout: auto; font-size: .88rem; }
  .price-table th, .price-table td { padding: 8px 6px; }
  .price-table th:first-child, .price-table td:first-child { min-width: 0; width: auto; }
  .price-table .badge { display: block; width: max-content; margin-top: 3px; }
  .price-cell { white-space: nowrap; }
  .table-wrap:has(.price-table) { overflow-x: visible; }
  .size-presets { display: grid; grid-template-columns: repeat(3, 1fr); }
  .size-preset { padding: .5rem .35rem; }

  .material-head { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .material-price { min-width: 94px; font-size: .72rem; }
  .material-price strong { font-size: .92rem; }
  .material-card { padding: 14px 15px; }

  .material-compare-wrap { overflow: visible; border: 0; background: transparent; }
  .material-compare, .material-compare tbody, .material-compare tr, .material-compare td { display: block; width: 100%; }
  .material-compare thead { display: none; }
  .material-compare tr { margin-bottom: 10px; padding: 9px 10px; border: 1px solid var(--line); background: var(--surface); }
  .material-compare td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; padding: 3px 0; border: 0; }
  .material-compare td::before { font-size: .73rem; font-weight: 850; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
  .material-compare td:nth-child(1)::before { content: "Materiale"; }
  .material-compare td:nth-child(2)::before { content: "Gramvægt"; }
  .material-compare td:nth-child(3)::before { content: "Vandfast"; }
  .material-compare td:nth-child(4)::before { content: "Godt til"; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
