/* m2soft.io, tema D1: næsten hvid flade, petrol som accent, runde hjørner.
   Skrifterne er de samme selvhostede filer som frankston.io (ft-editorial-fonts.css). */

:root {
  --bg: #fcfcfa;
  --bg-2: #f3f4f1;
  --bg-3: #e9ebe6;
  --rule: #e1e3de;
  --rule-strong: #b9bfb7;
  --ink: #161a19;
  --ink-2: #353b3a;
  --ink-3: #626967;
  --accent: #2e5257;
  --accent-hover: #24423f;
  --accent-soft: #dfe8e7;
  --accent-2: #b8452f;
  --on-accent: #ffffff;

  /* Animationerne (m2-animations.css) deler markup med frankston.io/kobermaegler og
     læser D1-farverne og skrift-navnene herfra. */
  --m2-teal: #2e5257;
  --m2-red: #b8452f;
  --font-mono: var(--mono);
  --font-display: var(--serif);

  --r-btn: 10px;
  --r-card: 16px;
  --r-stat: 12px;

  --serif: "Spectral", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: 28px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.m2 {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.m2 main { flex: 1 0 auto; }

.m2 img, .m2 svg { max-width: 100%; height: auto; }

:where(.m2) a { color: inherit; }

.m2 :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.m2-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.m2-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.m2-spacer { flex: 1; }

.m2-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--bg) !important;
  border-radius: var(--r-btn);
  text-decoration: none;
}
.m2-skip:focus { top: 12px; }

/* Topbjælke */
.m2-edition {
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}
.m2-edition .m2-row { padding-top: 8px; padding-bottom: 8px; }
.m2-edition b { color: var(--ink); font-weight: 500; }
.m2-edition a { text-decoration: none; }
.m2-edition a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Menu */
.m2-nav {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.m2-nav .m2-row {
  gap: 26px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
}
.m2-brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.m2-brand sup { font-size: 0.5em; }
.m2-links { display: flex; gap: 26px; }
.m2-links a {
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 0;
}
.m2-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.m2-menu { display: none; position: relative; }
.m2-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  user-select: none;
}
.m2-menu summary::-webkit-details-marker { display: none; }
.m2-menu[open] summary { background: var(--bg-2); }
.m2-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  box-shadow: 0 12px 32px -12px rgba(22, 26, 25, 0.22);
}
.m2-menu-panel a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.m2-menu-panel a:hover { background: var(--bg-2); }

/* Knapper */
.m2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--ink);
  border-radius: var(--r-btn);
  text-decoration: none;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.m2-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.m2-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.m2-btn-ghost { background: transparent; color: var(--ink); }
.m2-btn-ghost:hover { background: var(--bg-2); }
.m2-nav .m2-btn { padding: 10px 18px; }

/* Hero (forsiden og fejlsider) */
.m2-hero { padding: 72px 0 80px; }
.m2-hero-small { padding: 88px 0 112px; }
.m2-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.375rem, 1.6rem + 3.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 18ch;
  text-wrap: balance;
}
.m2-hero h1 em { font-style: italic; color: var(--accent); }
.m2-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.m2-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kort, tal-kort og bånd til senere sektioner */
.m2-band { background: var(--bg-2); }
.m2-section { padding: 80px 0; }
.m2-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.m2-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px 22px 24px;
}
.m2-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.m2-card p { margin: 0; color: var(--ink-3); font-size: 15px; }
.m2-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.m2-stat {
  border: 1px solid var(--rule);
  border-radius: var(--r-stat);
  padding: 12px 16px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.m2-stat b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ============ Forsiden ============ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.m2 [id] { scroll-margin-top: 24px; }

/* Hero: tekst til venstre, bybilledet (E1) til højre i et kort. */
.m2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.m2-hero-copy .m2-ctas { margin-bottom: 30px; }
.m2-hero-stats .m2-stat { flex: 0 1 auto; }
/* E1's ramme har inline-stil, fordi komponenten deles med frankston.io/kobermaegler.
   D1 vil have animationen i et lysegråt, rundt kort; det sættes kun her. */
.m2 .m2-hero-anim {
  background: var(--bg-2) !important;
  border-radius: var(--r-card);
  overflow: hidden;
}
.m2-hero-media .m2-hero-anim svg { max-height: 440px; }

/* Sektionshoved */
.m2-head { max-width: 64ch; margin: 0 0 48px; }
.m2-head p { margin: 0; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.m2 h2 em { font-style: italic; color: var(--accent); }

/* Funktioner: tekst og animation side om side, skiftevis. */
.m2-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.m2-feature + .m2-feature { margin-top: 72px; }
.m2-feature:nth-of-type(even) .m2-feature-copy { order: 2; }
.m2-feature-copy h3,
.m2-forloeb-tekst h3,
.m2-pris-gratis h3,
.m2-ogsaa > h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.m2-feature-copy > p { margin: 0 0 18px; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }

.m2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.m2-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-2);
}
.m2-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.m2-list b { font-weight: 500; color: var(--ink); }
.m2-list-kompakt { gap: 6px; }
.m2-list-kompakt li { font-size: 14px; }

.m2-ogsaa { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--rule); }
.m2-ogsaa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 20px;
}
.m2-ogsaa h4 { margin: 0 0 4px; font-size: 16px; font-weight: 500; color: var(--ink); }
.m2-ogsaa p { margin: 0; font-size: 15px; color: var(--ink-3); text-wrap: pretty; }

/* Sagsforløb: E2 med de fire trin som kort. Linjen er skjult under 1100px; kortene står altid. */
.m2-flow { margin-bottom: 72px; }
.m2-trin-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.m2-trin {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-stat);
  padding: 16px 18px 18px;
}
.m2-trin-nr {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.m2-trin h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.m2-trin p { margin: 0; font-size: 14px; color: var(--ink-3); }

.m2-forloeb-blok {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 40px;
  align-items: center;
}
.m2-forloeb-tekst p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.m2 .m2-forloeb { border-radius: var(--r-card); width: 100%; }

/* Citat */
.m2-citat figure { margin: 0 auto; max-width: 860px; }
.m2-citat .m2-citat-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  margin: 0 0 18px;
}
.m2-citat blockquote { margin: 0; }
.m2-citat blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.m2-citat figcaption { margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.m2-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  text-underline-offset: 4px;
}
.m2-link:hover { text-decoration-color: currentColor; }

/* Priser */
.m2-priser { border-top: 1px solid var(--rule); }
.m2-pris-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.m2-pris-gratis h3 { margin-top: 24px; }
.m2-pris-gratis p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.m2-pris-gratis h4 { margin: 28px 0 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.m2-list-to { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.m2-pris-kort { padding: 28px 28px 30px; }
.m2-pris-kort h3 { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); margin: 24px 0 10px; }
.m2-pris-kort .m2-pris-tal { margin: 0 0 18px; color: var(--ink-3); font-size: 15px; }
.m2-pris-tal b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.m2-pris-tabel { width: 100%; border-collapse: collapse; font-size: 15px; }
.m2-pris-tabel th {
  text-align: left;
  padding: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
}
.m2-pris-tabel th:last-child, .m2-pris-tabel td:last-child { text-align: right; }
.m2-pris-tabel td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.m2-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.m2-pris-kort .m2-note { margin: 18px 0 20px; }
.m2-btn-fuld { width: 100%; }

/* Kom i gang */
.m2-start { border-top: 1px solid var(--rule); }
.m2-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.m2-start .m2-lede { margin-bottom: 24px; }

@media (max-width: 1100px) {
  .m2-trin-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-forloeb-blok { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 960px) {
  .m2-hero-grid,
  .m2-feature,
  .m2-pris-grid,
  .m2-start-grid { grid-template-columns: 1fr; gap: 32px; }
  .m2-feature:nth-of-type(even) .m2-feature-copy { order: 0; }
  .m2-feature + .m2-feature { margin-top: 56px; }
  .m2-ogsaa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m2-hero-media { max-width: 560px; }
}

@media (max-width: 600px) {
  .m2-head { margin-bottom: 32px; }
  .m2-trin-liste,
  .m2-list-to,
  .m2-ogsaa-grid { grid-template-columns: 1fr; }
  .m2-ogsaa { margin-top: 56px; }
  .m2-flow { margin-bottom: 48px; }
  .m2-hero-stats .m2-stat { flex: 1 1 0; padding: 10px 12px; }
  .m2-hero-stats .m2-stat b { font-size: 19px; }
  .m2-pris-kort { padding: 22px 20px 24px; }
}

/* Footer */
.m2-footer {
  margin-top: 0;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  padding: 48px 0 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.m2-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}
.m2-footer p { margin: 10px 0 0; color: var(--ink-3); }
.m2-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m2-footer ul a, .m2-legal a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.m2-footer ul a:hover, .m2-legal a:hover { text-decoration-color: currentColor; }
.m2-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  :root { --gutter: 18px; }
  .m2-links, .m2-hide-s { display: none; }
  .m2-nav .m2-btn { padding: 9px 14px; }
  .m2-menu { display: block; }
  .m2-nav .m2-row { gap: 12px; }
  .m2-hero { padding: 48px 0 56px; }
  .m2-hero-small { padding: 56px 0 72px; }
  .m2-lede { font-size: 17px; }
  .m2-section { padding: 56px 0; }
}

@media (max-width: 420px) {
  .m2-edition .m2-row { gap: 10px; }
  .m2-ctas .m2-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .m2-btn { transition: none; }
}

/* Kundecases */
.m2-case-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.m2-case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.m2-case-card { display: block; text-decoration: none; color: inherit; transition: border-color .15s; }
.m2-case-card:hover { border-color: var(--accent); }
.m2-case-card h2 { font-size: 1.5rem; margin: 0 0 8px; }
.m2-case-card p { margin: 0 0 10px; color: var(--ink-2); }
.m2-case-card .m2-case-headline { color: var(--ink); font-weight: 500; }
.m2-case-back { margin: 0 0 28px; }
.m2-case-head, .m2-case-quote, .m2-prose, .m2-case-cta { max-width: 720px; }
.m2-case-kunde { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--accent); }
.m2-case-quote { margin: 36px 0; padding-left: 22px; border-left: 3px solid var(--accent); }
.m2-case-quote blockquote { margin: 0; }
.m2-case-quote p { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.m2-case-quote figcaption { margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.m2-prose { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.m2-prose h2 { font-size: 1.75rem; margin: 40px 0 12px; color: var(--ink); }
.m2-prose h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; margin: 28px 0 8px; color: var(--ink); }
.m2-prose p, .m2-prose ul, .m2-prose ol { margin: 0 0 16px; }
.m2-prose a { color: var(--accent); }
.m2-case-cta { margin-top: 48px; background: var(--bg-2); }
.m2-case-facts { max-width: 720px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0 0 36px; border-top: 2px solid var(--ink); }
.m2-case-facts div { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.m2-case-facts dt { font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }
.m2-case-facts dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.45; }
.m2-case-features { margin-top: 64px; }
.m2-case-h2 { font-size: 2rem; margin: 0 0 32px; }
.m2-feature--tekst { grid-template-columns: minmax(0, 1fr); }
.m2-case-ogsaa { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.m2-case-ogsaa li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.m2-case-result { margin-top: 64px; max-width: 720px; }
.m2-case-result p { font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); line-height: 1.4; color: var(--ink); margin: 0; text-wrap: pretty; }
@media (max-width: 640px) { .m2-case-facts, .m2-case-ogsaa { grid-template-columns: minmax(0, 1fr); } }
.m2-case-cta h2 { font-size: 1.5rem; margin: 0 0 8px; }
.m2-case-cta p { margin: 0 0 18px; color: var(--ink-2); }
@media (max-width: 960px) { .m2-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .m2-case-grid { grid-template-columns: minmax(0, 1fr); } }

/* Juridiske sider */
.m2-legal-page .m2-case-head { margin-bottom: 24px; }
.m2-legal-version { margin: 8px 0 0; color: var(--ink-3); font-family: var(--mono); font-size: 14px; }
.m2-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto;
  /* Rullekant: skygge i kanten vises kun hvor der er mere indhold (CSS-only). */
  background:
    linear-gradient(to right, var(--bg) 30%, transparent) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--bg) 30%, transparent) right center / 40px 100% no-repeat local,
    linear-gradient(to right, var(--rule-strong), transparent) left center / 14px 100% no-repeat scroll,
    linear-gradient(to left, var(--rule-strong), transparent) right center / 14px 100% no-repeat scroll; }
.m2-prose th, .m2-prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.m2-prose th { color: var(--ink); border-bottom-color: var(--rule-strong); font-weight: 600; }

/* Skift under binding */
.m2-skift .m2-card { background: var(--accent-soft); border-color: transparent; padding: 32px; max-width: 72ch; }
.m2-skift .m2-card h2 { margin: 0 0 12px; }
.m2-skift .m2-lede { margin: 0 0 24px; }

/* Spørgsmål og svar */
.m2-faq-liste { margin: 0; max-width: 72ch; }
.m2-faq-liste dt { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
.m2-faq-liste dt:first-child { margin-top: 0; }
.m2-faq-liste dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }

/* Kontaktformular */
.m2-kontakt-kort { max-width: 72ch; padding: 32px; }
.m2-kontakt-kort h2 { margin: 0 0 24px; }
.m2-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-bottom: 24px; }
.m2-felt-bred { grid-column: 1 / -1; }
.m2-felt label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.m2-felt input, .m2-felt textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-btn);
}
.m2-felt textarea { resize: vertical; min-height: 120px; }
.m2-felt input:focus-visible, .m2-felt textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.m2-felt [aria-invalid="true"] { border-color: var(--accent-2); }
/* Eget kort-prefix: .m2-card p (graa, margin 0) maa ikke vinde over fejlfarven. */
.m2-kontakt-kort .m2-felt-fejl, .m2-kontakt-kort .m2-form-status { margin: 6px 0 0; font-size: 14px; color: var(--accent-2); }
.m2-kontakt-kort .m2-form-status { margin: 0 0 16px; }
.m2-form .m2-btn[disabled] { opacity: .6; cursor: progress; }
.m2-form-tak h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 8px; }
.m2-form-tak p { margin: 0; color: var(--ink-2); font-size: 16px; }
.m2-form-tak:focus { outline: none; }
.m2-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
  .m2-form-grid { grid-template-columns: minmax(0, 1fr); }
  .m2-kontakt-kort { padding: 22px 20px 24px; }
}
