/* =========================================================
   Malmö SEO-byrå – i Våning 18:s designspråk
   ========================================================= */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.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;
}

:root {
  --deep: #e3ddcf;
  --light: #ede8dd;
  --paper: #fbfaf6;
  --ink: #0e1513;
  --ink-2: #18201e;
  --muted: #4f5a58;
  --muted-ink: #b7c0be;
  --line: rgba(14, 21, 19, 0.12);
  --line-ink: rgba(255, 255, 255, 0.12);
  --teal: #00b798;
  --teal-deep: #006b56;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(5rem, 10vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

::selection {
  background: var(--teal);
  color: #fff;
}

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

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

figure,
h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.page {
  position: relative;
  z-index: 2;
  overflow: clip;
  border-radius: 0 0 2rem 2rem;
  background: var(--deep);
}

.sec {
  padding-block: var(--section);
}

.sec--flush-top {
  padding-top: clamp(4rem, 8vw, 6.5rem);
}

.bg-deep {
  background: var(--deep);
}

.bg-light {
  background: var(--light);
}

/* ---------- Typografi ---------- */
.display-2 {
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.display-3 {
  font-size: clamp(2rem, 3.8vw, 2.875rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.head-max {
  max-width: 16ch;
}

.accent {
  color: var(--teal-deep);
}

.accent-light {
  color: var(--teal);
}

.intro {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.sub {
  max-width: 40rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
}

.link {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.link:hover {
  color: var(--ink);
}

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: none;
  height: 56px;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}

.btn i svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover i,
.btn:focus-visible i {
  transform: translateX(3px);
}

.btn--white {
  background: #fff;
  color: var(--ink);
}

.btn--white i {
  background: var(--ink);
  color: #fff;
}

.btn--white:hover {
  background: var(--teal);
}

.btn--teal {
  height: 46px;
  padding: 0 6px 0 20px;
  background: var(--teal);
  color: var(--ink);
  font-size: 14px;
}

.btn--teal i {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: #fff;
}

.btn--teal:hover {
  background: #fff;
}

/* ---------- Header ---------- */
.hd {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
  pointer-events: none;
}

.hd__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1220px;
  height: 66px;
  margin: 0 auto;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  background: rgba(14, 21, 19, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  pointer-events: auto;
}

.hd__logo img {
  width: 104px;
}

.hd__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.hd__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-ink);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.hd__links a:hover {
  color: #fff;
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(620px, 100svh);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 21, 19, 0.78) 0%, rgba(14, 21, 19, 0.35) 55%, rgba(14, 21, 19, 0.1) 100%),
    linear-gradient(0deg, rgba(14, 21, 19, 0.72) 0%, transparent 48%);
}

.hero__in {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(620px, 100svh);
  padding: 8rem 0 clamp(2.5rem, 6vw, 4.5rem);
}

.hero__title {
  font-size: clamp(3.5rem, 11vw, 9.25rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.hero__line {
  display: block;
}

.hero__accent {
  color: var(--teal);
  /* Luft för Ö-prickarna, annars krockar de med raden ovanför */
  margin-top: 0.16em;
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__lead {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  line-height: 1.6;
}

/* ---------- Partnerrad ---------- */
.partners {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.partners__grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.partners__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.partners__text {
  margin-top: 0.625rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.partners__logos {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.logo-tile {
  display: grid;
  place-items: center;
  width: 168px;
  height: 128px;
  border-radius: 16px;
  background: var(--paper);
}

.logo-tile img {
  width: auto;
  max-height: 92px;
}

/* ---------- Bildramar ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--light);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Jämförelse (Maximera) ---------- */
.compare {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.compare__img {
  min-height: 460px;
  border-radius: 24px;
}

.compare__img img {
  position: absolute;
  inset: 0;
}

.compare__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.compare__lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.5;
}

.compare__note {
  display: flex;
  gap: 16px;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-ink);
}



.compare__note h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.compare__note p {
  color: var(--muted-ink);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------- Uppdelade stycken: ingress + lista med bockar ---------- */
.chunks > span {
  display: block;
}

.chunks__lead {
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
}

.chunks__item {
  position: relative;
  padding: 0.9rem 0 0.9rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}



.chunks--ink .chunks__lead {
  color: #fff;
}

.chunks--ink .chunks__item {
  border-color: var(--line-ink);
  color: var(--muted-ink);
}



/* ---------- Flikar (FAQ) ---------- */
.tabs + .tabs {
  margin-top: var(--section);
  padding-top: var(--section);
  border-top: 1px solid var(--line);
}

.tabs__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: end;
}

.tabs__head .intro {
  max-width: none;
  margin-top: 0;
}

.intro__first {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.45;
}

.tabs__title {
  max-width: 21ch;
}

.work__first {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 500;
}

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2.75rem;
  padding: 6px;
  border-radius: 30px;
  background: var(--paper);
}

.seg__h {
  font-size: inherit;
  font-weight: inherit;
}

.seg__btn {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.seg__btn:hover {
  color: var(--ink);
}

.seg__btn.is-on {
  background: var(--ink);
  color: #fff;
}

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
}

.panel--flip .panel__img {
  order: -1;
}

.panel__txt {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.panel__stack {
  display: grid;
  gap: 1.5rem;
}

.panel__item p {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
}

.panel__dots {
  display: none;
  gap: 8px;
  margin-top: auto;
  padding-top: 2rem;
}

.panel__dots i {
  position: relative;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.panel__dots b {
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
}

.panel__img img {
  position: absolute;
  inset: 0;
}

/* Med JS: svaren ligger staplade i samma cell och tonas mellan */
.tabs-js .panel__stack {
  gap: 0;
}

.tabs-js .panel__item {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.45s;
}

.tabs-js .panel__item.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s, visibility 0s;
}

.tabs-js .panel__dots {
  display: flex;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.step {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 2rem;
  border-radius: 16px;
  background: var(--paper);
  transition: transform 0.5s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
}


.step h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.step p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.step--ink {
  background: var(--ink);
  color: #fff;
}

.step--ink p {
  color: var(--muted-ink);
}

/* ---------- Varför SEO ---------- */
.statement {
  max-width: 30em;
  margin-top: 1.75rem;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.wide {
  height: clamp(300px, 44vw, 520px);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: 24px;
}

.wide img {
  position: absolute;
  inset: 0;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ---------- Google Partner ---------- */
.partner {
  background: var(--ink);
  color: #fff;
}

.partner__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.partner__badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-ink);
  border-radius: 24px;
  background: var(--ink-2);
}

.partner__badge img {
  width: 54%;
  border-radius: 12px;
}

.partner__quote {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.partner__body {
  margin-top: 1.5rem;
  color: var(--muted-ink);
  line-height: 1.7;
}

.partner__cite {
  margin-top: 1.25rem;
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Hur vi arbetar ---------- */
/* Staplade kort: varje fas fastnar och nästa glider över */
.stack {
  display: grid;
  gap: 28px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.stack__card {
  position: sticky;
  top: calc(110px + var(--i) * 18px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 -20px 50px -30px rgba(14, 21, 19, 0.35);
  transform-origin: 50% 0;
}

.stack__img img {
  position: absolute;
  inset: 0;
}

.stack__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.stack__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: auto;
  border-radius: 50%;
  background: rgba(0, 183, 152, 0.16);
  color: var(--teal-deep);
}


.stack__body h3 {
  margin-top: 3rem;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.stack__body p {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.work__first {
  font-size: 1.125rem;
  line-height: 1.5;
}

.stack__shade {
  position: absolute;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}

.stack__card--ink {
  background: var(--ink);
  color: #fff;
}

.stack__card--ink .stack__body p {
  color: var(--muted-ink);
}

.stack__card--ink .work__first {
  color: #fff;
}

.stack__card--ink .stack__icon {
  background: rgba(0, 183, 152, 0.2);
  color: var(--teal);
}

.stack__card--teal {
  background: var(--teal-deep);
  color: #fff;
}

.stack__card--teal .stack__body p {
  color: rgba(255, 255, 255, 0.85);
}

.stack__card--teal .work__first {
  color: #fff;
}

.stack__card--teal .stack__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ---------- Footer ---------- */
.ft {
  margin-top: -2rem;
  padding: clamp(7rem, 12vw, 9.5rem) 0 3.5rem;
  background: var(--ink);
  color: #fff;
}

.ft__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.ft__brand img {
  width: min(220px, 100%);
}

.ft__title {
  margin-bottom: 1rem;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 600;
}

.ft__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 2.1;
}

.ft__list a {
  transition: color 0.2s;
}

.ft__list a:hover {
  color: var(--teal);
}

.ft__dim {
  color: var(--muted-ink);
}

.ft__line {
  height: 1px;
  margin-top: 4rem;
  background: var(--line-ink);
  transform-origin: left;
}

/* ---------- Egna ikoner (tvåton) ---------- */
.ic {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic .t {
  fill: var(--ic-tint, rgba(0, 183, 152, 0.18));
  stroke: none;
}

.ic .a {
  fill: var(--ic-accent, var(--teal));
  stroke: none;
}

.ic .k {
  fill: var(--ic-knob, var(--paper));
}

.hd__links .ic {
  width: 18px;
  height: 18px;
  color: var(--teal);
  --ic-tint: rgba(0, 183, 152, 0.22);
}

.step__icon,
.stack__icon,
.note-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--light);
  color: var(--ink);
}

.step__icon .ic,
.stack__icon .ic,
.note-icon .ic {
  width: 28px;
  height: 28px;
}

.step__icon {
  margin-bottom: 2.25rem;
}

.step--ink .step__icon {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  --ic-knob: var(--ink);
  --ic-tint: rgba(0, 183, 152, 0.28);
}

.note-icon {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  --ic-tint: rgba(0, 183, 152, 0.28);
}

.stack__icon {
  margin-bottom: auto;
}

.stack__card--ink .stack__icon {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  --ic-tint: rgba(0, 183, 152, 0.28);
}

.stack__card--teal .stack__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  --ic-accent: #fff;
  --ic-tint: rgba(255, 255, 255, 0.22);
}

/* Punktlistor: litet löv i stället för bock */
.chunks__item::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 19.5C4.5 10.6 10.6 4.5 19.5 4.5c0 8.9-6.1 15-15 15Z' fill='%2300b798'/%3E%3Cpath d='M4.5 19.5 13 11' stroke='%23fbfaf6' stroke-width='1.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.chunks--ink .chunks__item::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 19.5C4.5 10.6 10.6 4.5 19.5 4.5c0 8.9-6.1 15-15 15Z' fill='%2300b798'/%3E%3Cpath d='M4.5 19.5 13 11' stroke='%230e1513' stroke-width='1.6' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

/* Gemensam, lätt dämpad bildton så att alla bilder hänger ihop med heron */
.media img {
  filter: saturate(0.86) contrast(1.03);
}

/* ---------- Animationer (endast med JS) ---------- */
.js .reveal {
  opacity: 0;
}

/* ---------- Responsivt ---------- */
@media (max-width: 1024px) {
  .partners__grid {
    grid-template-columns: 1fr;
  }

  .partners__logos {
    justify-content: flex-start;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .ft__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ft__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hd__links {
    display: none;
  }

  .hd__bar {
    justify-content: space-between;
  }

  .hero__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabs__head,
  .compare,
  .panel,
  .two,
  .partner__grid,
  .work {
    grid-template-columns: 1fr;
  }

  .compare__img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .panel {
    min-height: 0;
  }

  .panel__img {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .partner__badge {
    aspect-ratio: 16 / 10;
  }

  .stack__card {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .stack__img {
    aspect-ratio: 16 / 10;
  }

  .stack__body h3 {
    margin-top: 2rem;
  }

  .partner__badge img {
    width: min(220px, 50%);
  }
}

@media (max-width: 560px) {
  .hd {
    top: 10px;
    padding: 0 10px;
  }

  .hd__bar {
    height: 58px;
    padding-left: 18px;
  }

  .hd__logo img {
    width: 88px;
  }

  .logo-tile {
    width: auto;
    flex: 1;
    height: 104px;
  }

  .logo-tile img {
    max-height: 72px;
  }

  .seg {
    display: flex;
  }

  .steps,
  .ft__grid {
    grid-template-columns: 1fr;
  }

  .page {
    border-radius: 0 0 1.5rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Telefon: konsekvent padding och fullbreddsknappar ---------- */
@media (max-width: 560px) {
  :root {
    --gutter: 20px;
    --section: 4.5rem;
    --card-pad: 24px;
  }

  .partners {
    padding: 2.5rem 0;
  }

  .hero__in {
    padding-bottom: 2rem;
  }

  .hero__title {
    font-size: clamp(3.25rem, 17vw, 4.5rem);
  }

  .hero__row {
    gap: 1.5rem;
  }

  .hero__cta {
    width: 100%;
    justify-content: space-between;
  }

  .seg {
    display: grid;
    width: 100%;
    border-radius: 22px;
  }

  .seg__h,
  .seg__btn {
    width: 100%;
  }

  .seg__btn {
    border-radius: 16px;
    padding: 14px 18px;
  }

  .panel__txt,
  .compare__card,
  .step,
  .stack__body {
    padding: var(--card-pad);
  }

  .compare,
  .steps,
  .stack {
    gap: 12px;
  }

  .compare__note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .step {
    min-height: 0;
  }

  .step__icon {
    margin-bottom: 1.5rem;
  }

  .stack__body h3 {
    margin-top: 1.5rem;
  }

  .panel,
  .compare__img,
  .compare__card,
  .wide,
  .stack__card,
  .partner__badge {
    border-radius: 20px;
  }

  .tabs__head {
    gap: 1.25rem;
  }

  .seg {
    margin-top: 2rem;
  }

  .two {
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .ft {
    padding-bottom: 2.5rem;
  }
}

/* =========================================================
   Malmö SEO-byrå – tillägg
   ========================================================= */
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.hero__title {
  text-transform: uppercase;
}

blockquote {
  margin: 0;
}

/* ---------- Orter ---------- */
.areas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.areas__card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
}

.areas__label {
  margin-bottom: 1.25rem;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 600;
}

.areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.areas__list li::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12Z' fill='%2300b798'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%230e1513'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.areas__list li:first-child,
.areas__list li:hover {
  border-color: transparent;
  background: rgba(0, 183, 152, 0.18);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq__head .intro {
  margin-top: 1.25rem;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__item {
  border-radius: 20px;
  background: var(--paper);
  interpolate-size: allow-keywords;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.faq__item summary i {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  transition: background-color 0.3s var(--ease), transform 0.45s var(--ease);
}

.faq__item summary i::before,
.faq__item summary i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.faq__item summary i::after {
  transform: rotate(90deg);
  transition: transform 0.45s var(--ease);
}

.faq__item[open] summary i {
  background: var(--teal);
  transform: rotate(180deg);
}

.faq__item[open] summary i::after {
  transform: rotate(0deg);
}

.faq__item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq__item::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.5s var(--ease), content-visibility 0.5s allow-discrete;
}

.faq__item[open]::details-content {
  height: auto;
}

/* ---------- Kontakt ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem);
  border-radius: 28px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(0, 183, 152, 0.35), transparent 55%),
    var(--ink);
  color: #fff;
}

.cta .display-2 {
  max-width: 14ch;
}

.cta__txt {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted-ink);
  font-size: 1.125rem;
}

.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.25rem;
}

.btn--line {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--line i {
  background: rgba(255, 255, 255, 0.12);
}

.btn--line:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--ink);
}

/* ---------- Footer-tillägg ---------- */
.ft__about {
  max-width: 26ch;
  margin-top: 1.25rem;
  color: var(--muted-ink);
  font-size: 14px;
}

.ft__copy {
  margin-top: 1.5rem;
  color: var(--muted-ink);
  font-size: 13px;
}

@media (max-width: 860px) {
  .areas,
  .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(2.75rem, 14.5vw, 4.25rem);
  }

  .areas__card,
  .cta {
    padding: var(--card-pad);
    border-radius: 20px;
  }

  .areas__list li {
    font-size: 14px;
  }

  .faq__item summary {
    padding: 1rem 1rem 1rem var(--card-pad);
  }

  .faq__item p {
    padding: 0 var(--card-pad) var(--card-pad);
  }

  .cta__btns .btn {
    width: 100%;
    justify-content: space-between;
  }
}
