/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7W0Q5n-wU.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   TechWeld Sweden AB
   ========================================================================== */

:root {
  --accent: #a5333e;
  --accent-600: #8b2733;
  --accent-100: rgba(165, 51, 62, .09);

  --ink: #0e1418;
  --ink-2: #3c464d;
  --muted: #6b757c;

  --paper: #fff;
  --sand: #f6f4f1;
  --line: #e6e3df;
  --steel: #11171c;
  --steel-2: #1b2329;

  --container: 1240px;
  --wide: 1440px;
  --gutter: 24px;

  --r-lg: 18px;
  --r: 14px;
  --r-sm: 10px;

  --sh-1: 0 1px 2px rgba(14, 20, 24, .04), 0 8px 24px rgba(14, 20, 24, .05);
  --sh-2: 0 2px 6px rgba(14, 20, 24, .05), 0 24px 56px rgba(14, 20, 24, .12);

  --ease: cubic-bezier(.22, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  font-feature-settings: "cv05" 1, "ss03" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}

.header-inner {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  min-height: 84px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  display: block;
  width: 64px;
  height: auto;
}

.desktop-nav {
  align-self: stretch;
}

.desktop-nav > ul,
.desktop-nav .submenu,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav > ul {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}

.desktop-nav > ul > li {
  display: flex;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .2s ease;
}

.desktop-nav > ul > li > a {
  position: relative;
}

.desktop-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.desktop-nav > ul > li > a:hover,
.desktop-nav > ul > li > a.active {
  color: var(--accent);
}

.desktop-nav > ul > li > a:hover::after,
.desktop-nav > ul > li > a.active::after {
  transform: scaleX(1);
}

.has-menu {
  position: relative;
}

.has-menu > a span {
  font-size: 10px;
  opacity: .55;
}

.submenu {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(100% - 14px);
  min-width: 282px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
}

.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Sätts här och inte på .submenu, som skrivs över av list-återställningen */
.desktop-nav .submenu {
  padding: 12px;
}

.desktop-nav .submenu a {
  display: block;
  padding: 13px 18px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}

.desktop-nav .submenu a:hover {
  background: var(--sand);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.social,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  transition: color .2s ease, transform .2s var(--ease);
}

.social:hover,
.icon-button:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.social svg,
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  justify-self: end;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ------------------------------------------------------ */

.hero {
  position: relative;
  height: clamp(560px, 78vh, 820px);
  overflow: hidden;
  background: var(--steel);
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 15, .55) 0%, rgba(8, 12, 15, .18) 34%, rgba(8, 12, 15, .82) 100%),
    var(--image);
  background-position: var(--x) var(--y);
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 7s linear;
}

.slide.active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.slide-content {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding: 0 0 132px;
  color: #fff;
}

.slide-content h1,
.slide-content h2 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.slide-content h1 {
  max-width: 19ch;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
}

/* Rubrikerna på slide 2-6 är dubbelt så långa som den första */
.slide-content h2 {
  max-width: 26ch;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.12;
}

.slide-content .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.slide-content .kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-lead {
  max-width: 54ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button-primary,
.button-secondary,
.submit-button,
.all-services a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.button-primary,
.submit-button {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.submit-button:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  bottom: 46px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 20px;
  line-height: 1;
  backdrop-filter: blur(10px);
  transition: background-color .2s ease, border-color .2s ease;
}

.slider-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.prev {
  right: calc(max(var(--gutter), (100% - var(--container)) / 2) + 56px);
}

.next {
  right: max(var(--gutter), calc((100% - var(--container)) / 2));
}

.dots {
  position: absolute;
  z-index: 2;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: 62px;
  display: flex;
  gap: 8px;
}

.dots button {
  width: 26px;
  height: 3px;
  padding: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .34);
  transition: background-color .25s ease, width .25s var(--ease);
}

.dots button.active {
  width: 46px;
  background: #fff;
}

.dots button:hover {
  background: rgba(255, 255, 255, .7);
}

/* ---------- Sektionsrubrik + tjänster --------------------------------- */

.section-title {
  padding: clamp(72px, 9vw, 128px) 0 0;
  background: var(--sand);
}

.section-title .container {
  display: block;
}

.section-title h2 {
  max-width: 20ch;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.032em;
}

.section-title h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 3px;
  background: var(--accent);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* Bottenutrymmet ger kortens hover-skugga plats innanför klippet */
  padding: clamp(40px, 5vw, 64px) 0 96px;
  background: var(--sand);
  box-shadow: 0 0 0 100vmax var(--sand);
  clip-path: inset(0 -100vmax);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 38px 34px 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink-2);
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--sh-2);
}

.service-card svg {
  width: 26px;
  height: 26px;
  fill: var(--accent);
}

.service-card h3 {
  font-size: 21px;
  font-weight: 600;
  /* Versaler via CSS så rubrikerna är enhetliga oavsett hur de skrivs
     i innehållet - "Orbitalsvetsning" var den enda med gemener. */
  letter-spacing: .01em;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.service-card::after {
  content: "→";
  margin-top: auto;
  padding-top: 8px;
  color: var(--accent);
  font-size: 19px;
  transition: transform .3s var(--ease);
}

.service-card:hover::after {
  transform: translateX(6px);
}

.all-services {
  margin: 0;
  padding: 0 0 clamp(80px, 9vw, 128px);
  background: var(--sand);
  text-align: center;
}

.all-services a {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-transform: none;
}

.all-services a:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  transform: translateY(-2px);
}

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
  background: var(--accent);
  color: rgba(255, 255, 255, .78);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr .75fr 1fr;
  gap: 96px;
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
}

.site-footer h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
}

.site-footer li {
  margin-bottom: 12px;
}

.site-footer a {
  font-size: 15.5px;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.dash-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.dash-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.vision-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

/* Samma utseende som styckena ovanför; listan är kvar i markupen
   eftersom de tre punkterna hör ihop, men syns inte som en lista. */
.vision-list li {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-list strong {
  color: #fff;
  font-weight: 600;
}

.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
  margin: 0;
  padding: 26px 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

/* ---------- Mobilmeny -------------------------------------------------- */

.mobile-panel,
.search-modal {
  position: fixed;
  z-index: 30;
  background: #fff;
}

.mobile-panel {
  inset: 0;
  padding: 108px var(--gutter) 56px;
  overflow-y: auto;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s var(--ease);
}

.mobile-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-panel > img,
.panel-close {
  display: none;
}

.mobile-panel nav {
  width: min(620px, 100%);
  margin-inline: auto;
}

.mobile-panel nav > a {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 600;
  letter-spacing: -.03em;
  transition: opacity .2s ease;
}

.mobile-panel nav > a:hover {
  opacity: .7;
}

.mobile-panel nav > a:last-child,
.mobile-panel details:last-child {
  border-bottom: 0;
}

.mobile-panel details {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.mobile-panel summary {
  display: block;
  padding: 22px 0 10px;
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}

.mobile-panel summary::-webkit-details-marker {
  display: none;
}

.mobile-panel details a {
  display: block;
  margin-left: -14px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .94);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: background-color .2s ease;
}

.mobile-panel details a:hover {
  background: rgba(255, 255, 255, .12);
}

.panel-contact {
  width: min(620px, 100%);
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
}

.panel-contact strong,
.panel-contact a {
  color: #fff;
}

/* Headern med loggan förblir ljus när menyn är öppen; bara panelen
   under den är röd. Ogenomskinlig, annars lyser röd igenom. */
body.panel-open .site-header {
  z-index: 50;
  background: #fff;
  backdrop-filter: none;
  border-bottom-color: var(--line);
}

body.panel-open .menu-toggle {
  color: var(--ink);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(14, 20, 24, .5);
}

.scrim[hidden],
.search-modal[hidden] {
  display: none;
}

body.panel-open,
body.search-opened {
  overflow: hidden;
}

/* ---------- Sök -------------------------------------------------------- */

.search-modal {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 150px var(--gutter) 48px;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
}

.search-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.search-box {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: 1fr 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-1);
}

.search-box input {
  border: 0;
  padding: 18px 26px;
  font: inherit;
  background: none;
  outline: none;
}

.search-box button {
  display: grid;
  place-items: center;
  color: var(--accent);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.search-results {
  width: min(720px, 100%);
  overflow-y: auto;
}

.search-results p {
  color: var(--muted);
}

.search-result {
  display: block;
  padding: 16px 18px;
  border-radius: var(--r);
  transition: background-color .2s ease;
}

.search-result:hover {
  background: var(--sand);
}

.search-result strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}

.search-result span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.search-result:hover strong {
  color: var(--accent);
}

/* ---------- Undersidor ------------------------------------------------- */

.page-block {
  padding: clamp(64px, 8vw, 112px) 0 clamp(80px, 10vw, 140px);
}

.page-narrow {
  max-width: 76ch;
}

.page-title {
  margin: 0 0 28px;
  font-size: clamp(38px, 5.6vw, 76px);
  letter-spacing: -.038em;
  line-height: 1.02;
}

.page-title::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 26px;
  border-radius: 3px;
  background: var(--accent);
}

.page-subtitle {
  margin: -8px 0 34px;
  color: var(--accent);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.015em;
}

.copy {
  color: var(--ink-2);
  font-size: 17.5px;
  overflow-wrap: break-word;
}

.copy > *:first-child {
  margin-top: 0;
}

.copy h2 {
  margin: 56px 0 18px;
  font-size: clamp(26px, 2.8vw, 36px);
  letter-spacing: -.028em;
}

.copy h3 {
  margin: 42px 0 14px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 600;
}

.copy h4 {
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.copy p,
.copy ul,
.copy ol {
  margin: 0 0 20px;
}

.copy ol {
  padding-left: 22px;
}

/* Röda punkter, samma som i streck-listorna. Numrerade listor rörs inte. */
.copy ul {
  padding-left: 0;
  list-style: none;
}

.copy ul > li {
  position: relative;
  padding-left: 24px;
}

.copy ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.copy li {
  margin-bottom: 10px;
}

.copy a:not([class]) {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.content-image-inline,
.copy figure {
  margin: 36px 0;
}

.content-image-inline img,
.copy img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

.post-date,
.news-card time {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.post-hero-image {
  margin: 36px 0 44px;
}

.post-hero-image img {
  width: 100%;
  border-radius: var(--r-lg);
}

/* ---------- Detaljlayout ----------------------------------------------- */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.75fr);
  gap: 72px;
  align-items: start;
}

.detail-media {
  margin: 0;
}

.detail-media img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.detail-copy {
  padding-top: 4px;
}

/* Kortsektionen på Tjänster får luft ned från texten ovanför */
.service-section {
  margin-top: clamp(48px, 6vw, 88px);
}

/* ---------- Kortsystem -------------------------------------------------- */

.service-grid,
.job-grid,
.news-grid,
.case-grid,
.certificates-grid,
.team-grid,
.contact-cards {
  display: grid;
  gap: 20px;
}

.service-grid {
  /* Två breda spalter i stället för fyra smala: texterna blir jämnlånga
     och pilen hamnar tätt under dem, som korten på startsidan. */
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}

.job-grid,
.news-grid,
.case-grid,
.team-grid,
.certificates-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.job-card,
.news-card,
.case-card,
.certificate-card,
.team-card,
.fact-card,
.contact-card,
.form-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow-wrap: break-word;
}

.job-card,
.news-card,
.case-card,
.certificate-card,
.team-card {
  transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.job-card:hover,
.news-card:hover,
.case-card:hover,
.certificate-card:hover,
.team-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--sh-2);
}

.copy .job-card,
.copy .news-card,
.copy .case-card,
.copy .certificate-card,
.copy .service-card {
  color: var(--ink-2);
  font-weight: 400;
}

.job-card,
.certificate-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 34px;
}

.job-card h2,
.news-card h2,
.case-card h2,
.certificate-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.018em;
}

.job-card p,
.news-card p,
.case-card p,
.certificate-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.job-card strong,
.news-card strong,
.case-card strong,
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}

.job-card strong::after,
.news-card strong::after,
.case-card strong::after,
.card-cta::after {
  content: "→";
  transition: transform .25s var(--ease);
}

.job-card:hover strong::after,
.news-card:hover strong::after,
.case-card:hover strong::after,
.service-card:hover .card-cta::after {
  transform: translateX(5px);
}

.news-card img,
.case-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.news-card:hover img,
.case-card:hover img {
  transform: scale(1.05);
}

.news-card-body,
.case-card-body {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 30px;
}

.certificate-card span {
  color: var(--muted);
  font-size: 14px;
}

/* Fakta */

.fact-section {
  margin-top: 72px;
  padding: clamp(44px, 5vw, 64px) clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--accent);
  color: rgba(255, 255, 255, .8);
  /* Bryter ut ur textspalten, men bara så långt containern räcker */
  margin-inline: calc(-1 * max(0px, (min(1240px, 100vw - 48px) - 100%) / 3));
}

.fact-section h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  background: none;
  text-align: center;
}

/* Avslutande streck efter sista talet, bara när de ligger på en rad */
@media (min-width: 1000px) {
  .fact-card:last-child {
    border-right: 1px solid rgba(255, 255, 255, .3);
  }
}

/* Staplade eller tvåspaltiga: strecken är kvar, men talen ligger
   vänsterställda intill dem i stället för centrerade. */
@media (max-width: 999px) {
  .fact-card {
    align-items: flex-start;
    padding: 0 0 0 22px;
    text-align: left;
  }

  .facts-grid {
    gap: 26px;
  }
}

.fact-card strong {
  display: block;
  color: #fff;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}

.fact-card span {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}

/* Personkort */

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.team-photo {
  aspect-ratio: 4 / 3;
  padding-top: 22px;
  background: var(--sand);
}

.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-body {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 30px;
}

.team-body h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.team-role {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.team-body a {
  display: block;
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
}

.team-body a:first-of-type {
  margin-top: auto;
}

/* ---------- Kontakt ----------------------------------------------------- */

.contact-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(380px, 48vh, 520px);
  padding: 80px var(--gutter) 80px;
  background-image:
    linear-gradient(180deg, rgba(8, 12, 15, .62), rgba(8, 12, 15, .72)),
    url("/assets/uploads/2023/04/christopher-burns-8KfCR12oeUM-unsplash.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.contact-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(38px, 5.6vw, 76px);
  letter-spacing: -.038em;
}

.contact-hero p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.contact-cards {
  gap: 14px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  background: var(--accent);
  border-color: transparent;
  color: rgba(255, 255, 255, .84);
}

.contact-card .contact-icon {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* Adresskorten är länkar till vägbeskrivning; pilen visar att de
   öppnas i ett nytt fönster */
a.contact-card {
  transition: background-color .2s ease, transform .2s var(--ease);
}

a.contact-card:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
}

a.contact-card::after {
  content: "↗";
  margin-left: auto;
  align-self: center;
  padding-left: 12px;
  color: rgba(255, 255, 255, .75);
  font-size: 18px;
  transition: transform .2s var(--ease);
}

a.contact-card:hover::after {
  transform: translate(2px, -2px);
}

.contact-card h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 16px;
}

.contact-card a {
  color: #fff;
  font-weight: 500;
}

/* Ingen ram runt formuläret; fälten har egna ramar */
.form-card {
  padding: clamp(30px, 4vw, 46px);
  border: 0;
}

.form-card h2 {
  margin: 0 0 26px;
  font-size: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* Asterisken följer required-attributet, så den aldrig kan hamna fel */
.form-field:has(:required) label::after {
  content: " *";
  color: var(--accent);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-100);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-button {
  margin-top: 22px;
  width: 100%;
}

/* ---------- Intoning ---------------------------------------------------- */

/* ---------- Responsivt --------------------------------------------------- */

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout {
    gap: 48px;
  }
}

@media (max-width: 999px) {
  .header-inner {
    min-height: 72px;
    grid-template-columns: auto 1fr;
  }

  .logo-link img {
    width: 54px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: clamp(480px, 74vh, 660px);
  }

  .slide-content {
    padding-bottom: 116px;
  }

  .services,
  .job-grid,
  .news-grid,
  .case-grid,
  .team-grid,
  .certificates-grid,
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 44px;
  }

  .detail-media img {
    height: 340px;
  }

  .mobile-panel {
    padding-top: 96px;
  }
}

@media (max-width: 689px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16.5px;
  }

  .hero {
    height: clamp(440px, 78vh, 600px);
  }

  .slide-content {
    padding-bottom: 104px;
  }

  .slide-content h1,
  .slide-content h2 {
    max-width: none;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button-primary,
  .button-secondary,
  .all-services a,
  .submit-button {
    min-height: 50px;
    padding: 0 24px;
    font-size: 14.5px;
  }

  .slider-arrow {
    display: none;
  }

  .dots {
    bottom: 44px;
  }

  .services,
  .service-grid,
  .job-grid,
  .news-grid,
  .case-grid,
  .team-grid,
  .certificates-grid,
  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 26px 32px;
  }

  .fact-card {
    padding-left: 18px;
  }

  .detail-media img {
    height: 260px;
  }

  .contact-card {
    padding: 22px 22px;
  }
}

@media (min-width: 1000px) {
  .detail-media {
    position: sticky;
    top: 108px;
  }
}

/* ---------- Tacksida ---------------------------------------------------- */

.thanks {
  max-width: 620px;
  padding: clamp(20px, 5vw, 60px) 0;
  text-align: center;
}

.thanks-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.thanks-icon svg {
  width: 34px;
  height: 34px;
}

.thanks .page-title::before {
  margin-inline: auto;
}

.thanks-lead {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
}

.thanks-note {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.thanks-note a {
  color: var(--accent);
  font-weight: 500;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--ease);
}

.button-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

/* Mindre hero-bilder på små skärmar. Slidesen får --image-sm i sin
   inline-stil; på bred skärm faller den tillbaka på --image. */
@media (max-width: 900px) {
  .slide {
    background-image:
      linear-gradient(180deg, rgba(8, 12, 15, .55) 0%, rgba(8, 12, 15, .18) 34%, rgba(8, 12, 15, .82) 100%),
      var(--image-sm, var(--image));
  }
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  z-index: 1200;
  width: min(680px, calc(100vw - 2 * var(--gutter)));
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-2);
  transform: translateX(-50%);
  animation: cookie-in .4s var(--ease) both;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.cookie-consent-text {
  flex: 1 1 300px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.cookie-consent-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-consent-button {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* display:flex på klassen slår ut webbläsarens [hidden]-regel, så panelen
   skulle annars stå öppen trots att JS sätter options.hidden = true. */
.cookie-consent-options[hidden] {
  display: none;
}

.cookie-consent-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 600;
}

.cookie-option input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.cookie-option input:disabled {
  opacity: .6;
  cursor: not-allowed;
}

@media (max-width: 700px) {
  .cookie-consent {
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 20px;
  }

  .cookie-consent-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .cookie-consent-button {
    flex: 1 1 auto;
    padding: 0 14px;
  }
}
