body.content-page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 213, 148, 0.16), transparent 28%),
    linear-gradient(180deg, #c8d4df 0%, #dbe3eb 26%, #edf1f5 100%);
  --dw-page-tint: rgba(13, 30, 48, 0.48);
  --dw-page-haze: rgba(237, 197, 133, 0.18);
  --dw-page-accent: rgba(21, 57, 92, 0.14);
  --dw-card-surface: rgba(247, 244, 238, 0.82);
  --dw-card-surface-strong: rgba(252, 250, 246, 0.9);
  --dw-card-border: rgba(255, 255, 255, 0.42);
  --dw-card-shadow: rgba(8, 20, 34, 0.22);
}

body.content-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(7, 18, 31, 0.56), rgba(9, 22, 36, 0.3) 28%, rgba(18, 33, 49, 0.18) 58%, rgba(236, 241, 245, 0.44)),
    linear-gradient(135deg, var(--dw-page-tint), transparent 45%, var(--dw-page-haze)),
    var(--dw-page-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

body.content-page::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 18%, var(--dw-page-haze), transparent 24%),
    radial-gradient(circle at 84% 16%, var(--dw-page-accent), transparent 30%),
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.22)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 120px),
    linear-gradient(rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 120px);
  background-size: auto, auto, auto, auto, 120px 120px, 120px 120px;
  box-shadow: inset 0 0 180px rgba(8, 20, 34, 0.16);
  pointer-events: none;
}

.service-page--ejendomme {
  --dw-page-bg: url('../img/Ejendomme/Bygaden%207%20Aalborg.webp');
  --dw-page-tint: rgba(20, 40, 58, 0.42);
  --dw-page-haze: rgba(226, 183, 136, 0.18);
  --dw-page-accent: rgba(118, 149, 173, 0.16);
}

.service-page--byggeri {
  --dw-page-bg: url('../img/Byggeri/JV%20Construction.webp');
  --dw-page-tint: rgba(24, 31, 39, 0.52);
  --dw-page-haze: rgba(214, 171, 104, 0.14);
  --dw-page-accent: rgba(87, 115, 136, 0.2);
}

.service-page--arrangementer {
  --dw-page-bg: url('../img/Arrangementer/Aalborg%20City%20Cup%202025.webp');
  --dw-page-tint: rgba(22, 28, 44, 0.52);
  --dw-page-haze: rgba(241, 183, 118, 0.22);
  --dw-page-accent: rgba(110, 132, 176, 0.18);
}

.service-page--virksomheder {
  --dw-page-bg: url('../img/fallback-tiles/Virksomheder.webp');
  --dw-page-tint: rgba(15, 32, 48, 0.5);
  --dw-page-haze: rgba(203, 183, 140, 0.16);
  --dw-page-accent: rgba(74, 143, 219, 0.18);
}

.content-page--terms {
  --dw-page-bg:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.3), transparent 42%),
    linear-gradient(135deg, rgba(176, 198, 216, 0.58), rgba(230, 216, 193, 0.36));
  --dw-page-tint: rgba(18, 34, 49, 0.42);
  --dw-page-haze: rgba(223, 188, 138, 0.18);
  --dw-page-accent: rgba(87, 126, 160, 0.14);
}

.content-page main {
  padding-top: 110px;
}

.content-page section {
  min-height: auto;
  padding: 34px 0 42px;
}

.content-page .section-card {
  margin-bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, var(--dw-card-surface-strong), var(--dw-card-surface));
  border: 1px solid var(--dw-card-border);
  box-shadow:
    0 28px 56px var(--dw-card-shadow),
    0 8px 18px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.08);
}

.service-page__hero {
  padding-top: 28px;
}

.service-hero-card {
  overflow: hidden;
}

.service-section-intro {
  max-width: 66ch;
  padding-top: 24px;
  margin: 0 0 24px;
  color: #21384f;
  font-size: 0.98rem;
  line-height: 1.78;
}

.breadcrumbs {
  margin-bottom: 22px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: #415265;
}

.breadcrumbs li {
  background: rgba(255, 251, 244, 0.64);
  border: 1px solid rgba(21, 57, 92, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 3vw, 34px);
  align-items: center;
}

.service-hero-grid > * {
  min-width: 0;
}

.service-hero-copy h1 {
  max-width: 15ch;
  margin-bottom: 18px;
  color: #0d1e30;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.42);
}

.service-lead {
  margin: 0;
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.82;
  color: #21384f;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-highlights li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.62);
  border: 1px solid rgba(21, 57, 92, 0.14);
  color: #17324e;
  font-size: 0.85rem;
  font-weight: 600;
}

.service-hero-media {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.service-hero-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 50px rgba(12, 26, 45, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
    rgba(12, 26, 45, 0.22);
  isolation: isolate;
}

.service-hero-stage img,
.service-hero-fallback,
.service-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-hero-fallback,
.service-hero-video {
  position: absolute;
  inset: 0;
}

.service-hero-fallback {
  z-index: 0;
  transform: scale(1.01);
}

.service-hero-video {
  z-index: 1;
  background: transparent;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-hero-video[data-ready='true'] {
  opacity: 1;
}

.service-media-note {
  padding: 34px 38px 36px 42px;
  background: linear-gradient(180deg, rgba(250, 247, 241, 0.94), rgba(239, 233, 224, 0.96));
  border: 1px solid rgba(21, 57, 92, 0.12);
  border-radius: 22px;
  box-shadow: 0 16px 32px rgba(12, 26, 45, 0.12);
  position: relative;
  z-index: 3;
  min-width: 0;
}

.service-media-note--hero {
  align-self: center;
  width: 100%;
}

.service-media-note::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  bottom: 28px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #15395c, rgba(21, 57, 92, 0.24));
}

.service-media-note h1,
.service-media-note h2,
.service-media-note h3 {
  margin-bottom: 18px;
  color: #15395c;
  text-shadow: none;
}

.service-media-note h1 {
  font-size: clamp(1.8rem, 2.45vw, 3rem);
  line-height: 1.05;
  width: 100%;
  max-width: 18ch;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.service-media-note p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.82;
  color: #334455;
}

.service-media-note p + p {
  margin-top: 12px;
}

.service-hero-actions {
  justify-content: flex-start;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-grid + .service-list {
  margin-top: 24px;
}

.service-list + .service-grid {
  margin-top: 24px;
}

.service-card {
  background: rgba(249, 246, 240, 0.92);
  border-left: 4px solid #15395c;
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  box-shadow: 0 16px 32px rgba(12, 26, 45, 0.1);
}

.service-card h3 {
  margin-bottom: 10px;
  color: #15395c;
  text-shadow: none;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334455;
}

.service-card p + p {
  margin-top: 14px;
}

.service-card strong {
  color: #15395c;
}

.service-subsection-title {
  margin: 30px 0 16px;
  color: #15395c;
}

.service-list,
.service-links {
  list-style: none;
  display: grid;
  gap: 12px;
  text-align: left;
}

.service-list li,
.service-links li {
  padding: 16px 18px;
  background: rgba(248, 245, 239, 0.92);
  border-left: 4px solid #15395c;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334455;
  box-shadow: 0 16px 32px rgba(12, 26, 45, 0.1);
}

.service-list strong {
  color: #15395c;
}

.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.service-gallery__item {
  background: rgba(251, 249, 245, 0.92);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(12, 26, 45, 0.14);
}

.service-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-gallery__item--contain-image img {
  object-fit: contain;
  background: #fff;
}

.service-gallery__item figcaption {
  padding: 16px 18px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #334455;
  background: rgba(245, 240, 232, 0.92);
}

.service-logo-strip {
  margin-top: 20px;
  background: rgba(247, 241, 232, 0.82);
  border: 1px solid rgba(21, 57, 92, 0.12);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 36px rgba(12, 26, 45, 0.12);
}

.cta-band {
  background: linear-gradient(180deg, rgba(251, 247, 241, 0.9), rgba(240, 233, 224, 0.95));
  border: 1px solid rgba(21, 57, 92, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(12, 26, 45, 0.16);
  padding: 34px;
  text-align: left;
}

.cta-band h2 {
  margin-bottom: 10px;
  color: #0d1e30;
}

.service-contact-intro {
  max-width: 64ch;
  margin: 0;
  color: #243444;
  font-size: 0.98rem;
  line-height: 1.76;
}

.service-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 28px;
  text-align: left;
}

.service-contact-item {
  display: block;
  min-width: 0;
  padding: 16px 18px;
  border-left: 4px solid #15395c;
  border-radius: 18px;
  background: rgba(248, 244, 238, 0.86);
  box-shadow: 0 16px 30px rgba(12, 26, 45, 0.1);
  text-shadow: none;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.service-contact-item:hover,
.service-contact-item:focus-visible {
  color: var(--dark-color);
  background: rgba(252, 248, 242, 0.96);
  box-shadow: 0 20px 36px rgba(12, 26, 45, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.service-contact-label {
  display: block;
  margin-bottom: 10px;
  color: #15395c;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: none;
}

.service-contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.6;
  color: #17324e;
  word-break: break-word;
  text-shadow: none;
}

.service-contact-note {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #334455;
  text-align: left;
}

@media (max-width: 1180px) {
  .service-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
  }

  .service-media-note h1 {
    max-width: 16ch;
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.05;
  }

  .service-media-note p {
    font-size: 0.8rem;
    line-height: 1.6;
  }

  .service-hero-actions {
    gap: 10px;
  }

  .service-hero-actions .cta-button {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 0.86rem;
  }
}

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

  .service-media-note h1 {
    max-width: 20ch;
  }

  .service-hero-media {
    max-width: 680px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .content-page main {
    padding-top: 88px;
  }

  .cta-band {
    padding: 26px 22px;
  }

  .service-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-contact-note {
    margin-top: 4px;
  }

  .service-highlights li {
    width: 100%;
    justify-content: flex-start;
  }

  .service-hero-stage {
    aspect-ratio: 16 / 11;
  }

  .service-hero-actions {
    justify-content: flex-start;
  }

}

@media (max-width: 480px) {
  .service-media-note {
    padding: 28px 22px 30px 26px;
  }

  .service-media-note::before {
    top: 24px;
    bottom: 24px;
  }

  .service-media-note h1 {
    max-width: 100%;
    font-size: 1.35rem;
    line-height: 1.08;
    text-wrap: pretty;
    letter-spacing: -0.01em;
  }

  .breadcrumbs ol {
    font-size: 0.78rem;
  }

  .service-lead,
  .service-card p,
  .service-list li,
  .service-links li,
  .service-contact-note,
  .service-contact-value {
    font-size: 0.88rem;
  }

  .service-gallery__item figcaption {
    font-size: 0.8rem;
  }

  .service-contact-value {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-video {
    display: none;
  }
}
