/* ==========================================================================
   KOMPLETT ENTREPRISE ApS — delt stylesheet
   Design-tokens udledt af logoets sort / guld / hvid.
   Skrifter: Big Shoulders Display (overskrifter), Public Sans (brødtekst),
   IBM Plex Mono (labels / metadata).
   ========================================================================== */

:root {
  --bg: #FBF3E6;
  --bg-raised: #F4E7CE;
  --bg-card: #FFFDF8;
  --ink: #1E170D;
  --ink-soft: #5C4C36;
  --ink-faint: #93805C;
  --line: #E6D6B3;
  --line-strong: #D3BD8B;
  --gold: #A5732A;
  --gold-fill: #CB8C3C;
  --gold-tint: #F7E7C8;
  --amber-deep: #7A4B1E;
  --on-ink: #FBF3E6;
  /* Faste (ikke tema-afhængige) toner til de mørke "drama-bånd" (manifesto,
     cta-band) og kort-fallback, så de altid er mørke/lyse uanset tema. */
  --ink-fixed: #14100A;
  --on-ink-fixed: #FBF3E6;

  --serif-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif-warm: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --sans: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 3px;
  --max: 72rem;
  --header-h: 4.5rem;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--amber-deep) 65%, transparent);
}
.btn.secondary { border-color: var(--line-strong); color: var(--ink); }
.btn.secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-tint);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .btn.primary:hover, .btn.secondary:hover { transform: none; }
}
.btn.small { padding: 0.6rem 1.05rem; font-size: 0.82rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand img, .brand svg { width: auto; height: 30px; }
.brand-text {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > ul { display: flex; gap: 1.7rem; }
.main-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  transition: color .15s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transition: right .25s cubic-bezier(.2,.7,.2,1);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -4px);
}
.nav-toggle::after { transform: translate(-50%, 4px); }
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
}

/* ---------- Ydelser dropdown (desktop: hover/click panel, mobile: accordion) ---------- */
.main-nav li.has-sub { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transition: right .25s cubic-bezier(.2,.7,.2,1);
}
.dropdown-toggle:hover, .has-sub.open .dropdown-toggle { color: var(--ink); }
.dropdown-toggle:hover::after, .has-sub.open .dropdown-toggle::after, .has-sub:hover .dropdown-toggle::after { right: 0; }
.dropdown-toggle svg { width: 13px; height: 13px; transition: transform .2s ease; }
.has-sub.open .dropdown-toggle svg, .has-sub:hover .dropdown-toggle svg { transform: rotate(180deg); }

@media (min-width: 901px) {
  .main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 16px 32px -16px color-mix(in srgb, var(--ink-fixed) 45%, transparent);
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 60;
  }
  .has-sub:hover .submenu, .has-sub.open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav .submenu a {
    display: block;
    padding: 0.6rem 0.7rem;
    border-radius: 2px;
    font-size: 0.86rem;
    color: var(--ink-soft);
    white-space: nowrap;
  }
  .main-nav .submenu a::after { display: none; }
  .main-nav .submenu a:hover, .main-nav .submenu a[aria-current="page"] { background: var(--gold-tint); color: var(--ink); }
}

@media (max-width: 900px) {
  /* .main-nav itself (not just its list) must be hidden here, not merely
     its <ul> — otherwise the empty nav still occupies a flex slot and a
     `gap` in .site-header .wrap, which combined with the brand name was
     pushing .nav-toggle off the right edge of narrow phone screens. */
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  /* On narrow phones, brand name + tilbud-button + hamburger don't fit on
     one row and the hamburger gets pushed off-screen, making the menu
     unreachable. Drop the header CTA here — the floating CTA and the
     mobile menu's own Kontakt link cover the same need. */
  .header-actions .btn.primary.small { display: none; }
  /* backdrop-filter on .site-header creates a containing block for fixed
     descendants, which used to trap this panel inside the header's own
     4.5rem box instead of covering the viewport. Drop the filter while
     the menu is open so the panel is fixed to the real viewport. */
  body.nav-open .site-header { backdrop-filter: none; }
  body.nav-open .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg);
    display: flex; align-items: flex-start; padding: 2rem 1.5rem; z-index: 45;
    overflow-y: auto;
  }
  body.nav-open .main-nav > ul { display: flex; flex-direction: column; gap: 0; width: 100%; }
  body.nav-open .main-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); width: 100%; }

  body.nav-open .main-nav li.has-sub { border-bottom: 1px solid var(--line); }
  body.nav-open .dropdown-toggle {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 1rem 0; font-size: 1.1rem; color: var(--ink-soft);
  }
  body.nav-open .dropdown-toggle::after { display: none; }
  body.nav-open .submenu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 0.75rem 1rem;
  }
  body.nav-open li.has-sub.open .submenu { display: flex; }
  body.nav-open .submenu a { padding: 0.7rem 0; font-size: 0.98rem; color: var(--ink-faint); border-bottom: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5.5vw, 4.5rem) 0 2.8rem;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px);
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}
.hero > .wrap { position: relative; }
.hero .eyebrow { margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 46rem;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 em { font-style: normal; color: var(--gold-fill); }
.hero .lede {
  margin-top: 1.2rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .1s both;
}
.hero .ctas {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lede, .hero .ctas { animation: none; }
}

/* ---------- usp bar ---------- */
.usp-bar { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.4rem 1.4rem; }
.usp-item:not(:first-child) { border-left: 1px solid var(--line); }
.usp-item .icon-badge { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.usp-item .icon-badge .mark { width: 18px; height: 18px; color: var(--gold); }
.usp-item span:last-child { font-size: 0.88rem; font-weight: 500; line-height: 1.3; color: var(--ink-soft); }
@media (max-width: 780px) and (min-width: 481px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .usp-item, .usp-item:not(:first-child) { border-left: none; padding: 0.9rem 0.6rem 0; border-top: 1px solid var(--line); }
  .usp-item:nth-child(-n+2) { border-top: none; padding-top: 0; }
}
@media (max-width: 480px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .usp-item:first-child { border-top: none; padding-top: 0; }
}

/* ---------- generic section ---------- */
.section { padding: clamp(2.2rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.section:last-of-type, main > .section:last-child { border-bottom: none; }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 0.6rem; }
.section-head .lede { margin-top: 0.9rem; color: var(--ink-soft); font-size: 1.02rem; }
.section.alt { background: var(--bg-raised); }

.icon-badge {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  border-radius: var(--radius);
  transition: background .2s;
}

/* ---------- ydelser ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: svc; }
@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  counter-increment: svc;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px color-mix(in srgb, var(--amber-deep) 55%, transparent);
}
.service-card .thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-raised);
}
.service-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.1) contrast(1.03);
  transition: transform .4s ease;
}
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .body {
  position: relative;
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.service-card .icon-badge .mark { width: 20px; height: 20px; color: var(--gold); transition: transform .2s; }
.service-card:hover .icon-badge { background: var(--gold-fill); }
.service-card:hover .icon-badge .mark { color: var(--ink-fixed); transform: scale(1.08) rotate(-4deg); }
.service-card::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  z-index: 1;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--on-ink-fixed);
  background: color-mix(in srgb, var(--ink-fixed) 55%, transparent);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.service-card h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.08rem; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.service-card .link { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }

/* ---------- why us ---------- */
.hvorfor-text { max-width: 42rem; }
.hvorfor-text p { color: var(--ink-soft); }
.hvorfor-text p + p { margin-top: 0.9rem; }

/* ---------- value boxes (vision/mission/værdier page) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem 2rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 2rem; } }
@media (max-width: 560px) { .value-grid { grid-template-columns: 1fr; } }
.value-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 700px) { .value-grid-3 { grid-template-columns: 1fr; } }
.value-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 2.4rem; }
@media (max-width: 700px) { .value-grid-2 { grid-template-columns: 1fr; gap: 2.2rem; } }
.value-grid-2 .value-card {
  background: none;
  border: none;
  padding: 1.8rem 0 0;
  position: relative;
}
.value-grid-2 .value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--gold);
}
.value-grid-2 .value-card .num {
  display: block;
  font-family: var(--serif-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-fill);
  margin-bottom: 0.6rem;
}
.value-grid-2 .value-card h3 { font-size: 1.15rem; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.value-card h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.05rem; }
.value-card p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); }
.value-grid .value-card {
  background: none;
  border: none;
  padding: 1.6rem 0 0;
  position: relative;
}
.value-grid .value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
}
.value-grid .value-card .num {
  display: block;
  font-family: var(--serif-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-fill);
  margin-bottom: 0.5rem;
}
.value-grid .value-card h3 { font-size: 1.02rem; }
.value-grid .value-card p { max-width: 15rem; }
.statement { max-width: 42rem; }
.statement h3 { font-size: 1.1rem; font-family: var(--sans); text-transform: none; font-weight: 600; color: var(--gold); }
.statement p { margin-top: 0.7rem; color: var(--ink-soft); }
.statement + .statement { margin-top: 2.2rem; }

/* ---------- reserved content placeholder (visible, for content added later) ---------- */
.content-placeholder {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- process ---------- */
.steps { position: relative; display: flex; flex-direction: column; }
.steps::before {
  content: "";
  position: absolute;
  left: 4.65rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-fill), var(--line-strong) 85%);
  opacity: .55;
}
.steps-phase { display: grid; grid-template-columns: 4rem 1fr; gap: 1.3rem; padding: 1.6rem 0 0.6rem; }
.steps-phase:first-child { padding-top: 0; }
.steps-phase p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.steps-phase p::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(to right, var(--amber-deep), var(--gold));
}
.step { position: relative; display: grid; grid-template-columns: 4rem 1fr; gap: 1.3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step::before {
  content: "";
  position: absolute;
  left: 4.65rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-fill);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--bg), 0 0 10px color-mix(in srgb, var(--gold-fill) 60%, transparent);
}
.section.alt .steps::before, .section.alt .step::before { box-shadow: 0 0 0 4px var(--bg-raised); }
.step .num { font-family: var(--serif-display); font-size: 2rem; color: var(--gold-fill); line-height: 1; }
.step h3 { font-family: var(--sans); text-transform: none; font-weight: 600; font-size: 1.05rem; }
.step p { margin-top: 0.35rem; color: var(--ink-soft); font-size: 0.92rem; max-width: 34rem; }
.step[hidden] { display: none; }
@media (max-width: 480px) {
  .steps::before, .step::before { display: none; }
}

.steps-toggle {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
}
.steps-toggle::after {
  content: "↓";
  transition: transform .2s ease;
}
.steps-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.steps-toggle:hover { color: var(--ink); }

/* ---------- about teaser / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split .figure {
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--bg-raised), var(--gold-tint) 130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1.5rem;
}
.split p { color: var(--ink-soft); }
.split p + p { margin-top: 0.9rem; }

/* ---------- faq ---------- */
.faq-list { max-width: 46rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--gold);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p { margin: 0 0 1.25rem; max-width: 36rem; color: var(--ink-soft); font-size: 0.95rem; }

.detail-photo {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) sepia(0.1) contrast(1.03);
}

/* ---------- reserved placeholder note (dev-only, not shown to visitors) ---------- */
.reserved-note {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- manifesto band ---------- */
.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.8vw, 2.8rem) 0;
  background: radial-gradient(90% 160% at 50% 120%, color-mix(in srgb, var(--amber-deep) 88%, transparent), var(--ink-fixed) 65%);
  color: var(--on-ink-fixed);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.manifesto.photo {
  background:
    radial-gradient(90% 160% at 50% 120%, color-mix(in srgb, var(--amber-deep) 85%, transparent), rgba(15,12,7,0.88) 65%),
    url("../assets/images/hero-bg.jpg") center / cover no-repeat;
}
.manifesto .wrap { position: relative; }
.manifesto-text {
  font-family: var(--serif-display);
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 3.1rem);
  line-height: 1.12;
  max-width: 46rem;
  margin: 0 auto;
  text-wrap: balance;
}
.manifesto-text em { font-style: normal; color: var(--gold-fill); }
.manifesto-sub {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: color-mix(in srgb, var(--on-ink-fixed) 78%, transparent);
}
.manifesto .eyebrow { color: var(--gold-fill); margin-bottom: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(1.3rem, 2.8vw, 2.1rem) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 160% at 12% 0%, var(--amber-deep), var(--ink-fixed) 62%);
  color: var(--on-ink-fixed);
}
.cta-band.photo {
  text-align: center;
  background:
    radial-gradient(120% 160% at 12% 0%, color-mix(in srgb, var(--amber-deep) 85%, transparent), rgba(17,14,8,0.9) 62%),
    var(--cta-photo) center / cover no-repeat;
}
.cta-band.photo .eyebrow { color: var(--gold-fill); }
.cta-band.photo .lede { margin-left: auto; margin-right: auto; }
.cta-band.photo .ctas { justify-content: center; }
.cta-band.home-photo {
  text-align: center;
  background:
    radial-gradient(120% 200% at 50% 15%, color-mix(in srgb, var(--amber-deep) 80%, transparent), rgba(15,12,7,0.88) 70%),
    url("../assets/images/tilbygning.png") center / cover no-repeat;
}
.cta-band.home-photo .eyebrow { color: var(--gold-fill); }
.cta-band.home-photo .lede { margin-left: auto; margin-right: auto; }
.cta-band.home-photo .ctas { justify-content: center; }
.cta-band .eyebrow { margin-bottom: 1.2rem; }
.cta-band h2 { color: var(--on-ink-fixed); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band .lede { margin-top: 0.9rem; color: color-mix(in srgb, var(--on-ink-fixed) 70%, transparent); max-width: 34rem; }
.cta-band .ctas { margin-top: 1.6rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta-band .btn.primary { background: var(--on-ink-fixed); color: var(--ink-fixed); }
.cta-band .btn.secondary { border-color: color-mix(in srgb, var(--on-ink-fixed) 35%, transparent); color: var(--on-ink-fixed); }
.cta-band .btn.secondary:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- footer ---------- */
.site-footer { padding: 3.2rem 0 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; }
.footer-brand img, .footer-brand svg { width: auto; height: 26px; }
.footer-tagline { margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.92rem; max-width: 18rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.footer-col ul { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.88rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint);
}

/* ---------- placeholder text markers ---------- */
.ph { color: var(--gold); font-style: normal; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-faint); }
.field .req, .form-note .req { color: var(--gold); font-weight: 700; }
.field input[type="file"] { padding: 0.6rem 0.7rem; font-size: 0.85rem; }
.field-hint { font-size: 0.78rem; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--line-strong)); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 7rem; }
.form-note { margin-top: 1.2rem; font-size: 0.82rem; color: var(--ink-faint); }
.form-status { margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--gold); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; }

.kontakt-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: stretch; }
.kontakt-grid > * { min-width: 0; }
@media (max-width: 800px) { .kontakt-grid { grid-template-columns: 1fr; gap: 2rem; } }

#tilbud-form, .contact-info {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: 0 24px 48px -32px color-mix(in srgb, var(--ink-fixed) 35%, transparent);
}

.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-info .item h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); font-weight: 500; }
.contact-info .item p { margin-top: 0.4rem; font-size: 1rem; }
.contact-info .map {
  flex: 1;
  min-height: 12rem;
  border-radius: 12px; border: 1px solid var(--line-strong);
  position: relative; overflow: hidden;
  background: var(--ink-fixed);
}
.coverage-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-corner { position: absolute; z-index: 1; width: 0.85rem; height: 0.85rem; border: 1px solid color-mix(in srgb, var(--gold-fill) 80%, transparent); }
.map-corner.tl { top: 0.7rem; left: 0.7rem; border-right: none; border-bottom: none; }
.map-corner.tr { top: 0.7rem; right: 0.7rem; border-left: none; border-bottom: none; }
.map-corner.bl { bottom: 0.7rem; left: 0.7rem; border-right: none; border-top: none; }
.map-corner.br { bottom: 0.7rem; right: 0.7rem; border-left: none; border-top: none; }

/* ---------- service detail page ---------- */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4.5vw, 3.6rem) 0 2.2rem;
  border-bottom: 1px solid var(--line);
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--line-strong) 45%, transparent) 39px 40px);
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
}
.service-hero > .wrap { position: relative; }
.service-hero .eyebrow { margin-bottom: 1rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.service-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 34rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) .08s both; }
.service-hero .lede { margin-top: 1.1rem; max-width: 36rem; color: var(--ink-soft); font-size: 1.05rem; animation: rise .8s cubic-bezier(.2,.7,.2,1) .16s both; }
@media (prefers-reduced-motion: reduce) {
  .service-hero .eyebrow, .service-hero h1, .service-hero .lede { animation: none; }
}
.service-body { max-width: 42rem; }
.service-body p { color: var(--ink-soft); }
.service-body p + p { margin-top: 1rem; }
.related-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 620px) { .related-services { grid-template-columns: 1fr; } }
.related-services a {
  display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600; transition: border-color .15s;
}
.related-services a:hover { border-color: var(--gold); color: var(--gold); }
.related-services a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 1.1rem 0; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { margin: 0 0.4rem; }
.breadcrumb span.current { color: var(--ink-soft); }

/* ---------- warm grain texture (whole site, very low opacity) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- home hero ---------- */
.home-hero {
  --hero-text: #FBF3E6;
  --hero-text-soft: #DCCEB0;
  --hero-accent: #E0AC5C;
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 15vw, 10rem) 0 clamp(4.5rem, 11vw, 7rem);
  border-bottom: 1px solid var(--line);
  color: var(--hero-text);
  background:
    linear-gradient(100deg, rgba(13,10,6,0.96) 0%, rgba(13,10,6,0.88) 30%, rgba(13,10,6,0.5) 62%, rgba(13,10,6,0.16) 100%),
    url("../assets/images/hero-bg.jpg") center 38% / cover no-repeat;
}
.home-hero-content { max-width: 40rem; }
.home-hero .eyebrow { margin-bottom: 1.2rem; color: var(--hero-accent); }
.scroll-cue {
  position: absolute;
  left: 1.5rem;
  bottom: 1.6rem;
  width: 1px;
  height: 2.6rem;
  background: rgba(251,243,230,0.3);
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--hero-accent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 620px), (prefers-reduced-motion: reduce) { .scroll-cue { display: none; } }
.home-hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.1rem);
  max-width: none;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) both;
}
.home-hero h1 em { font-style: normal; color: var(--hero-accent); }
.home-hero .lede {
  margin-top: 1.2rem;
  max-width: 32rem;
  font-size: 1.14rem;
  color: var(--hero-text-soft);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .1s both;
}
.home-hero .ctas {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .2s both;
}
.home-hero .btn.primary { background: var(--hero-text); color: #1E170D; }
.home-hero .btn.secondary { border-color: rgba(251,243,230,0.4); color: var(--hero-text); }
.home-hero .btn.secondary:hover { border-color: var(--hero-accent); color: var(--hero-accent); background: rgba(0,0,0,0.2); }
.home-hero .micro-note {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--hero-text-soft);
  letter-spacing: 0.02em;
  animation: rise .8s cubic-bezier(.2,.7,.2,1) .3s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .home-hero h1, .home-hero .lede, .home-hero .ctas, .home-hero .micro-note { animation: none; }
}

/* ---------- founder note ---------- */
.founder-note {
  border-left: 3px solid var(--gold);
  background: var(--bg-raised);
  border-radius: var(--radius);
  padding: 1.7rem 1.9rem;
  max-width: 40rem;
}
.founder-note .quote {
  font-family: var(--serif-warm);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  color: var(--ink);
  line-height: 1.5;
  text-wrap: balance;
}
.founder-note .sig {
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-fill));
  z-index: 100;
}

/* ---------- floating mobile CTA ---------- */
.floating-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.floating-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta .btn {
  width: 100%;
  max-width: 22rem;
  justify-content: center;
  box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--amber-deep) 70%, black 20%);
}
@media (min-width: 901px) { .floating-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .floating-cta { transition: opacity .25s ease; } }
