:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #223044;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --soft-blue: #eaf1ff;
  --border: #e2e8f0;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.logo { height: 62px; width: auto; display: block; transition: transform 0.2s ease; }
.logo:hover { transform: scale(1.02); }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 750;
  padding: 9px 14px;
  border-radius: 999px;
}
.nav a:hover, .nav a.active { background: var(--soft-blue); color: var(--primary); }
.nav .nav-cta { background: var(--primary); color: #fff; }
.nav .nav-cta:hover { background: var(--primary-dark); color: #fff; }
.menu-toggle {
  display: none;
  border: 0;
  background: var(--soft-blue);
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: 12px;
  padding: 8px 12px;
}
main { max-width: 1180px; margin: auto; padding: 0 24px; }

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.hero h1, .page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 1.04;
  margin: 20px 0 18px;
  letter-spacing: -0.045em;
}
.page-hero { padding: 58px 0 22px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 780px; }
.eyebrow {
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 13px 20px;
}
.btn.primary { background: var(--primary); color: white; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.secondary { background: white; color: var(--primary); border: 1px solid var(--border); }
.btn.light { background: #f8fafc; color: var(--primary); border: 1px solid var(--border); }

.hero-card, .card, .contact-card, .quote-card, .section, .pain-box, .flow-step, .stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 28px; }
.dashboard {
  background: #f8fafc;
  border-radius: 22px;
  padding: 24px;
}
.dashboard-top { display: flex; gap: 7px; margin-bottom: 22px; }
.dashboard-top span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.dashboard h2 { margin: 0 0 8px; font-size: 1.45rem; }
.dashboard p { color: var(--muted); margin-top: 0; }
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: white;
  font-weight: 900;
}
.status-row small { display: block; color: var(--muted); font-weight: 700; }
.status-row.green { border-left: 7px solid var(--green); }
.status-row.yellow { border-left: 7px solid var(--yellow); }
.status-row.red { border-left: 7px solid var(--red); }
.alert-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-weight: 800;
  color: #9a3412;
}

.section { margin: 42px 0; padding: 42px; }
.section h2 { font-size: 2rem; line-height: 1.15; margin-top: 0; }
.section p { color: var(--muted); }
.section.center { text-align: center; }
.section.center .lead { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr); gap: 32px; align-items: center; }
.split > * { min-width: 0; }
.cards { display: grid; gap: 22px; margin: 42px 0; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 30px; }
.card .icon { font-size: 2rem; }
.card h3 { font-size: 1.35rem; margin: 10px 0; }
.card p { color: var(--muted); }
.card a { font-weight: 900; color: var(--primary); text-decoration: none; }

.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.pain-box { padding: 24px; box-shadow: none; }
.pain-box strong { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.pain-box p { margin: 0; color: var(--muted); }

.color-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.color-card { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.color-dot { width: 18px; height: 18px; border-radius: 999px; margin-bottom: 14px; }
.color-dot.green { background: var(--green); }
.color-dot.yellow { background: var(--yellow); }
.color-dot.red { background: var(--red); }
.color-card h3 { margin: 0 0 8px; }
.color-card p { margin: 0; color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 42px 0; }
.flow-step { padding: 26px; }
.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
}
.flow-step p { color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 10px 0;
  padding: 14px 16px;
  font-weight: 750;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.checklist li::before { content: "✓"; color: var(--green); font-weight: 900; flex: 0 0 auto; }
.checklist.wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checklist.wide li { margin: 0; }
.quote-card { padding: 34px; font-size: 1.42rem; font-weight: 900; color: var(--primary); line-height: 1.35; }
.quote-card small { display: block; color: var(--muted); font-size: 1rem; margin-top: 12px; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.stat-card { padding: 28px; box-shadow: none; }
.stat-card strong { display: block; font-size: 2rem; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-card span { color: var(--muted); font-weight: 750; }

.price-card { position: relative; overflow: hidden; }
.price-card.featured { border: 2px solid var(--primary); transform: translateY(-8px); }
.price { font-size: 2.6rem; line-height: 1; margin: 18px 0 8px; font-weight: 900; color: var(--primary); letter-spacing: -0.04em; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.badge { position: absolute; right: 18px; top: 18px; background: var(--soft-blue); color: var(--primary); font-size: 0.75rem; font-weight: 900; padding: 7px 11px; border-radius: 999px; }
.plain-list { padding-left: 20px; color: var(--muted); font-weight: 650; }
.plain-list li { margin: 8px 0; }

.compare-table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--border); border-radius: 20px; background: #ffffff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { background: #f8fafc; color: var(--text); font-size: 0.9rem; }
.compare-table tr:last-child td { border-bottom: 0; }

.contact-card { max-width: 760px; padding: 40px; margin: 40px 0 90px; }
.contact-line { margin: 12px 0; font-weight: 800; }
.contact-line a { color: var(--primary); text-decoration: none; }

.footer { text-align: center; color: var(--muted); padding: 32px 20px; border-top: 1px solid var(--border); background: white; }
.footer p { margin: 0 0 14px; }
.footer-policy-links { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin: 0.75rem 0; }
.footer-policy-links .iubenda-white { display: inline-flex !important; align-items: center; justify-content: center; min-height: 32px; }
.admin-login-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.82rem; font-weight: 900; color: var(--primary); background: #f8fafc; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.admin-login-link:hover { background: var(--soft-blue); border-color: #c7d2fe; transform: translateY(-1px); }


@media (max-width: 1080px) {
  .nav { gap: 4px; }
  .nav a { padding: 8px 10px; font-size: 0.92rem; }
  .logo { height: 54px; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 64px 0 30px; }
  .cards.three, .cards.two, .split, .checklist.wide, .pain-grid, .color-cards, .flow, .stats { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 820px) {
  .site-header { padding: 12px 18px; }
  .logo { height: 48px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 18px; right: 18px; background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 12px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 15px; }
  .section { padding: 28px; }
  .page-hero { padding: 42px 0 18px; }
  .price { font-size: 2.2rem; }
}


/* Sprogvælger */
.site-header { gap: 14px; }
.nav { margin-left: auto; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f8fafc;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 9px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 900;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lang-btn:hover { background: #fff; color: var(--primary); transform: translateY(-1px); }
.lang-btn.active { background: var(--soft-blue); color: var(--primary); box-shadow: inset 0 0 0 1px #c7d2fe; }
.lang-btn .flag { font-size: 1.08rem; }
.lang-code { font-size: 0.72rem; letter-spacing: 0.04em; }

@media (max-width: 820px) {
  .header-actions { margin-left: auto; gap: 8px; }
  .language-switch { gap: 2px; padding: 3px; }
  .lang-btn { min-width: 34px; min-height: 34px; padding: 0; justify-content: center; }
  .lang-code { display: none; }
  .nav { margin-left: 0; }
}

@media (max-width: 420px) {
  .site-header { padding: 10px 12px; gap: 8px; }
  .logo { height: 42px; }
  .menu-toggle { padding: 7px 10px; }
}
