/* ============================================================
   Dekor Måleri och Snickeri — Alingsås
   Modern skandinavisk design · ljus, luftig, professionell
   ============================================================ */

:root {
  --bg:        #EDE7DB;   /* varm sten/greige */
  --surface:   #FBF9F5;
  --sand:      #E0D7C6;   /* djupare sand för sektioner */
  --ink:       #22282A;   /* mörk kol/grafit text */
  --muted:     #5F6663;   /* dämpad grågrön */
  --line:      #D3C9B6;   /* tunna avdelare */
  --green:     #33544A;   /* nordisk gran */
  --green-dk:  #26413A;
  --wood:      #B07C4F;   /* varmt trä/ockra accent */
  --wood-dk:   #92613A;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(34, 40, 42, 0.06);
  --shadow-md: 0 12px 34px rgba(34, 40, 42, 0.10);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografi ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-dk);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 640px;
}
.section-title em { font-style: italic; color: var(--green); }
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}

section { padding: 96px 0; }
.section-sand { background: var(--sand); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dk); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--green-dk); }
.btn-light:hover { background: var(--sand); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Kampanjbanner (sommarerbjudande) ---------- */
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, var(--wood-dk), var(--wood));
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.promo-bar strong { font-weight: 800; }
.promo-bar .promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: background .2s ease;
}
.promo-bar:hover .promo-cta { background: rgba(255, 255, 255, 0.3); }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 231, 219, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
  transition: right .25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--green-dk);
  text-decoration: none;
  white-space: nowrap;
}
.nav-tel:hover { color: var(--wood-dk); }

/* Hamburger */
.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 10px;
  place-items: center;
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero p { max-width: 520px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 34px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.chip::before { content: "✓"; color: var(--green); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-card {
  position: absolute;
  left: -28px;
  bottom: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-card .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}
.hero-card .lbl {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Statistikband ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}
.stats-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 36px 16px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.1;
}
.stat .lbl {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Tjänstekort ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-media { height: 210px; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; flex: 1; }
.card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--green);
}
.card:hover .more { color: var(--wood-dk); }

/* ---------- Tjänster-sida: detaljrader ---------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.svc-row.flip .svc-media { order: 2; }
.svc-row h2 { font-size: 1.9rem; margin-bottom: 12px; }
.svc-row .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--wood);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 6px;
}
.checklist { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}
.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(51, 84, 74, 0.1);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* ---------- Galleri ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 30px;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: var(--sand);
  aspect-ratio: 4 / 3;
}
.g-item.tall { grid-row: span 2; aspect-ratio: auto; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(20, 26, 24, 0.72), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.g-item:hover .cap { opacity: 1; transform: translateY(0); }
.g-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 22, 21, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-cap {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  max-width: 80vw;
}
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 22px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Recensioner ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.review .stars { color: var(--wood); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.95rem; }
.review blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 20px;
}
.review .who { font-weight: 800; font-size: 0.9rem; }
.review .where { color: var(--muted); font-size: 0.82rem; font-weight: 600; }

/* ---------- Flugger-band ---------- */
.flugger {
  background: var(--green);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}
.flugger .eyebrow { color: #E8C79B; }
.flugger .eyebrow::before { background: #E8C79B; }
.flugger h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.flugger p { color: rgba(255,255,255,0.82); max-width: 480px; }
.flugger-offer {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.flugger-offer .num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  color: #E8C79B;
  line-height: 1;
}
.flugger-offer .lbl {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 8px 0 20px;
}

/* ---------- CTA-band ---------- */
.cta-band { text-align: center; }
.cta-band .section-title { margin: 0 auto 16px; }
.cta-band .lead { margin: 0 auto 34px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Om oss ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute;
  right: -20px;
  bottom: -20px;
  background: var(--wood);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
}
.about-badge .lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.value .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(51, 84, 74, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.value h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-item .ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(51, 84, 74, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.contact-item .lbl {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item .val { font-weight: 700; font-size: 1.02rem; }
.contact-item .val a { text-decoration: none; }
.contact-item .val a:hover { color: var(--green); }
.contact-item .sub { color: var(--muted); font-size: 0.86rem; font-weight: 500; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(51, 84, 74, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.8rem; margin-top: 14px; }
.form-success {
  display: none;
  background: rgba(51, 84, 74, 0.08);
  border: 1px solid rgba(51, 84, 74, 0.25);
  color: var(--green-dk);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  margin-top: 16px;
}
.form-success.show { display: block; }

.map-frame {
  margin-top: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Sidhuvud för undersidor ---------- */
.page-head {
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 64px;
}
.page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.page-head h1 em { font-style: italic; color: var(--green); }
.page-head .lead { max-width: 680px; }

/* ---------- Footer ---------- */
footer {
  background: #1D2624;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.92rem; max-width: 300px; margin-top: 16px; }
footer h4 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color .2s ease;
}
.footer-links a:hover { color: #E8C79B; }
.footer-links li { font-size: 0.94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Färgväljare-banner på startsidan ---------- */
.tool-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 46px 50px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tool-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.tool-band h2 em { font-style: italic; color: var(--green); }
.tool-band p { color: var(--muted); max-width: 440px; margin-bottom: 26px; }
.tool-band .tag { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.tool-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-swatches span {
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  transition: transform .25s ease;
}
.tool-band:hover .tool-swatches span { transform: scale(1.04); }
@media (max-width: 820px) {
  .tool-band { grid-template-columns: 1fr; padding: 34px 30px; gap: 30px; }
  .tool-swatches { grid-template-columns: repeat(8, 1fr); }
}

/* ---------- Färgväljare: egen kulör ---------- */
.fv-divider { height: 1px; background: var(--line); margin: 18px 0 14px; }
.fv-custom { display: flex; align-items: center; gap: 10px; }
.fv-custom input[type="text"] {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); padding: 11px 13px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink);
  outline: none; transition: border-color .2s ease;
}
.fv-custom input[type="text"]:focus { border-color: var(--green); }
.fv-custom input[type="text"].fv-invalid { border-color: #c0553f; }
.fv-custom input[type="color"] {
  width: 46px; height: 34px; padding: 0; border: 1px solid var(--line);
  border-radius: 8px; background: none; cursor: pointer;
}
.fv-code-msg { font-size: 0.76rem; margin-top: 8px; min-height: 1em; }
.fv-code-msg.ok { color: var(--green); }
.fv-code-msg.err { color: #c0553f; }

.fv-beta {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em;
  background: var(--wood); color: #fff;
  border-radius: 6px; padding: 2px 7px; vertical-align: middle; margin-left: 6px;
}
.fv-ai-status { font-size: 0.8rem; margin-top: 10px; min-height: 1.2em; color: var(--muted); line-height: 1.5; }
.fv-ai-status.ok { color: var(--green); font-weight: 600; }
.fv-ai-status.err { color: #c0553f; }

/* ---------- Färgväljare (visualizer) ---------- */
.fv-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-top: 40px; }
.fv-stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-canvas { display: block; max-width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.fv-drop {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 40px 24px;
  border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.fv-drop.drag { border-color: var(--green); background: rgba(51,84,74,0.04); }
.fv-drop .fv-ico { font-size: 2.4rem; }
.fv-drop strong { color: var(--ink); font-size: 1.05rem; }
.fv-drop small { font-size: 0.8rem; }
.fv-hidden { display: none !important; }

.fv-panel { display: flex; flex-direction: column; gap: 20px; }
.fv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fv-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.fv-card .fv-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }

.fv-group-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.fv-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fv-swatch {
  aspect-ratio: 1; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; padding: 0; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
  transition: transform .12s ease;
}
.fv-swatch:hover { transform: scale(1.08); }
.fv-swatch.active { border-color: var(--ink); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--green); }
.fv-current { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.fv-current .dot { width: 34px; height: 34px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); flex: 0 0 auto; }
.fv-current .meta strong { display: block; font-size: 0.92rem; }
.fv-current .meta small { color: var(--muted); font-size: 0.75rem; }

.fv-controls { display: flex; flex-direction: column; gap: 14px; }
.fv-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fv-row label { font-size: 0.78rem; font-weight: 700; color: var(--muted); min-width: 78px; }
.fv-range { flex: 1; accent-color: var(--green); }
.fv-toggle-group { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.fv-toggle-group button {
  border: 0; background: transparent; padding: 8px 16px; font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700; color: var(--muted); cursor: pointer;
}
.fv-toggle-group button.active { background: var(--green); color: #fff; }
.fv-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.fv-btn {
  flex: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 10px;
  padding: 10px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  color: var(--ink); cursor: pointer; transition: all .2s ease; min-width: 90px;
}
.fv-btn:hover { border-color: var(--green); color: var(--green); }
.fv-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.fv-steps { display: grid; gap: 10px; margin-top: 6px; }
.fv-step { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.fv-step .n {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(51,84,74,0.1); color: var(--green); font-weight: 800;
  font-size: 0.78rem; display: grid; place-items: center;
}
.fv-privacy { font-size: 0.76rem; color: var(--muted); margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.fv-note { font-size: 0.74rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* E-postgrind framför verktyget */
.fv-gate-holder { position: relative; }
.fv-gate-holder.locked { max-height: 560px; overflow: hidden; }
.fv-gate-holder.locked .fv-wrap { filter: blur(6px); pointer-events: none; user-select: none; opacity: 0.5; }
.fv-gate {
  position: absolute; inset: 0; z-index: 5;
  display: grid; place-items: center; padding: 20px;
}
.fv-gate.fv-hidden { display: none; }
.fv-gate-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; max-width: 440px; width: 100%; text-align: center;
  box-shadow: 0 18px 50px rgba(34,40,42,0.16);
}
.fv-gate-ico { font-size: 2rem; display: block; margin-bottom: 10px; }
.fv-gate-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.fv-gate-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.fv-gate-row { display: flex; gap: 8px; }
.fv-gate-row input {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; font: inherit; font-size: 0.9rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.fv-gate-row input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.fv-gate-row input.fv-invalid { border-color: #c0553f; background: #fdf5f3; }
.fv-gate-row .btn { flex: 0 0 auto; padding-inline: 20px; }
.fv-gate-msg { font-size: 0.8rem; margin-top: 10px; min-height: 1.2em; color: #c0553f; }
.fv-gate-consent { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .fv-wrap { grid-template-columns: 1fr; }
  .fv-swatches { grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 560px) {
  .fv-swatches { grid-template-columns: repeat(6, 1fr); }
  .fv-gate-card { padding: 26px 20px; }
  .fv-gate-row { flex-wrap: wrap; }
  .fv-gate-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Scroll reveal ---------- */
/* Döljs endast om JS är aktivt — annars visas allt direkt */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1000px) {
  section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 72px; }
  .hero-media { order: -1; margin-bottom: 8px; }
  .hero-media img { height: 400px; }
  .hero-card { left: 16px; }
  .cards, .reviews, .values { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .flugger, .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-media { order: 0; }
  .about-media img { height: 420px; }
  .about-badge { right: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .menu-btn { display: grid; }
  .nav-tel span { display: none; }
  .cards, .reviews, .values, .gallery { grid-template-columns: 1fr; }
  .g-item.tall { grid-row: auto; aspect-ratio: 4 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .flugger { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { padding: 14px 18px; }
  .brand-name small { letter-spacing: 0.12em; }
  .promo-bar { font-size: 0.8rem; gap: 8px; padding: 9px 14px; }
  .promo-bar .promo-cta { display: none; }
}
