/* LCA Huset – fælles stylesheet
   Farver fra mailsignaturen: koksgrå tekst, sandfarvet accent. */
:root {
  --ink: #2b2b2b;
  --muted: #5f5a54;
  --sand: #b59c7d;
  --sand-ink: #7a6142;
  --line: #e6e0d7;
  --tint: #f7f5f2;
  --bg: #ffffff;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
}
img, svg { max-width: 100%; height: auto; }

a { color: var(--sand-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand-ink); outline-offset: 3px; }

h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -0.005em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin: 0 0 0.35em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.35em; }
strong { font-weight: 600; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { text-decoration: none; color: var(--ink); display: block; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; line-height: 1; display: block; }
.brand-tag { display: block; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.3rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav li { margin: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.98rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sand); }
.nav-toggle { display: none; }

@media (max-width: 52rem) {
  .site-header .wrap { flex-wrap: wrap; position: relative; row-gap: 0; }
  .nav-desktop { display: none; }
  .nav-toggle { display: block; flex-basis: 100%; margin: 0; }
  .nav-toggle summary { position: absolute; right: var(--gutter); top: 1.35rem; list-style: none; cursor: pointer; border: 1px solid var(--line); padding: 0.45rem 0.85rem; font-size: 0.95rem; background: #fff; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle[open] summary { border-color: var(--sand); }
  .nav-mobile ul { flex-direction: column; gap: 0; padding: 0.9rem 0 0; }
  .nav-mobile a, .nav-mobile a:hover { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .nav-mobile a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--line); }
  .nav-mobile li:last-child a { border-bottom: 0; }
}

/* Signaturen: indhold med sandfarvet lodret streg */
.rule { border-left: 3px solid var(--sand); padding-left: clamp(1.1rem, 2.5vw, 2rem); }

/* Sektioner */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.tint { background: var(--tint); border-top: 0; }
.section.tint + .section { border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.split > h2 { margin: 0; min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink); max-width: 40rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.measure { max-width: 42rem; }

@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; }
}

/* Hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 19ch; }
.hero .lede { margin-bottom: 1.8rem; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } }

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 26ch; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--sand); }
.crumbs a { color: var(--muted); }

/* Knapper */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn { display: inline-block; font: 600 1rem/1 var(--sans); padding: 0.95rem 1.4rem; text-decoration: none; border: 1px solid var(--ink); border-radius: 2px; cursor: pointer; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--sand); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* Livscyklus – sitets kendetegn */
.cycle { margin: 0; }
.cycle figcaption { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: 1.2rem; line-height: 1.3; }
.cycle ol { list-style: none; margin: 0; padding: 0; position: relative; }
.cycle ol::before { content: ""; position: absolute; left: 3.35rem; top: 0.6rem; bottom: 0.6rem; width: 2px; background: var(--sand); }
.cycle li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 0.9rem; margin: 0 0 1.05rem; position: relative; }
.cycle li:last-child { margin-bottom: 0; }
.cycle .mod { font: 600 0.82rem/1.9 var(--sans); color: var(--sand-ink); white-space: nowrap; }
.cycle li::after { content: ""; position: absolute; left: calc(3.35rem - 4px); top: 0.55rem; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--sand); }
.cycle li.dashed::after { background: var(--tint); border-color: #cdbba3; }
.cycle .txt { padding-left: 0.35rem; }
.cycle .txt strong { display: block; font-size: 1rem; }
.cycle .txt span { display: block; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.cycle .note { color: var(--sand-ink); font-size: 0.85rem; }

/* Ydelser */
.services { margin: 0; padding: 0; list-style: none; }
.services li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.services li:first-child { padding-top: 0; }
.services h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; margin: 0; }
.services h3 a { color: var(--ink); text-decoration: none; }
.services h3 a:hover { color: var(--sand-ink); }
.services p { margin: 0; grid-column: 1 / 2; color: var(--muted); }
.services .price { grid-row: 1 / 3; grid-column: 2; align-self: center; text-align: right; font-weight: 600; white-space: nowrap; }
.services .price small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
@media (max-width: 36rem) {
  .services li { grid-template-columns: 1fr; }
  .services .price { grid-row: auto; grid-column: 1; text-align: left; }
}

/* Lister med fakta */
.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.facts li { padding: 0.85rem 0 0.85rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.facts li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.55rem; height: 2px; background: var(--sand); }
.tint .facts li { border-bottom-color: #e3dcd1; }

/* Trin */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.steps li { counter-increment: s; margin: 0; padding-top: 0.9rem; border-top: 2px solid var(--sand); }
.steps li::before { content: counter(s); font: 700 1.6rem/1 var(--serif); color: var(--sand-ink); display: block; margin-bottom: 0.55rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 36rem) { .steps { grid-template-columns: 1fr; } }

/* Priser */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); margin-bottom: 1rem; }
.prices > div { padding: 1.3rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.prices > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.prices h3 { margin-bottom: 0.2rem; }
.prices .amount { font: 700 1.6rem/1.2 var(--serif); margin: 0.5rem 0 0.4rem; }
.prices .amount small { font: 400 0.85rem var(--sans); color: var(--muted); display: block; margin-top: 0.2rem; }
.prices p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 52rem) {
  .prices { grid-template-columns: 1fr; }
  .prices > div, .prices > div + div { padding: 1.2rem 0; border-left: 0; }
}

/* Person */
.person h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.person .role { color: var(--muted); margin-bottom: 1rem; }
.creds { color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 0.9rem; margin-top: 1.2rem; }

/* Styrker */
.strengths { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 2.5rem; }
.strengths li { margin: 0; }
.strengths h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.strengths p { color: var(--muted); margin: 0; }
@media (max-width: 36rem) { .strengths { grid-template-columns: 1fr; } }

/* Tidslinje (Om) */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.timeline .yr { color: var(--sand-ink); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 36rem) { .timeline li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; font: 400 1.5rem/1 var(--serif); color: var(--sand-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--muted); max-width: 44rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: 0 0 1.1rem; }
.contact-list .k { display: block; font-size: 0.85rem; color: var(--muted); }
.contact-list .v { font-size: 1.15rem; }
form label { display: block; font-weight: 600; font-size: 0.95rem; margin: 0 0 0.35rem; }
form .opt { font-weight: 400; color: var(--muted); }
form input, form select, form textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc7bb; border-radius: 2px; padding: 0.7rem 0.8rem; margin-bottom: 1.1rem; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--sand-ink); outline: 2px solid var(--sand); outline-offset: 0; }
form textarea { min-height: 9rem; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 36rem) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 0.9rem 1rem; border-left: 3px solid #a33; background: #fbf3f2; margin-bottom: 1.2rem; }

/* Juridiske sider / tekstsider */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.updated { font-size: 0.88rem; color: var(--muted); margin-top: 2rem; }

/* CTA */
.cta { text-align: left; }
.cta p { max-width: 36rem; }

/* Footer */
.site-footer { background: var(--ink); color: #e9e5df; padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; font-size: 0.95rem; }
.site-footer a { color: #e9e5df; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-tag { color: #bdb5aa; }
.foot-brand { border-left: 3px solid var(--sand); padding-left: 1.2rem; }
.site-footer h2 { font: 600 0.95rem/1.3 var(--sans); color: #fff; margin: 0 0 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.foot-legal { border-top: 1px solid #45423e; margin-top: 2.2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; color: #bdb5aa; font-size: 0.86rem; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
@media (max-width: 52rem) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 36rem) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header .nav, .site-footer, .actions { display: none; } body { font-size: 11pt; } }
