/* JF Tømrerfirma: designsystem
   Farver fra logoet (sort/hvid) + varmt træ (cumaru/cedertræ) som accent.
   Overskrifter i slab-serif som i logoet (Zilla Slab), brødtekst i Inter. */

:root {
  --ink: #181614;
  --ink-2: #23201c;
  --ink-3: #2e2a25;
  --paper: #f6f1e9;
  --paper-2: #ece3d5;
  --white: #fffdf9;
  --wood: #b4582e;
  --wood-dark: #8f4220;
  --wood-light: #e09a63;
  --text: #2a2622;
  --muted: #6d655c;
  --muted-on-dark: #b9afa3;
  --line: rgba(24, 22, 20, 0.12);
  --line-on-dark: rgba(255, 253, 249, 0.14);

  --font-display: 'Zilla Slab', 'Rockwell', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -18px rgba(24, 22, 20, 0.35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--wood); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: var(--section) 0; }
.section--dark { background: var(--ink); color: var(--muted-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wood); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--wood-light); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--muted-on-dark); }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { margin: 0; }

/* ---------- Knapper ---------- */
.btn {
  --bg: var(--wood); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: var(--radius);
  font-weight: 600; font-size: 0.98rem; text-decoration: none; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { --bg: var(--wood-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(180, 88, 46, 0.7); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 253, 249, 0.45); }
.btn--ghost:hover { --bg: var(--white); --fg: var(--ink); border-color: var(--white); box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { --bg: var(--ink-3); box-shadow: var(--shadow); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--white); box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--wood); text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color 0.2s, gap 0.2s;
}
.text-link:hover { border-color: currentColor; gap: 12px; }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
}
.site-header.is-solid, .site-header.is-open {
  background: rgba(24, 22, 20, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 54px; height: auto; transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-20deg); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.18em; color: var(--muted-on-dark); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; color: rgba(255, 253, 249, 0.86);
  transition: color 0.2s;
}
.nav a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--wood-light); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; min-height: 44px; padding: 0 20px; color: #fff; }
.nav .btn::after { display: none; }

.header-phone {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 8px;
  font-weight: 600; text-decoration: none; color: var(--white); font-size: 0.95rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--wood-light); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: transparent; color: var(--white);
  cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ''; position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 22px; }
.nav-toggle::after { top: 29px; }
.is-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span { opacity: 0; }
.is-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (forside) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden; background: var(--ink);
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vw, 96px);
}
.hero__bg { position: absolute; inset: 0; }
/* Billedet er zoomet lidt og låst til venstre kant, så motivet rykker mod højre (væk fra teksten) */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform-origin: 0% 50%; transform: scale(1.3); animation: kenburns 18s var(--ease) forwards; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 22, 20, 0.55) 0%, rgba(24, 22, 20, 0.15) 35%, rgba(24, 22, 20, 0.85) 100%),
    linear-gradient(90deg, rgba(24, 22, 20, 0.7) 0%, rgba(24, 22, 20, 0) 65%);
}
@keyframes kenburns { to { transform: scale(1.22); } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero h1 { color: var(--white); max-width: 13ch; margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--wood-light); }
.hero .lead { color: rgba(255, 253, 249, 0.85); margin-bottom: 32px; max-width: 46ch; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: rgba(255, 253, 249, 0.85); }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks svg { width: 18px; height: 18px; color: var(--wood-light); flex: none; }

/* Roterende stempel med sloganet fra logoet */
.stamp { position: relative; width: 168px; height: 168px; flex: none; }
.stamp svg.ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp text { font-family: var(--font-body); font-size: 10.4px; font-weight: 600; letter-spacing: 0.22em; fill: var(--white); text-transform: uppercase; }
.stamp__center {
  position: absolute; inset: 38px; border-radius: 50%; background: var(--wood);
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
}
.stamp__center svg { width: 46px; height: 46px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 253, 249, 0.5); border-radius: 14px;
}
.scroll-cue::after {
  content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bånd med ydelser ---------- */
/* Stillestående bånd med ydelser */
.marquee { background: var(--wood); color: #fff; padding: 20px 0; }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; margin: 0 auto; list-style: none; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap;
}
.marquee__track li + li::before { content: ''; width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }

/* ---------- Tal / stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: var(--ink); }
.stat b sup { font-size: 0.45em; color: var(--wood); vertical-align: top; margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; }
/* Teamfotoet er bredt: vis højre del, så begge personer er med */
.split__media img.img-team { object-position: 78% center; }
.split__media .badge {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--ink); color: var(--white); padding: 20px 24px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); max-width: 230px;
}
.split__media .badge b { display: block; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--wood-light); }
.split__media .badge span { font-size: 0.88rem; color: var(--muted-on-dark); }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.check-list svg { width: 22px; height: 22px; color: var(--wood); margin-top: 2px; }
.check-list b { color: var(--ink); }
.section--dark .check-list b { color: var(--white); }

/* ---------- Ydelser ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-on-dark); border: 1px solid var(--line-on-dark); }
.service {
  position: relative; background: var(--ink); padding: clamp(28px, 3.5vw, 44px);
  text-decoration: none; color: var(--muted-on-dark); overflow: hidden;
  transition: background 0.35s;
}
.service::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--wood);
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.service:hover { background: var(--ink-2); }
.service:hover::before { transform: scaleX(1); }
.service__num { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); font-size: 0.95rem; color: rgba(255, 253, 249, 0.25); }
.service__icon { width: 52px; height: 52px; color: var(--wood-light); margin-bottom: 26px; transition: transform 0.45s var(--ease); }
.service:hover .service__icon { transform: translateY(-4px) rotate(-6deg); }
.service h3 { color: var(--white); margin-bottom: 0.45em; }
.service p { font-size: 0.97rem; margin-bottom: 22px; }
.service .text-link { color: var(--wood-light); }

/* ---------- Projekter ---------- */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 23vw, 300px); grid-auto-flow: dense; gap: 18px; }
.project {
  position: relative; grid-column: span 4; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); cursor: zoom-in; border: 0; padding: 0; text-align: left; color: var(--white);
}
.project--wide { grid-column: span 8; grid-row: span 2; }
.project--tall { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.4s; }
.project:hover img { transform: scale(1.06); }
.project::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(24, 22, 20, 0.88) 100%);
  transition: opacity 0.4s;
}
.project__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.project__cap small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 6px; }
.project__cap b { display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.15; }
.project__cap span {
  display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 0.9rem; color: rgba(255, 253, 249, 0.82);
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.project:hover .project__cap span, .project:focus-visible .project__cap span { max-height: 90px; opacity: 1; margin-top: 8px; }
.project.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line); background: transparent; border-radius: 999px;
  font-weight: 500; font-size: 0.93rem; color: var(--text); cursor: pointer; transition: all 0.2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(14, 13, 12, 0.94);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 16px 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1400px, 100%); max-height: 78vh; width: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__cap { color: var(--white); text-align: center; margin-top: 18px; max-width: 70ch; }
.lightbox__cap b { font-family: var(--font-display); font-size: 1.35rem; display: block; }
.lightbox__cap span { color: var(--muted-on-dark); font-size: 0.95rem; }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-on-dark);
  background: rgba(255, 253, 249, 0.06); color: var(--white); cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s;
}
.lightbox button:hover { background: var(--wood); border-color: var(--wood); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: -2px; left: 0; padding-top: 10px; border-top: 2px solid var(--wood); width: 48px;
  font-family: var(--font-display); font-weight: 700; color: var(--wood); font-size: 0.95rem;
}
.step h3 { margin-top: 18px; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.section--dark .step { border-color: var(--line-on-dark); }
.section--dark .step p { color: var(--muted-on-dark); }

/* ---------- Udtalelser ---------- */
.reviews-wrap { position: relative; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.reviews::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px 30px;
  display: flex; flex-direction: column; border: 1px solid var(--line); margin: 0;
}
.review__stars { display: flex; gap: 3px; color: var(--wood); margin-bottom: 18px; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--text); flex: 1; }
.review blockquote::before { content: '\201C'; display: block; font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--paper-2); margin-bottom: 8px; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.review figcaption i {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: grid; place-items: center; font-style: normal; font-family: var(--font-display);
}
.review figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.reviews-nav { display: flex; gap: 10px; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: all 0.2s;
}
.round-btn:hover { background: var(--ink); color: var(--white); }
.round-btn svg { width: 20px; height: 20px; }

/* ---------- Garanti ---------- */
.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
}
.guarantee img { width: 200px; border-radius: var(--radius); }
.guarantee h3 { margin-bottom: 0.3em; }
.guarantee p { margin: 0; color: var(--muted); }

/* ---------- CTA-bånd ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--white); background: var(--ink); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.cta-band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(24, 22, 20, 0.35)); }
.cta-band .wrap { position: relative; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); max-width: 16ch; margin-bottom: 0.3em; }
.cta-band p { color: rgba(255, 253, 249, 0.8); max-width: 48ch; margin: 0; }
.cta-band .phone-big {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  color: var(--white); text-decoration: none; margin-bottom: 14px; line-height: 1;
}
.cta-band .phone-big:hover { color: var(--wood-light); }

/* ---------- Undersider: topsektion ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--ink); overflow: hidden;
  padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(56px, 8vw, 96px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 22, 20, 0.4), var(--ink)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255, 253, 249, 0.82); }
.crumbs { display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted-on-dark); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* ---------- Ydelser-side ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail:nth-of-type(even) .service-detail__media { order: 2; }
.service-detail__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-detail h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 30px; }
.tag-list li { padding: 7px 14px; border-radius: 999px; background: var(--paper-2); font-size: 0.88rem; font-weight: 500; color: var(--ink); }

.service-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.service-index a {
  padding: 9px 16px; border: 1px solid var(--line-on-dark); border-radius: 999px;
  text-decoration: none; font-size: 0.92rem; color: var(--white); transition: all 0.2s;
}
.service-index a:hover { background: var(--wood); border-color: var(--wood); }

/* ---------- Om os ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; border: 1px solid var(--line); }
.value svg { width: 40px; height: 40px; color: var(--wood); margin-bottom: 20px; }
.value p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.quote-big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.2; color: var(--white); max-width: 26ch; margin: 0 0 24px; }
.quote-big em { font-style: normal; color: var(--wood-light); }

/* ---------- Kontakt ---------- */
.contact-grid { scroll-margin-top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field label i { font-style: normal; color: var(--wood); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font: inherit; font-size: 1rem; color: var(--text); transition: border-color 0.2s, background 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); background: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; transition: all 0.2s; background: var(--paper);
}
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form-foot small { color: var(--muted); max-width: 40ch; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; display: none; }
.form-status.is-ok { display: block; background: #e7f1e4; color: #24502a; }
.form-status.is-error { display: block; background: #f8e5df; color: #7a2a14; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.info-card { background: var(--ink); color: var(--muted-on-dark); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); }
.info-card h3 { color: var(--white); }
.info-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.info-list .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-3); display: grid; place-items: center; color: var(--wood-light); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list small { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.info-list a, .info-list b { color: var(--white); text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--wood-light); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours td { padding: 10px 0; border-top: 1px solid var(--line-on-dark); }
.hours td:last-child { text-align: right; color: var(--white); }
.info-note { font-size: 0.88rem; margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.6rem; font-weight: 300; color: var(--wood); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; max-width: 70ch; }

/* ---------- Footer ---------- */
.site-footer { background: #11100e; color: var(--muted-on-dark); padding: clamp(64px, 8vw, 96px) 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-brand img { width: 120px; margin-bottom: 18px; }
.footer-brand p { max-width: 32ch; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; }
.social a:hover { background: var(--wood); border-color: var(--wood); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; }

/* ---------- Mobil: fast CTA-bar ---------- */
.mobile-cta { display: none; }

/* ---------- Scroll-animationer ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: 0.46s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--muted-on-dark); padding: 120px 16px 60px; }
.notfound b { display: block; font-family: var(--font-display); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; color: var(--wood); }
.notfound h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .marquee__track { gap: 8px 26px; }
  .marquee__track li + li::before { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews { grid-auto-columns: minmax(300px, calc((100% - 24px) / 2)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 46px; }
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; height: calc(100svh - var(--header-h));
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 18px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    overflow-y: auto;
  }
  .is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line-on-dark); }
  .nav a::after { display: none; }
  .nav .btn { margin: 26px 0 0; min-height: 56px; font-family: var(--font-body); font-size: 1rem; border-bottom: 0; }
  .nav .header-phone { display: flex; margin: 0; font-family: var(--font-body); font-size: 1.15rem; padding: 20px 0 0; border-bottom: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .stamp { display: none; }
  .scroll-cue { display: none; }
  .split, .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .service-detail:nth-of-type(even) .service-detail__media { order: 0; }
  .split__media .badge { left: 12px; bottom: -20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .projects { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; gap: 12px; }
  .project, .project--wide, .project--tall { grid-column: span 1; grid-row: span 1; }
  .project--wide:first-child { grid-column: span 2; grid-row: span 2; }
  .values { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .guarantee img { width: 170px; }

  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(24, 22, 20, 0.96); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 48px; padding: 0 12px; font-size: 0.95rem; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .projects { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .project--wide:first-child { grid-column: span 1; grid-row: span 1; }
  .reviews { grid-auto-columns: 86%; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .btn-row .btn { flex: 1 1 100%; }
  .brand span { font-size: 1.1rem; }
  .brand small { display: none; }
  .split__media .badge { padding: 12px 16px; max-width: 150px; bottom: -16px; }
  .split__media .badge b { font-size: 1.7rem; }
  .split__media .badge span { font-size: 0.78rem; line-height: 1.35; display: block; }
  .marquee__track { gap: 6px 18px; }
  .marquee__track li { font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
