/* ============================================
   TRÆN DIN ROBUSTHED - Main Stylesheet
   Modern, clean design with earth tones
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #2c3e50;
  --color-primary-light: #34495e;
  --color-accent: #1a6b4a;
  --color-accent-light: #27ae60;
  --color-warm: #c0956c;
  --color-warm-light: #d4a574;
  --color-sand: #f5f0eb;
  --color-sand-dark: #e8ddd3;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-dark-bg: #1a2332;
  --color-overlay: rgba(26, 35, 50, 0.7);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --nav-bar-height: 42px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  /* Fixed navbar + notch: in-page links (#tilmeld) land below the bar */
  scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px));
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video {
  max-width: 100%;
}

picture {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-warm { color: var(--color-warm); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 1.5rem auto;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-warm {
  background: var(--color-warm);
  color: var(--color-white);
  border-color: var(--color-warm);
}

.btn-warm:hover {
  background: var(--color-warm-light);
  border-color: var(--color-warm-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-dark:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 14px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  backdrop-filter: blur(10px);
}

/* Logo + faner: én snorlig vandret linje — logo låst venstre, menu højre */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.2vw, 16px);
  width: 100%;
  height: var(--nav-bar-height);
  min-height: var(--nav-bar-height);
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: visible;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-shrink: 0;
  height: var(--nav-bar-height);
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  z-index: 2;
  max-width: min(240px, 34vw);
}

.nav-logo img {
  display: block;
  height: var(--nav-bar-height);
  width: var(--nav-bar-height);
  max-height: var(--nav-bar-height);
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 0.85rem + 0.35vw, 1.05rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0;
  align-self: center;
  color: var(--color-white);
  transition: var(--transition);
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar.scrolled .nav-logo-text {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 2px;
  margin: 0 0 0 auto;
  padding: 0;
  flex: 1 1 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: calc(100% - min(220px, 32vw));
  height: var(--nav-bar-height);
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
  padding: 0 8px;
  height: var(--nav-bar-height);
  min-height: var(--nav-bar-height);
  max-height: var(--nav-bar-height);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  box-sizing: border-box;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-accent);
  background: rgba(26, 107, 74, 0.08);
}

.nav-cta {
  padding: 0 14px;
  height: var(--nav-bar-height);
  min-height: var(--nav-bar-height);
  max-height: var(--nav-bar-height);
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
  margin: 0 0 0 2px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

.nav-cta:hover {
  background: var(--color-accent-light) !important;
}

.navbar.scrolled .nav-cta {
  color: var(--color-white) !important;
}

/* Fremhævet selvtest-knap i menuen */
.nav-cta-test {
  padding: 0 14px;
  height: var(--nav-bar-height);
  min-height: var(--nav-bar-height);
  max-height: var(--nav-bar-height);
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.75rem;
  margin: 0 0 0 2px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  box-sizing: border-box;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.nav-cta-test:hover,
.nav-cta-test:focus-visible {
  background: var(--color-primary-light) !important;
  color: var(--color-white) !important;
}

.navbar.scrolled .nav-cta-test {
  color: var(--color-white) !important;
}

/* Desktop: single-row nav (no wrapping), snorlig lodret akse */
@media (min-width: 769px) {
  .navbar .container {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .navbar .container > .nav-logo {
    flex: 0 0 auto;
    flex-shrink: 0;
    z-index: 2;
  }

  .navbar .container > .nav-menu {
    flex: 1 1 0;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    max-width: calc(100% - min(230px, 30vw));
    margin-left: auto;
  }

  .navbar .nav-logo,
  .navbar .nav-menu,
  .navbar .nav-item,
  .navbar .nav-link,
  .navbar .nav-cta,
  .navbar .nav-cta-test {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-link {
    white-space: nowrap;
  }

  .nav-item {
    flex-shrink: 0;
    height: var(--nav-bar-height);
    align-items: center;
  }

  .nav-toggle {
    flex-shrink: 0;
  }
}

/* Dropdown */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 12px 0;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 0.88rem;
  color: var(--color-text);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  background: var(--color-sand);
  color: var(--color-accent);
  padding-left: 28px;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin: 0;
  padding: 4px;
  z-index: 1001;
  flex-shrink: 0;
  align-self: center;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.85) 0%,
    rgba(26, 107, 74, 0.5) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-content .section-label {
  color: var(--color-warm-light);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero .btn-group {
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Page Hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--color-dark-bg);
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero .hero-overlay {
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Natur + Mandegrupper heroes — readable contrast (vaeredygtighed, mandegrupper) */
.page-hero.page-hero--crisp .page-hero-bg img {
  opacity: 1;
  filter: brightness(0.95) contrast(1.05);
}

.page-hero.page-hero--crisp .hero-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.page-hero.page-hero--crisp .container .section-label {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-hero.page-hero--crisp .container h1 {
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-hero.page-hero--crisp .container p {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ---------- Services / Cards Section ---------- */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-sand);
}

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 32px;
  margin-top: 2rem;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover {
  gap: 10px;
  color: var(--color-accent-light);
}

.card-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

/* ---------- About / Split Section ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(26, 107, 74, 0.2);
}

.split-content .section-label {
  margin-bottom: 0.75rem;
}

.split-content h2 {
  margin-bottom: 1.5rem;
}

.split-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.credentials-list {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.credentials-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--color-primary);
  padding: var(--section-padding);
  overflow: hidden;
}

.testimonials-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slider {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-content {
  text-align: center;
  color: var(--color-white);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 20px;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 5rem;
  font-family: var(--font-heading);
  color: var(--color-warm);
  opacity: 0.5;
  position: absolute;
  top: -30px;
  left: -10px;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-warm-light);
}

.testimonial-role {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.testimonial-dot.active {
  background: var(--color-warm);
  transform: scale(1.2);
}

/* ---------- Video References ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 32px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  transform: translateY(-6px);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3e50 0%, #1a6b4a 50%, #c0956c 100%);
  background-size: 200% 200%;
  animation: videoGradientShift 8s ease infinite;
}

@keyframes videoGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.video-wrapper video {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.video-wrapper video.video-ready {
  opacity: 1;
}

.video-wrapper.video-playing video {
  opacity: 1;
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-poster-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-poster-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-poster-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 35, 50, 0.1) 0%,
    rgba(26, 35, 50, 0.25) 60%,
    rgba(26, 35, 50, 0.5) 100%
  );
  transition: background 0.4s ease;
}

.video-card:hover .video-poster-bg {
  transform: scale(1.04);
}

.video-card:hover .video-poster-bg::after {
  background: linear-gradient(
    180deg,
    rgba(26, 35, 50, 0.05) 0%,
    rgba(26, 35, 50, 0.15) 60%,
    rgba(26, 35, 50, 0.4) 100%
  );
}

.video-play-btn {
  position: relative;
  z-index: 3;
  width: 72px;
  height: 72px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.3s ease;
}

.video-play-btn:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
}

.video-play-btn svg {
  width: 100%;
  height: 100%;
}

.video-play-btn .play-ring {
  animation: playPulse 2.5s ease-in-out infinite;
}

@keyframes playPulse {
  0%, 100% {
    r: 28;
    fill-opacity: 0.15;
  }
  50% {
    r: 31;
    fill-opacity: 0.08;
  }
}

.video-card-body {
  padding: 22px 24px;
}

.video-card-body h4 {
  margin-bottom: 4px;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.video-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ---------- Features / Icons List ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.1);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-item h4 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.pricing-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-card ul {
  margin: 1.5rem 0;
}

.pricing-card li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-sand);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card li svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  color: var(--color-white);
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-warm-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item a {
  color: rgba(255,255,255,0.9);
  word-break: break-all;
}

.contact-info-item a:hover {
  color: var(--color-warm-light);
}

.contact-form {
  padding: 40px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-sand-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--color-sand);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit-btn {
  position: relative;
  gap: 8px;
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-accent);
}

.form-success-icon svg {
  width: 100%;
  height: 100%;
}

.form-success h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.form-success-animate {
  animation: formFadeIn 0.5s ease forwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-error {
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #991b1b;
  font-size: 0.9rem;
}

.form-error a {
  color: #991b1b;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark-bg);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr minmax(200px, 1.2fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand p::after {
  content: "Diskretion er fundamentet: Som på broen af et skib – hvad der sker i maskinrummet, bliver i maskinrummet.";
  display: block;
  margin-top: 0.75rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-warm-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  min-width: 0;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-warm);
  flex-shrink: 0;
}

.footer-contact-item a {
  word-break: break-all;
}

/* Keep practice email on one line (overrides break-all from long URLs elsewhere) */
a[href^="mailto:indrestyrke@robusthed-mlc.dk"] {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.footer-contact-item a:hover {
  color: var(--color-warm-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom .footer-signature {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Accordion ---------- */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--color-primary);
}

.accordion-header:hover {
  background: var(--color-sand);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: var(--color-accent);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-body-inner {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---------- Image Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.2);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ---------- Program / Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-sand-dark);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 4px solid var(--color-sand);
}

.timeline-item h4 {
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- Exercises Grid ---------- */
.exercise-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--color-accent);
}

.exercise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.exercise-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.exercise-card h4 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.exercise-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.exercise-source {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ---------- Scroll Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }

/* Frontpage intro video: keep media visible during scroll (fade-in must not hide video) */
#intro.fade-in-up,
#intro.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

#intro .intro-velkommen,
#intro .intro-velkommen__media-wrap,
#intro .intro-velkommen__video {
  opacity: 1;
  visibility: visible;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  will-change: transform, opacity !important;
}

/* ---------- Premium CTA Micro-interactions ---------- */
.btn-soft-pulse {
  animation: calmPulse 3.8s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.btn-soft-pulse:hover,
.btn-soft-pulse:focus-visible {
  animation-play-state: paused;
}

@keyframes calmPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(26, 107, 74, 0);
  }
  45% {
    transform: scale(1.015);
    box-shadow: 0 0 0 10px rgba(26, 107, 74, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .fade-in-up {
    transition: none;
    transform: none;
  }

  .btn-soft-pulse {
    animation: none;
  }
}

/* ---------- Cookie / Misc ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-dark-bg);
  color: var(--color-white);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-inner p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Homepage guide promo + Guide landing (guide.html) ---------- */
.guide-promo-home {
  padding: clamp(2.25rem, 6vw, 3.25rem) 0;
  background: linear-gradient(135deg, #e3f0f5 0%, #d0e4ed 50%, #c5dce8 100%);
  overflow-x: hidden;
}

.guide-promo-home .section-title {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  font-size: clamp(1.2rem, 3.5vw, 1.85rem);
  line-height: 1.35;
  overflow-wrap: break-word;
  hyphens: auto;
}

.navigator-triage {
  background: var(--color-white);
  padding: 80px 0 72px;
}

.navigator-triage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.navigator-cta-box {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 22px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.navigator-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
}

.navigator-cta-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.navigator-cta-box > * {
  position: relative;
  z-index: 2;
}

.navigator-cta-box--change::before {
  background-image: url("../billeder/baad2scaled.jpg");
  background-position: center 38%;
}

.navigator-cta-box--leader::before {
  background-image: url("../billeder/martinhusbaad.jpg");
  background-position: center 28%;
}

.navigator-cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.navigator-cta-box p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.navigator-cta-box .navigator-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.navigator-cta-box .btn {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-primary);
  border-color: rgba(255, 255, 255, 0.94);
}

.navigator-cta-box .btn:hover {
  background: var(--color-white);
  border-color: var(--color-white);
}

.trust-bar {
  padding: 22px 0;
  border-top: 1px solid rgba(44, 62, 80, 0.1);
  border-bottom: 1px solid rgba(44, 62, 80, 0.1);
  background: #fbf9f6;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.trust-bar-divider {
  color: rgba(44, 62, 80, 0.4);
}

.case-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: stretch;
  margin-top: 2.5rem;
}

.case-spotlight-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.case-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.case-spotlight-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-warm);
  padding: 28px;
}

.term-highlight {
  font-weight: 700;
  color: var(--color-primary);
}

.guide-hero .hero-content {
  max-width: 920px;
}

.guide-hero .hero-content h1 {
  font-size: clamp(1.65rem, 4.5vw, 3.15rem);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.guide-hero .hero-content p {
  overflow-wrap: break-word;
}

.guide-offer {
  padding: var(--section-padding);
  background: var(--color-white);
  overflow-x: hidden;
}

.guide-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 48px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.guide-offer-copy .section-subtitle {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
  overflow-wrap: break-word;
}

.guide-offer-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

.guide-offer-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: min(42vw, 320px);
  object-fit: cover;
  display: block;
}

.guide-value-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.guide-value-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.guide-value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.guide-value-list strong {
  color: var(--color-primary);
  font-weight: 600;
}

.guide-form-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #e8f2f6 0%, var(--color-sand) 100%);
  overflow-x: hidden;
}

.guide-form-intro {
  max-width: 560px;
  margin: 0 auto 2rem;
}

.guide-form-intro .section-subtitle {
  margin-bottom: 0;
}

.guide-form-wrap {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.guide-form-wrap .contact-form {
  margin-top: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.guide-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-lead-capture {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  padding: 16px 28px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  background: #156b8c;
  color: var(--color-white);
  border: 2px solid #156b8c;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.btn-lead-capture:hover {
  background: #0f546f;
  border-color: #0f546f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.lead-form-compliance {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-top: 1rem;
  text-align: center;
  overflow-wrap: break-word;
}

/* Guide signup: 16px+ inputs on all viewports (iOS avoids focus zoom); touch-friendly fields */
.guide-form-wrap .lead-capture-form .form-group:not(.guide-honeypot) label {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.guide-form-wrap .lead-capture-form .form-group:not(.guide-honeypot) input {
  font-size: 1rem;
  min-height: 48px;
  padding: 14px 18px;
}

.guide-form-feedback {
  scroll-margin-top: calc(96px + env(safe-area-inset-top, 0px));
  margin-bottom: 0.25rem;
}

.guide-form-alert--success {
  text-align: center;
  padding: 1.25rem 1.25rem;
  margin-bottom: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(26, 107, 74, 0.08);
}

.guide-form-alert__title {
  margin: 0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}

.guide-form-alert__text {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-text-light);
}

.guide-form-feedback .guide-form-alert--error {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.45;
  padding: 1rem 1.25rem;
}

/* ---------- Cases & Privacy Pages ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2.25rem;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  border-top: 4px solid var(--color-accent);
}

.case-card h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.case-card p {
  margin-bottom: 0.9rem;
  color: var(--color-text);
}

.case-card p strong {
  color: var(--color-primary);
}

.case-cta {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.case-cta a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

.policy-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 40px;
}

.policy-card h2 {
  font-size: 1.55rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-lead {
  font-size: 1.04rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.policy-list {
  list-style: disc;
  margin: 0.75rem 0 0 1.2rem;
}

.policy-list li {
  margin-bottom: 0.5rem;
}

.policy-updated {
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 2rem;
}

.journal-entry {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 28px;
  border-left: 4px solid var(--color-warm);
}

.journal-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.journal-entry h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.journal-entry p {
  margin-bottom: 0.95rem;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.35rem;
  color: var(--color-accent);
  font-weight: 600;
}

.journal-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .navigator-triage-grid {
    grid-template-columns: 1fr;
  }

  .case-spotlight {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guide-offer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .guide-offer-image {
    order: -1;
  }

  .guide-offer-image img {
    min-height: min(50vw, 280px);
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-card {
    padding: 24px 22px;
  }

  .case-card h3 {
    font-size: 1.25rem;
  }

  .policy-card {
    padding: 34px 28px;
  }

  .policy-card h2 {
    font-size: 1.35rem;
  }

  .journal-entry {
    padding: 24px 22px;
  }

  .journal-entry h3 {
    font-size: 1.22rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .guide-offer-grid {
    gap: 36px;
  }

  .guide-promo-home .section-title {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  }
}

/* ---------- Responsive ---------- */

/* -- Tablet landscape & small desktop (1024px) -- */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-image {
    max-width: 520px;
    margin: 0 auto;
  }

  .split-image img {
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  a[href^="mailto:indrestyrke@robusthed-mlc.dk"] {
    font-size: clamp(0.8rem, 1.35vw + 0.35rem, 0.9rem);
    letter-spacing: -0.015em;
  }

  .credentials-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .contact-form {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .nav-link {
    padding: 0 5px;
    font-size: 0.78rem;
  }

  .nav-cta,
  .nav-cta-test {
    padding: 0 10px;
    font-size: 0.7rem;
    margin-left: 2px;
  }

  .nav-menu {
    gap: 1px;
    max-width: calc(100% - min(200px, 36vw));
  }

  .nav-logo {
    max-width: min(200px, 36vw);
    gap: 8px;
  }

  .nav-logo-text {
    font-size: clamp(0.82rem, 0.78rem + 0.35vw, 0.95rem);
  }
}

/* Mellemstor desktop: kompakt menu så intet overlapper logo */
@media (min-width: 769px) and (max-width: 1400px) {
  .nav-link {
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .nav-cta,
  .nav-cta-test {
    padding: 0 11px;
    font-size: 0.7rem;
  }

  .nav-menu {
    gap: 1px;
    max-width: calc(100% - min(210px, 32vw));
  }

  .nav-logo {
    max-width: min(210px, 32vw);
  }
}

/* Mid desktop: extra compaction so the bar stays one row */
@media (min-width: 1025px) and (max-width: 1320px) {
  .nav-link {
    padding: 0 6px;
    font-size: 0.78rem;
  }

  .nav-cta,
  .nav-cta-test {
    padding: 0 10px;
    font-size: 0.68rem;
  }

  .nav-menu {
    gap: 1px;
  }

  .nav-logo-text {
    font-size: clamp(0.85rem, 0.8rem + 0.3vw, 0.98rem);
  }
}

/* -- Tablet portrait (768px) -- */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  /* Navigation */
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-bar-height);
    min-height: var(--nav-bar-height);
  }

  .nav-toggle {
    display: flex;
    height: var(--nav-bar-height);
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    gap: 2px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: 0;
    flex: none;
    justify-content: flex-start;
  }

  .nav-logo {
    max-width: none;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    height: auto;
    width: 100%;
  }

  .nav-link {
    color: var(--color-text);
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.4;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--color-sand);
    color: var(--color-accent);
  }

  .nav-item .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    background: var(--color-sand);
    border-radius: var(--radius-sm);
    margin-top: 4px;
    margin-bottom: 4px;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 8px 0;
  }

  .nav-item.mobile-open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 10px 20px;
  }

  .nav-cta,
  .nav-cta-test {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    height: auto;
    min-height: 48px;
    max-height: none;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-scroll {
    bottom: 20px;
  }

  /* Page hero */
  .page-hero {
    padding: 140px 0 60px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* Typography */
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.15rem, 4vw, 1.5rem); }
  h4 { font-size: 1.05rem; }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .card-image {
    height: 200px;
  }

  .card-body {
    padding: 22px;
  }

  /* Split sections */
  .split-section {
    gap: 32px;
  }

  .split-image {
    max-width: 100%;
  }

  .split-image img {
    aspect-ratio: 16/10;
    border-radius: var(--radius-md);
  }

  .split-content {
    text-align: left;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .feature-item {
    padding: 24px 16px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Testimonials */
  .testimonial-quote {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .testimonial-quote::before {
    font-size: 3.5rem;
    top: -20px;
    left: -5px;
  }

  /* Video */
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .video-card-body {
    padding: 18px 20px;
  }

  .video-play-btn {
    width: 60px;
    height: 60px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Timeline */
  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    padding-left: 56px;
    margin-bottom: 32px;
  }

  .timeline-dot {
    left: 14px;
    width: 20px;
    height: 20px;
  }

  /* Pricing */
  .pricing-card {
    padding: 28px 24px;
  }

  /* Accordion */
  .accordion-header {
    padding: 16px 20px;
    font-size: 0.95rem;
  }

  .accordion-body-inner {
    padding: 0 20px 16px;
    font-size: 0.95rem;
  }

  /* Contact */
  .contact-info {
    padding: 32px 24px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  a[href^="mailto:indrestyrke@robusthed-mlc.dk"] {
    font-size: clamp(0.78rem, 2.9vw, 0.9rem);
    letter-spacing: -0.02em;
  }

  /* Buttons — comfortable thumb targets (approx. 48×48 CSS px) */
  .btn {
    padding: 13px 28px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.4;
    min-height: 48px;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lead-capture {
    min-height: 52px;
    padding: 18px 28px;
    font-size: 1.05rem;
  }

  .guide-form-section {
    padding: clamp(48px, 10vw, 80px) 0 clamp(64px, 12vw, 100px);
  }

  .guide-form-wrap .lead-capture-form .form-group:not(.guide-honeypot) label {
    font-size: 1rem;
  }

  .guide-form-alert__title {
    font-size: 1.08rem;
  }

  /* 16px+ on inputs avoids iOS zoom on focus */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="number"],
  .form-group input[type="url"] {
    min-height: 48px;
    font-size: 16px;
  }

  .form-group textarea {
    font-size: 16px;
    min-height: 140px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .cta-banner p {
    font-size: 1rem;
  }

  /* Cookie */
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Exercises */
  .exercise-card {
    padding: 24px 20px;
  }

  /* Divider */
  .divider {
    margin: 1rem auto;
  }
}

/* -- Small phone (480px) -- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: 90px 12px 50px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .page-hero {
    padding: 120px 0 48px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .card-image {
    height: 180px;
  }

  .card-body {
    padding: 20px;
  }

  .card-body h3 {
    font-size: 1.15rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item {
    padding: 20px 16px;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .feature-icon {
    margin: 0;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .feature-icon svg {
    width: 22px;
    height: 22px;
  }

  .feature-item h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-item {
    aspect-ratio: 16/10;
  }

  .testimonial-quote {
    font-size: 1rem;
    line-height: 1.7;
  }

  .testimonials-section {
    padding: 60px 0;
  }

  .video-card-body h4 {
    font-size: 1rem;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 48px;
    margin-bottom: 28px;
  }

  .timeline-dot {
    left: 8px;
    width: 18px;
    height: 18px;
    border-width: 3px;
  }

  .timeline-item h4 {
    font-size: 1rem;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-card .price {
    font-size: 1.7rem;
  }

  .accordion-header {
    padding: 14px 16px;
    font-size: 0.9rem;
    gap: 8px;
  }

  .accordion-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .accordion-body-inner {
    padding: 0 16px 14px;
    font-size: 0.9rem;
  }

  .contact-info {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .contact-info h3 {
    font-size: 1.2rem;
  }

  .contact-info-item {
    gap: 12px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer h4 {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
    min-height: 48px;
  }

  .btn-lead-capture {
    min-height: 52px;
    padding: 16px 22px;
    font-size: 1rem;
  }

  .cta-banner {
    padding: 48px 0;
  }

  .exercise-card {
    padding: 20px 16px;
  }

  .exercise-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .exercise-card h4 {
    font-size: 1rem;
  }

  .exercise-card p {
    font-size: 0.9rem;
  }

  .nav-menu {
    width: 100%;
  }

  :root {
    --nav-bar-height: 36px;
  }

  .navbar .container {
    height: var(--nav-bar-height);
    min-height: var(--nav-bar-height);
  }

  .nav-logo {
    height: var(--nav-bar-height);
  }

  .nav-logo img {
    height: var(--nav-bar-height);
    width: var(--nav-bar-height);
  }

  .nav-logo-text {
    font-size: 0.95rem;
  }

  .case-card {
    padding: 20px 16px;
  }

  .case-card h3 {
    font-size: 1.12rem;
  }

  .policy-card {
    padding: 26px 16px;
  }

  .policy-card h2 {
    font-size: 1.2rem;
  }

  .journal-entry {
    padding: 20px 16px;
  }

  .journal-entry h3 {
    font-size: 1.1rem;
  }

  .lightbox img {
    max-width: 95vw;
    max-height: 80vh;
    border-radius: 4px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

/* -- Touch device hover fix -- */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .card:hover .card-image img {
    transform: none;
  }

  .feature-item:hover .feature-icon {
    background: var(--color-sand);
    color: var(--color-accent);
    transform: none;
  }

  .btn-primary:hover,
  .btn-warm:hover,
  .btn-dark:hover,
  .btn-lead-capture:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item:hover::after {
    background: rgba(0,0,0,0);
  }
}

/* -- Safe area for notched phones -- */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .cookie-banner {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .nav-menu {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .cookie-banner, .footer { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  body { color: #000; }
}
