/* LIVSPIRE V18 – fælles layoutpolering for alle offentlige sider.
   Indlæses sidst, uden at ændre WebForms, database eller login. */
:root { --liv18-ink:#2d2924; --liv18-muted:#665a52; --liv18-accent:#ac5b49; --liv18-paper:#fffaf6; }
body { background:var(--liv18-paper); color:var(--liv18-ink); }
.site-header { background:rgba(255,250,246,.97); }
.site-shell { margin-inline:auto; }
/* Den første visning skal ligne forsiden – også på undersiderne */
.liv-page-hero { background:linear-gradient(115deg,#f9eee7 0%,#fffaf6 48%,#f3e6dc 100%); padding-top:24px; padding-bottom:42px; }
.liv-page-hero-layout { align-items:center; gap:clamp(26px,4vw,68px); }
.liv-page-hero-copy { min-width:0; }
.liv-page-hero-copy h1 { max-width:720px; line-height:1.075; letter-spacing:-.035em; margin:12px 0 18px; }
.liv-page-hero-copy .lead { max-width:660px; line-height:1.62; font-size:clamp(1.04rem,1.15vw,1.2rem); color:var(--liv18-muted); }
.liv-page-hero-media { border-radius:46% 17% 28% 21% / 33% 20% 34% 22%; height:clamp(285px,26vw,415px); overflow:hidden; box-shadow:0 18px 42px rgba(66,45,29,.12); }
.liv-page-hero-media img { object-fit:cover; width:100%; height:100%; }
.liv-page-hero-sparkle { pointer-events:none; }
.liv-page-hero-compact .liv-page-hero-media { height:clamp(260px,23vw,375px); }
.liv-section { padding-block:clamp(45px,5.3vw,78px); }
.liv-section-paper { background:#fffaf6; }
.liv-section-blush { background:linear-gradient(112deg,#f8eee8,#fff9f5 58%,#f5e6dc); }
.liv-section-heading { max-width:900px; margin:0 auto 32px; }
.liv-section-heading h2 { line-height:1.13; }
.liv-section-heading p { line-height:1.55; }
.liv-last-invite { background:linear-gradient(110deg,#fff9f5,#f6e8dc); border-top:1px solid #f0e0d4; padding:35px 0 45px; }
.liv-last-invite h2 { max-width:940px; }
.liv-last-invite p { max-width:900px; }
.liv-last-invite .btn { text-align:center; }
/* Fag-, proces- og priskort i samme designfamilie som forsidens kort */
.liv-service-card,.liv-tile,.liv-journey-steps article,.liv-pricing-option,.liv-info-card,.liv-form-panel { border-color:#eadcd1; box-shadow:0 8px 24px rgba(73,51,41,.055); }
.liv-pricing-option,.liv-form-panel { border-radius:20px; }
.liv-journey-steps article { border-radius:18px; }
.liv-pricing-option h3,.liv-form-intro h2 { letter-spacing:-.025em; }
.liv-form-panel .field .input { padding:14px 15px; }
.liv-form-panel .field label { font-size:1.02rem; }
.liv-faq-list .faq-item { border:1px solid #e8dacf; }
/* Langt indhold, blandt andet Om Christina og jura: god læsebredde og luft. */
.liv-about-full { grid-template-columns:minmax(0,1.65fr) minmax(295px,.78fr); gap:clamp(28px,4vw,66px); }
.liv-about-full .liv-heart-copy { min-width:0; max-width:780px; }
.liv-heart-copy p,.liv-heart-copy blockquote { max-width:70ch; }
.liv-heart-copy h2 { font-size:clamp(2rem,3vw,3.05rem); line-height:1.17; }
.liv-heart-copy h3 { margin:2.1rem 0 .75rem; line-height:1.22; }
.liv-heart-copy p { line-height:1.7; margin-bottom:1.1rem; }
.liv-heart-copy .liv-heart-intro { line-height:1.65; }
.liv-about-aside { padding:0; position:relative; min-width:0; display:flex; flex-direction:column; gap:18px; align-self:start; }
/* V17 brugte sticky foto: det overlappede noten ved scroll på Om Christina. */
.liv-about-aside .liv-photo-frame { position:relative!important; top:auto!important; height:auto; aspect-ratio:5/4; border-radius:28px 68px 30px 65px; }
.liv-about-figure { margin:0; }
.liv-about-figure-caption { position:relative; background:#f8e9df; border:1px solid #e7d3c3; color:#865b4a; border-radius:0 0 20px 20px; padding:16px 20px; margin:-3px 7px 0; font-style:italic; text-align:center; font-size:1.08rem; line-height:1.42; }
.liv-about-figure-caption em { color:#ac614d; }
.liv-about-aside .liv-note-friendly { position:relative; margin:0; line-height:1.55; padding:21px 22px; overflow-wrap:break-word; }
.liv-about-aside .liv-note-friendly .btn { width:100%; white-space:normal; text-align:center; margin-top:12px; }
.liv-about-aside .liv-note-friendly p { max-width:none; }
/* De tre fordele på forsiden må aldrig flyde hen over billedet. */
.ref-hero-copy { min-width:0; }
.ref-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; max-width:100%; width:100%; align-items:start; }
.ref-value { min-width:0; white-space:normal!important; display:flex; align-items:flex-start; gap:8px; font-size:clamp(.79rem,.92vw,.98rem); line-height:1.34; }
.ref-value-mark { display:grid; place-items:center; flex:0 0 31px; min-width:31px; color:#b45f47; }
.ref-value-mark svg { width:29px; height:29px; stroke:currentColor; }
.ref-hero-copy .ref-lead { max-width:62ch; }
.ref-hero .ref-hero-copy h1 { max-width:100%; }
/* Lettere og mindre dominerende statusbesked, ingen falske betalingsløfter. */
.liv-payment-banner-inner { min-height:0; padding-block:9px; }
.liv-payment-banner p { font-size:.95rem; line-height:1.45; }
.liv-payment-banner a { color:#87432f; }
/* Fælles konsekvent interaktion og tilgængelighed. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid #99543f!important; outline-offset:3px; }
img { max-width:100%; }
.liv-photo-frame img { display:block; }
.site-footer a:focus-visible { outline-color:#fff7e7!important; }
@media (max-width:1100px) {
 .liv-about-full { grid-template-columns:minmax(0,1.45fr) minmax(255px,.8fr); }
 .ref-values { gap:8px; }
 .ref-value-mark { flex-basis:27px; min-width:27px; }
 .ref-value-mark svg { width:26px; height:26px; }
}
@media (max-width:920px) {
 .liv-about-full { grid-template-columns:1fr; }
 .liv-about-aside { width:100%; max-width:620px; margin:0 auto; }
 .ref-values { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:100%; }
 .liv-page-hero-media { height:320px; }
}
@media (max-width:740px) {
 .ref-values { grid-template-columns:1fr; gap:9px; max-width:420px; }
 .ref-value { font-size:1rem; align-items:center; }
 .liv-page-hero { padding-top:24px; padding-bottom:40px; }
 .liv-page-hero-media,.liv-page-hero-compact .liv-page-hero-media { height:auto; aspect-ratio:16/10; width:100%; }
 .liv-last-invite { padding-block:30px 38px; }
 .liv-section { padding-block:40px 54px; }
 .liv-payment-banner-inner { flex-wrap:wrap; }
 .liv-payment-banner p { font-size:.91rem; }
 .liv-payment-banner a { margin-left:30px; }
 .liv-heart-copy h2 { font-size:2rem; }
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ref-card,.ref-button,.btn{transition:none!important}}
/* Forsidens specialregler måtte ikke krympe logoet i footeren. */
body:has(.ref-home) .site-footer .brand-footer img,
.site-footer .brand-footer img { width:235px!important; max-width:100%; height:auto!important; }
/* Alle gridfelter må krympe på små skærme. */
.liv-faq-layout { grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr); }
.liv-faq-layout > *, .liv-service-grid > *, .liv-pricing-options > * { min-width:0; }
.liv-empty-state { width:100%; max-width:100%; min-width:0; }
@media(max-width:800px) {
 .liv-faq-layout { grid-template-columns:minmax(0,1fr); }
 .liv-service-grid { min-width:0; }
 .liv-faq-intro,.liv-faq-list { min-width:0; width:100%; }
}
