@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Manrope:wght@400;500;600&display=swap');

:root {
  /* High-End Palette */
  --bg-main: #FAF9F7;
  --bg-panel: #FFFFFF;
  --text-dark: #1A2e22; 
  --text-muted: #5A6A60;
  --primary: #205A45;
  --primary-light: #3A7A65;
  --accent-beige: #E8E2D5;
  --accent-gold: #D4AF37;
  
  --border-subtle: #EAE8E0;
  --shadow-soft: 0 20px 40px rgba(26, 46, 34, 0.06);
  --shadow-hover: 0 30px 60px rgba(26, 46, 34, 0.1);
  --radius-soft: 12px;
  --radius-large: 24px;
  --section-padding-mobile: 3rem; 
  --container-padding-mobile: 1.5rem;
}

/* General Reset & Typography */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

.nowrap-heading { white-space: nowrap; }

h1 { font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.5rem 0 1.25rem; }
h3 { font-size: 1.5rem; margin: 0.75rem 0 0.5rem; }
p.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 2rem; }
p.section-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 3rem auto; text-align: center; }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; border-radius: var(--radius-soft); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }

/* Header & Nav */
header {
  padding: 1rem 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar { display: flex; align-items: center; justify-content: space-between; }

/* --- BRAND LOGO IMAGE --- */
.brand { 
  display: flex;
  align-items: center;
  margin-right: 2rem;
  /* Removes default link behaviors on the image */
  line-height: 0;
  min-width: 110px; /* Reserves space so the header doesn't shift before the logo loads */
}

.brand img {
  height: 50px; /* Adjustable: Controls the size of the logo in the header */
  width: auto; /* Fixed width to prevent layout jump on load */
  object-fit: contain; /* Keeps aspect ratio inside the reserved box */
  border-radius: 0; /* Ensures the logo stays sharp/square corners */
  mix-blend-mode: multiply; 
}

header .container.navbar {
  max-width: 100%; /* Removes the 1200px limit */
  padding: 0 2rem; /* Keeps some breathing room from the screen edge */
}

nav ul { display: flex; gap: 2.5rem; list-style: none; }
nav ul li a {
  font-weight: 600; font-size: 0.95rem; color: var(--text-dark);
  position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; width: 0; height: 2px;
  bottom: -5px; left: 0; background-color: var(--accent-gold); transition: width 0.3s;
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border-radius: 50px; font-weight: 600;
  transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent;
}
.button.primary { background: var(--primary); color: #fff; }
.button.primary:hover { background: var(--primary-light); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.button.secondary { background: transparent; border-color: var(--primary); color: var(--primary); }
.button.secondary:hover { background: var(--primary); color: #fff; }

header .button.primary {
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
}

/* Layout Sections */
.section { padding: 6rem 0; }
.bg-white { background: var(--bg-panel); }

/* Hero Section */
.hero-simple {
  padding: 5rem 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-image-container img {
  box-shadow: var(--shadow-soft); border-radius: var(--radius-large);
  aspect-ratio: 4/5; object-fit: cover;
}

/* Trust Strip */
.trust-strip { padding: 2rem 0; border-bottom: 1px solid var(--border-subtle); }
.trust-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.trust-item::before { content: '•'; color: var(--accent-gold); font-size: 1.5rem; }

/* Feature/Process Cards */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.process-card {
  background: var(--bg-panel); padding: 3rem 2rem; border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft); text-align: center; position: relative;
  border: 1px solid var(--border-subtle); transition: transform 0.3s;
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  /* Handle the 3rd card to span full width to avoid the orphan look */
  .process-grid .process-card:last-child {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .process-card {
    padding: 1.5rem 1rem;
  }
  .process-card h3 {
    font-size: 1.1rem; /* Smaller font to prevent breaking */
  }
}

.step-indicator {
  width: 50px; height: 50px; background: var(--accent-beige); color: var(--primary);
  font-family: 'Space Grotesk', 'Manrope', sans-serif; font-weight: 700; font-size: 1.5rem;
  display: grid; place-items: center; border-radius: 50%; margin: 0 auto 1.5rem;
}
.card-image { height: 180px; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; }
.card-image img { max-height: 100%; width: auto; mix-blend-mode: multiply; }


/* Pricing Cards */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: center; }
.pricing-card {
  background: var(--bg-panel); padding: 3rem; border-radius: var(--radius-large);
  border: 1px solid var(--border-subtle); text-align: center;
}
.pricing-card.featured {
  border: 2px solid var(--primary); box-shadow: var(--shadow-soft);
  transform: scale(1.05); z-index: 2; background: #FFFEFA;
}
.price { font-family: 'Space Grotesk', 'Manrope', sans-serif; font-size: 2.5rem; color: var(--primary); margin: 1.5rem 0 0.5rem; }
.price span { font-size: 1rem; color: var(--text-muted); font-family: 'Manrope', sans-serif; }
.features-list { list-style: none; margin: 2rem 0; text-align: left; }
.features-list li { margin-bottom: 1rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.7rem; }
.features-list li::before { content: '✓'; color: var(--accent-gold); font-weight: bold; }

/* Contact Split */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form-card { background: var(--bg-panel); padding: 3rem; border-radius: var(--radius-large); box-shadow: var(--shadow-soft); }

/* Forms & Inputs */
input, select, textarea {
  width: 100%; 
  padding: 1.2rem; 
  border: 1px solid var(--border-subtle); 
  border-radius: var(--radius-soft);
  margin-bottom: 1.5rem; 
  font-family: inherit; 
  font-size: 1rem;
  background-color: var(--bg-main);
  color: var(--text-dark);
  transition: border-color 0.2s, background-color 0.2s;
}

input:focus, textarea:focus, select:focus { 
  outline: none; 
  border-color: var(--primary); 
  background-color: #fff; 
  box-shadow: 0 0 0 3px rgba(32, 90, 69, 0.1); 
}

/* Custom Dropdown Styling */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23205A45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

/* --- Opdateret Footer Styling --- */
footer { 
    background: var(--text-dark); /* Mørkere, mere eksklusiv baggrund */
    color: rgba(255,255,255,0.7); 
    padding: 5rem 0 3rem; 
    font-size: 0.9rem;
}

footer .brand img { 
    filter: invert(1) brightness(2); /* Gør logoet helt hvidt */
    mix-blend-mode: normal; 
    margin-bottom: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar nav { display: none; }
  .hero-simple, .contact-split { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  h1 { font-size: 2.5rem; }
  .pricing-card.featured { transform: none; }
  p.lead, p.section-lead { margin-left: auto; margin-right: auto;}

  /* Slightly smaller logo on mobile to keep header compact */
  .brand img { height: 56px; width: 74px; }
  
}
/* Badge for Hero */
.badge {
  display: inline-block;
  background-color: rgba(32, 90, 69, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-highlight {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.hero-stats div {
  min-width: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stats div strong {
  display: block;
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  color: var(--primary);
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  line-height: 1;
  white-space: nowrap;
}
.hero-stats div small {
  white-space: nowrap;
}
.hero-stats div small {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-card {
    background: var(--bg-panel);
    padding: 3rem 2rem;
    border-radius: var(--radius-large);
    text-align: center;
    border: 1px solid var(--border-subtle);
}

.comparison-card.medical {
    border: 2px solid var(--primary);
    background: #FFFEFA;
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.stat-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.stat-circle.low { background: #f0f0f0; color: #888; }
.stat-circle.high { background: var(--accent-gold); color: #fff; }

.comparison-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}

.comparison-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.comparison-list li.negative::before { content: '✕'; color: #cc5555; font-weight: bold; }
.comparison-list li.positive::before { content: '✓'; color: var(--primary); font-weight: bold; }

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
    margin-top: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-right: 2rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr; gap: 3rem; }
    .comparison-card.medical { transform: none; }
    .hero-stats { justify-content: space-between; gap: 1rem; }
    .hero-stats div strong { font-size: 1.4rem; }
}
/* --- Footer Layout --- */
.footer-grid {
  display: grid;
  /* 5 kolonner: Første er bredere til kontaktinfo, resten er lige store */
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
  gap: 2rem;
  align-items: start;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.9rem;
}

.footer-links li a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Kontakt detaljer i kolonne 1 */
.contact-details p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.contact-details strong {
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}

/* Bundlinje og Disclaimer */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-legal-text {
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.5;
  max-width: 900px;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Responsiv tilpasning */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr; /* 3 kolonner på tablet */
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 kolonne på mobil */
    text-align: left;
  }
  .footer-copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* --- Artikel Meta & Brødkrummer (Som på billedet) --- */
.article-meta-header {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span { /* Den aktive side */
    color: var(--text-dark);
    font-weight: 600;
}

.meta-info {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

/* Den lille prik mellem dato og læsetid */
.meta-separator {
    font-size: 1.2rem;
    line-height: 0;
    position: relative;
    top: 2px;
}
/* --- High-End Additions --- */

/* Text Gradient for Headings (Gold effect) */
.text-gold-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-gold) 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Premium Card Styling */
.card-premium {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); /* Soft Gold Shadow */
  border-color: var(--accent-gold);
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--accent-gold);
}

/* Elegant Section Divider */
.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* Serif quote style */
.quote-premium {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 3rem auto;
}

@media (max-width: 768px) {
  /* Smaller, more readable headings */
  h1 { font-size: clamp(2rem, 8vw, 2.5rem); margin-bottom: 1rem; }
  h2 { font-size: 1.75rem; margin-bottom: 1rem; }
  h3 { font-size: 1.3rem; }
  
  /* tighter paragraph spacing */
  p.lead, p.section-lead { 
    font-size: 1rem; 
    margin-bottom: 1.5rem; 
  }

  /* Reduce massive whitespace between sections */
  .section { padding: var(--section-padding-mobile) 0; }
  .container { padding: 0 var(--container-padding-mobile); }
}

@media (max-width: 768px) {
  /* Allow header to wrap content */
  .navbar {
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }

  /* Mobile Menu Styles */
  .navbar nav {
    display: none; /* Hidden by default */
    width: 100%;
    order: 3; /* Force to bottom of header */
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
  }

  /* Class to add via JavaScript when hamburger is clicked */
  .navbar nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
  }

  /* Stack links vertically */
  .navbar nav ul {
    flex-direction: column;
    gap: 0;
  }

  .navbar nav ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar nav ul li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  /* Adjust 'Book Samtale' button visibility or position */
  .navbar .button.primary {
    margin-left: auto; /* Push to right */
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MOBILE MENU & HEADER FIXES --- */

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
  margin-left: auto; /* Push to the right */
}

/* Mobile Breakpoint */
@media (max-width: 900px) {
  /* Allow header items to wrap */
  .navbar {
    flex-wrap: wrap;
    padding: 0.8rem 1.5rem;
  }

  /* Show Hamburger */
  .hamburger-menu {
    display: block;
    order: 2; /* Position after logo */
  }

  /* Hide the "Book Samtale" button on mobile header to save space 
     (User can click CTA in Hero section instead) */
  .navbar .button.primary {
    display: none; 
  }

  /* Hide Navigation by default */
  .navbar nav {
    display: none;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
    padding-top: 0.5rem;
    animation: slideDown 0.3s ease-out;
  }

  /* Class to show navigation when active */
  .navbar nav.active {
    display: block;
  }

  /* Stack links vertically */
  .navbar nav ul {
    flex-direction: column;
    gap: 0;
  }

  .navbar nav ul li {
    width: 100%;
  }

  .navbar nav ul li a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 1.1rem;
  }
  
  /* Remove hover underline effect on mobile for cleaner look */
  nav ul li a::after {
    display: none;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subscription Grid Layout - Forces 3 columns or stacks to 1, avoiding the 2-column orphan layout */
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

@media (max-width: 990px) {
  .subscription-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}