/*
Theme Name: Ezentials
Author: Ezentials ApS
Description: Specialbygget tema til ezentials.dk – bogføring til fast pris.
Version: 1.6.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: ezentials
*/

/* Fonte ligger i temaet (ikke Google Fonts) – så sendes der ikke besøgendes IP til Google */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(assets/fonts/figtree-latin.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); }

/* Ezentials – moderne layout, Ezentials-farver */
:root {
  --ink: #121a1f;
  --ink-2: #1c262c;
  --teal: #00adb5;
  --bg: #f2f3f2;
  --bg-muted: #e8eaea;
  --white: #fff;
  --text: #3b454b;
  --text-muted: #6b767c;
  --line: rgba(18, 26, 31, .12);
  --radius: 22px;
  --gutter: clamp(16px, 2vw, 28px);
  /* Sidemargen: gutter på små skærme, ellers centreret indhold på max 1360px */
  --edge: max(var(--gutter), (100% - 1360px) / 2);
  --font: "Figtree", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--text-muted); }
.muted-light { color: rgba(255, 255, 255, .6); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Pladsholder-fotos ---------- */
.ph { position: relative; overflow: hidden; color: #fff; }
.ph-dark { background: radial-gradient(120% 90% at 30% 20%, #3a4a52 0%, #1c262c 45%, var(--ink) 100%); }
.ph-mist { background: radial-gradient(90% 80% at 70% 30%, #dfe4e4 0%, #aeb8ba 50%, #7d898d 100%); }
.ph-teal { background: radial-gradient(80% 90% at 50% 0%, #1f5b60 0%, #163338 45%, var(--ink) 100%); }
.ph-label { position: absolute; top: 18px; right: 20px; z-index: 1; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .55; }

/* ---------- Header: fuld bredde øverst på forsiden, pille ved scroll (.scrolled sættes i menu.js) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding: 14px var(--edge); pointer-events: none; }
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 100%; margin: 0 auto; padding: 8px 0;
  border-radius: 999px; border: 1px solid transparent;
  transition: max-width .6s cubic-bezier(.2, .8, .2, 1), padding .6s cubic-bezier(.2, .8, .2, 1), background .4s, border-color .4s;
}
.site-header.scrolled .header-bar {
  max-width: 760px; padding: 6px 6px 6px 22px;
  background: rgba(18, 26, 31, .6); border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.brand img { height: 22px; transition: height .4s; }
.site-header.scrolled .brand img { height: 18px; }
.nav { position: relative; display: flex; gap: 4px; font-size: 13px; color: #fff; }
.nav-phone { background: rgba(255, 255, 255, .1); white-space: nowrap; }
.nav a { padding: 8px 16px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav-links { display: contents; }
.nav-toggle { display: none; padding: 8px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; }

/* ---------- Knapper ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }

/* ---------- Typografi ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.eyebrow.light { color: rgba(255, 255, 255, .7); }
.title { font-weight: 500; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; color: var(--ink); }
.dark .title { color: #fff; }
.intro { max-width: 440px; font-size: 18px; line-height: 1.5; color: var(--text-muted); }
.dark .intro { color: rgba(255, 255, 255, .65); }

/* ---------- Hero ---------- */
/* Heroen bliver liggende (sticky), mens det første lag glider ind over den.
   --hero (0–1) sættes i assets/js/main.js efter hvor langt man har scrollet forbi den. */
.hero { position: sticky; top: 0; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--edge) 9vh; color: #fff; }
.hero-bg { position: absolute; inset: 0; transform: scale(calc(1.15 - var(--hero, 0) * .15)); will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 26, 31, .75), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(18, 26, 31, .6)); }
.hero-content { position: relative; z-index: 1; max-width: 900px; opacity: calc(1 - var(--hero, 0) * 1.6); transform: translateY(calc(var(--hero, 0) * -60px)); }
.display { font-weight: 500; font-size: clamp(48px, 8vw, 128px); line-height: .92; letter-spacing: -.045em; color: #fff; }
.hero-lead { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .8); margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-micro { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-label { top: auto; bottom: 18px; }

/* ---------- Trust ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: 18px 40px; padding: 22px var(--edge); border-bottom: 1px solid var(--line); }
.trust .mono { flex: none; font-size: 10px; color: var(--text-muted); }
/* Uendelig rulning: sporet er to ens halvdele, så -50% lander præcis på start.
   Vinduet er smallere end ét sæt logoer, så det samme logo aldrig ses to gange. */
.marquee { flex: 0 1 360px; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* Animationen isolerer sporet, så multiply på logoerne skal have en baggrund at blande med */
.marquee-track { background: var(--bg); display: flex; align-items: center; width: max-content; animation: marquee 16s linear infinite; }
/* Alle logoer som samme mørkegrå: kontrasten gør farver sorte og holder hvid hvid (multiply fjerner den) */
.marquee-track .logo { margin-right: 64px; filter: grayscale(1) brightness(.7) contrast(3); opacity: .6; }
.marquee-track .logo:hover { filter: none; opacity: 1; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 16px; }
  .marquee-track [aria-hidden] { display: none; }
}
/* Logoerne står i gråtoner, så de passer sammen; multiply fjerner hvid baggrund */
.logo { height: 26px; width: auto; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; opacity: .7; transition: filter .3s, opacity .3s; }
.logo-tall { height: 40px; }
.logo:hover { filter: none; opacity: 1; }

/* ---------- Sektioner ---------- */
.section { padding: clamp(80px, 10vw, 150px) var(--edge) 0; }
.section:last-of-type { padding-bottom: clamp(60px, 8vw, 100px); }
.section.dark, .section.muted-bg { margin-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.section.dark { background: var(--ink); color: rgba(255, 255, 255, .7); }
.section.muted-bg { background: var(--bg-muted); }

/* Lag-effekten på forsiden: en .stack bliver stående, når dens bund rammer skærmens bund
   (top sættes i assets/js/main.js), og det næste .over-lag glider ind over den.
   Forsidens sektioner er positioneret, har baggrund og ingen margin, så intet stående lag skinner igennem. */
.home .section { position: relative; margin-top: 0; padding-bottom: clamp(80px, 10vw, 150px); }
.home #kontakt { padding-bottom: 40px; }
.over { position: relative; border-radius: 40px 40px 0 0; box-shadow: 0 -30px 60px -30px rgba(18, 26, 31, .35); }
.home .section.stack { position: sticky; }
.bg-base { background: var(--bg); }
.bg-muted { background: var(--bg-muted); }
.bg-white { background: #fff; }
.footer { position: relative; background: var(--bg); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .intro { padding-bottom: 8px; }

/* ---------- Sådan arbejder vi ---------- */
.media { border-radius: var(--radius); }
.media-wide { height: clamp(440px, 42vw, 620px); display: grid; place-items: center; }
.widget { position: relative; width: min(440px, 88%); background: #fff; color: var(--ink); border-radius: 18px; padding: 22px 24px; box-shadow: 0 30px 60px -20px rgba(18, 26, 31, .35); }
.widget-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.flow li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.flow b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.flow b small { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.flow-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.flow-icon.done { background: rgba(0, 173, 181, .12); color: #007c82; }
.flow-icon.person { background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .04em; }
.bar { height: 3px; border-radius: 3px; background: var(--line); margin: 18px 0 12px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.widget-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.points .mono { color: var(--teal); font-size: 10px; }
.points h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 10px 0 6px; letter-spacing: -.01em; }
.points p { font-size: 14px; color: var(--text-muted); max-width: 320px; }

/* ---------- Ydelser ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service { display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -24px rgba(18, 26, 31, .3); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; padding-bottom: 60px; }
.service-top .mono { color: var(--text-muted); font-size: 10px; }
.chip { padding: 5px 11px; border-radius: 999px; background: var(--bg); font-size: 11px; color: var(--text); }
.service h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.service p { font-size: 14px; color: var(--text-muted); }
.more { display: inline-flex; gap: 6px; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--ink); }
.more i { font-style: normal; color: var(--teal); transition: transform .2s; }
.service:hover .more i { transform: translateX(4px); }

.service-partner { grid-column: 1 / -1; min-height: 0; background-color: var(--ink); }
.service-partner .service-top { padding-bottom: 40px; }
.service-partner .service-top .mono { color: rgba(255, 255, 255, .5); }
.service-partner .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.partner-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.service-partner h3 { color: #fff; font-size: clamp(30px, 3vw, 42px); }
.service-partner p { color: rgba(255, 255, 255, .65); max-width: 560px; }
.service-partner .more { color: #fff; margin: 0; white-space: nowrap; }

/* ---------- Pris ---------- */
.price-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.price-side { display: flex; flex-direction: column; gap: 14px; }
.price-card { border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 26px; }
.price-card.featured { border: 0; background: radial-gradient(70% 120% at 85% 0%, rgba(0, 173, 181, .3), transparent 60%), var(--ink-2); }
.price-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; color: #fff; }
.badge { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 500 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.price-amount { font-size: clamp(56px, 7vw, 96px); font-weight: 500; letter-spacing: -.04em; line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.price-amount.sm { font-size: 40px; }
.price-amount small { font: 400 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-left: 6px; }

.slider-head { display: flex; justify-content: space-between; align-items: baseline; color: #fff; margin-bottom: 14px; }
.slider-head b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill, 20%), rgba(255, 255, 255, .15) var(--fill, 20%)); outline: none; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(0, 173, 181, .25); cursor: grab; }
.slider input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(0, 173, 181, .25); cursor: grab; }
.slider input:focus-visible::-webkit-slider-thumb { outline: 2px solid #fff; outline-offset: 4px; }
.slider-scale { display: flex; justify-content: space-between; margin-top: 12px; font-size: 9px; color: rgba(255, 255, 255, .45); }

.addons { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }
.toggle, .stepper { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: 13px; }
.toggle { position: relative; cursor: pointer; }
.toggle small, .stepper small { display: block; font-size: 11px; color: rgba(255, 255, 255, .5); }
.toggle small { margin-left: auto; white-space: nowrap; }
.toggle input { position: absolute; opacity: 0; }
.switch { flex: none; width: 34px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, .2); position: relative; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + .switch { background: var(--teal); }
.toggle input:checked + .switch::after { transform: translateX(14px); }
.toggle input:focus-visible + .switch { outline: 2px solid #fff; outline-offset: 2px; }
.stepper { justify-content: space-between; }
.stepper div { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: none; color: #fff; }
.stepper b { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .85); }
.price-card .btn { align-self: flex-start; }
.price-card:not(.featured) .btn { align-self: stretch; margin-top: auto; }
.checks li { position: relative; padding: 9px 0 9px 22px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); }
.quote-card { padding: 26px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .85); }
.quote-card blockquote { margin-bottom: 16px; }
cite { font-style: normal; font-size: 9px; opacity: .6; }

/* ---------- Sådan kommer du i gang ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 33%; height: 1px; background: linear-gradient(90deg, var(--teal), rgba(0, 173, 181, 0)); }
.steps li { position: relative; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 24px; position: relative; }
.steps h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--text-muted); max-width: 340px; }
.steps-cta { margin-top: 48px; }

/* Forsidens trin: lodret, og linjen tegnes ned til --fill efter scroll (assets/js/main.js) */
.steps-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.steps-wrap .intro { margin: 20px 0 32px; }
.steps-wrap .steps { grid-template-columns: 1fr; gap: 44px; }
.steps-wrap .steps::before, .steps-wrap .steps::after { content: ""; position: absolute; left: 23px; right: auto; top: 24px; width: 2px; border-radius: 2px; }
.steps-wrap .steps::before { bottom: 24px; height: auto; background: var(--line); }
.steps-wrap .steps::after { height: var(--fill, 100%); max-height: calc(100% - 48px); background: linear-gradient(180deg, var(--teal), #007c82); }
.steps-wrap .steps li { display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; padding-left: 0; transition: opacity .5s; }
.steps-wrap .step-num { position: relative; z-index: 1; width: 48px; height: 48px; margin: 0; font-size: 17px; transition: background .4s, color .4s, box-shadow .4s; }
.steps-wrap .steps h3 { font-size: 22px; margin: 8px 0 4px; }
.steps-wrap .steps p { max-width: 380px; }
/* Kun når JS styrer det: trin, linjen ikke har nået endnu, står dæmpet */
.steps.animer li:not(.on) { opacity: .35; }
.steps.animer li:not(.on) .step-num { background: var(--bg); color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line); }
.steps.animer li.on .step-num { box-shadow: 0 0 0 6px rgba(0, 173, 181, .15); }

/* ---------- Kunder ---------- */
.customers { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.featured-quote { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: #fff; }
.quote-mark { font-size: 120px; line-height: .6; color: var(--teal); font-weight: 600; height: 50px; }
.featured-quote blockquote { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.02em; color: var(--ink); max-width: 720px; }
.featured-quote figcaption { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.featured-quote figcaption b { display: block; color: var(--ink); font-size: 15px; }
.featured-quote figcaption .mono { font-size: 10px; color: var(--text-muted); }
.quote-logo { height: 32px; width: auto; }
.quote-logo.logo-tall { height: 48px; }
.customer-side { display: flex; flex-direction: column; gap: 14px; }
.small-quote { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1; padding: 26px 28px; border-radius: var(--radius); background: #fff; font-size: 15px; line-height: 1.5; color: var(--text); }
.small-quote .quote-logo { height: 22px; }
.small-quote .quote-logo.logo-tall { height: 36px; }
.small-quote cite { margin-top: auto; }

/* ---------- Os ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portrait { aspect-ratio: 1 / 1.05; border-radius: var(--radius); }
.portrait figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(18, 26, 31, .5); backdrop-filter: blur(8px); font-size: 10px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.faq .intro { margin-top: 20px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--text-muted); max-width: 560px; }

/* ---------- CTA ---------- */
.cta { border-radius: var(--radius); padding: clamp(56px, 8vw, 110px) var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta p { opacity: .8; font-size: 15px; }
.cta-phone { font-size: clamp(44px, 7vw, 96px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }

/* "Ring mig op"-formularen i kontaktsektionen */
.callback { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 560px; margin-top: 18px; text-align: left; }
.callback .wide, .callback-title, .callback .form-status { grid-column: 1 / -1; }
.callback-title { text-align: center; font-weight: 600; opacity: 1 !important; margin-bottom: 6px; }
.callback label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.callback small { opacity: .6; }
.callback input, .callback textarea { font: inherit; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 12px 14px; }
.callback input:focus, .callback textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.callback textarea { resize: vertical; }
.callback .btn { margin-top: 6px; }
.callback-note { font-size: 12px !important; text-align: center; }
.callback-note a { text-decoration: underline; }
.callback .hp { position: absolute; left: -9999px; }
.form-status { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; opacity: 1 !important; }
.form-status.error { padding: 10px 14px; border-radius: 12px; background: rgba(255, 90, 90, .15); font-weight: 500; }
@media (max-width: 600px) { .callback { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; padding: 20px var(--edge) 28px; font-size: 13px; }
.footer > div { display: flex; flex-direction: column; gap: 8px; }
.footer .mono { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; }
.footer a:hover { color: var(--ink); }
.footer-about img { height: 18px; width: auto; align-self: flex-start; margin-bottom: 8px; }
.footer-about p { max-width: 300px; color: var(--text-muted); }
.footer-bottom { grid-column: 1 / -1; flex-direction: row !important; justify-content: space-between; padding-top: 40px; }

/* ---------- Tablet / mobil ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .addons { grid-template-columns: 1fr 1fr; }
  .stepper { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .sec-head, .price-grid, .team, .customers, .faq, .points, .steps, .steps-wrap { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .partner-body { flex-direction: column; align-items: flex-start; }
  .addons { grid-template-columns: 1fr; }
  .steps::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--teal), rgba(0, 173, 181, 0)); }
  .steps li { padding-left: 80px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .trust { flex-direction: column; align-items: flex-start; }
  .marquee { align-self: stretch; }
  .marquee-track .logo { margin-right: 44px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  /* Mobil: linkene ligger i en dropdown bag "Menu" (assets/js/menu.js) */
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; padding: 8px; border-radius: 22px; background: rgba(18, 26, 31, .94); }
  .nav.open .nav-links a { padding: 12px 16px; font-size: 15px; }
  .brand img, .site-header.scrolled .brand img { height: 18px; }
  .site-header.scrolled .header-bar { padding-left: 18px; }
}

/* ---------- Undersider og artikler ---------- */
.page-head { padding-top: 110px; }
.prose { max-width: 720px; font-size: 17px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.25; margin-top: 1.8em; }
.prose a { color: var(--teal); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose img { border-radius: var(--radius); height: auto; }
.post-list { display: grid; gap: 12px; max-width: 720px; margin-top: 40px; }
.post-list + .prose { margin-top: 32px; }
.page-head .intro + .btn { margin-top: 32px; }
.post-list a { display: block; padding: 22px 24px; background: var(--white); border-radius: var(--radius); }
.post-list h2 { font-size: 20px; color: var(--ink); line-height: 1.3; }
.post-list p { margin-top: 6px; }

/* ---------- Ydelsessider (page-ydelse.php) ---------- */
/* .section:last-of-type rammer ellers sidehovedet, fordi det er sidens eneste <header> */
header.section.page-head { padding-bottom: 0; }
.page-head .intro { max-width: 620px; margin-top: 24px; }
.page-head .hero-actions { margin-top: 32px; }
.page-head .prose { margin-top: 48px; }
.price-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: rgba(255, 255, 255, .85); }
.price-rows b { color: #fff; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-card .price-rows + p { margin-top: auto; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header-bar, .brand img { transition: none; }
  .hero-bg, .hero-content { transform: none; opacity: 1; }
}
