/* =========================================================
   Bygglösningar – stilmall
   Palett: Marble White, Ivory, Light Grey, Stone, Charcoal
   ========================================================= */

:root {
  /* Palett */
  --marble: #F8F7F4;
  --ivory: #F2ECE5;
  --light-grey: #D5D5D2;
  --stone: #A5A5A2;
  --charcoal: #2D2D2D;

  /* Semantiska tokens */
  --color-bg: var(--marble);
  --color-bg-alt: var(--ivory);
  --color-surface: #FFFFFF;
  --color-text: var(--charcoal);
  --color-text-muted: #5A5A57;          /* Charcoal-nyans, 6.6:1 mot Marble */
  --color-border: var(--light-grey);
  --color-accent: var(--charcoal);
  --color-on-accent: var(--marble);
  --color-dark: var(--charcoal);
  --color-on-dark: var(--marble);
  --color-on-dark-muted: var(--stone);  /* 5.9:1 mot Charcoal */
  --color-error: #A63A2B;

  /* Typografi */
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 3.6vw, 4.25rem);

  /* Avstånd */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-pad: clamp(4rem, 3rem + 5vw, 7.5rem);

  /* Övrigt */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(45, 45, 45, .06);
  --shadow: 0 10px 30px -12px rgba(45, 45, 45, .18);
  --shadow-lg: 0 24px 50px -20px rgba(45, 45, 45, .30);
  --container: 1240px;
  --header-h: 80px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

svg {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--charcoal); color: var(--marble);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  font: 600 var(--fs-sm)/1 var(--font);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 var(--space-6); font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--charcoal); color: var(--marble); }
.btn-primary:hover { background: #000; }

.btn-light { background: var(--marble); color: var(--charcoal); }
.btn-light:hover { background: var(--ivory); }

.btn-ghost-light { border-color: rgba(248, 247, 244, .6); color: var(--marble); }
.btn-ghost-light:hover { background: rgba(248, 247, 244, .12); border-color: var(--marble); }
.btn-light:focus-visible, .btn-ghost-light:focus-visible { outline-color: var(--marble); }

/* ---------- Gemensamma ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: currentColor;
}
.eyebrow-light { color: var(--light-grey); }

.section { padding-block: var(--section-pad); }
.section-ivory { background: var(--color-bg-alt); }

.section-head { max-width: 720px; margin-bottom: var(--space-8); }
.section-head-split {
  max-width: none;
  display: grid; gap: var(--space-5);
  align-items: end;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split .section-lead { margin-bottom: 0; }
.section-lead { font-size: var(--fs-lg); color: var(--color-text-muted); }

@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1.2fr 1fr; gap: var(--space-8); }
}

.icon-box {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--charcoal);
}
.icon-box svg { width: 26px; height: 26px; stroke-width: 1.75; }
.icon-box-sm { width: 46px; height: 46px; }
.icon-box-sm svg { width: 20px; height: 20px; }

.badge {
  position: absolute; top: var(--space-4); left: var(--space-4);
  padding: 6px 12px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  background: var(--marble); color: var(--charcoal);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(248, 247, 244, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}

.logo {
  display: inline-flex; align-items: center; gap: var(--space-2);
  text-decoration: none; color: var(--charcoal);
  font-size: 1.375rem; letter-spacing: -0.02em;
  min-height: 44px;
}
.logo-mark { width: 30px; height: 30px; stroke: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-weight: 800; font-size: 1.25rem; letter-spacing: .06em; }
.logo-text small {
  margin-top: 4px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.logo-light .logo-text small { color: var(--stone); }
.logo-light { color: var(--marble); }

.main-nav ul { display: flex; gap: var(--space-1); }
.main-nav a:not(.btn) {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--space-3);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; color: var(--charcoal);
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-phone {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  font-size: var(--fs-sm); font-weight: 600; text-decoration: none;
}
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; width: 24px; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 30px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .header-phone { width: 44px; justify-content: center; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    display: flex; flex-direction: column; gap: var(--space-5);
    padding: var(--space-5) clamp(1rem, 4vw, 2.5rem) var(--space-7);
    background: var(--marble);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) {
    width: 100%; min-height: 56px; padding: 0;
    font-size: 1.25rem; font-weight: 700;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; min-height: 56px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  color: var(--marble);
  isolation: isolate;
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(45,45,45,.25) 0%, rgba(45,45,45,.35) 40%, rgba(30,30,30,.85) 100%),
    linear-gradient(90deg, rgba(30,30,30,.78) 0%, rgba(30,30,30,.5) 45%, rgba(30,30,30,0) 80%);
}
.hero-content { padding-block: var(--space-9) var(--space-8); }
.hero h1 { max-width: 15ch; margin-bottom: var(--space-5); }
.hero-lead {
  max-width: 560px;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: rgba(248, 247, 244, .9);
  margin-bottom: var(--space-6);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(248, 247, 244, .25);
}
.hero-trust li { display: flex; flex-direction: column; }
.trust-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.trust-label { font-size: var(--fs-sm); color: var(--light-grey); }

/* ---------- Strip ---------- */
.strip { background: var(--charcoal); color: var(--marble); }
.strip-inner {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4) var(--space-5);
  padding-block: var(--space-5);
}
.strip-item {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 44px;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--marble); text-decoration: none;
  transition: color .2s var(--ease);
}
.strip-item:hover { color: var(--light-grey); text-decoration: underline; text-underline-offset: 4px; }
.strip :focus-visible { outline-color: var(--marble); }
.strip-item svg { width: 22px; height: 22px; color: var(--stone); stroke-width: 1.75; }
@media (min-width: 900px) {
  .strip-inner { grid-template-columns: repeat(4, 1fr); }
  .strip-item { justify-content: center; }
}

/* ---------- Värden ---------- */
.values-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.value-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.value-card:hover { border-color: var(--stone); box-shadow: var(--shadow); transform: translateY(-3px); }
.value-card .icon-box { margin-bottom: var(--space-5); }
.value-card h3 { margin-bottom: var(--space-2); }
.value-card p { margin: 0; color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ---------- Tjänster ---------- */
.services-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
}
.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--light-grey); }
.service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.service-body h3 { margin-bottom: var(--space-3); font-size: 1.5rem; }
.service-body p { color: var(--color-text-muted); font-size: var(--fs-sm); flex: 1; }
.service-link {
  display: flex; align-items: center; gap: var(--space-2);
  min-height: 44px;
  font-size: var(--fs-sm); font-weight: 700;
  text-decoration: none;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
/* Hela kortet blir klickbart */
.service-link::after { content: ""; position: absolute; inset: 0; }
.service-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Om oss ---------- */
.about-grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }

.about-media { position: relative; padding-right: 18%; padding-bottom: 14%; }
.about-img-main {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-small {
  position: absolute; right: 0; bottom: 0;
  width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--marble);
}
.about-stat {
  position: absolute; left: var(--space-5); bottom: 20%;
  display: flex; flex-direction: column;
  padding: var(--space-4) var(--space-5);
  background: var(--charcoal); color: var(--marble);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-stat-value { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.about-stat-label { font-size: var(--fs-xs); color: var(--stone); font-weight: 600; letter-spacing: .04em; }

.about-content > p { color: var(--color-text-muted); }
.check-list { display: grid; gap: var(--space-3); margin: var(--space-5) 0 var(--space-6); }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 600; font-size: var(--fs-sm); }
.check-list svg {
  width: 24px; height: 24px; padding: 4px;
  background: var(--charcoal); color: var(--marble);
  border-radius: 50%; stroke-width: 3;
}

/* ---------- ROT & RUT ---------- */
.rot-grid { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .rot-grid { grid-template-columns: 1fr 1fr; } .rot-info { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .rot-grid { grid-template-columns: 1fr 1fr 1.2fr; } .rot-info { grid-column: auto; } }

.rot-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.rot-percent {
  font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  margin-bottom: var(--space-4);
}
.rot-percent span { font-size: .5em; font-weight: 700; color: var(--color-text-muted); margin-left: 2px; }
.rot-card > p { color: var(--color-text-muted); font-size: var(--fs-sm); }
.rot-list { display: grid; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.rot-list li { position: relative; padding-left: var(--space-5); font-size: var(--fs-sm); }
.rot-list li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--stone);
}

.rot-info {
  padding: var(--space-6);
  background: var(--charcoal); color: var(--marble);
  border-radius: var(--radius-lg);
}
.rot-info > p { color: var(--light-grey); font-size: var(--fs-sm); }
.rot-info :focus-visible { outline-color: var(--marble); }
.notice {
  display: flex; gap: var(--space-3); align-items: flex-start;
  margin: var(--space-5) 0;
  padding: var(--space-4);
  border: 1px solid #4d4d4b;
  border-radius: var(--radius);
  font-size: var(--fs-xs); line-height: 1.6;
  color: var(--light-grey);
}
.notice svg { width: 20px; height: 20px; color: var(--stone); margin-top: 1px; }
.notice p { margin: 0; }
.notice strong { color: var(--marble); }
.rot-info-cta { margin-bottom: var(--space-5); }

/* ---------- Förebygga skada ---------- */
.prevent {
  background: var(--charcoal); color: var(--marble);
  padding-block: var(--section-pad);
}
.prevent-grid { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 960px) { .prevent-grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-9); } }
.prevent-content > p { color: var(--light-grey); }
.prevent :focus-visible { outline-color: var(--marble); }
.prevent-questions { display: grid; gap: var(--space-3); margin: var(--space-6) 0 var(--space-5); }
.prevent-questions li {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(248, 247, 244, .06);
  border: 1px solid #4d4d4b;
  border-radius: var(--radius);
  font-weight: 600;
}
.prevent-questions li::before {
  content: ""; flex-shrink: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--stone);
}
.prevent-content .prevent-cta-text { color: var(--marble); font-weight: 700; font-size: var(--fs-lg); margin-bottom: var(--space-6); }
.prevent-media { position: relative; margin: 0; padding-bottom: var(--space-8); }
.prevent-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (max-width: 959px) { .prevent-media img { aspect-ratio: 4 / 3; } }
.prevent-quote {
  position: absolute; left: clamp(-2rem, -2vw, 0rem); right: var(--space-6); bottom: 0;
  margin: 0;
  padding: var(--space-5) var(--space-6);
  background: var(--marble); color: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.prevent-quote p { margin: 0 0 var(--space-2); font-size: 1.0625rem; font-weight: 600; line-height: 1.5; }
.prevent-quote footer { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }

/* ---------- Formulärfält ---------- */
.field { margin-bottom: var(--space-4); }
.field label { display: block; margin-bottom: var(--space-2); font-size: var(--fs-sm); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--space-3) var(--space-4);
  font: 400 1rem/1.5 var(--font);
  color: var(--charcoal);
  background: var(--color-surface);
  border: 1.5px solid var(--light-grey);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A5A5A2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: var(--space-7);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(45,45,45,.1);
}
.field.has-error input, .field.has-error textarea { border-color: var(--color-error); }
.field-hint { margin: var(--space-1) 0 0; font-size: var(--fs-xs); color: var(--color-text-muted); }
.field-error { margin: var(--space-1) 0 0; font-size: var(--fs-xs); font-weight: 600; color: var(--color-error); }
.field-error:empty { display: none; }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.field-check input {
  width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: 2px;
  appearance: auto; accent-color: var(--charcoal); cursor: pointer;
}
.field-check label { margin: 0; font-weight: 400; color: var(--color-text-muted); cursor: pointer; }
.field-check .field-error { grid-column: 2; }

.form-row { display: grid; gap: 0 var(--space-4); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Val av tjänst (radioknappar som kort) */
.choice-group { border: 0; padding: 0; margin: 0 0 var(--space-4); min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: var(--space-2); font-size: var(--fs-sm); font-weight: 600; }
.choices { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: var(--space-3);
  min-height: 50px; padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm); font-weight: 600;
  border: 1.5px solid var(--light-grey); border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice span::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--stone);
  transition: border .2s var(--ease);
}
.choice:hover span { border-color: var(--stone); }
.choice input:checked + span { border-color: var(--charcoal); background: var(--ivory); }
.choice input:checked + span::before { border: 5px solid var(--charcoal); }
.choice input:focus-visible + span { outline: 2px solid var(--charcoal); outline-offset: 2px; }

/* Honeypot – dolt för besökare, fångar spam-robotar */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field-check label a { color: var(--charcoal); font-weight: 600; text-underline-offset: 3px; }
.form-footnote { margin: var(--space-4) 0 0; text-align: center; font-size: var(--fs-sm); color: var(--color-text-muted); }
.form-status.is-error {
  padding: var(--space-4);
  background: #F6E6E3; color: var(--color-error);
  border-radius: var(--radius-sm);
}

/* ---------- Projekt / galleri ---------- */
.gallery {
  display: grid; gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  padding: 0; border: 0; background: var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  font: inherit; color: inherit; text-align: left;
}
.gallery-item-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 899px) { .gallery-item-wide { aspect-ratio: 16 / 10; } }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column;
  padding: var(--space-6) var(--space-5) var(--space-4);
  background: linear-gradient(transparent, rgba(30,30,30,.82));
  color: var(--marble);
}
.gallery-caption strong { font-size: 1.0625rem; }
.gallery-caption span { font-size: var(--fs-xs); color: var(--light-grey); font-weight: 600; letter-spacing: .04em; }

.lightbox {
  width: min(1100px, 94vw); max-height: 92vh;
  padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--charcoal); color: var(--marble);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(20,20,20,.85); }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #1f1f1f; }
.lightbox-caption { margin: 0; padding: var(--space-4) var(--space-5); font-weight: 600; }
.lightbox-close {
  position: absolute; top: var(--space-3); right: var(--space-3);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--marble); color: var(--charcoal);
  cursor: pointer;
}
.lightbox[open] { animation: lb-in .25s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- Omdömen ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); color: var(--color-text-muted); margin: 0; }
.stars { color: var(--charcoal); letter-spacing: 2px; font-size: 1.125rem; }

.reviews-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.review-card {
  display: flex; flex-direction: column;
  margin: 0;
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.review-card blockquote {
  flex: 1;
  margin: var(--space-4) 0 var(--space-5);
  font-size: 1.0625rem; line-height: 1.6;
}
.review-card figcaption {
  display: flex; flex-direction: column;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-sm);
}
.review-card figcaption span { color: var(--color-text-muted); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(rgba(45,45,45,.88), rgba(45,45,45,.88)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1800&q=70&auto=format&fit=crop") center / cover;
  color: var(--marble);
  padding-block: var(--space-9);
}
.cta-inner { display: grid; gap: var(--space-6); align-items: center; }
.cta-inner h2 { margin-bottom: var(--space-3); }
.cta-inner p { margin: 0; color: var(--light-grey); font-size: var(--fs-lg); max-width: 560px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1fr auto; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--space-9); } }

.contact-info > p { color: var(--color-text-muted); font-size: var(--fs-lg); }
.contact-info > .contact-sub { font-size: var(--fs-base); }
.contact-help-title { margin: var(--space-6) 0 var(--space-3); font-size: var(--fs-sm); letter-spacing: .1em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tag-list li {
  padding: 6px 14px;
  background: var(--ivory);
  border-radius: 100px;
  font-size: var(--fs-xs); font-weight: 600;
}
.contact-list { display: grid; gap: var(--space-5); margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.contact-list li { display: flex; align-items: center; gap: var(--space-4); }
.contact-label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); }
.contact-list a, .contact-list li span:not(.contact-label):not(.icon-box) { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: var(--space-5); font-size: 1.5rem; }
.form-status { margin: var(--space-4) 0 0; font-weight: 600; font-size: var(--fs-sm); }
.form-status:empty { display: none; }
.form-status.is-success {
  padding: var(--space-4);
  background: var(--ivory);
  border-radius: var(--radius-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal); color: var(--light-grey);
  padding-top: var(--space-9);
  font-size: var(--fs-sm);
}
.footer-grid { display: grid; gap: var(--space-7); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand p { margin: var(--space-4) 0 var(--space-5); max-width: 320px; color: var(--stone); }
.site-footer h4 {
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--marble);
}
.site-footer ul { display: grid; gap: var(--space-1); }
.site-footer ul a, .footer-contact li {
  display: inline-flex; align-items: center; min-height: 36px;
  text-decoration: none; color: var(--light-grey);
  transition: color .2s;
}
.site-footer ul a:hover { color: var(--marble); }

.footer-contact li { min-height: 30px; }
.site-footer .footer-certs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-certs li {
  padding: 8px 16px;
  border: 1px solid #5a5a58; border-radius: var(--radius-sm);
  font-weight: 700; letter-spacing: .04em; color: var(--marble);
}

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-5);
  margin-top: var(--space-8);
  padding-block: var(--space-4);
  border-top: 1px solid #444442;
  color: var(--stone); font-size: var(--fs-xs);
}
.footer-bottom p { margin: 0; margin-right: auto; }
.footer-bottom a { color: var(--light-grey); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer :focus-visible { outline-color: var(--marble); }

/* ---------- Scroll-animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Integritetspolicy ---------- */
.policy { max-width: 760px; }
.policy h1 { font-size: var(--fs-h2); margin-bottom: var(--space-6); }
.policy h2 { font-size: 1.25rem; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.policy p { color: var(--color-text-muted); }
.policy a { font-weight: 600; text-underline-offset: 3px; }

/* Håll menyrad, telefon och knappar på en rad */
.main-nav a, .header-phone, .btn { white-space: nowrap; }
