/* Breum Byg. Designgrundlag: se design-reference.md (reference lstoemrer.dk, fidelity close). */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-latin.woff2') format('woff2'); font-weight: 500 900; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/assets/fonts/public-sans-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #141414;
  --muted: #5F5B56;
  --bg: #FFFFFF;
  --warm: #F3F1EC;
  --dark: #1B1A18;
  --dark-2: #26241F;
  --sand: #D9CFBF;
  --line: #E3DFD8;
  --line-2: #E9E5DE;
  --on-dark: #E7E3DC;
  --on-dark-muted: #B9B4AC;
  --ok: #0B6B4D;
  --ok-bg: #E7F3EE;
  --r-btn: 6px;
  --r-card: 10px;
  --r-img: 8px;
  --wrap: 1200px;
  --head: 'Archivo', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --body: 'Public Sans', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 17px/1.55 var(--body); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #1B66D1; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4, .num, .big, .price strong, .stats strong, .foot-name { font-stretch: 112%; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 900; letter-spacing: -.02em; line-height: 1.04; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.48rem); }
h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); }
h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-btn); }
.skip:focus { top: 8px; }
.label { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.label-light { color: var(--on-dark-muted); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink); }
.small-note { font-size: .9rem; color: var(--muted); margin-top: 2rem; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 24px; border: 2px solid transparent; border-radius: var(--r-btn);
  font: 800 1rem/1.1 var(--body); text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-sm { padding: 12px 18px; font-size: .94rem; }
.btn-block { display: flex; width: 100%; }
.btn-dark { background: var(--dark-2); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: #E6DECF; }
.btn-line { border-color: #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-line-dark:hover { background: var(--ink); color: #fff; }
.more { font-weight: 800; text-decoration: none; }
.more span { display: inline-block; transition: transform .2s var(--ease); }
a:hover .more span, .more:hover span { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font: 900 1.15rem/1 var(--head); letter-spacing: .02em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.nav > ul { display: flex; gap: 6px; align-items: center; }
.nav a { display: inline-block; padding: 10px 12px; font-weight: 700; font-size: .98rem; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: -8px; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 600; }
.sub a:hover { background: var(--warm); text-decoration: none; }
.head-cta { display: flex; align-items: center; gap: 18px; }
.head-phone { display: grid; text-decoration: none; text-align: right; line-height: 1.1; }
.head-phone small { font-size: .72rem; color: var(--muted); }
.head-phone strong { font: 900 1.15rem/1.1 var(--head); letter-spacing: -.01em; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.burger span { display: block; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Sektioner */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band-white { background: #fff; }
.band-warm { background: var(--warm); }
.band-dark { background: var(--dark); color: var(--on-dark); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-sand { background: var(--sand); }
.section-h { max-width: 18ch; margin-bottom: 36px; }
.section-h.light { color: #fff; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.head-row .section-h { margin-bottom: 0; }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 19, 17, .88) 0%, rgba(20, 19, 17, .62) 55%, rgba(20, 19, 17, .5) 100%); }
.hero-bg img { animation: zoom-out 1.8s var(--ease) both; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.48rem); max-width: 14ch; }
.hero-sub { font-size: 1.2rem; max-width: 34ch; color: #fff; opacity: .92; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: .95rem; align-items: center; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust a { color: #fff; }
.stars { color: #F2B84B; letter-spacing: 2px; margin: 0; }
.tile { background: #fff; border-radius: var(--r-img); padding: 10px; width: fit-content; margin-top: 18px; }
.tile img { width: 88px; height: auto; }
.tile-sm { padding: 3px; margin: 0; }
.tile-sm img { width: 30px; }
.form-card { background: #fff; color: var(--ink); border-radius: 12px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.form-card h2, .form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-lead { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.form label { display: block; font-weight: 700; font-size: .85rem; margin: 14px 0 6px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #CFCAC2; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid #1B66D1; outline-offset: 0; border-color: transparent; }
.form .btn { margin-top: 18px; }
.form [aria-invalid=true] { border-color: #B3261E; }
.form-small { font-size: .8rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-msg { margin: 10px 0 0; font-weight: 700; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #B3261E; }
.form-test { font-size: .8rem; background: #FFF4D6; border-radius: 6px; padding: 8px 10px; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Om */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img img { border-radius: var(--r-img); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 3px solid var(--ink); padding-top: 22px; margin-top: 28px; }
.stats strong { display: block; font: 900 2rem/1 var(--head); letter-spacing: -.02em; }
.stats span { font-size: .88rem; color: var(--muted); }

/* Kort */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .1); }
.card-link { display: grid; height: 100%; grid-template-rows: auto 1fr; text-decoration: none; }
.card-img { overflow: hidden; display: block; }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.card-body h3 { margin: 0 0 4px; }
.card-body p { font-size: .95rem; color: var(--muted); margin: 0 0 12px; flex: 1; }
.band-warm .card { background: #fff; }

/* Video */
.video-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.yt { position: relative; border-radius: var(--r-card); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { filter: brightness(.6); }
.yt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; background: none; padding: 0; transition: transform .2s var(--ease); }
.yt-play:hover { transform: scale(1.08); }
.yt-play svg { width: 84px; height: 84px; }
.yt-note { position: absolute; left: 14px; right: 14px; bottom: 10px; margin: 0; font-size: .8rem; color: #fff; }

/* Anmeldelser */
.rev-grid { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: stretch; }
.rev-score { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; }
.big { font: 900 4.5rem/1 var(--head); letter-spacing: -.04em; margin: 0; }
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; }
.review blockquote { margin: 8px 0 14px; font-weight: 700; font-size: 1.05rem; flex: 1; }
.rev-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.ah-embed { margin-top: 24px; }
.ah-embed .smileywrapper:empty { display: none; }
.ah-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.ah-embed.loaded .ah-note { display: none; }
.has-widget .rev-grid { display: none; }
.has-widget .ah-embed { margin-top: 0; }

/* Projekter */
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proj-grid-3 { grid-template-columns: repeat(3, 1fr); }
.proj { position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--dark); }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.proj:hover img { transform: scale(1.04); }
.proj span { display: block; padding: 10px 12px; font-weight: 700; font-size: .9rem; background: #fff; color: var(--ink); }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; border-top: 3px solid #fff; padding-top: 28px; }
.num { display: block; font: 900 3.4rem/1 var(--head); color: #fff; margin-bottom: 14px; }
.steps h3 { color: #fff; }
.steps p { color: var(--on-dark); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin: 24px 0; }
.contact-list dt { font: 700 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; font: 800 1.35rem/1.25 var(--head); letter-spacing: -.01em; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.band-warm .form-card { box-shadow: 0 8px 30px rgba(0, 0, 0, .08); border: 1px solid var(--line); }

/* SEO-tekst */
.seo-text h2:not(.visually-hidden), .article h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.seo-text p, .article p { max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chips a { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, color .2s; }
.chips a:hover { background: var(--ink); color: #fff; }
.chips-h { font-weight: 800; margin: 2em 0 0; }
.check li { position: relative; padding-left: 28px; margin: 0 0 8px; }
.check li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) translateY(-3px); }
.two-col { columns: 2; column-gap: 40px; }
.two-col li { break-inside: avoid; }

/* Undersider */
.page-head { padding: clamp(40px, 6vw, 72px) 0; }
.band-dark.page-head { background: var(--dark); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; margin: 0; }
.page-lead { max-width: 56ch; margin: 18px 0 0; color: var(--on-dark); font-size: 1.15rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { color: var(--on-dark); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article-band { padding-top: clamp(40px, 6vw, 72px); }
.article-img img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--r-img); margin-bottom: 28px; }
.side { position: sticky; top: 96px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.side-card h2 { font-size: 1.6rem; }
.side-card .btn { margin-top: 10px; }
.side-facts { margin: 20px 0 0; display: grid; gap: 12px; font-size: .92rem; }
.side-facts dt { font-weight: 800; }
.side-facts dd { margin: 0; color: var(--muted); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; margin: 28px 0; }
.price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0; }
.price span { font-weight: 700; }
.price strong { font: 900 clamp(2.6rem, 6vw, 4rem)/1 var(--head); letter-spacing: -.03em; }
.price em { color: var(--muted); font-style: normal; }
.legal p { max-width: none; }

/* CTA og footer */
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-row h2 { margin: 0 0 8px; }
.cta-row p:last-child { margin: 0; }
.band-sand .label { color: #4D473E; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--dark); color: var(--on-dark); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.foot-name { font: 900 1.6rem/1 var(--head); letter-spacing: .02em; color: #fff; }
.foot-h { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin: 0 0 16px; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .linklike { color: var(--on-dark); }
.foot-badge { background: #fff; border-radius: var(--r-img); padding: 10px; width: 96px; margin-top: 18px; }
.foot-legal { border-top: 1px solid #3A3834; margin: 40px 0 0; padding-top: 20px; font-size: .85rem; color: var(--on-dark-muted); }
.small { font-size: .85rem; color: var(--on-dark-muted); }
.callbar { display: none; }

/* Animation */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(22px); }
.js .reveal.in, .js .reveal-group.in > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.done, .js .reveal-group.done > * { transition: none; opacity: 1; transform: none; }
.enter { animation: rise .7s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; } .hero-copy > :nth-child(6) { animation-delay: .38s; } .hero-form { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes zoom-out { from { transform: scale(1.06); } to { transform: none; } }

@media (max-width: 1000px) {
  .hero-grid, .about-grid, .video-grid, .contact-grid, .article-grid { grid-template-columns: 1fr; gap: 36px; }
  .side { position: static; }
  .cards, .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; }
  .revs { grid-template-columns: 1fr; }
  .proj-grid, .proj-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .head-phone { display: none; }
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 12px 16px 100px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { display: block; padding: 16px 4px; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { border-bottom: 0; }
  .has-sub { border-bottom: 1px solid var(--line); }
  .sub a:last-child { border-bottom: 0; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: block; width: 48px; height: 48px; border: 0; background: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; width: 100%; display: none; }
  .sub::before { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { font-size: 1.05rem; padding: 12px 4px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--dark); }
  .callbar a { padding: 16px; text-align: center; font-weight: 800; color: #fff; text-decoration: none; }
  .callbar a:first-child { background: var(--sand); color: var(--ink); }
  body { padding-bottom: 56px; }
  .band-sand .cta-btns { width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .cards-5 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 12px; }
  .stats strong { font-size: 1.6rem; min-width: 5.5rem; }
  .proj-grid, .proj-grid-3 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .two-col { columns: 1; }
  .btn { width: 100%; }
  .hero-btns, .cta-btns { flex-direction: column; }
  .head-cta .btn { display: none; }
  .brand-text small { display: none; }
  .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-group > * { opacity: 1; transform: none; }
}
