/* Kronhede Skov- og Haveservice — designsystem (baseret på forslag 3 "Vestkyst")
   Fyrregrøn som hovedfarve, rav/okker som accent, neutral lys baggrund. */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --mist: #eceee8;
  --pine: #24402f;
  --pine-d: #1a2f22;
  --moss: #5d7a4f;
  --sage-l: #e2e9dd;
  --amber: #e3992f;
  --amber-d: #c9821c;
  --ink: #22251f;
  --muted: #62685e;
  --line: #dfe2da;
  --radius: 22px;
  --radius-lg: 30px;
  --shadow: 0 26px 50px -28px rgba(26, 47, 34, .45);
  --max: 1160px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17.5px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -.015em; color: var(--pine); margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 3.8vw, 3rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--moss); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tight-top { padding-top: 0; }
.center { text-align: center; max-width: 700px; margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--sage-l); color: var(--pine); font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 48ch; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 14px; font-family: inherit; font-weight: 800; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-d); }
.btn-pine { background: var(--pine); color: #fff; }
.btn-pine:hover { background: var(--pine-d); }
.btn-white { background: var(--surface); color: var(--pine); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(246, 246, 243, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 50px; height: 50px; flex: none; }
.logo b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1; color: var(--pine); }
.logo small { font-size: .76rem; font-weight: 700; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--moss); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links .btn { padding: 12px 20px; }
.menu-toggle { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; width: 100%; }
  .menu-toggle { display: inline-flex; background: var(--pine); color: #fff; border: 0; border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; }
}

/* Foto-pladsholder: læg et billede i assets/foto/ med det angivne filnavn, så vises det automatisk */
.ph { position: relative; margin: 0; overflow: hidden; background: repeating-linear-gradient(135deg, #dfe5da 0 14px, #e7ece3 14px 28px); display: grid; place-items: center; text-align: center; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph figcaption { position: relative; padding: 20px; max-width: 30ch; color: var(--pine); font-weight: 700; font-size: .92rem; line-height: 1.4; }
.ph figcaption::before { content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324402f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 22px no-repeat; }
.ph figcaption code { display: block; margin-top: 6px; font-family: ui-monospace, Menlo, monospace; font-size: .72rem; font-weight: 500; color: var(--muted); }
.ph.round { border-radius: var(--radius-lg); }
.ph.blob { border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; }

/* Hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-media { position: relative; }
.hero-media .ph { aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.float-card { position: absolute; z-index: 3; left: -8px; bottom: 8%; display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); font-size: .9rem; }
.float-card b { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--pine); }
.float-card .dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #3fae5d; box-shadow: 0 0 0 5px rgba(63,174,93,.2); }
.badge-round { position: absolute; z-index: 3; top: 0; right: 4%; width: 112px; height: 112px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .88rem; line-height: 1.15; transform: rotate(10deg); box-shadow: var(--shadow); }
.badge-round span { display: block; font-family: var(--serif); font-size: 1.7rem; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: .95rem; color: var(--pine); }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--sage-l); color: var(--pine); font-size: .75rem; }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .92rem; }
.rating .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.1rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; width: 100%; margin: 0 auto; }
  .float-card { left: 0; }
}

/* Bølger + grøn sektion */
.wave { display: block; width: 100%; height: 70px; }
.green { background: var(--pine); color: #e8ece4; }
.green h2, .green h3 { color: #fff; }
.green h2 em { color: var(--amber); }
.green .muted { color: #b9c4b5; }

/* Ydelseskort */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card { display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .2s ease; }
.card:hover { transform: translateY(-5px); }
.card .ph { aspect-ratio: 16 / 10; }
.card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card h3, .green .card h3 { color: var(--pine); }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 800; color: var(--moss); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; counter-reset: s; }
.step { text-align: center; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: var(--sage-l); color: var(--pine); font-family: var(--serif); font-weight: 700; font-size: 1.55rem; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split .ph { aspect-ratio: 4 / 5; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split .ph { aspect-ratio: 4 / 3; } }
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.areas li { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 15px; font-weight: 700; font-size: .9rem; }

/* Kundeudtalelse */
.quote { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 60px); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.quote .q { font-family: var(--serif); font-size: 6rem; line-height: .7; color: var(--amber); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.32; color: var(--pine); }
.quote cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: .95rem; color: var(--muted); }
@media (max-width: 700px) { .quote { grid-template-columns: 1fr; gap: 8px; } }

/* Indholdssider */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { font-weight: 700; text-decoration: none; }
.crumbs a:hover { color: var(--moss); }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; font-size: 1.25rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--amber); }
.prose figure.ph { aspect-ratio: 16 / 9; border-radius: var(--radius); margin: 28px 0; }
.aside { position: sticky; top: 104px; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.aside .btn { width: 100%; margin-top: 10px; }
.aside .phone { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--pine); text-decoration: none; margin: 4px 0 6px; }
.aside ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; }
.aside li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.aside li::before { content: "✓"; color: var(--moss); font-weight: 800; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .aside { position: static; } }

.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.price-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; }
.price-card .k { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-card .v { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--pine); margin: 4px 0; }
.price-card p { margin: 0; font-size: .88rem; color: var(--muted); }
@media (max-width: 700px) { .price-cards { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: var(--surface); border-radius: 18px; padding: 0 24px; margin-bottom: 12px; border: 1.5px solid transparent; }
.faq details[open] { border-color: var(--pine); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 800; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 20px; color: var(--muted); }

/* Værdier (om os) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.value { background: var(--surface); border-radius: var(--radius); padding: 30px; }
.value .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sage-l); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.value p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 36px; }
.gallery .ph { border-radius: 18px; aspect-ratio: 1 / 1; }
.gallery .ph:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .ph:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact .phone { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); color: var(--pine); text-decoration: none; margin: 8px 0; }
.form-box { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
form.quote-form { display: grid; gap: 14px; }
.quote-form label { display: grid; gap: 6px; font-weight: 800; font-size: .9rem; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 3px solid rgba(227,153,47,.35); border-color: var(--pine); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #8a1f1f; font-size: .92rem; }
.quote-form button:disabled { opacity: .6; cursor: wait; }
.quote-form .botcheck { display: none; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quote-form .row { grid-template-columns: 1fr; } }

/* CTA-bånd */
.cta-band { background: var(--pine); color: #e8ece4; border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: #b9c4b5; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer.site { background: var(--pine-d); color: #b9c4b5; padding: 60px 0 26px; margin-top: clamp(64px, 9vw, 110px); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer.site h4 { margin: 0 0 14px; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 8px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--amber); }
footer.site .logo b { color: #fff; }
footer.site .logo small { color: #93a08f; }
footer.site .logo { margin-bottom: 14px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobil ring-knap */
.call-fab { display: none; }
@media (max-width: 700px) {
  .call-fab { display: flex; position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); }
  body { padding-bottom: 84px; }
}
