/* ============================================================
   DM ENTREPRENØR — v2 (new color weight)
   Palette weighted from supplied moodboard:
     Neutral (dominant)  · Main 1 (gray) · Main 2 (slate) ·
     Accent (rust)       · Dark Neutral (near-black)
   ============================================================ */

:root {
  /* ── Palette ── */
  --neutral:        #d6d2c4;   /* dominant warm cream */
  --neutral-soft:   #e3dfd2;   /* lighter cream */
  --neutral-tint:   #eef0ef;   /* very pale cream — page bg */
  --neutral-deep:   #b8b3a3;   /* aged neutral */

  --main-1:         #898682;   /* warm mid-gray (Main 1) */
  --main-1-soft:    #a9a6a1;
  --main-1-deep:    #6b6864;

  --main-2:         #4d555c;   /* slate blue-gray (Main 2) */
  --main-2-deep:    #353b41;

  --accent:         #a14722;   /* rust */
  --accent-bright:  #c45a2d;

  --dark:           #1c1714;   /* dark neutral */
  --dark-soft:      #2a231f;

  --hvid:           #ffffff;

  /* Brand palette additions (from brand colour sheet) */
  --teil:           #0d3646;   /* dark teal — hero scrim / dark sections */
  --sand:           #d9d7cd;   /* warm light sand */
  --beton:          #7b7b7b;   /* concrete gray */
  --rod-jord:       #94431e;   /* rød jord / rustrød */
  --sort:           #211d1b;   /* brand black */
  --light-gray:     #eef0ef;   /* brand light gray */

  /* ── Functional aliases ── */
  --bg:        var(--neutral-tint);
  --bg-alt:    var(--neutral);
  --bg-deep:   var(--main-2);
  --bg-darkest:var(--dark);
  --ink:       var(--dark);
  --ink-soft:  rgba(28,23,20,0.78);
  --ink-mute:  rgba(28,23,20,0.55);
  --rule:      rgba(28,23,20,0.12);
  --rule-soft: rgba(28,23,20,0.07);

  /* Type */
  --f-display: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --f-body:    'Urbanist', 'Helvetica Neue', Arial, sans-serif;
  --f-serif:   'Cormorant Garamond', 'Palatino', Georgia, serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* Type pairing tweaks */
.type-pair-classic   { --f-display: 'Urbanist', 'Helvetica Neue', sans-serif; --f-serif: 'Cormorant Garamond', Georgia, serif; }
.type-pair-condensed { --f-display: 'Oswald', 'Urbanist', sans-serif;          --f-serif: 'Cormorant Garamond', Georgia, serif; }
.type-pair-mono      { --f-display: 'Urbanist', 'Helvetica Neue', sans-serif;  --f-serif: 'Instrument Serif', Georgia, serif; }

/* ── Reset / base ── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--hvid); }

.wrap        { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.wrap-tight  { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 720px) { .wrap, .wrap-tight { padding: 0 24px; } }

/* ── Typography helpers ── */
.eyebrow {
  font-family: var(--f-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content:''; display:inline-block; width:24px; height:1px; background: var(--accent); }
.eyebrow.no-rule::before { display: none; }
.eyebrow.on-dark { color: var(--neutral); }
.eyebrow.on-dark::before { background: var(--accent); }

.serif-it { font-family: var(--f-serif); font-style: italic; font-weight: 500; text-transform: none; letter-spacing: -0.01em; }

.section-eyebrow-a {
  font-family: var(--f-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.section-eyebrow-a em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  font-size: 26px;
  text-transform: none; letter-spacing: 0;
}
.section-eyebrow-rule { width: 100%; height: 1px; background: var(--accent); opacity: 0.5; margin: 14px 0 24px; }

.h-display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 8.6vw, 132px);
  line-height: 1.15; letter-spacing: -0.035em;
  text-transform: uppercase; margin: 0;
  color: var(--dark);
}
.h-section {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04; letter-spacing: -0.025em;
  text-transform: uppercase; margin: 0;
}
.h-card {
  font-family: var(--f-display);
  font-weight: 800; font-size: 28px;
  line-height: 1.05; letter-spacing: -0.015em;
  text-transform: uppercase; margin: 0;
}
.lead {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 60ch;
}
.body { font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.h-display br + em, .h-section br + em { display: inline-block; margin-top: 0.14em; }
.label-tiny {
  font-family: var(--f-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-mute);
}
.mono { font-family: var(--f-mono); letter-spacing: 0; }

/* ── NAV (v2) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgb(238, 240, 239);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(28,23,20,0.10);
  color: var(--dark);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 14px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
@media (max-width: 720px) { .nav-inner { padding: 12px 24px; gap: 16px; } }

/* Horizontal logo */
.nav-brand-square {
  display: flex; align-items: center;
  cursor: pointer;
  height: 32px;
}
.nav-brand-square img {
  height: 32px;
  width: auto;
  display: block;
}

/* Main menu */
.nav-menu {
  display: flex; gap: 4px;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 12px 16px;
  font-family: var(--f-display);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dark);
  transition: color .2s;
  cursor: pointer;
  background: transparent; border: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--accent); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px; height: 1px;
  background: var(--accent);
}
.nav-link .caret {
  width: 10px; height: 6px;
  display: inline-block;
  transition: transform .2s;
}
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 480px;
  background: var(--neutral-tint);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 48px -20px rgba(28,23,20,0.22);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 110;
}
.nav-dropdown.open {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge so the 8px gap doesn't break hover */
.nav-dropdown::before { content:''; position:absolute; left:0; right:0; top:-10px; height:10px; }
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  cursor: pointer;
  border: 0; background: transparent;
  text-align: left;
  transition: background .15s;
  border-radius: 1px;
}
.nav-dropdown-item:hover { background: var(--neutral); }
.nav-dropdown-item .ddi-no {
  font-family: var(--f-serif); font-style: italic;
  font-size: 13px; color: var(--accent);
}
.nav-dropdown-item .ddi-title {
  font-family: var(--f-display);
  font-weight: 800; font-size: 15px;
  text-transform: uppercase; letter-spacing: -0.005em;
  color: var(--dark);
  line-height: 1.1;
}
.nav-dropdown-item .ddi-sub {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.nav-dropdown-foot {
  grid-column: 1/-1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px 6px;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nav-dropdown-foot a {
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}

/* Right cluster — phone CTA */
.nav-right { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.nav-cta-combo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--hvid);
  border: 0;
  cursor: pointer;
  font-family: var(--f-display);
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.nav-cta-combo:hover { background: var(--accent-bright); transform: translateY(-1px); }
.nav-cta-combo .cta-phone {
  display: flex; flex-direction: column;
  justify-content: center;
  text-align: left;
}
.nav-cta-combo .cta-phone .pl {
  font-size: 9px; letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-cta-combo .cta-phone .pn {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--dark);
  padding: 10px 12px;
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .nav-cta-combo .cta-phone { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .nav-cta-combo .cta-action { padding: 10px 14px; font-size: 11px; letter-spacing: 0.16em; }
}

/* Menu drawer — compact panel anchored to the right */
.nav-mobile {
  position: absolute; top: 100%; right: 0;
  width: 300px;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 22px 52px -22px rgba(28,23,20,0.32);
  padding: 8px 24px 20px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--neutral-tint);
}
@media (max-width: 720px) { .nav-mobile { right: 0; left: 0; width: auto; border-left: 0; } }
.nav-mobile button {
  text-align: left;
  padding: 14px 0;
  background: transparent; border: 0;
  font-family: var(--f-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
}
.nav-mobile button:last-child { border-bottom: 0; }
.nav-mobile .submenu {
  display: flex; flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid var(--accent);
  margin: 4px 0 4px 4px;
}
.nav-mobile .submenu button {
  font-size: 11px; padding: 10px 0;
  color: var(--ink-soft);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20.24px 30.36px;
  background: var(--accent); color: var(--hvid);
  border: 0;
  font-family: var(--f-display);
  font-size: 15.18px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  box-sizing: border-box; height: 58.3px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--neutral-tint); }
.btn.ghost.on-dark {
  border-color: rgba(255,255,255,0.32);
  color: var(--hvid);
}
.btn.ghost.on-dark:hover { background: var(--hvid); color: var(--dark); }
.btn.dark {
  background: var(--dark); color: var(--hvid);
}
.btn.dark:hover { background: var(--dark-soft); }
.btn.solid-light {
  background: var(--hvid); color: var(--dark);
}
.btn.solid-light:hover { background: var(--neutral); }

.btn .arrow { width: 16px; height: 12px; }

/* ── Rental CTA — special inline element ── */
.rental-cta-band {
  background: var(--teil);
  color: var(--neutral-tint);
  padding: clamp(51.84px, 5.832vw, 77.76px) 0;
}
.rental-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) {
  .rental-cta-inner { grid-template-columns: 1fr; gap: 18px; text-align: left; }
}
.rental-cta-band .rcb-eyebrow {
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 12px;
}
.rental-cta-band .rcb-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent-bright);
}
.rental-cta-band .rcb-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}
.rental-cta-band .rcb-title em {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 800;
  font-size: 1em;
  text-transform: uppercase;
  color: var(--neutral-tint);
  letter-spacing: -0.025em;
}
.rental-cta-band .btn.rental {
  background: var(--accent);
  color: var(--hvid);
}
.rental-cta-band .btn.rental:hover { background: var(--accent-bright); }

/* Small inline rental link */
.rental-inline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.rental-inline:hover { background: var(--accent); color: var(--hvid); }

/* ── Sections ── */
.section { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg); color: var(--ink); }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.cream { background: var(--neutral); }
.section.lightgray { background: var(--light-gray); }
.section.sandbg { background: var(--sand); }
.section.cream-deep { background: var(--beton); }
.values-photo-bg { position: relative; overflow: hidden; }
.values-photo-bg .values-bg-layer {
  position: absolute; inset: 0; z-index: 0;
  background: url('../assets/tre-principper-bg.jpg');
  background-size: cover; background-position: center;
  filter: grayscale(100%);
}
.values-photo-bg .values-bg-layer::after {
  content: ''; position: absolute; inset: 0;
  background: var(--beton); opacity: 0.88;
}
.values-photo-bg .value { background: rgba(238,240,239,0.88); backdrop-filter: blur(2px); }
.values-photo-bg > .wrap { position: relative; z-index: 1; }
.values-photo-bg > .values { position: relative; z-index: 1; }
.section.gray { background: var(--main-1); color: var(--hvid); }
.section.gray .lead, .section.gray .body { color: rgba(255,255,255,0.86); }
.section.slate { background: var(--main-2); color: var(--hvid); }
.section.slate .lead, .section.slate .body { color: rgba(255,255,255,0.82); }
.section.slate .eyebrow { color: var(--accent-bright); }
.section.slate .eyebrow::before { background: var(--accent-bright); }
.section.dark { background: var(--dark); color: var(--neutral-tint); }
.section.dark .lead, .section.dark .body { color: rgba(238,240,239,0.78); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Hero (v2) ── */
.hero-v2 {
  position: relative;
  min-height: clamp(720px, 92vh, 980px);
  padding: 140px 0 64px;
  background: var(--neutral);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-v2 .hero-grain {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(161,71,34,0.16), transparent 60%),
    radial-gradient(ellipse 80% 70% at 0% 110%, rgba(77,85,92,0.18), transparent 65%),
    repeating-linear-gradient(135deg, rgba(28,23,20,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero-v2 .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Brand video background (split hero) + 25% legibility scrim */
.hero-v2 .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-v2 .hero-scrim {
  position: absolute; inset: 0;
  /* Teil (#0d3646) legibility scrim — weighted behind the text (left),
     fading out to the right so the video stays visible. */
  background: linear-gradient(100deg,
    rgba(13,54,70,0.90) 0%,
    rgba(13,54,70,0.74) 34%,
    rgba(13,54,70,0.44) 64%,
    rgba(13,54,70,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Light text treatment over the video hero */
.hero-v2-video .h-display { color: var(--rod-jord); }
.hero-v2-video .h-display em { color: var(--hvid); }
.hero-v2-video .lead.lead {
  color: var(--sand);
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px) !important;
  line-height: 1.4;
}

/* Hero CTA buttons — 15% larger for visibility */
.hero-v2-video .hero-cta-row .btn {
  font-size: 15.18px;
  padding: 20.24px 30.36px;
  letter-spacing: 0.2em;
}
.hero-cta-row .btn { box-sizing: border-box; height: 58.3px; padding-top: 0; padding-bottom: 0; }

/* Menu links match the hero button text size */
.nav .nav-menu .nav-link { font-size: 13.8px !important; line-height: 1; }

/* Header CTA button — same enlarged (15%) sizing, more visible */
.nav-cta-combo { padding: 18.4px 27.6px; }
.nav-cta-combo .cta-phone { line-height: 1.15; }
.nav-cta-combo .cta-phone .pn { font-size: 16.1px; }

/* ── Unified dropdown main menu at all widths (cleaner, format-style) ── */
.nav .nav-menu { display: none !important; }
.nav-right { flex-direction: row; }
.nav-cta-combo, .nav-mobile-toggle { box-sizing: border-box; height: 53px; }
.nav-mobile-toggle {
  display: inline-flex !important;
  align-items: center; justify-content: center; gap: 10px;
  font-size: 13.8px;
  padding: 18.4px 27.6px;
}
.nav-mobile-toggle .burger {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 4px; width: 18px; height: 12px;
}
.nav-mobile-toggle .burger i {
  display: block; height: 1.5px; width: 100%;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-mobile-toggle.open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-mobile-toggle.open .burger i:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Dropdown panel — larger, cleaner links */
.nav-mobile { padding: 12px 28px 22px; }
.nav-mobile button { font-size: 15px; letter-spacing: 0.1em; padding: 14px 0; transition: color .15s; }
.nav-mobile button:hover { color: var(--accent); }
.nav-mobile button.rent-link { color: var(--teil) !important; display: inline-flex; align-items: center; gap: 8px; }
.nav-mobile button.rent-link:hover { color: var(--accent) !important; }
.nav-mobile .submenu button { font-size: 13px; padding: 11px 0; }
@media (max-width: 720px) { .nav-mobile { padding: 10px 24px 22px; right: 0; left: 0; } }
.hero-v2 .hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-v2 .hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  font-family: var(--f-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.hero-v2 .hero-meta strong { color: var(--dark); font-weight: 800; }
.hero-v2 .hero-meta .pill {
  padding: 6px 12px;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.4);
}
.hero-v2 h1 em {
  display: block;
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: -0.02em;
  color: var(--accent);
  font-size: 0.5em;
  margin-top: 12px;
}
.hero-v2 .hero-foot {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  margin-top: 64px;
  align-items: end;
}
@media (max-width: 880px) {
  .hero-v2 .hero-foot { grid-template-columns: 1fr; gap: 28px; }
}
.hero-v2 .hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-v2 .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--rule);
}
.hero-v2 .hero-stat {
  padding: 16px 24px;
  border-right: 1px solid var(--rule);
}
.hero-v2 .hero-stat:last-child { border-right: 0; }
.hero-v2 .hero-stat .num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.hero-v2 .hero-stat .num em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  color: var(--accent);
  font-size: 0.6em;
}
.hero-v2 .hero-stat .lbl {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Service grid / cards ── */
.grid-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 880px) { .grid-services { grid-template-columns: 1fr; } }

.service-card {
  background: var(--light-gray);
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 360px;
  position: relative;
  transition: background .3s;
  cursor: pointer;
  color: var(--ink);
}
.service-card:hover { background: #e4e7e5; }
.service-card .num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
  color: var(--dark);
}
.service-card p {
  font-size: 26px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0; flex: 1;
}
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card .tag {
  font-size: 20px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  background: rgba(255,255,255,0.4);
  display: inline-flex; align-items: center; gap: 10px;
}
.service-card .tag .chev {
  opacity: 0.6;
  transition: opacity .2s, transform .2s;
}
.service-card:hover .tag .chev { opacity: 1; transform: translateX(4px); }

/* ── Image slots ── */
.img-slot-wrap {
  position: relative;
  background: var(--neutral);
  border-radius: 0;
  overflow: hidden;
}
.img-slot-wrap.aspect-16-9 { aspect-ratio: 16/9; }
.img-slot-wrap.aspect-4-3 { aspect-ratio: 4/3; }
.img-slot-wrap.aspect-3-4 { aspect-ratio: 3/4; }
.img-slot-wrap.aspect-1-1 { aspect-ratio: 1/1; }
.img-slot-wrap image-slot { width: 100%; height: 100%; display: block; }
/* Brand photo treatment — unifies uploaded løsninger photos into one family */
.img-slot-wrap.brand-photo image-slot::part(image) {
  filter: grayscale(18%) sepia(6%) saturate(1.08) contrast(1.1) brightness(0.95);
}
.img-slot-wrap.brand-photo::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  background: linear-gradient(155deg, rgba(13,54,70,0.4) 0%, rgba(13,54,70,0) 45%, rgba(148,67,30,0.24) 100%);
}

.placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(28,23,20,0.04) 0,
      rgba(28,23,20,0.04) 2px,
      transparent 2px,
      transparent 12px),
    var(--neutral);
  color: var(--ink-mute);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--rule);
}
.placeholder .ph-icon {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 32px;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: none;
}
.placeholder.aspect-16-9 { aspect-ratio: 16/9; }
.placeholder.aspect-4-3 { aspect-ratio: 4/3; }
.placeholder.aspect-3-4 { aspect-ratio: 3/4; }
.placeholder.aspect-1-1 { aspect-ratio: 1/1; }
/* On dark sections, placeholder swaps */
.section.dark .placeholder, .section.slate .placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 12px),
    rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
}

/* ── Manifest ── */
.manifest {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  padding: clamp(80px, 8vw, 120px) 0;
  align-items: center;
}
@media (max-width: 880px) { .manifest { grid-template-columns: 1fr; gap: 32px; } }
/* Teil scrim on the quote/manifest portrait — echoes the hero treatment */
.manifest .img-slot-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg,
    rgba(13,54,70,0.62) 0%,
    rgba(13,54,70,0.42) 40%,
    rgba(13,54,70,0.20) 100%);
  pointer-events: none;
}
.manifest .lead-big {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--dark);
}
.manifest .lead-big em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 600;
  color: var(--accent);
}

/* ── Values grid ── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(33,29,27,0.18);
  border-top: 1px solid rgba(33,29,27,0.18);
  border-bottom: 1px solid rgba(33,29,27,0.18);
}
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }
.value {
  padding: 56px 40px;
  background: var(--light-gray);
  min-height: 320px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background .3s, filter .3s;
}
.value:hover { filter: brightness(0.96); }
.value .num { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--teil); font-size: 26px; letter-spacing: 0; }
.value h4 {
  font-family: var(--f-display);
  font-weight: 800; font-size: 40px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--dark);
}
.value p { font-size: 26px; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* ── Projects ── */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .projects { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.project .pmedia { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project .pmedia .placeholder, .project .pmedia .img-slot-wrap { aspect-ratio: auto; height: 100%; width: 100%; }
.project .pmeta { display: flex; justify-content: space-between; gap: 16px; }
.project .ptitle { font-family: var(--f-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: 0.02em; }
.project .ploc { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; }
.project .ptag { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 14px; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: var(--neutral-tint);
  padding: 96px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand img {
  height: 88px; width: auto;
  object-fit: contain;
  object-position: top left;
  margin-bottom: 12px;
}
.footer-grid h5 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(238,240,239,0.55);
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a {
  font-size: 14px;
  color: rgba(238,240,239,0.78);
  transition: color .2s;
  cursor: pointer;
}
.footer-grid ul a:hover { color: var(--accent-bright); }
.footer-grid ul a.rent {
  color: var(--accent-bright);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-statement {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  font-size: 24px; line-height: 1.3;
  color: rgba(238,240,239,0.86);
  max-width: 28ch;
  margin-top: 24px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(238,240,239,0.10);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(238,240,239,0.45);
}
.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(238,240,239,0.70);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-social:hover { color: var(--accent-bright); }
.footer-social svg { flex-shrink: 0; }

/* ── Client logo belt (rendered inside marquee) ── */
.marquee-logo {
  height: clamp(38px, 4.4vw, 62px); width: clamp(132px, 15.2vw, 215px);
  object-fit: contain;
}

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  background: #eef0ef;
}
.marquee-track {
  display: flex; align-items: center;
  width: max-content;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dark);
}
.marquee-half { display: flex; align-items: center; flex: 0 0 auto; animation: scrollX 34s linear infinite; }
.marquee-track .marquee-logo, .marquee-half > span { margin-right: 64px; flex-shrink: 0; }
.marquee-track .chev { color: #7b7b7b; font-family: var(--f-serif); font-style: italic; margin-right: 64px; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ── CTA band ── */
.cta-band {
  background: var(--accent);
  color: var(--hvid);
  padding: clamp(51.84px, 5.832vw, 77.76px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,max-content) minmax(0,1fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 1100px) { .cta-band-inner { grid-template-columns: 1fr; gap: 28px; } }
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0;
}
@media (max-width: 1100px) { .cta-band h2 { white-space: normal; } }
.cta-band h2 em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  text-transform: none; letter-spacing: -0.01em;
  color: var(--hvid);
}
.cta-band .btn { background: var(--dark); }
.cta-band .btn:hover { background: var(--dark-soft); }
.cta-band-link { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 3px; }
.cta-band-link:hover { color: var(--dark); text-decoration-color: var(--dark); }

/* ── Page headers ── */
.page-header {
  padding: 200px 0 80px;
  border-bottom: 1px solid var(--rule);
  background: var(--neutral);
  position: relative;
  overflow: hidden;
}
.page-header.slate { background: var(--main-2); color: var(--hvid); }
.page-header.slate .crumbs { color: rgba(255,255,255,0.55); }
.page-header.slate .crumbs em { color: var(--accent-bright); }
.page-header.slate .lead { color: rgba(255,255,255,0.86); }
.page-header.slate .h-display { color: var(--hvid); }
.page-header .ph-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 110% 50%, rgba(161,71,34,0.18), transparent 60%);
  z-index: 0;
}
.page-header > .wrap { position: relative; z-index: 1; }
.page-header .crumbs {
  display: flex; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.page-header .crumbs em { font-family: var(--f-serif); font-style: italic; color: var(--accent); letter-spacing: 0; text-transform: none; }
.page-header h1 { margin: 0; }
.page-header .ph-foot {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 48px;
  gap: 32px;
  flex-wrap: wrap;
}

/* ── Specs ── */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
}
.spec:last-child { border-right: 0; }
.spec .l { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.spec .v { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; color: var(--dark); }
.spec .v em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--accent); font-size: 0.7em; }
.section.slate .spec .l { color: rgba(255,255,255,0.55); }
.section.slate .spec .v { color: var(--hvid); }
.section.slate .specs { border-color: rgba(255,255,255,0.18); }
.section.slate .spec { border-color: rgba(255,255,255,0.18); }

/* ── Process steps ── */
.process { display: grid; grid-template-columns: 60px 1fr; }
.process-rail { position: relative; }
.process-rail::before {
  content: ''; position: absolute;
  left: 8px; top: 16px; bottom: 16px;
  width: 1px; background: var(--rule);
}
.step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step .step-num { position: relative; }
.step .step-num::before {
  content: ''; position: absolute;
  left: 4px; top: 8px;
  width: 9px; height: 9px;
  background: var(--accent); border-radius: 50%;
}
.step .step-num .nlabel {
  margin-left: 28px;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
}
.step .step-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px;
}
@media (max-width: 880px) { .step .step-body { grid-template-columns: 1fr; gap: 24px; } }
.step h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.step .step-desc p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 16px; }
.step .step-detail ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.step .step-detail li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.step .step-detail li::before {
  content: ''; position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ── Calculator (Beregner) — light theme ── */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 1024px) { .calc { grid-template-columns: 1fr; gap: 40px; } }
.calc-form { display: flex; flex-direction: column; gap: 40px; }
.calc-group { display: flex; flex-direction: column; gap: 16px; }
.calc-group .grp-label {
  display: flex; justify-content: space-between;
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
}
.calc-group .grp-label em {
  font-family: var(--f-serif); font-style: italic;
  font-weight: 500; color: var(--accent);
  letter-spacing: 0; text-transform: none; font-size: 13px;
}
.choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.choice {
  background: var(--neutral-tint);
  padding: 18px 16px;
  border: 0; text-align: left;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--ink);
  transition: background .2s;
  font-family: var(--f-display);
}
.choice:hover { background: var(--neutral-soft); }
.choice.on { background: var(--accent); color: var(--hvid); }
.choice .chead { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.choice .csub { font-size: 11px; opacity: 0.65; letter-spacing: 0.04em; }
.choice.on .csub { opacity: 0.85; }
.choice-row.squares {
  display: flex; flex-wrap: wrap; gap: 12px;
  background: none; border: 0;
}
.choice-row.squares .choice {
  aspect-ratio: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 168px; height: 58.3px; box-sizing: border-box; flex: 0 0 auto;
  background: transparent; border: 1px solid var(--ink);
}
.choice-row.squares .choice .chead {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.choice-row.squares .choice:hover { background: rgba(28,23,20,0.06); }
.choice-row.squares .choice.on { background: var(--teil); border-color: var(--teil); color: var(--hvid); }
@media (max-width: 640px) { .choice-row.squares { flex-direction: column; } .choice-row.squares .choice { width: 100%; } }
.slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.slider-row { display: flex; align-items: center; gap: 20px; }
.slider-row input[type=range] {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  background: transparent; height: 24px;
}
.slider-row input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--rule); }
.slider-row input[type=range]::-moz-range-track { height: 2px; background: var(--rule); }
.slider-row input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: -8px; cursor: grab;
  box-shadow: 0 0 0 4px rgba(161,71,34,0.18);
}
.slider-row input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent);
  border: 0; cursor: grab;
}
.slider-row .v {
  font-family: var(--f-display);
  font-weight: 800; font-size: 24px;
  min-width: 140px; text-align: right;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.slider-row .v em { font-family: var(--f-serif); font-weight: 500; font-style: italic; color: var(--accent); font-size: 14px; margin-left: 4px; }
.range-axis { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.calc-result {
  background: var(--neutral);
  padding: 48px 40px;
  border: 1px solid var(--rule);
  position: sticky; top: 100px;
}
.calc-result .rlabel { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.calc-result .rweeks {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(80px, 10vw, 132px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--dark);
}
.calc-result .rweeks em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 500;
  color: var(--accent);
  font-size: 0.3em;
  letter-spacing: 0;
  margin-left: 12px;
  vertical-align: 0.4em;
}
.calc-result .rdesc {
  font-family: var(--f-serif); font-style: italic;
  font-size: 20px; color: var(--ink-soft);
  margin-top: 16px; line-height: 1.35;
}
.calc-result .rbreak {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
}
.calc-result .rbreak .row { display: flex; justify-content: space-between; font-size: 13px; }
.calc-result .rbreak .row .l { color: var(--ink-mute); }
.calc-result .rbreak .row .r { font-family: var(--f-mono); color: var(--dark); }
.calc-result .rcta { margin-top: 28px; width: 100%; justify-content: center; }

/* ── Testimonials ── */
.t-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 880px) { .t-grid { grid-template-columns: 1fr; } }
.t-card {
  background: var(--neutral-tint);
  padding: 56px 48px;
  display: flex; flex-direction: column;
  gap: 32px; min-height: 360px;
}
.t-card .qmark { font-family: var(--f-serif); font-style: italic; font-size: 72px; line-height: 0.5; color: var(--accent); }
.t-card blockquote {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  font-size: 22px; line-height: 1.4; margin: 0; flex: 1;
  color: var(--dark);
}
.t-card .t-foot {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.t-card .t-name { font-family: var(--f-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dark); }
.t-card .t-role { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
.t-card .t-rating { color: var(--accent); font-size: 14px; letter-spacing: 0.12em; }

/* ── Team ── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1024px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .team { grid-template-columns: 1fr; } }
.team-card { display: flex; flex-direction: column; gap: 14px; }
.team-card .pic { aspect-ratio: 4/5; overflow: hidden; }
.team-card .name { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--dark); }
.team-card .role { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 15px; }
.team-card .det { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Contact form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  padding: 14px 0;
  font-family: var(--f-body);
  font-size: 16px;
  outline: none;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.gdpr-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.gdpr-link:hover { color: var(--accent-bright); }
.map-cta:hover { background: var(--accent-bright); }
a.ci-map-link { color: var(--ink); }
a.ci-map-link:hover { color: var(--accent); }
.dropdown-wrap { position: relative; }
.dropdown-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 12px 0; font-family: var(--f-body); font-size: 20px; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s;
}
.dropdown-trigger:hover, .dropdown-wrap.open .dropdown-trigger { border-color: var(--accent); }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 5;
  background: var(--neutral-tint); border: 1px solid var(--rule);
  box-shadow: 0 18px 48px -20px rgba(28,23,20,0.28);
  display: flex; flex-direction: column;
}
.dropdown-item {
  background: transparent; border: 0; text-align: left; cursor: pointer;
  padding: 14px 18px; font-family: var(--f-body); font-size: 20px; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.dropdown-item:last-child { border-bottom: 0; }
.dropdown-item:hover { background: var(--neutral-soft); }
.dropdown-item.on { color: var(--accent); font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: #c75c3a; }
.field .err { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #c75c3a; min-height: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; }
.contact-info .ci-block { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.contact-info .ci-block:first-child { padding-top: 0; }
.contact-info .ci-block .ci-lbl { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.contact-info .ci-block .ci-val { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.01em; color: var(--dark); }
.contact-info .ci-block .ci-val em { font-family: var(--f-serif); font-style: italic; font-weight: 500; color: var(--accent); text-transform: none; }

/* ── Misc ── */
.intro-banner { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 64px; align-items: center; }
@media (max-width: 880px) { .intro-banner { grid-template-columns: 1fr; gap: 32px; } }

.divider { display: flex; align-items: center; gap: 16px; margin: 32px 0; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-mute); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

.page { animation: pageIn .55s cubic-bezier(.2,.7,.2,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Color-weight strip — visual reference under hero */
.palette-strip {
  display: grid;
  grid-template-columns: 4.5fr 2.5fr 2fr 1fr 1fr;
  height: 6px;
}
.palette-strip > span { display: block; }
.palette-strip .p-neutral { background: var(--neutral); }
.palette-strip .p-main1   { background: var(--main-1); }
.palette-strip .p-main2   { background: var(--main-2); }
.palette-strip .p-accent  { background: var(--accent); }
.palette-strip .p-dark    { background: var(--dark); }

/* Service detail page extras */
.service-hero {
  background: var(--main-2);
  color: var(--hvid);
  padding: 180px 0 96px;
  position: relative;
  overflow: hidden;
}
.service-hero .ph-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 110% 60%, rgba(161,71,34,0.28), transparent 60%);
  z-index: 0;
}
.service-hero > .wrap { position: relative; z-index: 1; }
.service-hero .crumbs { color: rgba(255,255,255,0.55); margin-bottom: 28px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; display: flex; gap: 12px; }
.service-hero .crumbs em { font-family: var(--f-serif); font-style: italic; color: var(--accent-bright); letter-spacing: 0; text-transform: none; }
.service-hero h1 em {
  display: block; font-family: var(--f-serif); font-style: italic;
  font-weight: 500; color: var(--accent-bright);
  text-transform: none; letter-spacing: -0.02em;
  font-size: 0.55em; margin-top: 14px;
}
.service-hero .lead { color: rgba(255,255,255,0.86); margin-top: 32px; max-width: 56ch; }

.service-hero-full { padding: 0; height: 73.6vh; min-height: 512px; }
.service-hero-full .ph-bg { display: none; }
.service-hero-full .fill-abs { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.service-hero-full .fill-abs image-slot::part(image) { filter: grayscale(18%) sepia(6%) saturate(1.08) contrast(1.05) brightness(1.18); }
.service-hero-full .fill-abs image-slot#v2-service-infrastruktur::part(image) { filter: grayscale(18%) sepia(6%) saturate(1.08) contrast(1.05) brightness(0.92); }
.hero-full-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(10,8,7,0.78) 0%, rgba(10,8,7,0.35) 38%, rgba(10,8,7,0) 62%); }
.hero-full-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 72px; }
.hero-full-h1 { color: var(--hvid); }
.hero-full-lead { color: rgba(255,255,255,0.86); margin-top: 24px; }

.service-twocol {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) { .service-twocol { grid-template-columns: 1fr; gap: 40px; } }

.service-related {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 880px) { .service-related { grid-template-columns: 1fr; } }
.service-related .rel-card {
  border: 1px solid var(--rule);
  padding: 28px 28px 32px;
  background: var(--neutral-tint);
  display: flex; flex-direction: column; gap: 12px;
  cursor: pointer;
  transition: background .2s;
}
.service-related .rel-card:hover { background: var(--neutral-soft); }
.service-related .rel-card .num { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 14px; }
.service-related .rel-card .ttl { font-family: var(--f-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: -0.01em; color: var(--dark); line-height: 1.1; }
.service-related .rel-card .ar { margin-top: auto; padding-top: 16px; color: var(--accent); }

/* Løsninger overview grid */
.losninger-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .losninger-overview { grid-template-columns: 1fr; } }
.losninger-card {
  background: var(--neutral-tint);
  border: 1px solid var(--rule);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.losninger-card:hover { background: var(--neutral); border-color: var(--accent); }
.losninger-card .lc-no {
  font-family: var(--f-serif); font-style: italic;
  font-size: 16px; color: var(--accent);
}
.losninger-card h3 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1; margin: 0; color: var(--dark);
}
.losninger-card .lc-sub {
  font-family: var(--f-serif); font-style: italic;
  color: var(--accent);
  font-size: 15px;
}
.losninger-card .lc-desc { font-size: 14px; color: var(--ink-soft); margin: 0; }
.losninger-card .lc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; margin-top: auto;
  border-top: 1px solid var(--rule);
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   READABILITY LAYERS — toggled from the Tweaks panel
   Two independent, fully-reversible overlays keyed off <html>:
     .readable-scale → consolidated 4-role type scale + larger body
     .hide-counters  → removes decorative "01 / 04" counters
   Original rules above are untouched; turning a class off restores
   the previous look exactly. !important is used only so these
   overrides also defeat one-off inline font-size values.
   ------------------------------------------------------------
   The 4 roles:
     DISPLAY  hero + section headers      (unchanged big clamps)
     TITLE    card / step / group titles  ~clamp(30–40px)
     LEAD     serif subheads & quotes     ~clamp(22–26px)
     BODY     all reading copy            18px
     LABEL    all uppercase micro-labels  13px
   (DISPLAY is simply the top of the scale, so it reads as ~4 sizes.)
   ============================================================ */

/* ---- BODY — one reading size, was a 14/15/16/17/18 pileup ---- */
html.readable-scale .body,
html.readable-scale .step .step-desc p,
html.readable-scale .losninger-card .lc-desc,
html.readable-scale .project p,
html.readable-scale .t-card + p {
  font-size: 18px !important;
  line-height: 1.65 !important;
}
html.readable-scale .service-card p { font-size: 26px !important; line-height: 1.5 !important; }
html.readable-scale .value p { font-size: 26px !important; line-height: 1.5 !important; }
html.readable-scale .step .step-detail li { font-size: 17px !important; line-height: 1.6 !important; }
html.readable-scale .footer-grid ul a     { font-size: 16px !important; }
html.readable-scale .field input,
html.readable-scale .field textarea,
html.readable-scale .field select         { font-size: 18px !important; }

/* ---- LEAD — serif subheads & quotes unified ---- */
html.readable-scale .lead              { font-size: clamp(22px, 2vw, 26px) !important; }
html.readable-scale .t-card blockquote { font-size: 24px !important; }
html.readable-scale .calc-result .rdesc{ font-size: 22px !important; }
html.readable-scale .footer-statement  { font-size: 24px !important; }

/* ── Legal page (Privatlivspolitik) ── */
.legal-layout { display: block; }
.legal-toc { position: sticky; top: 120px; border-top: 2px solid var(--dark); padding-top: 20px; }
@media (max-width: 880px) { .legal-toc { position: static; } }
.legal-toc-label { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); }
.legal-toc ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.legal-toc li { border-bottom: 1px solid var(--rule-soft); }
.legal-toc a { display: flex; gap: 12px; padding: 11px 0; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer; transition: color .15s; }
.legal-toc a:hover { color: var(--accent); }
.legal-toc .lt-no { font-family: var(--f-serif); font-style: italic; color: var(--accent); }
.footer-logo-link { cursor: pointer; transition: opacity .18s; }
.footer-logo-link:hover { opacity: 0.72; }
.footer-logo-link:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 6px; }
.legal-meta { margin-top: 36px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.legal-body { display: flex; flex-direction: column; gap: 8px; max-width: 68ch; }
.legal-block { border-top: 1px solid var(--rule); padding: 32px 0 8px; }
.legal-block:first-child { border-top: 0; padding-top: 0; }
.legal-block .lb-no { font-family: var(--f-display); font-style: normal; font-weight: 600; font-size: 15px; letter-spacing: 0.08em; color: var(--accent); }
.legal-block h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -0.01em; color: var(--dark); margin: 8px 0 14px; }
.legal-block p { font-size: 19px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.legal-block ul, .legal-block ol { font-size: 19px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; padding-left: 22px; }
.legal-block li { margin-bottom: 10px; }
.legal-block li strong { color: var(--dark); font-weight: 700; }
.cookie-declaration { margin: 8px 0 14px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); overflow-x: auto; }
.cookie-declaration .CookieDeclaration { font-family: var(--f-body) !important; }
.cookie-declaration .CookieDeclarationType { border: 1px solid var(--rule) !important; border-radius: 0 !important; padding: 20px 22px !important; margin-bottom: 18px !important; background: var(--hvid); }
.cookie-declaration .CookieDeclarationTypeHeader { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--dark); font-size: 15px; }
.cookie-declaration .CookieDeclarationTypeDescription { color: var(--ink-mute); font-size: 14px; }
.cookie-declaration .CookieDeclarationTableHeader { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--beton); border-bottom: 1px solid var(--rule) !important; }
.cookie-declaration .CookieDeclarationTableCell { font-size: 13px; border-bottom: 1px solid var(--rule) !important; word-break: break-word; }
.cookie-declaration a { color: var(--accent); }
.legal-contact { margin-top: 40px; border: 1px solid var(--rule); background: var(--hvid); padding: 36px 40px; display: flex; flex-direction: column; gap: 16px; }
.legal-contact .lc-label { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--dark); }
.legal-contact .lc-lines { display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: var(--ink-soft); }
.legal-contact .lc-lines a { color: var(--teil); }

/* ---- TITLE — card/step/group titles collapse to one step ---- */
html.readable-scale .service-card h3,
html.readable-scale .step h3,
html.readable-scale .losninger-card h3 { font-size: clamp(30px, 3.4vw, 40px) !important; }
html.readable-scale .h-card { font-size: clamp(28px, 3vw, 34px) !important; }
html.readable-scale .value h4 { font-size: 40px !important; }
html.readable-scale .spec .v,
html.readable-scale .contact-info .ci-block .ci-val { font-size: clamp(22px, 2.2vw, 28px) !important; }
html.readable-scale .team-card .name,
html.readable-scale .project .ptitle   { font-size: 20px !important; }

/* ---- LABEL — one micro-label size (13px min), was 9/10/11/12 ---- */
html.readable-scale .eyebrow,
html.readable-scale .nav-link,
html.readable-scale .nav-mobile button,
html.readable-scale .label-tiny,
html.readable-scale .spec .l,
html.readable-scale .footer-grid h5,
html.readable-scale .page-header .crumbs,
html.readable-scale .service-hero .crumbs,
html.readable-scale .nav-dropdown-item .ddi-sub,
html.readable-scale .nav-dropdown-foot,
html.readable-scale .contact-info .ci-block .ci-lbl,
html.readable-scale .field label,
html.readable-scale .team-card .det,
html.readable-scale .project .ploc,
html.readable-scale .hero-v2 .hero-meta,
html.readable-scale .rental-cta-band .rcb-eyebrow,
html.readable-scale .calc-group .grp-label,
html.readable-scale .footer-bottom { font-size: 13px !important; }
html.readable-scale .service-card .tag { font-size: 20px !important; }

/* smallest two offenders lift toward — but stay under — the label size */
html.readable-scale .nav-cta-combo .cta-phone .pl { font-size: 11px !important; }
html.readable-scale .range-axis                   { font-size: 12px !important; }

/* ---- Hide decorative "01 / 04" counters ---- */
/* Scoped so real numerics (hero stats, calculator result) are untouched. */
html.hide-counters .service-card .num,
html.hide-counters .losninger-card .lc-no,
html.hide-counters .nav-dropdown-item .ddi-no,
html.hide-counters .service-related .rel-card .num { display: none !important; }


/* ── Full-palette pass (test scope: Erhvervsbyggeri) ──
   Beton = structure: rules, figures, placeholder fields, metadata.
   Teil  = one repeated dark mass (CTA band) + eyebrow/index accents. */
.pal-full .specs, .pal-full .spec { border-color: var(--beton); }
.pal-full .spec .v em { color: var(--beton); }
.pal-full .service-twocol ul li > span:first-child { color: var(--beton) !important; }
.pal-full .spec .l { color: #565656; }
.pal-full .section-head { border-color: var(--beton); }
.pal-full .project .ploc { color: #565656; }
.pal-full .service-twocol > div:first-child .specs { border-top: 1px solid var(--beton); padding-top: 28px; }

/* Teil CTA band — Om DM & Kontakt (Main 2 mass) */
.pal-teil-cta .cta-band { background: var(--teil); }
.pal-teil-cta .cta-band .btn { background: var(--accent); }
.pal-teil-cta .cta-band .btn:hover { background: var(--accent-bright); }
.pal-teil-cta .cta-band-link:hover { color: var(--accent-bright); text-decoration-color: var(--accent-bright); }

/* Beton gitter — Om DM & Kontakt */
.pal-teil-cta .specs { border-top-color: var(--beton) !important; border-bottom-color: var(--beton) !important; }
.pal-teil-cta .spec { border-color: var(--beton); }
.pal-teil-cta .spec .l { color: #565656; }
.pal-teil-cta .spec .v em { color: var(--beton); }
.pal-teil-cta .section-head { border-color: var(--beton); }

/* Brand wedge arrow — test scope: front page */
svg.arrow.a-std { display: none; }
svg.arrow.a-brand { display: inline-block; }
.btn svg.arrow.a-brand { width: 13px; height: 13px; }
.footer-grid ul .fg-static { font-size: 14px; color: rgba(238,240,239,0.78); cursor: default; }
.footer-grid ul a.rent { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
