/* ==========================================================================
   Brochmedia 2026 — design system
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat-variable.woff2') format('woff2');
}

:root {
  /* Enkeltfarver til UI-elementer (links, blobs, stjerner, fokusringe) */
  --c-cyan: #10cafb;
  --c-blue: #4c5fee;
  --c-purple: #9b5de5;
  --c-orange: #ff9b3a;

  /* Brand-gradient stops (sampleret fra references/Gradient farve.png) */
  --grad-blue: #176cea;
  --grad-purple: #7a4ff5;
  --grad-pink: #c832a4;
  --grad-red: #e52a4a;
  --grad-orange: #f03d0c;

  --brand-gradient: linear-gradient(120deg, var(--grad-blue) 0%, var(--grad-purple) 28%, var(--grad-pink) 52%, var(--grad-red) 72%, var(--grad-orange) 100%);
  --brand-gradient-soft: linear-gradient(120deg, rgba(23,108,234,.18) 0%, rgba(122,79,245,.18) 28%, rgba(200,50,164,.18) 52%, rgba(229,42,74,.18) 72%, rgba(240,61,12,.18) 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --container-w: 1600px;
}

/* Dark theme (default) */
[data-theme="dark"] {
  --bg: #0a0a10;
  --bg-elevated: #111119;
  --text: #f3f2f8;
  --text-muted: #a3a1b5;
  --border: rgba(255, 255, 255, .09);
  --glass-bg: rgba(255, 255, 255, .06);
  --glass-bg-strong: rgba(20, 18, 28, .78);
  --glass-border: rgba(255, 255, 255, .14);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, .35);
  --card-bg: rgba(255, 255, 255, .03);
}

/* Light theme */
[data-theme="light"] {
  --bg: #f7f7fb;
  --bg-elevated: #ffffff;
  --text: #17161f;
  --text-muted: #59586b;
  --border: rgba(20, 20, 30, .08);
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-bg-strong: rgba(255, 255, 255, .82);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-shadow: 0 8px 32px rgba(30, 20, 60, .10);
  --card-bg: rgba(20, 20, 40, .03);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2%;
}

/* ---------------- Background decor ---------------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}

[data-theme="light"] .blob { opacity: .35; }

.blob-1 {
  width: 560px; height: 560px;
  top: -180px; left: -120px;
  background: radial-gradient(circle, var(--c-blue), transparent 70%);
  animation: float1 22s ease-in-out infinite;
}
.blob-2 {
  width: 620px; height: 620px;
  top: 30%; right: -220px;
  background: radial-gradient(circle, var(--c-orange), transparent 70%);
  animation: float2 26s ease-in-out infinite;
}
.blob-3 {
  width: 480px; height: 480px;
  bottom: -160px; left: 30%;
  background: radial-gradient(circle, var(--c-purple), transparent 70%);
  animation: float3 20s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 80px) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 40px) scale(1.05); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -60px) scale(1.08); }
}

/* ---------------- Glassmorphism ---------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ---------------- Gradient text/utilities ---------------- */
.gradient-text {
  background: var(--brand-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 14px;
}
[data-theme="dark"] .eyebrow { color: #8fd8ff; }

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 1.05rem;
  margin-top: 14px;
}

.center { text-align: center; }
.section-sub.center { margin-left: auto; margin-right: auto; }

.work-cta { display: flex; justify-content: center; margin-top: 28px; }
.work-sub { max-width: 700px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

.btn-primary {
  background: var(--brand-gradient);
  background-size: 200% auto;
  color: #08080c;
  box-shadow: 0 8px 24px rgba(23, 108, 234, .35);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 12px 32px rgba(200, 50, 164, .4);
}

.btn-glass {
  color: var(--text);
}
.btn-glass:hover { box-shadow: 0 12px 32px rgba(0,0,0,.18); }

/* Gradient border, tema-skiftende baggrund/tekst — kun selve rammen holder brand-gradienten fast */
.btn-gradient-outline {
  border: 3px solid transparent;
  background-image: linear-gradient(var(--bg-elevated), var(--bg-elevated)), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--text);
}
.btn-gradient-outline:hover {
  box-shadow: 0 10px 28px rgba(23, 108, 234, .25);
}

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1500px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
}
/* Højere specificitet end .container, så nav-baren beholder sin egen (mindre) polstring
   og ikke arver .container's 2%/5% sidepolstring, som ville fjerne den lodrette luft
   og gøre den vandrette alt for stor. */
.site-header .nav-inner { padding: 10px 16px 10px 20px; }

.brand {
  display: flex;
  align-items: center;
}
.brand-logo { width: auto; }
.logo-for-light { display: none; }
[data-theme="light"] .logo-for-dark { display: none; }
[data-theme="light"] .logo-for-light { display: block; }

/* Nav er skjult bag hamburger-menuen på alle skærmstørrelser (matcher reference) */
.main-nav {
  display: none;
  font-size: .92rem;
  font-weight: 500;
}
.main-nav a { color: var(--text-muted); transition: color .2s; }
.main-nav a:hover { color: var(--text); }

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 98px;
  left: 0;
  right: 0;
  max-width: 1500px;
  margin: 0 auto;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius-md);
  padding: 36px;
  gap: 16px;
  box-shadow: var(--glass-shadow);
  z-index: 10;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.main-nav.open a { font-size: 1rem; padding: 4px 0; }

/* ---------------- Mega-menu (Ydelser / Brancher / Bureau) ---------------- */
.mega-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 40px;
}
.mega-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.mega-col:nth-child(3) {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}
.mega-col-promo { display: flex; }
.mega-promo {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
}
.mega-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.mega-promo:hover .mega-promo-img { transform: scale(1.06); }
.mega-promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  color: #fff;
}
.mega-promo-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.mega-promo-arrow {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #08080c;
  transition: transform .25s var(--ease);
}
.mega-promo-arrow svg { width: 16px; height: 16px; }
.mega-promo:hover .mega-promo-arrow { transform: translate(2px, -2px); }
.main-nav.open .mega-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 12px 12px 0;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.main-nav.open .mega-item:hover { background: var(--card-bg); }
.mega-item-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}
.mega-item-icon svg { width: 22px; height: 22px; }

/* Showroom-ikonet skal skille sig ud fra de andre mega-menu-ikoner —
   samme statiske gradient-kant-teknik som .btn-gradient-outline (border-box/
   padding-box-baggrunde), ikke en roterende animation. */
.mega-item-icon-gradient {
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-elevated), var(--bg-elevated)), var(--brand-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: mega-icon-glow 2.4s ease-in-out infinite;
}
@keyframes mega-icon-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(122, 79, 245, .35), 0 0 22px rgba(229, 42, 74, .18); }
  50% { box-shadow: 0 0 20px rgba(122, 79, 245, .6), 0 0 36px rgba(229, 42, 74, .32); }
}
@media (prefers-reduced-motion: reduce) {
  .mega-item-icon-gradient { animation: none; box-shadow: 0 0 16px rgba(122, 79, 245, .45), 0 0 28px rgba(229, 42, 74, .22); }
}
.mega-item-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.mega-item-desc {
  display: block;
  font-size: .86rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .mega-menu { grid-template-columns: 1fr 1fr; }
  .mega-col:nth-child(3) {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    padding-top: 24px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .mega-menu { grid-template-columns: 1fr; gap: 4px; }
  .mega-col:nth-child(3) { grid-column: auto; }
  .mega-col + .mega-col { margin-top: 8px; }
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  position: relative;
}
.theme-toggle svg { position: absolute; transition: opacity .3s var(--ease), transform .4s var(--ease); }
[data-theme="dark"] .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .icon-moon { opacity: 0; transform: rotate(90deg) scale(.5); }

.menu-toggle {
  display: flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translate(-50%, -50%) translateY(-4px);
  transition: transform .3s var(--ease);
}
.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -50%) translateY(4px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 72px 0 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.hero-copy { max-width: 680px; }
.hero h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero-sub.center { margin-left: auto; margin-right: auto; }
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Bento-billedgrid i hero (pladsholdere for de 6 ydelser).
   To kolonner scroller i uendelig loop, hver sin vej, med fade i top/bund. */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: calc(100vh - 260px);
  min-height: 560px;
  max-height: 880px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.bento-col-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}
.bento-col-up { animation: bentoScroll 30s linear infinite; }
.bento-col-down { animation: bentoScroll 34s linear infinite reverse; margin-top: 56px; }

@keyframes bentoScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .bento-col-up, .bento-col-down { animation: none; }
  .service-graphic, .service-graphic * { animation: none; }
  .service-graphic .svc-mock-track::after { animation: none; }
}

.bento-tile {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
}
.bento-tile-tall { aspect-ratio: 4 / 5; }
.bento-tile-photo {
  background-size: cover;
  background-position: center;
}
.bento-tile-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%);
  pointer-events: none;
}
.bento-tile-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------------- Sections generic ---------------- */
section { padding: 100px 0; }
h2 { font-size: 54px; margin-bottom: 4px; }
.title-xl { font-size: 54px; }
.services-title { max-width: 1150px; margin-left: auto; margin-right: auto; }
.services-sub { max-width: 780px; }

/* ---------------- Underside-hero (ydelser/brancher) ---------------- */
.page-hero { padding: 56px 0 80px; }
.page-hero-inner { max-width: 760px; }
.page-hero-inner-wide { max-width: 1090px; }
.page-hero h1 { font-size: 60px; font-weight: 700; margin-bottom: 20px; }
.page-hero-sub { font-size: 1.08rem; color: var(--text-muted); max-width: 620px; margin: 0 0 32px; }

/* Hero med scroll-scrubbet video (Apple-stil produktreveal, webdesign.html) */
.page-hero-scroll { padding-bottom: 0; }
.hero-cta.center { justify-content: center; }

/* Hero med scroll-drevne hænder, der nærmer sig hinanden (ai-agenter.html) */
.page-hero-image { padding-bottom: 0; }
.hands-scroll-wrap {
  position: relative;
  height: 140vh;
  margin-top: 4px;
}
.hands-scroll-sticky {
  position: sticky;
  top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding-bottom: 40px;
  overflow: hidden;
}
.hands-stage {
  width: min(96vw, 1500px);
  display: flex;
  align-items: flex-start;
}
.hand-left,
.hand-right {
  height: auto;
  display: block;
  will-change: transform;
}
.hand-left {
  flex: 0 0 48.6%;
  width: 48.6%;
  /* sep=1 (scroll-top): -18% apart. sep=0 (scroll-end): +1%, hvor pegefingrene lige akkurat mødes.
     clamp() sikrer at den aldrig kan gå forbi 1% og overlappe, uanset hvor langt der scrolles. */
  transform: translateX(clamp(-18%, calc(1% - var(--hand-sep, 1) * 19%), 1%));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 100%);
}
.hand-right {
  flex: 0 0 51.4%;
  width: 51.4%;
  transform: translateX(clamp(-1%, calc(-1% + var(--hand-sep, 1) * 19%), 18%));
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 88%, transparent 100%);
}
@media (max-width: 980px) {
  .hands-scroll-wrap { height: 110vh; }
  .hands-scroll-sticky { min-height: 50vh; }
}
@media (max-width: 720px) {
  .hands-scroll-wrap { height: 90vh; }
  .hands-scroll-sticky { min-height: 42vh; padding-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .hand-left { transform: translateX(1%); }
  .hand-right { transform: translateX(-1%); }
}

/* ---------------- Min rejse: scroll-drevet cirkel-tidslinje (om-mig.html) ----------------
   Samme "pinned + tall wrapper" mønster som hero-video / hands-scroll herover:
   wrapperen er 3x viewport-højde, det indre er sticky, og JS udleder et
   scroll-progress (0–1) fra positionen, som roterer SVG-dialen og skifter det
   aktive trin. Når man scroller forbi wrapperen, giver den sticky containeren
   slip, og siden fortsætter normal scroll. */
.journey-section { padding-bottom: 0; }
.journey-scroll-wrap {
  position: relative;
  height: 300vh;
  margin-top: 24px;
}
.journey-sticky {
  position: sticky;
  top: 110px;
  height: calc(100vh - 150px);
  min-height: 520px;
  max-height: 760px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.journey-visual {
  flex: 0 0 46%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.journey-arc-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.journey-arc-circle {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 3 7;
}
.journey-ghost {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 110px;
  fill: var(--text-muted);
  stroke: none;
  dominant-baseline: middle;
  text-anchor: middle;
  transition: fill .3s var(--ease);
}
.journey-ghost.is-active { fill: var(--text); }
.journey-anchor-dot { fill: var(--text); }
#journey-dial { transition: none; }

.journey-content {
  flex: 1;
  position: relative;
  height: 100%;
  min-height: 200px;
}
.journey-step {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.journey-step.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.journey-step-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.journey-step h3 { font-size: 54px; margin-bottom: 14px; }
.journey-step p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; max-width: 480px; }

/* Reduceret bevægelse / meget lav wrapper (indhold ikke pinnet endnu ved load):
   vis alle tre trin stablet som almindelig, læsbar tekst uden scroll-jacking. */
.journey-scroll-wrap.journey-static { height: auto; }
.journey-scroll-wrap.journey-static .journey-sticky { position: static; height: auto; max-height: none; flex-direction: column; align-items: stretch; padding: 12px 0; }
.journey-scroll-wrap.journey-static .journey-visual { display: none; }
.journey-scroll-wrap.journey-static .journey-content { position: static; height: auto; }
.journey-scroll-wrap.journey-static .journey-step {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  margin-bottom: 40px;
}

@media (max-width: 960px) {
  .journey-scroll-wrap { height: 260vh; }
  .journey-sticky { top: 90px; height: calc(100vh - 120px); flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; }
  /* Arc-SVG'en er portræt-formet (400x700) — i stablet layout sættes bredde
     + aspect-ratio i stedet for flex-basis, så den ikke bliver mast fladt ud. */
  /* overflow: visible — den smalle mobil-boks er meget snævrere end desktop, og
     "01"/"03"-tallenes faste SVG-koordinater ender centreret lige uden for kanten
     og bliver klippet midt over. Der er rigeligt luft i siderne til at lade dem
     bløde ud i stedet. */
  .journey-visual { flex: 0 0 auto; width: min(60vw, 300px); height: auto; aspect-ratio: 4 / 7; margin: 0 auto; overflow: visible; }
  .journey-content { flex: 1; min-height: 0; }
  .journey-step { justify-content: flex-start; padding: 12px 5% 0; }
  .journey-ghost { font-size: 84px; }
  .journey-step h3 { font-size: 46px; }
}
@media (max-width: 720px) {
  .journey-scroll-wrap { height: 240vh; }
  .journey-sticky { min-height: 460px; }
  .journey-visual { width: min(52vw, 220px); }
  .journey-step h3 { font-size: 30px; }
  .journey-step p { font-size: .95rem; }
  .journey-ghost { font-size: 64px; }
}

.hero-scroll-video-wrap {
  position: relative;
  height: 280vh;
  margin-top: 4px;
}
.hero-scroll-video-sticky {
  position: sticky;
  top: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-scroll-video-stage {
  width: min(94vw, calc((100vh - 170px) * var(--hero-video-ratio, 1.688)), 2200px);
}
.hero-scroll-video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .hero-scroll-video-wrap { height: 180vh; }
}
@media (max-width: 720px) {
  .hero-scroll-video-wrap { height: 130vh; }
}
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 22px;
}
.breadcrumb-link:hover { color: var(--text); }

/* ---------------- Feature-grid (4 kort, undersider) ---------------- */
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

/* ---------------- Proces-trin ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.process-step { border-radius: var(--radius-lg); padding: 28px 24px; }
.process-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: .88rem; }

/* ---------------- Proces-harmonika (kort folder ud ved hover) ---------------- */
.process-accordion {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  height: 440px;
}
.process-acc-card {
  position: relative;
  flex: 1 1 0%;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  cursor: pointer;
}
/* Højere specificitet end .reveal (linje ~1391), som ellers overskriver hele transition-shorthanden */
.process-acc-card.reveal {
  transition: flex 1.1s cubic-bezier(.16, 1, .3, 1), opacity .7s var(--ease), transform .7s var(--ease);
}
.process-acc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 16px;
}
.process-acc-icon svg { width: 25px; height: 25px; }
.process-acc-content h3 { font-size: 25px; margin-bottom: 0; }
.process-acc-content p {
  color: var(--text-muted);
  font-size: .92rem;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: max-height 1s cubic-bezier(.16, 1, .3, 1), opacity .8s ease .1s, margin-top 1s cubic-bezier(.16, 1, .3, 1);
}
.process-acc-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 60px;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (hover: hover) {
  .process-acc-card:hover { flex: 3.2 1 0%; }
  .process-acc-card:hover .process-acc-content p { max-height: 280px; opacity: 1; margin-top: 14px; }
}
.process-acc-card.active,
.process-acc-card:focus-within { flex: 3.2 1 0%; }
.process-acc-card.active .process-acc-content p,
.process-acc-card:focus-within .process-acc-content p { max-height: 280px; opacity: 1; margin-top: 14px; }

/* ---------------- Relaterede links (chips) ---------------- */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.related-links.center { justify-content: center; }
.related-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  transition: transform .25s var(--ease);
}
.related-chip:hover { transform: translateY(-2px); }

/* ---------------- Services ---------------- */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 48px;
}
.service-grid > .service-card { flex: 0 1 calc((100% - 66px) / 4); }
.service-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 20px 20px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-graphic {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 18px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card h3 { font-size: 1.2rem; margin: 0 0 8px; padding: 0 4px; }
.service-card p { color: var(--text-muted); font-size: .95rem; padding: 0 4px; }

.grad-1 { background: linear-gradient(135deg, var(--grad-blue), var(--grad-purple)); }
.grad-2 { background: linear-gradient(135deg, var(--grad-purple), var(--grad-pink)); }
.grad-3 { background: linear-gradient(135deg, var(--grad-pink), var(--grad-red)); }
.grad-4 { background: linear-gradient(135deg, var(--grad-red), var(--grad-orange)); }
.grad-5 { background: linear-gradient(135deg, var(--grad-blue), var(--grad-pink)); }
.grad-6 { background: linear-gradient(135deg, var(--grad-purple), var(--grad-orange)); }

/* ---------------- Animerede service-visualiseringer ---------------- */
.svc-panel-1 { background: radial-gradient(140% 120% at 100% 0%, rgba(16, 202, 251, .18), transparent 60%), #0b0b12; }
.svc-panel-2 { background: radial-gradient(140% 120% at 100% 0%, rgba(76, 95, 238, .18), transparent 60%), #0b0b12; }
.svc-panel-3 { background: radial-gradient(140% 120% at 100% 0%, rgba(155, 93, 229, .2), transparent 60%), #0b0b12; }
.svc-panel-4 { background: radial-gradient(140% 120% at 100% 0%, rgba(255, 155, 58, .18), transparent 60%), #0b0b12; }
.svc-panel-5 { background: radial-gradient(120% 100% at 100% 0%, rgba(155, 93, 229, .16), transparent 60%), radial-gradient(120% 100% at 0% 100%, rgba(16, 202, 251, .16), transparent 60%), #0b0b12; }
.svc-panel-6 { background: radial-gradient(140% 120% at 100% 0%, rgba(76, 95, 238, .16), transparent 60%), radial-gradient(120% 100% at 0% 100%, rgba(255, 155, 58, .16), transparent 60%), #0b0b12; }

/* Webdesign: byggeplan-mockup */
.svc-webdesign-mock { width: 100%; display: flex; flex-direction: column; gap: 9px; }
.svc-mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.svc-spinner { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); border-top-color: #fff; flex: none; animation: svcSpin 1.4s linear infinite; }
.svc-mock-headtext { font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.svc-mock-pill { margin-left: auto; font-size: .62rem; padding: 3px 9px; border-radius: 20px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .55); }
.svc-mock-row { display: flex; align-items: center; gap: 8px; }
.svc-mock-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .9; flex: none; }
.svc-mock-track { flex: 1; height: 15px; border-radius: 20px; background: rgba(255, 255, 255, .07); position: relative; overflow: hidden; }
.svc-mock-track::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: translateX(-100%);
  animation: svcSweep 3s ease-in-out infinite;
}
.svc-row-2 .svc-mock-track::after { animation-delay: .3s; }
.svc-row-3 .svc-mock-track::after { animation-delay: .6s; }
.svc-mock-cta { margin-top: 3px; height: 26px; border-radius: 20px; background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6)); display: flex; align-items: center; justify-content: center; }
.svc-mock-cta-dots { display: flex; gap: 4px; }
.svc-mock-cta-dots i { width: 4px; height: 4px; border-radius: 50%; background: #17161f; opacity: .5; animation: svcDotBounce 1.2s ease-in-out infinite; }
.svc-mock-cta-dots i:nth-child(2) { animation-delay: .15s; }
.svc-mock-cta-dots i:nth-child(3) { animation-delay: .3s; }

/* SEO: equalizer-bars */
.svc-eq { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; }
.svc-eq-bar {
  flex: 1; height: calc(var(--h, .5) * 100%); min-height: 6px;
  border-radius: 8px 8px 4px 4px; background: rgba(255, 255, 255, .14);
  transform-origin: bottom; animation: svcEq 2.6s ease-in-out infinite;
}
.svc-eq-bar-lead { background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .35)); animation-delay: 0s; }
.svc-eq-bar:nth-child(2) { animation-delay: .12s; }
.svc-eq-bar:nth-child(3) { animation-delay: .24s; }
.svc-eq-bar:nth-child(4) { animation-delay: .36s; }
.svc-eq-bar:nth-child(5) { animation-delay: .48s; }
.svc-eq-bar:nth-child(6) { animation-delay: .6s; }
.svc-eq-bar:nth-child(7) { animation-delay: .72s; }
.svc-eq-bar:nth-child(8) { animation-delay: .84s; }

/* GEO: kredsende ringe med AI-badge */
.svc-orbit-mock { position: relative; width: 100%; height: 100%; }
.svc-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; transform: translate(-50%, -50%); }
.svc-ring-1 { width: 46%; aspect-ratio: 1; animation: svcRingPulse 4s ease-in-out infinite; }
.svc-ring-2 { width: 68%; aspect-ratio: 1; animation: svcRingPulse 4s ease-in-out infinite .5s; }
.svc-ring-3 { width: 90%; aspect-ratio: 1; animation: svcRingPulse 4s ease-in-out infinite 1s; }
.svc-core-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 25%; aspect-ratio: 1; min-width: 44px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: #17161f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  animation: svcPulseCore 3s ease-in-out infinite;
}
.svc-orbit-path {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: svcOrbitSpin linear infinite;
}
.svc-orbit-path-a { width: 68%; aspect-ratio: 1; animation-duration: 9s; }
.svc-orbit-path-b { width: 90%; aspect-ratio: 1; animation-name: svcOrbitSpinRev; animation-duration: 13s; }
.svc-badge {
  position: absolute; top: 0; left: 50%; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  display: grid; place-items: center; color: #fff;
  transform: translate(-50%, -50%);
  animation: svcCounterSpin linear infinite;
}
.svc-badge-a { animation-duration: 9s; }
.svc-badge-b { animation-name: svcCounterSpinRev; animation-duration: 13s; }

/* Online Marketing: væksttal med linjegraf */
.svc-chart-mock { position: relative; width: 100%; height: 100%; }
.svc-chart-svg { width: 100%; height: 100%; }
.svc-chart-fill { fill: rgba(255, 255, 255, .1); }
.svc-chart-line {
  fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: svcDrawLine 3.2s ease-in-out infinite;
}
.svc-badge-stat {
  position: absolute; top: 10px; right: 10px; padding: 6px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); color: #17161f; font-size: .72rem; font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); animation: svcFloat 3s ease-in-out infinite;
}

/* AI Agenter: simuleret samtale */
.svc-chat-mock { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 11px; }
.svc-chat-row { display: flex; align-items: center; gap: 8px; opacity: 0; }
.svc-chat-user { justify-content: flex-end; }
.svc-chat-row-1 { animation: svcChatIn1 8s ease-in-out infinite; }
.svc-chat-row-2 { animation: svcChatIn2 8s ease-in-out infinite; }
.svc-chat-row-3 { animation: svcChatIn3 8s ease-in-out infinite; }
.svc-chat-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-gradient); flex: none; }
.svc-chat-bubble { height: 22px; width: var(--w, 60%); border-radius: 14px; background: rgba(255, 255, 255, .1); }
.svc-chat-bubble-user { background: rgba(255, 255, 255, .85); }
.svc-chat-reply { position: relative; height: 22px; width: var(--w, 70%); flex: none; }
.svc-chat-typing, .svc-chat-bubble-final { position: absolute; inset: 0; border-radius: 14px; }
.svc-chat-typing { display: flex; align-items: center; gap: 4px; padding: 0 10px; background: rgba(255, 255, 255, .1); animation: svcChatTypingSeq 8s ease-in-out infinite; }
.svc-chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .5; animation: svcDotBounce 1.1s ease-in-out infinite; }
.svc-chat-typing i:nth-child(2) { animation-delay: .15s; }
.svc-chat-typing i:nth-child(3) { animation-delay: .3s; }
.svc-chat-bubble-final { background: rgba(255, 255, 255, .1); animation: svcChatFinalSeq 8s ease-in-out infinite; }

/* Apps & Software: app-fliser der popper ind */
.svc-app-mock { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; position: relative; }
.svc-app-tile { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; animation: svcPop 3.4s ease-in-out infinite; }
.svc-app-tile-1 { animation-delay: 0s; }
.svc-app-tile-2 { animation-delay: .15s; }
.svc-app-tile-3 { animation-delay: .3s; }
.svc-app-tile-4 { animation-delay: .45s; }
.svc-app-tile-5 { animation-delay: .6s; }
.svc-app-tile-6 { animation-delay: .75s; }
.svc-badge-check {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: #17161f; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); animation: svcFloat 3s ease-in-out infinite;
}

/* Skræddersyet design: wireframe-bokse der bytter plads (drag & drop) */
.svc-wireframe-mock { position: relative; width: 100%; height: 100%; }
.svc-wf-block {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .12);
}
.svc-wf-header { top: 0; left: 0; width: 100%; height: 20%; }
.svc-wf-side { top: 30%; left: 0; width: 28%; height: 70%; }
.svc-wf-card-a {
  top: 30%; left: 34%; width: 66%; height: 30%;
  background: rgba(255, 255, 255, .18);
  animation: svcWfSwapDown 6s ease-in-out infinite;
}
.svc-wf-card-b {
  top: 70%; left: 34%; width: 66%; height: 30%;
  animation: svcWfSwapUp 6s ease-in-out infinite;
}
.svc-wf-cursor {
  position: absolute; top: 34%; left: 88%; width: 16px; height: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
  opacity: 0;
  animation: svcWfCursorMove 6s ease-in-out infinite;
}

/* Intern automatisering: tjekliste hvor opgaver tikkes af én ad gangen */
.svc-checklist-mock { width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.svc-check-row { display: flex; align-items: center; gap: 10px; }
.svc-check-box {
  position: relative; width: 20px; height: 20px; border-radius: 6px; flex: none;
  border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05);
  display: grid; place-items: center;
  animation: svcCheckBox 4s ease-in-out infinite;
}
.svc-check-box svg { width: 13px; height: 13px; color: #17161f; opacity: 0; transform: scale(.5); animation: svcCheckMark 4s ease-in-out infinite; }
.svc-check-line { flex: 1; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); width: var(--w, 70%); }
.svc-check-row:nth-child(2) .svc-check-box, .svc-check-row:nth-child(2) .svc-check-box svg { animation-delay: .5s; }
.svc-check-row:nth-child(3) .svc-check-box, .svc-check-row:nth-child(3) .svc-check-box svg { animation-delay: 1s; }
.svc-check-row:nth-child(4) .svc-check-box, .svc-check-row:nth-child(4) .svc-check-box svg { animation-delay: 1.5s; }

/* Hurtig og mobilvenlig: raket letter ved siden af en mobil med loading-bar */
.svc-speed-mock { position: relative; width: 100%; height: 100%; }
.svc-speed-phone {
  position: absolute; left: 12%; top: 50%; transform: translateY(-50%);
  width: 30%; aspect-ratio: 9 / 17; max-height: 84%;
  border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 8px 6px; gap: 4px;
}
.svc-speed-phone-notch { width: 30%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); margin-bottom: auto; margin-top: 4px; }
.svc-speed-phone-bar { width: 100%; height: 7px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.svc-speed-phone-fill {
  display: block; height: 100%; width: 8%; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .5), #fff);
  animation: svcSpeedFill 2.2s ease-in-out infinite;
}
.svc-speed-rocket {
  position: absolute; right: 20%; top: 50%;
  width: 30px; height: 30px;
  transform: translate(50%, -20%);
  opacity: 0;
  animation: svcSpeedLaunch 2.6s ease-in-out infinite;
}
.svc-speed-rocket svg { width: 100%; height: 100%; }
.svc-speed-spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff; opacity: 0;
  animation: svcSpeedSpark 2.6s ease-in-out infinite;
}
.svc-speed-spark-1 { right: 27%; top: 64%; animation-delay: .1s; }
.svc-speed-spark-2 { right: 33%; top: 70%; animation-delay: .35s; }
.svc-speed-spark-3 { right: 21%; top: 74%; animation-delay: .6s; }

/* Konverteringsfokus: CTA-knap med klik-puls */
.svc-cta-mock { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.svc-cta-ring {
  position: absolute; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35);
  width: 46%; height: 52%;
  animation: svcCtaPulse 2.4s ease-out infinite;
}
.svc-cta-ring-2 { animation-delay: .6s; }
.svc-cta-button {
  position: relative; z-index: 1;
  width: 42%; height: 42%; max-width: 96px; max-height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .75));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  animation: svcCtaPress 2.4s ease-in-out infinite;
}
.svc-cta-button-text { width: 60%; height: 8px; border-radius: 6px; background: rgba(23, 22, 31, .35); }
.svc-cta-cursor {
  position: absolute; right: 30%; bottom: 26%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
  animation: svcCtaCursor 2.4s ease-in-out infinite;
}

/* Søgeordsstrategi: keyword-liste med søgende scan-effekt */
.svc-keywords-mock { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.svc-kw-row { display: flex; }
.svc-kw-pill {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .55);
  white-space: nowrap;
  animation: svcKwGlow 3.6s ease-in-out infinite;
}
.svc-kw-row:nth-child(2) .svc-kw-pill { animation-delay: .55s; }
.svc-kw-row:nth-child(3) .svc-kw-pill { animation-delay: 1.15s; }
.svc-kw-row:nth-child(4) .svc-kw-pill { animation-delay: 1.75s; }
.svc-kw-scanbeam {
  position: absolute; left: 0; right: 0; height: 44%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .14), transparent);
  animation: svcScanDown 3.6s ease-in-out infinite;
  pointer-events: none;
}
.svc-kw-scanner {
  position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  animation: svcScanDiag 3.6s ease-in-out infinite;
}

/* Lokal SEO: Danmarkskort med pin der lander */
.svc-map-mock { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.svc-map-svg { width: 62%; height: 90%; overflow: visible; }
.svc-map-outline { stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; fill: rgba(255, 255, 255, .06); }
.svc-map-island { stroke: rgba(255, 255, 255, .35); stroke-width: 1.4; stroke-linejoin: round; fill: rgba(255, 255, 255, .06); }
.svc-map-dot { fill: rgba(255, 255, 255, .3); }
.svc-map-pin {
  position: absolute; top: 50%; left: 61%; width: 22px; height: 22px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
  animation: svcPinDrop 3.2s ease-in-out infinite;
}
.svc-map-ping {
  position: absolute; top: 50%; left: 61%; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; transform: translate(-50%, -50%); opacity: 0;
  animation: svcPinPing 3.2s ease-in-out infinite;
}

@keyframes svcSpin { to { transform: rotate(360deg); } }
@keyframes svcSweep { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes svcDotBounce { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-2px); opacity: 1; } }
@keyframes svcEq { 0%, 100% { transform: scaleY(.86); } 50% { transform: scaleY(1); } }
@keyframes svcRingPulse { 0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: .7; transform: translate(-50%, -50%) scale(1.03); } }
@keyframes svcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes svcDrawLine { 0% { stroke-dashoffset: 260; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes svcPulseCore { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }
@keyframes svcOrbitSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes svcOrbitSpinRev { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes svcCounterSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes svcCounterSpinRev { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes svcChatIn1 {
  0% { opacity: 0; transform: translateY(6px); }
  6% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes svcChatIn2 {
  0%, 20% { opacity: 0; transform: translateY(6px); }
  27% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes svcChatIn3 {
  0%, 40% { opacity: 0; transform: translateY(6px); }
  46% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes svcChatTypingSeq {
  0%, 44% { opacity: 0; }
  48% { opacity: 1; }
  65% { opacity: 1; }
  70%, 100% { opacity: 0; }
}
@keyframes svcChatFinalSeq {
  0%, 68% { opacity: 0; transform: translateY(4px); }
  74% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  97%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes svcPop {
  0% { transform: scale(.4); opacity: 0; }
  15% { transform: scale(1.1); opacity: 1; }
  25%, 75% { transform: scale(1); opacity: 1; }
  90%, 100% { transform: scale(.4); opacity: 0; }
}
@keyframes svcWfSwapDown {
  0%, 12% { transform: translateY(0); }
  45%, 68% { transform: translateY(133%); }
  100% { transform: translateY(0); }
}
@keyframes svcWfSwapUp {
  0%, 12% { transform: translateY(0); }
  45%, 68% { transform: translateY(-133%); }
  100% { transform: translateY(0); }
}
@keyframes svcWfCursorMove {
  0%, 8% { transform: translateY(0); opacity: 0; }
  16% { opacity: 1; }
  45%, 68% { transform: translateY(133%); opacity: 1; }
  84% { opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@keyframes svcSpeedFill {
  0% { width: 8%; }
  55% { width: 92%; }
  100% { width: 8%; }
}
@keyframes svcSpeedLaunch {
  0%, 10% { transform: translate(50%, -20%); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translate(50%, -110%); opacity: 1; }
  90%, 100% { transform: translate(50%, -20%); opacity: 0; }
}
@keyframes svcSpeedSpark {
  0%, 15% { transform: translateY(0); opacity: 0; }
  30% { opacity: .8; }
  75% { transform: translateY(18px); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes svcCtaPulse {
  0% { transform: scale(.6); opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}
@keyframes svcCtaPress {
  0%, 55% { transform: scale(1); }
  62% { transform: scale(.92); }
  70%, 100% { transform: scale(1); }
}
@keyframes svcCtaCursor {
  0%, 45% { transform: translate(0, 0); }
  60% { transform: translate(-6px, -4px); }
  75%, 100% { transform: translate(0, 0); }
}
@keyframes svcCheckBox {
  0%, 8% { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .28); transform: scale(1); }
  14% { background: #fff; border-color: #fff; transform: scale(1.12); }
  20%, 92% { background: #fff; border-color: #fff; transform: scale(1); }
  100% { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .28); }
}
@keyframes svcCheckMark {
  0%, 8% { opacity: 0; transform: scale(.5); }
  16% { opacity: 1; transform: scale(1); }
  92% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.5); }
}
@keyframes svcKwGlow {
  0%, 22%, 100% { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
  8% { background: rgba(255, 255, 255, .95); border-color: transparent; color: #17161f; }
}
@keyframes svcScanDown {
  0% { top: -14%; opacity: 0; }
  8% { opacity: 1; }
  50% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: 108%; opacity: 0; }
}
@keyframes svcScanDiag {
  0% { top: -6%; left: 12%; opacity: 0; }
  8% { opacity: 1; }
  30% { top: 24%; left: 34%; }
  55% { top: 48%; left: 58%; }
  78% { top: 72%; left: 42%; }
  92% { opacity: 1; }
  100% { top: 98%; left: 26%; opacity: 0; }
}
@keyframes svcPinDrop {
  0%, 30% { transform: translate(-50%, -420%); opacity: 0; }
  38% { opacity: 1; }
  56% { transform: translate(-50%, -100%); }
  64% { transform: translate(-50%, -92%); }
  72%, 100% { transform: translate(-50%, -100%); opacity: 1; }
}
@keyframes svcPinPing {
  0%, 55% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  62% { opacity: .6; }
  85% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
  100% { opacity: 0; }
}

/* ---------------- Point list (bruges i grundlægger-sektionen) ---------------- */
.point { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.point-mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #08080c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
}
[data-theme="dark"] .point-mark { background: #fff; color: #08080c; }

/* ---------------- Kontaktside ---------------- */
.kontakt-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.kontakt-hero-grid h1,
.kontakt-hero-grid .hero-sub {
  text-align: left;
}
.kontakt-hero-grid .hero-sub {
  max-width: none;
  margin: 0;
}
@media (max-width: 720px) {
  .kontakt-hero-grid { grid-template-columns: 1fr; gap: 16px; }
}
.contact-section { padding-top: 24px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: start;
}
.contact-form {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: .88rem; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
[data-theme="light"] .field input, [data-theme="light"] .field textarea { background: rgba(255, 255, 255, .5); border-color: rgba(23, 22, 31, .18); }
.field input:focus, .field textarea:focus { border-color: var(--c-blue); background: rgba(255, 255, 255, .1); }
[data-theme="light"] .field input:focus, [data-theme="light"] .field textarea:focus { background: rgba(255, 255, 255, .85); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.contact-form .btn[disabled] { opacity: .6; cursor: default; pointer-events: none; }
.contact-form-status {
  font-size: .92rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  margin: 0;
}
.contact-form-status[hidden] { display: none; }
.contact-form-status[data-state="success"] {
  color: #1a8f52;
  background: rgba(26, 143, 82, .12);
  border: 1px solid rgba(26, 143, 82, .3);
}
[data-theme="dark"] .contact-form-status[data-state="success"] { color: #4fd68c; }
.contact-form-status[data-state="error"] {
  color: #d64545;
  background: rgba(214, 69, 69, .1);
  border: 1px solid rgba(214, 69, 69, .3);
}
[data-theme="dark"] .contact-form-status[data-state="error"] { color: #ff8080; }

.contact-info-col { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { border-radius: var(--radius-lg); padding: 28px; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.contact-info-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.contact-info-card p + p { margin-top: 10px; }
.contact-info-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 600; font-size: .98rem;
  padding: 5px 0;
}
.contact-info-link svg { flex: none; color: var(--c-blue); }
[data-theme="dark"] .contact-info-link svg { color: #8fd8ff; }
.contact-info-link:hover { color: var(--c-blue); }

.map-section { padding-top: 0; }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
}
.map-embed iframe { display: block; }
[data-theme="dark"] .map-embed iframe { filter: invert(90%) hue-rotate(180deg); }
@media (max-width: 720px) {
  .map-embed { height: 280px; }
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ---------------- Arbejde / Work-karrusel ----------------
   Karrusellen er bundet til samme bredde som .container (matcher navmenuen)
   i stedet for at gå ud til skærmkanten — fokuskortet fylder det meste af den
   bredde, med kun en smal flig af nabokortene synlig i hver side. */
.work-carousel-wrap {
  position: relative;
  margin-top: 48px;
}
.work-carousel {
  --work-card-w: min(1040px, 82%);
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 40px calc((100% - var(--work-card-w)) / 2) 32px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.work-carousel::-webkit-scrollbar { display: none; }
.work-card {
  position: relative;
  flex: 0 0 var(--work-card-w);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  transform: scale(.86);
  opacity: .45;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.work-card.is-active {
  transform: scale(1);
  opacity: 1;
}
.work-media { height: 560px; }
.work-media-photo { background-size: cover; background-position: center; }
img.work-media-photo { width: 100%; object-fit: cover; object-position: center; display: block; }
.work-overlay {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 10, 16, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 20px 26px;
}
.work-overlay-text h3 { font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.work-overlay-text p { font-size: .92rem; color: rgba(255,255,255,.75); }
.work-arrow {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: #08080c;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.work-arrow svg { transition: transform .25s var(--ease); }
.work-card:hover .work-arrow svg { transform: translate(2px, -2px); }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: var(--text);
  cursor: pointer;
  transition: transform .25s var(--ease);
  transform: translateY(-50%);
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* ---------------- Cases-side (grid, 3 pr. række, bredformat) ---------------- */
.cases-section { padding-top: 16px; }
.cases-section .cases-grid { margin-top: 0; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}
.case-media-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.case-media-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.case-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .95); color: #17161f;
  font-size: .72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}
.case-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex: none; }
.case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-title-row h3 { font-size: 1.1rem; margin: 0; }
.case-category-pill {
  font-size: .68rem; font-weight: 600; white-space: nowrap; flex: none;
  background: #17161f; color: #fff;
  padding: 4px 10px; border-radius: 999px;
}
[data-theme="dark"] .case-category-pill { background: #fff; color: #17161f; }
.case-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; }
.case-footer {
  display: flex; align-items: center; gap: 8px;
  margin-top: 4px; padding-top: 14px;
  border-top: 1px solid var(--glass-border);
  font-family: var(--font-heading); font-weight: 600; font-size: .88rem;
  color: var(--text);
}
.case-footer svg { transition: transform .25s var(--ease); }
.case-card:hover .case-footer svg { transform: translateX(4px); }
@media (max-width: 980px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ---------------- Case-detaljeside ---------------- */
.case-detail-hero { padding-top: 150px; padding-bottom: 0; }

.breadcrumb-row { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb-row .breadcrumb-link { margin-bottom: 0; }
.breadcrumb-sep { color: var(--text-muted); opacity: .5; font-size: .85rem; }
.breadcrumb-current { color: var(--text); font-size: .85rem; font-weight: 600; }

.case-title-card {
  border-radius: var(--radius-xl);
  padding: 36px 40px;
}
.case-title-card h1 { font-size: 60px; font-weight: 700; margin-bottom: 20px; }
.case-title-card .case-title-row { align-items: flex-start; gap: 24px; }
.case-title-desc { color: var(--text-muted); max-width: 620px; font-size: 1rem; line-height: 1.6; }
.case-visit-btn { flex: none; }

.case-meta-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--glass-border); flex-wrap: wrap; }
.case-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .95); color: #17161f;
  font-size: .72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 999px;
}

/* Slider — samme peek-mønster som work-carousel, blot dedikeret til case-billeder */
.case-slider-section { padding-top: 40px; padding-bottom: 0; }
.case-hero-slider-wrap { position: relative; }
.case-hero-slider {
  --case-slide-w: min(1100px, 84%);
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px calc((100% - var(--case-slide-w)) / 2) 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.case-hero-slider::-webkit-scrollbar { display: none; }
.case-slide {
  position: relative;
  flex: 0 0 var(--case-slide-w);
  scroll-snap-align: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: scale(.9);
  opacity: .45;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.case-slide.is-active { transform: scale(1); opacity: 1; }
.case-slide-placeholder {
  height: 560px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, var(--card-bg), var(--glass-bg));
  border: 1px dashed var(--glass-border);
  color: var(--text-muted);
  font-size: .95rem; font-weight: 500;
}
.case-slide img { width: 100%; height: 560px; display: block; object-fit: cover; }
.case-slide-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: .78rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
}
.case-slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.case-slider-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: none; display: grid; place-items: center;
  color: var(--text); cursor: pointer;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.case-slider-arrow:hover { transform: scale(1.08); }
.case-slider-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.case-slider-dots {
  display: flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
}
.case-slider-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--border); opacity: .6; cursor: pointer;
  transition: width .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);
}
.case-slider-dot.is-active { width: 26px; background: var(--text); opacity: 1; }

/* Indhold under slideren */
.case-content-section { padding-top: 56px; }
.case-content-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.case-main { display: flex; flex-direction: column; gap: 44px; }

.case-features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-feature { display: flex; flex-direction: column; gap: 8px; }
.case-feature-icon {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  color: var(--text);
  margin-bottom: 4px;
}
.case-feature h4 { font-size: 1rem; }
.case-feature p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.case-overview h2 { font-size: 1.6rem; margin-bottom: 14px; }
.case-overview h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.case-overview p { color: var(--text-muted); line-height: 1.7; margin: 0; }

.case-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.case-sidebar-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
}
.case-sidebar-title { font-size: .95rem; margin-bottom: 10px; }
.case-sidebar-text { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.case-specs-list { display: flex; flex-direction: column; gap: 14px; }
.case-spec-row { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.case-spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.case-spec-label { color: var(--text-muted); }
.case-spec-icon { display: grid; place-items: center; color: var(--text-muted); flex: none; }
.case-spec-value { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 600; text-align: right; }

.case-sidebar-cta {
  background: var(--brand-gradient);
  background-size: 200% auto;
  border-radius: var(--radius-lg);
  padding: 26px;
  color: #fff;
}
.case-sidebar-cta h4 { font-size: 1.05rem; margin-bottom: 8px; }
.case-sidebar-cta p { font-size: .88rem; color: rgba(255,255,255,.85); line-height: 1.5; margin-bottom: 18px; }
.case-sidebar-btn { background: #fff; color: #17161f; width: 100%; justify-content: center; }
.case-sidebar-btn:hover { box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* Kundecitat */
.case-quote-section { padding-top: 8px; }
.case-quote-card { max-width: 760px; margin: 0 auto; padding: 44px 48px; border-radius: var(--radius-xl); text-align: center; }
.case-quote-text {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: -0.01em;
  font-size: 1.5rem; line-height: 1.4; margin-bottom: 22px;
}
.case-quote-attr { display: flex; flex-direction: column; gap: 2px; }
.case-quote-name { font-weight: 700; }
.case-quote-role { font-size: .85rem; color: var(--text-muted); }

@media (max-width: 980px) {
  .case-detail-hero { padding-top: 65px; }
  .case-title-card { padding: 28px 24px; }
  .case-title-card .case-title-row { flex-direction: column; }
  .case-visit-btn { align-self: flex-start; }
  .case-content-grid { grid-template-columns: 1fr; }
  .case-sidebar { position: static; }
  .case-hero-slider { --case-slide-w: 92%; }
  .case-slide-placeholder, .case-slide img { height: 400px; }
  .case-title-card h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .case-features-row { grid-template-columns: 1fr; }
  .case-title-card h1 { font-size: 32px; }
  .case-hero-slider { --case-slide-w: 90vw; gap: 12px; }
  .case-quote-card { padding: 32px 24px; }
  .case-quote-text { font-size: 1.2rem; }
}

/* ---------------- Derfor Brochmedia (promise) ---------------- */
.promise-title { font-size: 54px; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.promise-card { border-radius: var(--radius-lg); padding: 32px 28px; }
.promise-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #08080c;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
[data-theme="light"] .promise-icon { background: #17161f; color: #fff; }
.promise-icon-year { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 48px; padding: 0 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.promise-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.promise-card p { color: var(--text-muted); font-size: .92rem; }

/* ---------------- Testimonial (enkelt, stort citat) ---------------- */
.testimonial { padding-bottom: 20px; }
/* Forsiden har reviews-sliderens umiddelbart efter testimonial (uden egen
   overskrift) — mindre luft ned til den, end når .reviews står efter en
   anden sektion med sin egen h2 (webdesign/seo/geo/ai-agenter). */
.testimonial + .reviews { padding-top: 20px; }
.testimonial + .reviews .reviews-marquee-wrap { margin-top: 12px; }
.testimonial-inner { max-width: 1300px; margin: 0 auto; }
.stars { color: var(--c-orange); letter-spacing: 4px; margin-bottom: 20px; font-size: 1.1rem; }
.testimonial-quote {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* ---------------- Anmeldelser (auto-scroll slider) ---------------- */
.reviews { overflow: hidden; }
.reviews-marquee-wrap {
  margin-top: 48px;
  padding: 30px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviewsScroll 100s linear infinite;
}
/* (hover: hover) udelukker touch-skærme — ellers "hænger" pausen fast efter et
   tryk på mobil (Safari beholder :hover, indtil man trykker et andet sted),
   så sliden ser ud til at stoppe i stedet for at loope */
@media (hover: hover) {
  .reviews-marquee-wrap:hover .reviews-track { animation-play-state: paused; }
}
@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 340px;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.review-quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--border);
  margin-bottom: 6px;
}
.review-stars { color: var(--c-orange); letter-spacing: 2px; margin-bottom: 14px; font-size: .95rem; }
.review-text { color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }
.review-author { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}
.review-name { font-weight: 600; font-size: .88rem; }
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* ---------------- Metallisk scroll-reveal (testimonial-titel) ---------------- */
.metal-scroll {
  background: linear-gradient(115deg, #55555f 0%, #d8d8e2 22%, #8a8a96 45%, #efeff5 60%, #6b6b76 78%, #c4c4d0 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: var(--metal-progress, .18);
  transition: opacity .05s linear;
}
[data-theme="light"] .metal-scroll {
  background: linear-gradient(115deg, #86868f 0%, #2b2b33 22%, #6b6b76 45%, #1a1a20 60%, #9a9aa5 78%, #45454e 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
}
@media (prefers-reduced-motion: reduce) {
  .metal-scroll { opacity: 1; }
}
.testimonial-attr { color: var(--text-muted); margin-bottom: 24px; }
.avatar-row { display: flex; justify-content: center; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  border: 2px solid var(--bg);
  margin-left: -12px;
}
.avatar:first-child { margin-left: 0; }

/* ---------------- Resultater (stats) ---------------- */
.results-title { font-size: 54px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.stat-card { border-radius: var(--radius-lg); padding: 32px 28px; }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 700;
  color: #08080c;
}
[data-theme="dark"] .stat-number { color: #fff; }
.stat-label { display: block; margin-top: 4px; font-weight: 500; }
.stat-divider { height: 1px; background: var(--border); margin: 20px 0; }
.stat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.stat-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-muted); }
.stat-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #08080c;
  color: #fff;
  font-size: .65rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
[data-theme="dark"] .stat-list .check { background: #fff; color: #08080c; }

/* ---------------- Om mig / grundlægger ---------------- */
.founder-title { font-size: 54px; }
.founder-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: left;
}
.founder-photo {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-bio { color: var(--text-muted); margin-bottom: 28px; }
.founder-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.founder-signature { font-size: .9rem; color: var(--text-muted); }
.founder-signature span { display: block; }

/* ---------------- Info-kort (billede + tekst, samme mønster som founder-card) ---------------- */
.info-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin: 48px auto 0;
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: left;
}
.info-photo { border-radius: var(--radius-lg); overflow: hidden; height: 100%; min-height: 320px; }
.info-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info-bio { color: var(--text-muted); margin-bottom: 28px; }
.info-points { display: flex; flex-direction: column; gap: 14px; }

/* Tekst-only variant (uden billed-spalte), til ydelsessider uden et matchende foto */
.info-card.text-only {
  grid-template-columns: 1fr;
  max-width: 720px;
  text-align: center;
}
.info-card.text-only .info-bio { margin-left: auto; margin-right: auto; }
.info-card.text-only .info-points { max-width: 420px; margin: 0 auto; text-align: left; }

/* ---------------- Pris-highlight ---------------- */
.price-highlight {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 42px;
  margin: 4px 0 20px;
}
.price-card p { color: var(--text-muted); }

/* ---------------- FAQ ---------------- */
.faq-title { font-size: 54px; font-weight: 600; }
.faq-inner a { color: var(--c-blue); font-weight: 600; }
.faq-inner .section-sub { max-width: none; white-space: nowrap; }
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.faq-item {
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform .3s var(--ease);
  margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); margin-top: 14px; font-size: .95rem; }

/* ---------------- Final CTA ---------------- */
.cta-card {
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
}
.cta-title { max-width: 780px; margin: 0 auto 16px; font-size: 54px; font-weight: 700; }
.cta-card .section-sub { margin: 0 auto 32px; }
.cta-form {
  display: flex;
  justify-content: center;
}
.cta-form .btn-primary { color: #fff; }
.cta-direct { margin-top: 20px; color: var(--text-muted); font-size: .92rem; }
.cta-direct a { color: var(--c-blue); font-weight: 600; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 72px;
}
.site-footer .footer-inner { padding-bottom: 72px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 16px; max-width: 320px; }
.footer-legal { font-size: .8rem !important; margin-top: 10px !important; opacity: .75; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; color: var(--text-muted); }
.footer-col a { color: var(--text); font-size: .92rem; }
.footer-col a:hover { color: var(--c-blue); }
.footer-contact-link { display: flex; align-items: center; gap: 8px; }
.footer-contact-link svg { flex-shrink: 0; color: var(--text-muted); }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social-icon img { display: block; transition: transform .2s var(--ease); }
.footer-social-icon:hover img { transform: scale(1.1); }
[data-theme="dark"] .footer-social-icon img { filter: brightness(0) invert(1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer .footer-bottom {
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { color: var(--text-muted); transition: color .2s var(--ease); }
.footer-legal-links a:hover { color: var(--text); }

/* ---------------- Juridisk sideindhold (cookie-/persondatapolitik) ---------------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.legal-content ul { color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Blur-reveal (titler + tekst skarpes én gang, ved første visning) ---------------- */
.blur-reveal {
  filter: blur(12px);
  transition: filter .4s var(--ease);
  will-change: filter;
}
.blur-reveal.in-view {
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .blur-reveal { filter: none; transition: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1400px) {
  .site-header .container { margin-left: 5%; margin-right: 5%; }
  .main-nav.open { left: 5%; right: 5%; }
  .mega-menu { grid-template-columns: 1fr; gap: 4px; }
  .promise-grid, .stats-grid { grid-template-columns: 1fr; }
  .mega-col:nth-child(3) {
    grid-column: auto;
    border-left: none;
    padding-left: 0;
    padding-top: 24px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  .mega-col + .mega-col { margin-top: 8px; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero h1, .title-xl, h2 { font-size: 46px; }
  .promise-title { font-size: 46px; }
  .results-title { font-size: 46px; }
  .stat-number { font-size: 42px; }
  .founder-title { font-size: 46px; }
  .faq-title { font-size: 46px; }
  .cta-title { font-size: 46px; }
  .testimonial-quote { font-size: 34px; }
  .testimonial-inner { max-width: 700px; }
  .hero-bento { max-width: 520px; height: 70vh; min-height: 420px; margin: 0 auto; }
  .service-grid > .service-card { flex-basis: calc((100% - 22px) / 2); }
  .process-grid, .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { height: auto; aspect-ratio: 4 / 5; }
  .info-card { grid-template-columns: 1fr; }
  .info-photo { height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .diff-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .page-hero h1 { font-size: 40px; }
  .work-carousel { --work-card-w: 88%; }
  .work-media { height: 440px; }
}

@media (max-width: 1200px) {
  .container { padding: 0 5%; }
}

/* iPad-bredder (961–1159px): 4 service-kort passer ikke på én række uden at
   vælte til 3+1 — tving 2x2 i stedet, uden at røre mobil (≤960) eller
   desktop (≥1160), hvor layoutet allerede er korrekt. */
@media (min-width: 961px) and (max-width: 1159px) {
  .service-grid > .service-card { flex-basis: calc((100% - 22px) / 2); }
}

/* iPad-bredder (721–1159px): sektionerne arver desktoppens fulde padding
   (100px), hvilket giver for meget luft på tablet — halveret her, uden at
   røre mobil (≤720, har sin egen mindre padding) eller desktop (≥1160). */
@media (min-width: 721px) and (max-width: 1159px) {
  section { padding: 50px 0; }
}

.ipad-break { display: none; }

/* iPad-bredder (721–960px): hero-sektionen på webdesign.html stabler tekst
   og billed-loop (arver ≤960-reglen nedenfor), så loopen lander under
   teksten — sæt dem side om side igen her, og vis linjeskiftet i H1'en,
   uden at røre mobil (≤720, stadig stablet) eller desktop (≥961). */
@media (min-width: 721px) and (max-width: 960px) {
  .ipad-break { display: inline; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-bento { max-width: none; margin: 0; height: 60vh; min-height: 380px; }
}

@media (max-width: 720px) {
  .service-grid > .service-card { flex-basis: 100%; }
  .promise-grid, .stats-grid, .process-grid, .feature-grid-4 { grid-template-columns: 1fr; }
  .bento-col-down { margin-top: 0; }
  .hero-bento { height: 60vh; min-height: 340px; }
  .hero h1 { font-size: 36px; }
  .title-xl, h2 { font-size: 30px; }
  .promise-title { font-size: 30px; }
  .results-title { font-size: 30px; }
  .stat-number { font-size: 34px; }
  .founder-title { font-size: 30px; }
  .faq-title { font-size: 30px; }
  .cta-title { font-size: 30px; }
  .price-highlight { font-size: 27px; }
  .faq-inner .section-sub { white-space: normal; max-width: 420px; }
  .testimonial-quote { font-size: 18px; }
  .testimonial-inner { max-width: 100%; }
  .page-hero h1 { font-size: 32px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-accordion { flex-direction: column; height: auto; gap: 12px; }
  .process-acc-card { flex: none !important; padding: 24px 22px; }
  .process-acc-content p { max-height: none !important; opacity: 1 !important; margin-top: 10px !important; }
  .site-header .container { margin-left: 5%; margin-right: 5%; }
  .main-nav.open { left: 5%; right: 5%; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .header-book-btn { display: none; }
  .work-carousel { --work-card-w: 88vw; gap: 12px; }
  .work-media { height: 340px; }
  .carousel-prev { left: 1%; }
  .carousel-next { right: 1%; }
  .founder-card { padding: 12px; }
  .info-card { padding: 32px 24px; }
  .diff-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  section { padding: 25px 0; }
  .hero { padding: 40px 0 25px; }
  .testimonial { padding-bottom: 25px; }
}

@media (max-width: 480px) {
  .brand-logo { height: 24px; }
  .site-header .nav-inner { gap: 10px; padding: 8px 10px 8px 14px; }
  .nav-actions { gap: 6px; }
  .btn-sm { padding: 8px 14px; font-size: .8rem; }
}
