:root {
  --ink: #101828;
  --muted: #5d687a;
  --line: #dbe3ee;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --blue: #0f2f57;
  --blue-2: #174b7f;
  --teal: #0f766e;
  --gold: #d7a641;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(155px, 15vw, 200px);
  height: auto;
  filter: brightness(0) saturate(100%) invert(11%) sepia(31%) saturate(1140%) hue-rotate(175deg) brightness(94%) contrast(94%);
}

.brand-domain {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #24344d;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a,
.header-cta,
.button {
  text-decoration: none;
}

.header-cta {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  padding: 8rem 5vw 3rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 22, 43, 0.88), rgba(8, 22, 43, 0.66) 48%, rgba(8, 22, 43, 0.18)),
    url("https://www.webbfabriken.com/assets/images/bild-webdesigners-400_optimized-1200w630h-center-q76.webp") center / cover;
}

.hero-inner {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
}

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button.secondary.dark {
  border-color: var(--line);
  color: var(--blue);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
  margin: 2.5rem 0 0;
}

.hero-facts div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts dt {
  font-weight: 900;
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 5vw;
  border-bottom: 1px solid var(--line);
  color: #3d4b60;
  font-weight: 850;
}

.logo-strip span {
  min-width: 160px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: #fff;
}

.section,
.split-section,
.contact-band,
.site-footer {
  width: min(var(--max), calc(100% - 10vw));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-heading.narrow {
  max-width: 640px;
}

.section-heading h2,
.split-copy h2,
.contact-band h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.split-copy p,
.contact-band p {
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid,
.case-grid,
.addon-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.addon-card,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.service-card {
  padding: 1.2rem;
}

.service-card h3,
.addon-card h3 {
  margin-bottom: 0.55rem;
  color: var(--blue);
}

.service-card p,
.addon-card p,
details p {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #344054;
  font-weight: 650;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.proof-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.proof-list div {
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list span {
  margin-top: 0.2rem;
  color: var(--muted);
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-panel figcaption {
  padding: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.process {
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--soft);
}

.steps span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 950;
}

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

.cases {
  padding-bottom: 4rem;
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card div {
  padding: 1rem;
}

.case-card p {
  color: var(--muted);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.addons {
  width: 100%;
  max-width: none;
  padding-inline: 5vw;
  background: var(--blue);
  color: #fff;
}

.addons .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.addon-grid {
  width: min(var(--max), 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
}

.addon-card {
  display: block;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.addon-card h3 {
  color: #fff;
}

.addon-card p {
  color: rgba(255, 255, 255, 0.78);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

details {
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 850;
}

details p {
  margin: 0.8rem 0 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-block: 4rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}

.contact-band p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.footer-brand {
  margin-bottom: 0.6rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--blue);
  font-weight: 750;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .brand-logo {
    width: 145px;
  }

  .brand-domain {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 6.5rem;
    background:
      linear-gradient(180deg, rgba(8, 22, 43, 0.88), rgba(8, 22, 43, 0.78)),
      url("https://www.webbfabriken.com/assets/images/bild-webdesigners-400_optimized-1200w630h-center-q76.webp") center / cover;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 3.7rem);
  }

  .hero-facts,
  .service-grid,
  .steps,
  .case-grid,
  .addon-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .contact-band,
  .site-footer {
    width: min(100% - 2rem, var(--max));
  }

  .section {
    padding: 3.4rem 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
