/* ==========================================================================
   Klixa – marknadsföringssida
   Färger och typsnitt styrs via CSS-variablerna nedan.
   ========================================================================== */

/* ---------- 0. Typsnitt (självhostat, se fonts/OFL.txt för licens) ----------
   Plus Jakarta Sans i tre vikter: 400 (brödtext), 700 (fet) och 800 (rubriker). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Variabler ---------- */
:root {
  --ink: #12143a;
  --ink-2: #1c1f52;
  --indigo: #2e3290;
  --indigo-soft: #e9eaf8;
  --accent: #2dd4bf;
  --accent-strong: #14b8a6;
  --accent-text: #0f766e;
  --bg: #ffffff;
  --bg-alt: #f5f6fb;
  --text: #1b1d3a;
  --muted: #565a78;
  --border: #e1e3f0;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(18, 20, 58, 0.06);
  --shadow: 0 10px 30px rgba(18, 20, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 20, 58, 0.16);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --container: 1160px;
}

/* ---------- 2. Grund ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--indigo);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  max-width: 820px;
}

/* ---------- 3. Knappar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
}

.btn-xl {
  padding: 1.15rem 2.5rem;
  font-size: 1.25rem;
  min-width: 220px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--indigo);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: #5eead4;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(45, 212, 191, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--indigo-soft);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 100%);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--indigo);
}

.nav a.nav-cta {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.nav a.nav-cta:hover {
  background: var(--indigo);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 5. Gemensamt för sektioner ---------- */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  font-size: 1.125rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow-light {
  color: var(--accent);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(45, 212, 191, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(99, 102, 241, 0.25), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, #23277a 100%);
  color: #d9dbf5;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: var(--accent);
}

.hero-lead {
  max-width: 56ch;
  font-size: clamp(1.075rem, 1.6vw, 1.2rem);
  color: #c9cbef;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e4e5fa;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312143a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Skärmdumpar av exempelsidorna (dator + mobil) */
.hero-visual {
  position: relative;
  padding: 1rem 2.5rem 2.5rem 0;
}

.mock-browser {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: #eef0f8;
}

.mock-bar > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9cce0;
}

.mock-url {
  margin-left: 0.75rem;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.75rem;
  color: var(--muted);
}

.mock-shot {
  width: 100%;
  height: auto;
}

.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  padding: 7px;
  border-radius: 26px;
  background: #0b0c26;
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
}

.mock-phone-shot {
  width: 100%;
  height: auto;
  border-radius: 19px;
}

/* ---------- 7. Paket / priser ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-card.is-featured {
  border: 2px solid var(--accent-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}

.price-card.is-featured:hover {
  transform: translateY(-16px);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card-head {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.price-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
}

.price-pages {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 0.85rem;
  font-weight: 700;
}

.price {
  margin: 1.1rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
}

.price-amount {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.price-desc {
  color: var(--muted);
  font-size: 1rem;
}

.feature-list {
  flex-grow: 1;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.99rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d5f7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.price-card-actions {
  display: grid;
  gap: 0.75rem;
}

.pricing-note {
  margin-top: 3rem;
  text-align: center;
  color: var(--muted);
}

.pricing-note a {
  font-weight: 700;
}

/* ---------- 8. Så funkar det ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: steg;
}

.step {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- 9. Fördelar ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit {
  text-align: center;
  padding: 0 0.5rem;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #d5f7f1 0%, var(--indigo-soft) 100%);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--indigo);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- 10. Om mig ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

/* Klixa-kort (visitkortsstil) – ersätter porträttfoto, som Richard inte vill ha */
.about-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  color: #d9dbf5;
  background:
    radial-gradient(320px 260px at 85% 0%, rgba(45, 212, 191, 0.35), transparent 65%),
    linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 55%, var(--indigo) 100%);
  box-shadow: var(--shadow-lg);
}

/* Diskret stort "K" i bakgrunden som dekoration */
.about-card::after {
  content: "K";
  position: absolute;
  right: -0.08em;
  bottom: -0.32em;
  font-size: 15rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.about-card-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.about-card-brandname {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.about-card .logo-mark {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.about-card-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-card-monogram {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.about-card-role {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

.about-card-facts {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}

.about-card-facts li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.about-card-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.about-card-facts strong {
  color: var(--white);
}

.about-card-domain {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.about-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.about-text .btn {
  margin-top: 0.75rem;
}

.about-text .eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  color: var(--accent-text);
}

/* ---------- 11. FAQ ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-strong);
}

.faq-item summary {
  position: relative;
  padding: 1.25rem 3.75rem 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
}

/* ---------- 12. Kontakt ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(45, 212, 191, 0.18), transparent 65%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: #d9dbf5;
  text-align: center;
}

.contact-inner {
  max-width: 820px;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-lead {
  max-width: 58ch;
  margin: 0 auto 2.5rem;
  font-size: 1.15rem;
  color: #c9cbef;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* E-post och Ort */
  gap: 1rem;
  max-width: 640px;
  margin-inline: auto;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: var(--white);
  overflow-wrap: anywhere;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-details a {
  color: var(--white);
}

.contact-details a:hover {
  color: var(--accent);
}

/* ---------- 13. Footer ---------- */
.site-footer {
  padding: 2.75rem 0;
  background: #0b0c26;
  color: #a9acd0;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  color: #d4d6f0;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 13b. Tillägg: paket, villkor, om mig, referenser ---------- */
.section-branches {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--indigo);
}

/* Ingår i alla paket */
.included-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
  max-width: 960px;
  margin: 0 auto 3rem;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.included-all-title {
  font-weight: 800;
  color: var(--ink);
}

.included-all-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.97rem;
}

.included-all-list li {
  position: relative;
  padding-left: 1.6rem;
}

.included-all-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d5f7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Miniatyrbild överst i paketkorten */
.price-thumb {
  display: block;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.price-thumb img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.price-thumb:hover img {
  transform: scale(1.03);
}

/* Villkor i webbhotellsrutan (.hosting-box) */
.hosting-vat {
  font-size: 0.85rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0;
}

.hosting-terms {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.97rem;
  color: #334155;
}

.hosting-terms div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
}

.hosting-terms dt {
  font-weight: 700;
  color: var(--ink);
}

.first-year {
  max-width: 960px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.97rem;
  color: var(--muted);
}

.first-year strong {
  color: var(--ink);
}

/* Leveranstid och betalning under "Så funkar det" */
.steps-terms {
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.steps-terms strong {
  color: var(--ink);
}

/* Punkter i "Om mig" */
.about-points {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}

.about-points li {
  position: relative;
  padding-left: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d5f7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Referenser (sektionen är dold tills det finns riktiga kundcitat) */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
  margin-bottom: 1rem;
  font-size: 1.08rem;
  color: var(--text);
}

.testimonial figcaption {
  font-weight: 700;
  color: var(--muted);
}

/* Kontakt: kopiera-knapp för e-postadressen */
.copy-btn {
  align-self: center;
  margin-top: 0.4rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Fast bottenlist med en bred "Mejla mig"-knapp (visas bara på mobil, se 14. Responsivt).
   Bara mejl tills vidare – Ring och Sms är borttagna. */
.mobile-cta {
  display: none;
}

/* ---------- 14. Responsivt ---------- */
@media (max-width: 1024px) {
  .steps,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    gap: 1.25rem;
  }

  .price-card {
    padding: 2rem 1.5rem 1.75rem;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 520px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
    gap: 2.25rem;
  }

  .price-card.is-featured,
  .price-card.is-featured:hover {
    transform: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  /* På smal skärm: rubrik och text först, kortet under */
  .about-card {
    order: 2;
    max-width: 520px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav a.nav-cta {
    margin-top: 0.9rem;
    text-align: center;
    border-bottom: 0;
  }

  /* Plats för bottenlisten så att sidfoten inte täcks
     (knapp 48 px + 2 × 0.5rem luft + 1 px kantlinje ≈ 65 px) */
  body {
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: grid;
    grid-template-columns: 1fr; /* en knapp över hela bredden */
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    backdrop-filter: saturate(160%) blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(18, 20, 58, 0.08);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    border-radius: 999px;
    background: var(--indigo-soft);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta a.mobile-cta-mail {
    background: var(--accent);
  }

  .mobile-cta svg {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (max-width: 600px) {
  .steps,
  .benefits,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 340px;
    padding: 0.5rem 1.75rem 1.75rem 0;
  }

  .mock-bar {
    padding: 0.5rem 0.7rem;
  }

  .mock-phone {
    width: 104px;
    padding: 5px;
    border-radius: 18px;
  }

  .mock-phone-shot {
    border-radius: 13px;
  }

  .hosting-terms div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-actions .btn,
  .contact-buttons .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Fokus som flyttas via JS (mjuk scroll) ska inte ge ram runt hela sektionen */
[tabindex="-1"]:focus {
  outline: none;
}

/* ------------------------------------------------------------
   Pristillägg: moms-markering, månadskostnad och webbhotellsruta (.hosting-box)
   ------------------------------------------------------------ */
.price-vat {
  font-size: 0.8rem;
  font-weight: 400;
  color: #64748b;
  margin-left: 0.25rem;
}

.price-monthly {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: #0f766e;
  font-weight: 700;
}

.hosting-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2.5rem auto 0;
  max-width: 960px;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.hosting-box h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.hosting-box p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.hosting-box-price {
  flex-shrink: 0;
  font-size: 1rem;
  color: #334155;
  white-space: nowrap;
}

.hosting-box-price span {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f766e;
}

@media (max-width: 640px) {
  .hosting-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------
   Kakbanner (Google Analytics-samtycke) – byggs av script.js.
   "Godkänn" och "Neka" har exakt samma utseende (lika framträdande).
   ------------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 300; /* över header (100) och mobilens bottenlist (150) */
  width: min(440px, calc(100% - 2.5rem));
  padding: 1.25rem 1.35rem 1.35rem;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-title {
  margin-bottom: 0.35rem;
  font-weight: 800;
  color: var(--ink);
}

.cookie-banner-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner-text a {
  font-weight: 700;
  white-space: nowrap;
}

.cookie-banner-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.cookie-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr; /* lika breda knappar */
  gap: 0.65rem;
  margin-top: 1rem;
}

.cookie-btn {
  min-height: 46px;
  padding: 0.6rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn:hover {
  background: var(--indigo);
  border-color: var(--indigo);
}

/* Mobil: bannern ligger i botten över hela bredden, och "Mejla mig"-listen
   döljs medan bannern är öppen så att de inte ligger ovanpå varandra. */
@media (max-width: 820px) {
  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 -12px 40px rgba(18, 20, 58, 0.18);
  }

  body.cookie-banner-open .mobile-cta {
    display: none;
  }
}

/* ------------------------------------------------------------
   Integritetssidan (integritet.html)
   ------------------------------------------------------------ */
.legal-page {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 9vw, 6rem);
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.legal-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  margin: 2.5rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text);
}

.legal-page p + p {
  margin-top: 0.85rem;
}

.legal-page ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal-page code {
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: var(--indigo-soft);
  font-size: 0.92em;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.legal-table th,
.legal-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-alt);
  color: var(--ink);
}

.legal-box {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
  background: #f0fdfa;
}

.legal-box h2 {
  margin-top: 0;
}

.legal-updated {
  margin-top: 3rem;
  font-size: 0.92rem;
  color: var(--muted) !important;
}
