/* ==========================================================================
   AiO Sweden – stilmall
   Färger och typsnitt styrs av variablerna nedan.
   ========================================================================== */

:root {
  --ink: #161513;
  --ink-2: #2a2825;
  --paper: #f6f3ee;
  --paper-2: #ece7de;
  --white: #ffffff;
  --line: #dcd5c8;
  --muted: #5f5a52;
  --accent: #b4532a;        /* koppar – nick till VVS-rör */
  --accent-dark: #933f1c;
  --accent-soft: #f3e2d7;
  --ok: #2f6b3f;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 21, 19, .06), 0 8px 24px rgba(22, 21, 19, .08);
  --shadow-lg: 0 2px 4px rgba(22, 21, 19, .06), 0 24px 48px rgba(22, 21, 19, .14);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  font-stretch: 108%;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Topprad + sidhuvud ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 24px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(22,21,19,.06); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: var(--ink);
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; margin-right: 6px; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }
@media (max-width: 1180px) { .header-phone { display: none; } }

.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 14px 16px; border-radius: 10px; font-size: 1.1rem; }
  .nav .nav-mobile-cta { display: grid; gap: 10px; margin-top: 14px; }
  .nav .nav-mobile-cta .btn { display: flex; border-radius: 999px; padding: 0 20px; font-size: 1rem; }
  .nav .nav-mobile-cta .btn-primary { color: var(--white); }
}
@media (min-width: 1021px) { .nav-mobile-cta { display: none; } }
@media (max-width: 640px) {
  .topbar-hide-sm { display: none; }
  .topbar-tagline { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .topbar a { white-space: nowrap; }
  .brand img { height: 38px; }
  .header-cta .btn-dark { display: none; }
}

/* ---------- Sektioner ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-dark .eyebrow { color: #e9956d; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: .3em; }
.section-head .lead { margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { margin: 0 0 24px; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; font-stretch: 108%; text-wrap: balance; }
.hero-title em { font-style: normal; color: var(--accent); }
h1.eyebrow { font-size: .8rem; line-height: 1.4; letter-spacing: .14em; font-stretch: 100%; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 12px 28px; justify-content: start; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.trust svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.hero-media { position: relative; min-height: 560px; }
.hero-media .img-main {
  position: absolute; right: 0; top: 0; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-media .img-sub {
  position: absolute; left: 0; bottom: 36px; width: 46%; aspect-ratio: 3 / 4;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 8%; top: 40px; z-index: 2;
  background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.hero-badge .dot svg { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { min-height: 460px; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-media { min-height: 380px; }
  .hero-badge { left: 0; top: 16px; }
}

/* ---------- Sidhero (undersidor) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

/* ---------- Tjänstekort ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.services .service-card:not(.compact) .media { aspect-ratio: 16 / 9; }
.services .service-card:not(.compact) h3 { font-size: 1.6rem; }
.service-card.compact { flex-direction: row; }
.service-card.compact .media { aspect-ratio: auto; width: 36%; flex: none; }
.service-card.compact .body { padding: 20px 22px; }
.service-card.compact h3 { font-size: 1.15rem; }
.service-card {
  display: flex; flex-direction: column; background: var(--white);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card .more { font-weight: 700; color: var(--accent); }
.service-card .more::after { content: " →"; }
@media (max-width: 700px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .service-card.compact { flex-direction: column; } .service-card.compact .media { width: 100%; aspect-ratio: 16 / 9; } }

/* ---------- Tilläggstjänster (tjänstesidan) ---------- */
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.extra { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.extra .media { aspect-ratio: 16 / 9; overflow: hidden; }
.extra .media img { width: 100%; height: 100%; object-fit: cover; }
.extra .body { padding: 28px; }
.extra .body > p { color: var(--muted); }
.extra .checklist { margin-bottom: 22px; }
@media (max-width: 880px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Varför oss ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.why-item { background: var(--ink); padding: 32px 28px; }
.why-item .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(233,149,109,.14); color: #e9956d; display: grid; place-items: center; margin-bottom: 20px; }
.why-item .icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.15rem; }
.why-item p { color: rgba(255,255,255,.7); font-size: .98rem; margin: 0; }
@media (max-width: 1020px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Produkter / fasta priser ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .2s, transform .25s, box-shadow .25s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product.is-selected { border-color: var(--accent); }
.product-img { aspect-ratio: 1 / 1; background: var(--white); display: grid; place-items: center; padding: 22px; border-bottom: 1px solid var(--paper-2); }
.product-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 6px; }
.product h3 { font-size: 1.08rem; line-height: 1.25; margin-bottom: 16px; }
.p-spec { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-bottom: 16px; }
.p-highlight { font-size: .85rem; font-weight: 600; line-height: 1.4; color: var(--ok); background: #e6f1e8; border-radius: 8px; padding: 8px 10px; margin: -6px 0 16px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-price strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-stretch: 108%; line-height: 1.1; }
.p-price small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; margin-top: 3px; max-width: 16ch; }
.product .tag { align-self: start; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 18px; }
.product-other { padding: 28px; }
.product-other:hover { transform: none; }
.product-other h3 { font-size: 1.3rem; }
.price { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); margin-bottom: 18px; }
.price strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; font-stretch: 108%; line-height: 1.1; }
.price span { font-size: .88rem; color: var(--muted); }
.product-other { background: var(--ink); color: var(--white); }
.product-other p { color: rgba(255,255,255,.72); }
.product-other .tag { background: rgba(255,255,255,.1); color: #e9956d; }
.product-other .price { border-top-color: rgba(255,255,255,.2); }
.product-other .price span { color: rgba(255,255,255,.7); }

/* Produktgrupper (Fasta VVS-priser) */
.group-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); margin: 0 calc(-1 * var(--gutter)) 8px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.group-nav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.group-nav ul::-webkit-scrollbar { display: none; }
.group-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
.group-nav a:hover { border-color: var(--ink); }
.group-nav a span { font-size: .78rem; background: var(--paper-2); border-radius: 999px; padding: 1px 8px; }
.product-group { padding-top: 48px; scroll-margin-top: calc(var(--header-h) + 72px); }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.group-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.group-head p { margin: 0; color: var(--muted); }
.product-other .other-body { flex: 1; display: flex; flex-direction: column; }
.product-other .other-body .tag { align-self: start; }
.product-other.wide { flex-direction: row; align-items: center; gap: 40px; }
.product-other.wide .other-body p { margin: 0; max-width: 60ch; }
.product-other.wide .other-cta { flex: none; width: 280px; }
.product-other.wide .price { border-top: 0; padding-top: 0; margin-top: 0; }
@media (max-width: 720px) { .product-other.wide { flex-direction: column; align-items: stretch; gap: 0; } .product-other.wide .other-cta { width: auto; } .product-other.wide .price { border-top: 1px dashed rgba(255,255,255,.2); padding-top: 20px; margin-top: 20px; } }
.note { font-size: .9rem; color: var(--muted); margin-top: 20px; }

/* ---------- Arbetsgång ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-size: 2.6rem; font-weight: 800; font-stretch: 112%; line-height: 1;
  color: var(--accent);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 76px; right: 0; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split (bild + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.split-media.wide { aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 20px; }
.split-body .lead { margin-bottom: 24px; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 4 / 3; }
}

.checklist { list-style: none; display: grid; gap: 12px; margin: 0 0 28px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.section-dark .checklist li::before { background-color: #e9956d; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
@media (max-width: 560px) { .checklist.two { grid-template-columns: 1fr; } }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Tjänstesida – detalj ---------- */
.service-block + .service-block { margin-top: clamp(72px, 10vw, 128px); }
.service-block .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { display: inline-block; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }

.subnav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid var(--line); background: var(--white); }
.subnav a:hover { border-color: var(--ink); }

/* ---------- Projektgalleri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); color: var(--white);
  font-weight: 600; font-size: .95rem; pointer-events: none;
}
.gallery figcaption small { display: block; font-weight: 500; opacity: .8; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.gallery figure[hidden] { display: none; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 160px; gap: 10px; } .gallery figure.wide { grid-column: span 2; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,11,10,.94);
  display: none; align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; width: auto; border-radius: 10px; }
.lightbox p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--white); margin: 0; font-weight: 600; padding: 0 64px; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Siffror / fakta ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fact { border-top: 2px solid var(--ink); padding-top: 16px; }
.fact strong { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* ---------- CTA-band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: var(--white); border-radius: 24px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.1rem; }
.cta-band .actions { justify-content: flex-end; }
.cta-band .phone-big { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 108%; color: var(--white); text-decoration: none; margin-bottom: 14px; text-align: right; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  border: 40px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none;
}
@media (max-width: 820px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .cta-band .phone-big { text-align: left; }
}

/* ---------- Kontakt & formulär ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 32px; }
.info-card h2, .info-card h3 { color: var(--white); }
.info-list { list-style: none; display: grid; gap: 20px; margin: 24px 0 28px; }
.info-list li { display: flex; gap: 14px; }
.info-list .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: #e9956d; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list small { display: block; color: rgba(255,255,255,.6); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.info-list a, .info-list span { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.info-list a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; margin-top: 20px; box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }

.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px var(--accent-soft); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161513' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.form-msg.show { display: block; }
.form-msg.error { background: #fbe9e7; color: #8a2a12; }
.form-msg.info { background: var(--accent-soft); color: var(--accent-dark); }
.hp { position: absolute; left: -9999px; }

/* ---------- Omdömen / citat ---------- */
.quote { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 0 0 20px; text-wrap: balance; }

/* ---------- Tack-sida ---------- */
.thanks { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.thanks .icon { width: 84px; height: 84px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks .icon svg { width: 40px; height: 40px; }
.thanks .lead { margin: 0 auto 32px; }
.thanks .actions { justify-content: center; }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil samtalsknapp ---------- */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--white);
  box-shadow: 0 10px 28px rgba(180,83,42,.45); align-items: center; justify-content: center;
}
.call-fab svg { width: 26px; height: 26px; }
@media (max-width: 640px) { .call-fab { display: flex; } }

/* ---------- Diskret inflyttning ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
