/* ============================================================
   BRA BYGG i Kristinehamn AB — utkast
   Aesthetik: solid nordisk byggentreprenör, premium-industriellt
   ============================================================ */

:root {
  --bg:        #0c0f14;
  --bg-2:      #0f131a;
  --surface:   #141a22;
  --surface-2: #1b2330;
  --line:        rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text:    #eef1f5;
  --muted:   #97a3b2;
  --muted-2: #66717f;
  --brand:        #2f6fe4;
  --brand-bright: #5790ff;
  --brand-dim:    rgba(47,111,228,.16);
  --amber:      #f6b51e;
  --amber-deep: #cf9405;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --r: 4px;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* subtil kornighet för djup */
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,111,228,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(47,111,228,.06), transparent 55%);
  background-attachment: fixed;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  z-index: 1000; transition: width .1s linear;
}

/* ---------- typography helpers ---------- */
.eyebrow, .kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-bright);
  font-weight: 500;
}
.kicker { display: flex; align-items: center; gap: .7em; color: var(--muted); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--amber); flex: 0 0 auto; }
.kicker-num {
  color: var(--amber);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: .25em .5em;
  font-size: .9em;
}
.ph-note { color: var(--muted-2); font-style: normal; font-size: .85em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12,15,20,.82);
  backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand-mark { color: var(--brand-bright); display: grid; place-items: center; }
.brand-text {
  font-family: var(--font-display); font-weight: 900;
  letter-spacing: .04em; font-size: 1.15rem; line-height: 1;
  display: flex; flex-direction: column;
}
.brand-sub {
  font-family: var(--font-mono); font-weight: 400;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.brand-chip {
  background: transparent; padding: 0;
  display: inline-flex; align-items: center;
}
.brand-chip img {
  height: 46px; width: auto; display: block;
  filter: drop-shadow(0 2px 9px rgba(0,0,0,.6));
  transition: height .35s var(--ease);
}
.site-header.scrolled .brand-chip img { height: 38px; }
.footer-brand .brand-chip { margin-bottom: 14px; }
.footer-brand .brand-chip img { height: 44px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  padding: .8em 1.5em; border-radius: var(--r);
  transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn-cta {
  background: var(--brand); color: #fff;
  box-shadow: 0 0 0 0 var(--brand-dim);
}
.btn-cta:hover { background: var(--brand-bright); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(47,111,228,.7); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-bright); color: var(--brand-bright); transform: translateY(-2px); }
.nav-cta { padding: .6em 1.2em; }
.btn-block { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.hamburger span { width: 26px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--pad) 80px;
  overflow: hidden;
}
.hero-bgs { position: absolute; inset: 0; z-index: 0; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-bg.is-active { opacity: .42; }
.hero::before { /* mörk scrim + ev. foto under */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12,15,20,.55) 0%, rgba(12,15,20,.35) 40%, var(--bg) 100%),
    linear-gradient(115deg, var(--bg) 5%, rgba(12,15,20,.2) 55%, transparent 80%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 30% 30%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; z-index: 1; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -10%; top: 10%;
  background: radial-gradient(circle, rgba(47,111,228,.22), transparent 65%);
  filter: blur(20px);
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; }
.hero-values {
  list-style: none; display: inline-flex; flex-wrap: wrap; align-items: center;
  gap: .9rem; margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: clamp(.72rem, 1.4vw, .82rem);
  text-transform: uppercase; letter-spacing: .2em; font-weight: 600;
  color: var(--amber);
}
.hero-values li { display: inline-flex; align-items: center; gap: .9rem; }
.hero-values li:not(:last-child)::after {
  content: "·"; color: var(--amber); opacity: .6; font-size: 1.15em;
}
.eyebrow { margin-bottom: 1.4rem; }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98;
  letter-spacing: -.02em; text-transform: uppercase;
  text-wrap: balance;
}
.hero-title .accent { color: var(--brand-bright); }
.hero-lead {
  margin-top: 1.6rem; max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

.hero-stats {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 3.4rem; max-width: 640px;
  border: 1px solid var(--line); background: var(--line);
  border-radius: var(--r); overflow: hidden;
}
.hero-stats li { background: rgba(20,26,34,.7); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.hero-stats .lbl { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted-2); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--brand-bright), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 11vh, 140px) 0; position: relative; }
.section--projekt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--reviews { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02;
  letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance;
}
.section-lead { margin-top: 1.2rem; color: var(--muted); font-size: 1.06rem; max-width: 620px; }

/* ---------- tjänster ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service-card {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(28px, 4vw, 48px); overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.service-card:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-2); }
.service-card:hover::before { transform: scaleY(1); }
.service-index { font-family: var(--font-mono); color: var(--muted-2); font-size: .8rem; letter-spacing: .1em; }
.service-card h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.9rem; letter-spacing: -.01em; margin: .5rem 0 .9rem;
}
.service-card > p { color: var(--muted); }
.service-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 1.8rem; }
.service-list li {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  border: 1px solid var(--line-strong); border-radius: 100px; padding: .4em .9em; color: var(--muted);
}
.service-link { color: var(--brand-bright); font-weight: 600; font-size: .95rem; }
.service-link:hover { color: var(--text); }

/* ---------- före/efter ---------- */
.ba { margin-bottom: 3rem; }
.ba-frame {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-strong); user-select: none; touch-action: none;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9);
}
.ba-frame > div { position: absolute; inset: 0; }
.ba-frame img { width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba-after { z-index: 1; }
.ba-tag {
  position: absolute; bottom: 14px; z-index: 4;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(12,15,20,.7); border: 1px solid var(--line); padding: .4em .8em; border-radius: 2px;
  backdrop-filter: blur(4px);
}
.ba-tag--before { left: 14px; color: var(--amber); }
.ba-tag--after { right: 14px; color: var(--brand-bright); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 5;
  width: 44px; transform: translateX(-50%);
  background: none; border: 0; display: grid; place-items: center; color: #fff;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.6); }
.ba-handle svg { position: relative; background: var(--brand); border-radius: 50%; width: 40px; height: 40px; padding: 9px; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.ba-caption { margin-top: .9rem; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); letter-spacing: .04em; }

/* placeholders */
.ph { position: relative; background:
    repeating-linear-gradient(45deg, #161d27 0 14px, #131922 14px 28px);
  display: grid; place-items: center; }
.ph::after {
  content: attr(data-ph);
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2); border: 1px dashed var(--line-strong); padding: .5em .9em; border-radius: 3px;
  position: absolute; pointer-events: none;
}
.ph img { position: relative; z-index: 1; }

/* ---------- galleri ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.tile {
  position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.tile .ph { position: absolute; inset: 0; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile figcaption {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; gap: 4px;
  background: linear-gradient(transparent 40%, rgba(8,11,15,.85));
  opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile:hover img { transform: scale(1.06); }
.tile:hover figcaption { opacity: 1; transform: translateY(0); }
.tile-cat { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-bright); }
.tile-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.tile.is-hidden { display: none; }

/* ---------- social showcase ---------- */
.social { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.social-head { max-width: 620px; margin: 0 auto 1.8rem; text-align: center; }
.social-head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem,3vw,2rem); margin: .4rem 0 .7rem; }
.social-lead { color: var(--muted); }
.social-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.post { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: .1em;
  background: rgba(12,15,20,.8); border: 1px solid var(--line); padding: .3em .6em; border-radius: 3px;
  color: var(--brand-bright); backdrop-filter: blur(4px);
}
.post::after { /* hover sheen */
  content: ""; position: absolute; inset: 0; background: var(--brand-dim); opacity: 0; transition: opacity .3s; z-index: 1;
}
.post:hover::after { opacity: 1; }

/* rullande socialt flöde (auto-synk) */
.live-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 1.1rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-strong); border-radius: 100px; padding: .45em .9em;
}
.live-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  animation: livepulse 2s var(--ease) infinite;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(246,181,30,.55); }
  70% { box-shadow: 0 0 0 8px rgba(246,181,30,0); }
  100% { box-shadow: 0 0 0 0 rgba(246,181,30,0); }
}

.marquee { position: relative; overflow: hidden; margin-top: .6rem; }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 3; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track { display: flex; width: max-content; animation: roll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee .post {
  flex: 0 0 clamp(228px, 26vw, 300px); aspect-ratio: 4/3; margin-right: 16px;
  background: var(--surface);
}
.marquee .post img { transition: transform .55s var(--ease); }
.marquee .post:hover img { transform: scale(1.06); }
.post-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 13px;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(transparent, rgba(8,11,15,.92));
}
.post-handle { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em; color: var(--text); }
/* inbäddat Facebook-flöde — centrerat */
.fb-embed {
  max-width: 500px; margin: .4rem auto 0;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--surface);
}
.fb-embed iframe { display: block; width: 100%; }

.social-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 1.5rem; }
.social-cta a { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-bright); }
.social-cta a:hover { color: var(--text); }

/* ---------- om oss ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feature { background: var(--surface); padding: clamp(26px, 3.4vw, 42px); transition: background .3s; }
.feature:hover { background: var(--surface-2); }
.feature-num { font-family: var(--font-mono); color: var(--brand-bright); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.feature h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; margin: .6rem 0 .7rem; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- om oss: historia + tidslinje ---------- */
.story { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 3.4rem; align-items: start; }
.story-prose p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.06rem; }
.story-prose p:last-child { margin-bottom: 0; }
.story-prose strong { color: var(--text); font-weight: 600; }
.timeline { list-style: none; border-left: 1px solid var(--line-strong); padding-left: 0; margin-top: .3rem; }
.timeline li { position: relative; padding: 0 0 1.5rem 1.7rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: .35em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--bg);
}
.timeline li:last-child::before { background: var(--amber); }
.t-year { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-bright); margin-bottom: 4px; }
.timeline li:last-child .t-year { color: var(--amber); }
.t-text { color: var(--muted); font-size: .96rem; line-height: 1.5; }

/* ---------- omdömen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 1rem; transition: border-color .3s, transform .3s var(--ease); }
.review:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.stars { color: var(--amber); letter-spacing: 3px; font-size: 1rem; }
.review p { color: var(--text); font-size: 1.02rem; }
.review footer { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.rev-name { font-weight: 700; }
.rev-meta { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.reviews-cta { margin-top: 2.6rem; text-align: center; }

/* utvalt omdöme */
.review-featured {
  position: relative; margin-bottom: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--r);
  padding: clamp(30px, 5vw, 58px);
}
.review-featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); }
.rf-quote {
  position: absolute; top: -.15em; right: .3em; z-index: 0;
  font-family: var(--font-display); font-weight: 900; font-size: 12rem; line-height: 1;
  color: var(--brand); opacity: .12; pointer-events: none;
}
.review-featured blockquote {
  position: relative; z-index: 1; margin: 0; max-width: 62ch;
  font-size: clamp(1.15rem, 2.1vw, 1.6rem); line-height: 1.5; font-weight: 500; color: var(--text);
}
.review-featured figcaption { position: relative; z-index: 1; margin-top: 1.9rem; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.rf-stars { color: var(--amber); letter-spacing: 3px; font-size: 1.05rem; }
.rf-person { display: flex; flex-direction: column; gap: 2px; }
.rf-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.rf-role { font-size: .9rem; color: var(--muted); max-width: 46ch; }
.rf-company { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-bright); margin-top: 3px; }

/* rullande Google-omdömen */
.reviews-marquee { margin-top: 22px; }
.reviews-marquee .marquee-track { align-items: stretch; animation-duration: 52s; }
.review-card {
  flex: 0 0 clamp(280px, 33vw, 360px); margin-right: 16px; white-space: normal;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: .85rem;
}
.rc-head { display: flex; align-items: center; justify-content: space-between; }
.rc-g { width: 20px; height: 20px; }
.rc-stars { color: var(--amber); letter-spacing: 2px; font-size: .95rem; }
.rc-text { color: var(--text); font-size: 1rem; line-height: 1.55; flex: 1 0 auto; }
.rc-foot { display: flex; flex-direction: column; gap: 2px; margin-top: .3rem; }
.rc-name { font-weight: 600; font-size: .95rem; }
.rc-src { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- kontakt / cta ---------- */
.section--cta { background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0 1.6rem; display: grid; gap: .7rem; }
.contact-list li { display: flex; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.c-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); min-width: 92px; }
.contact-list a { color: var(--brand-bright); font-weight: 600; }
.contact-list a:hover { color: var(--text); }
.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--brand-bright); font-weight: 600; }
.social-links a:hover { color: var(--text); }

.cta-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 1.1rem; }
.cta-form label { display: flex; flex-direction: column; gap: .5rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cta-form input, .cta-form textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r); padding: .85em 1em;
  transition: border-color .2s; resize: vertical;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: var(--muted-2); }
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--brand-bright); }
.form-note { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; color: var(--muted-2); text-align: center; text-transform: none; }
.form-note.is-ok { color: var(--brand-bright); }
.form-note.is-err { color: var(--amber); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-brand .brand-mark { color: var(--brand-bright); margin-bottom: 14px; }
.footer-brand p { font-weight: 600; }
.footer-muted { color: var(--muted-2); font-weight: 400 !important; font-size: .9rem; }
.footer-nav { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--text); }
.footer-contact p { color: var(--muted); font-size: .95rem; }
.footer-contact a { color: var(--brand-bright); }
.footer-contact a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(8,10,14,.94); backdrop-filter: blur(10px); display: none; place-items: center; padding: 5vw; }
.lightbox.open { display: grid; }
.lightbox-body { max-width: 1000px; width: 100%; }
.lightbox-body .tile-shell { aspect-ratio: 16/10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-strong); }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: none; border: 1px solid var(--line-strong); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; }
.lightbox-close:hover { border-color: var(--brand-bright); color: var(--brand-bright); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in ~ .reveal { } /* stagger handled in JS via delay */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--surface); border-left: 1px solid var(--line); padding: 40px;
    transform: translateX(100%); transition: transform .4s var(--ease); z-index: 950;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 960; }
  .services, .features, .reviews, .cta-grid, .gallery, .social-strip { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-auto-rows: 200px; }
  .tile--tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .services, .features, .reviews, .cta-grid, .gallery, .social-strip, .hero-stats { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 240px; }
  .tile--wide { grid-column: span 1; }
  .ba-frame { aspect-ratio: 4/5; }
}
