/* ============================================================
   ImageFlow — /kundehistorier/, customer stories.
   Layered on flow.css and site.css. The hero sits on the dark
   darkroom background; the stories are printed on paper.
   ============================================================ */

/* ---------- Hero ---------- */
.kh-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.kh-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; font-size: var(--step--1); color: var(--on-ink-muted); }
.kh-crumbs a { color: var(--on-ink); }
.kh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kh-hero__content { display: grid; gap: 22px; }
.kh-hero__content > .chip { justify-self: start; background: var(--accent-soft); color: var(--accent); }
.kh-hero__content .lead { max-width: 56ch; color: var(--on-ink-muted); }
.kh-hero__quote { display: grid; gap: 14px; margin: 0; padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: var(--brand-ink-2); }
.kh-hero__quote blockquote { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.35; color: var(--on-ink); }
.kh-hero__quote figcaption { display: grid; gap: 2px; font-size: var(--step--1); color: var(--on-ink-muted); }
.kh-hero__quote figcaption strong { font-size: var(--step-0); color: var(--accent); }
@media (max-width: 960px) { .kh-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.kh-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.kh-index__card {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-sm);
  background: var(--brand-ink-2); color: var(--on-ink); text-decoration: none;
  transition: border-color var(--speed) var(--ease), translate var(--speed) var(--ease);
}
.kh-index__card:hover, .kh-index__card:focus-visible { border-color: var(--accent); translate: 0 -2px; }
.kh-index__card img { flex: none; width: 48px; height: 48px; border-radius: var(--radius-xs); object-fit: contain; background: var(--white); }
.kh-index__card span { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.kh-index__card strong { font-size: 1rem; }
.kh-index__card small { font-size: 0.86rem; color: var(--on-ink-muted); }
@media (max-width: 520px) { .kh-index { grid-template-columns: minmax(0, 1fr); } }

/* ---------- A story ---------- */
.kh-story--alt { background: var(--paper-2); }
.kh-story__grid { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kh-story__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; margin: 0; }
.kh-story__media figcaption { text-align: center; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.kh-story__media figcaption a { color: var(--ink-soft); }
.phone { display: block; padding: 6px; border-radius: 30px; background: var(--brand-ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45); transition: transform var(--speed) var(--ease); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 1141; object-fit: cover; object-position: top center; border-radius: 24px; background: var(--white); }
.phone:hover, .phone:focus-visible { transform: translateY(-4px); }
.phone:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.kh-story__body { display: grid; gap: 18px; max-width: 72ch; }
.kh-story__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.kh-story__brand img { width: 48px; height: 48px; border-radius: var(--radius-xs); object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.kh-story__body h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.kh-story__body h3 { margin-top: 10px; font-size: var(--step-1); }
.kh-story__body > p { color: var(--ink-soft); font-size: var(--step-0); line-height: 1.6; }

.kh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 4px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); }
.kh-facts div { display: grid; gap: 2px; padding: 12px 16px 12px 0; }
.kh-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.kh-facts dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kh-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 520px) {
  .kh-facts { grid-template-columns: minmax(0, 1fr); }
  .kh-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

.kh-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kh-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.kh-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.kh-list li > span { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--ink-soft); }


@media (max-width: 860px) {
  .kh-story__grid { grid-template-columns: minmax(0, 1fr); }
  .kh-story__media { position: static; width: min(180px, 55%); justify-self: center; }
}

/* ---------- Call to action ---------- */
.kh-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 36px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: var(--brand-ink-2); }
.kh-cta > div { display: grid; gap: 8px; max-width: 60ch; }
.kh-cta h2 { font-size: var(--step-2); }
.kh-cta p { color: var(--on-ink-muted); }
.kh-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .kh-index__card, .phone { transition: none; } .kh-index__card:hover, .phone:hover { translate: none; transform: none; } }
