/* ============================================================
   Kolonihavenet.dk — genopbygning
   Palette: frisk grøn (logo) · teal accent · navy tekst · sand
   ============================================================ */
:root {
  --green:      #43a83b;
  --green-dark: #2f7a2a;
  --green-deep: #1f5b23;
  --teal:       #88cfcc;
  --teal-dark:  #4f9f9b;
  --navy:       #16163f;
  --sand:       #d3b574;
  --ink:        #22252a;
  --muted:      #5c6670;
  --line:       #e6e9ec;
  --bg:         #ffffff;
  --bg-soft:    #f5f8f4;
  --bg-mint:    #eef6ec;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 10px 30px -12px rgba(22,22,63,.18);
  --shadow-lg:  0 24px 60px -20px rgba(22,22,63,.30);
  --maxw:       1180px;
  --font-head:  'Poppins', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: .78rem; color: var(--teal-dark); margin: 0 0 .7rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600;
  font-size: 1rem; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(67,168,59,.7); }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(22,22,63,.18); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { color: var(--green-deep); }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: .3rem; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 500;
  color: var(--navy); padding: .6rem .9rem; border-radius: 10px; font-size: .97rem; }
.nav-link:hover, .nav-item:hover > .nav-link { background: var(--bg-mint); color: var(--green-deep); }
.nav-link.active { color: var(--green-dark); }
.nav-link .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-item:hover .caret { transform: rotate(225deg) translateY(2px); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: 9px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.dropdown a:hover { background: var(--bg-mint); color: var(--green-deep); }
.header-cta { display: flex; align-items: center; gap: .9rem; }
.header-phone { font-family: var(--font-head); font-weight: 600; color: var(--navy); white-space: nowrap; }
.header-phone small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--green-deep); }
.hero::before { content: ''; position: absolute; inset: 0; background: url('/img/garden-2139355_1920.jpg') center/cover; }
.hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16,16,36,.86) 0%, rgba(22,54,30,.62) 48%, rgba(79,159,155,.22) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.5rem;
  align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero h1 { color: #fff; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.9); max-width: 46ch; }
.hero .eyebrow { color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  padding: 1.6rem; backdrop-filter: blur(6px); }
.hero-card h3 { color: #fff; margin-bottom: 1rem; }
.hero-mini { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18); }
.hero-mini:last-child { border-bottom: 0; }
.hero-mini .price { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--teal);
  white-space: nowrap; flex-shrink: 0; padding-left: .8rem; }
.hero-mini .price small { display: inline; white-space: nowrap; font-size: .72em; }
.hero-mini span small { color: rgba(255,255,255,.75); display: block; font-size: .82rem; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem;
  font-weight: 700; color: var(--green-dark); background: var(--bg-mint); margin-bottom: 1rem; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }
.card--link { display: block; color: inherit; }

/* Pricing */
.price-card { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-card.popular { border-color: var(--green); box-shadow: var(--shadow-lg); transform: scale(1.02); }
.price-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .78rem; padding: .35rem 1rem;
  border-radius: 999px; letter-spacing: .04em; }
.price-card h3 { font-size: 1.4rem; }
.price-card .desc { color: var(--muted); min-height: 3em; margin-bottom: 1.2rem; }
.price-tag { display: flex; align-items: baseline; gap: .3rem; margin-bottom: 1.3rem; }
.price-tag .amount { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--navy); line-height: 1; }
.price-tag .unit { color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.price-card li::before { content: '✓'; color: var(--green); font-weight: 800; }
.price-card .btn { margin-top: auto; }

/* ============================================================
   FAQ / accordion
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-family: var(--font-head); font-weight: 600;
  color: var(--navy); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--green); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.2rem; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ============================================================
   Prose (tekstsider)
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { color: var(--green-deep); margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius-sm); margin: 1.4rem 0; box-shadow: var(--shadow); }

/* Feature media rows */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin: 2.5rem 0; }
.media-row.rev > .media-txt { order: 2; }
.media-row img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero { background: linear-gradient(130deg, var(--navy), var(--green-deep)); color: #fff; padding: clamp(2.6rem,6vw,4.2rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 58ch; margin: 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .8rem; }
.breadcrumb a { color: var(--teal); }

/* ============================================================
   Channel grid
   ============================================================ */
.chan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: .9rem; }
.chan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem .9rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  transition: transform .15s, box-shadow .2s; }
.chan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.chan-logo { width: 100%; height: 58px; display: grid; place-items: center; }
.chan-logo img { max-height: 58px; max-width: 120px; width: auto; object-fit: contain; }
.chan .name { font-weight: 600; font-size: .9rem; color: var(--navy); line-height: 1.2; }
.chan .price { color: var(--teal-dark); font-size: .85rem; font-weight: 600; }

/* ============================================================
   Forms
   ============================================================ */
.form-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.field { margin-bottom: 1.3rem; }
.field > label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: .4rem; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin: -.1rem 0 .5rem; }
.req { color: #d14; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=number],
.field input[type=date], .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fcfdfc; transition: border .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(67,168,59,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.grid-2-f { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.opt { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); margin-bottom: .6rem; cursor: pointer; transition: border .15s, background .15s; }
.opt:hover { border-color: var(--teal); }
.opt input { margin-top: .25rem; accent-color: var(--green); }
.opt span { font-size: .95rem; }
.fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.fieldset > legend { font-family: var(--font-head); font-weight: 600; color: var(--navy); margin-bottom: .6rem; padding: 0; }
.form-note { font-size: .88rem; color: var(--muted); background: var(--bg-mint); border-radius: var(--radius-sm); padding: .8rem 1rem; }

/* ============================================================
   Thank-you / status
   ============================================================ */
.tak { text-align: center; max-width: 620px; margin: 0 auto; padding: 4rem 0; }
.tak .check { width: 84px; height: 84px; border-radius: 50%; background: var(--bg-mint); color: var(--green);
  display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 1.4rem; }
.status-ok { display: inline-flex; align-items: center; gap: .5rem; background: var(--bg-mint); color: var(--green-deep);
  font-weight: 600; padding: .5rem 1rem; border-radius: 999px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(67,168,59,.2); }

/* ============================================================
   Contact cards
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.contact-card { text-align: center; }
.contact-card .ic { margin: 0 auto 1rem; }
.contact-card a { font-weight: 600; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--teal-dark)); color: #fff; border-radius: 22px;
  padding: clamp(2rem,5vw,3.2rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 54ch; margin: 0 auto 1.6rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.78); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 680px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--teal); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand img { height: 36px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .media-row, .media-row.rev > .media-txt { grid-template-columns: 1fr; order: 0; }
}
@media (max-width: 820px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { display: flex; position: fixed; inset: 74px 0 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 1rem; gap: .2rem; overflow-y: auto; }
  .main-nav.open .nav-item { width: 100%; }
  .main-nav.open .nav-link { justify-content: space-between; }
  .main-nav.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--bg-mint); border-radius: 0; margin: 0 0 .5rem .8rem; padding: 0 0 0 .4rem; }
  .main-nav.open .caret { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .contact-grid, .grid-2-f { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
}
