/* courtier.se – stilmall baserad på designen "Courtier – koncernsajt" */

:root {
  --bg: #F4F1EA;
  --sand: #E9E4D8;
  --green: #073F32;
  --green-hover: #0E5443;
  --ink: #15231F;
  --muted: #52605A;
  --line: #C9C2B3;
  --foot-muted: #B9C9C1;
  --arch: 160px;
  --arch-md: 96px;
  --arch-sm: 64px;
  --pad: 64px;
  --header-h: 111px; /* sidhuvudets höjd i hopdraget (scrollat) läge */
  --max: 1312px;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 136px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Layout */
.pad { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.sec { padding-top: 120px; padding-bottom: 120px; }
.sec--tight { padding-top: 0; padding-bottom: 128px; }
.sec--sand { background: var(--sand); }
.sec--sand + .sec--sand { padding-top: 0; }
.sec--sand + .sec--tight { padding-top: 120px; }
.sec--first { padding-top: 48px; }
.sec > .pad { padding-left: 0; padding-right: 0; }
.sec--sand .pad { padding-left: var(--pad); padding-right: var(--pad); }
.grid { display: grid; gap: 32px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 72px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 64px; }
.arch-tr { border-top-right-radius: var(--arch); }
.arch-bl { border-bottom-left-radius: var(--arch); }
.arch-sm { border-top-right-radius: var(--arch-sm); }

/* Typografi */
.h1 { margin: 0; font-weight: 300; font-size: clamp(42px, 5.9vw, 84px); line-height: 1.02; letter-spacing: -0.025em; color: var(--green); max-width: 1040px; }
.h1--sm { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.02em; max-width: 960px; }
.h2 { margin: 0; font-weight: 300; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--green); }
.h2--xl { font-size: clamp(34px, 3.9vw, 56px); }
.h3 { margin: 0; font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--green); }
.h3 a { text-decoration: none; }
.h3 a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.h4 { margin: 0; font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--green); }
.lead { font-size: 21px; line-height: 1.5; color: var(--muted); }
.eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.eyebrow--center { text-align: center; }
.eyebrow--small { font-size: 12px; margin: 0; }
.head-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: 32px; row-gap: 24px; align-items: end; margin-bottom: 56px; }
.head-row__lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); max-width: 520px; justify-self: end; }
.head-row__right { justify-self: end; }
.prose { font-size: 18px; line-height: 1.65; }
.prose--narrow { max-width: 720px; }
.prose h2 { margin-top: 48px; margin-bottom: 16px; font-size: clamp(26px, 2.6vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { margin: 1em 0 1em 1.2em; padding: 0; }
.prose li { margin: 0.35em 0; }
.prose .btn, .prose .link-arrow { margin-top: 8px; }
.bullets { list-style: none; }
.bullets li { padding: 16px 0 16px 28px; border-top: 1px solid var(--line); position: relative; }
.bullets li:last-child { border-bottom: 1px solid var(--line); }
.bullets li::before { content: ""; position: absolute; left: 4px; top: 29px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.bullets strong { color: var(--green); font-weight: 500; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Knappar och länkar */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: opacity .15s, background .15s; }
.btn:hover { opacity: .86; }
.btn--primary { background: var(--green); color: var(--bg); border-color: var(--green); }
.btn--primary:hover { color: var(--bg); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--light { border-color: var(--bg); color: var(--bg); background: transparent; }
.btn--light:hover { color: var(--bg); }
.btn--text { border-color: transparent; color: var(--green); padding: 0 8px; }
.ico { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 1px solid var(--green); padding-bottom: 4px; }
.link-arrow:hover { color: var(--green-hover); }
button.link-arrow { background: none; border: 0; border-bottom: 1px solid var(--green); font: inherit; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; cursor: pointer; }
.minor { font-size: 14px; color: var(--green); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.minor:hover { border-bottom-color: var(--green); }

/* Platshållare för uppgifter att bekräfta */
.fakta { display: inline; background: rgba(7, 63, 50, 0.07); color: var(--muted); border: 1px dashed var(--line); border-radius: 4px; padding: 0 6px; font-size: 0.85em; font-style: italic; cursor: help; }
.fakta::before { content: "FAKTA: "; font-size: 0.8em; letter-spacing: 0.08em; text-transform: uppercase; font-style: normal; }
.kpi__value .fakta { font-size: 24px; font-style: normal; }
.kpi__value .fakta::before { display: none; }

/* Sidhuvud */
/* Tidningshuvud: språkval – logotyp – investerare på en rad, menyband med linjer under */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header__inner { display: block; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 18px; transition: padding .2s; }
.masthead__side { flex: 1 1 0; display: flex; align-items: center; }
.masthead__side--right { justify-content: flex-end; }
.masthead__side .navlink { font-size: 12px; letter-spacing: 0.12em; }
.logo { flex: none; }
.logo img { width: 228px; height: 76px; transition: width .2s, height .2s; }
.site-header.is-stuck .masthead { padding-top: 8px; padding-bottom: 2px; }
.site-header.is-stuck .logo img { width: 150px; height: 50px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2px 0; }
.nav__list { list-style: none; display: flex; align-items: center; justify-content: center; gap: 52px; }
.nav__item { position: relative; display: flex; align-items: center; }
.navlink { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); text-decoration: none; font-weight: 500; padding: 12px 0; white-space: nowrap; }
.navlink:hover, .navlink[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__toggle { display: none; background: none; border: 0; padding: 4px; color: var(--muted); cursor: pointer; align-items: center; }
.navlink--muted { color: var(--muted); }
.nav__aside { display: none; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; font-weight: 500; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a[aria-current] { color: var(--green); }
.lang a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.lang span { color: var(--line); }
.nav__toggle .chev { transition: transform .15s; }
.nav__item[data-open="true"] .nav__toggle .chev { transform: rotate(180deg); }
.sub { list-style: none; position: absolute; top: 100%; left: -20px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 0 24px 0 0; padding: 14px 0; display: none; box-shadow: 0 12px 32px rgba(21, 35, 31, 0.08); }
.sub a { display: block; padding: 9px 24px; color: var(--ink); text-decoration: none; font-size: 15px; }
.sub a:hover { background: var(--bg); color: var(--green); }
.nav__item:hover > .sub, .nav__item:focus-within > .sub, .nav__item[data-open="true"] > .sub { display: block; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; color: var(--green); cursor: pointer; }

/* Brödsmulor */
.crumbs { padding-top: 8px; padding-bottom: 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: var(--line); margin-right: 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding-top: 40px; display: flex; flex-direction: column; gap: 56px; }
.hero--compact { gap: 40px; padding-bottom: 24px; }
.hero > .eyebrow { margin-bottom: -32px; }
.hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 32px; row-gap: 24px; align-items: end; }
.hero__lead { margin: 0; max-width: 560px; }
.hero__lead--wide { grid-column: 1 / -1; max-width: none; } /* utan knappar: ingressen sidbred, ingen tom högerspalt */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.hero__img { width: 100%; height: 620px; object-fit: cover; }

/* Nyckeltal */
.band { background: var(--sand); padding: 64px 48px 80px; }
.band--cta { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; row-gap: 32px; align-items: center; padding: 72px 64px 80px; }
.band--cta .h2 { max-width: 640px; }
.band__text { margin: 20px 0 0; font-size: 17px; max-width: 560px; }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.band__actions--person { flex-direction: column; align-items: flex-end; gap: 20px; }
.band__person { width: 220px; height: 250px; object-fit: cover; display: block; }
@media (max-width: 720px) { .band__actions--person { align-items: flex-start; } .band__person { width: 200px; height: 240px; } }
.sec--sand .band { background: var(--bg); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.kpi { padding: 8px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; justify-content: flex-end; }
.kpi:last-child { border-right: 0; }
.kpi__value { font-weight: 300; font-size: 64px; line-height: 1; letter-spacing: -0.02em; color: var(--green); }
.kpi__approx { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: block; margin-bottom: 6px; }
.kpi__value--text { font-size: 30px; line-height: 1.1; padding-top: 18px; max-width: 220px; }
.kpi__label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 500; }

/* Två kolumner med bild */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; row-gap: 48px; align-items: center; }
.two__img { width: 100%; height: 520px; object-fit: cover; }
.two__img--tall { height: 700px; }
.two__text { display: flex; flex-direction: column; gap: 32px; }
.two__text .h2 { margin-top: 8px; }
.two__text p { font-size: 19px; line-height: 1.6; }
.two__text .steps p { font-size: 17px; }

/* Steg / numrerade listor */
/* Numrerad lista + bild (designspecen, avsnitt 3): 7/5-spalter som hero, listan under rubriken,
   bilden under ingressen. Bilden fyller högerspalten och följer med vid scroll. */
.listmedia { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 32px; row-gap: 40px; align-items: stretch; }
.listmedia__head { grid-column: 1; grid-row: 1; align-self: end; }
.listmedia__head .h2 { margin-top: 8px; }
.listmedia__lead { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
.listmedia__list { grid-column: 1; }
.listmedia--head .listmedia__list, .listmedia--head .listmedia__media { grid-row: 2; }
.listmedia__list .step__body { max-width: 580px; }
.listmedia__more { margin-top: 32px; }
.listmedia__media { grid-column: 2; }
.media { position: relative; min-height: 480px; }
.media img { position: sticky; top: calc(32px + var(--header-h)); display: block; width: 100%; height: 100%; max-height: min(880px, calc(100vh - 64px - var(--header-h))); object-fit: cover; }
.steps { list-style: none; display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-size: 13px; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; padding-top: 7px; }
.step__body { display: flex; flex-direction: column; gap: 10px; }
.step__body p { margin: 0; font-size: 17px; }
.step__body .h3 { font-size: 22px; }
.steps--plain .step { grid-template-columns: minmax(0, 1fr); }
.steps--lg .step { padding: 36px 0; }
.steps--lg .step__body .h3 { font-size: 26px; }
.steps--lg .step__body p { font-size: 18px; }

/* Varumärkesrader */
.brandrows { list-style: none; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.brandrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 4fr) 40px; column-gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.brandrow__name { font-weight: 300; font-size: 34px; letter-spacing: -0.015em; line-height: 1.1; color: var(--green); }
.brandrow:hover .brandrow__name { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.brandrow__meta { margin: 0; }
.brandrow__places { font-size: 16px; }
.brandrow .ico { width: 20px; height: 20px; justify-self: end; color: var(--green); }

/* Kort */
.card { display: flex; flex-direction: column; gap: 22px; }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 12px; }
.card__body p { margin: 0; font-size: 16px; line-height: 1.6; }
.card__body .eyebrow { margin: 0; }
/* Varumärkeskort: gemensamma rader i hela raden (subgrid), så att rubrik, text, orter och länkar ligger i linje oavsett namnets längd */
.card--brand { display: grid; grid-template-rows: subgrid; grid-row: span 6; gap: 0; align-content: start; }
.card--brand .card__imglink { margin-bottom: 22px; }
.card--brand .eyebrow { margin: 0 0 10px; }
.card--brand .h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.15; }
.card--brand > p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.card--brand .card__places { margin: 0 0 22px; }
.card--brand .card__links { align-self: start; }
.card__places { font-size: 13px !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.card__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.card[hidden] { display: none; }
.cards--news .card__body .h3 { font-size: 26px; }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 56px; align-items: center; }
.filters__label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-right: 8px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); color: var(--green); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; background: transparent; cursor: pointer; font-family: inherit; }
.chip[aria-pressed="true"] { background: var(--green); color: var(--bg); border-color: var(--green); }
.filters__sep { width: 1px; height: 28px; background: var(--line); margin: 0 10px; }
.empty { padding: 48px 0; color: var(--muted); }

/* Teasers */
.teasers { row-gap: 32px; }
.teaser { display: flex; flex-direction: column; gap: 12px; padding: 28px 0 24px; border-top: 1px solid var(--green); text-decoration: none; color: var(--ink); }
.teaser .eyebrow { margin: 0; }
.teaser__title { }
.teaser:hover .teaser__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.teaser__text { font-size: 16px; line-height: 1.6; }
.teaser__more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--green); margin-top: auto; }

/* Personer */
.people { row-gap: 64px; }
.person { display: flex; flex-direction: column; gap: 18px; }
.person__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.person__img--empty { display: flex; align-items: flex-end; padding: 24px; }
.person__img--empty span { font-weight: 300; font-size: 56px; letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.sec--sand .person__img { background: var(--bg); }
.person__body { display: flex; flex-direction: column; gap: 6px; }
.person__bio { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.person__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.struct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.struct > div { display: flex; flex-direction: column; gap: 14px; }
.struct > div + div { border-left: 1px solid var(--line); padding-left: 48px; }
.struct .eyebrow { margin: 0; }
.struct p { margin: 0; font-size: 16px; }
.struct .h3 { font-size: 24px; }
.struct__note { margin-top: 12px !important; font-size: 15px !important; color: var(--muted); }

/* Kontaktblock */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.contacts .contact { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
.contacts .contact__img { width: 200px; }
.contacts .contact__line { font-size: 18px; }
.contact { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center; }
.contact--noimg { grid-template-columns: minmax(0, 1fr); }
.contact__img { width: 280px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.contact__body { display: flex; flex-direction: column; gap: 8px; }
.contact__intro { font-size: 19px; margin-bottom: 20px !important; }
.contact__lines { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.contact__line { font-size: 21px; color: var(--green); text-decoration: none; }
a.contact__line:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact__note { margin-top: 20px !important; color: var(--muted); font-size: 15px; }

/* Tabeller */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table caption { text-align: left; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 24px 16px 0; border-bottom: 1px solid var(--line); }
.table th { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom-color: var(--green); }
.table td:first-child { color: var(--green); font-weight: 500; }
.table--plain td:first-child { font-weight: 400; color: var(--ink); }

/* Tidslinje */
.timeline { list-style: none; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline__year { font-weight: 300; font-size: 34px; line-height: 1; letter-spacing: -0.02em; color: var(--green); }
.timeline__year .fakta { font-size: 16px; }
.timeline__text { font-size: 18px; align-self: center; }

/* Nyheter */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 200px minmax(0, 1fr) 40px; gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-list .eyebrow { margin: 0; }
.news-list a { color: var(--green); text-decoration: none; font-size: 22px; font-weight: 400; }
.news-list a:hover { text-decoration: underline; text-underline-offset: 6px; }
.article__meta { display: flex; gap: 16px; flex-wrap: wrap; }
.article__img { width: 100%; height: 520px; object-fit: cover; margin: 48px 0; }
.card__img.img--portrait { object-position: center top; }
.article__img.img--portrait { width: auto; max-width: 100%; height: 640px; object-fit: contain; display: block; margin-left: auto; margin-right: auto; }

/* Relaterat */
.related { padding-top: 0; padding-bottom: 96px; }
.related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; border-top: 1px solid var(--line); padding-top: 28px; }

/* Logotypvägg och sidfot */
.logowall-band { background: var(--sand); padding: 64px 0; }
.logowall { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 40px; margin-top: 40px; align-items: center; }
.logowall li { display: flex; align-items: center; justify-content: center; }
.logowall a { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; }
.logowall img { max-height: 48px; max-width: 160px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity .15s, filter .15s; }
.logowall a:hover img { filter: none; opacity: 1; }
.site-footer { background: var(--green); color: var(--bg); padding: 88px 0 40px; }
.site-footer a { color: var(--bg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); column-gap: 32px; row-gap: 40px; }
.foot .eyebrow { color: var(--foot-muted); margin-bottom: 6px; }
.foot__brand img { width: 190px; height: 63px; }
.foot__brand p { margin: 24px 0 20px; font-size: 16px; line-height: 1.55; color: var(--foot-muted); max-width: 360px; }
.foot__social { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; border-bottom: 1px solid rgba(244, 241, 234, 0.4); padding-bottom: 2px; }
.foot__nav { display: flex; flex-direction: column; gap: 14px; }
.foot__nav a { font-size: 16px; }
.foot__addr { font-style: normal; display: flex; flex-direction: column; gap: 10px; }
.foot__addr p { margin: 0; font-size: 16px; line-height: 1.6; }
.foot__addr .muted { color: var(--foot-muted); font-size: 14px; }
.foot__addr .fakta { color: var(--foot-muted); border-color: rgba(185, 201, 193, 0.5); background: rgba(255, 255, 255, 0.06); }
.foot__bottom { border-top: 1px solid rgba(244, 241, 234, 0.2); margin-top: 72px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--foot-muted); }

/* Cookie-ruta */
.cookie { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: 0 40px 0 0; padding: 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; box-shadow: 0 16px 48px rgba(21, 35, 31, 0.12); max-width: var(--max); margin: 0 auto; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 15px; line-height: 1.5; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookie__actions .btn { height: 42px; padding: 0 20px; font-size: 12px; }

/* Popup – Bli en del av Courtier */
.popup { position: fixed; inset: 0; z-index: 95; background: rgba(7, 63, 50, 0.45); display: flex; align-items: center; justify-content: center; padding: 24px; }
.popup[hidden] { display: none; }
.popup__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 0 56px 0 0; max-width: 820px; width: 100%; display: grid; grid-template-columns: 280px minmax(0, 1fr); overflow: hidden; box-shadow: 0 24px 64px rgba(21, 35, 31, 0.24); animation: popup-in 0.35s ease-out; }
.popup__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.popup__body { padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.popup__body .h3 { font-size: 26px; line-height: 1.25; }
.popup__who { margin: 0; color: var(--muted); font-size: 15px; }
.popup__body .actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.popup__close { position: absolute; top: 14px; right: 18px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--green); font-size: 26px; line-height: 1; cursor: pointer; }
.popup__close:hover { background: var(--sand); }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .popup { padding: 16px; align-items: flex-end; }
  .popup__card { grid-template-columns: 1fr; border-radius: 0 40px 0 0; max-height: calc(100vh - 32px); overflow: auto; }
  .popup__img { height: 220px; min-height: 0; object-position: center 20% !important; }
  .popup__body { padding: 24px 24px 28px; }
}

/* Skyddat innehåll (investerare) */
.protected-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 14px; color: var(--muted); padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.protected-bar span { display: inline-flex; align-items: center; gap: 8px; }
.protected-bar button.minor { background: none; font: inherit; font-size: 14px; cursor: pointer; }
.login { max-width: 480px; display: flex; flex-direction: column; gap: 20px; }
.login label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.login input { height: 52px; border: 1px solid var(--line); border-radius: 0; background: #fff; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); }
.login input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.note { border-left: 2px solid var(--green); padding: 12px 20px; color: var(--muted); font-size: 15px; background: rgba(7, 63, 50, 0.04); }

/* Citat */
.quote { border-left: 2px solid var(--green); padding: 8px 0 8px 32px; margin: 0; }
.quote p { font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -0.01em; color: var(--green); }
.quote footer { margin-top: 16px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Startsidans partnerskapsblock */
.frame { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 48px; }
.frame__bg { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--green); border-bottom-left-radius: var(--arch-md); margin-top: 96px; margin-right: 96px; }
.frame__img { grid-column: 2 / 3; grid-row: 1 / 2; width: 100%; height: 600px; object-fit: cover; }
.investor-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; }
.investor-row p { margin: 0; font-size: 19px; display: inline-flex; align-items: center; gap: 12px; }

/* Responsivt */
@media (max-width: 1300px) {
  .nav, .nav__list { gap: 36px; }
  .navlink { font-size: 12px; letter-spacing: 0.08em; }
}
@media (max-width: 1199px) {
  :root { --header-h: 72px; }
  .masthead, .site-header.is-stuck .masthead { height: 72px; padding: 0; }
  .masthead__side { display: none; }
  html { scroll-padding-top: 88px; }
  .logo img, .site-header.is-stuck .logo img { width: 126px; height: 42px; }
  .site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 24px 32px; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 72px); overflow: auto; }
  .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .navlink { padding: 16px 0; font-size: 14px; }
  .nav__toggle { padding: 12px; }
  .sub { position: static; display: none; width: 100%; background: transparent; border: 0; box-shadow: none; padding: 0 0 12px 16px; border-radius: 0; }
  .nav__item:hover > .sub, .nav__item:focus-within > .sub { display: none; }
  .nav__item[data-open="true"] > .sub { display: block; }
  .nav__toggle { display: inline-flex; padding: 12px; }
  .nav__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; }
  .nav__aside .lang { font-size: 13px; }
  .navlink--muted { color: var(--green); }
}
@media (max-width: 1020px) {
  :root { --pad: 24px; --arch: 96px; --arch-md: 64px; --arch-sm: 48px; }
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .sec--tight { padding-bottom: 72px; }
  .sec--sand + .sec--tight { padding-top: 72px; }
  .hero { gap: 32px; padding-top: 24px; }
  .hero > .eyebrow { margin-bottom: -16px; }
  .hero__row, .head-row, .two, .band--cta, .cols2, .contact, .contacts, .listmedia { grid-template-columns: minmax(0, 1fr); }
  .listmedia > *, .listmedia.listmedia--head > * { grid-column: 1; grid-row: auto; }
  .listmedia__head { order: 1; } .listmedia__lead { order: 2; } .listmedia__media { order: 3; } .listmedia__list { order: 4; }
  .listmedia__list .step__body { max-width: none; }
  .media { min-height: 0; }
  .media img { position: static; height: 300px; max-height: none; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; height: 50px; }
  .hero__img { height: 300px; }
  .head-row { margin-bottom: 40px; }
  .head-row__lead, .head-row__right { justify-self: start; }
  .band { padding: 40px 24px 48px; }
  .band--cta { padding: 48px 24px 56px; }
  .band__actions { justify-content: flex-start; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; margin-top: 32px; }
  .kpi { border-right: 0; }
  .kpi__value { font-size: 44px; }
  .kpi__value--text { font-size: 24px; padding-top: 14px; }
  .g3, .g4 { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .g4.people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; row-gap: 40px; }
  .two__img, .two__img--tall { height: 300px; }
  .brandrow { grid-template-columns: minmax(0, 1fr) 24px; padding: 18px 0; }
  .brandrow__meta, .brandrow__places { display: none; }
  .brandrow__name { font-size: 24px; }
  .struct { grid-template-columns: minmax(0, 1fr); }
  .struct > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .contact__img { width: 200px; }
  .timeline li { grid-template-columns: 90px minmax(0, 1fr); gap: 16px; }
  .timeline__year { font-size: 26px; }
  .news-list li { grid-template-columns: minmax(0, 1fr) 24px; }
  .news-list li .eyebrow { grid-column: 1 / 3; }
  .frame { grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) 24px; }
  .frame__bg { margin-top: 56px; margin-right: 56px; }
  .frame__img { height: 380px; }
  .logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / 3; }
  .cookie { left: 12px; right: 12px; bottom: 12px; grid-template-columns: minmax(0, 1fr); padding: 20px; border-radius: 0 24px 0 0; }
  .article__img { height: 280px; }
  .article__img.img--portrait { height: 420px; }
}
@media (max-width: 480px) {
  .g4.people { grid-template-columns: minmax(0, 1fr); }
  .logowall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .table th, .table td { padding-right: 12px; font-size: 15px; }
}
@media print {
  .site-header, .site-footer, .logowall-band, .cookie, .crumbs, .related, .hero__actions, .btn { display: none !important; }
}

/* Frågor och svar (SEO-planen avsnitt 6) */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.faq__item h3 { margin: 0 0 8px; }
.faq__item p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; gap: 24px; } }
.updated { margin-top: 24px; }
/* <picture> ska inte påverka layouten – bilden beter sig som direkt barn */
picture { display: contents; }
.kontor-grupp { margin-top: 48px; }
.kontor-grupp:first-child { margin-top: 0; }
.kontor-grupp h2 { margin-bottom: 8px; }
.kontor-grupp .table-wrap { margin-top: 16px; }

/* Mäklartoppen (/maklartoppen/) */
.kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis--3 .kpi { justify-content: flex-start; }
.mt-cats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.btn.mt-cat[aria-pressed="true"] { background: var(--green); color: var(--bg); }
.dash-controls { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 16px; }
.dash-controls label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.dash-controls select, .dash-controls input { height: 48px; min-width: 240px; border: 1px solid var(--green); border-radius: 999px; background: transparent; padding: 0 20px; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.dash-controls select:focus, .dash-controls input:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.mt-explain { color: var(--muted); margin: 24px 0 8px; max-width: 760px; }
.mt-table .mt-name { color: var(--green); font-weight: 500; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table th.num { text-align: right; }
.table tr[hidden] { display: none; }
.mt-om { background: var(--green); color: var(--bg); padding: 56px 64px; }
.mt-om .eyebrow { color: var(--bg); opacity: .8; }
.mt-om p { max-width: 860px; margin: 0; }
.mt-om a { color: var(--bg); }
.mt-om .mt-logout { margin-top: 20px; font-size: 14px; }
.mt-error:empty { display: none; }
@media (max-width: 720px) {
  .kpis.kpis--3 { grid-template-columns: 1fr; }
  .kpis--3 .kpi { border-right: 0; }
  .dash-controls select, .dash-controls input { min-width: 0; width: 100%; }
  .dash-controls label { flex: 1 1 100%; }
  .mt-cats .btn { flex: 1 1 100%; justify-content: center; }
  .mt-om { padding: 40px 24px; }
  .mt-table { min-width: 620px; }
}
