/* =========================================================
   Psykolog Tahir Abdullah – roligt, minimalt, mobile-first
   Én farve (salviegrøn) + råhvid + blød mørk tekst.
   Ingen cookies/web-fonts/tracking. Burger-menu uden JS.
   ========================================================= */

:root {
  --bg:        #FAF8F4;
  --ink:       #2F2B27;
  --muted:     #756F67;
  --sage:      #5E7D73;
  --sage-d:    #49625A;
  --tint:      #EEF2EF;
  --line:      #E7E1D7;
  --maxw:      1060px;
  --serif:     Georgia, 'Times New Roman', serif;
  --sans:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.75; font-size: 19px; -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap { max-width: 680px; }
.center { text-align: center; }
.muted { color: var(--muted); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin: 0 0 .35em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .3em; }
p { margin: 0 0 1.1em; }
a { color: var(--sage-d); text-decoration: none; }
a:hover { text-decoration: underline; }
.lead { font-size: 1.22rem; color: var(--muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-size: 1rem; transition: background .2s, color .2s; border: 1.5px solid var(--sage);
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--sage); color: #fff; }
.btn-solid:hover { background: var(--sage-d); border-color: var(--sage-d); color: #fff; }
.btn-line { background: transparent; color: var(--sage-d); }
.btn-line:hover { background: var(--sage); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header + burger-menu ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 16px 24px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.brand { line-height: 1.2; }
.brand-name { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.brand-sub { display: block; font-size: .78rem; color: var(--muted); }
.site-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-size: 1rem; }
.site-nav a:hover { color: var(--sage-d); text-decoration: none; }
.site-nav a.active { color: var(--sage-d); }
.header-phone { color: var(--sage-d); font-weight: 600; }

.nav-toggle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nav-burger { display: none; }

/* ---------- Sektioner: luft, ikke farve ---------- */
section { padding: 92px 0; }
section.tight { padding: 64px 0; }
section.soft { background: var(--tint); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* sidehoved på undersider (diskret, men bevidst) */
.pagehead { background: var(--tint); padding: 70px 0 60px; }
.pagehead .lead { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 88px; text-align: center; }
.hero .lead { max-width: 600px; margin: 0 auto; }
.hero .btn-row { justify-content: center; margin-top: 30px; }
.hero-portrait {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover; object-position: center 28%;
  display: block; margin: 0 auto 28px; box-shadow: 0 6px 22px rgba(47, 43, 39, .14);
}

/* ---------- Trust ---------- */
.trust { color: var(--muted); font-size: .98rem; margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust span { white-space: nowrap; }
.trust span + span::before { content: "·"; margin: 0 12px; color: var(--sage); }

/* ---------- Områdeliste (pæn, dot tæt på tekst) ---------- */
.arealist {
  list-style: none; padding: 0; margin: 30px auto 0; max-width: 520px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; text-align: left;
}
.arealist.left { margin-left: 0; }
.arealist li { display: flex; align-items: center; gap: 12px; }
.arealist li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }

/* ---------- Faktalinjer ---------- */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }

/* ---------- Pris ---------- */
.price { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price:last-of-type { border-bottom: 0; }
.price .amt { font-weight: 700; color: var(--sage-d); white-space: nowrap; }

/* ---------- Om: portræt + tekst ---------- */
.om-top { display: flex; gap: 34px; align-items: flex-start; }
.om-top img { width: 230px; height: auto; border-radius: 16px; flex: 0 0 auto; box-shadow: 0 6px 22px rgba(47, 43, 39, .12); }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .85rem; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list a { font-size: 1.15rem; font-weight: 600; }

/* ---------- FAQ / Spørgsmål & svar ---------- */
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h2 { font-size: 1.3rem; margin-bottom: .4em; }
.faq-item p { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; gap: 18px 48px; justify-content: space-between; }
.site-footer p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.7; }
.site-footer a { color: var(--sage-d); }
.footer-legal { max-width: var(--maxw); margin: 28px auto 0; padding: 0 24px; font-size: .85rem; color: var(--muted); }

/* ---------- Akut hjælp ---------- */
.footer-acute { max-width: var(--maxw); margin: 18px auto 0; padding: 0 24px; font-size: .92rem; color: var(--muted); }
.footer-acute a { color: var(--sage-d); font-weight: 700; white-space: nowrap; }
.acute { background: var(--tint); border-left: 3px solid var(--sage); border-radius: 8px; padding: 15px 20px; margin: 0 0 26px; font-size: 1rem; line-height: 1.6; }
.acute a { color: var(--sage-d); font-weight: 700; white-space: nowrap; }

/* ---------- Sådan kommer du i gang (trin) ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps li { counter-increment: step; text-align: center; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font-weight: 700; font-family: var(--serif); font-size: 1.1rem; margin: 0 auto 14px; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* =========================================================
   MOBIL (mobile-first oplevelse + burger-menu)
   ========================================================= */
@media (max-width: 760px) {
  /* (c) ikke "klæbende" på mobil — undgår afskåret stribe ved scroll, sparer højde */
  .site-header { position: static; }
  .header-inner { padding: 12px 20px; gap: 12px; }
  /* (a) brand til venstre, burger til højre på ÉN linje — telefonen flyttes ind i menuen */
  .brand { margin-right: auto; min-width: 0; }
  .nav-burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; flex: 0 0 auto;
    width: 46px; height: 40px; padding: 9px 8px; cursor: pointer; order: 8; border-radius: 8px;
  }
  .nav-burger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .site-nav { order: 10; width: 100%; display: none; flex-direction: column; gap: 0; margin: 8px 0 0; }
  .site-nav a { padding: 14px 4px; border-top: 1px solid var(--line); font-size: 1.08rem; }
  /* telefonen: skjult i toplinjen, vises som tydeligt punkt når menuen er åben */
  .header-phone { display: none; order: 11; width: 100%; padding: 14px 4px; border-top: 1px solid var(--line); font-size: 1.08rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .header-phone { display: block; }
  .nav-toggle:checked ~ .header-phone::before { content: "Ring "; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  body { font-size: 18px; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 56px; }
  .pagehead { padding: 52px 0 44px; }
  .arealist { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
  .arealist.left { margin-left: auto; }
  .om-top { flex-direction: column; align-items: center; text-align: center; }
  .om-top img { width: 180px; }
  /* (b) trust-linjen: stables roligt lodret uden prikker — ingen vandret overflow */
  .trust { flex-direction: column; gap: 4px; }
  .trust span + span::before { content: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
}
