:root {
  --bg: #f6f7f2;
  --paper: #fffdf8;
  --ink: #20362d;
  --muted: #647067;
  --line: #dce3d9;
  --moss: #41644f;
  --moss-dark: #183f35;
  --sage: #eaf0e4;
  --clay: #9a6249;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 125px; }
body {
  margin: 0;
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 3px; }
.footer :focus-visible { outline-color: var(--paper); }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  border-radius: 12px;
  transform: translateY(-180%);
  font-weight: 650;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}
.nav {
  max-width: calc(var(--max) + 44px);
  margin: 0 auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-logo { width: 54px; height: 54px; flex: 0 0 auto; overflow: hidden; border-radius: 12px; background: #201c1d; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { min-width: 0; overflow-wrap: anywhere; }
.brand-text strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.brand-text span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: 26px; font-size: .9375rem; font-weight: 600; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--moss); text-decoration: underline; text-underline-offset: 6px; }
.nav-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; border-radius: 12px; background: var(--sage); color: var(--moss-dark); font-weight: 650; white-space: nowrap; }
.nav-button:hover { background: #dbe7d5; }

.hero {
  position: relative;
  overflow: hidden;
  width: calc(100% - 44px);
  max-width: var(--max);
  margin: 20px auto 0;
  border-radius: 30px;
  background: var(--paper);
}
.hero-bg { position: absolute; inset: 0; background: var(--paper); }
.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 530px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 48px;
}
.eyebrow, .section-kicker { display: block; color: var(--moss); font-size: .8125rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.section-kicker { margin-bottom: 16px; }
.section-kicker.light { color: #d8e5d4; }
h1, h2, h3 { margin: 0; font-family: inherit; letter-spacing: -.045em; overflow-wrap: break-word; }
h1 { margin-top: 20px; color: var(--moss-dark); font-size: clamp(2.7rem, 5.2vw, 4.25rem); font-weight: 750; line-height: 1.08; }
h1 span { color: var(--moss); }
h2 { max-width: 820px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.12; }
h3 { font-size: 1.375rem; font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.hero-copy p { max-width: 540px; margin: 24px 0 0; color: var(--muted); font-size: 1.125rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 13px; font-weight: 650; line-height: 1.4; transition: background-color .2s ease, border-color .2s ease; }
.button.primary { background: var(--moss-dark); color: white; }
.button.primary:hover { background: #285245; }
.button.secondary { background: white; color: var(--moss-dark); border-color: var(--line); }
.button.secondary:hover { background: var(--sage); border-color: #c8d6c4; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; flex: 0 0 auto; background: var(--moss); }
.hero-panel { min-width: 0; padding: 22px; background: var(--sage); border-radius: 24px; }
.panel-logo { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; }
.hero-signature { margin: 18px 2px 0; text-align: center; color: var(--moss-dark); font-size: .875rem; font-weight: 600; line-height: 1.5; }

.section { max-width: calc(var(--max) + 44px); margin: 0 auto; padding: 76px 22px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 400px); gap: 56px; align-items: end; margin-bottom: 34px; }
.split-head p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.services-section { padding-top: 76px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 20px; background: #edf2e8; }
.service-card:nth-child(2) { background: #f1eee6; }
.service-card:nth-child(3) { background: #e8efeb; }
.service-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 30px; }
.service-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--moss); }
.service-mark svg { width: 32px; height: 32px; flex: 0 0 auto; }
.service-label { margin-bottom: 10px; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.service-card h3 { min-height: 2.5em; }
.service-card p { color: var(--muted); margin: 16px 0 24px; }
.service-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: auto; font-weight: 650; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.service-link:hover { color: var(--moss); }
/* Bildytor och galleri finns kvar för kommande arbetsbilder. */
.service-media { padding: 0; }
.service-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-band { background: var(--moss-dark); color: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 310px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; background: #d7c8b4; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .76)); }
.gallery-item div { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; color: white; }
.gallery-item span { display: block; margin-bottom: 8px; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

.process-section { padding-top: 32px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 0; margin: 0; list-style: none; }
.process-grid li { min-width: 0; }
.process-grid b { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; background: #e3ecdd; color: var(--moss-dark); font-size: 1rem; font-weight: 700; }
.process-grid h3 { font-size: 1.25rem; }
.process-grid p { margin: 12px 0 0; color: var(--muted); }
.about-section { padding-top: 12px; }
.about-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; padding: 44px; background: var(--sage); border-radius: 28px; }
.about-location { min-width: 0; }
.location-title { margin: 0 0 26px; color: var(--moss-dark); font-size: clamp(2rem, 3.5vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -.045em; }
.about-button { background: var(--paper); color: var(--moss-dark); }
.about-button:hover { background: white; }
.about-copy { min-width: 0; }
.about-copy h2 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); }
.about-copy p { margin: 20px 0 0; color: var(--muted); font-size: 1.0625rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; }
.pill-row span { color: var(--moss); font-size: .8125rem; font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-card { min-width: 0; padding-top: 8px; }
.quote-card { min-width: 0; padding: 32px; border-radius: 24px; background: var(--paper); }
.contact-card p { margin: 20px 0 0; color: var(--muted); font-size: 1.0625rem; }
.phone-button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 13px 20px; margin-top: 26px; border: 1px solid #ccdac7; border-radius: 13px; background: var(--sage); color: var(--moss-dark); font-weight: 650; }
.phone-button:hover { background: #dfe9d8; }
dl { margin: 28px 0 0; display: grid; gap: 16px; }
dt { color: var(--muted); font-size: .8125rem; }
dd { margin: 3px 0 0; font-weight: 600; }
.contact-card .contact-help { margin-top: 28px; font-size: .9375rem; }
.form-intro { margin: 12px 0 0; color: var(--muted); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.form-row { min-width: 0; }
.form-row.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
input, select, textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #d5dfd0; border-radius: 12px; background: #fafbf6; color: var(--ink); font: inherit; }
input, select { min-height: 50px; }
textarea { min-height: 136px; resize: vertical; }
.form-row small { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; }
.quote-form button { grid-column: 1 / -1; min-height: 50px; padding: 14px 20px; border: 0; border-radius: 13px; background: var(--moss-dark); color: white; font: inherit; font-weight: 650; cursor: pointer; }
.quote-form button:hover { background: #285245; }
button:disabled { opacity: .5; cursor: default; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .875rem; }
.quote-result { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.quote-result > p { font-size: 1rem; }
.quote-result textarea { font-size: 1rem; line-height: 1.5; min-height: 260px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.copy-button { background: var(--moss-dark); color: white; cursor: pointer; font: inherit; font-weight: 650; }
.sms-button { background: var(--sage); border-color: #ccdac7; color: var(--moss-dark); }
.copy-status { color: var(--moss-dark); font-size: .875rem; font-weight: 600; }
.copy-status:empty { display: none; }
.edit-button { min-height: 44px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; color: var(--ink); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.footer { background: var(--moss-dark); color: #dce8d9; padding: 34px 22px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 54px; height: 54px; flex-shrink: 0; border-radius: 12px; object-fit: contain; }
.footer-brand strong { display: block; color: var(--paper); font-weight: 600; }
.footer-brand span { display: block; font-size: .875rem; margin-top: 3px; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9375rem; align-items: center; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1100px) {
  .nav { grid-template-columns: 1fr auto; gap: 6px 24px; }
  .nav-links { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .nav-button { justify-self: end; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 220px; padding: 48px 40px; gap: 36px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .about-card { gap: 40px; }
  .contact-grid { gap: 40px; }
}
@media (max-width: 980px) {
  .split-head, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { gap: 16px; }
  .service-content { padding: 26px 22px; }
  .contact-grid { gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item.tall, .gallery-item.wide { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .hero-content { grid-template-columns: 1fr; min-height: auto; padding: 44px 32px; }
  .hero-panel { display: none; }
  .hero-copy p { max-width: 100%; }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-content { padding: 28px; }
  .service-card h3 { min-height: 0; }
  .service-mark { margin-bottom: 20px; }
  .about-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 24px; }
  .site-header { position: static; }
  .nav { padding: 12px 16px 4px; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .brand { gap: 9px; }
  .brand-logo { width: 44px; height: 44px; border-radius: 10px; }
  .brand-text strong { font-size: .875rem; line-height: 1.25; }
  .brand-text span { margin-top: 3px; font-size: .6875rem; letter-spacing: .07em; }
  .nav-button { padding: 10px 13px; min-height: 44px; font-size: .875rem; }
  .nav-links { gap: 0 20px; font-size: .8125rem; }
  .hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 24px; }
  .hero-content { padding: 30px 22px; }
  h1 { margin-top: 16px; font-size: clamp(1.875rem, 8.8vw, 2.5rem); line-height: 1.08; letter-spacing: -.045em; }
  h2 { font-size: clamp(1.8rem, 7.5vw, 2.25rem); }
  .eyebrow { font-size: .75rem; }
  .hero-copy p { margin-top: 20px; font-size: 1rem; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .hero-actions .button { width: 100%; min-height: 48px; padding: 12px 14px; }
  .hero-facts { gap: 6px 12px; margin-top: 20px; font-size: .75rem; }
  .hero-facts span { gap: 5px; }
  .section { padding: 52px 16px; }
  .services-section { padding-top: 52px; }
  .split-head { gap: 18px; margin-bottom: 26px; }
  .split-head p { font-size: 1rem; }
  .process-section { padding-top: 12px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-grid li { position: relative; padding-left: 58px; }
  .process-grid b { position: absolute; top: 0; left: 0; margin: 0; }
  .process-grid p { margin-top: 8px; }
  .about-section { padding-top: 4px; }
  .about-card { border-radius: 24px; padding: 28px 24px; }
  .location-title { font-size: 2rem; }
  .quote-card { padding: 26px 22px; border-radius: 22px; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form button, .result-actions .button, .phone-button { width: 100%; }
  .footer-inner, .footer-brand { align-items: flex-start; }
  .footer-brand img { width: 44px; height: 44px; }
  .footer-meta { gap: 4px 22px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 330px; }
}
@media (max-width: 380px) {
  .brand-logo { display: none; }
  .brand-text strong { max-width: 174px; }
  .nav-links { column-gap: 8px; justify-content: space-between; }
  .nav-links a { white-space: nowrap; }
  .hero-content { padding: 28px 20px; }
  .service-content { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .site-header, .hero-panel, .hero-actions, .quote-card, .skip-link, .about-button, .footer-meta a[href='#top'] { display: none; }
  .hero { width: 100%; max-width: none; margin: 0; border-radius: 0; background: white; }
  .hero-content { min-height: auto; }
  .hero-bg { display: none; }
  .hero-content, .section { padding: 24px 0; }
  .hero-content, .contact-grid, .about-card { display: block; }
  .about-card { padding: 0; background: white; }
  body { background: white; }
}
