/* ============================================================
   Thisted Entreprenørforretning ApS
   Design system v2: eksklusivt, minimalistisk, orange detaljer
   Overskrifter: Archivo · Brødtekst: Outfit
   ============================================================ */

:root {
  --color-accent: #f06a14;
  --color-accent-dark: #d15c11;
  --color-accent-soft: rgba(240, 106, 20, 0.08);

  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f3;
  --color-bg-warm: #eeeeea;
  --color-bg-dark: #2b2b2b;
  --color-bg-dark-soft: #232323;

  --color-text: #111111;
  --color-text-muted: #333333;
  --color-text-invert: #ffffff;
  --color-line: #e7e7e2;

  --font-heading: "Lexend", Arial, Helvetica, sans-serif;
  --font-body: "Outfit", Arial, Helvetica, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;

  --container: 1650px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text);
  /* Diskret blueprint-grid som reference til arbejdstegninger */
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Typografi ---------- */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 3.8vw, 58px);
  font-weight: 800;
}

h2 {
  font-size: clamp(25px, 2.4vw, 38px);
}

h3 {
  font-size: clamp(19px, 1.3vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text);
}

.text-muted {
  color: var(--color-text-muted);
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--color-accent);
  margin-bottom: 16px;
}

/* Kickeren er en <p>, så hero-/sektions-p-regler (højere specificitet)
   overskrev ellers den orange farve. Sikr at den altid er accent-orange. */
.hero__content .kicker,
.hero__text .kicker,
.section-head .kicker {
  color: var(--color-accent);
}

/* Underoverskrifter: stort forbogstav, resten små bogstaver */
.site-footer h2::first-letter,
.contact-info dt::first-letter {
  text-transform: uppercase;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--soft {
  background-color: var(--color-bg-soft);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

.section--warm {
  background: var(--color-bg-warm);
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-invert);
}

.section--dark p,
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-text-invert);
}

.section-head {
  max-width: 880px;
  margin-bottom: 56px;
}

.section-head p {
  margin-top: var(--space-sm);
  font-size: 19px;
  color: var(--color-text-muted);
  max-width: 64ch;
}

.stack > * + * {
  margin-top: var(--space-sm);
}

.stack--narrow {
  max-width: 880px;
}

/* To-spaltet medie-layout (tekst + billede) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.split--reverse > .split__media {
  order: -1;
}

/* Orange offset-blok bag billeder */
.split__media {
  position: relative;
}

.split__media::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 55%;
  height: 55%;
  background: var(--color-accent);
  border-radius: var(--radius-md);
}

.split--reverse > .split__media::before {
  right: auto;
  left: -20px;
}

.split__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* ---------- Knapper ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 24px 6px 24px 6px;
  padding: 12px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
  transition: background-color 0.18s ease, transform 0.18s ease, border-radius 0.3s ease;
}

.button:hover {
  border-radius: 6px 24px 6px 24px;
}

.button:active {
  transform: scale(0.98);
}

.button--primary {
  background: var(--color-accent);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--color-accent-dark);
}

.button--secondary {
  background: #2b2b2b;
  color: #ffffff;
}

.button--secondary:hover {
  background: #3d3d3d;
}

/* Sekundær knap på mørk baggrund */
.section--dark .button--secondary,
.cta-band .button--secondary,
.hero .button--secondary {
  background: #ffffff;
  color: #111111;
}

.section--dark .button--secondary:hover,
.cta-band .button--secondary:hover,
.hero .button--secondary:hover {
  background: var(--color-bg-warm);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: 40px;
}

/* ---------- Focus states ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.button:focus-visible {
  outline-offset: 4px;
  border-radius: 24px 6px 24px 6px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  border-bottom: 1px solid var(--color-line);
  transition: border-color 0.35s ease, background-color 0.3s ease;
}

/* Neutralisér Hello Elementor-temaets egne .site-header/.site-footer-regler
   (theme.css sætter max-width: 1140px + margin: auto på samme klassenavne) */
header.site-header {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding-block: 0 !important;
  display: block !important;
}

footer.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* WordPress admin-bar: skub headeren ned når man er logget ind */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Mega menu åben i toppen af siden: sort header */
.site-header.is-mega-dark {
  background-color: #2b2b2b;
  border-bottom-color: #3d3d3d;
}

/* Dæmpet overlay over siden når mega menuen er åben */
.site-header::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: rgba(43, 43, 43, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-mega-open::after {
  opacity: 1;
  pointer-events: auto;
}

/* Hvid/grå gradient med glans, fader ind ved scroll */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2ef 100%);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.07);
  opacity: 1;
  transition: opacity 0.35s ease;
}

.site-header.is-transparent {
  border-bottom-color: transparent;
}

.site-header.is-transparent::before {
  opacity: 0;
}

.site-header .site-logo__light {
  display: none;
}

.site-header.is-transparent .site-logo__dark {
  display: none;
}

.site-header.is-transparent .site-logo__light {
  display: block;
}

.site-header.is-transparent .header-phone {
  color: #ffffff;
}

.site-header.is-transparent .nav-toggle span {
  background: #ffffff;
}

@media (min-width: 1181px) {
  .site-header.is-transparent .site-nav a,
  .site-header.is-transparent .nav-dropdown__toggle {
    color: #ffffff;
  }

  .site-header.is-transparent .site-nav a:hover,
  .site-header.is-transparent .nav-dropdown__toggle:hover,
  .site-header.is-transparent .site-nav a[aria-current="page"] {
    color: var(--color-accent);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-height: 92px;
}

/* Nav skubbes helt til højre, ud ved telefon/mail-knappen */
.site-nav {
  margin-left: auto;
}

.site-logo {
  text-decoration: none;
  line-height: 1.12;
}

.site-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.site-logo strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-logo span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav a[aria-current="page"],
.site-nav .is-active > a {
  color: var(--color-accent);
}

/* Mega menu under "Vi udfører" */
.nav-dropdown {
  position: static;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.nav-dropdown__toggle:hover {
  color: var(--color-accent);
}

.nav-dropdown__toggle .chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown__toggle .chevron {
  transform: rotate(225deg) translateY(-2px);
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f2f2ef 100%);
  border-top: 1px solid var(--color-line);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 40px 64px rgba(17, 17, 17, 0.10);
  padding: 44px 0 52px;
  display: none;
}

/* Mørkt menupanel når menuen åbnes i toppen */
.site-header.is-mega-dark .nav-dropdown__menu {
  background: #2b2b2b;
  border-top-color: #3d3d3d;
  box-shadow: 0 40px 64px rgba(0, 0, 0, 0.45);
}

.nav-dropdown.is-open .nav-dropdown__menu {
  display: block;
}

/* Redaktionel liste i fuld bredde: ikon, let titel, hairline-skillelinjer, pil ved hover */
.site-nav ul.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 0 48px;
}

.nav-mega__grid a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--color-line);
  text-decoration: none;
}

.nav-mega__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 16px 5px 16px 5px;
  transition: background-color 0.18s ease, border-radius 0.3s ease;
}

.nav-mega__icon svg {
  width: 27px;
  height: 27px;
}

.nav-mega__grid a:hover .nav-mega__icon,
.nav-mega__grid a[aria-current="page"] .nav-mega__icon {
  background: var(--color-accent-dark);
}

.nav-mega__grid a:hover .nav-mega__icon {
  border-radius: 5px 16px 5px 16px;
}

.nav-mega__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.nav-mega__grid a::after {
  content: "→";
  margin-left: auto;
  color: var(--color-accent);
  font-size: 19px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mega__grid a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-mega__grid a:hover .nav-mega__name,
.nav-mega__grid a[aria-current="page"] .nav-mega__name {
  color: var(--color-accent);
}

/* Mørkt tema for listen */
.site-header.is-mega-dark .nav-mega__name {
  color: #ffffff;
}

.site-header.is-mega-dark .nav-mega__grid a {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header.is-mega-dark .nav-mega__grid a:hover .nav-mega__name,
.site-header.is-mega-dark .nav-mega__grid a[aria-current="page"] .nav-mega__name {
  color: var(--color-accent);
}


.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  /* row-reverse: pillerne folder ud mod venstre, så de aldrig løber ud over kanten */
  flex-direction: row-reverse;
}

/* Runde ikon-knapper (telefon + mail) der folder ud ved hover.
   Labelens bredde animeres, så pillen vokser naturligt med teksten. */
.icon-cta {
  flex: none;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  height: 48px;
  width: 48px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.18s ease;
}

.icon-cta:hover,
.icon-cta:focus-within {
  width: 232px;
  background: var(--color-accent-dark);
}

.icon-cta__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.icon-cta__icon svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

.icon-cta__label {
  white-space: nowrap;
  padding-left: 18px;
  padding-right: 10px;
  font-weight: 600;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.3s ease 0.05s;
}

.icon-cta:hover .icon-cta__label,
.icon-cta:focus-within .icon-cta__label {
  opacity: 1;
}

.site-header .button {
  padding: 10px 24px;
  min-height: 42px;
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--color-bg-dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--color-text-invert);
  overflow: hidden;
}

/* Orange glød øverst til højre */
.hero::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(240, 106, 20, 0.16) 0%, transparent 62%);
  pointer-events: none;
}

/* Tynde orange diagonalstriber nederst til venstre */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 340px;
  height: 220px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(240, 106, 20, 0.22) 0px,
    rgba(240, 106, 20, 0.22) 2px,
    transparent 2px,
    transparent 18px
  );
  -webkit-mask-image: linear-gradient(45deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(45deg, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero h1,
.hero p {
  color: var(--color-text-invert);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 6vw, 112px);
  align-items: center;
  /* Kun top/bund: side-padding kommer fra .container.
     Undersidernes hero er lavere end forsidens cover-hero. */
  padding-top: 164px;
  padding-bottom: 72px;
}

/* Forsidens cover-hero: fuldt baggrundsbillede med overlay */
.hero--cover {
  display: flex;
  align-items: center;
  min-height: clamp(620px, 92vh, 980px);
  padding-top: 150px;
  padding-bottom: 90px;
}

/* !important: WordPress/Elementor sætter globale img-regler (height: auto,
   max-width: 100%), som ellers ødelægger cover-beskæringen */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: 66% center;
  /* Mere markant billede oven på det sorte */
  filter: contrast(1.08) saturate(1.14) brightness(1.05);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(43, 43, 43, 0.42) 0%, rgba(43, 43, 43, 0) 30%),
    linear-gradient(98deg, rgba(43, 43, 43, 0.9) 0%, rgba(43, 43, 43, 0.62) 38%, rgba(43, 43, 43, 0.12) 70%, rgba(43, 43, 43, 0.34) 100%);
}

.hero--cover::before,
.hero--cover::after {
  z-index: 1;
}

.hero--cover .container {
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero--cover h1 {
  font-size: clamp(34px, 3.4vw, 54px);
}

.hero__content p {
  margin-top: 22px;
  font-size: 18.5px;
  font-weight: 300;
  color: #e7e7e2;
  max-width: 54ch;
}

/* Højere hero-billede på forsiden */
.hero--front .hero__media img {
  aspect-ratio: 4 / 3;
}

.hero__text p {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 300;
  color: #e3e3de;
  max-width: 58ch;
}

.hero__media {
  position: relative;
}

/* Orange offset-blok bag hero-billedet */
.hero__media::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 50%;
  height: 50%;
  background: var(--color-accent);
  border-radius: var(--radius-md);
}

.hero__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Det redigerede hero-foto: behold solnedgangshimlen i beskæringen */
.hero__media img[src$="thisted-hero.jpg"] {
  object-position: center 28%;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 500;
  color: #d7d7d2;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ---------- Ydelses-subnav i bunden af hero ---------- */

.hero-subnav {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-subnav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0;
}

.hero-subnav ul::-webkit-scrollbar {
  display: none;
}

.hero-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: #d7d7d2;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hero-subnav a:hover {
  color: #ffffff;
}

.hero-subnav a[aria-current="page"] {
  color: var(--color-accent);
}

.hero-subnav a[aria-current="page"]::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ---------- Kort ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Ydelseskort: fuldt billede med mørkt overlay og tekst i bunden */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1.18;
  background: var(--color-bg-dark);
  border-radius: 26px 8px 26px 8px;
  overflow: hidden;
  text-decoration: none;
}

.card__media {
  position: absolute;
  inset: 0;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.07) saturate(1.12) brightness(1.04);
  transition: transform 0.5s ease;
}

.card:hover .card__media img {
  transform: scale(1.06);
}

/* Mørkt gradient-scrim så teksten altid står skarpt */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(185deg, rgba(43, 43, 43, 0.04) 30%, rgba(43, 43, 43, 0.7) 62%, rgba(43, 43, 43, 0.97) 100%);
}

/* Orange linje der vokser frem i bunden ved hover */
.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  height: 4px;
  width: 100%;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.card:hover::after {
  transform: scaleX(1);
}

.card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 26px 30px;
}

.card__body h3 {
  color: #ffffff;
}

.card__body p {
  color: #d7d7d2;
  font-size: 15.5px;
  font-weight: 300;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-accent);
}

.card__link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.card:hover .card__link::after {
  transform: translateX(5px);
}

/* Punktliste med accent-markører */
.feature-list {
  display: grid;
  gap: 14px;
  margin-top: var(--space-sm);
}

.feature-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 17.5px;
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* ---------- Kommer snart (referencer) ---------- */

.coming-soon {
  position: relative;
}

.coming-soon .card-grid {
  filter: blur(7px);
  opacity: 0.65;
  pointer-events: none;
  user-select: none;
}

.coming-soon__badge {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}

.coming-soon__badge .kicker {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  margin-bottom: 0;
}

.coming-soon__badge p {
  font-size: 16.5px;
  color: var(--color-text-muted);
}

/* ---------- Galleri ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ---------- CTA-bånd ---------- */

.cta-band {
  position: relative;
  background: linear-gradient(135deg, #f06a14 0%, #d15c11 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 5vw, 88px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  /* synlig, så billedet kan stikke ud over kanten foroven/forneden */
  overflow: visible;
}

/* Uden billede (undersider): teksten fylder hele bredden */
.cta-band:not(:has(.cta-band__media)) {
  grid-template-columns: 1fr;
}

/* Billede der rager ud over den orange kant top og bund.
   Negative margener = (bånd-padding + 38px), så billedet trækkes
   helt ud forbi den orange kant. */
.cta-band__media {
  align-self: stretch;
  position: relative;
  margin-top: calc((clamp(48px, 5vw, 88px) + 38px) * -1);
  margin-bottom: calc((clamp(48px, 5vw, 88px) + 38px) * -1);
}

.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px 6px 22px 6px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

/* Mørke dybde-striber i højre side */
.cta-band::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  height: 180px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.16) 0px,
    rgba(255, 255, 255, 0.16) 2px,
    transparent 2px,
    transparent 16px
  );
  -webkit-mask-image: linear-gradient(-45deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(-45deg, #000 0%, transparent 70%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.cta-band p {
  margin-top: var(--space-sm);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band__contact {
  display: grid;
  gap: 10px;
  margin-top: var(--space-md);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band__contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.cta-band__contact a:hover {
  color: #111111;
}

/* Knapper i orange bånd: sort primær, hvid sekundær */
.cta-band .button--primary {
  background: #2b2b2b;
  color: #ffffff;
}

.cta-band .button--primary:hover {
  background: #3d3d3d;
}

/* ---------- Kontakt ---------- */

.split--contact {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.map-embed {
  border-radius: 26px 8px 26px 8px;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

/* ---------- Kontaktkort (personer) ---------- */

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card {
  background: #ffffff;
  border-top: 4px solid var(--color-accent);
  border-radius: 26px 8px 26px 8px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(8, 8, 8, 0.07);
}

.contact-card__avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 22px 6px 22px 6px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
}

.contact-card h3 {
  font-size: 26px;
}

.contact-card__org {
  margin-top: 4px;
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.contact-card__rows {
  display: grid;
  gap: 12px;
  text-align: left;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  transition: background-color 0.15s ease;
}

.contact-row:hover {
  background: var(--color-bg-warm);
}

.contact-row__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  border-radius: 12px 4px 12px 4px;
}

.contact-row__icon svg {
  width: 19px;
  height: 19px;
  fill: #ffffff;
}

.contact-row__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-row__text small {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: var(--space-md);
  font-size: 17.5px;
}

.contact-info dt {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-transform: lowercase;
  color: var(--color-accent);
}

.contact-info dd {
  margin: 0 0 12px;
  font-weight: 500;
}

.contact-info a {
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  color: var(--color-accent);
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 48px);
  display: grid;
  gap: var(--space-sm);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  font-size: 15.5px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--color-text);
  background: var(--color-bg-soft);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #ffffff;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Simpel hero (juridiske sider) ---------- */

.hero--simple .hero__inner {
  grid-template-columns: 1fr;
}

.hero--simple .hero__text {
  max-width: 820px;
}

/* ---------- Tabs (cookie/privatliv) ---------- */

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--color-line);
  margin-bottom: 44px;
}

.tabs__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.2s ease;
}

.tabs__tab:hover {
  color: var(--color-text);
}

.tabs__tab.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.tabs__tab:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.tabs__panel {
  display: none;
}

.tabs__panel.is-active {
  display: block;
}

/* ---------- Juridisk tekst ---------- */

.legal {
  max-width: 820px;
}

.legal > * + * {
  margin-top: 16px;
}

.legal h3 {
  margin-top: 36px;
}

.legal p {
  color: var(--color-text-muted);
  font-size: 17px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 17px;
}

.legal a {
  color: var(--color-accent);
}

/* Cookiebot-deklaration: lidt luft og læsbar tekst */
#CookieDeclaration {
  margin-top: 24px;
  font-size: 15.5px;
}

/* ---------- Arbejdsområder (forside) ---------- */

/* Hvid tekst i mørke sektioner (også brødteksten i section-head) */
.section--dark .section-head p,
.areas__intro p {
  color: rgba(255, 255, 255, 0.82);
}

/* Split: tekst + område-kort til venstre, stort Danmarkskort til højre */
.areas__split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.areas__intro h2 {
  margin-top: 16px;
}

.areas__intro p {
  margin-top: 16px;
}

.areas__map img {
  display: block;
  width: 100%;
  height: auto;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.area-grid--compact {
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
}

.area-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 26px;
  border-radius: 18px 5px 18px 5px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Orange accentlinje der vokser frem i bunden ved hover */
.area-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.area-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.area-card:hover::after {
  transform: scaleX(1);
}

.area-card__icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: var(--color-accent);
  border-radius: 15px 4px 15px 4px;
}

.area-card__icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.area-card strong {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* ---------- Kontakt-popup ---------- */

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.contact-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-top: 4px solid var(--color-accent);
  border-radius: 24px 8px 24px 8px;
  padding: 44px 40px 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(8, 8, 8, 0.35);
  animation: contact-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes contact-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.contact-modal__box .kicker {
  margin-bottom: 8px;
}

.contact-modal__box p {
  color: var(--color-text-muted);
  margin-top: 10px;
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
}

.contact-modal__close:hover {
  color: var(--color-accent);
}

.contact-modal__actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
  border-top: 4px solid var(--color-accent);
  color: #d7d7d2;
  padding: 88px 0 36px;
  font-size: 16px;
}

/* Blurred hero-foto bag footeren */
.site-footer::before {
  content: "";
  position: absolute;
  inset: -32px;
  background: url("/assets/images/hero-baggrund.jpg") center / cover no-repeat;
  filter: blur(9px);
  z-index: 0;
}

/* Sort overlay ovenpå */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.76);
  z-index: 0;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.site-footer h2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--color-accent);
  margin-bottom: 22px;
}

.site-footer__brand img {
  display: block;
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.site-footer__brand .button {
  margin-top: 28px;
}

.site-footer__brand p {
  color: #d7d7d2;
  font-weight: 300;
  max-width: 40ch;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #d7d7d2;
  text-decoration: none;
  font-weight: 400;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer address {
  font-style: normal;
  display: grid;
  gap: 10px;
}

.site-footer__bottom {
  margin-top: 80px;
  padding-top: var(--space-md);
  border-top: 1px solid #2b2b2b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 14.5px;
  color: #b9b9b3;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-credit img {
  height: 18px;
  width: auto;
  display: block;
}

/* ---------- Responsivt ---------- */

@media (max-width: 1180px) {
  /* Nav er skjult bag burger: skub actions helt til højre, burger yderst */
  .site-header__actions {
    margin-left: auto;
    flex-direction: row;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--color-line);
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.12);
    padding: var(--space-sm) 32px var(--space-md);
    /* Menuen skal kunne scrolles, når indholdet er højere end skærmen */
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Kompakte ikoner og titler i mobilmenuens ydelsesliste */
  .nav-mega__icon {
    width: 38px;
    height: 38px;
    border-radius: 11px 4px 11px 4px;
  }

  .nav-mega__icon svg {
    width: 19px;
    height: 19px;
  }

  .nav-mega__name {
    font-size: 16px;
  }

  .nav-mega__grid a {
    padding: 10px 4px;
    gap: 13px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav a,
  .nav-dropdown__toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 12px;
    font-size: 17px;
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--color-accent);
    border-radius: 0;
    background: var(--color-bg-soft);
    margin: 4px 0 8px;
    padding: 10px 0;
  }

  .nav-dropdown__menu .container {
    padding: 0 12px;
  }

  .site-nav ul.nav-mega__grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone span {
    display: none;
  }

  .hero__inner,
  .split,
  .cta-band {
    grid-template-columns: 1fr;
  }

  /* Stablet CTA: billedet bliver et normalt blok-billede uden overflow */
  .cta-band__media {
    align-self: auto;
    margin-top: 0;
    margin-bottom: 0;
    height: 280px;
  }

  .cta-band__media img {
    height: 100%;
    border-radius: var(--radius-md);
  }

  .split--reverse > .split__media {
    order: 0;
  }

  .hero__inner {
    padding-top: 168px;
    padding-bottom: 80px;
  }

  .hero--cover {
    min-height: 80vh;
    min-height: 80svh;
    align-items: flex-end;
    padding-top: 168px;
    padding-bottom: 72px;
  }

  .hero__bg {
    object-position: 70% center;
  }

  .card-grid,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

/* Tablet og mellemstørrelser */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .container {
    padding-left: 26px;
    padding-right: 26px;
  }

  .section {
    padding: 88px 0;
  }

  .cta-band {
    padding: 40px 32px;
  }

  .map-embed iframe {
    height: 380px;
  }

  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas__split {
    grid-template-columns: 1fr;
  }

  .areas__map {
    max-width: 560px;
    margin: 8px auto 0;
  }
}

@media (max-width: 640px) {
  /* Minimalistisk mobil: let brødtekst, luftige sektioner */
  body {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 32px 24px;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 17.5px;
  }

  .kicker {
    font-size: 13.5px;
    margin-bottom: 10px;
  }

  .section {
    padding: 76px 0;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head p {
    font-size: 15.5px;
  }

  .stack > * + * {
    margin-top: 12px;
  }

  .split {
    gap: 28px;
  }

  /* Hero: højere, indholdet løftet, ingen grid-mønster på mørk baggrund */
  .hero,
  .section--dark {
    background-image: none;
  }

  /* Undersidernes hero: ~70vh på mobil. Tekst centreret, dekorativt
     hero-billede skjult (siden har rigeligt med billeder længere nede). */
  .hero__inner {
    min-height: 70svh;
    align-content: center;
    padding-top: 96px;
    padding-bottom: 36px;
    gap: 16px;
  }

  /* Ydelsessider har en subnav-bar i bunden af hero — træk den fra,
     så den samlede hero stadig lander på ~70vh */
  .hero:has(.hero-subnav) .hero__inner {
    min-height: calc(70svh - 58px);
  }

  .hero:not(.hero--cover) .hero__media {
    display: none;
  }

  /* Hero-knapper side om side (sparer højde, holder hero ~70vh) */
  .hero:not(.hero--cover) .button-row {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .hero:not(.hero--cover) .button-row .button {
    flex: 1;
    width: auto;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero--cover {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 136px;
    padding-bottom: 96px;
  }

  .site-nav {
    max-height: calc(100dvh - 72px);
  }

  .hero__content p,
  .hero__text p {
    margin-top: 12px;
    font-size: 15.5px;
  }

  .hero__meta {
    margin-top: 22px;
    padding-top: 16px;
    gap: 8px 18px;
    font-size: 13px;
  }

  .button-row {
    margin-top: 22px;
    gap: 10px;
  }

  .button-row .button {
    width: 100%;
  }

  .button {
    padding: 11px 24px;
    font-size: 15px;
    min-height: 44px;
  }

  .hero-subnav a {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  /* Kort: lavere tiles, mindre tekst */
  .card-grid,
  .card-grid--4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    aspect-ratio: 16 / 11.5;
  }

  .card__body {
    padding: 18px 18px 20px;
    gap: 5px;
  }

  .card__body p {
    font-size: 14px;
  }

  .card__link {
    font-size: 13.5px;
    margin-top: 4px;
  }

  /* Galleri: 2 kolonner giver overblik */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-grid img {
    border-radius: var(--radius-sm);
  }

  .feature-list li {
    font-size: 15px;
    gap: 10px;
  }

  /* CTA-bånd: kant til kant som ren sort sektion på mobil */
  .section:has(.cta-band) {
    padding-top: 0;
    padding-bottom: 0;
  }

  .cta-band {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    padding: 44px 20px;
    gap: 26px;
  }

  .cta-band__media {
    height: 230px;
  }

  .cta-band__media img {
    border-radius: 18px 5px 18px 5px;
  }

  .cta-band__contact {
    margin-top: 18px;
    font-size: 15px;
    gap: 7px;
  }

  .split__media::before,
  .hero__media::before {
    right: -10px;
    bottom: -10px;
  }

  .split--reverse > .split__media::before {
    left: -10px;
  }

  /* Kontakt */
  .contact-info {
    font-size: 15.5px;
    gap: 8px;
  }

  .contact-info dt {
    font-size: 13px;
  }

  .map-embed iframe {
    height: 300px;
  }

  /* Footer: kompakt */
  .site-footer {
    padding: 52px 0 24px;
    font-size: 15px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__brand img {
    max-width: 200px;
    margin-bottom: 16px;
  }

  .site-footer h2 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .site-footer ul,
  .site-footer address {
    gap: 7px;
  }

  .site-footer__bottom {
    margin-top: 40px;
    font-size: 13px;
    gap: 8px;
  }

  .site-header .button {
    display: none;
  }

  .site-logo img {
    height: 40px;
  }

  .site-header__inner {
    min-height: 72px;
  }
}

/* ---------- Entrance-animationer ----------
   Aktiveres kun når JS sætter .js-anim på <html>
   (sker ikke ved prefers-reduced-motion). */

/* Rolig, stilet fade-up. Bevidst diskret: lille bevægelse, blød easing,
   ingen orange gardin, ingen kraftig zoom, ingen blur. */
.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease var(--d, 0s),
    transform 0.7s ease var(--d, 0s);
}

.js-anim [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

/* Billeder: blød fade ind sammen med den orange offset-blok */
.js-anim .hero__media,
.js-anim .split__media {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.05s, transform 0.8s ease 0.05s;
}

.js-anim .hero__media.in-view,
.js-anim .split__media.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Reduceret bevægelse ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
