@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-extrabold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #000;
  --muted: rgba(0, 0, 0, .72);
  --green: #004225;
  --accent: var(--green);
  --wine: #8b2635;
  --ochre: #b58a45;
  --cream: rgba(181, 138, 69, .08);
  --white: #fff;
  --line: rgba(0, 66, 37, .2);
  --shadow: 0 18px 50px rgba(0, 0, 0, .1);
  --radius: 18px;
  --section-space: clamp(3.5rem, 7vw, 6rem);
  --content-gap: 2rem;
  --grid-gap: 1.25rem;
  --surface-padding: clamp(1.25rem, 3vw, 1.75rem);
  --brand-font: "Arial Black", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); letter-spacing: -.04em; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.03em; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: .55rem; }
p { color: var(--muted); }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 800px; text-align: center; margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; }

.site-header { z-index: 5; }
.header-inner { min-height: 92px; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.brand-group { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; text-decoration: none; font-size: 1.15rem; margin-right: auto; }
.site-header .brand span { font-family: "Montserrat", var(--brand-font), sans-serif; font-weight: 800; letter-spacing: normal; }
.site-footer .brand span { font-family: "Montserrat", var(--brand-font), sans-serif; font-weight: 800; letter-spacing: normal; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.site-footer .brand img { width: 72px; height: 72px; }
.hero-logo, .site-footer .brand img { padding: .2rem; border: 1px solid rgba(0, 66, 37, .45); border-radius: 50%; }
.site-header .brand img { width: 72px; height: 72px; padding: .2rem; border: 1px solid rgba(0, 66, 37, .45); border-radius: 50%; }
.site-header nav { display: flex; gap: 1.35rem; font-size: .9rem; }
.trade-nav { display: flex; width: 100%; justify-content: flex-start; gap: 1.5rem; padding: .25rem 0 .35rem; border-top: 1px solid rgba(0, 66, 37, .2); font-size: .85rem; font-weight: 700; }
.trade-nav a { text-decoration: none; }
.trade-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-header nav a, .footer-links a { text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover { text-decoration: underline; }
.header-phone { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .2rem; font-size: .72rem; line-height: 1.15; font-weight: 800; }
.header-phone span { text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; }
.header-phone strong { font-size: .9rem; }
.header-phone:hover { background: var(--ochre); color: var(--ink); }

.hero { overflow: hidden; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; color: var(--accent); font-size: .75rem; font-weight: 800; margin-bottom: 1rem; }
.lead { font-size: 1.2rem; max-width: 580px; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button { display: inline-block; padding: .85rem 1.25rem; border: 2px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.button.header-phone { display: inline-flex; }
.button:hover { transform: translateY(-2px); }
.button-primary:hover { background: var(--green); color: var(--white); }
.button-primary { background: var(--wine); color: var(--white); }
.button-secondary { border-color: var(--accent); color: var(--accent); }
.button-light { background: var(--white); color: var(--green); }
.button-outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.trust-list { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; list-style: none; margin: 2rem 0 0; padding: 0; font-size: .9rem; font-weight: 700; }
.trust-list li::before { content: "✓"; color: var(--accent); margin-right: .35rem; }
.contact-strip { background: var(--green); color: var(--white); }
.contact-strip-inner { padding-block: .4rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-grid > a { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; align-items: center; padding: 1.4rem 1rem; text-decoration: none; }
.contact-grid > * + * { border-left: 1px solid rgba(255, 255, 255, .35); }
.contact-grid > a > span:first-child { grid-row: span 2; font-size: 1.7rem; color: var(--ochre); }
.contact-grid small, .contact-grid strong { grid-column: 2; }
.contact-grid small { color: rgba(255, 255, 255, .7); }
.contact-grid strong { color: var(--white); }
.contact-social { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: .65rem 1rem .8rem; border-top: 1px solid rgba(255, 255, 255, .35); }
.contact-social small { grid-column: auto; }
.contact-social .social-links { gap: .5rem; }
.contact-social .social-links a { color: var(--white); }

.section { padding: var(--section-space) 0; }
.section-heading { margin-bottom: var(--content-gap); }
.section-heading > p:last-child { max-width: 650px; margin-inline: auto; }
.card-grid, .material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.card, .material-card, .technique-summary details { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: var(--surface-padding); }
.number { display: block; color: var(--wine); font-weight: 800; margin-bottom: 2rem; }
.service-intro { margin: 0 auto var(--content-gap); padding: var(--surface-padding); background: var(--cream); border-left: .35rem solid var(--wine); border-radius: 0 var(--radius) var(--radius) 0; }
.service-intro .eyebrow { color: var(--wine); }
.service-intro .section-heading { margin-bottom: 1rem; }
.service-intro p:last-child { margin-bottom: 0; }
.service-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--content-gap); align-items: start; }
.service-cards { margin-bottom: 3rem; }
.service-feature img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.service-feature h3 { margin-top: 0; }
.service-feature p { margin-bottom: 1rem; }
.service-feature p:last-child { margin-bottom: 0; }
.section-tinted { background: var(--cream); }
.site-footer .regions { padding: 3rem 0; color: var(--white); background: var(--green); }
.site-footer .regions-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.site-footer .regions-marker { width: 1.75rem; height: 1.75rem; fill: var(--ochre); }
.site-footer .regions-content::after { width: 3rem; height: 3px; background: var(--ochre); content: ""; }
.site-footer .regions p { max-width: 38rem; margin: 0; color: var(--white); font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 600; line-height: 1.5; }
.site-footer .regions .region-list { margin-top: 1rem; }
.site-footer .regions .region-list span { padding: 0; color: var(--white); background: transparent; font-weight: 700; }
.material-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
.material-card { overflow: hidden; background: var(--white); }
.material-card img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 560; object-fit: cover; }
.material-card > div { padding: var(--surface-padding); }
.material-card details summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; color: var(--green); }
.material-card details summary::-webkit-details-marker { display: none; }
.material-card details summary::after { content: "＋"; flex: 0 0 auto; font-size: 1.3rem; line-height: 1; color: var(--green); }
.material-card details[open] summary::after { content: "−"; }
.material-card details summary strong { display: block; margin-bottom: .3rem; font: 1.35rem/1.12 Georgia, "Times New Roman", serif; }
.material-card .more-label { border-color: var(--green); }
.material-teaser { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.material-card details .more-label { order: 2; }
.material-card details[open] .more-label { font-size: 0; }
.material-card details[open] .more-label::after { content: "Mindre"; font-size: .8rem; }
.material-content { padding-top: 1.25rem; }
.material-card p { font-size: .95rem; margin-bottom: .9rem; }
.material-card p:last-child { margin-bottom: 0; }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.process-grid > div:first-child { position: sticky; top: 110px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 0 0 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.steps li:last-child { margin-bottom: 0; }
.steps span { color: var(--wine); font-weight: 800; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin-bottom: 0; }
.regions { padding: 5rem 0; }
.region-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 2rem; }
.region-list span { padding: .55rem .9rem; background: var(--white); border-radius: 999px; font-size: .9rem; }
.cta { padding: 4rem 0; background: var(--green); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); align-items: start; gap: var(--content-gap); }
.cta h2, .cta p { color: var(--white); }
.cta .eyebrow { color: var(--white); }
.cta-copy .button-row { margin-top: 1.5rem; }
.contact-form { display: grid; gap: 1rem; padding: 1.5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); }
.contact-status { padding: .85rem 1rem; border-radius: 8px; font-weight: 700; }
.contact-status-success { color: var(--white); background: var(--green); }
.contact-status-error { color: var(--white); background: var(--wine); }
.form-field { display: grid; gap: .35rem; }
.form-field label { font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; padding: .7rem .8rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; color: var(--ink); background: var(--white); font: inherit; }
.form-field textarea { resize: vertical; min-height: 8rem; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid var(--green); outline-offset: 2px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.energy-section { padding: var(--section-space) 0; color: var(--white); background: var(--green); }
.energy-content { max-width: 800px; }
.energy-content .eyebrow { color: var(--white); }
.energy-content h2 { color: var(--white); }
.energy-content p { color: rgba(255, 255, 255, .9); }
.energy-content p:last-child { margin-bottom: 0; }
.technique-section { background: rgba(0, 66, 37, .05); }
.technique-feature { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: var(--content-gap); align-items: start; }
.technique-feature > img { display: block; width: 100%; max-height: 620px; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); }
.technique-summary { display: grid; gap: var(--grid-gap); }
.technique-summary details { padding: var(--surface-padding); background: var(--white); }
.technique-summary summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; color: var(--green); }
.technique-summary summary::-webkit-details-marker { display: none; }
.technique-summary summary::after { content: "＋"; font-size: 1.3rem; line-height: 1; color: var(--green); }
.technique-summary details[open] summary::after { content: "−"; }
.technique-summary summary strong { display: block; margin-bottom: .3rem; font: 1.35rem/1.12 Georgia, "Times New Roman", serif; }
.technique-teaser { display: block; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.more-label { flex: 0 0 auto; padding: .35rem .75rem; border: 1px solid var(--green); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.technique-summary details[open] .more-label { font-size: 0; }
.technique-summary details[open] .more-label::after { content: "Mindre"; font-size: .8rem; }
.technique-content { padding-top: 1.25rem; }
.technique-content p { font-size: .95rem; }
.technique-content p:last-child { margin-bottom: 0; }
.map-section iframe { display: block; width: 100%; height: 320px; border: 0; }
.site-footer { padding: 3rem 0 1rem; background: var(--green); color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-inner p { color: rgba(255, 255, 255, .65); margin: .6rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.footer-links > .button { padding: .65rem 1rem; font-size: .85rem; }
.site-footer .footer-links > .button-outline-light:hover { background: var(--ochre); color: var(--ink); }
.social-links { display: flex; gap: .5rem; }
.social-links a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.social-links svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.social-links a:first-child svg { fill: currentColor; stroke: none; }
.copyright { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .55); font-size: .8rem; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; color: var(--white); background: var(--green); backdrop-filter: blur(12px); }
.main-nav { margin-left: auto; }
.site-header nav a:hover, .footer-links a:hover { text-decoration: none; color: var(--white); }
.header-phone { background: transparent; color: var(--white); border-color: var(--white); }
.site-header .trade-nav { border-top-color: rgba(255, 255, 255, .45); }
.site-header .brand img { border-color: rgba(255, 255, 255, .8); }
.site-footer .trade-nav { border-top-color: rgba(255, 255, 255, .45); }
.site-footer .trade-nav a:hover, .site-footer .footer-links a:hover { color: var(--white); }
.site-header nav a:hover, .site-footer .footer-links a:not(.button):hover, .site-footer .trade-nav a:hover, .social-links a:hover { color: var(--ochre); }
.site-header .trade-nav a:hover, .site-footer .trade-nav a:hover { text-decoration: underline; }
.button:hover, .button:focus-visible { background: var(--ochre); color: var(--ink); }
.social-links a:hover { border-color: var(--ochre); }
.hero { min-height: 90vh; background-image: linear-gradient(180deg, rgba(0, 0, 0, .33) 85%, rgba(0, 0, 0, .57) 90%), url("../images/losullsisolering-i-boras-scaled-1.jpg"); background-position: center; background-size: cover; }
body.site-trahantverk .hero { background-image: linear-gradient(180deg, rgba(0, 0, 0, .33) 85%, rgba(0, 0, 0, .57) 90%), url("../images/trahantverk-takstomme.jpg"); }
.hero-grid { min-height: 90vh; display: block; position: relative; }
.hero-copy { position: absolute; inset: auto auto 6rem 0; max-width: 700px; padding: 0; }
.hero-copy h1 { color: var(--white); font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 700; text-shadow: 0 0 10px #000; }
.hero-copy .lead { color: var(--white); font-family: Arial, sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem); letter-spacing: .04em; text-transform: none; text-shadow: 0 0 10px #000; }
.hero-copy .trust-list { color: var(--white); text-shadow: 0 0 8px #000; }
.hero-copy .button-primary { background: var(--wine); color: var(--white); }
.hero-copy .button-secondary { border-color: var(--white); color: var(--white); }

@media (max-width: 800px) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .4rem .6rem; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: .8rem 1rem; padding-top: .2rem; font-size: .8rem; }
  .trade-nav { gap: 1rem; padding-top: .25rem; font-size: .78rem; }
  .header-phone { margin-left: auto; }
  .process-grid, .service-feature, .technique-feature { grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem 0 1rem; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-copy .lead { font-size: clamp(1rem, 4vw, 1.3rem); letter-spacing: .02em; }
  .card-grid, .material-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > * + * { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .contact-social { border-top: 1px solid rgba(255, 255, 255, .2); }
  .process-grid > div:first-child { position: static; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 1.5rem, 1120px); }
  .header-inner { gap: .35rem .7rem; }
  .header-phone { padding: .55rem .7rem; font-size: .8rem; }
  .site-header .brand { font-size: 1rem; }
  .site-header .brand img { width: 56px; height: 56px; }
  .main-nav { gap: .5rem .75rem; font-size: .75rem; }
  .trade-nav { gap: .7rem; font-size: .72rem; }
  .trust-list { display: block; }
  .trust-list li { margin-bottom: .4rem; }
  .button { width: auto; padding: .7rem .9rem; text-align: center; }
  .material-grid, .card-grid { grid-template-columns: 1fr; }
}

.overview-page { background: var(--cream); }
.overview-header { padding: 1.25rem 0; color: var(--white); background: var(--green); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.overview-header .brand { width: fit-content; margin-inline: auto; }
.overview-header .brand img { width: 64px; height: 64px; padding: .2rem; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; }
.overview-header .brand h1 { margin: 0; color: inherit; font-family: "Montserrat", var(--brand-font), sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: normal; line-height: 1; }
.overview-main { padding: var(--section-space) 0; }
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.overview-card { padding: 0; background: var(--white); border-top: .45rem solid var(--wine); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.overview-choice { display: flex; min-height: 19rem; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--accent); text-align: center; text-decoration: none; transition: background .2s, transform .2s; }
.overview-choice:hover { background: rgba(0, 66, 37, .06); }
.overview-choice:focus-visible { outline: 3px solid var(--green); outline-offset: -6px; }
.overview-choice img, .overview-icon { display: block; width: clamp(8rem, 18vw, 12rem); height: clamp(8rem, 18vw, 12rem); object-fit: contain; }
.overview-choice img { border-radius: 50%; }
.overview-icon { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }
.overview-choice h2 { margin: 0; color: inherit; font-size: clamp(1.35rem, 3vw, 2.1rem); }
.overview-footer { padding: 1.5rem 0; background: var(--green); color: var(--white); text-align: center; }
.overview-footer p { margin: 0; color: inherit; font-size: .9rem; }

@media (max-width: 700px) {
  .overview-grid { grid-template-columns: 1fr; }
}
