/* ============================================
   Fælles grundlag – bruges af alle sider
   ============================================ */

:root {
  --sage: #9caf88;
  --sage-dark: #7c9268;
  --olive: #54611c; /* hentet fra løvet på forsidens billede, bruges som accent */
  --cream: #faf9f5;
  --ink: #2e362a;
  --ink-soft: #5a6350;
  --line: #d8decb;
  --placeholder: #e4e4e1;
  --placeholder-line: #c7c7c2;
  --font-display: "Fraunces", serif;
  --font-body: "EB Garamond", serif;
  --font-ui: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
}

nav {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--sage-dark);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 720px) {
  nav {
    justify-content: flex-start;
    padding: 1.1rem 1.25rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    z-index: 30;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--line);
    width: 100%;
    box-sizing: border-box;
  }
}

header.hero {
  background: var(--sage);
  padding: 4rem 2rem;
  text-align: center;
}

header.hero h1 {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.lede {
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  text-align: center;
}

.lede .lede-title {
  font-family: var(--font-display);
  color: var(--sage-dark);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 0.9rem;
}

.lede .lede-text {
  font-family: var(--font-ui);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

.lede + main.prose {
  padding-top: 2.5rem;
}

footer {
  margin-top: 4rem;
  padding: 2rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-logos img {
  height: 84px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  footer {
    justify-content: center;
    text-align: center;
  }
  .footer-logos {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  header.hero h1 {
    font-size: 2.3rem;
  }
}

/* ============================================
   Priser-side
   ============================================ */

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2.5rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  min-height: 220px;
  position: relative;
}

.card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.card .duration {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.card .price {
  font-size: 1.15rem;
}

/* the featured card gets weight through fill, not a clashing border */
.card.featured {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}
.card.featured .duration,
.card.featured .price {
  color: var(--cream);
  opacity: 0.92;
}

.card .tag {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--olive);
  color: var(--cream);
  font-family: var(--font-ui);
  font-size: 0.7rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

section.info {
  margin-top: 4.5rem;
}

section.info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
}

section.info p {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}

section.info + section.info {
  margin-top: 2.5rem;
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Fælles tekst-skabelon ("prose")
   Bruges af Om mig, Parterapi og lignende
   indholdssider med overskrifter + brødtekst
   ============================================ */

main.prose {
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
}

main.prose.prose-narrow {
  max-width: 640px;
}
main.prose.prose-wide {
  max-width: 760px;
}

.intro {
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0 0 3rem;
}

.prose section {
  margin-top: 2.6rem;
}

.prose section:first-child {
  margin-top: 0;
}

.prose section h2 {
  font-family: var(--font-display);
  color: var(--sage-dark);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 1rem;
}

.prose section p,
.prose > p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.2rem;
}

.prose section p:last-child {
  margin-bottom: 0;
}

.prose section p strong,
.prose > p strong {
  font-weight: 700;
}

.prose section ul,
.prose > ul {
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
}

.prose section li,
.prose > ul li {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.prose section li::marker,
.prose > ul li::marker {
  color: var(--sage-dark);
}

.prose .callout {
  color: var(--sage-dark);
  font-weight: 700;
}

.prose strong.accent {
  color: var(--sage-dark);
}

.prose .lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--sage-dark);
  font-size: 1.3rem;
  line-height: 1.6;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.prose .testimonial {
  background: #fff;
  border-left: 3px solid var(--sage-dark);
  border-radius: 2px;
  padding: 1.75rem 2rem;
  margin: 0;
}

.prose .testimonial p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.9rem;
}

.prose .testimonial p:last-of-type {
  margin-bottom: 0.9rem;
}

.prose .testimonial cite {
  display: block;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: right;
}

@media (max-width: 720px) {
  .testimonials {
    grid-template-columns: 1fr;
  }
}

footer.om-mig,
footer.parterapi {
  margin-top: 5rem;
}

/* ============================================
   Forside
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hero-panel {
  background: var(--placeholder);
  min-height: 520px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-panel.left:empty::after {
  content: "Billede";
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #a5a59f;
}

.hero-panel.left img {
  display: block;
  max-width: 100%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-panel.right {
  background: var(--cream);
  justify-content: flex-start;
  padding: 0 4rem;
}

.intro-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.intro-block .badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-block .badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.intro-block h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 0.4rem;
}

.intro-block p {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service {
  background: var(--sage);
  color: var(--cream);
  padding: 3.5rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.service:nth-child(2) {
  background: var(--sage-dark);
}

.service h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0;
}

.service p {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  max-width: 30ch;
  opacity: 0.95;
}

.service p strong {
  font-weight: 700;
}

.service .btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--cream);
  border-radius: 999px;
  padding: 0.6rem 1.8rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.service .btn:hover {
  background: var(--cream);
  color: var(--olive);
}

footer.forside {
  margin-top: 0;
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    min-height: 320px;
  }
  .hero-panel.right {
    padding: 2.5rem;
  }
}

/* ============================================
   Kontakt-side
   ============================================ */

main.kontakt {
  max-width: 640px;
  margin: 0 auto;
  padding: 4.5rem 2rem 3rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  color: var(--sage-dark);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 1rem;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.6rem;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.contact-details a {
  color: var(--ink);
}
