/* =====================================================================
   STIL – Lundbergs fönsterputs
   Färger och typsnitt styrs från js/config.js (theme). Värdena i :root
   är reservvärden om JavaScript inte laddas.
   ===================================================================== */

:root {
  --primary: #1850FF;
  --primary-dark: #0F38C7;
  --accent: #FFC414;
  --dark: #0E1A4D;
  --text: #14192E;
  --muted: #5A6179;
  --bg: #FFFFFF;
  --bg-alt: #F2F4F8;
  --border: #E1E5EF;
  --radius: 20px;
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --heading-transform: uppercase;

  --container: 1180px;
  --gutter: 20px;
  --shadow: 0 16px 40px rgba(14, 26, 77, 0.10);
  --shadow-sm: 0 3px 10px rgba(14, 26, 77, 0.06);
  --shadow-blue: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh;
  overflow-x: hidden;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading); line-height: 0.98; margin: 0 0 0.45em; color: var(--dark);
  text-transform: var(--heading-transform); letter-spacing: 0.005em; font-weight: 800;
}
h1 { font-size: clamp(3rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h3 { font-size: 1.6rem; line-height: 1.05; }
h4 { font-size: 1.1rem; letter-spacing: 0.08em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--primary); }
.on-blue h1 em, .on-blue h2 em, .on-blue h3 em, .section-blue h2 em, .referral-box h2 em { color: var(--accent); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.section { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-blue { background: var(--primary); color: #fff; }
.section-blue h2, .section-blue h3 { color: #fff; }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; position: relative; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-blue .lead, .section-dark .lead { color: rgba(255,255,255,0.85); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.eyebrow::after { content: ""; width: 48px; height: 3px; background: var(--primary); border-radius: 2px; }
.section-head.center .eyebrow::before { content: ""; width: 48px; height: 3px; background: var(--primary); border-radius: 2px; }
.section-blue .eyebrow, .section-blue .eyebrow::after, .section-blue .eyebrow::before { color: var(--accent); background-color: var(--accent); }
.section-blue .eyebrow { background: none; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Gnistror och dekor ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco svg { display: block; }
.spark { position: absolute; pointer-events: none; }
.spark svg { width: 100%; height: 100%; display: block; }
.spark-blue { color: var(--primary); }
.spark-yellow { color: var(--accent); }
.spark-gray { color: #B9BFD0; }
.spark-white { color: #fff; }
.chev { position: absolute; pointer-events: none; width: 120px; height: 120px; }
.chev::before, .chev::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 36px;
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}
.chev::before { top: 0; background: var(--accent); }
.chev::after { top: 48px; background: var(--primary); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-family: var(--font-heading); font-weight: 700;
  font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.1;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--dark); box-shadow: 0 10px 24px rgba(255, 196, 20, 0.35); }
.btn-accent:hover { filter: brightness(1.05); color: var(--dark); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--bg-alt); color: var(--primary); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 11px 20px; font-size: 1rem; }
.btn .spk { font-size: 0.8em; opacity: 0.9; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Topprad ---------- */
.topbar { background: var(--primary); color: #fff; font-size: 0.9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-left span, .topbar-right span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }
.topbar .social { margin: 0; gap: 6px; }
.topbar .social a { width: 26px; height: 26px; background: transparent; border-radius: 6px; }
.topbar .social a:hover { background: rgba(255,255,255,0.15); }
.topbar .social svg { width: 15px; height: 15px; color: #fff; fill: currentColor; }
@media (max-width: 700px) { .topbar-right { display: none; } .topbar-left { gap: 14px; } .topbar-left .tb-addr { display: none; } }

/* ---------- Sidhuvud ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font-family: var(--font-heading); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.01em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { height: var(--logo-h, 44px); width: auto; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: var(--accent); flex-shrink: 0; }
.logo-mark svg { width: 24px; height: 24px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 10px 13px; border-radius: 999px; color: var(--text); font-weight: 700; font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.nav a:hover { background: var(--bg-alt); text-decoration: none; }
.nav a.active { color: var(--primary); }
.nav .btn { margin-left: 12px; }
.nav .nav-portal { gap: 8px; }
.nav .nav-portal svg { width: 18px; height: 18px; }
.nav .nav-portal + .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 2px solid var(--border); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--dark); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px var(--gutter) 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px; font-size: 1.25rem; border-radius: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 95% 10%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.hero-shape { position: absolute; background: #fff; opacity: 0.7; border-radius: 40px; transform: rotate(-12deg); pointer-events: none; }
.hero-inner { display: grid; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-bottom: 20px; }
/* Sloganen ska alltid vara två rader: storleken följer textkolumnens bredd (längsta raden är ca 7,2 em) */
.hero-inner > div:first-child { container-type: inline-size; min-width: 0; }
.hero h1 { font-size: min(clamp(3rem, 7.5vw, 5.6rem), 13.4cqi); white-space: nowrap; }
.hero .lead { max-width: 520px; font-size: 1.2rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--dark); }
.trust li::before { content: "✦"; color: var(--accent); font-size: 0.9rem; }

.hero-visual { position: relative; min-height: 380px; }
.hero-blob { position: absolute; inset: 6% -4% -4% 6%; background: var(--primary); border-radius: 48% 52% 45% 55% / 50% 44% 56% 50%; z-index: 0; }
.hero-photo { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; max-height: 560px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute; z-index: 2; background: #fff; color: var(--dark); border-radius: 999px; padding: 10px 18px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 8px;
}
.hero-chip::before { content: "✦"; color: var(--primary); }
.hero-chip.chip-yellow { background: var(--accent); }
.hero-chip.chip-yellow::before { color: var(--dark); }
.hero-chip:nth-of-type(1) { top: 8%; left: -6%; }
.hero-chip:nth-of-type(2) { bottom: 10%; right: -4%; }
@media (max-width: 899px) { .hero-visual { min-height: 0; } .hero-visual .chev { display: none; } .hero-photo { aspect-ratio: 4 / 3; } .hero-chip:nth-of-type(1) { left: 4%; } .hero-chip:nth-of-type(2) { right: 4%; } }

/* Postnummerkoll */
.postcode { margin-top: 26px; }
.postcode-label { font-weight: 700; font-family: var(--font-heading); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; color: var(--dark); }
.postcode-form { display: flex; gap: 8px; max-width: 440px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.postcode-form input { flex: 1; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 0; font: inherit; font-size: 1.05rem; background: transparent; color: var(--text); }
.postcode-form input:focus { outline: none; }
.postcode-form .btn { padding: 12px 22px; }
.postcode-msg { margin-top: 10px; font-weight: 600; min-height: 1.4em; }
.postcode-msg.ok { color: var(--primary); }
.postcode-msg.no { color: #C62828; }

/* ---------- Rullande band ---------- */
.band { background: var(--primary); color: #fff; overflow: hidden; padding: 18px 0; position: relative; }
.band-track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.band span { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
.band span::after { content: "✦"; color: var(--accent); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band:hover .band-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Platshållare för bilder ---------- */
.ph { display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--dark))); color: rgba(255,255,255,0.9); font-family: var(--font-heading); font-weight: 600; font-size: 1rem; min-height: 260px; border-radius: var(--radius); width: 100%; }
.ph span { display: block; opacity: 0.8; font-size: 0.8rem; margin-top: 6px; font-weight: 400; font-family: var(--font-body); }
.ph-avatar { aspect-ratio: 1; min-height: 0; border-radius: 50%; padding: 12px; font-size: 0.85rem; }
.ph svg { width: 48px; height: 48px; margin-bottom: 10px; opacity: 0.9; }

/* ---------- Kort och rutnät ---------- */
.grid { display: grid; gap: 26px; position: relative; z-index: 1; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Steg */
.step { position: relative; padding-top: 8px; }
.step-num { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 1.7rem; margin-bottom: 18px; box-shadow: var(--shadow-blue); position: relative; }
.step-num::after { content: "✦"; position: absolute; top: -6px; right: -6px; color: var(--accent); font-size: 1rem; }

/* Omdömen */
.review { display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1.15rem; }
.review blockquote { margin: 0; font-size: 1.05rem; flex: 1; }
.review-name { font-weight: 700; font-family: var(--font-heading); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; }
.review-name span { color: var(--muted); font-weight: 400; text-transform: none; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; }
.badge { position: absolute; top: 14px; right: 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 11px; border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-family: var(--font-body); }
.badge-accent { background: var(--accent); color: var(--dark); }

/* Tjänstekort (Kleanix-stil) */
.service { padding: 14px 14px 0; display: flex; flex-direction: column; overflow: hidden; }
.service-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 6px 12px; min-height: 48px; }
.service-top .badge { position: static; font-size: 0.8rem; padding: 7px 14px; }
.service-arrow { width: 44px; height: 44px; border-radius: 999px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-left: auto; transition: transform 0.15s; }
.service-arrow svg { width: 20px; height: 20px; }
.service:hover .service-arrow { transform: translateX(3px); }
.service-img { border-radius: calc(var(--radius) * 0.7); overflow: hidden; aspect-ratio: 4 / 3; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service:hover .service-img img { transform: scale(1.04); }
.service-body { background: color-mix(in srgb, var(--primary) 7%, #fff); margin: 14px -14px 0; padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.service .price { font-family: var(--font-heading); margin: 10px 0 16px; }
.service .price strong { font-size: 2.2rem; color: var(--primary); display: block; line-height: 1; }
.service .price .was { color: var(--muted); font-size: 0.9rem; font-family: var(--font-body); }
.service ul { list-style: none; padding: 0; margin: 0 0 22px; }
.service li { padding: 5px 0 5px 26px; position: relative; font-size: 0.98rem; }
.service li::before { content: "✦"; position: absolute; left: 2px; color: var(--primary); font-size: 0.8rem; top: 8px; }
.service .btn { width: 100%; margin-top: auto; }
.service.featured { border-color: var(--primary); box-shadow: var(--shadow); }

/* Text + bild */
.split { display: grid; gap: 44px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.split-image { position: relative; }
.split-image img, .split-image .ph { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-image::before { content: ""; position: absolute; inset: -14px auto auto -14px; width: 42%; height: 42%; background: var(--accent); border-radius: var(--radius); z-index: -1; }
.split-image::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 42%; height: 42%; background: var(--primary); border-radius: var(--radius); z-index: -1; }

/* FAQ */
.faq-list { max-width: 860px; margin-inline: auto; position: relative; z-index: 1; }
details.faq { border: 1px solid var(--border); border-radius: calc(var(--radius) * 0.8); background: var(--bg); margin-bottom: 12px; overflow: hidden; }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 60px 18px 24px; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; position: relative; color: var(--dark); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.2rem; }
details.faq[open] summary::after { content: "–"; background: var(--accent); color: var(--dark); }
details.faq[open] summary { border-bottom: 1px solid var(--border); }
details.faq .faq-body { padding: 16px 24px 20px; }
details.faq .faq-body p:last-child { margin: 0; }

/* Tabeller */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--primary); color: #fff; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.rut { color: var(--primary); font-weight: 700; }
td .unit { display: block; color: var(--muted); font-size: 0.85rem; }

/* Tipsa en vän / dela */
.referral-box { background: var(--primary); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 52px); display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .referral-box { grid-template-columns: 1.2fr 1fr; } }
.referral-box h2 { color: #fff; }
.referral-box p { color: rgba(255,255,255,0.9); }
.referral-box > * { position: relative; z-index: 1; }
.offer { background: rgba(255,255,255,0.1); border: 2px dashed var(--accent); border-radius: 14px; padding: 14px 18px; margin-top: 14px; }
.offer strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--accent); }
.offer span { font-size: 0.9rem; opacity: 0.85; }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }
.share button, .share a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); color: #fff; font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; text-decoration: none; }
.share button:hover, .share a:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); text-decoration: none; }
.share svg { width: 18px; height: 18px; fill: currentColor; }
.share-light button, .share-light a { border-color: var(--border); background: var(--bg); color: var(--dark); }
.share-light button:hover, .share-light a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.share-msg { font-size: 0.9rem; margin-top: 8px; min-height: 1.2em; opacity: 0.9; }

/* CTA-band */
.cta-band { text-align: center; overflow: hidden; }
.cta-band h2 { margin-bottom: 14px; font-size: clamp(2.8rem, 7vw, 5rem); }
.cta-band .lead { margin: 0 auto 28px; max-width: 540px; }
.cta-band .container { z-index: 1; }

/* ---------- Sidhuvud för undersidor ---------- */
.page-head { background: var(--bg-alt); padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.page-head h1 { margin-bottom: 12px; }
.page-head .lead { margin: 0; max-width: 640px; }
.page-head .container { z-index: 1; }

/* ---------- Formulär ---------- */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
form.booking { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-family: var(--font-heading); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: 14px; font: inherit; font-size: 1rem; background: var(--bg); color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid, form.was-validated :invalid { border-color: #C62828; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.radio-group { display: grid; gap: 10px; }
.radio-group label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--border); border-radius: 14px; cursor: pointer; font-weight: 400; font-family: var(--font-body); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.radio-group label:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--bg)); }
.radio-group input { margin-top: 4px; accent-color: var(--primary); width: auto; flex-shrink: 0; }
.check input { width: auto; }
.radio-group strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.radio-group span { color: var(--muted); font-size: 0.9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { margin-top: 5px; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.form-success { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; }
.form-success .icon { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; margin: 0 auto 16px; font-size: 2rem; font-weight: 800; }
.form-error { background: #FDECEA; border: 1px solid #F5C2BE; color: #7A1A14; border-radius: 12px; padding: 14px 16px; }
.contact-card { display: grid; gap: 18px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.contact-line .ico svg { width: 20px; height: 20px; }
.contact-line strong { display: block; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.05rem; }
.contact-line a { font-size: 1.05rem; }
.next-list { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.next-list li { position: relative; padding: 8px 0 8px 42px; counter-increment: n; }
.next-list li::before { content: counter(n); position: absolute; left: 0; top: 7px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--dark); font-weight: 800; font-size: 0.95rem; display: grid; place-items: center; font-family: var(--font-heading); }

/* ---------- Teamet ---------- */
.fc-row strong { font-weight: 700; margin-right: 2px; }
.fc-row .fc-tel { white-space: nowrap; }
@media (max-width: 899px) { .footer-contact { grid-column: 1 / -1; } }
.fc-row .fc-mail { display: block; font-size: 0.86em; opacity: 0.8; overflow-wrap: anywhere; }
.team-card { text-align: center; }
.team-card .ph-avatar, .team-card img { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; border: 5px solid var(--accent); }
.team-card h3 { margin-bottom: 4px; }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.85); padding: 64px 0 28px; margin-top: auto; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 36px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); position: relative; z-index: 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr 1.4fr; } }
.site-footer .logo { color: #fff; margin-bottom: 12px; white-space: normal; }
.site-footer .logo-mark { background: var(--primary); }
.site-footer h4 { color: var(--accent); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.1); display: grid; place-items: center; }
.social a:hover { background: var(--accent); color: var(--dark); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: rgba(255,255,255,0.65); position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .service-img img { transition: none; } }

/* ---------- Mobil: färre dekorationer, kortare topprad ---------- */
@media (max-width: 899px) {
  .hero > .spark, .page-head > .spark { display: none; }
  .hero-shape { display: none; }
}
@media (max-width: 560px) {
  .topbar-left span:nth-child(2) { display: none; }
}

/* ---------- Hero med videobakgrund ---------- */
.hero-video-mode { background: var(--dark); color: #fff; min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-video-mode .hero-inner { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; padding: clamp(56px, 8vw, 110px) 0; }
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video .hero-poster, .hero-video .hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video .hv { opacity: 0; transition: opacity 0.9s ease; }
.hero-video .hv.is-on { opacity: 1; }
.hero-video.is-playing .hero-poster { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 18, 60, calc(var(--overlay, 0.6) + 0.18)) 0%, rgba(10, 18, 60, var(--overlay, 0.6)) 55%, rgba(10, 18, 60, calc(var(--overlay, 0.6) - 0.25)) 100%); }
.hero-video-mode h1, .hero-video-mode .postcode-label, .hero-video-mode .trust li { color: #fff; }
.hero-video-mode .lead { color: rgba(255,255,255,0.88); }
.hero-video-mode .eyebrow { color: var(--accent); }
.hero-video-mode .eyebrow::after { background: var(--accent); }
.hero-video-mode .postcode-form { border-color: transparent; }
.hero-video-mode .postcode-msg.ok { color: var(--accent); }
.hero-video-mode .postcode-msg.no { color: #FFB4A2; }
.hero-video-mode .btn-outline-light { border-color: rgba(255,255,255,0.7); }
.hero-side { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-end; justify-content: center; min-height: 200px; }
.hero-side .hero-chip { position: static; }
.hero-side .hero-chip:nth-of-type(2) { margin-right: 18%; }
@media (max-width: 899px) { .hero-side { align-items: flex-start; min-height: 0; flex-direction: row; flex-wrap: wrap; } .hero-side .hero-chip:nth-of-type(2) { margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-video .hv { display: none; } }

/* ---------- VSL-sektion ---------- */
.vsl-layout { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .vsl-layout { grid-template-columns: 0.9fr 1.1fr; } }
.vsl-points { list-style: none; padding: 0; margin: 10px 0 0; }
.vsl-points li { padding: 6px 0 6px 28px; position: relative; font-weight: 600; }
.vsl-points li::before { content: "✦"; position: absolute; left: 2px; color: var(--accent); }
.vsl-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--dark); box-shadow: var(--shadow); }
.vsl-player::before { content: ""; position: absolute; inset: -14px auto auto -14px; width: 40%; height: 40%; background: var(--accent); border-radius: var(--radius); z-index: -1; }
.vsl-player .vsl-poster { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); }
.vsl-player iframe, .vsl-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; }
.vsl-play { width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: var(--dark); border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,0.35); transition: transform 0.15s; }
.vsl-play svg { width: 40px; height: 40px; margin-left: 4px; }
.vsl-play:hover { transform: scale(1.06); }
.vsl-play-soon { background: rgba(255,255,255,0.18); color: #fff; border: 2px dashed rgba(255,255,255,0.6); box-shadow: none; cursor: default; }
.vsl-label { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.08em; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ---------- Bokningskort i hero (tre steg) ---------- */
.hero-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); position: relative; z-index: 2; }
.hero-card-head h3 { color: var(--dark); font-size: 1.9rem; margin-bottom: 2px; }
.hero-card-head p { margin: 0 0 14px; }
.wiz-steps { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 6px; }
.wiz-steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-bottom: 8px; border-bottom: 3px solid var(--border); }
.wiz-steps li span { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); color: var(--muted); display: grid; place-items: center; font-size: 0.8rem; flex-shrink: 0; }
.wiz-steps li.is-active { color: var(--primary); border-color: var(--primary); }
.wiz-steps li.is-active span { background: var(--primary); color: #fff; }
.wiz-steps li.is-done { color: var(--dark); border-color: var(--accent); }
.wiz-steps li.is-done span { background: var(--accent); color: var(--dark); }
form.wizard { gap: 14px; }
form.wizard .wiz-pane { display: grid; gap: 12px; }
form.wizard .wiz-pane[hidden], .wiz-nav [hidden] { display: none; }
form.wizard .wiz-title { font-size: 1.35rem; color: var(--dark); margin: 0 0 2px; letter-spacing: 0.02em; }
form.wizard .field label { font-size: 0.95rem; }
form.wizard .field input, form.wizard .field select { padding: 11px 14px; font-size: 0.98rem; }
form.wizard .field-row { gap: 12px; }
form.wizard .postcode-msg { margin: 0; font-weight: 600; min-height: 0; }
form.wizard .postcode-msg.ok { color: var(--primary); }
form.wizard .postcode-msg.no { color: #C62828; }
.scope-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.scope-field legend { margin-bottom: 8px; padding: 0; }
form.wizard .scope-field legend { font-size: 0.95rem; }
.scope-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scope-chips label { position: relative; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px 6px; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--dark); background: var(--bg); margin: 0; }
.scope-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.scope-chips label:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, var(--bg)); color: var(--primary); }
.scope-chips label:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--primary) 40%, transparent); outline-offset: 2px; }
.radio-compact { gap: 8px; }
.radio-compact label { padding: 10px 12px; }
.radio-compact strong { font-size: 1.1rem; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.radio-compact .rp { font-size: 0.95rem; color: var(--primary); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.radio-compact span:not(.rp) { font-size: 0.85rem; }
.wiz-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 4px; }
.wiz-nav .wiz-next, .wiz-nav .wiz-submit { margin-left: auto; }
.wiz-helper { margin: 0; text-align: center; }
.hero-card .form-success { padding: 28px 16px; }
.hero-card .form-success h2 { font-size: 2rem; }
@media (max-width: 899px) { .hero-card { padding: 20px 18px; } .wiz-steps li { font-size: 0.8rem; gap: 6px; } .hero-jump { display: inline-flex; } }
@media (min-width: 900px) { .hero-jump { display: none; } .hero-video-mode .hero-inner { align-items: center; } }

/* ---------- Värvning: tre nummer, rabatt, boka nästa ---------- */
.referral-box { grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 860px) { .referral-box { grid-template-columns: 1fr; } }
.referral-box > .spark { position: absolute; z-index: 0; }
.referral-head { max-width: 720px; }
.referral-head .eyebrow { color: var(--accent); }
.referral-head .eyebrow::after { background: var(--accent); }
.referral-head h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.referral-head p { font-size: 1.1rem; margin: 0; }
.referral-form { display: grid; gap: 22px; }
@media (min-width: 860px) { .referral-form { grid-template-columns: 1fr 1fr; } .referral-foot { grid-column: 1 / -1; } }
.referral-col { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: calc(var(--radius) * 0.8); padding: 22px; display: grid; gap: 12px; align-content: start; }
.referral-col h3 { color: #fff; display: flex; align-items: center; gap: 10px; margin: 0; }
.rnum { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.rhint { color: rgba(255,255,255,0.75); margin: -4px 0 4px; }
.referral-col .field label { color: #fff; font-size: 0.95rem; }
.referral-col .field input, .referral-col .field select { padding: 11px 14px; border-color: transparent; background: #fff; color: var(--text); }
.referral-col .field input:focus, .referral-col .field select:focus { border-color: var(--accent); }
.referral-col .field-row { gap: 12px; }
.referral-form.was-validated :invalid { border-color: #FF8A80; box-shadow: 0 0 0 2px rgba(255,138,128,0.4); }
.referral-foot { display: grid; gap: 14px; }
.referral-foot .check { color: rgba(255,255,255,0.9); }
.referral-submit { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.referral-submit .badge { position: static; font-size: 0.9rem; padding: 8px 14px; }
.referral-share { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 18px; }
.referral-share .share-title { font-size: 1rem; margin-bottom: 10px; }
.referral-box .form-success { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; }
.referral-box .form-success h2 { color: #fff; }
.referral-box .form-success .lead { color: rgba(255,255,255,0.85); }
.referral-box .form-error { background: #FFE9E6; }

/* ---------- Pris efter besök ---------- */
.price-inspect strong { font-size: 1.5rem !important; }
.wiz-note { margin: 2px 0 0; font-size: 0.9rem; color: var(--dark); background: color-mix(in srgb, var(--accent) 22%, #fff); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.inspect-box { display: flex; gap: 18px; align-items: flex-start; background: var(--primary); color: #fff; border-radius: var(--radius); padding: 26px 28px; margin-bottom: 44px; }
.inspect-box h3 { color: #fff; margin-bottom: 6px; }
.inspect-box p { margin: 0; color: rgba(255,255,255,0.9); }
.inspect-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; flex-shrink: 0; }
.inspect-ico svg { width: 24px; height: 24px; }

/* ---------- Juridiska sidor ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin: 36px 0 10px; letter-spacing: 0.02em; }
.legal h2:first-of-type { margin-top: 8px; }
.legal p { margin-bottom: 0.9em; }
.legal-contact { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.check a { color: var(--primary); text-decoration: underline; }

/* ---------- Scrollpanel: fönstret som putsas ---------- */
.stage { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 0 56px; width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; align-items: stretch; }
.stage-content { min-width: 0; }
.stage-content .container { width: 100%; }
.stage-content .section-alt { box-shadow: 0 0 0 100vmax var(--bg-alt); clip-path: inset(0 -100vmax); }
.stage-content .grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.stage-content .section { padding: clamp(56px, 7vw, 92px) 0; }
.stage-content .section-head { max-width: none; }
.stage-content .lead { font-size: 1.2rem; }
.stage-content .step p, .stage-content .review blockquote { font-size: 1.08rem; }
.stage-content .spark { display: none; }
.stage-visual { position: relative; z-index: 2; align-self: stretch; }
.stage-sticky { position: sticky; top: var(--stage-top, 124px); height: calc(100vh - var(--stage-top, 124px)); padding: 14px 0 0; display: flex; flex-direction: column; }
/* Fönstret: vit karm (ytterram), båge (innerram) och glas med sex rutor. Allt under menyn, full höjd. */
.window { position: relative; flex: 1; min-height: 0; width: 100%; border-radius: 6px 6px 0 0;
  background: linear-gradient(90deg, #E9E7E1 0, #F7F6F2 3%, #FBFAF7 50%, #F4F2EE 97%, #E2E0D9 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(0,0,0,0.07), inset 0 2px 0 rgba(255,255,255,0.9); }
.sash { position: absolute; inset: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #FFFFFF 0, #F6F5F1 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.13), 0 3px 6px rgba(0,0,0,0.12), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,0.05); }
.glass { position: absolute; inset: 15px; overflow: hidden; background: #7e9aa8;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.18), 0 0 0 3px #EDEBE6; }
.win-photo { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.95) contrast(1.02); }
.foam { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: clip-path; }
.bead { position: absolute; left: 0; top: 0; height: 11px; width: 50%; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform;
  background:
    radial-gradient(circle at 20% 60%, rgba(255,255,255,0.95) 0 1.4px, transparent 1.6px) 0 0 / 7px 9px,
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.8) 0 1px, transparent 1.2px) 3px 0 / 9px 9px,
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.65) 55%, rgba(255,255,255,0));
  filter: blur(0.35px); }
/* Rutorna: skugga från glaslisten innanför varje ruta */
.panes { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); z-index: 3; pointer-events: none; }
.panes i { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.16), inset 3px 3px 7px rgba(0,0,0,0.22), inset -1px -1px 2px rgba(255,255,255,0.25); }
/* Spröjs: vita profiler med rundad kant */
.mullion { position: absolute; z-index: 4; pointer-events: none; }
.mullion-v { top: 0; bottom: 0; left: 50%; width: 13px; transform: translateX(-50%);
  background: linear-gradient(90deg, #D4D1CA 0, #F3F2EE 18%, #FFFFFF 45%, #F7F6F2 70%, #DAD7D0 88%, #C4C1BA 100%);
  box-shadow: 1px 0 3px rgba(0,0,0,0.25), -1px 0 2px rgba(0,0,0,0.12); }
.mullion-h { left: 0; right: 0; height: 13px; transform: translateY(-50%);
  background: linear-gradient(180deg, #D4D1CA 0, #F3F2EE 18%, #FFFFFF 45%, #F7F6F2 70%, #DAD7D0 88%, #C4C1BA 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 -1px 2px rgba(0,0,0,0.1); }
.mh-1 { top: 33.333%; } .mh-2 { top: 66.667%; }
/* Reflex i glaset */
.sheen { position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0) 28%, rgba(255,255,255,0.10) 38%, rgba(255,255,255,0.03) 46%, rgba(255,255,255,0) 52%, rgba(255,255,255,0.06) 64%, rgba(255,255,255,0) 70%),
              linear-gradient(180deg, rgba(190,215,235,0.10), rgba(190,215,235,0)); }
/* Skrapan ligger över glaset men utanför glasets kant, så handtaget kan sticka upp över bågen */
.sq-layer { position: absolute; inset: 15px; z-index: 6; pointer-events: none; }
.squeegee { position: absolute; left: 0; top: 0; width: 50%; will-change: transform; transition: opacity 0.25s;
  filter: drop-shadow(0 12px 14px rgba(0,0,0,0.35)) drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
.squeegee svg { width: 100%; height: auto; display: block; overflow: visible; }
.stage-caption { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); margin: 0; z-index: 5; background: rgba(255,255,255,0.92); color: var(--primary); border-radius: 999px; padding: 10px 20px; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; box-shadow: 0 6px 18px rgba(0,0,0,0.2); white-space: nowrap; }
@media (max-width: 999px) { .stage { display: block; width: auto; } .stage-visual { display: none; } .stage-content .section-alt { box-shadow: none; clip-path: none; } .stage-content .spark { display: block; } }

/* ---------- Nöjd-garanti ---------- */
.guarantee { overflow: hidden; }
.guarantee-image { position: relative; }
.guarantee-image::before { background: var(--primary); }
.guarantee-image::after { background: var(--accent); }
.stamp { position: absolute; right: -18px; bottom: -18px; width: 150px; height: 150px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: 0 14px 30px rgba(0,0,0,0.25); border: 5px solid #fff; font-family: var(--font-heading); text-transform: uppercase; line-height: 1; }
.stamp-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.stamp-small { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; margin-top: 4px; }
.guarantee-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.guarantee-points li { display: grid; gap: 2px; padding: 14px 16px 14px 52px; position: relative; background: var(--bg-alt); border-radius: 14px; }
.guarantee-points li::before { content: "✓"; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 0.9rem; }
.guarantee-points strong { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.15rem; color: var(--dark); }
.guarantee-points span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 600px) { .stamp { width: 120px; height: 120px; right: -8px; bottom: -8px; } .stamp-big { font-size: 2rem; } }
.tb-hours { font-weight: 700; }
.tb-hours svg { color: var(--accent); }

/* ---------- Logga som SVG ---------- */
.logo-svg { display: inline-flex; align-items: center; height: var(--logo-h, 64px); overflow: visible; }
.logo-svg img, .logo-svg svg { height: 100%; width: auto; display: block; }
.site-footer .logo-svg { height: 72px; }
@media (max-width: 560px) { .logo-svg { height: calc(var(--logo-h, 64px) * 0.8); } }
.logo-svg svg text { font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important; text-transform: none !important; }
.logo:has(.logo-svg) { text-transform: none; }

/* ---------- Tidslinje (Så funkar det), horisontell ---------- */
.timeline { position: relative; max-width: 1180px; margin-inline: auto; padding: 10px 0 10px; }
.tl-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 12px; position: relative; z-index: 1; }
.tl-item { text-align: center; padding: 0 6px; }
.tl-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 18px; background: var(--bg-alt); color: var(--muted); display: grid; place-items: center; transition: background 0.35s, color 0.35s, transform 0.35s; }
.tl-icon svg { width: 36px; height: 36px; }
.tl-item.is-done .tl-icon { background: var(--primary); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-blue); }
.tl-item.tl-end.is-done .tl-icon { background: var(--accent); color: var(--dark); box-shadow: 0 10px 24px rgba(255,196,20,0.4); }
.tl-marker { width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg); border: 4px solid var(--border); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--muted); transition: all 0.3s; position: relative; }
.tl-item.is-done .tl-marker { background: var(--primary); border-color: var(--primary); color: #fff; }
.tl-item.tl-end.is-done .tl-marker { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.tl-item h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--muted); transition: color 0.3s; }
.tl-item p { font-size: 0.97rem; color: var(--muted); margin: 0; opacity: 0.7; transition: opacity 0.3s; }
.tl-item.is-done h3 { color: var(--dark); }
.tl-item.is-done p { opacity: 1; }
/* Spåret ligger i markörernas mitt: ikon 64 + 14 + halva markören 22 = 100 px, plus toppmarginal 10 */
.tl-track { position: absolute; left: 10%; right: 10%; top: 107px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; z-index: 0; }
.tl-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; transition: width 0.08s linear; }
.tl-label { display: none; }
@media (max-width: 760px) {
  .timeline { padding-left: 0; }
  .tl-steps { grid-template-columns: 1fr; gap: 26px; }
  .tl-item { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 18px; text-align: left; padding-left: 0; }
  .tl-icon { grid-column: 1; grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; }
  .tl-icon svg { width: 30px; height: 30px; }
  .tl-marker { display: none; }
  .tl-item h3 { grid-column: 2; margin: 4px 0 2px; }
  .tl-item p { grid-column: 2; }
  .tl-track { left: 25px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .tl-fill { width: 100%; height: 0; background: linear-gradient(180deg, var(--primary), var(--accent)); transition: height 0.08s linear; }
}


/* ---------- Omdömesmärke ---------- */
.rating-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--dark); text-decoration: none; font-size: 0.95rem; }
.rating-badge:hover { text-decoration: none; border-color: var(--primary); }
.rating-badge .rb-stars { color: var(--accent); letter-spacing: 1px; }
.rating-badge strong { font-family: var(--font-heading); font-size: 1.2rem; }
.rating-badge .rb-meta { color: var(--muted); }
.rating-badge.is-light { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }
.rating-badge.is-light .rb-meta { color: rgba(255,255,255,0.8); }
.section-head.center .rating-badge { margin-top: 10px; }

/* ---------- Redan kund? ---------- */
.section-existing { padding: 0 0 clamp(40px, 6vw, 72px); }
.existing { display: grid; gap: 22px; align-items: center; background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
@media (min-width: 900px) { .existing:not(.is-compact) { grid-template-columns: 1fr 1.3fr; } }
.existing h3 { color: #fff; font-size: 1.8rem; margin-bottom: 6px; }
.existing p { margin: 0; color: rgba(255,255,255,0.85); }
.existing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.4); color: #fff; font-weight: 600; font-size: 0.93rem; text-decoration: none; }
.chip svg { width: 16px; height: 16px; fill: currentColor; }
.chip:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); text-decoration: none; }
.existing.is-compact { background: var(--bg-alt); color: var(--text); padding: 0; }
.existing.is-compact h3 { color: var(--dark); font-size: 1.4rem; }
.existing.is-compact p { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.existing.is-compact .chip { border-color: var(--border); color: var(--dark); background: var(--bg); font-size: 0.88rem; padding: 8px 12px; }
.existing.is-compact .chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Områden ---------- */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-list li { padding: 10px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--dark); }
.area-list li::before { content: "✦ "; color: var(--accent); }
.area-list li.area-more, .section-alt .area-list li.area-more { background: var(--primary); border-color: var(--primary); }
.area-list .area-more a { color: #fff; }
.area-list .area-more::before { content: none; }
.section-alt .area-list li { background: #fff; }
.page-head + .section .area-list { justify-content: flex-start; }

/* ---------- Förberedelser ---------- */
.card.prep h3 { font-size: 1.3rem; }
.card.prep p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Tack-vy: nästa steg ---------- */
.next-success { text-align: left; max-width: 460px; margin: 20px auto 0; }

/* ---------- Mobil snabblist ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(14,26,77,0.12); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 999px; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1rem; color: var(--dark); background: var(--bg-alt); text-decoration: none; }
  .mobile-bar a svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar a:first-child svg { fill: none; stroke: currentColor; }
  .mobile-bar a.is-primary { background: var(--primary); color: #fff; }
  body { padding-bottom: 72px; }
  .site-footer { padding-bottom: 60px; }
}

/* Tipsa en granne (utan vänners nummer: kunden delar sin egen länk) */
.referral-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .referral-steps { grid-template-columns: repeat(3, 1fr); } }
.referral-steps li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: calc(var(--radius) * 0.8); padding: 18px 20px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.referral-steps h3 { color: #fff; margin: 2px 0 4px; font-size: 1.35rem; }
.referral-steps p { margin: 0; font-size: 1rem; }
.referral-actions { display: grid; gap: 18px; align-items: end; }
@media (min-width: 860px) { .referral-actions { grid-template-columns: auto 1fr; } }
.referral-actions > .btn { justify-self: start; }
.referral-code label { display: block; font-weight: 700; margin-bottom: 8px; color: #fff; }
.referral-code-row { display: flex; gap: 10px; flex-wrap: wrap; }
.referral-code input { flex: 1 1 180px; min-height: 50px; padding: 10px 16px; border-radius: 999px; border: 2px solid transparent; font: inherit; text-transform: uppercase; letter-spacing: .06em; }
.referral-code input:focus { outline: none; border-color: var(--accent); }
.referral-terms { color: rgba(255,255,255,0.8); margin: 0; }
.referral-terms a { color: #fff; text-decoration: underline; }
.legal h2[id], section[id] { scroll-margin-top: 110px; }
