/* ===========================================================
   Miljöstrategen — Ren (shared styles)
   =========================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --blue: #135786;
  --blue-700: #0e456b;
  --blue-900: #0a3251;
  --blue-300: #6aa3c7;
  --blue-bright: #2b8fcc;
  --blue-tint: #f0f5f9;
  --blue-tint-2: #e6eef4;
  --ink: #131a1f;
  --ink-soft: #414e58;
  --paper: #ffffff;
  --line: #ebedef;
  --line-2: #dfe3e6;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  letter-spacing: -.005em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 920px; }

/* ---- placeholder photo ---- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, #e3e8ec 0 2px, transparent 2px 12px),
    linear-gradient(180deg, #f1f4f7, #e6ecf1);
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6b7a86;
  background: rgba(255,255,255,.7); padding: 5px 9px; border-radius: 4px;
}

/* ---- header ---- */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); }
header.top.scrolled { }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.brand { display: flex; align-items: center; justify-self: start; }
.brand img { height: 70px; width: auto; }
nav.main { display: flex; gap: 30px; justify-self: center; }
nav.main a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; position: relative; }
nav.main a:hover { color: var(--ink); }
nav.main a.active { color: var(--blue); }
nav.main a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -33px; height: 2px; background: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; justify-self: end; }
.link-quiet { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.link-quiet:hover { color: var(--ink); }

/* ---- buttons ---- */
.btn { font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 11px 22px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #d6dade; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: #f1f4f7; }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-line:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ---- generic section ---- */
section.block { padding: 100px 0; }
.tint { background: var(--blue-tint); }
.label { font-size: 14px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.sec-head { text-align: left; max-width: 720px; margin: 0 0 60px; }
.sec-head h2 { font-weight: 600; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.04; margin-top: 14px; }
.sec-head p { font-size: 18px; color: var(--ink-soft); margin-top: 18px; line-height: 1.55; }
.sec-head.left { text-align: left; margin-left: 0; }

.pill { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--blue); background: var(--blue-tint); padding: 8px 16px; border-radius: 999px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---- home hero (split) ---- */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy { text-align: left; }
.hero-copy h1 { font-weight: 600; font-size: clamp(44px, 5.6vw, 82px); line-height: 1.0; letter-spacing: -.04em; margin: 26px 0 0; max-width: 12ch; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy .lede { font-size: 21px; color: var(--ink-soft); max-width: 480px; margin: 26px 0 0; line-height: 1.5; }
.hero-copy .hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--r-lg); }

@media (max-width: 940px) {
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-media img { height: 420px; }
}

/* ---- page hero (inner pages) ---- */
.page-hero { padding: 64px 0 72px; }
.page-hero.tint { background: var(--blue-tint); }
.crumb { font-size: 14px; color: var(--ink-soft); font-weight: 500; margin-bottom: 22px; }
.crumb a:hover { color: var(--blue); }
.crumb span { color: var(--blue); }
.page-hero h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.04em; line-height: 1.0; max-width: 16ch; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero .lede { font-size: 21px; color: var(--ink-soft); max-width: 600px; margin-top: 24px; line-height: 1.5; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .n { font-size: 52px; font-weight: 600; letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.stat .l { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }

/* ---- service cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px 32px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(19,87,134,.4); border-color: transparent; }
.svc .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-tint); display: grid; place-items: center; margin-bottom: 24px; }
.svc .ic span { width: 20px; height: 20px; border: 2.5px solid var(--blue); border-radius: 6px; }
.svc.r2 .ic span { border-radius: 50%; }
.svc.r3 .ic span { border-radius: 6px; transform: rotate(45deg); }
.svc h3 { font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin-bottom: 12px; }
.svc p { font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.svc .tag { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--blue); display: flex; align-items: center; justify-content: space-between; }

/* ---- news ---- */
.news-list { max-width: 880px; margin: 0 auto; }
.news-item { display: flex; align-items: flex-start; gap: 28px; padding: 26px 24px; border-radius: 14px; transition: background .2s, transform .2s, box-shadow .2s; cursor: pointer; }
.news-item:hover { background: #fff; transform: translateX(6px); box-shadow: 0 14px 34px -24px rgba(19,87,134,.4); }
.news-date { font-size: 15px; font-weight: 600; color: var(--blue); width: 112px; flex: none; padding-top: 2px; }
.news-main { flex: 1; }
.news-title { font-size: 20px; font-weight: 500; line-height: 1.3; }
.news-ingress { font-size: 15px; color: var(--ink-soft); line-height: 1.5; margin-top: 7px; max-width: 58ch; }
.news-thumb { width: 116px; height: 74px; flex: none; }
.news-arrow { font-size: 20px; color: var(--blue); opacity: .5; transition: transform .25s, opacity .25s; padding-top: 2px; }
.news-item:hover .news-arrow { opacity: 1; transform: translateX(4px); }

/* news cards grid */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* fewer-item home variants (single class so the responsive @media rule still wins on mobile) */
.nc-2 { grid-template-columns: repeat(2, 1fr); max-width: 784px; margin-left: auto; margin-right: auto; }
.nc-1 { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
.ncard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; cursor: pointer; display: flex; flex-direction: column; }
.ncard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -24px rgba(19,87,134,.4); }
.ncard .ph { height: 200px; }
.ncard-img { height: 200px; }
.ncard .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.ncard .dt { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.ncard h3 { font-weight: 600; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; margin: 12px 0 0; }
.ncard .nc-ingress { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin: 12px 0 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .rd { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--blue); }
/* text-only card (e.g. utbildningar) */
.ncard--noimg .body { padding: 30px 30px 26px; }
.ec-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.ncard--noimg h3 { font-size: 21px; margin-top: 14px; }
.ec-desc { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-top: 12px; flex: 1; }
.ec-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.ec-date { font-size: 14px; font-weight: 600; color: var(--ink); }
.ncard--noimg .rd { margin-top: 0; }

/* ---- training accordion ---- */
.acc-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 24px; padding: 26px 8px; text-align: left; font-family: inherit; transition: padding-left .2s; }
.acc-head:hover { padding-left: 14px; }
.acc-main { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.acc-date { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.acc-title { font-size: clamp(19px, 2vw, 23px); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.acc-loc { flex: none; font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 14px; }
.acc-chev { flex: none; width: 22px; height: 22px; position: relative; }
.acc-chev::before, .acc-chev::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform .25s, opacity .25s; }
.acc-chev::before { left: 0; top: 10px; width: 22px; height: 2px; }
.acc-chev::after { left: 10px; top: 0; width: 2px; height: 22px; }
.acc-item.open .acc-chev::after { transform: scaleY(0); opacity: 0; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.acc-inner { padding: 0 8px 32px; max-width: 760px; }
.acc-body { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.acc-body p { margin-bottom: 16px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.acc-body ul, .acc-body ol { margin: 0 0 16px 20px; }
.acc-body li { margin-bottom: 6px; }
.acc-inner .btn { margin-top: 22px; }
.acc-body img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 14px 0; }

/* ---- utbildning intro ---- */
.about-edu { max-width: 880px; }
.about-edu h2 { font-weight: 600; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; margin: 14px 0 20px; }
.about-edu > p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; max-width: 70ch; }
.edu-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; margin-top: 16px; }
@media (max-width: 720px) { .edu-checklist { grid-template-columns: 1fr; } }

/* ---- article (single post) ---- */
.article { max-width: 760px; margin: 0; }
.article p { font-size: 19px; line-height: 1.7; color: var(--ink); margin-bottom: 22px; }
.article h2 { font-weight: 600; font-size: 30px; letter-spacing: -.02em; margin: 40px 0 16px; }
.article h3 { font-weight: 600; font-size: 23px; letter-spacing: -.01em; margin: 32px 0 12px; }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { font-size: 19px; line-height: 1.7; margin-bottom: 8px; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article img { border-radius: var(--r-md); margin: 32px 0; display: block; }
.article blockquote { border-left: 3px solid var(--blue); padding-left: 22px; margin: 28px 0; font-size: 21px; color: var(--ink-soft); font-style: italic; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); margin-top: 14px; text-decoration: none; transition: color .2s; }
.post-back:hover { color: var(--blue); }
.post-cta { margin: 36px 0 44px; padding-top: 38px; border-top: 1px solid var(--line); }
.article a.post-back { color: var(--ink-soft); text-decoration: none; }
.article a.post-back:hover { color: var(--blue); }
.article a.btn { text-decoration: none; }
.article a.btn-primary { color: #fff; }
[data-post-body] > :first-child { margin-top: 0; }
.post-lead { width: 100%; border-radius: var(--r-lg); margin-bottom: 34px; }
.policy-updated { font-size: 15px; color: var(--ink-soft); margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }

/* single post: calmer heading scale */
.post-image { margin: 8px 0 0; }
.post-image .post-lead { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-lg); margin: 0; display: block; }
.post-head { max-width: 760px; margin: 30px 0 0; }
.post-head .label { font-size: 14px; }
.post-head h1 { font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 0; max-width: 22ch; }
.post-head .lede { font-size: 21px; color: var(--ink-soft); margin: 20px 0 0; line-height: 1.5; max-width: 62ch; }
.article h2 { font-size: 26px; }
.article h3 { font-size: 21px; }

@media (max-width: 940px) {
  .post-image .post-lead { height: 280px; }
}

/* ---- social ---- */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.social-card { display: flex; align-items: center; gap: 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; padding: 22px 24px; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.social-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -24px rgba(19,87,134,.4); border-color: var(--line-2); }
.social-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.social-ic svg { width: 24px; height: 24px; display: block; }
.social-card .net { font-weight: 600; font-size: 17px; color: var(--ink); }
.social-card .go { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--blue); }

/* ---- feature / value list ---- */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { display: flex; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.feat .no { font-size: 14px; font-weight: 700; color: var(--blue); flex: none; width: 30px; }
.feat h4 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.feat p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ---- split (image + text) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev .col-img { order: 2; }
.split .ph { height: 440px; border-radius: var(--r-lg); }
.split .col-text h2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -.035em; line-height: 1.06; margin: 14px 0 24px; }
.split .col-text p { font-size: 18px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 18px; }
.split .col-text p strong { color: var(--ink); font-weight: 600; }
.split .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); margin-top: 8px; }

/* ---- service detail blocks ---- */.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.svc-detail.rev .sd-media { order: 2; }
.svc-detail .sd-media { height: 380px; border-radius: var(--r-lg); }
img.sd-media { width: 100%; object-fit: cover; display: block; }
.susa-standards { margin-top: 26px; }
.susa-standards img { width: 100%; max-width: 460px; height: auto; display: block; border-radius: var(--r-md); }
.svc-detail .sd-media.susa-media { height: auto; align-self: stretch; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 40px; }
.susa-media img { width: 100%; max-width: 460px; height: auto; }
.svc-detail .sd-no { font-size: 15px; font-weight: 700; color: var(--blue); }
.svc-detail h3 { font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; margin: 10px 0 18px; }
.svc-detail > .sd-text > p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 24px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.checklist li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-tint); flex: none; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23135786' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ---- education / courses ---- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.course-dur { font-size: 13px; font-weight: 600; color: var(--ink-soft); background: var(--blue-tint); padding: 5px 12px; border-radius: 999px; }
.course-note { font-size: 14px; color: var(--ink-soft); margin: 20px 0 24px; }
@media (max-width: 940px) { .course-grid { grid-template-columns: 1fr; } }

/* ---- standards chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { padding: 14px 24px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 16px; font-weight: 600; background: #fff; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---- process steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--blue); }
.step .no { font-size: 14px; font-weight: 700; color: var(--blue); }
.step h4 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 12px 0 10px; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

/* ---- customer logo wall ---- */
.logo-wall {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  transition: border-color .25s, box-shadow .25s;
}
.logo-tile:hover { border-color: var(--line-2); box-shadow: 0 14px 32px -22px rgba(19,87,134,.35); }
.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .25s, opacity .25s;
}
.logo-tile:hover img { filter: none; opacity: 1; }

/* ---- team ---- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member .ph { height: 270px; border-radius: var(--r-md); }
.member h4 { font-size: 18px; font-weight: 600; margin-top: 16px; }
.member .role { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---- employee bios ---- */
.bio-list { display: flex; flex-direction: column; gap: 28px; margin: 44px 0 0; }
.bio {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
}
.bio-photo { width: 200px; border-radius: var(--r-md); overflow: hidden; align-self: start; background: var(--blue-tint); }
.bio-photo img { width: 200px; height: auto; display: block; }
.bio-body h3 { font-size: 24px; font-weight: 600; }
.bio-body .role { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-top: 6px; }
.bio-body > p { color: var(--ink-soft); margin-top: 16px; max-width: 56ch; }
.bio-sub { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 600; margin-top: 22px; }
.bio-tasks { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.bio-tasks li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.bio-tasks li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--blue-bright);
}
.bio-contact { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.bio-contact a { font-weight: 500; color: var(--blue); transition: color .2s; }
.bio-contact a:hover { color: var(--blue-700); }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(19,87,134,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.contact-info { background: var(--blue-tint); border-radius: var(--r-lg); padding: 40px; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.info-item:last-child { border-bottom: none; }
.info-item .ic { width: 42px; height: 42px; border-radius: 11px; background: #fff; display: grid; place-items: center; flex: none; color: var(--blue); }
.info-item .k { font-size: 13px; color: var(--ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-item .v { font-size: 17px; font-weight: 600; margin-top: 3px; }
.info-item .v a:hover { color: var(--blue); }
.form-sent { background: var(--blue-tint); border: 1px solid var(--blue-300); border-radius: var(--r-md); padding: 18px 20px; color: var(--blue); font-weight: 600; font-size: 15px; display: none; margin-bottom: 20px; }
.form-sent.show { display: block; }

/* ---- faq / accordion ---- */
.faq { max-width: 820px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { width: 26px; height: 26px; flex: none; position: relative; }
.qa summary .plus::before, .qa summary .plus::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; }
.qa summary .plus::before { left: 0; right: 0; top: 12px; height: 2px; }
.qa summary .plus::after { top: 0; bottom: 0; left: 12px; width: 2px; transition: transform .2s; }
.qa[open] summary .plus::after { transform: scaleY(0); }
.qa .a { padding: 0 0 24px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; max-width: 680px; }

/* ---- CTA banner ---- */
.cta { background: var(--blue); color: #fff; border-radius: 0; text-align: center; padding: 72px 48px; }
.cta h2 { font-weight: 600; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.cta p { font-size: 19px; color: rgba(255,255,255,.78); margin: 22px auto 36px; max-width: 480px; line-height: 1.5; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta--narrow { max-width: 760px; margin-left: 0; padding: 64px 40px; }
.cta--narrow h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---- page-transition progress bar ---- */
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--blue-bright); transform: scaleX(0); transform-origin: 0 50%; z-index: 2000; opacity: 1; pointer-events: none; }

/* ---- contact people ---- */
.contact-people { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cperson { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.cperson-photo { width: 200px; border-radius: var(--r-md); overflow: hidden; background: var(--blue-tint); }
.cperson-photo img { width: 200px; height: auto; display: block; }
.cperson-body h2 { font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.cperson-body .role { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-top: 6px; }
.cperson-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.cperson-contact a { display: inline-flex; align-items: center; gap: 11px; font-weight: 500; color: var(--ink); transition: color .2s; }
.cperson-contact a:hover { color: var(--blue); }
.cperson-contact .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); }
.contact-office { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.office-item .k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.office-item .v { font-size: 17px; color: var(--ink); margin-top: 8px; line-height: 1.5; }
.office-item .v a { color: var(--blue); }

/* ---- kundzonen nav button ---- */
.kundzon { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; color: var(--ink); border: 1.5px solid #d6dade; border-radius: 999px; padding: 11px 20px; line-height: 1; transition: border-color .2s, color .2s; }
.kundzon:hover { border-color: var(--blue); color: var(--blue); }
.kundzon svg { width: 15px; height: 15px; }

/* ---- page loader (between-page transition) ---- */
.page-loader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--blue-tint); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }
.page-loader.show { opacity: 1; visibility: visible; pointer-events: all; transition: opacity .4s ease; }
.page-loader.instant { transition: none; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.pl-logo { height: 64px; width: auto; animation: plPulse 1.4s ease-in-out infinite; }
@keyframes plPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.pl-bar { width: 168px; height: 3px; border-radius: 999px; background: rgba(19,87,134,.18); overflow: hidden; }
.pl-bar span { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--blue); animation: plSlide 1.1s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes plSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) { .pl-logo, .pl-bar span { animation: none; } }

/* ---- mobile nav ---- */
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 2500; padding: 96px 32px 40px; transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; gap: 8px; box-shadow: -30px 0 60px -30px rgba(19,87,134,.4); overflow-y: auto; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links a { font-size: 20px; font-weight: 600; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line); }
.mobile-nav-links a.active { color: var(--blue); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mobile-nav-cta .kundzon, .mobile-nav-cta .btn { width: 100%; justify-content: center; text-align: center; }
.mobile-nav-backdrop { position: fixed; inset: 0; z-index: 2400; background: rgba(15,40,60,.42); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .34s ease, visibility 0s linear .34s; }
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; pointer-events: all; transition: opacity .34s ease; }

/* ---- footer ---- */
footer.site { padding: 30px 0 50px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 56px; border-top: 1px solid var(--line); }
.foot-brand img { height: 36px; width: auto; }
.foot-tag { margin-top: 16px; font-size: 15px; color: var(--ink-soft); max-width: 300px; line-height: 1.6; }
.foot-col h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; gap: 12px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- responsive ---- */
@media (max-width: 940px) {
  .wrap { padding: 0 24px; }
  .topbar { height: 74px; }
  nav.main, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand img { height: 56px; }
  .split, .contact-grid, .svc-detail { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .col-img, .svc-detail.rev .sd-media { order: 0; }
  .stats, .steps, .team-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .bio { grid-template-columns: 200px 1fr; gap: 28px; padding: 26px; }
  .svc-grid, .news-cards, .social-grid, .feat-grid { grid-template-columns: 1fr; }
  .contact-people { grid-template-columns: 1fr; gap: 20px; }
  .contact-office { grid-template-columns: 1fr; gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .cta, .cta--narrow { max-width: none; margin-left: 0; margin-right: 0; padding: 56px 28px; }
  .news-date { width: 72px; }
  section.block { padding: 64px 0; }
  .page-hero { padding: 40px 0 48px; }
  .svc-detail .sd-media, img.sd-media { height: 280px; }
  .hero-media img { height: 360px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .stats, .steps, .team-grid, .foot-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .bio { grid-template-columns: 1fr; gap: 22px; }
  .bio-photo { max-width: 220px; width: 100%; }
  .bio-photo img { width: 100%; }
  .news-thumb { display: none; }
  .cperson { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .cperson-photo, .cperson-photo img { width: 160px; }
  section.block { padding: 52px 0; }
  .cta, .cta--narrow { padding: 44px 22px; border-radius: 0; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .acc-head { gap: 14px; padding: 22px 4px; }
  .acc-loc { display: none; }
  .acc-inner { padding-left: 4px; padding-right: 4px; }
  .edu-checklist { grid-template-columns: 1fr; }
  .mobile-nav { width: min(92vw, 360px); padding: 88px 26px 32px; }
}
