/* ══════════════════════════════════════════════════════════════════════
   PhoneLab Stockholm — global stylesheet
   Delas av alla sidmallar (hem, enhetssida, tjänstesida, kombosida).
   Ändra en gång här, inte per sida.

   Innehåll i ordning:
     1. Tokens (:root)            5. Sektioner (hem)
     2. Kontaktrad + header       6. Enhetssida
     3. Knappar, typografi        7. Footer
     4. Hero + telefonanimation   8. Responsivt
   ══════════════════════════════════════════════════════════════════════ */


  :root {
    --cream: #FAF6EE;
    --bg-soft: #f1ead9;
    --ink: #1A2332;
    --red: #D20000;
    --red-deep: #A80000;
    --red-glow: rgba(210,0,0,.08);
    --yellow: #FFD23F;
    --yellow-soft: #FFE9A8;
    --teal: #0FA38E;
    --teal-deep: #0C7E6E;
    --muted: #667080;

    /* mäts om av skriptet vid load/resize — dessa är bara utgångsvärden */
    --cbar-h: 34px;
    --hdr-h: 84px;
    --hdr-edge: 2px;   /* headerns streckade underkant */

    /* ── rutmönstret i headern — ändra dessa två ── */
    --pattern-color: #db140d4d;   /* valfri färg: var(--red), var(--teal), #444CF7 … */
    --pattern-opacity: .12;        /* 0 = av, .3 = tydligt */
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
    background:
      radial-gradient(1100px 500px at 85% -5%, rgba(255,210,63,.12), transparent 60%),
      radial-gradient(900px 480px at -8% 25%, rgba(210,0,0,.05), transparent 55%),
      radial-gradient(700px 500px at 100% 70%, rgba(255,226,168,.14), transparent 60%),
      var(--cream);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
  }
  ::selection { background: var(--yellow); color: var(--ink); }

  /* body > header: gäller ENBART sidhuvudet. En naken header-selektor
     träffar varje <header> på sidan, även inuti kort och artiklar. */
  body > header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,.9); backdrop-filter: blur(14px); border-bottom: 2px dashed var(--red); }
  /* rutmönster i headern — egen lagerdiv så mobilmenyn inte klipps av */
  .hdr-pattern { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
  .hdr-pattern::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    /* kvadratiskt lager => täcker hela headern oavsett bredd när det roteras */
    width: 150vw; height: 150vw;
    transform: translate(-50%, -50%) rotate(145deg); transform-origin: center;
    opacity: var(--pattern-opacity);
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 39px, var(--pattern-color) 39px, var(--pattern-color) 40px, transparent 40px, transparent 79px, var(--pattern-color) 79px, var(--pattern-color) 80px),
      repeating-linear-gradient(90deg, transparent, transparent 39px, var(--pattern-color) 39px, var(--pattern-color) 40px, transparent 40px, transparent 79px, var(--pattern-color) 79px, var(--pattern-color) 80px),
      radial-gradient(circle at 40px 40px, var(--pattern-color) 3.2px, transparent 3.7px),
      radial-gradient(circle at 0px 0px, var(--pattern-color) 2.4px, transparent 2.9px),
      radial-gradient(circle at 80px 0px, var(--pattern-color) 2.4px, transparent 2.9px),
      radial-gradient(circle at 0px 80px, var(--pattern-color) 2.4px, transparent 2.9px),
      radial-gradient(circle at 80px 80px, var(--pattern-color) 2.4px, transparent 2.9px);
    background-size: 80px 80px;
  }
  .nav { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 24px; }
  .logo { flex-shrink: 0; line-height: 0; }
  .logo svg { height: 75px; width: auto; display: block; transition: transform .2s; }
  /* hård ink-skugga som resten av sajten — men inte på den lilla STOCKHOLM-raden */
  .logo #phone-logo, .logo #PHONELAB { filter: drop-shadow(2.5px 2.5px 0 var(--ink)); }
  .logo:hover svg { transform: rotate(-1deg) scale(1.02); }
  .nav-links { display: flex; gap: 26px; align-items: center; }
  .nav-links a:not(.btn) { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .97rem; border-bottom: 3px solid transparent; padding-bottom: 3px; transition: border-color .15s, color .15s; }
  .nav-links a:not(.btn):hover { border-color: var(--red); color: var(--red); }
  .btn {
    display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 1rem;
    text-decoration: none; border: 3px solid var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s, filter .12s;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); filter: brightness(1.06); }
  .btn-red { background: linear-gradient(180deg, #e22418 0%, var(--red) 100%); color: #fff; }
  .btn-yellow { background: linear-gradient(180deg, #ffd84d 0%, var(--yellow) 100%); color: var(--ink); }
  .btn-teal { background: linear-gradient(180deg, #14b89f 0%, var(--teal) 100%); color: #fff; }
  .bub-ic { width: 16px; height: 16px; flex-shrink: 0; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .nav-toggle { display: none; position: relative; background: var(--yellow); border: 3px solid var(--ink); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
  .nav-toggle::before { content: ''; position: absolute; left: 11px; right: 11px; top: 10px; height: 4px; border-radius: 2px; background: var(--ink); box-shadow: 0 10px 0 var(--ink), 0 20px 0 var(--ink); }

  .hero { max-width: 1160px; margin: 0 auto; padding: 34px 24px 66px; }
  .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
  .hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -2px; }
  .hl { background: var(--yellow); padding: 0 10px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); display: inline-block; transform: rotate(-1deg); margin: 4px 0; }
  .hl.red { background: var(--red); color: #fff; transform: rotate(1.2deg); }
  .hl.teal { background: var(--teal); color: #fff; transform: rotate(1.2deg); }
  .hero .sub { font-size: 1.18rem; color: var(--muted); margin: 24px 0 10px; max-width: 500px; }
  .hero .sub b { color: var(--ink); }
  .hero .note { font-size: .9rem; font-weight: 700; margin-bottom: 26px; }
  .hero .note .stars { color: #eda000; letter-spacing: 2px; }
  .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
  .price-tag { display: inline-block; margin-top: 30px; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 11px 17px; font-size: .95rem; font-weight: 700; box-shadow: 4px 4px 0 var(--ink); }
  .price-tag b { color: var(--red); font-size: 1.15rem; }

  /* ══ HERO ART — trasig iPhone som lagas ══════════════════════════ */
  .hero-art { position: relative; display: flex; justify-content: center; align-items: center; padding: 26px 8px 20px; }
  .phone-rig { --t: 7.5s; --sh: 484px; position: relative; width: 252px; height: 512px; }

  /* dekor bakom telefonen */
  .rig-blob { position: absolute; z-index: 0; width: 236px; height: 486px; top: 18px; left: 8px;
    background: linear-gradient(160deg,#ffdb5e,var(--yellow)); border: 3px solid var(--ink); border-radius: 42px;
    box-shadow: 6px 6px 0 var(--ink); animation: blobSpin 16s ease-in-out infinite; }
  .rig-dots { position: absolute; z-index: 0; inset: -18px -26px auto -26px; height: 190px; border-radius: 30px;
    background-image: radial-gradient(var(--ink) 1.7px, transparent 1.8px); background-size: 15px 15px; opacity: .17; }

  /* ── själva telefonen ── */
  .iphone {
    position: absolute; z-index: 2; inset: 0; box-sizing: border-box;
    width: 252px; height: 512px; padding: 10px;
    background: linear-gradient(160deg, #4a5570 0%, #232b3d 40%, #333d54 100%);
    border: 4px solid var(--ink); border-radius: 44px;
    box-shadow: 9px 9px 0 var(--ink);
    animation: phoneShake var(--t) ease-in-out infinite, rigFloat 6s ease-in-out infinite;
  }
  .iphone::after { /* glasreflex över hela luren */
    content: ''; position: absolute; inset: 0; border-radius: 40px; pointer-events: none; z-index: 9;
    background: linear-gradient(118deg, rgba(255,255,255,.22) 0 16%, transparent 30% 100%);
  }
  .btn-side { position: absolute; background: linear-gradient(90deg,#5b6680,#39435c); border: 2.5px solid var(--ink); z-index: 1; }
  .btn-side.mute  { left: -7px; top: 96px;  width: 7px; height: 26px; border-radius: 4px 0 0 4px; }
  .btn-side.vup   { left: -7px; top: 140px; width: 7px; height: 46px; border-radius: 4px 0 0 4px; }
  .btn-side.vdn   { left: -7px; top: 198px; width: 7px; height: 46px; border-radius: 4px 0 0 4px; }
  .btn-side.power { right: -7px; top: 168px; width: 7px; height: 70px; border-radius: 0 4px 4px 0; }

  .screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #0d1220; }
  .island { position: absolute; z-index: 8; top: 12px; left: 50%; transform: translateX(-50%);
    width: 82px; height: 24px; background: #05070d; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09); }
  .island::after { content: ''; position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
    width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #4d6b8e, #0b1018 70%); }
  .home-bar { position: absolute; z-index: 8; bottom: 9px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.65); }

  /* ── skärmlager ── */
  .layer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
    padding: 54px 16px 26px; text-align: center; }
  .layer-dark { background: linear-gradient(168deg, #39456a 0%, #202941 45%, #0f1522 100%);
    animation: darkLife var(--t) linear infinite; }
  .layer-fixed { background: linear-gradient(165deg,#2ad9b0 0%, var(--teal) 52%, var(--teal-deep) 100%);
    opacity: 0; animation: fixedLife var(--t) linear infinite; }
  .scr-time { font-size: 2.9rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
  .scr-date { font-size: .78rem; font-weight: 800; color: rgba(255,255,255,.72); letter-spacing: .5px; margin-top: 4px; }
  .scr-face { margin: auto 0; }
  .scr-face svg { width: 88px; height: 88px; filter: drop-shadow(3px 4px 0 rgba(0,0,0,.45)); }
  .layer-dark .scr-face { animation: sadIn var(--t) ease-out infinite; opacity: 0; }
  .layer-fixed .scr-face { animation: happyPop var(--t) ease-out infinite; opacity: 0; }
  .scr-tag { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink);
    border: 3px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 900;
    letter-spacing: .5px; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap; }
  .scr-tag svg { width: 15px; height: 15px; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
  .scr-tag.broken { background: linear-gradient(180deg,#e22418,var(--red)); color: #fff; animation: tagBroken var(--t) ease-out infinite; opacity: 0; }
  .scr-tag.broken svg { stroke: #fff; }
  .scr-tag.done { background: linear-gradient(180deg,#ffd84d,var(--yellow)); animation: tagDone var(--t) ease-out infinite; opacity: 0; }
  .scr-sub { font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.85); margin-top: 10px; letter-spacing: .6px; }

  /* ── sprickor ── */
  .cracks { position: absolute; inset: 0; z-index: 5; pointer-events: none; animation: crackLife var(--t) linear infinite; opacity: 0; }
  .cracks svg { width: 100%; height: 100%; display: block; }
  .cracks .ln { fill: none; stroke: rgba(0,0,0,.6); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
  .cracks .lt { fill: none; stroke: rgba(255,255,255,.92); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .cracks .shard { fill: rgba(255,255,255,.34); stroke: rgba(255,255,255,.8); stroke-width: 1.2; }

  /* chockvåg vid smällen */
  .shock { position: absolute; z-index: 6; top: 160px; left: 80px; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 4px solid rgba(255,255,255,.9); border-radius: 50%; opacity: 0; animation: shockWave var(--t) ease-out infinite; }
  .flash { position: absolute; inset: 0; z-index: 7; background: #fff; opacity: 0; animation: flashHit var(--t) linear infinite; pointer-events: none; }
  /* trasig LCD — lodräta gröna kolumner, inga vågräta linjer */
  .glitch { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0;
    background:
      /* enstaka döda kolumner, ojämnt placerade som på en riktig trasig panel */
      linear-gradient(90deg, transparent 0 20%, rgba(170,255,205,.95) 20% 21%, transparent 21%),
      linear-gradient(90deg, transparent 0 46%, rgba(170,255,205,.8) 46% 47.4%, transparent 47.4%),
      linear-gradient(90deg, transparent 0 73%, rgba(170,255,205,.9) 73% 73.8%, transparent 73.8%),
      /* tätare kolumnraster — bär själva LCD-känslan */
      repeating-linear-gradient(90deg, rgba(45,255,126,.55) 0 1.5px, transparent 1.5px 9px),
      repeating-linear-gradient(90deg, rgba(45,255,126,.2) 0 1px, transparent 1px 4px),
      /* färgskiftet som fanns förr, nedtonat så grönt får råda */
      linear-gradient(90deg, rgba(210,0,0,.22), transparent 45%, rgba(18,181,160,.22));
    box-shadow: inset 0 0 34px rgba(45,255,126,.28);
    animation: glitchFlick var(--t) steps(1,end) infinite; }

  /* reparationsskanner */
  .scan { position: absolute; z-index: 6; left: -8px; right: -8px; top: 0; height: 26px;
    background: linear-gradient(180deg, rgba(20,184,159,0) 0%, #14b89f 45%, #2ad9b0 55%, rgba(20,184,159,0) 100%);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
    box-shadow: 0 0 26px 6px rgba(42,217,176,.65); opacity: 0;
    animation: scanSweep var(--t) linear infinite; }

  /* gnistor runt luren */
  .fx-spark { position: absolute; z-index: 6; width: 34px; height: 34px; opacity: 0; animation: sparkPop var(--t) ease-out infinite; }
  .fx-spark svg { width: 100%; height: 100%; filter: drop-shadow(2px 2px 0 rgba(26,35,50,.35)); }
  .fx-spark.k1 { top: 96px;   right: -22px; animation-delay: .05s; }
  .fx-spark.k2 { top: 168px;  left: -28px;  animation-delay: .22s; }
  .fx-spark.k3 { bottom: 150px; right: -26px; animation-delay: .38s; }
  .fx-spark.k4 { bottom: 44px;  left: -20px;  animation-delay: .5s; }

  /* flytande lappar + prislapp */
  .pl-chip { position: absolute; z-index: 7; background: #fff; border: 3px solid var(--ink); border-radius: 12px;
    padding: 8px 13px; font-weight: 800; font-size: .88rem; box-shadow: 4px 4px 0 var(--ink);
    white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; animation: chipFloat 5s ease-in-out infinite; }
  .pl-chip svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .pl-chip.c-time { top: 24px; right: -66px; background: linear-gradient(180deg,#ffd84d,var(--yellow)); rotate: 3deg; }
  .pl-chip.c-time svg { stroke: var(--red); }
  .pl-chip.c-free { bottom: 118px; left: -68px; rotate: -3deg; animation-delay: 1.4s; }
  .pl-chip.c-free svg { stroke: var(--teal-deep); }
  .pl-price { position: absolute; z-index: 7; bottom: -14px; right: -34px; rotate: -6deg;
    background: linear-gradient(180deg,#e22418,var(--red)); color: #fff; border: 3px solid var(--ink);
    border-radius: 14px; padding: 9px 15px; box-shadow: 5px 5px 0 var(--ink); text-align: center; line-height: 1.1;
    animation: chipFloat 5s ease-in-out infinite 2.3s; }
  .pl-price small { display: block; font-size: .62rem; font-weight: 800; letter-spacing: 1.4px; opacity: .92; }
  .pl-price b { font-size: 1.35rem; font-weight: 900; }

  /* ── tidslinje (allt delar var(--t)) ── */
  @keyframes rigFloat   { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
  @keyframes blobSpin   { 0%,100% { rotate: 9deg; } 50% { rotate: 6deg; } }
  @keyframes chipFloat  { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }

  @keyframes phoneShake {
    0%, 3.6% { transform: rotate(-2deg); }
    4.2% { transform: rotate(2.4deg) translate(5px,-3px); }
    4.8% { transform: rotate(-4deg) translate(-6px,3px); }
    5.4% { transform: rotate(3deg) translate(4px,2px); }
    6.2% { transform: rotate(-3deg) translate(-3px,-2px); }
    7.2%, 100% { transform: rotate(-2deg); }
  }
  @keyframes flashHit {
    0%, 3.6% { opacity: 0; } 4% { opacity: .85; } 7% { opacity: 0; }
    58% { opacity: 0; } 60% { opacity: .5; } 64%, 100% { opacity: 0; }
  }
  @keyframes shockWave {
    0%, 3.8% { opacity: 0; scale: .2; }
    4.2% { opacity: 1; scale: .3; }
    11% { opacity: 0; scale: 9; }
    100% { opacity: 0; scale: 9; }
  }
  @keyframes crackLife {
    0%, 3.9% { opacity: 0; clip-path: inset(0 0 0 0); scale: 1.07; }
    4.6% { opacity: 1; scale: 1; }
    46% { opacity: 1; clip-path: inset(0 0 0 0); scale: 1; }
    59.5% { opacity: 1; clip-path: inset(100% 0 0 0); scale: 1; }
    /* fade ut medan bilden fortfarande är helt bortklippt — clip-path får inte
       återställas i samma andetag som opaciteten, då blinkar sprickorna till
       under en bildruta när skannern precis passerat */
    59.9% { opacity: 0; clip-path: inset(100% 0 0 0); scale: 1; }
    /* själva återställningen sker mitt i den lagade fasen, långt från båda ändarna */
    88% { opacity: 0; clip-path: inset(100% 0 0 0); scale: 1; }
    88.1%, 100% { opacity: 0; clip-path: inset(0 0 0 0); scale: 1.07; }
  }
  @keyframes glitchFlick {
    0%, 11% { opacity: 0; }
    12% { opacity: .45; } 13.2% { opacity: 0; }
    22% { opacity: .3; } 22.8% { opacity: 0; }
    33% { opacity: .5; } 34.2% { opacity: 0; }
    41% { opacity: .28; } 41.8% { opacity: 0; }
    100% { opacity: 0; }
  }
  @keyframes scanSweep {
    0%, 45.5% { opacity: 0; translate: 0 -30px; }
    46% { opacity: 1; translate: 0 -30px; }
    59% { opacity: 1; translate: 0 var(--sh); }
    60.5%, 100% { opacity: 0; translate: 0 var(--sh); }
  }
  @keyframes darkLife {
    0%, 56% { opacity: 1; } 62% { opacity: 0; }
    93% { opacity: 0; } 97%, 100% { opacity: 1; }
  }
  @keyframes fixedLife {
    0%, 58% { opacity: 0; } 63% { opacity: 1; }
    91% { opacity: 1; } 95%, 100% { opacity: 0; }
  }
  @keyframes sadIn {
    0%, 6% { opacity: 0; scale: .7; rotate: -8deg; }
    10% { opacity: 1; scale: 1; rotate: -4deg; }
    54% { opacity: 1; scale: 1; rotate: -4deg; }
    58%, 100% { opacity: 0; scale: .7; rotate: -8deg; }
  }
  @keyframes happyPop {
    0%, 61% { opacity: 0; scale: .35; rotate: -14deg; }
    67% { opacity: 1; scale: 1.16; rotate: 5deg; }
    71%, 90% { opacity: 1; scale: 1; rotate: 0deg; }
    94%, 100% { opacity: 0; scale: .35; rotate: -14deg; }
  }
  @keyframes tagBroken {
    0%, 8% { opacity: 0; scale: .6; rotate: -3deg; }
    12% { opacity: 1; scale: 1; rotate: -3deg; }
    52% { opacity: 1; scale: 1; rotate: -3deg; }
    56%, 100% { opacity: 0; scale: .6; rotate: -3deg; }
  }
  @keyframes tagDone {
    0%, 63% { opacity: 0; scale: .55; rotate: 3deg; }
    69% { opacity: 1; scale: 1.12; rotate: 3deg; }
    73%, 90% { opacity: 1; scale: 1; rotate: 3deg; }
    94%, 100% { opacity: 0; scale: .55; rotate: 3deg; }
  }
  @keyframes sparkPop {
    0%, 61% { opacity: 0; scale: .2; rotate: 0deg; }
    68% { opacity: 1; scale: 1.25; rotate: 35deg; }
    80% { opacity: .9; scale: .95; rotate: 15deg; }
    88%, 100% { opacity: 0; scale: .2; rotate: 0deg; }
  }

  @media (prefers-reduced-motion: reduce) {
    .iphone, .cracks, .shock, .flash, .glitch, .scan, .fx-spark,
    .layer-dark, .layer-fixed, .scr-face, .scr-tag, .pl-chip, .pl-price, .rig-blob { animation: none !important; }
    .iphone { transform: rotate(-2deg); }
    .cracks { opacity: 1; }
    .layer-dark { opacity: 1; } .layer-fixed { opacity: 0; }
    .layer-dark .scr-face { opacity: 1; rotate: -4deg; }
    .scr-tag.broken { opacity: 1; rotate: -3deg; }
    .scan, .flash, .shock, .glitch, .fx-spark { opacity: 0; }
  }

  section { max-width: 1160px; margin: 0 auto; padding: 64px 24px 24px; }
  .sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 40px; }
  .sec-head .kicker { font-size: .8rem; font-weight: 900; letter-spacing: 3px; color: var(--red); }
  .sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -1px; }
  .sec-head .kicker::before { content: '● '; color: var(--yellow); text-shadow: 1px 1px 0 var(--ink); }

  .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .svc {
    background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
    border: 3px solid var(--ink); border-radius: 20px; padding: 26px 24px;
    position: relative; transition: transform .15s, box-shadow .15s; box-shadow: 5px 5px 0 var(--ink);
  }
  .svc:hover { transform: rotate(-1deg) translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
  .svc .emoji { display: grid; place-items: center; background: var(--yellow-soft); border: 3px solid var(--ink); border-radius: 14px; width: 58px; height: 58px; box-shadow: 3px 3px 0 var(--ink); }
  .svc .emoji svg { width: 32px; height: 32px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .svc h3 { font-size: 1.25rem; margin: 16px 0 6px; }
  .svc p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
  .svc .from { font-weight: 900; }
  .svc .from span { color: var(--red); font-size: 1.6rem; }
  .svc .tag { position: absolute; top: -14px; right: 14px; background: linear-gradient(180deg,#14b89f,var(--teal)); color: #fff; font-size: .75rem; font-weight: 900; padding: 5px 10px; border-radius: 8px; border: 2.5px solid var(--ink); transform: rotate(3deg); }
  .svc .tag.yellow { background: linear-gradient(180deg,#ffd84d,var(--yellow)); color: var(--ink); }

  #siffror { background: rgba(255,255,255,.55); border: 2px dashed var(--teal); border-radius: 30px; padding: 44px 26px; margin-top: 16px; box-shadow: inset 0 0 40px rgba(255,210,63,.08); }
  .mosaic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: 150px; gap: 20px; }
  .tile { border: 3px solid var(--ink); border-radius: 22px; padding: 22px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; justify-content: flex-end; transition: transform .15s; }
  .tile:hover { transform: translateY(-4px); }
  .tile.big { grid-row: span 2; justify-content: flex-start; }
  .tile h3 { font-size: 1.3rem; font-weight: 900; }
  .tile p { font-size: .95rem; font-weight: 700; opacity: .85; }
  .tile .num { font-size: 2.6rem; font-weight: 900; line-height: 1; }
  .tile.yellow { background: linear-gradient(160deg, #ffdb5e 0%, var(--yellow) 100%); }
  .tile.red { background: linear-gradient(160deg, #e2230f 0%, #b40000 100%); color: #fff; }
  .tile.ink { background: linear-gradient(160deg, #2a3342 0%, #171b24 100%); color: #fff; }
  .tile.teal { background: linear-gradient(160deg, #14b89f 0%, var(--teal) 100%); color: #fff; }
  .tile.white { background: #fff; }

  .steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    counter-reset: s; position: relative; margin-top: 34px; }
  /* streckad linje som binder ihop stegen */
  .steps::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 0;
    border-top: 3px dashed rgba(26,35,50,.28); z-index: 0; }
  .step { position: relative; z-index: 1; background: #fff; border: 3px solid var(--ink);
    border-radius: 20px; padding: 30px 22px 22px; box-shadow: 5px 5px 0 var(--ink);
    transition: transform .15s, box-shadow .15s; }
  .step:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
  .step::before { counter-increment: s; content: counter(s); position: absolute; top: -19px; left: 20px;
    width: 38px; height: 38px; background: linear-gradient(180deg,#e22418,var(--red)); color: #fff;
    border: 3px solid var(--ink); border-radius: 50%; display: grid; place-items: center;
    font-weight: 900; font-size: 1.05rem; box-shadow: 2px 2px 0 var(--ink); }
  .step:nth-child(4)::before { background: linear-gradient(180deg,#14b89f,var(--teal)); }
  .step h3 { font-size: 1.08rem; font-weight: 900; margin: 0 0 7px; line-height: 1.25; }
  .step p { color: var(--muted); font-size: .92rem; font-weight: 700; margin: 0; }

  .quote { background: linear-gradient(150deg, #2a3342 0%, var(--ink) 70%); color: #fff; border-radius: 28px; padding: 44px 40px; margin: 56px 24px 0; position: relative; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
  .quote .big { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.3; }
  .quote .big .hl { background: var(--yellow); color: var(--ink); }
  .quote .by { margin-top: 18px; font-weight: 700; color: #c9d1df; font-size: .95rem; }
  .quote .stars { color: var(--yellow); font-size: 1.3rem; letter-spacing: 4px; }
  .quote .deco { position: absolute; right: -30px; bottom: -30px; font-size: 12rem; opacity: .14; transform: rotate(12deg); }
  .quote .deco svg { width: 175px; height: 175px; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  select, input {
    font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; width: 100%; outline: none; transition: box-shadow .15s;
  }
  input:focus, textarea:focus, select:focus { box-shadow: 3px 3px 0 var(--red); }

  #kontakt { padding-bottom: 60px; }
  footer { border-top: 3px dashed var(--ink); background: #fff; margin-top: 30px; padding: 30px 24px 40px; }
  .footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-weight: 700; color: var(--muted); }
  .footer-inner a { color: var(--ink); text-decoration: none; font-weight: 800; }
  .footer-inner a:hover { color: var(--red); }


  /* ══ SKIP-LÄNK ══════════════════════════════════════════════════ */
  .skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--yellow); color: var(--ink);
    border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 12px 18px; font-weight: 900; border-radius: 0 0 12px 0; }
  .skip:focus { left: 0; }
  :focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

  /* ══ KONTAKTRAD (§7) — enda sticky-elementet ════════════════════ */
  /* Tunn textrad. Exakt samma bakgrund som headern och inget eget mönster —
     annars syns skarven där de två mönsterlagren möts.
     Ingen egen kantlinje: headern äger den enda streckade linjen. */
  .cbar { position: sticky; top: 0; z-index: 60;
    background: var(--cream); color: var(--ink);
    padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
    padding-top: env(safe-area-inset-top); font-size: .82rem; }
  .cbar-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 0;
    font-weight: 700; min-height: 34px; }
  .cbar a { color: var(--ink); text-decoration: none; }
  .cbar a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
  .cbar .cb-item { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; white-space: nowrap; }
  .cbar .cb-addr { color: var(--muted); }
  /* telefonnumret längst till höger */
  .cbar .cb-call { margin-left: auto; font-weight: 900; }
  .cbar .cb-call svg { stroke: var(--red); opacity: 1; }
  .cbar svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; opacity: .7; }
  /* status finns kvar i öppettidskortet */
  .cb-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #aab2c0; flex-shrink: 0; }
  .cb-status.is-open .dot { background: var(--teal); box-shadow: 0 0 0 3px rgba(15,163,142,.2); }
  .cb-status.is-shut .dot { background: var(--red); box-shadow: 0 0 0 3px rgba(210,0,0,.16); }

  /* ══ Språkväljare i headern ════════════════════════════════════ */
  .nav-lang { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; letter-spacing: .5px; }
  .nav-links a.nav-lang-a { border-bottom: 3px solid transparent; padding: 0 3px; color: var(--muted); font-size: .9rem; }
  .nav-links a.nav-lang-a:hover { color: var(--red); border-color: transparent; }
  .nav-links a.nav-lang-a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--red); }
  .nav-lang .sep { color: #c2c8d2; }

  /* ══ "Kör hit" i navigeringen — ersätter ring-knappen ═══════════ */
  .nav-dir { display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
    background: linear-gradient(180deg, #14b89f 0%, var(--teal) 100%); color: #fff;
    border: 3px solid var(--ink); border-radius: 14px; padding: 7px 15px 7px 8px;
    box-shadow: 4px 4px 0 var(--ink); transition: transform .12s, box-shadow .12s, filter .12s; }
  .nav-dir:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); filter: brightness(1.06); }
  .nav-dir-map { flex-shrink: 0; line-height: 0; }
  .nav-dir-map svg { width: 52px; height: 39px; display: block;
    border: 2.5px solid var(--ink); border-radius: 8px; }
  .nav-dir-txt { display: flex; flex-direction: column; line-height: 1.15; }
  .nav-dir-txt b { font-size: .98rem; font-weight: 900; color: #fff; }
  .nav-dir-txt small { font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.82); }

  /* Kontaktraden ligger ÖVER headern (z 60 mot 50). Headern är också sticky,
     men fastnar på en negativ höjd: underkanten landar precis under raden, så
     allt utom den streckade linjen glider in bakom den. Resultatet är att
     headerns underkant blir kontaktradens underkant — en enda linje.
       top = kontaktradens höjd + kantlinjen − headerns höjd
     isolation håller rutmönstret bakom innehållet. */
  body > header { position: sticky; z-index: 50; isolation: isolate;
    top: calc(var(--cbar-h) + var(--hdr-edge) - var(--hdr-h));
    background: var(--cream);
    /* måste bort: backdrop-filter gör headern till containing block för
       position:fixed-barn, vilket skulle låsa fast mobilmenyn i headern */
    backdrop-filter: none; }

  /* menyknappen sitter i kontaktraden — kompakt nog för en tunn rad,
     men med 44px träffyta via ::after */
  .nav-toggle { margin-left: 14px; width: 38px; height: 32px; border-width: 2.5px; border-radius: 9px; flex-shrink: 0; }
  .nav-toggle::before { left: 9px; right: 9px; top: 8px; height: 3px; box-shadow: 0 6px 0 var(--ink), 0 12px 0 var(--ink); }
  .nav-toggle::after { content: ''; position: absolute; left: 50%; top: 50%;
    width: 44px; height: 44px; transform: translate(-50%, -50%); }

  /* ══ GEMENSAMT ══════════════════════════════════════════════════ */
  /* 40–60 ords direktsvar som inleder varje sektion (§14 answer-first) */
  .answer { font-size: 1.08rem; max-width: 68ch; margin-bottom: 26px; }
  .answer b { color: var(--ink); }
  .sec-head { flex-direction: column; gap: 4px; align-items: flex-start; margin-bottom: 22px; }
  .sec-head h2 { max-width: 24ch; line-height: 1.1; }
  section { padding-top: 52px; }
  .hero { padding-bottom: 34px; }

  /* synlig platshållare — omöjlig att missa i en release */
  .fill { display: inline-block; background: repeating-linear-gradient(45deg,#ffe9a8 0 8px,#ffd23f 8px 16px);
    border: 2px dashed var(--red); border-radius: 6px; padding: 0 7px; font-weight: 900; color: var(--red);
    font-size: .85em; letter-spacing: .5px; white-space: nowrap; }

  /* ══ HERO-TEXT ══════════════════════════════════════════════════ */
  .hero h1 { font-size: clamp(2rem, 3.9vw, 3.1rem); letter-spacing: -1px; line-height: 1.1; }
  .hero h1 .hl { box-shadow: 4px 4px 0 var(--ink); padding: 0 8px; }
  .hero .answer { color: var(--muted); margin: 22px 0 18px; }
  .hero .answer b { color: var(--ink); }

  /* ══ SNABBVAL (§10) ═════════════════════════════════════════════ */
  .qp { background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 24px; box-shadow: 6px 6px 0 var(--ink); }
  .qp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
  .qp-f { display: flex; flex-direction: column; gap: 6px; }
  .qp-f label { font-weight: 900; font-size: .82rem; letter-spacing: .6px; }
  .qp select:disabled { background: #f2f0ea; color: #97a0ae; cursor: not-allowed; }
  .qp-go { margin-top: 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
  .qp-hint { font-size: .86rem; color: var(--muted); font-weight: 700; }
  .qp details { margin-top: 18px; border-top: 2px dashed rgba(26,35,50,.25); padding-top: 14px; }
  .qp summary { font-weight: 900; cursor: pointer; }
  .dev-list { columns: 3; column-gap: 26px; margin-top: 14px; font-weight: 700; font-size: .93rem; }
  .dev-list h4 { font-size: .78rem; letter-spacing: 2px; color: var(--red); margin: 10px 0 4px; break-after: avoid; }
  .dev-list a { color: var(--ink); text-decoration: none; display: block; padding: 2px 0; }
  .dev-list a:hover { color: var(--red); text-decoration: underline; }

  /* ══ OMDÖMEN (§11) ══════════════════════════════════════════════ */
  #omdomen { padding-top: 46px; }
  .proof-line { background: linear-gradient(180deg,#fff,#fffaf0); border: 3px solid var(--ink); border-radius: 20px;
    padding: 20px 24px; box-shadow: 5px 5px 0 var(--ink); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .proof-score { font-size: 2.2rem; font-weight: 900; line-height: 1; }
  .proof-score .stars { color: #eda000; font-size: 1.1rem; letter-spacing: 3px; display: block; }
  .proof-meta { font-weight: 700; color: var(--muted); font-size: .93rem; }
  .proof-meta b { color: var(--ink); }
  .proof-cta { margin-left: 0; }
  .excerpts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 22px; }
  .exc { background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 4px 4px 0 var(--ink); }
  .exc blockquote { font-weight: 700; font-size: 1rem; }
  .exc figcaption { margin-top: 12px; font-size: .85rem; font-weight: 800; color: var(--muted); }
  .exc figcaption a { color: var(--red); }

  /* ══ PRISTABELL (§11 — priser som ren text) ═════════════════════ */
  .tbl-wrap { border: 3px solid var(--ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); background: #fff; overflow: hidden; }
  table.prices { width: 100%; border-collapse: collapse; table-layout: fixed; }
  table.prices th:nth-child(2), table.prices td:nth-child(2) { width: 22%; }
  table.prices th:nth-child(3), table.prices td:nth-child(3) { width: 24%; }
  table.prices th, table.prices td { padding: 14px 18px; text-align: left; border-bottom: 2px solid rgba(26,35,50,.12); }
  table.prices thead th { background: var(--ink); color: #fff; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; }
  table.prices tbody tr:last-child td { border-bottom: 0; }
  table.prices tbody tr:hover { background: #fffaf0; }
  table.prices .r-name { font-weight: 900; }
  table.prices .r-name a { color: var(--ink); text-decoration: none; }
  table.prices .r-name a:hover { color: var(--red); text-decoration: underline; }
  table.prices .r-price { font-weight: 900; color: var(--red); font-size: 1.15rem; white-space: nowrap; }
  table.prices .r-note { font-size: .82rem; font-weight: 700; color: var(--muted); }
  .prov { background: var(--yellow-soft); border: 2px dashed var(--red); border-radius: 10px; padding: 3px 9px;
    font-size: .72rem; font-weight: 900; color: var(--red); white-space: nowrap; }
  .upd { margin-top: 16px; font-weight: 800; font-size: .9rem; color: var(--muted); }

  /* ══ TRE TRYGGHETSPUNKTER (§10) ═════════════════════════════════ */
  .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .tr { border: 3px solid var(--ink); border-radius: 22px; padding: 26px 24px; box-shadow: 5px 5px 0 var(--ink); }
  .tr h3 { font-size: 1.2rem; margin: 14px 0 8px; }
  .tr p { font-size: .95rem; font-weight: 700; }
  .tr .ic { width: 56px; height: 56px; display: grid; place-items: center; border: 3px solid var(--ink);
    border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 var(--ink); }
  .tr .ic svg { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
  .tr.y { background: linear-gradient(160deg,#ffdb5e,var(--yellow)); }
  .tr.t { background: linear-gradient(160deg,#14b89f,var(--teal)); color: #fff; }
  .tr.t .ic svg { stroke: var(--ink); }
  .tr.w { background: #fff; }

  /* ══ BRÖDTEXT / ENTITETSSPRÅK (§11) ═════════════════════════════ */
  .prose { max-width: 74ch; }
  .prose p { margin-bottom: 16px; font-size: 1.02rem; }
  .prose h3 { font-size: 1.25rem; margin: 26px 0 10px; }
  .prose a { color: var(--ink); font-weight: 800; }

  /* ══ HITTA HIT: karta + tider ═══════════════════════════════════ */
  .visit { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .vcard { background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 26px; box-shadow: 5px 5px 0 var(--ink); }
  .vcard h3 { font-size: 1.15rem; margin-bottom: 14px; }
  .vstack { display: flex; flex-direction: column; gap: 24px; }
  .vlinks { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
  .vlinks a { display: inline-flex; align-items: center; gap: 9px; font-weight: 900;
    color: var(--ink); text-decoration: none; }
  .vlinks a:hover { color: var(--red); }
  .vlinks svg { width: 17px; height: 17px; stroke: var(--ink); stroke-width: 2.3;
    stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }

  .hours-card { padding-bottom: 20px; }
  .hours-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    flex-wrap: wrap; margin-bottom: 4px; }
  .hours-head h3 { margin: 0; }
  .hours-head .cb-status { margin-left: 0; font-size: .82rem; font-weight: 800; color: var(--muted);
    display: inline-flex; align-items: center; gap: 7px; }
  .hours { list-style: none; margin: 0; }
  .hours li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-weight: 700; font-size: .95rem; }
  .hours li + li { border-top: 1px dashed rgba(26,35,50,.16); }
  /* prickad ledare mellan dag och tid */
  .hours li::after { content: ''; order: 2; flex: 1 1 auto; height: 0; align-self: center;
    border-bottom: 2px dotted rgba(26,35,50,.22); min-width: 18px; }
  .hours .d { order: 1; font-weight: 800; }
  .hours .t { order: 3; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .hours li.is-today { background: var(--yellow-soft); box-shadow: inset 0 0 0 2px var(--ink);
    border-radius: 10px; padding-inline: 10px; margin-inline: -10px; border-top-color: transparent; }
  .hours li.is-today .d::after { content: ' · idag'; color: var(--red); font-weight: 900; font-size: .8em; }
  .hours-note { margin-top: 14px; font-size: .8rem; font-weight: 700; color: var(--muted); }
  .nap { font-weight: 700; line-height: 1.7; }
  .nap a { color: var(--ink); font-weight: 900; }
  .map-box { border: 3px solid var(--ink); border-radius: 22px; overflow: hidden;
    box-shadow: 5px 5px 0 var(--ink); background: var(--bg-soft); margin: 0; }
  .map-box iframe { width: 100%; height: 420px; border: 0; display: block; filter: saturate(.92) contrast(1.03); }
  .map-box figcaption { display: flex; align-items: center; justify-content: space-between; gap: 14px;
    flex-wrap: wrap; padding: 13px 18px; background: var(--ink); color: #cfd6e2;
    font-weight: 700; font-size: .87rem; }
  .map-box figcaption span { display: inline-flex; align-items: center; gap: 8px; }
  .map-box figcaption svg { width: 15px; height: 15px; stroke: var(--yellow); stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
  .map-box figcaption a { color: var(--yellow); text-decoration: none; font-weight: 900; white-space: nowrap; }
  .map-box figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* ══ FRÅGOR (§10 FAQ-teaser) ════════════════════════════════════ */
  /* hela sektionen är en centrerad kolumn — rubrik, svar, dragspel och
     länkraden delar samma bredd; texten i dem ligger kvar till vänster */
  #fragor > .sec-head, #fragor > .answer, #fragor > .faq-list, #fragor > .qp-hint {
    max-width: 860px; margin-inline: auto; }
  .faq-list { display: grid; gap: 14px; max-width: 860px; }
  .faq-list details { background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
  .faq-list summary { padding: 16px 20px; font-weight: 900; cursor: pointer; list-style: none; display: flex;
    justify-content: space-between; gap: 14px; align-items: center; font-size: 1.02rem; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--red); flex-shrink: 0; }
  .faq-list details[open] summary::after { content: '–'; }
  .faq-list .a { padding: 0 20px 18px; font-weight: 700; color: var(--muted); }
  .faq-list .a b { color: var(--ink); }

  /* ══ SLUT-CTA ═══════════════════════════════════════════════════ */
  .endcta { background: linear-gradient(150deg,#2a3342,var(--ink)); color: #fff; border: 3px solid var(--ink);
    border-radius: 28px; padding: 40px; box-shadow: 6px 6px 0 var(--ink); text-align: center; }
  .endcta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 10px; }
  .endcta p { color: #c9d1df; font-weight: 700; margin-bottom: 22px; }
  .endcta .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* ══ FOOTER ═════════════════════════════════════════════════════ */
  .foot-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
  .foot-grid h4 { font-size: .78rem; letter-spacing: 2px; color: var(--red); margin-bottom: 12px; }
  .foot-grid ul { list-style: none; font-weight: 700; }
  .foot-grid li { margin-bottom: 7px; }
  .foot-grid a { color: var(--ink); text-decoration: none; font-weight: 800; }
  .foot-grid a:hover { color: var(--red); }
  .foot-legal { max-width: 1160px; margin: 26px auto 0; padding-top: 18px; border-top: 2px dashed rgba(26,35,50,.25);
    font-weight: 700; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 92px; left: 0; right: 0; background: var(--cream); padding: 18px 24px; gap: 14px; border-bottom: 2px dashed var(--red); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .logo svg { height: 55px; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 14px 0 10px; }
    .hero .sub, .hero .note { margin-inline: auto; }
    .hero-btns { justify-content: center; }
    .hero-art { padding-top: 16px; }
    .phone-rig { scale: .94; }
    .services, .mosaic, .steps { grid-template-columns: 1fr; }
    .tile.big { grid-row: span 1; }
    .mosaic { grid-template-columns: 1fr 1fr; }
    .quote { padding: 34px 26px; margin-inline: 16px; }
  }
  @media (max-width: 540px) {
    .mosaic { grid-template-columns: 1fr; }
    .hero h1 { letter-spacing: -1px; }
    .phone-rig { scale: .8; margin: -52px 0; }
    .pl-chip { font-size: .8rem; padding: 7px 11px; }
    .pl-chip.c-time { right: -28px; }
    .pl-chip.c-free { left: -30px; bottom: 132px; }
    .pl-price { right: -12px; }
  }

  /* ══ FÖRFINING: rytm, avdelare, hierarki ════════════════════════ */
  main > section { padding: 62px 24px 10px; }
  /* streckad avdelare mellan sektioner — samma språk som headern */
  main > section + section > .sec-head { padding-top: 46px; border-top: 2px dashed rgba(26,35,50,.16); }
  main > section:last-child { padding-bottom: 64px; }

  .sec-head { margin-bottom: 18px; }
  .sec-head .kicker { font-size: .72rem; letter-spacing: 2.6px; opacity: .95; margin-bottom: 2px; }
  .sec-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); }

  /* ett enda uttryck för direktsvaret, överallt */
  .answer { color: var(--muted); font-size: 1.06rem; line-height: 1.62; max-width: 66ch; margin-bottom: 30px; }
  .answer b { color: var(--ink); font-weight: 800; }

  /* kortytor: en enda skuggnivå, en enda radie-skala */
  .qp { padding: 26px 26px 22px; }
  .qp-grid { gap: 16px; }
  .qp-f label { color: var(--ink); opacity: .82; }
  .qp select { font-weight: 700; }
  .qp details { margin-top: 22px; padding-top: 18px; }
  .dev-list { margin-top: 16px; }

  .proof-line { padding: 22px 26px; gap: 24px; }
  .proof-score { display: flex; flex-direction: column; gap: 4px; }
  .proof-score .stars { letter-spacing: 4px; }
  .excerpts { margin-top: 24px; }
  .exc blockquote { line-height: 1.55; }

  .tbl-wrap { margin-top: 4px; }
  table.prices th, table.prices td { padding: 15px 20px; }
  table.prices thead th { letter-spacing: 1.8px; font-weight: 900; }
  table.prices .r-note { margin-top: 3px; }
  .upd { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

  .trust { gap: 24px; }
  .tr { padding: 28px 26px; }
  .tr h3 { font-size: 1.15rem; line-height: 1.25; }
  .tr p { line-height: 1.6; opacity: .92; }

  .prose p { line-height: 1.7; color: #3a4353; }
  .prose h3 { font-size: 1.2rem; margin: 30px 0 10px; letter-spacing: -.3px; }
  .prose b { color: var(--ink); }

  .visit { gap: 28px; }
  .vcard { padding: 28px; }
  .hours .t { font-variant-numeric: tabular-nums; }

  .faq-list summary { padding: 17px 22px; }
  .faq-list .a { padding: 0 22px 20px; line-height: 1.62; }

  .endcta { padding: 46px 40px; margin-top: 18px; }

  /* ══ RESPONSIVT för de nya sektionerna ══════════════════════════ */
  @media (max-width: 900px) {
    .dev-list { columns: 2; }
    .trust, .visit, .excerpts { grid-template-columns: 1fr; }
    /* Samma mekanik som på desktop: raden är sticky, headern tuckas in under
       den och bidrar med den enda streckade linjen. Menyknappen bor i raden
       (inte i headern) så den aldrig hamnar bakom den när headern tuckats in. */
    .cbar-inner { min-height: 48px; }
    .nav-toggle { display: block; }
    /* menyn hänger under raden, inte under den intuckade headern.
       Egen maxhöjd + innerscroll: den kan aldrig växa förbi viewporten,
       och sidscroll under öppen meny stängs av JS (se initMenu).
       top: 50px är reserv om variabeln inte hunnit mätas — JS pin:ar
       exakt värde vid varje öppning. */
    .nav-links { position: fixed; top: 50px; top: calc(var(--cbar-h) + var(--hdr-edge) - 2px); z-index: 59;
      max-height: calc(100vh - var(--cbar-h) - var(--hdr-edge));
      max-height: calc(100dvh - var(--cbar-h) - var(--hdr-edge));
      overflow-y: auto; overscroll-behavior: contain; }
    /* kör-hit-kortet ligger kvar i headerraden på mobil, men utan adressraden
       — adressen står redan i kontaktraden direkt ovanför. aria-label på
       länken håller den beskrivande även när texten är dold. */
    .nav-dir { padding: 5px 13px 5px 6px; gap: 9px; border-radius: 11px; box-shadow: 3px 3px 0 var(--ink); }
    .nav-dir-map svg { width: 38px; height: 28px; border-width: 2px; border-radius: 6px; }
    .nav-dir-txt b { font-size: .9rem; }
    .nav-dir-txt small { display: none; }
    /* 4 → 2 steg, inte rakt ner till 1 */
    .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
    .steps::before { display: none; }
    .map-box iframe { height: 340px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .proof-cta { margin-left: 0; width: 100%; }
    .sec-head h2 { max-width: none; }
  }
  @media (max-width: 640px) {
    /* Raden förblir tunn — adressen kortas, telefonnumret stannar till höger.
       44px är golvet: menyknappens träffyta ska rymmas i raden, inte hänga
       ut under den och fånga klick på sidinnehållet. */
    .cbar { font-size: .78rem; }
    .cbar-inner { min-height: 44px; }
    /* block, inte inline-flex — text-overflow biter inte på en flex-container */
    .cbar .cb-addr { display: block; min-width: 0; overflow: hidden;
      text-overflow: ellipsis; white-space: nowrap; padding-right: 12px; }
    .cbar .cb-addr svg { display: none; }
    .cbar .cb-call { flex-shrink: 0; }
    .qp-grid { grid-template-columns: 1fr; }
    .dev-list { columns: 1; }
    .foot-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    /* pristabellen ska rymmas, aldrig scrolla i sidled */
    table.prices th, table.prices td { padding: 12px 10px; }
    table.prices th:nth-child(2), table.prices td:nth-child(2) { width: 26%; }
    table.prices th:nth-child(3), table.prices td:nth-child(3) { width: 26%; }
    table.prices thead th { font-size: .66rem; letter-spacing: .8px; }
    table.prices .r-name { font-size: .95rem; }
    table.prices .r-note { font-size: .76rem; line-height: 1.4; }
    table.prices .r-price { font-size: 1rem; }
    table.prices td:nth-child(3) { font-size: .85rem; }
    main > section { padding: 44px 20px 8px; }
    main > section + section > .sec-head { padding-top: 34px; }
    .map-box iframe { height: 280px; }
    .qp { padding: 20px 18px 18px; }
    .endcta { padding: 30px 22px; }
    .proof-line { gap: 14px; }
    .hero h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); }
  }

  /* ══════════════════════════════════════════════════════════════
     6. ENHETSSIDA  — /device/[modell]/
     Använder samma tokens, knappar och korttyper som hemsidan.
     ══════════════════════════════════════════════════════════════ */

  /* brödsmulor — måste matcha BreadcrumbList i JSON-LD (§14) */
  .crumbs { max-width: 1160px; margin: 0 auto; padding: 18px 24px 0; font-size: .85rem; font-weight: 700; }
  .crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); }
  .crumbs a { color: var(--muted); text-decoration: none; }
  .crumbs a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
  .crumbs li + li::before { content: '›'; margin-right: 8px; color: #c2c8d2; }
  .crumbs [aria-current="page"] { color: var(--ink); font-weight: 900; }

  /* ── hero: foto till vänster, pris och fakta till höger ── */
  .dev-hero { display: grid; grid-template-columns: 330px 1fr; gap: 54px; align-items: center; }
  .dev-hero h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 900; letter-spacing: -1.2px;
    line-height: 1.08; margin-bottom: 16px; }
  .dev-kicker { font-size: .72rem; font-weight: 900; letter-spacing: 2.6px; color: var(--red); margin-bottom: 8px; }
  .dev-kicker::before { content: '● '; color: var(--yellow); text-shadow: 1px 1px 0 var(--ink); }
  .dev-hero .answer { margin-bottom: 26px; }

  /* enhetsbilden — produktfoto i ram, gul offsetplatta bakom */
  .dev-photo { position: relative; display: grid; place-items: center; padding: 16px 14px 14px 16px; }
  .dev-shot { position: relative; margin: 0; width: 100%; max-width: 300px;
    background: #fff; border: 3px solid var(--ink); border-radius: 24px;
    padding: 14px; box-shadow: 8px 8px 0 var(--ink); }
  /* plattan ligger bakom kortets egen bakgrund (z-index:-1) och sticker ut uppe till vänster */
  .dev-shot::before { content: ''; position: absolute; inset: 0; z-index: -1;
    transform: translate(-15px, -15px);
    background: linear-gradient(160deg,#ffdb5e,var(--yellow));
    border: 3px solid var(--ink); border-radius: 24px; }
  .dev-shot img { width: 100%; height: auto; display: block; border-radius: 12px; }

  /* så går det till — fyra steg i ordning, numren bär sekvensen */
  .dev-steps { list-style: none; counter-reset: devstep; display: flex; flex-wrap: wrap;
    gap: 10px 20px; margin-top: 24px; padding: 0;
    font-weight: 800; font-size: .88rem; color: var(--ink); }
  .dev-steps li { counter-increment: devstep; display: inline-flex; align-items: center; gap: 9px; }
  .dev-steps li::before { content: counter(devstep); flex-shrink: 0;
    width: 25px; height: 25px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--yellow); border: 2.5px solid var(--ink);
    font-size: .76rem; font-weight: 900; line-height: 1; }

  .dev-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

  /* modellspecifik varning — bor i Skärmar-gruppen, inte i huvudet (§14) */
  .dev-note { display: flex; gap: 13px; align-items: flex-start;
    background: var(--yellow-soft); border-bottom: 3px solid var(--ink);
    padding: 15px 24px; }
  .dev-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
    stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
  .dev-note p { font-weight: 700; font-size: .89rem; line-height: 1.55; }
  .dev-note b { font-weight: 900; }

  /* ══ TJÄNSTEGRUPPER MED UTFÄLLBARA NIVÅER ══════════════════════ */
  .svc-list { display: grid; gap: 26px; }

  .svc-group { background: #fff; border: 3px solid var(--ink); border-radius: 22px;
    box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
  .svc-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px;
    background: linear-gradient(180deg,#fffdf7,#fff6e6); border-bottom: 3px solid var(--ink); }
  .svc-ic { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
    background: var(--yellow-soft); border: 3px solid var(--ink); border-radius: 13px; box-shadow: 3px 3px 0 var(--ink); }
  .svc-ic svg { width: 27px; height: 27px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .svc-head h3 { font-size: 1.22rem; font-weight: 900; line-height: 1.2; }
  .svc-head p { font-size: .87rem; font-weight: 700; color: var(--muted); margin-top: 3px; }
  .svc-from { margin-left: auto; text-align: right; flex-shrink: 0; }
  .svc-from small { display: block; font-size: .68rem; font-weight: 900; letter-spacing: 1.4px; color: var(--muted); }
  .svc-from b { font-size: 1.35rem; font-weight: 900; color: var(--red); }

  /* en nivå = en <details>, fungerar utan JS */
  .opt { border-bottom: 2px dashed rgba(26,35,50,.18); }
  .opt:last-child { border-bottom: 0; }
  .opt > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
    padding: 16px 24px; font-weight: 800; transition: background .12s; }
  .opt > summary::-webkit-details-marker { display: none; }
  .opt > summary:hover { background: #fffaf0; }
  .opt > summary:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
  .opt-tick { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center;
    border: 2.5px solid var(--ink); border-radius: 50%; background: #fff; font-weight: 900;
    font-size: 1.1rem; line-height: 1; color: var(--red); }
  .opt[open] .opt-tick { background: var(--red); color: #fff; }
  .opt-tick::before { content: '+'; }
  .opt[open] .opt-tick::before { content: '–'; }
  .opt-name { font-size: 1rem; font-weight: 900; }
  .opt-name em { display: block; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
  .opt-price { margin-left: auto; font-weight: 900; font-size: 1.1rem; white-space: nowrap;
    font-variant-numeric: tabular-nums; }
  .opt-badge { display: inline-block; margin-left: 8px; background: linear-gradient(180deg,#14b89f,var(--teal));
    color: #fff; border: 2px solid var(--ink); border-radius: 7px; padding: 2px 8px;
    font-size: .66rem; font-weight: 900; letter-spacing: .6px; vertical-align: 2px; }
  .opt-badge.y { background: linear-gradient(180deg,#ffd84d,var(--yellow)); color: var(--ink); }

  .opt-body { padding: 2px 24px 22px 64px; }
  .opt-spec { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 26px;
    justify-content: start; margin-bottom: 14px; }
  .opt-spec div { font-weight: 700; font-size: .86rem; color: var(--muted); }
  .opt-spec b { display: block; font-size: 1rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
  .opt-body p { font-size: .93rem; font-weight: 700; color: #3a4353; line-height: 1.6; max-width: 62ch; }
  .opt-body ul { margin: 10px 0 0 0; padding: 0; list-style: none; }
  .opt-body li { position: relative; padding-left: 22px; margin-bottom: 5px; font-size: .9rem; font-weight: 700; color: #3a4353; }
  .opt-body li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px;
    border-radius: 50%; background: var(--teal); border: 2px solid var(--ink); }
  .opt-body li.no::before { background: var(--red); }
  .opt-cta { margin-top: 16px; }

  /* ══ VIDEO + BILDER ════════════════════════════════════════════ */
  .media { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
  /* klick-för-att-ladda: ingen YouTube-kod förrän besökaren vill se den (§6) */
  .ytlite { position: relative; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden;
    box-shadow: 6px 6px 0 var(--ink); background: linear-gradient(160deg,#2f3a58,#0f1522);
    aspect-ratio: 16 / 9; display: grid; place-items: center; cursor: pointer; width: 100%; padding: 0; }
  .ytlite iframe { width: 100%; height: 100%; border: 0; display: block; }
  .ytlite-in { display: grid; place-items: center; gap: 14px; text-align: center; padding: 24px; }
  .ytlite-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(180deg,#e22418,var(--red)); border: 4px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink); transition: transform .14s, box-shadow .14s; }
  .ytlite:hover .ytlite-play { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); }
  .ytlite-play::before { content: ''; width: 0; height: 0; margin-left: 6px;
    border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
  .ytlite-cap { color: #fff; font-weight: 900; font-size: 1.02rem; }
  .ytlite-cap small { display: block; font-weight: 700; font-size: .82rem; color: #aab4c6; margin-top: 4px; }
  /* tumnagel från YouTube + standard-play, ingen bildtext */
  .ytlite-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .ytlite-play { position: relative; z-index: 1; }

  .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .shot { border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--bg-soft);
    box-shadow: 4px 4px 0 var(--ink); aspect-ratio: 4 / 3; display: grid; place-items: center;
    text-align: center; padding: 14px; }
  .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .shot span { font-size: .78rem; font-weight: 800; color: var(--muted); line-height: 1.4; }

  /* ══ GLOBALA TJÄNSTER — genererar ALDRIG kombosidor (§5) ════════ */
  .glob { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .glob-card { display: flex; gap: 16px; align-items: flex-start; background: #fff;
    border: 3px solid var(--ink); border-radius: 18px; padding: 20px 22px; box-shadow: 4px 4px 0 var(--ink);
    text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
  .glob-card:hover { transform: translateY(-3px); box-shadow: 7px 7px 0 var(--ink); }
  .glob-ic { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center;
    border: 3px solid var(--ink); border-radius: 12px; background: var(--bg-soft); box-shadow: 2px 2px 0 var(--ink); }
  .glob-ic svg { width: 25px; height: 25px; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .glob-card h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: 4px; }
  .glob-card p { font-size: .88rem; font-weight: 700; color: var(--muted); line-height: 1.5; }
  .glob-card .from { margin-top: 8px; font-weight: 900; color: var(--red); }

  @media (max-width: 900px) {
    .dev-hero { grid-template-columns: 1fr; gap: 30px; }
    .dev-shot { max-width: 250px; }
    .media { grid-template-columns: 1fr; }
    .glob { grid-template-columns: 1fr; }
    .opt-body { padding-left: 24px; }
  }
  @media (max-width: 640px) {
    .crumbs { padding: 14px 20px 0; font-size: .8rem; }
    /* mobil: tunt huvud — ikon, titel och pris på samma rad, symtomen under */
    .svc-head { flex-wrap: wrap; padding: 12px 16px; gap: 9px 11px; }
    .svc-head > div { display: contents; }
    .svc-ic { width: 38px; height: 38px; border-radius: 10px; border-width: 2.5px;
      box-shadow: 2px 2px 0 var(--ink); }
    .svc-ic svg { width: 20px; height: 20px; }
    .svc-head h3 { order: 1; flex: 1 1 auto; min-width: 0; font-size: 1.02rem; }
    .svc-from { order: 2; margin-left: 0; width: auto; text-align: right; }
    .svc-from small { font-size: .6rem; letter-spacing: 1px; }
    .svc-from b { font-size: 1.1rem; }
    .svc-head p { order: 3; width: 100%; margin-top: 0; font-size: .8rem; line-height: 1.45; }
    .svc-head p:empty { display: none; }
    .opt > summary { padding: 14px 18px; gap: 11px; }
    .opt-name { font-size: .94rem; }
    .opt-price { font-size: 1rem; }
    .opt-body { padding: 2px 18px 20px; }
    .opt-spec { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
    .shots { grid-template-columns: 1fr 1fr; }
  }
