/* ==========================================================================
   Landingsside — lokal ukrudtsbekæmpelse med varmt vand
   Ingen eksterne afhængigheder. Mobil først (folk scanner QR-koden på gaden).
   ========================================================================== */

:root {
  --green-900: #12301f;
  --green-800: #1c4630;
  --green-700: #226343;
  --green-600: #2f7d55;
  --green-100: #e3f0e6;
  --green-50:  #f1f7f1;

  --orange-700: #b8420f;
  --orange-600: #d95514;
  --orange-500: #f97316;
  --orange-100: #fdeadd;

  --ink:        #1b1a17;
  --ink-soft:   #4a4741;
  --ink-faint:  #736f66;
  --line:       #e4dfd4;
  --paper:      #fdfbf7;
  --paper-alt:  #f6f2ea;
  --white:      #ffffff;

  --radius:     16px;
  --radius-lg:  24px;
  --shadow-sm:  0 1px 2px rgba(27,26,23,.06), 0 2px 8px rgba(27,26,23,.05);
  --shadow-md:  0 4px 12px rgba(27,26,23,.07), 0 12px 32px rgba(27,26,23,.07);
  --wrap:       1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 4.2vw, 2.25rem); }
h3 { font-size: 1.12rem; }
p  { margin: 0 0 1em; }
a  { color: var(--green-700); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-600);
  margin: 0 0 .6em;
}

.section { padding: 68px 0; }
.section-alt { background: var(--paper-alt); }
.section-intro { color: var(--ink-soft); max-width: 640px; margin: 0 auto 2.2em; font-size: 1.06rem; }
.fineprint { color: var(--ink-faint); font-size: .93rem; max-width: 640px; margin: 2em auto 0; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  padding: 13px 24px;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--green-800); box-shadow: inset 0 0 0 2px var(--green-100); }
.btn-ghost:hover { background: var(--green-50); }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253,251,247,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.wordmark-mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex: none;
  border-radius: 11px;
  background: var(--green-700); color: #fff;
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark-name { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.wordmark-sub { font-size: .74rem; color: var(--ink-faint); }

/* ---------------------------------------------------------------- hero -- */
.hero {
  background:
    radial-gradient(1200px 420px at 82% -8%, var(--orange-100), transparent 62%),
    linear-gradient(180deg, var(--green-50), var(--paper) 72%);
  padding: 46px 0 40px;
}
.hero-inner {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  align-items: center;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }

.price-chip {
  display: inline-flex; align-items: baseline; gap: .5ch;
  background: var(--white);
  border: 2px solid var(--orange-100);
  color: var(--orange-700);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  margin: .2em 0 1.4em;
}
.price-chip span { font-size: 1.22rem; font-weight: 800; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 1.2em; font-size: .92rem; color: var(--ink-faint); }

.hero-visual { margin: 0; }
.scene { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.visual-caption { text-align: center; font-size: .82rem; color: var(--ink-faint); margin: .8em 0 0; }

.jets { animation: jetPulse 2.6s ease-in-out infinite; }
.drops { animation: jetPulse 2.6s ease-in-out infinite .4s; }
.steam .s1 { animation: rise 4s ease-in-out infinite; }
.steam .s2 { animation: rise 4s ease-in-out infinite .9s; }
.steam .s3 { animation: rise 4s ease-in-out infinite 1.7s; }
.weed-hit { animation: wilt 6s ease-in-out infinite; transform-origin: 200px 258px; }

@keyframes jetPulse { 0%,100% { opacity: .95; } 50% { opacity: .6; } }
@keyframes rise    { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes wilt    { 0%,55% { opacity: 1; } 80%,100% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .jets, .drops, .steam path, .weed-hit { animation: none; }
}

.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
}
.trust-strip li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--green-900);
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------- cards -- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card p { margin: 0; color: var(--ink-soft); font-size: .99rem; }
.card-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 12px; }

/* --------------------------------------------------------------- steps -- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 66px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .99rem; }
.step-num {
  position: absolute; left: 20px; top: 20px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  font-weight: 800; font-size: .95rem;
}

/* --------------------------------------------------------------- price -- */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card-featured { border: 2px solid var(--green-600); box-shadow: var(--shadow-md); }
.price-tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--green-700); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin: 0;
}
.price-amount { font-size: 1.1rem; color: var(--ink-soft); margin: 0; }
.price-amount strong { font-size: 2.3rem; color: var(--green-800); letter-spacing: -.02em; }
.price-per { color: var(--ink-faint); font-size: .92rem; margin: 0 0 1em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: .96rem; color: var(--ink-soft); }
.ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green-600); font-weight: 800;
}
.price-meters {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .86rem;
  font-weight: 700;
  margin: 0 0 .6em;
}
.price-lookup {
  text-align: center;
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 0 0 28px;
}
.price-note {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.price-note h3 { margin-bottom: .4em; }
.price-note p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------------------------------------------------------------- dark -- */
.section-dark { background: var(--green-900); color: #e8efe8; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #cddbcf; }

/* ---------------------------------------------------------------- form -- */
.section-form { background: var(--paper-alt); scroll-margin-top: 70px; }
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.req { color: var(--orange-600); }
.opt { font-weight: 500; color: var(--ink-faint); font-size: .88rem; }
.hint { font-size: .85rem; color: var(--ink-faint); margin: 6px 0 0; }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* forhindrer zoom på iOS */
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color .12s ease, background-color .12s ease;
}
input:focus, textarea:focus { border-color: var(--green-600); background: var(--white); outline: none; }
input.invalid, textarea.invalid { border-color: var(--orange-600); background: #fff8f4; }
textarea { resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-block;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--paper);
  transition: all .12s ease;
}
.choice input:checked + span { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); }
.choice input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.consent { background: var(--green-50); border-radius: 12px; padding: 14px 16px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; font-size: .95rem !important; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--green-700); }

.fortov-estimat {
  background: var(--green-50);
  border: 2px solid var(--green-100);
  border-radius: 12px;
  padding: 16px 18px;
  margin: -4px 0 18px;
}
.fortov-estimat p { margin: 0; }
.estimat-hoved { font-size: 1.02rem; color: var(--green-900); }
.estimat-pris { font-size: 1.06rem; color: var(--green-800); margin-top: 2px !important; }
.estimat-pris strong { font-size: 1.2rem; }
.estimat-note { font-size: .84rem; color: var(--ink-faint); margin-top: 8px !important; }
.fortov-estimat.er-ukendt { background: var(--paper); border-color: var(--line); }
.fortov-estimat.er-ukendt p { color: var(--ink-soft); font-size: .95rem; }

.error { color: var(--orange-700); font-size: .88rem; font-weight: 600; margin: 6px 0 0; }
.form-fineprint { font-size: .85rem; color: var(--ink-faint); margin: 14px 0 0; text-align: center; }
.form-status { margin: 12px 0 0; font-weight: 600; text-align: center; }
.form-status.is-error { color: var(--orange-700); }

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

.success-card {
  background: var(--white);
  border: 2px solid var(--green-600);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-icon {
  width: 58px; height: 58px; margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-100); color: var(--green-700);
  font-size: 1.9rem; font-weight: 800;
}
.success-card p { color: var(--ink-soft); }
.success-nudge {
  background: var(--green-50);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 18px 0 0;
  font-size: .95rem;
}

/* ----------------------------------------------------------------- faq -- */
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--green-900);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green-600); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-soft); font-size: .98rem; margin: 0 0 16px; }

/* ------------------------------------------------------------- cta/fod -- */
.section-cta { background: var(--green-50); }
.section-cta p { color: var(--ink-soft); margin-bottom: 1.6em; }

.site-footer { background: var(--green-900); color: #b9c8bb; padding: 40px 0 96px; font-size: .9rem; }
.footer-inner p { margin: 0 0 .6em; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1rem; }
.footer-contact a { color: #e8efe8; }
.footer-legal { color: #8fa392; font-size: .82rem; max-width: 60ch; margin-top: 1.2em; }

.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  background: var(--green-700);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  padding: 15px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(18,48,31,.32);
}
.mobile-cta:hover { background: var(--green-800); }

.setup-banner {
  background: #fff4d6;
  border-bottom: 2px solid #f2c94c;
  color: #6b4e00;
  padding: 10px 16px;
  font-size: .88rem;
  text-align: center;
}
.setup-banner code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

/* --------------------------------------------------------------- større skærme -- */
@media (min-width: 720px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .lead-form { padding: 34px 32px; }
  .section { padding: 84px 0; }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 48px; }
}

@media (min-width: 940px) {
  .hero { padding: 64px 0 52px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
