/*
  Flexum – redesign-forsøg ("radikal", professionel/corporate stil)
  Selvstændigt design-system. Ingen afhængighed af Elementor/WordPress-CSS.
*/

/* ---------- Design tokens ---------- */
:root {
  /* Farver */
  --color-navy: #1D3557;
  --color-navy-dark: #142338;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F6F8FA;
  --color-bg-dark: #101B2D;
  --color-text: #10151A;
  --color-text-muted: #4B5563;
  --color-text-on-dark: #F3F6FA;
  --color-text-on-dark-muted: #AEB9C9;
  --color-border: #E2E8F0;
  --color-accent: #2563EB;
  --color-accent-dark: #1D4ED8;
  --color-star: #F59E0B;
  --color-header-bg: rgba(255, 255, 255, 0.92);
  --color-chip-bg: rgba(37, 99, 235, 0.08);
  --color-icon-chip-bg: rgba(37, 99, 235, 0.12);
  --color-outline-border: var(--color-navy);
  --color-outline-text: var(--color-navy);

  /* Typografi – Manrope designsystem */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-h1: clamp(2.5rem, 5vw, 3.625rem);
  --text-h2: clamp(1.9375rem, 3vw, 2.5rem);
  --text-h3: clamp(1.4375rem, 2vw, 1.875rem);
  --text-lead: clamp(1.125rem, 1.5vw, 1.25rem);
  --text-body: clamp(1.0625rem, 1vw, 1.125rem);
  --text-nav: clamp(0.9375rem, 1vw, 1rem);
  --text-btn: clamp(0.9375rem, 1vw, 1rem);
  --text-small: 0.875rem;
  --line-h1: 1.08;
  --line-h2: 1.15;
  --line-h3: 1.25;
  --line-lead: 1.55;
  --line-body: 1.6;
  --line-nav: 1.2;
  --line-btn: 1;
  --weight-heading: 600;
  --weight-body: 400;
  --weight-nav: 500;
  --weight-btn: 600;
  --heading-tracking: -0.025em;
  --prose-max-width: 700px;

  /* Spacing-skala (px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Andet */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 26, 0.06), 0 1px 3px rgba(16, 21, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 21, 26, 0.08);
  --container-width: 1160px;
}

/* ---------- Mørk tilstand: samme tokens, mørke værdier ---------- */
html[data-theme="dark"] {
  --color-bg: #0B1220;
  --color-bg-alt: #121B2C;
  --color-text: #EAF0F8;
  --color-text-muted: #9BAAC2;
  --color-border: #253046;
  --color-accent: #3B82F6;
  --color-accent-dark: #60A5FA;
  --color-header-bg: rgba(11, 18, 32, 0.85);
  --color-chip-bg: rgba(59, 130, 246, 0.16);
  --color-icon-chip-bg: rgba(59, 130, 246, 0.2);
  --color-outline-border: #6B87AD;
  --color-outline-text: var(--color-text);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Overgang mellem tema-skift gøres blød i stedet for et hårdt "hop" */
body,
.site-header,
.service-card,
.testimonial-card,
.faq-item,
.hero-image,
.feature-image,
.theme-toggle {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ---------- Reset / basics ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--line-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

h1, h2, h3 {
  margin: 0;
  font-weight: var(--weight-heading);
  letter-spacing: var(--heading-tracking);
  color: var(--color-text);
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--line-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--line-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--line-h3);
}

p {
  margin: 0;
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--line-body);
  color: var(--color-text-muted);
}

.lead,
.hero-copy p.lead,
.section-heading p {
  font-size: var(--text-lead);
  font-weight: var(--weight-body);
  line-height: var(--line-lead);
  color: var(--color-text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: var(--weight-nav);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: var(--color-chip-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.section-heading {
  max-width: var(--prose-max-width);
  margin: 0 auto var(--space-7);
  text-align: center;
}

.section-heading p {
  margin-top: var(--space-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: inherit;
  font-size: var(--text-btn);
  font-weight: var(--weight-btn);
  line-height: var(--line-btn);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

/* Knapper inde i .prose skal IKKE arve den blå link-farve (ellers bliver
   teksten mørkeblå på blå knap = for lav kontrast). */
.prose a.btn,
.prose a.btn-primary {
  color: #fff;
  border-bottom: 2px solid var(--color-accent);
}

.prose a.btn-primary:hover {
  color: #fff;
  border-bottom-color: var(--color-accent-dark);
}

.prose a.btn-outline {
  color: var(--color-outline-text);
  border-bottom: 2px solid var(--color-outline-border);
}

.prose a.btn-outline:hover {
  color: #fff;
  border-bottom-color: var(--color-outline-border);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-outline-border);
  color: var(--color-outline-text);
}

.btn-outline:hover {
  background: var(--color-outline-border);
  color: #fff;
}

.btn-on-dark {
  background: #fff;
  border-color: #fff;
  color: var(--color-navy-dark);
}

.btn-on-dark:hover {
  background: var(--color-text-on-dark);
  border-color: var(--color-text-on-dark);
}

.text-link {
  font-weight: 600;
  color: var(--color-accent-dark);
  border-bottom: 2px solid transparent;
}

.text-link:hover {
  border-bottom-color: currentColor;
}

/* ---------- Test-banner ---------- */
.test-banner {
  background: var(--color-navy-dark);
  color: var(--color-text-on-dark);
  text-align: center;
  font-size: 0.8rem;
  padding: var(--space-2) var(--space-4);
}

.test-banner strong {
  color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header-bg);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  position: relative;
}

.site-header .logo {
  justify-self: start;
}

.site-header .logo img {
  height: 34px;
  width: auto;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: nowrap;
}

.main-nav a {
  font-size: var(--text-nav);
  font-weight: var(--weight-nav);
  line-height: var(--line-nav);
  color: var(--color-text);
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--color-accent-dark);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.lang-switch {
  display: flex;
  gap: var(--space-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.lang-switch a.active {
  color: var(--color-text);
}

.lang-switch--mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  font-size: 0.9rem;
  cursor: pointer;
}

/* ---------- Lys/mørk-toggle ---------- */
.theme-toggle {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.theme-toggle .icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--space-9) 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-copy p.lead {
  margin-top: var(--space-4);
}

.hero-benefits {
  margin: var(--space-6) 0;
  display: grid;
  gap: var(--space-3);
}

.hero-benefits li:not(.hero-benefits__item) {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.98rem;
  color: var(--color-text);
}

.hero-benefits .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-icon-chip-bg);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

html[data-theme="dark"] .hero-image,
html[data-theme="dark"] .feature-image {
  border-color: var(--color-border);
}

/* ---------- Services ---------- */
.services {
  padding: var(--space-9) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-icon-chip-bg);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.service-card p {
  flex: 1;
}

/* ---------- Social proof / logos ---------- */
.proof {
  padding: var(--space-8) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.proof .section-heading {
  margin-bottom: var(--space-6);
}

.proof-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-4);
}

.logo-row img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.logo-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Feature split (address section) ---------- */
.feature-split {
  padding: var(--space-9) 0;
}

.feature-split .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}

.feature-split.reverse .container {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-split.reverse .feature-image {
  order: 2;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

.feature-list {
  margin: var(--space-5) 0 var(--space-6);
  display: grid;
  gap: var(--space-3);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text);
}

.feature-list .check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-icon-chip-bg);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ---------- Om os: hero + mission/vision/værdier ---------- */
.about-hero {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  padding: var(--space-9) 0;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-hero h1 {
  color: #fff;
  margin-bottom: var(--space-4);
}

.about-hero__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
}

.about-hero__content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.about-hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-hero__media img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.about-mvv {
  padding: var(--space-9) 0;
}

.mvv-tabs-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.mvv-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-7);
}

.mvv-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  transition: background 0.15s ease, color 0.15s ease;
}

.mvv-tab:hover {
  background: var(--color-bg-alt);
}

.mvv-tab.is-active {
  background: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.mvv-tab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mvv-tab__label {
  font-size: 0.95rem;
}

.mvv-panel {
  display: none;
}

.mvv-panel.is-active {
  display: block;
}

.mvv-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.mvv-panel__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mvv-panel__media img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.mvv-panel__content h2 {
  color: var(--color-accent);
  font-size: 1.35rem;
  margin: 0 0 var(--space-4);
}

.mvv-panel__intro {
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.mvv-points {
  display: grid;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mvv-points li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.mvv-points .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 2px;
}

.mvv-points h3 {
  margin: 0 0 var(--space-1);
  font-size: 1rem;
  color: var(--color-accent);
}

.mvv-points p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stars {
  color: var(--color-star);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.testimonial-author strong {
  color: var(--color-text);
}

.testimonial-author span {
  color: var(--color-text-muted);
}

/* ---------- Location ---------- */
.location {
  padding: var(--space-8) 0;
}

.location .container {
  max-width: 760px;
  text-align: center;
}

/* ---------- FAQ (forside + generel accordion) ---------- */
.faq {
  padding: var(--space-9) 0;
  background: var(--color-bg-alt);
}

.faq .faq-list {
  max-width: 760px;
  margin: 0 auto;
}

/* Accordion card styling + animation: see "FAQ / accordion" block below */

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark-muted);
  padding: var(--space-8) 0 var(--space-5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
}

.footer-grid h3 {
  color: var(--color-text-on-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}

.footer-brand img {
  height: 30px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--color-text-on-dark-muted);
  font-size: 0.9rem;
}

.footer-grid ul {
  display: grid;
  gap: var(--space-3);
}

.footer-grid a {
  font-size: 0.92rem;
  color: var(--color-text-on-dark-muted);
}

.footer-grid a:hover {
  color: #fff;
}

.footer-portal-actions {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  max-width: 240px;
}

.footer-external-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-external-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  transform: translateY(-1px);
}

.footer-external-btn svg {
  flex: none;
  opacity: 0.95;
}

.footer-bottom {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.82rem;
}

.footer-legal {
  margin-top: var(--space-4);
  text-align: center;
  font-size: 0.82rem;
}

.footer-legal a {
  color: var(--color-text-on-dark-muted);
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- Breadcrumb (artikler / kerne-sider) ---------- */
.breadcrumb-bar {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent-dark);
}

.breadcrumb .sep {
  color: var(--color-border);
}

.breadcrumb .current {
  color: var(--color-text);
  font-weight: 600;
}

/* ---------- Simpel side-hero (artikler, kerne-/hj\u00e6lpesider) ---------- */
.page-hero {
  padding: var(--space-8) 0 var(--space-7);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  text-align: center;
}

.page-hero .container {
  max-width: var(--container-width);
}

.page-hero h1 {
  margin-top: var(--space-3);
}

.page-hero .hero-cta-row {
  justify-content: center;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.page-hero-image {
  margin-top: var(--space-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
}

html[data-theme="dark"] .page-hero-image {
  border-color: var(--color-border);
}

/* ---------- Conversion hero (VK + VO sales pages) ---------- */
.page-hero--conversion {
  padding-bottom: var(--space-6);
}

.page-hero--conversion .sales-hero-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-price {
  margin: var(--space-4) 0 var(--space-3);
  font-size: 1.05rem;
}

.hero-price__amount {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  line-height: 1.2;
}

.hero-price__note {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-price-line {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin: var(--space-2) 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-5);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.hero-trust--compact {
  margin-top: var(--space-4);
}

.hero-trust__stars {
  color: #f5a623;
  letter-spacing: 0.05em;
}

.hero-trust__sep {
  opacity: 0.5;
}

.hero-trust__rating,
.hero-trust__customers {
  font-weight: 600;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: grid;
  gap: var(--space-4);
  text-align: left;
}

.hero-benefits__item {
  display: block;
  text-align: left;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}

.hero-benefits__item h3,
.hero-benefits__item strong {
  display: block;
  margin: 0 0 var(--space-3);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
}

.hero-benefits__item p,
.hero-benefits__item span {
  display: block;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.trust-strip {
  text-align: center;
}

.trust-strip__meta {
  margin-bottom: var(--space-5);
}

.trust-strip__rating {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.trust-strip__customers {
  margin: 0;
  color: var(--color-text-muted);
}

.trust-strip__link {
  margin-top: var(--space-5);
}

.testimonial-grid--compact {
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .testimonial-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .testimonial-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section-heading-only {
  text-align: center;
  margin-bottom: var(--space-5);
}

/* ---------- Contact page (/kontakt/, /en/contact/) ---------- */
.contact-page .prose {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.contact-intro {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto var(--space-4);
}

.contact-intro h2 {
  text-align: center;
}

.contact-hours {
  width: 100%;
  margin: 0 0 var(--space-6);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
}

.contact-cards {
  margin: var(--space-6) 0;
}

.contact-card {
  text-align: center;
}

.contact-card h3 {
  font-size: 1rem;
}

.contact-card p a {
  font-weight: 600;
  color: var(--color-accent-dark);
}

.contact-image {
  margin: var(--space-7) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-image img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-body {
  max-width: var(--prose-max-width);
  margin-left: auto;
  margin-right: auto;
}

.contact-body h2 {
  margin-top: var(--space-8);
}

.contact-topics {
  margin: var(--space-4) 0 var(--space-6);
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.contact-topics li {
  margin-bottom: var(--space-2);
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.final-cta {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.sticky-bottom-cta {
  display: none;
}

.page-vk .sticky-bottom-cta .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 760px) {
  .page-vk {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .page-vk .sticky-bottom-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    background: var(--color-header-bg);
    backdrop-filter: saturate(180%) blur(8px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(16, 21, 26, 0.08);
  }
}

.final-cta__inner {
  text-align: center;
  max-width: var(--prose-max-width);
  margin: 0 auto;
}

.final-cta__inner h2 {
  margin-bottom: var(--space-4);
}

.final-cta .hero-cta-row {
  justify-content: center;
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  gap: var(--space-6);
}

.final-cta__inner > p:not(.final-cta__secondary) {
  margin-bottom: var(--space-5);
}

.final-cta__trust,
.final-cta__secondary {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.definition-box,
.vo-details {
  margin-top: var(--space-6);
  text-align: left;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: var(--color-bg-alt);
}

.definition-box h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-heading);
}

.definition-box p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.definition-box p + p {
  margin-top: var(--space-3);
}

@media (min-width: 768px) {
  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Artikel-/tekstindhold (fuld sidebredde) ---------- */
.article-body {
  padding: var(--space-8) 0 var(--space-9);
  text-align: center;
}

.article-body .container {
  max-width: var(--container-width);
}

/* Wide layout: listings, legal pages, charity (same width as Virtuelt Kontor) */
.page-hero--wide .container,
.article-body--wide .container {
  max-width: var(--container-width);
}

.services .prose--wide {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.services .prose--wide.article-listing-intro {
  margin-bottom: var(--space-6);
}

.services .prose--wide.article-listing-footer {
  margin-top: var(--space-8);
}

.article-body .hero-cta-row {
  justify-content: center;
}

.prose .hero-cta-row {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.prose h2 + .hero-cta-row {
  margin-top: var(--space-6);
}

.article-body .feature-list {
  display: inline-grid;
  text-align: left;
}

.article-body .faq-list,
.article-body .faq-item {
  text-align: left;
}

.article-body .faq-item summary {
  text-align: left;
}

.prose h2 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-h2);
  line-height: var(--line-h2);
  font-weight: var(--weight-heading);
  letter-spacing: var(--heading-tracking);
}

.prose h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-h3);
  line-height: var(--line-h3);
  font-weight: var(--weight-heading);
  letter-spacing: var(--heading-tracking);
}

.prose h4 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: 1.05rem;
}

.prose p {
  margin-bottom: var(--space-5);
  color: var(--color-text);
  font-size: var(--text-body);
  line-height: var(--line-body);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.4em;
  color: var(--color-text);
  line-height: 1.75;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: var(--space-2);
}

.prose a {
  color: var(--color-accent-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--color-chip-bg);
}

.prose a:hover {
  border-bottom-color: currentColor;
}

.prose strong {
  color: var(--color-text);
}

.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--color-text);
  font-style: italic;
}

.prose img {
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--color-border);
  padding: var(--space-3);
  text-align: left;
}

.prose th {
  background: var(--color-bg-alt);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-7) 0;
}

/* ---------- Relaterede artikler / oversigtskort ---------- */
.related-articles {
  padding: var(--space-8) 0 var(--space-9);
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.related-articles .section-heading {
  max-width: none;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.post-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.post-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.post-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-dark);
}

.post-card-body h3 {
  font-size: 1.05rem;
}

.post-card-body p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  flex: 1;
}

/* ---------- Artikel-filter og søgning ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-toolbar {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
}

.article-search-wrap {
  display: block;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.article-search {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: 0.95rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 14px center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.article-search:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.article-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.article-filter {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.article-filter:hover {
  border-color: var(--color-accent);
}

.article-filter.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.article-empty {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
}

[data-article-data] {
  display: none;
}

.article-load-sentinel {
  height: 1px;
  margin-top: var(--space-4);
}

/* ---------- Paginering (artikeloversigt) ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.pagination a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.pagination .current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ---------- Simple hero image (marketing/core pages) ---------- */
.page-hero-image {
  margin-top: var(--space-6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-hero-meta {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Info-cards (kerne-/salgssider: fordele, trin, kort-info) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-6) auto;
  text-align: center;
}

.info-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.info-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Én enkelt boks i et grid må ikke hænge til venstre – centrér den */
.info-grid:has(> .info-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.info-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-icon-chip-bg);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-bottom: var(--space-1);
  flex-shrink: 0;
}

.info-card .eyebrow {
  margin-bottom: var(--space-2);
}

.info-card h3,
.info-card h4 {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Målgruppe-bokse (fx "ideelt for") – kort med kun titel */
.audience-grid .info-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88px;
}

.audience-grid .info-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

/* ---------- Pricing table (Virtuelt Kontor) ---------- */
.pricing-block {
  text-align: center;
  margin: var(--space-6) auto 0;
  width: min(1100px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.pricing-freq-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.pricing-freq {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin-bottom: var(--space-7);
}

.pricing-freq-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pricing-freq-btn:hover {
  color: var(--color-text);
}

.pricing-freq-btn.is-active {
  background: var(--color-accent);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
  text-align: left;
}

.pricing-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-subtitle {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section-note {
  text-align: center;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
}

.check-list {
  list-style: none;
  margin: var(--space-4) auto;
  padding: 0;
  max-width: 520px;
  display: grid;
  gap: var(--space-3);
  text-align: left;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* Company formation: "Det skal du vide" info box */
.cf-know-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5);
  background: #eef4fb;
  border: 1px solid #d6e4f5;
  border-radius: var(--radius-lg);
  text-align: left;
}

[data-theme="dark"] .cf-know-box {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(147, 197, 253, 0.22);
}

.cf-know-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e11d48;
  color: #fff;
  flex: none;
}

.cf-know-box__icon svg {
  width: 22px;
  height: 22px;
}

.cf-know-box__content {
  min-width: 0;
}

.cf-know-box__title {
  margin: 0 0 var(--space-3);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--color-text);
}

.cf-know-box__intro {
  margin: 0 0 var(--space-3);
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.cf-know-box__list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.cf-know-box__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cf-know-box__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d48;
  transform: translateY(-50%);
}

.cf-know-box__outro {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .cf-know-box {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .cf-know-box__list li {
    text-align: left;
  }
}

/* Company formation: partner banner */
.cf-partner-banner {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-5);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  text-align: center;
}

[data-theme="dark"] .cf-partner-banner {
  background: var(--color-surface);
  box-shadow: none;
}

.cf-partner-banner__label {
  margin: 0 0 var(--space-5);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cf-partner-banner__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-5) var(--space-6);
}

.cf-partner-banner__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 42vw);
  height: 52px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cf-partner-banner__logo:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.cf-partner-banner__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .cf-partner-banner__logos {
    flex-direction: column;
    gap: var(--space-4);
  }

  .cf-partner-banner__logo {
    width: min(320px, 88vw);
  }
}

/* Lokaler: renoverings-besked med kran-ikon */
.renovation-notice {
  max-width: 640px;
  margin: var(--space-6) auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.renovation-notice__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.renovation-notice__icon img {
  width: 192px;
  height: auto;
  display: block;
}

.renovation-notice h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.3;
  color: var(--color-text);
}

.renovation-notice p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 520px;
}

/* Charity page: linked organisation cards */
.charity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin: var(--space-7) auto;
  max-width: 1080px;
}

.charity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.charity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.charity-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
}

.charity-card__logo img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.charity-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--color-accent-dark);
}

.charity-card__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .charity-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* Company formation: side-by-side process boxes (Lunar vs Simple Law) */
.cf-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  max-width: 960px;
  margin: var(--space-7) auto 0;
  align-items: stretch;
}

.cf-process-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: left;
}

.cf-process-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--color-text);
}

.cf-process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
  flex: 1;
}

.cf-process-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.cf-process-step__num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.cf-process-card--lunar .cf-process-step__num {
  background: #dc2828;
}

.cf-process-card--simple .cf-process-step__num {
  background: var(--color-navy);
}

.cf-process-step__text {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
  padding-top: 0.2rem;
}

.cf-process-card__note {
  margin: 0;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .cf-process-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

.pricing-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.pricing-card.is-featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #E11D48;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-plan-name {
  font-size: 1.35rem;
  margin: 0;
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--color-text);
}

.pricing-currency {
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-amount {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-billing {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
  min-height: 2.4em;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  flex: 1;
}

.pricing-features li {
  display: grid;
  gap: 2px;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.pricing-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-feature-label {
  font-weight: 600;
  color: var(--color-text);
}

.pricing-feature-value {
  color: var(--color-text-muted);
  line-height: 1.45;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}

.pricing-vat {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Company formation: compact pricing cards */
.pricing-block--compact {
  max-width: 920px;
}

.pricing-block--compact .pricing-grid {
  gap: var(--space-4);
}

.pricing-block--compact .pricing-card {
  padding: var(--space-5) var(--space-4);
  gap: var(--space-3);
}

.pricing-block--compact .pricing-plan-name {
  font-size: 1.15rem;
}

.pricing-block--compact .pricing-amount {
  font-size: 2.1rem;
}

.pricing-block--compact .pricing-billing {
  min-height: 1.6em;
  font-size: 0.82rem;
}

.pricing-block--compact .pricing-features li {
  font-size: 0.86rem;
  padding-bottom: var(--space-2);
}

.pricing-block--compact .pricing-card.is-featured {
  transform: translateY(-2px);
}

.pricing-block--compact .pricing-card.is-filtered-out {
  display: none;
}

/* Company formation: pricing finder questionnaire */
.cf-pricing-finder-wrap {
  margin-bottom: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.cf-pricing-finder-wrap__toggle {
  cursor: pointer;
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  list-style: none;
  color: var(--color-accent-dark);
}

.cf-pricing-finder-wrap__toggle::-webkit-details-marker {
  display: none;
}

.cf-pricing-finder-wrap[open] .cf-pricing-finder-wrap__toggle {
  border-bottom: 1px solid var(--color-border);
}

.cf-pricing-finder-wrap .cf-pricing-finder {
  margin: 0;
  border: none;
  border-radius: 0;
}

.cf-pricing-finder {
  margin: 0 auto var(--space-6);
  max-width: 640px;
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cf-pricing-finder__title {
  margin: 0 0 var(--space-5);
  font-size: 1.15rem;
}

.cf-pricing-finder__step {
  margin: 0 0 var(--space-4);
  padding: 0;
  border: none;
}

.cf-pricing-finder__step legend {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
  padding: 0;
  color: var(--color-text);
}

.cf-pricing-finder__step.is-hidden {
  display: none;
}

.cf-pricing-finder__options {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.cf-pricing-finder__options button {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cf-pricing-finder__options button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cf-pricing-finder__options button.is-selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.cf-pricing-finder__reset {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  margin-top: var(--space-2);
}

.cf-pricing-finder__reset:hover {
  color: var(--color-accent);
}

.cf-pricing-finder__reset.is-hidden {
  display: none;
}

@media (max-width: 960px) {
  .pricing-grid,
  .pricing-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .pricing-card.is-featured {
    transform: none;
  }

  .pricing-block {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

/* ---------- FAQ / accordion (kerne-sider, spørgsmål-og-svar) ---------- */
.faq-group {
  margin: var(--space-7) 0;
}

.faq-group h3 {
  margin-bottom: var(--space-4);
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent-dark);
  flex: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.is-expanded:not(.is-closing) summary::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  color: var(--color-text-muted);
  border-top: 1px solid transparent;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s ease;
}

.faq-item.is-expanded:not(.is-closing) .faq-answer {
  grid-template-rows: 1fr;
  border-top-color: var(--color-border);
}

.faq-item.is-closing .faq-answer {
  grid-template-rows: 0fr;
  border-top-color: transparent;
}

.faq-item .faq-answer__inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 var(--space-5);
  transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-expanded:not(.is-closing) .faq-answer__inner {
  padding: var(--space-3) var(--space-5) var(--space-5);
}

.faq-item .faq-answer__inner p:first-child {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item .faq-answer,
  .faq-item .faq-answer__inner,
  .faq-item summary::after {
    transition: none;
  }
}

/* ---------- FAQ section with categories (Virtuelt Kontor) ---------- */
.faq-section {
  width: min(800px, 100%);
  margin: 0 auto;
  text-align: left;
}

.faq-section > h2 {
  text-align: center;
  margin-top: 0;
}

.faq-category {
  margin-top: var(--space-7);
}

.faq-category:first-of-type {
  margin-top: var(--space-6);
}

.faq-category h3 {
  margin: 0 0 var(--space-4);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-heading, var(--color-text));
  text-align: left;
}

.faq-section .faq-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.faq-section .faq-item summary {
  line-height: 1.35;
}

/* Legacy FAQ tabs (unused on VK; kept for any leftover markup) ---------- */
.faq-tabs-wrap {
  width: min(1100px, calc(100vw - 48px));
  margin: 0 auto;
  margin-left: 50%;
  transform: translateX(-50%);
  text-align: left;
}

.faq-tabs-wrap > h2 {
  text-align: center;
  margin-top: 0;
}

.faq-tabs {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
  margin-top: var(--space-6);
}

.faq-tabs__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
}

.faq-tab {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.faq-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.faq-tab.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-tab-panel {
  display: none;
}

.faq-tab-panel.is-active {
  display: block;
}

.faq-tabs-wrap .faq-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.faq-tabs-wrap .faq-item summary {
  line-height: 1.35;
}

@media (max-width: 960px) {
  .faq-tabs-wrap {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .faq-tabs {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .faq-tabs__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .faq-tab {
    text-align: center;
  }
}

/* ---------- Virtuelt Kontor: sektionsluft, garanti, lokation ---------- */
.article-body:has(.page-sections) {
  padding: 0;
  text-align: center;
}

.article-body:has(.page-sections) .container {
  max-width: var(--container-width);
}

/* Artikler (uden page-sections) skal have venstrestillet brødtekst */
.article-body:not(:has(.page-sections)) {
  text-align: left;
}

.page-section {
  padding: var(--space-9) 0;
}

.page-section--alt {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-section .prose > h2:first-child {
  margin-top: 0;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-banner,
.location-tabs-wrap {
  width: min(1100px, calc(100vw - 48px));
  margin: var(--space-6) auto 0;
  margin-left: 50%;
  transform: translateX(-50%);
  text-align: left;
}

.guarantee-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.guarantee-banner__icon {
  flex: none;
  color: #fff;
  opacity: 0.95;
}

.guarantee-banner__body h3 {
  margin: 0 0 var(--space-3);
  color: #fff;
  font-size: 1.35rem;
}

.guarantee-banner__body p {
  margin: 0 0 var(--space-3);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.guarantee-banner__applies {
  font-weight: 600;
}

.guarantee-banner a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.guarantee-banner a:hover {
  border-bottom-color: #fff;
}

.location-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.location-tab {
  appearance: none;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.location-tab.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.location-panel {
  display: none;
}

.location-panel.is-active {
  display: block;
}

.location-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.location-panel__media {
  margin: 0;
}

.location-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.location-panel__label {
  margin: 0 0 var(--space-2);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.location-panel__address {
  margin: 0 0 var(--space-5);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
}

.location-services__heading {
  margin: 0 0 var(--space-3);
  font-weight: 600;
  color: var(--color-text);
}

.location-services__heading--muted {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
}

.prose .location-services__list,
.location-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 0;
  display: grid;
  gap: var(--space-2);
}

.prose .location-services__list li,
.location-services__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.prose .location-services__list li::marker,
.location-services__list li::marker {
  content: none;
  display: none;
}

.prose .location-services__list li::before,
.location-services__list li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--color-accent-dark);
  font-weight: 600;
  line-height: 1.45;
}

.prose .location-services__list--renovation li::before,
.location-services__list--renovation li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-top: 0.15em;
  background-color: var(--color-accent-dark);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 12 6.5 20.5a2.12 2.12 0 0 1-3-3L12 9'/%3E%3Cpath d='M17.64 15 22 10.64'/%3E%3Cpath d='m20.91 11.7-1.25-1.25 2.34-2.34a1.24 1.24 0 0 0-1.75-1.75l-2.34 2.34-1.25-1.25a1.24 1.24 0 0 0-1.75 0L14.76 6.6a1.24 1.24 0 0 0 0 1.75l1.25 1.25-2.34 2.34a1.24 1.24 0 0 0 0 1.75l1.66 1.66a1.24 1.24 0 0 0 1.75 0l2.34-2.34 1.25 1.25a1.24 1.24 0 0 0 1.75 0l1.41-1.41a1.24 1.24 0 0 0 0-1.75Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 12 6.5 20.5a2.12 2.12 0 0 1-3-3L12 9'/%3E%3Cpath d='M17.64 15 22 10.64'/%3E%3Cpath d='m20.91 11.7-1.25-1.25 2.34-2.34a1.24 1.24 0 0 0-1.75-1.75l-2.34 2.34-1.25-1.25a1.24 1.24 0 0 0-1.75 0L14.76 6.6a1.24 1.24 0 0 0 0 1.75l1.25 1.25-2.34 2.34a1.24 1.24 0 0 0 0 1.75l1.66 1.66a1.24 1.24 0 0 0 1.75 0l2.34-2.34 1.25 1.25a1.24 1.24 0 0 0 1.75 0l1.41-1.41a1.24 1.24 0 0 0 0-1.75Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  font-weight: normal;
}

.location-panel__copy {
  grid-column: 1 / -1;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.location-panel__copy p {
  margin: 0 0 var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.location-panel__copy p:last-child {
  margin-bottom: 0;
}

html[data-theme="dark"] .guarantee-banner {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .guarantee-banner,
  .location-tabs-wrap {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .guarantee-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guarantee-banner__icon {
    margin: 0 auto;
  }

  .location-panel__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container,
  .feature-split .container,
  .feature-split.reverse .container,
  .about-hero__grid,
  .mvv-panel__grid {
    grid-template-columns: 1fr;
  }

  .mvv-tabs {
    grid-template-columns: 1fr;
  }

  .feature-split.reverse .feature-image {
    order: 0;
  }

  .services-grid,
  .testimonial-grid,
  .post-grid,
  .info-grid,
  .info-grid.cols-2,
  .info-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header .container {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
  }

  .header-actions {
    display: contents;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--color-bg);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-border);
    gap: var(--space-4);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    flex: none;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-sm);
  }

  .main-nav.is-open .lang-switch--mobile {
    display: flex;
    justify-content: center;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-1);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-actions .lang-switch {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-row {
    gap: var(--space-6);
  }
}

/* ---------- Apply steps: sticky guided horizontal scroll ---------- */
.apply-steps-section {
  padding: 0;
  overflow: clip;
}

.apply-steps {
  --apply-step-w: clamp(300px, 58vw, 560px);
  position: relative;
  height: 360vh;
}

.apply-steps__pin {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-8) 0 var(--space-7);
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(37, 99, 235, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(29, 53, 87, 0.06), transparent 50%),
    var(--color-bg-alt);
  overflow: hidden;
}

.apply-steps__intro {
  text-align: center;
}

.apply-steps__intro h2 {
  margin: 0 0 var(--space-3);
}

.apply-steps__intro .section-lead {
  margin: 0 auto;
  max-width: 36rem;
}

.apply-steps__viewport {
  width: 100%;
  overflow: hidden;
  padding: 0 max(var(--space-5), calc((100vw - var(--container-width, 1120px)) / 2 + var(--space-5)));
}

.apply-steps__track {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.apply-steps__track::after {
  content: "";
  flex: 0 0 45vw;
}

.prose .apply-steps__track,
.apply-steps__track {
  list-style: none;
  padding-left: 0;
}

.apply-step {
  flex: 0 0 var(--apply-step-w);
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-step + .apply-step {
  margin-left: -18px;
}

.apply-step__shape {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 240px;
  padding: var(--space-5) 2.4rem var(--space-5) 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-navy) 0%, #234B7A 55%, var(--color-accent) 100%);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 18px 50%);
  box-shadow: 0 10px 28px rgba(16, 21, 26, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--space-3);
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
  opacity: 0.45;
  filter: saturate(0.75);
  transform: translateX(28px);
}

.apply-step:nth-child(1) .apply-step__shape {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
  padding-left: var(--space-5);
  background: linear-gradient(135deg, #142338 0%, var(--color-navy) 100%);
}

.apply-step:nth-child(2) .apply-step__shape {
  background: linear-gradient(135deg, #1D3557 0%, #2563EB 100%);
}

.apply-step:nth-child(3) .apply-step__shape {
  background: linear-gradient(135deg, #234B7A 0%, #1D4ED8 100%);
}

.apply-step:nth-child(4) .apply-step__shape,
.apply-step__shape--last {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
  padding-right: var(--space-5);
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
}

.apply-step.is-active .apply-step__shape,
.apply-step.is-passed .apply-step__shape {
  opacity: 1;
  filter: none;
  transform: translateX(0);
}

.apply-step__num {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.apply-step__shape h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.25;
}

.apply-step__text {
  margin: 0;
  padding: 0;
  padding-right: 0.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

.apply-steps__progress {
  width: min(280px, 50vw);
  height: 3px;
  margin: var(--space-2) auto 0;
  border-radius: 999px;
  background: rgba(29, 53, 87, 0.12);
  overflow: hidden;
}

.apply-steps__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-navy), var(--color-accent));
}

html[data-theme="dark"] .apply-steps__pin {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(59, 130, 246, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(29, 53, 87, 0.35), transparent 50%),
    var(--color-bg-alt);
}

html[data-theme="dark"] .apply-steps__progress {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  .apply-steps {
    --apply-step-w: min(78vw, 280px);
    height: 360vh;
  }

  .apply-steps__pin {
    padding-top: var(--space-7);
    gap: var(--space-5);
  }

  .apply-step__shape {
    min-height: 220px;
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }

  .apply-step__shape h3 {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apply-steps {
    height: auto;
  }

  .apply-steps__pin {
    position: relative;
    min-height: 0;
    overflow: visible;
  }

  .apply-steps__viewport {
    overflow: visible;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .apply-steps__track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    transform: none !important;
  }

  .apply-step,
  .apply-step + .apply-step {
    margin-left: 0;
    flex: 1 1 220px;
    max-width: 280px;
  }

  .apply-step__shape,
  .apply-step:nth-child(1) .apply-step__shape,
  .apply-step:nth-child(4) .apply-step__shape,
  .apply-step__shape--last {
    clip-path: none;
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    opacity: 1;
    filter: none;
    transform: none;
  }

  .apply-steps__progress {
    display: none;
  }
}
