:root {
  --warm-white: #f5efe4;
  --paper: #fffaf2;
  --sand: #d8c4a5;
  --sand-light: #eadfce;
  --forest: #28483e;
  --forest-dark: #1f352f;
  --terracotta: #ad5633;
  --terracotta-dark: #8e4327;
  --ink: #292720;
  --body-text: #35312b;
  --secondary-text: #4d4840;
  --line: rgba(41, 39, 32, 0.20);
  --max-width: 1280px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--warm-white); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--ink); }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--paper);
  background: rgba(31, 53, 47, 0.97);
  border-bottom: 4px solid var(--terracotta);
  backdrop-filter: blur(12px);
}
.site-header__inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 58px; height: 58px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { color: var(--paper); font-family: var(--serif); font-size: 1.48rem; font-weight: 500; }
.brand__text small { margin-top: 5px; color: #e8cbbb; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .93rem; }
.main-nav a { padding: 9px 0; border-bottom: 2px solid transparent; color: #f4eee5; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--terracotta); }
.main-nav__contact { color: #f4eee5; font-weight: 650; }

.eyebrow { margin: 0 0 22px; color: var(--terracotta-dark); font-size: .75rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow--light { color: #f1ddd3; }
.text-link { display: inline-flex; gap: 12px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 750; text-decoration: none; }
.button { min-height: 54px; display: inline-flex; align-items: center; gap: 16px; padding: 0 22px; border: 1px solid transparent; font-weight: 750; text-decoration: none; }
.button--forest { color: #fff; background: var(--forest); }
.button--light { color: var(--forest-dark); background: var(--paper); }

.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 140px;
  padding: 28px 0 24px;
  color: var(--ink);
  background: var(--sand-light);
  border-top: 1px solid rgba(41, 39, 32, 0.34);
}

.site-footer__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-footer__brand img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
}

.site-footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-footer__brand-text strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.site-footer__brand-text span {
  margin-top: 6px;
  color: var(--body-text);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer__details {
  display: grid;
  justify-items: end;
  gap: 14px;
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.4;
}

.site-footer__label {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer__contact {
  color: var(--terracotta-dark);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer__copyright {
  color: var(--body-text);
  font-size: 1rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-footer {
    min-height: 0;
    padding: 34px 0 32px;
  }

  .site-footer__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .site-footer__details {
    justify-items: start;
    gap: 9px;
  }
}


/* Typography readability refinement */
body{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

p,
li,
.case-feature__copy > p:not(.eyebrow),
.thought__steps p,
.approach__steps p,
.invitation p:not(.eyebrow),
.hero__intro{
  font-weight:450;
  line-height:1.78;
}

.thought__steps p,
.approach__steps p,
.invitation p:not(.eyebrow){
  color:#f4f0ea;
}


/* ==========================================================
   HØJMANN DIGITAL – LANGUAGE SWITCH

   Slider-look bygget af almindelige links.
   Sprogskiftet foretager et normalt serverkald.
   ========================================================== */

.site-header__navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 44px);
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 242, .35);
  border-radius: 999px;
  background: rgba(255, 250, 242, .12);
}

.language-switch__option {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  color: #f4eee5;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.language-switch__option:hover {
  color: #fff;
}

.language-switch__option.is-active {
  color: var(--forest-dark);
  background: var(--paper);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
}

.language-switch__option:focus-visible {
  outline: 3px solid rgba(173, 86, 51, .65);
  outline-offset: 3px;
}


/* ==========================================================
   HØJMANN DIGITAL – FOOTER, JURIDISKE LINKS
   ========================================================== */

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: .9rem;
}

.site-footer__legal a {
  color: var(--body-text);
  text-underline-offset: 3px;
}

.site-footer__legal a:hover {
  color: var(--terracotta-dark);
}

@media (max-width: 760px) {
  .site-footer__legal {
    justify-content: flex-start;
  }
}

/* ==========================================================
   HØJMANN DIGITAL – COOKIEINFORMATION
   Kun information. Ingen samtykke til nødvendige cookies.
   ========================================================== */

.cookie-info {
  position: fixed;
  z-index: 100;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 14px 0;
  color: var(--paper);
  background: rgba(31, 53, 47, .98);
  border-top: 3px solid var(--terracotta);
  box-shadow: 0 -12px 36px rgba(0, 0, 0, .18);
}

.cookie-info[hidden] {
  display: none;
}

.cookie-info__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-info p {
  margin: 0;
  color: #f4eee5;
  font-size: .92rem;
  line-height: 1.55;
}

.cookie-info p a {
  color: #fff;
  font-weight: 750;
  text-underline-offset: 3px;
}

.cookie-info__button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  color: var(--forest-dark);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cookie-info__button:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .cookie-info {
    padding: 18px 0;
  }

  .cookie-info__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookie-info__button {
    align-self: flex-start;
  }
}
