:root {
  --navy: #122f38;
  --navy-soft: #1c4249;
  --ink: #183038;
  --muted: #64767a;
  --paper: #f3f5f1;
  --white: #ffffff;
  --green: #83c9b4;
  --green-dark: #287963;
  --yellow: #f0c86b;
  --line: rgba(18, 47, 56, .16);
  --max: 1180px;
  --radius: 7px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 96px 0; }

.skip-link { position: fixed; left: 12px; top: -70px; z-index: 100; padding: 10px 14px; color: var(--navy); background: var(--green); }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.nav { width: min(calc(100% - 40px), var(--max)); height: 82px; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 20px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.brand b { color: var(--green); }
.brand-mark { width: 31px; height: 31px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:not(.nav-contact):hover { color: var(--green); }
.nav-contact { min-height: 46px; display: inline-flex; align-items: center; padding: 9px 17px; color: var(--navy); background: var(--green); border-radius: var(--radius); }
.nav-contact:hover { background: #a3d8c8; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; place-items: center; border: 1px solid rgba(255,255,255,.46); border-radius: var(--radius); color: var(--white); background: rgba(0,0,0,.2); font-size: 24px; cursor: pointer; }

.hero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(7,27,32,.94) 0%, rgba(7,27,32,.75) 40%, rgba(7,27,32,.14) 74%), linear-gradient(0deg, rgba(7,27,32,.66), transparent 52%), url("bastaladdboxen-hero.jpg"); background-size: cover; background-position: center; transform: scale(1.015); animation: hero-image 1.05s ease-out both; }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 150px 0 92px; }
.eyebrow, .kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 14px; color: var(--green-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow { color: var(--green); }
.kicker.light { color: var(--green); }
.eyebrow::before, .kicker::before { content: ""; width: 38px; border-top: 2px solid currentColor; }
h1 { max-width: 860px; margin-bottom: 22px; font-size: 68px; line-height: 1.03; letter-spacing: 0; }
.hero-copy { max-width: 640px; margin-bottom: 31px; color: rgba(255,255,255,.86); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid var(--green); border-radius: var(--radius); color: var(--navy); background: var(--green); font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #a3d8c8; }
.button-secondary { color: var(--white); background: rgba(9,31,36,.5); border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.button-secondary:hover { color: var(--navy); background: var(--white); }
.hero-scroll { position: absolute; right: max(20px, calc((100% - var(--max)) / 2)); bottom: 32px; z-index: 2; display: inline-flex; gap: 10px; align-items: center; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; text-decoration: none; }
.hero-scroll span { color: var(--green); font-size: 20px; }

.intro { padding: 76px 0; }
.intro-layout { display: grid; grid-template-columns: .45fr 1.55fr; gap: 7vw; align-items: start; }
.intro h2, .compare h2, .section-heading h2, .installation h2, .cost h2, .checklist h2, .faq h2, .method h2, .contact-band h2 { margin-bottom: 18px; font-size: 48px; line-height: 1.08; letter-spacing: 0; }
.lead { max-width: 790px; margin: 0; color: var(--muted); font-size: 20px; }

.compare { background: var(--white); }
.compare-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: 8vw; align-items: start; }
.compare-copy { position: sticky; top: 28px; }
.compare-copy > p:not(.kicker) { color: var(--muted); }
.criteria-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.criteria-list li { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.criteria-list li > span { color: var(--green-dark); font-size: 13px; font-weight: 800; }
.criteria-list h3 { margin: 0 0 4px; font-size: 21px; line-height: 1.25; }
.criteria-list p { margin: 0; color: var(--muted); font-size: 15px; }

.needs { color: var(--white); background: var(--navy); }
.section-heading { max-width: 800px; margin-bottom: 46px; }
.section-heading > p:not(.kicker) { color: #bdd0cf; }
.needs-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.needs-grid article { min-height: 280px; padding: 28px 23px; border-right: 1px solid rgba(255,255,255,.18); }
.needs-grid article:first-child { padding-left: 0; }
.needs-grid article:last-child { border-right: 0; }
.needs-grid span { color: var(--green); font-size: 13px; font-weight: 800; }
.needs-grid h3 { margin: 42px 0 10px; font-size: 22px; line-height: 1.2; }
.needs-grid p { margin: 0; color: #bdd0cf; font-size: 15px; }

.installation { background: var(--paper); }
.installation-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 7vw; align-items: center; }
.installation-visual { min-height: 660px; background-image: linear-gradient(0deg, rgba(8,32,37,.14), rgba(8,32,37,.14)), url("bastaladdboxen-hero.jpg"); background-size: cover; background-position: 70% center; }
.installation-copy > p:not(.kicker) { color: var(--muted); }
.installation-list { margin: 29px 0 25px; border-top: 1px solid var(--line); }
.installation-list div { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.installation-list dt { font-weight: 800; }
.installation-list dd { margin: 0; color: var(--muted); font-size: 15px; }
.source-link { display: inline-flex; gap: 8px; color: var(--green-dark); font-size: 14px; font-weight: 800; text-underline-offset: 5px; }

.cost { background: var(--white); }
.cost-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 8vw; align-items: center; }
.lead-small { max-width: 690px; color: var(--muted); font-size: 18px; }
.cost-factors { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; border-top: 1px solid var(--line); }
.cost-factors li { padding: 14px 16px 14px 25px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; font-weight: 700; }
.cost-factors li:nth-child(odd) { padding-left: 25px; border-right: 1px solid var(--line); }
.cost-factors li::before { content: ""; position: absolute; left: 3px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-dark); }
.deduction { padding: 43px; color: var(--white); background: var(--navy-soft); }
.deduction-number { margin-bottom: 5px; color: var(--green); font-size: 74px; font-weight: 800; line-height: 1; }
.deduction h3 { margin-bottom: 14px; font-size: 25px; line-height: 1.2; }
.deduction p { color: #d3dfdc; }
.deduction .source-note { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.deduction .source-link { color: var(--green); }

.checklist { color: var(--white); background: #245b57; }
.checklist-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: 8vw; align-items: start; }
.checklist ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.checklist li { min-height: 78px; display: flex; gap: 14px; align-items: center; padding: 14px 18px 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #e2eeeb; font-size: 15px; }
.checklist li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
.checklist li:nth-child(even) { padding-left: 18px; }
.checklist li span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green); font-size: 12px; font-weight: 800; }

.faq { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; align-items: start; }
.faq-layout > div:first-child > p:not(.kicker) { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 21px 40px 21px 0; font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--green-dark); font-size: 27px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 34px 22px 0; color: var(--muted); }

.method { background: var(--white); }
.method-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; align-items: start; }
.method-layout > div:last-child p { color: var(--muted); }
.method-layout > div:last-child p:last-child { margin-bottom: 0; }
.contact-band { padding: 68px 0; color: var(--white); background: var(--navy-soft); }
.contact-band .container { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-band h2 { margin-bottom: 9px; font-size: 40px; }
.contact-band p { margin-bottom: 0; color: #c8d8d5; }
.contact-band .button { flex: 0 0 auto; }

.site-footer { padding: 66px 0 24px; color: var(--white); background: #0b242a; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8vw; padding-bottom: 42px; }
.footer-grid > div > p { max-width: 570px; margin: 17px 0; color: rgba(255,255,255,.62); }
.footer-grid address { color: rgba(255,255,255,.7); font-style: normal; }
.footer-grid address a { font-weight: 800; text-underline-offset: 4px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 23px; align-content: start; }
.footer-links a { font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.owner-row { display: flex; justify-content: space-between; gap: 50px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.owner-row p { max-width: 540px; margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: rgba(255,255,255,.46); font-size: 12px; }
.legal-note { max-width: 850px; margin: 16px 0 0; color: rgba(255,255,255,.44); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes hero-image { from { opacity: .55; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }
.button:focus-visible, .nav-contact:focus-visible, .menu-toggle:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .nav-links { display: none; position: fixed; inset: 82px 0 auto; padding: 25px 20px 31px; flex-direction: column; align-items: stretch; background: #0b2930; border-top: 1px solid rgba(255,255,255,.16); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 8px; font-size: 17px; text-align: center; }
  .nav-contact { justify-content: center; }
  .intro-layout, .compare-layout, .installation-layout, .cost-layout, .checklist-layout, .faq-layout, .method-layout { grid-template-columns: 1fr; gap: 48px; }
  .compare-copy { position: static; }
  .needs-grid { grid-template-columns: 1fr 1fr; }
  .needs-grid article:nth-child(2) { border-right: 0; }
  .needs-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .installation-visual { min-height: 520px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .nav, .hero-inner { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 72px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 27px; height: 27px; }
  .nav-links { top: 72px; }
  .hero { min-height: 91svh; }
  .hero::before { background-image: linear-gradient(90deg, rgba(7,27,32,.89), rgba(7,27,32,.24)), linear-gradient(0deg, rgba(7,27,32,.8), transparent 64%), url("bastaladdboxen-hero.jpg"); background-position: 63% center; }
  .hero-inner { padding: 118px 0 56px; }
  h1 { font-size: 42px; }
  .hero-copy { font-size: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-scroll { display: none; }
  .section { padding: 70px 0; }
  .intro { padding: 59px 0; }
  .intro h2, .compare h2, .section-heading h2, .installation h2, .cost h2, .checklist h2, .faq h2, .method h2 { font-size: 36px; }
  .lead { font-size: 18px; }
  .criteria-list li { grid-template-columns: 42px 1fr; }
  .needs-grid { grid-template-columns: 1fr; }
  .needs-grid article, .needs-grid article:first-child { min-height: auto; padding: 25px 3px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .needs-grid article:last-child { border-bottom: 0; }
  .needs-grid h3 { margin-top: 18px; }
  .installation-visual { min-height: 390px; }
  .installation-list div { grid-template-columns: 1fr; gap: 4px; }
  .cost-factors, .checklist ol { grid-template-columns: 1fr; }
  .cost-factors li:nth-child(odd), .checklist li:nth-child(odd) { border-right: 0; }
  .cost-factors li, .cost-factors li:nth-child(odd), .checklist li, .checklist li:nth-child(even) { padding-left: 27px; }
  .deduction { padding: 32px 25px; }
  .deduction-number { font-size: 62px; }
  .contact-band .container { align-items: stretch; flex-direction: column; gap: 25px; }
  .contact-band h2 { font-size: 34px; }
  .contact-band .button { width: 100%; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .owner-row, .footer-bottom { flex-direction: column; }
}

/* Undersidor (2026-10-10) */
.site-header-solid { position: relative; background: var(--navy); }
.page-head { padding: 72px 0 64px; color: var(--white); background: var(--navy); }
.page-head h1 { font-size: 52px; }
.page-lead { max-width: 760px; margin: 0; color: rgba(255,255,255,.86); font-size: 19px; }
.page-lead a { color: var(--green); }
.page-body { background: var(--white); }
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 12px; font-size: 28px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--green-dark); text-underline-offset: 4px; }

.tablewrap { overflow-x: auto; margin: 18px 0; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.calc-table caption { text-align: left; padding: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.calc-table th, .calc-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.calc-table thead th { color: var(--navy); font-size: 13px; background: var(--paper); }
.calc-table tbody th { font-weight: 800; }
.prose ol, .prose ul { color: var(--muted); padding-left: 22px; }
.prose .faq-list details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.prose .faq-list summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.source-note { font-size: 14px; }
.avdrag-calc { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.avdrag-calc label { display: block; font-weight: 700; margin-bottom: 6px; }
.avdrag-calc input { width: 100%; max-width: 280px; padding: 10px 12px; font-size: 16px; border: 1px solid var(--line); border-radius: 6px; }
@media (max-width: 760px) {
  .price-table { min-width: 0; }
  .price-table thead { position: absolute; left: -9999px; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 0; }
  .price-table th, .price-table td { border: 0; padding: 4px 12px; overflow-wrap: anywhere; }
  .price-table [data-l]::before { content: attr(data-l) ": "; display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
}
@media (max-width: 620px) { .page-head { padding: 48px 0 44px; } .page-head h1 { font-size: 36px; } .prose h2 { font-size: 24px; } }
