/* ============================================================
   Automatpartner — designförslag (startsida)
   Fortiv Design
   ============================================================ */

:root {
  --navy:        #14224a;
  --navy-700:    #1c2f5e;
  --navy-600:    #26407a;
  --navy-050:    #eef1f6;
  --sand:        #c9b79a;
  --sand-100:    #efe8dc;
  --sand-050:    #f7f3ec;
  --ink:         #16203a;
  --muted:       #5b6478;
  --bg:          #fdfaf5;
  --bg-soft:     #f4efe8;
  --line:        #e7e2d8;
  --white:       #ffffff;

  /* warma yt- och kortfärger (designregler från fotot) */
  --cream:       #f4efe8;
  --card-cream:  #f5efe6;
  --card-grey:   #eaecef;
  --badge-sand:  #e0cdad;
  --badge-blue:  #ccd6e2;

  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;
  --shadow:      0 26px 60px -30px rgba(40, 44, 56, .5), 0 4px 14px -8px rgba(40, 44, 56, .22);
  --shadow-sm:   0 8px 24px -14px rgba(40, 44, 56, 0.32);
  --container:   1200px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font-head:   "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:   "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sand); border-radius: 2px; }

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 16px 0 14px; }
.section__head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(20,34,74,.55); background: var(--navy-700); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(20,34,74,.22); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(0,0,0,.4); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(20,34,74,.6); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--navy); letter-spacing: -0.02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 20px; height: 20px; }
.brand b { font-weight: 700; }
.brand span { color: var(--sand); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--font-head); font-weight: 500; font-size: 0.96rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--sand); transition: width .28s var(--ease); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .3s var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   Hero — FIXED, non-copyable background
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }

/* the fixed, non-selectable background layer */
.hero__bg {
  position: fixed;               /* stays put while page scrolls over it */
  inset: 0;
  z-index: -1;
  background-color: #f4efe8;
  user-select: none;             /* cannot be selected */
  -webkit-user-select: none;
  pointer-events: none;          /* cannot be dragged / right-click saved */
  -webkit-user-drag: none;
}
/* inline machine scene – covers the viewport, machine anchored right */
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the vara that drops into the tray on scroll */
.hero__scene #vendItem { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }
.hero__scene #trayFlash { opacity: 0; }
.hero__bg.vend #vendItem { animation: vendDrop 1.25s both; }
.hero__bg.vend #trayFlash { animation: trayFlash 1.25s both; }

@keyframes vendDrop {
  0%   { transform: translateY(-468px) rotate(-9deg); opacity: 1; animation-timing-function: cubic-bezier(.58,0,.86,.3); }
  52%  { transform: translateY(0) rotate(0deg); opacity: 1; animation-timing-function: cubic-bezier(.3,0,.25,1); }
  66%  { transform: translateY(-32px) rotate(4deg); }
  79%  { transform: translateY(0) rotate(0deg); }
  89%  { transform: translateY(-11px); }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes trayFlash {
  0%, 44% { opacity: 0; }
  53%     { opacity: .85; }
  100%    { opacity: 0; }
}
/* readability veil on the left where the copy sits */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(244,239,232,.96) 0%, rgba(244,239,232,.9) 34%, rgba(244,239,232,.35) 54%, rgba(244,239,232,0) 68%);
}

.hero__inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 64px; }
.hero__content { max-width: 620px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.15rem); margin: 22px 0 22px; }
.hero h1 .accent { color: var(--navy-600); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px; background: var(--sand-100); z-index: -1; border-radius: 4px; }
.hero__lead { font-size: 1.2rem; color: #33405c; max-width: 500px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero__stats .stat b { font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); display: block; letter-spacing: -0.02em; }
.hero__stats .stat span { font-size: 0.9rem; color: var(--muted); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1; color: var(--muted); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--font-head); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue i { width: 22px; height: 34px; border: 2px solid var(--sand); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 6px; background: var(--sand); border-radius: 2px; transform: translateX(-50%); animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0);} 50% { opacity: 1; transform: translate(-50%, 8px);} }

/* solid panels sit above the fixed bg */
main, .site-footer { position: relative; z-index: 2; background: var(--bg); }

/* ---------- Marquee / logos strip ---------- */
.strip { background: var(--navy); color: #fff; padding: 22px 0; }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.strip p { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.strip ul { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; color: rgba(255,255,255,.78); font-size: .95rem; }
.strip li { display: flex; align-items: center; gap: 9px; }
.strip li svg { width: 18px; height: 18px; color: var(--sand); flex: none; }

/* ============================================================
   Value / how it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--card-cream); border-radius: 22px; padding: 36px 32px; position: relative; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:nth-child(even) { background: var(--card-grey); }
.step:hover { transform: translateY(-6px); }
.step__num { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: .82rem; color: var(--navy-600); letter-spacing: .06em; text-transform: uppercase; }
.step__num::before { content: ""; width: 22px; height: 2px; background: var(--sand); border-radius: 2px; }
.step h3 { font-size: 1.28rem; margin: 14px 0 10px; }
.step h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 12px; background: var(--sand); border-radius: 2px; }
.step p { color: var(--muted); font-size: .98rem; margin-top: 12px; }

/* ---------- Services (foto-bakgrund + kort) ---------- */
.services { background: #f4efe8; padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.services__hero { position: relative; width: 100%; aspect-ratio: 1536 / 672; display: flex; align-items: flex-start; }
.services__photo {
  position: absolute; inset: 0;
  background: #efeae4 url("../assets/tjanster-bg.jpg") center top / cover no-repeat;
}
.services__hero .container { position: relative; z-index: 2; width: min(100% - 44px, var(--container)); }
.services__intro { max-width: 560px; padding-top: clamp(40px, 8vw, 128px); }
.services__intro .eyebrow { color: var(--navy-600); }
.services__intro h2 { font-size: clamp(1.7rem, 3.8vw, 3rem); margin: 16px 0 20px; color: var(--navy); line-height: 1.1; }
.services__intro h2 .accent { color: var(--navy-600); }
.services__intro p { color: #46506a; font-size: clamp(.98rem, 1.5vw, 1.12rem); }

.services__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  position: relative; z-index: 3;
  margin-top: -44px;
}
.svc-card {
  border-radius: 22px; padding: 32px 30px 34px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 26px 60px -30px rgba(40, 44, 56, .5), 0 4px 14px -8px rgba(40, 44, 56, .25);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(40, 44, 56, .55); }
.svc-card--cream { background: #f5efe6; }
.svc-card--grey  { background: #eaecef; }
.svc-card__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); margin-bottom: 6px; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__icon--tan  { background: #e0cdad; }
.svc-card__icon--blue { background: #ccd6e2; }
.svc-card h3 { font-size: 1.34rem; color: var(--navy); }
.svc-card h3::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 12px; background: var(--sand); border-radius: 2px; }
.svc-card p { color: #5b6478; font-size: .99rem; }
.svc-card ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-card li { display: flex; gap: 12px; align-items: center; font-size: .97rem; color: var(--ink); }
.tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--navy); }
.tick svg { width: 14px; height: 14px; }
.tick--tan  { background: #e0cdad; }
.tick--blue { background: #ccd6e2; }

@media (max-width: 980px) {
  .services__intro { padding-top: clamp(28px, 6vw, 74px); }
}
@media (max-width: 760px) {
  /* stapla: text på cream överst, foto som banner under, sedan korten */
  .services__hero { aspect-ratio: auto; display: flex; flex-direction: column; }
  .services__hero .container { order: 1; }
  .services__photo { position: relative; inset: auto; order: 2; width: 100%; aspect-ratio: 3 / 2.2; background-position: 62% 20%; }
  .services__intro { padding: 26px 0 24px; max-width: 620px; }
  .services__intro p br { display: none; }
  .services__cards { grid-template-columns: 1fr; margin-top: -34px; }
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px;
  background: var(--cream) url("../assets/machine-room.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.split__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 16px 0 18px; }
.split__body p { color: var(--muted); margin-bottom: 18px; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--badge-sand); color: var(--navy); display: grid; place-items: center; flex: none; }
.feature-list li:nth-child(2) .ic { background: var(--badge-blue); }
.feature-list .ic svg { width: 21px; height: 21px; }
.feature-list b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.02rem; }
.feature-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Benefits band ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { text-align: center; padding: 34px 24px; background: var(--card-cream); border-radius: 22px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.benefit:hover { transform: translateY(-6px); }
.benefit:nth-child(even) { background: var(--card-grey); }
.benefit .ic { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--badge-sand); color: var(--navy); }
.benefit:nth-child(even) .ic { background: var(--badge-blue); }
.benefit .ic svg { width: 28px; height: 28px; }
.benefit h4 { font-size: 1.08rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA + contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 16px 0 16px; }
.contact__info p { color: var(--muted); margin-bottom: 28px; max-width: 420px; }
.info-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 15px; align-items: center; }
.info-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--badge-sand); color: var(--navy); display: grid; place-items: center; flex: none; }
.info-list li:nth-child(even) .ic { background: var(--badge-blue); }
.info-list .ic svg { width: 21px; height: 21px; }
.info-list b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1rem; }
.info-list span { color: var(--muted); font-size: .93rem; }

.form { background: var(--card-cream); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid #e5ddce; border-radius: var(--radius-sm); background: #fffdf9;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(38,64,122,.1); }
.form__note { font-size: .84rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form__success { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 13px 16px; border-radius: 12px; background: #eaf5ee; color: #1c6b3f; font-size: .95rem; }
.form__success.show { display: flex; }
.form__success svg { width: 20px; height: 20px; flex: none; }

/* big CTA banner */
.cta-banner { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #fff; text-align: center; }
.cta-banner::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.05); top: -140px; right: -80px; }
.cta-banner::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(201,183,154,.14); bottom: -90px; left: -50px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-banner .hero__actions { justify-content: center; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #0f1a35; color: rgba(255,255,255,.72); padding: 66px 0 30px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer p { font-size: .95rem; max-width: 320px; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.site-footer .foot-contact svg { width: 17px; height: 17px; color: var(--sand); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-credit { text-align: center; padding: 26px 20px 8px; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em; color: #fff; }
.footer-credit a { color: var(--sand); }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   Undersidor (flera sidor)
   ============================================================ */
/* på undersidor är headern alltid solid (ingen fullhöjds-hero bakom) */
body.is-subpage .site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(20,34,74,.6); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav a[aria-current="page"]::after { width: 100%; }

.page-hero { position: relative; overflow: hidden; background: var(--cream); padding: calc(78px + clamp(44px, 8vw, 92px)) 0 clamp(40px, 6vw, 76px); }
.page-hero::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(20,34,74,.05); right: -90px; top: -130px; }
.page-hero::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(201,183,154,.16); right: 220px; bottom: -90px; }
.page-hero__inner { position: relative; z-index: 1; max-width: 680px; }
.page-hero .eyebrow { color: var(--navy-600); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 16px 0 18px; color: var(--navy); }
.page-hero p { color: #46506a; font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 580px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* återanvändbara rutnät */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* split omvänd (bild till höger) */
.split--reverse .split__media { order: 2; }

/* enkel ikon-tile (sortiment m.m.) — återanvänder benefit-stilen via .tile */
.tile { text-align: center; padding: 30px 22px; background: var(--card-cream); border-radius: 20px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.tile:nth-child(even) { background: var(--card-grey); }
.tile:hover { transform: translateY(-6px); }
.tile .ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--badge-sand); color: var(--navy); }
.tile:nth-child(even) .ic { background: var(--badge-blue); }
.tile .ic svg { width: 27px; height: 27px; }
.tile h4 { font-size: 1.06rem; margin-bottom: 6px; color: var(--navy); }
.tile p { color: var(--muted); font-size: .92rem; }

/* FAQ (native details) */
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details { background: var(--card-cream); border-radius: 16px; padding: 20px 26px; box-shadow: var(--shadow-sm); }
.faq details:nth-child(even) { background: var(--card-grey); }
.faq summary { font-family: var(--font-head); font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 1.5rem; line-height: 1; color: var(--navy-600); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 12px; font-size: .99rem; }

/* jämförelse: utan vs med */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare__col { border-radius: 22px; padding: 36px 34px; box-shadow: var(--shadow); }
.compare__col--plain { background: var(--card-grey); }
.compare__col--brand { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.compare__col--brand::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.05); top: -90px; right: -70px; }
.compare__col h3 { color: var(--navy); font-size: 1.34rem; margin-bottom: 6px; }
.compare__col--brand h3 { color: #fff; position: relative; }
.compare__col > p { color: var(--muted); font-size: .95rem; }
.compare__col--brand > p { color: rgba(255,255,255,.75); position: relative; }
.compare__col ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; position: relative; }
.compare__col li { display: flex; gap: 13px; align-items: flex-start; font-size: .99rem; }
.compare__col--plain li { color: #6a7180; }
.compare__col--brand li { color: rgba(255,255,255,.92); }
.compare__col .mark { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; margin-top: 1px; }
.compare__col--plain .mark { background: #dcdde1; color: #8a92a3; }
.compare__col--brand .mark { background: rgba(201,183,154,.28); color: var(--sand); }
.compare__col .mark svg { width: 13px; height: 13px; }

/* prosa (integritetspolicy m.m.) */
.prose h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 10px; line-height: 1.7; }
.prose a { color: var(--navy-600); text-decoration: underline; }

/* statistik-band */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat-band .stat { background: var(--card-cream); border-radius: 20px; padding: 34px 20px; box-shadow: var(--shadow); }
.stat-band .stat:nth-child(even) { background: var(--card-grey); }
.stat-band .stat b { font-family: var(--font-head); font-size: clamp(2rem, 3vw, 2.6rem); color: var(--navy); display: block; letter-spacing: -.02em; }
.stat-band .stat span { color: var(--muted); font-size: .96rem; }

@media (max-width: 980px) {
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stat-band { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
/* på smalare desktop: dölj Ring oss-knappen så nav-menyn får plats */
@media (max-width: 1120px) {
  .header-cta .btn--ghost { display: none; }
  .nav { gap: 22px; }
}
@media (max-width: 980px) {
  .steps, .benefits { grid-template-columns: repeat(2, 1fr); }
  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split__media { min-height: 320px; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open { display: flex; position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: #fff; padding: 18px 22px 26px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line); width: 100%; }
  .nav.open a:last-child { border-bottom: none; }
  /* fixed backgrounds are unreliable on mobile — pin via scroll instead */
  .hero__bg { position: absolute; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(244,239,232,.97) 0%, rgba(244,239,232,.93) 52%, rgba(244,239,232,.86) 78%, rgba(244,239,232,.96) 100%); }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__inner { padding-top: 116px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .hero h1 .accent { white-space: normal; }
  .hero h1 .accent::after { display: none; }
  .hero__lead { font-size: 1.08rem; }
}
@media (max-width: 560px) {
  .steps, .benefits, .footer-grid, .form .row { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  /* show the vara resting in the tray, no motion */
  .hero__scene #vendItem { opacity: 1; }
  .hero__scene #trayFlash { opacity: 0; }
}
