/* ============================================================
   ALUMIO 2.0 — webbplatsens designsystem (TEST)
   Samma formspråk som ALUMIO Studio: varmt papper, bläck,
   Fraunces + Manrope, glas, pillerknappar och mjuka radier.
   Fristående testfil — rör inte den publicerade styles.css.
   ============================================================ */

/* ---------- Tokens (delade med ALUMIO Studio) ---------- */
:root {
  --ink: #15171c;
  --ink-2: #2a2d35;
  --text: #1d1f24;
  --muted: #5d626b;
  --muted-2: #9aa0a8;
  --line: rgba(21, 23, 28, 0.10);
  --line-soft: rgba(21, 23, 28, 0.06);
  --paper: #f5f3ee;
  --paper-2: #eceae3;
  --white: #ffffff;
  --accent-glow: rgba(21, 23, 28, 0.16);
  --good: #1a8e4a;
  --warn: #c2491d;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(255, 255, 255, 0.7);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 28, 0.06);
  --shadow-md: 0 14px 36px rgba(20, 22, 28, 0.10);
  --shadow-lg: 0 30px 70px rgba(20, 22, 28, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --topbar-h: 68px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --content-w: 1200px;
  /* Vertikal rytm: varje sektion bidrar en halva → gap mellan ALLA block = 2× */
  --space-half: clamp(28px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
img, video { max-width: 100%; display: block; }
button, [role="button"], input[type="range"] { touch-action: manipulation; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 70% -10%, #fbfaf7 0%, #f5f3ee 45%, #eceae3 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

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

/* Tangentbordsfokus — tydlig ring i hela designsystemet */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px;
}
.roi-block a:focus-visible, .roi-block button:focus-visible,
.site-footer a:focus-visible { outline-color: #fff; }

/* Hoppa till innehåll — synlig endast vid fokus */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 500;
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 0.88rem; text-decoration: none;
  transform: translateY(-150%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; padding-top: var(--topbar-h); }

/* ---------- Typografi ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0.003em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); line-height: 1.18; }
p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 0 4px rgba(26, 142, 74, 0.16);
}
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.body-large { font-size: 1.05rem; line-height: 1.65; }

.text-link {
  color: var(--ink); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--accent-glow);
  transition: border-color 0.2s var(--ease);
}
.text-link:hover { border-color: var(--ink); }

/* ---------- Knappar ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-family: var(--font); font-size: 0.92rem; font-weight: 800; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.button-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(20, 22, 28, 0.55);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(20, 22, 28, 0.65); background: var(--ink-2); }
.button-primary:active { transform: translateY(0); }
.button-secondary {
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line); box-shadow: var(--shadow-sm);
}
.button-secondary:hover { transform: translateY(-2px); border-color: rgba(21, 23, 28, 0.22); box-shadow: var(--shadow-md); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Topbar (Studio-glas) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 22px;
  padding: 0 clamp(18px, 3.4vw, 40px);
  background: rgba(245, 243, 238, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; height: var(--topbar-h); padding: 0 8px; margin-left: -8px; }
.brand-word {
  font-weight: 800; letter-spacing: 0.34em; font-size: 1.02rem; color: var(--ink);
  padding-left: 0.17em; /* optisk kompensation för letterspacing */
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 15px; white-space: nowrap;
  border-radius: 999px; text-decoration: none;
  font-size: 0.85rem; font-weight: 700; color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); background: rgba(21, 23, 28, 0.05); }
.site-nav a.active { color: var(--ink); background: rgba(21, 23, 28, 0.07); }
.site-nav .nav-cta-offert {
  color: var(--ink); border: 1.5px solid var(--line); background: var(--white);
  margin-left: 8px;
}
.site-nav .nav-cta-offert:hover { border-color: rgba(21, 23, 28, 0.25); background: var(--white); }
.site-nav .nav-cta-3d-mobile { display: none; }
.header-cta {
  display: inline-flex; align-items: center; height: 42px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  font-size: 0.85rem; font-weight: 800;
  box-shadow: 0 10px 24px -8px rgba(20, 22, 28, 0.5);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.header-cta:hover { transform: translateY(-1px); background: var(--ink-2); box-shadow: 0 14px 30px -8px rgba(20, 22, 28, 0.6); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); border-radius: 999px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Sektioner ---------- */
.section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--space-half) clamp(18px, 4vw, 40px);
}
.section-soft { position: relative; margin-block: var(--space-half); }
/* Två soft-paneler i rad: margin-collapse skulle halvera gapet — kompensera */
.section-soft + .section-soft { margin-top: calc(var(--space-half) * 2); }
.section-soft::before {
  content: ''; position: absolute; inset: 0 clamp(8px, 1.4vw, 18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.25));
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl); z-index: -1;
  box-shadow: var(--shadow-sm);
}
.section-heading { max-width: 720px; margin-bottom: clamp(20px, 3vw, 36px); }
.section-heading h2 { letter-spacing: -0.01em; }
.section-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }

/* ---------- Hero (startsidan) ---------- */
.hero-home {
  position: relative; min-height: min(86vh, 820px);
  display: flex; align-items: flex-end;
  margin: 12px clamp(10px, 1.6vw, 20px) var(--space-half);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-backdrop { position: absolute; inset: 0; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.hero-backdrop::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(21, 23, 28, 0) 30%, rgba(21, 23, 28, 0.45) 100%),
    linear-gradient(90deg, rgba(21, 23, 28, 0.28) 0%, rgba(21, 23, 28, 0) 55%);
}
.hero-home .hero-copy {
  position: relative; z-index: 2;
  max-width: 720px;
  margin: clamp(90px, 14vw, 150px) clamp(18px, 3.5vw, 48px) clamp(26px, 4vw, 48px);
  padding: clamp(26px, 3.6vw, 44px);
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.hero-heading-brand {
  display: block; font-family: var(--font); font-weight: 800;
  letter-spacing: 0.34em; font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  color: var(--muted); margin-bottom: 14px;
}
.hero-heading-main { display: block; }
.hero-home h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); letter-spacing: -0.015em; }
.hero-heading-main-mobile { display: none; }
.hero-lead-mobile { display: none; }
.hero-home .lead { margin-top: 18px; }
.hero-proof-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px;
}
.hero-proof-row span {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 700; color: var(--ink);
}
.hero-proof-row span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--good);
}

/* ---------- Hero (undersidor) ---------- */
.hero-inner {
  max-width: var(--content-w); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(18px, 4vw, 40px) var(--space-half);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.hero-inner h1 { letter-spacing: -0.015em; font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.hero-inner .lead { margin-top: 18px; }
.hero-simple { grid-template-columns: 1fr; max-width: 980px; text-align: left; }
.hero-media { min-width: 0; }
.hero-card {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border);
  transform: rotate(0.6deg);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- Kort: gemensam bas ---------- */
.proof-card, .value-card, .delivery-card, .credential-card, .solution-card,
.contact-card, .contact-step-card, .quote-aside-card, .case-story-card,
.expertise-card, .principle-card, .brand-card, .faq-item {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.proof-label {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}

/* ---------- Proof-strip ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.proof-card { display: flex; flex-direction: column; }
.proof-card h2 { font-size: 1.18rem; line-height: 1.22; margin-bottom: 10px; }
.proof-card p { font-size: 0.88rem; }

/* ---------- Value (numrerade) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.value-card { position: relative; overflow: hidden; }
.value-index {
  display: block; font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 3.2rem; line-height: 1; color: var(--paper-2);
  -webkit-text-stroke: 1px rgba(21, 23, 28, 0.18);
  margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.92rem; }

/* ---------- Lösningar ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution-card { display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 22px; }
.solution-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.solution-card:hover .solution-media img { transform: scale(1.04); }
.solution-card h3 { padding: 0 8px; }
.solution-card p { padding: 0 8px; font-size: 0.92rem; flex: 1; }
.solution-card .button { margin: 4px 8px 0; align-self: flex-start; }

/* ---------- Leverans-steg ---------- */
.delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.delivery-card > span {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 0.8rem; font-weight: 800; margin-bottom: 16px;
}
.delivery-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.delivery-card p { font-size: 0.88rem; }

/* ---------- ROI-kalkylator (bläckpanel som Studio) ---------- */
.roi-block {
  margin-block: var(--space-half);
  background: linear-gradient(180deg, #1b1e25, #14161b);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 64px);
  margin-top: 0;
  box-shadow: var(--shadow-lg);
}
.roi-block .eyebrow { color: rgba(255, 255, 255, 0.55); }
.roi-block h2 { color: #fff; max-width: 640px; }
.roi-intro { color: rgba(255, 255, 255, 0.6); margin-top: 14px; max-width: 52ch; }
.roi-block.compact { padding: clamp(28px, 4vw, 48px); }
.roi-calculator { margin-top: clamp(26px, 4vw, 40px); }
.roi-controls {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.roi-control {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.roi-control > span {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
}
.roi-control > strong {
  font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: #fff;
}
.roi-control-result { background: rgba(255, 255, 255, 0.95); border-color: transparent; }
.roi-control-result > span { color: var(--muted); }
.roi-control-result > strong { color: var(--ink); font-size: 1.4rem; }
.roi-control-result p { font-size: 0.76rem; color: var(--muted); }
.roi-control input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #fff 0%, #fff var(--fill, 35%), rgba(255, 255, 255, 0.18) var(--fill, 35%));
  cursor: pointer; margin-top: 6px;
}
.roi-control input[type="range"]:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.roi-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s var(--ease);
}
.roi-control input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.roi-control input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.roi-summary { margin-top: 18px; }
.roi-calculation {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; font-weight: 600;
}
.roi-calculation span:nth-child(odd) {
  display: inline-flex; align-items: center; height: 30px; padding: 0 13px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.85);
}

/* ---------- Case-sektion ---------- */
.case-preview {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.case-media {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.case-details { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 28px; }
.case-detail {
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--white); border: 1.5px solid var(--line);
}
.case-detail span {
  display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.case-detail p { font-size: 0.92rem; color: var(--text); }

/* ---------- Projektkarusell / referenskort ---------- */
.project-carousel { margin-top: clamp(30px, 4vw, 48px); }
.project-carousel-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; margin-bottom: 22px;
}
.project-carousel-header h3 { letter-spacing: -0.01em; }
.project-carousel-actions { display: flex; gap: 8px; }
.carousel-button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink); font-size: 1.05rem; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-button:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.project-carousel-track {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.project-card {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 12px 12px 20px; cursor: pointer; text-decoration: none;
  font-family: var(--font);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.project-card img { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.project-card-index {
  order: -1;
  display: inline-flex; align-self: flex-start; align-items: center;
  height: 26px; padding: 0 12px; border-radius: 999px; margin: 4px 0 2px 4px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.project-card strong {
  font-family: var(--display); font-weight: 600; font-size: 1.08rem;
  line-height: 1.25; color: var(--ink); padding: 0 6px;
}
.project-card p { font-size: 0.84rem; padding: 0 6px; color: var(--muted); }
.project-card.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent-glow), var(--shadow-md);
}

/* ---------- Före/efter-jämförelse ---------- */
.project-showcase-layout {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(26px, 4.5vw, 56px); align-items: start;
}
.project-compare-shell { position: sticky; top: calc(var(--topbar-h) + 20px); }
.project-compare-visual {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
  cursor: ew-resize; touch-action: pan-y;
  container-type: inline-size; /* ger cqw för efter-bilden nedan */
}
.project-compare-before, .project-compare-after { position: absolute; inset: 0; }
.project-compare-after { width: 50%; overflow: hidden; }
.project-compare-image {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Efter-bilden måste vara lika stor som HELA ytan (inte sin wrapper) —
   annars skalas den om när man drar. 100cqw = den fulla jämförelseytan. */
.project-compare-after .project-compare-image { width: 100cqw; max-width: none; }
.compare-chip {
  position: absolute; top: 14px; z-index: 3;
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(20, 22, 28, 0.3);
}
.compare-chip-before { right: 14px; }
.compare-chip-after { left: 14px; background: var(--good); }
.project-compare-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4; width: 2px;
  background: rgba(255, 255, 255, 0.9); transform: translateX(-50%);
  pointer-events: none;
}
.project-compare-divider span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--glass-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); color: var(--ink);
  font-size: 1rem; font-weight: 700; box-shadow: var(--shadow-md);
}
.compare-range-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.compare-range-wrap > span { font-size: 0.78rem; color: var(--muted); }
.compare-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) var(--fill, 50%), rgba(21, 23, 28, 0.12) var(--fill, 50%));
  cursor: pointer;
}
.compare-range:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 4px 12px rgba(20, 22, 28, 0.22);
}
.compare-range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff;
  border: 1.5px solid var(--ink); box-shadow: 0 4px 12px rgba(20, 22, 28, 0.22);
}
.project-showcase-copy h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.01em; margin-bottom: 12px;
}
.case-story-grid { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.case-story-card { padding: 16px 18px; border-radius: var(--r-md); }
.case-story-card span {
  display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 5px;
}
.case-story-card p { font-size: 0.92rem; color: var(--text); }
.project-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tag-list span {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 700; color: var(--muted);
}

/* ---------- Credential / expertis / principer ---------- */
.credential-grid, .expertise-grid, .principle-grid, .contact-steps-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.credential-card { display: flex; flex-direction: column; }
.credential-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.credential-card p { font-size: 0.9rem; }
.expertise-card span, .principle-card span, .contact-step-card span {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.contact-step-card span {
  width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; font-size: 0.8rem; letter-spacing: 0;
}
.expertise-card, .principle-card, .contact-step-card { display: flex; flex-direction: column; }
.expertise-card h3, .principle-card h3, .contact-step-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.expertise-card p, .principle-card p, .contact-step-card p { font-size: 0.9rem; }

/* ---------- Story (om oss) ---------- */
.story-layout {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 60px); align-items: center;
}
.story-visual {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--glass-border);
}
.story-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.story-panel p { margin-bottom: 14px; line-height: 1.7; }
.story-panel p:last-child { margin-bottom: 0; }

/* ---------- Varumärken ---------- */
.brand-grid { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.brand-card {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 3.5vw, 44px); align-items: center;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--r-xl);
}
.brand-card:nth-child(even) { direction: rtl; }
.brand-card:nth-child(even) > * { direction: ltr; }
.brand-media {
  width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.brand-card-stack { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(4px, 1vw, 12px); }
.brand-card-stack h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; letter-spacing: -0.01em; }
.brand-card-stack > p { margin-bottom: 16px; }
.brand-meta-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.brand-meta-list li {
  position: relative; padding-left: 26px; font-size: 0.92rem; color: var(--muted); line-height: 1.55;
}
.brand-meta-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good);
  transform: rotate(-45deg) scale(0.85);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.06rem; color: var(--ink);
  transition: background 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: 0 0 auto;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-item summary:hover { background: rgba(21, 23, 28, 0.025); }
.faq-item p { padding: 0 24px 22px; font-size: 0.92rem; }

/* ---------- Formulär (Studio-fält) ---------- */
.quote-section-layout, .contact-page-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3.5vw, 44px); align-items: start;
}
.quote-aside { display: flex; flex-direction: column; gap: 14px; }
.quote-aside-card span, .contact-card > span {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.quote-aside-card, .contact-card { display: flex; flex-direction: column; }
.quote-aside-card h3, .contact-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.quote-aside-card a, .contact-card a { color: var(--ink); font-weight: 700; text-decoration: none; }
.quote-aside-card a:hover, .contact-card a:hover { text-decoration: underline; }
.contact-card-list { display: flex; flex-direction: column; gap: 6px; }
.contact-card-list p { font-size: 0.92rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  position: relative; padding-left: 26px; font-size: 0.9rem; color: var(--muted); line-height: 1.55;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good);
  transform: rotate(-45deg) scale(0.85);
}

.quote-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.quote-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
.quote-form input, .quote-form textarea, .quote-form select {
  height: 50px; padding: 0 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.quote-form textarea { height: auto; padding: 13px 15px; resize: vertical; line-height: 1.55; }
.quote-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2315171c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 42px;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-glow);
}
.quote-form label.is-invalid input, .quote-form label.is-invalid textarea, .quote-form label.is-invalid select {
  border-color: var(--warn); box-shadow: 0 0 0 3px rgba(194, 73, 29, 0.14);
}
.quote-form ::placeholder { color: var(--muted-2); font-weight: 400; }
.full-span { grid-column: 1 / -1; }
.quote-form .button[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.form-honeypot { position: absolute !important; left: -9999px; opacity: 0; height: 0; }
.form-status { font-size: 0.86rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-success { color: #157a3f; }
.form-status.is-error { color: var(--warn); }

/* ---------- Blogg ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.blog-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 14px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.blog-card-image { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.blog-card h3 { padding: 0 8px; }
.blog-card p { padding: 0 8px; font-size: 0.92rem; flex: 1; }
.blog-card .button { margin: 4px 8px 0; align-self: flex-start; }

.blog-article {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: clamp(26px, 4vw, 56px); align-items: start;
  max-width: var(--content-w); margin: 0 auto;
  padding: var(--space-half) clamp(18px, 4vw, 40px);
}
.article-header { grid-column: 1 / -1; padding: clamp(20px, 3vw, 40px) 0 clamp(8px, 1.5vw, 16px); }
.article-header-content { max-width: 800px; }
.article-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.65; margin-top: 16px; max-width: 62ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.article-meta span {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 700; color: var(--muted);
}
.article-body { min-width: 0; }
.article-section { margin-bottom: clamp(26px, 4vw, 40px); }
.article-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.article-section h3 { margin: 18px 0 8px; }
.article-section p, .article-section li { font-size: 0.98rem; line-height: 1.7; margin-bottom: 12px; }
.article-section ul, .article-section ol { padding-left: 24px; margin: 12px 0; color: var(--muted); }
.article-section li { margin-bottom: 8px; }
.article-section strong { color: var(--ink); }
.article-cta {
  background: linear-gradient(180deg, #1b1e25, #14161b);
  border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-md);
}
.cta-intro { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.25; margin-bottom: 18px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.article-cta .button-primary { background: #fff; color: var(--ink); }
.article-sidebar {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--topbar-h) + 20px);
}
.sidebar-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 26px); display: flex; flex-direction: column;
}
.sidebar-label {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 28px; padding: 0 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.sidebar-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.sidebar-card p { font-size: 0.9rem; margin-bottom: 12px; }

/* ---------- Policy-sidan ---------- */
.policy-page .story-layout { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.policy-page .story-layout .quote-aside { grid-column: 2; grid-row: 1 / span 2; }
.policy-page main p, .policy-page main li { font-size: 0.95rem; line-height: 1.7; }
.policy-page .story-layout h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 34px 0 12px; }
.policy-page .story-layout h2:first-child { margin-top: 0; }
.policy-page main ul:not(.check-list) { padding-left: 22px; margin: 10px 0; color: var(--muted); }
.policy-page main a:not(.button) { color: var(--ink); font-weight: 600; }

/* ---------- Footer (bläckpanel) ---------- */
.site-footer { padding: clamp(20px, 3vw, 40px) clamp(10px, 1.6vw, 20px) clamp(14px, 2vw, 24px); }
.site-footer-panel {
  max-width: calc(var(--content-w) + 80px); margin: 0 auto;
  background: linear-gradient(180deg, #1b1e25, #121419);
  border-radius: var(--r-xl);
  padding: clamp(30px, 4.5vw, 60px) clamp(22px, 4vw, 60px) clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.site-footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px;
}
.footer-label {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.58); margin-bottom: 10px;
}
.site-footer-cta h2 {
  color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -0.01em; max-width: 22ch;
}
.site-footer-cta-button {
  display: inline-flex; align-items: center; height: 54px; padding: 0 28px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 0.92rem; font-weight: 800; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-footer-cta-button:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7); }
.site-footer-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: clamp(26px, 3.5vw, 44px) 0; }
.site-footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
}
.footer-brand-mark {
  display: block; font-weight: 800; letter-spacing: 0.34em; font-size: 1rem; color: #fff;
  margin-bottom: 14px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.9rem; max-width: 36ch; }
.footer-column a {
  display: block; color: rgba(255, 255, 255, 0.72); text-decoration: none;
  font-size: 0.9rem; font-weight: 600; padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.footer-column a:hover { color: #fff; }
.footer-contact p { color: rgba(255, 255, 255, 0.58); font-size: 0.82rem; padding: 4px 0; }

/* ---------- Scroll-reveals ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.proof-card:nth-child(2), .value-card:nth-child(2), .delivery-card:nth-child(2),
.solution-card:nth-child(2), .credential-card:nth-child(2), .contact-step-card:nth-child(2),
.expertise-card:nth-child(2), .principle-card:nth-child(2) { transition-delay: 0.08s; }
.proof-card:nth-child(3), .value-card:nth-child(3), .delivery-card:nth-child(3),
.solution-card:nth-child(3), .credential-card:nth-child(3), .contact-step-card:nth-child(3),
.expertise-card:nth-child(3), .principle-card:nth-child(3) { transition-delay: 0.16s; }
.proof-card:nth-child(4), .delivery-card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Hover-lyft (endast riktiga pekare) ---------- */
@media (hover: hover) and (pointer: fine) {
  .proof-card:hover, .value-card:hover, .delivery-card:hover, .credential-card:hover,
  .solution-card:hover, .contact-card:hover, .contact-step-card:hover, .quote-aside-card:hover,
  .expertise-card:hover, .principle-card:hover, .project-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(21, 23, 28, 0.16);
  }
}

/* ============================================================
   RESPONSIVT
   ============================================================ */
@media (max-width: 1100px) {
  .proof-grid, .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roi-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid, .solution-grid, .credential-grid, .expertise-grid, .principle-grid,
  .contact-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 3 kort i 2 kolumner → sista kortet spänner hela raden (ingen orphan) */
  .value-grid > :nth-child(3):last-child, .solution-grid > :nth-child(3):last-child,
  .credential-grid > :nth-child(3):last-child, .expertise-grid > :nth-child(3):last-child,
  .principle-grid > :nth-child(3):last-child, .contact-steps-grid > :nth-child(3):last-child { grid-column: 1 / -1; }
  /* Projektreferenser: riktig sidledes-karusell med snap (kortare sida, swipe/pilar) */
  .project-carousel-track {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -18px; padding: 4px 18px 10px;
    -webkit-overflow-scrolling: touch;
  }
  .project-carousel-track::-webkit-scrollbar { display: none; }
  .project-carousel-track .project-card { flex: 0 0 min(84%, 360px); scroll-snap-align: center; }
  .project-showcase-layout { grid-template-columns: 1fr; }
  .project-compare-shell { position: static; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid > :nth-child(3):last-child { grid-column: 1 / -1; }
  .blog-article { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; top: var(--topbar-h); left: 10px; right: 10px; z-index: 190;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--glass-border); border-radius: var(--r-lg);
    padding: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  body.menu-open { overflow: hidden; }
  .site-nav { max-height: calc(100vh - var(--topbar-h) - 20px); max-height: calc(100dvh - var(--topbar-h) - 20px); overflow-y: auto; }
  .site-nav a { height: 50px; font-size: 1rem; padding: 0 18px; border-radius: var(--r-md); }
  .site-nav .nav-cta-3d-mobile {
    display: inline-flex; background: var(--ink); color: #fff; margin-top: 6px; justify-content: center;
  }
  .site-nav .nav-cta-offert { margin-left: 0; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .case-preview, .story-layout { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; }
  .brand-card:nth-child(even) { direction: ltr; }
  .quote-section-layout, .contact-page-grid { grid-template-columns: 1fr; }
  .quote-aside { order: 2; }
  .faq-grid { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  :root { --topbar-h: 60px; }
  /* Undersidor med hero-bild: bilden bär heron, texten ligger i glas ovanpå */
  .hero-inner:not(.hero-simple) {
    position: relative; display: block;
    margin: 8px 8px var(--space-half); padding: 0;
    border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .hero-inner:not(.hero-simple) .hero-media { position: absolute; inset: 0; z-index: 0; }
  .hero-inner:not(.hero-simple) .hero-card {
    transform: none; border-radius: 0; box-shadow: none; border: 0; height: 100%;
  }
  .hero-inner:not(.hero-simple) .hero-card img { height: 100%; aspect-ratio: auto; }
  .hero-inner:not(.hero-simple) .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(21, 23, 28, 0.04) 10%, rgba(21, 23, 28, 0.62) 46%, rgba(21, 23, 28, 0.88) 84%);
  }
  .hero-inner:not(.hero-simple) .hero-copy {
    position: relative; z-index: 2;
    margin: 0; padding: clamp(200px, 54vw, 280px) 18px 18px;
    background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .hero-inner:not(.hero-simple) .eyebrow { color: rgba(255, 255, 255, 0.85); }
  .hero-inner:not(.hero-simple) h1 {
    color: #fff; font-size: clamp(1.7rem, 7vw, 2.1rem);
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.3);
  }
  .hero-inner:not(.hero-simple) .lead {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 0.95rem; margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
  }
  .hero-inner:not(.hero-simple) .button-primary { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5); }
  .hero-inner:not(.hero-simple) .button-secondary {
    background: rgba(255, 255, 255, 0.14); color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .hero-home {
    min-height: min(76vh, 640px); min-height: min(76dvh, 640px);
    margin: 8px 8px var(--space-half); align-items: flex-end;
  }
  /* Kraftigare scrim nertill — vit text ska alltid vara läsbar */
  .hero-home .hero-backdrop::after {
    background: linear-gradient(180deg, rgba(21, 23, 28, 0.02) 16%, rgba(21, 23, 28, 0.5) 52%, rgba(21, 23, 28, 0.82) 88%);
  }
  /* Inget kort: texten ligger direkt på bilden */
  .hero-home .hero-copy {
    margin: 0; padding: clamp(150px, 40vw, 220px) 18px 18px;
    background: none; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-radius: 0; max-width: none;
  }
  .hero-home .hero-heading-brand { display: none; } /* loggan står redan i headern */
  .hero-home .eyebrow { color: rgba(255, 255, 255, 0.85); }
  .hero-home h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.3); }
  .hero-home .lead { color: rgba(255, 255, 255, 0.9); margin-top: 12px; }
  .hero-home .actions { margin-top: 20px; }
  .hero-home .button-primary { background: #fff; color: var(--ink); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5); }
  .hero-home .button-secondary {
    background: rgba(255, 255, 255, 0.14); color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .hero-home .hero-proof-row { margin-top: 18px; }
  .hero-home .hero-proof-row span {
    background: rgba(255, 255, 255, 0.14); color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .hero-heading-main-desktop { display: none; }
  .hero-heading-main-mobile { display: block; }
  .hero-lead-desktop { display: none; }
  .hero-lead-mobile { display: inline; }
  .actions .button { flex: 1 1 auto; }
  .proof-grid, .delivery-grid, .roi-controls, .value-grid, .solution-grid,
  .credential-grid, .expertise-grid, .principle-grid, .contact-steps-grid { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .section { padding-left: 16px; padding-right: 16px; }
  .site-footer-cta { flex-direction: column; align-items: flex-start; }
  .roi-calculation { font-size: 0.74rem; }
  .project-carousel-header { flex-direction: column; align-items: flex-start; }
}

/* ---------- Pekskärm: inga "fastnade" hover ---------- */
@media (hover: none) {
  .button-primary:hover, .button-secondary:hover, .header-cta:hover,
  .site-footer-cta-button:hover, .carousel-button:hover { transform: none; }
  .carousel-button:hover { background: var(--white); color: var(--ink); }
  .site-nav a:hover { color: var(--muted); background: transparent; }
  .site-nav a.active:hover { color: var(--ink); background: rgba(21, 23, 28, 0.07); }
  .faq-item summary:hover { background: transparent; }
  .text-link:hover { border-color: var(--accent-glow); }
  .solution-card:hover .solution-media img { transform: none; }
  .button-primary:active, .button-secondary:active, .site-footer-cta-button:active { transform: scale(0.98); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.05ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .skip-link, .site-footer-cta, .actions, .button { display: none !important; }
  main { padding-top: 0; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .roi-block, .site-footer-panel { background: #fff !important; box-shadow: none; border: 1px solid #ccc; }
  .roi-block h2, .site-footer-cta h2, .footer-brand-mark { color: #000 !important; }
}
