/* ============================================
   BOLIGTJEK360 v2 – Minimalistisk redesign
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --gd: #1B4332;
  --gm: #2D6A4F;
  --ga: #52B788;
  --gl: #D8F3DC;
  --ink: #0D1B14;
  --soft: #3D5247;
  --muted: #7A9287;
  --cream: #F7F4EF;
  --white: #FFFFFF;
  --border: #E4E0DA;
  --shadow: 0 2px 16px rgba(13,27,20,.06);
  --shadow-lg: 0 8px 40px rgba(13,27,20,.12);
  --r: 10px;
  --fd: 'DM Serif Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
}

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

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── TYPOGRAPHY ── */
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ga); margin-bottom: 14px; }
h1, .h1 { font-family: var(--fd); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.08; color: var(--ink); }
h2, .h2 { font-family: var(--fd); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; color: var(--ink); }
h3, .h3 { font-family: var(--fd); font-size: 1.25rem; color: var(--ink); }
p.lead { font-size: 1.1rem; color: var(--soft); line-height: 1.7; }
p { color: var(--soft); line-height: 1.7; }
em { font-style: italic; color: var(--ga); }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 4px; font-size: .9rem; font-weight: 600; transition: all .18s; white-space: nowrap; cursor: pointer; border: none; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--gd); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,27,20,.2); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-green { background: var(--ga); color: var(--white); }
.btn-green:hover { background: var(--gm); transform: translateY(-1px); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-size: 1.15rem; color: var(--ink); }
.logo em { color: var(--ga); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--soft); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--ink) !important; color: var(--white) !important; padding: 9px 20px !important; border-radius: 4px; font-size: .84rem !important; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s; }
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 20px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--border); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 0 80px; background: var(--cream); position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; opacity: .4; }
.hero-content { position: relative; max-width: 700px; }
.hero-price { display: inline-flex; align-items: baseline; gap: 6px; margin: 28px 0; }
.hero-price .amount { font-family: var(--fd); font-size: 3rem; color: var(--ink); line-height: 1; }
.hero-price .suffix { font-size: .9rem; color: var(--muted); }
.hero-price .excl { font-size: .8rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.trust-num { font-family: var(--fd); font-size: 1.4rem; color: var(--ink); display: block; }
.trust-lbl { font-size: .76rem; color: var(--muted); font-weight: 500; }
.trust-sep { width: 1px; height: 32px; background: var(--border); }
.hero-visual { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; }
.hero-img-wrap { position: absolute; inset: 0; background: linear-gradient(135deg, var(--gd) 0%, var(--gm) 100%); display: flex; align-items: center; justify-content: center; }
.hero-scan { text-align: center; color: rgba(255,255,255,.85); }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--r); border: 1px solid var(--border); padding: 28px; transition: all .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; background: var(--gl); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-num { font-family: var(--fd); font-size: 3rem; color: var(--gl); line-height: 1; -webkit-text-stroke: 1.5px var(--ga); margin-bottom: 12px; }

/* ── PRICE BLOCK ── */
.price-card { background: var(--ink); color: var(--white); border-radius: var(--r); padding: 48px 40px; }
.price-card .eyebrow { color: var(--ga); }
.price-big { font-family: var(--fd); font-size: 4rem; color: var(--white); line-height: 1; }
.price-moms { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 6px; }
.price-incl { color: var(--ga); font-size: .85rem; font-weight: 600; margin-top: 4px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.8); }
.check-dot { width: 20px; height: 20px; background: rgba(82,183,136,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.check-dot.star { background: rgba(82,183,136,.35); }
.check-item strong { color: var(--white); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--ink); border-radius: var(--r); padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.65); }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { background: var(--cream); border-radius: var(--r); padding: 28px; }
.testimonial blockquote { font-family: var(--fd); font-style: italic; font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 16px; }
.testimonial-meta { font-size: .8rem; color: var(--muted); }
.testimonial-meta strong { display: block; color: var(--ink); font-style: normal; font-family: var(--fb); margin-bottom: 2px; }
.stars { color: var(--ga); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); }
.faq-q:hover { color: var(--gd); }
.faq-a { padding-bottom: 20px; font-size: .9rem; color: var(--soft); line-height: 1.7; display: none; }
.faq-a.open { display: block; }
.faq-icon { font-size: 1.2rem; color: var(--muted); flex-shrink: 0; }

/* ── CONTACT FORM ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.fg label { font-size: .74rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.fg input, .fg select, .fg textarea { padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r); font-size: .9rem; font-family: var(--fb); color: var(--ink); background: var(--white); outline: none; transition: border-color .15s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--ink); }
.fg textarea { resize: vertical; }
.fg.full { grid-column: 1 / -1; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; color: var(--soft); line-height: 1.5; }
.consent-row input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--ink); }
.form-success { display: none; background: var(--gl); border-radius: var(--r); padding: 16px 20px; font-size: .9rem; color: var(--gd); margin-top: 16px; }
.form-error { display: none; background: #FEE2E2; border-radius: var(--r); padding: 16px 20px; font-size: .9rem; color: #B91C1C; margin-top: 16px; }
.contact-info h3 { font-family: var(--fd); font-size: 1.4rem; margin-bottom: 20px; }
.contact-info ul { display: flex; flex-direction: column; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--soft); }
.contact-price-box { background: var(--cream); border-radius: var(--r); padding: 24px; margin-top: 28px; border: 1px solid var(--border); }
.cpb-lbl { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cpb-amount { font-family: var(--fd); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.cpb-moms { font-size: .78rem; color: var(--muted); margin-top: 3px; }

/* ── FOOTER ── */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); max-width: 280px; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col a:hover { color: var(--ga); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.4); }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); padding: 16px 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { opacity: .5; }

/* ── PAGE HERO ── */
.page-hero { padding: 120px 0 72px; background: var(--cream); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { max-width: 640px; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 50px; font-size: .72rem; font-weight: 600; background: var(--gl); color: var(--gd); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .section, .section-sm { padding: 64px 0; }
  .features-grid, .steps, .testimonial-grid, .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-card { padding: 32px 24px; }
}
