:root {
  --bg: #1f1b1c;
  --bg2: #2a2526;
  --ljus: #f5f1ec;
  --text: #1f1b1c;
  --mjuk: #5d5555;
  --orange: #ff5e1a;
  --orange-mork: #e04b0c;
  --vit: #fff;
  --linje: rgba(255,255,255,.12);
  --max: 1160px;
  --r: 6px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--text); background: var(--ljus); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--vit); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: 0 24px; border-radius: var(--r); font: 600 1rem var(--font); text-decoration: none; cursor: pointer;
  border: 2px solid var(--orange); background: var(--orange); color: var(--vit); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--orange-mork); border-color: var(--orange-mork); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { border-color: var(--vit); background: rgba(255,255,255,.08); }
.btn.ghost.mork { color: var(--text); border-color: rgba(0,0,0,.3); }
.btn.ghost.mork:hover { border-color: var(--text); background: rgba(0,0,0,.04); }
.btn svg { width: 18px; height: 18px; }
.knappar { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sidhuvud */
.top { background: var(--bg); color: var(--vit); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--linje); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: block; width: 132px; margin: 4px 0; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--r); font-weight: 500; color: rgba(255,255,255,.85); }
.nav a:hover { color: var(--vit); background: rgba(255,255,255,.07); }
.nav a[aria-current=page] { color: var(--vit); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav .btn { margin-left: 8px; color: var(--vit); padding: 0 20px; }
.nav .btn:hover { background: var(--orange-mork); }
.tel-top { display: none; }
.meny-knapp { display: none; }

@media (max-width: 820px) {
  .top .wrap { min-height: 64px; gap: 8px; }
  .logo { width: 104px; }
  .tel-top, .meny-knapp { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: var(--r); color: var(--vit); background: transparent; border: 0; cursor: pointer; }
  .tel-top { margin-left: auto; background: var(--orange); }
  .tel-top svg, .meny-knapp svg { width: 22px; height: 22px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg);
    flex-direction: column; align-items: stretch; padding: 8px 22px 20px; border-bottom: 1px solid var(--linje); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--linje); border-radius: 0; }
  .nav a[aria-current=page] { box-shadow: none; color: var(--orange); }
  .nav .btn { margin: 14px 0 0; border-bottom: 0; border-radius: var(--r); }
}

/* Hero */
.hero { position: relative; color: var(--vit); background: var(--bg); isolation: isolate; overflow: hidden; }
.hero-bild { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: 100%; object-fit: cover;
  object-position: 25% 30%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 42%, rgba(31,27,28,.55) 58%, rgba(31,27,28,0) 80%); }
.hero .wrap { padding-top: clamp(80px, 14vw, 170px); padding-bottom: clamp(80px, 14vw, 170px); }
.hero h1 { max-width: 13ch; }
.hero .lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34ch; color: rgba(255,255,255,.88); margin-bottom: 1.6em; }
.hero .lead strong { color: var(--vit); }
@media (max-width: 700px) {
  .hero-bild { width: 100%; object-position: 30% 20%; }
  .hero::before { background: linear-gradient(180deg, rgba(31,27,28,.35) 0%, rgba(31,27,28,.8) 45%, var(--bg) 85%); }
  .hero .wrap { padding-top: 46vw; padding-bottom: 48px; }
}

/* Sektioner */
.sek { padding: clamp(64px, 9vw, 110px) 0; }
.sek.mork { background: var(--bg); color: var(--vit); }
.sek.vit { background: var(--vit); }
.etikett { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .8em; }
.ingress { font-size: 1.12rem; color: var(--mjuk); max-width: 60ch; }
.mork .ingress { color: rgba(255,255,255,.75); }
.tva { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tva.omvand > :first-child { order: 2; }
@media (max-width: 820px) { .tva { grid-template-columns: 1fr; } .tva.omvand > :first-child { order: 0; } }
.foto { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }

.marken { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.marken img { height: 56px; width: auto; }
.marken .uc { height: 50px; }

/* Tjänster */
.tjanster-sek { position: relative; isolation: isolate; background: var(--bg) center / cover no-repeat; }
.tjanster-sek::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(24,20,21,.88); }
.tjanster { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tjanster li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 18px; border: 1px solid var(--linje);
  border-radius: var(--r); background: rgba(255,255,255,.03); font-weight: 500; line-height: 1.4; }
.tjanster li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .45em; transform: rotate(45deg);
  border: 2px solid var(--orange); }
@media (max-width: 900px) { .tjanster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tjanster { grid-template-columns: 1fr; } }

/* Galleri */
.galleri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 32px; }
.galleri button { padding: 0; border: 0; background: var(--bg2); cursor: zoom-in; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 1; }
.galleri img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galleri button:hover img { transform: scale(1.04); }
@media (max-width: 820px) { .galleri { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .galleri { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.galleri-fot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 28px; }

dialog.visare { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
dialog.visare::backdrop { background: rgba(10,8,9,.92); }
.visare .ram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.visare img { max-width: 100%; max-height: 100%; width: auto; border-radius: var(--r); }
.visare button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12);
  color: var(--vit); font-size: 26px; line-height: 1; cursor: pointer; }
.visare button:hover { background: rgba(255,255,255,.22); }
.visare .stang { top: 12px; right: 12px; }
.visare .fore { left: 12px; top: 50%; transform: translateY(-50%); }
.visare .nasta { right: 12px; top: 50%; transform: translateY(-50%); }

/* Fakta (om oss) */
.fakta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,.1);
  border: 1px solid rgba(0,0,0,.1); border-radius: var(--r); overflow: hidden; margin-top: 8px; }
.fakta div { background: var(--vit); padding: 18px 20px; }
.fakta dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mjuk); margin-bottom: 4px; }
.fakta dd { margin: 0; font-weight: 600; }
@media (max-width: 820px) { .fakta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .fakta { grid-template-columns: 1fr; } }
.text-smal { max-width: 68ch; }

/* Uppmaning */
.cta { text-align: center; }
.cta p { margin-left: auto; margin-right: auto; }
.cta .knappar { justify-content: center; }

/* Kontakt */
.kontakt-rad { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.1);
  text-decoration: none; font-size: 1.1rem; font-weight: 600; }
.kontakt-rad:hover { color: var(--orange-mork); }
.kontakt-rad svg { width: 24px; height: 24px; color: var(--orange); flex: none; }
.kontakt-rad small { display: block; font-size: .85rem; font-weight: 500; color: var(--mjuk); }
form.formular { background: var(--vit); padding: clamp(22px, 4vw, 36px); border-radius: var(--r); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.06); }
.falt { margin-bottom: 16px; }
.falt-par { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 520px) { .falt-par { grid-template-columns: 1fr; } }
.falt label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.falt label span { font-weight: 400; color: var(--mjuk); }
.falt input, .falt textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfc8c2;
  border-radius: var(--r); background: #fffdfb; color: var(--text); }
.falt textarea { min-height: 150px; resize: vertical; }
.falt input:focus, .falt textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,94,26,.2); }
.hp { position: absolute; left: -5000px; }
.svar { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); display: none; }
.svar.ok { display: block; background: #e8f5ec; color: #1d5a32; }
.svar.fel { display: block; background: #fdecea; color: #8a1f12; }
.ts { margin-bottom: 14px; min-height: 0; }
form.formular .btn { width: 100%; }

/* Sidfot */
.fot { background: var(--bg); color: rgba(255,255,255,.75); padding: 56px 0 28px; font-size: .95rem; }
.fot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.fot h3 { color: var(--vit); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.fot ul { list-style: none; margin: 0; padding: 0; }
.fot li { margin-bottom: 6px; }
.fot a { text-decoration: none; }
.fot a:hover { color: var(--vit); text-decoration: underline; }
.fot .logo { width: 150px; margin-bottom: 14px; }
.sociala { display: flex; gap: 10px; margin-top: 14px; }
.sociala a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%;
  border: 1px solid var(--linje); }
.sociala a:hover { border-color: var(--orange); color: var(--orange); }
.sociala svg { width: 19px; height: 19px; }
.fot-botten { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--linje); display: flex; flex-wrap: wrap;
  gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .fot-grid { grid-template-columns: 1fr 1fr; } .fot-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
