/* One variable file covers both 400 and 600. `font-weight: 400 600` declares the
   supported axis range — the browser instances each weight from the same download. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
}

/* The site is dark end to end, matching the live design. Light values are kept as
   tokens because a few surfaces (image captions, focus rings) still need them. */
:root {
  --accent: #54B435;
  --accent-bright: #6FDC49;
  --accent-soft: rgba(84, 180, 53, 0.10);
  --accent-line: rgba(84, 180, 53, 0.22);
  --ground: #080a0d;
  --ground-alt: #0c1014;
  --ground-deep: #050608;
  --card: rgba(84, 180, 53, 0.045);
  --ink: #e8edf1;
  --ink-strong: #ffffff;
  --ink-muted: #9aa4ad;
  --line: rgba(255, 255, 255, 0.10);
  --wrap: 1180px;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink-strong); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
h2 {
  font-size: clamp(1.45rem, 2.9vw, 2.15rem);
  text-transform: uppercase; letter-spacing: .005em;
  margin: 0 0 1rem;
}
h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .6rem; }
p { max-width: 70ch; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--ground-alt); }
.section--dark { background: var(--ground-deep); }

/* Small green label above a heading — the live site's signature section device. */
.eyebrow {
  margin: 0 0 .7rem; color: var(--accent);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.lead { max-width: 60ch; color: var(--ink-muted); font-size: 1.05rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.9rem; border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: #11161b; color: #fff; border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.btn--primary:hover { background: #1a2027; }
.btn--ghost { background: transparent; border-color: var(--accent); color: var(--accent-bright); }
.btn--ghost:hover { background: var(--accent); color: #06210a; }

.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }
.cta__meta {
  margin: 1rem 0 0; font-size: .88rem; color: var(--ink-muted);
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 6, 8, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  justify-content: space-between; padding-block: .8rem;
}
.site-header__brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.site-header__logo { display: block; width: auto; height: 42px; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; color: var(--ink);
  padding-block: .25rem; border-bottom: 2px solid transparent;
}
.site-header nav a:not(.btn):hover { color: var(--accent-bright); border-bottom-color: var(--accent); }
.site-header__phone { padding: .6rem 1.3rem; white-space: nowrap; }

/* burger: hidden on desktop, the only nav control on mobile */
.nav-burger { display: none; }
.nav-burger__bars, .nav-burger__bars::before, .nav-burger__bars::after {
  display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger__bars::before, .nav-burger__bars::after { content: ""; position: absolute; }
.nav-burger__bars::before { transform: translateY(-7px); }
.nav-burger__bars::after { transform: translateY(7px); }

@media (max-width: 860px) {
  .nav-burger {
    display: grid; place-items: center; position: relative; margin-left: auto;
    width: 46px; height: 46px; cursor: pointer; border-radius: 10px;
    border: 1px solid var(--line);
  }
  /* With the menu open the logo would only compete with the list for space. */
  .nav-toggle:checked ~ .site-header__brand { display: none; }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 3px solid var(--accent-bright); outline-offset: 3px; }
  .site-header nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .3rem;
  }
  .nav-toggle:checked ~ nav { display: flex; }
  .site-header nav a:not(.btn) { padding: .85rem .25rem; border-bottom: 1px solid var(--line); }
  .site-header__phone { margin-top: .8rem; justify-content: center; }
  /* burger turns into an X while the menu is open */
  .nav-toggle:checked ~ .nav-burger .nav-burger__bars { background: transparent; }
  .nav-toggle:checked ~ .nav-burger .nav-burger__bars::before { transform: rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger .nav-burger__bars::after { transform: rotate(-45deg); }
}

/* ---------- hero ---------- */
.section--hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(520px, 78vh, 780px);
  display: flex; align-items: center;
  padding-block: clamp(3rem, 8vw, 5rem);
}
.section--hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%;
}
/* Dark from the left so the copy always has ground under it, clear on the right so the
   photograph is actually visible — the live site's composition. */
.section--hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 8, 10, .95) 0%, rgba(6, 8, 10, .82) 34%, rgba(6, 8, 10, .30) 68%, rgba(6, 8, 10, .15) 100%),
    linear-gradient(180deg, rgba(6, 8, 10, .55) 0%, rgba(6, 8, 10, 0) 30%, rgba(6, 8, 10, .55) 100%);
}
.section--hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.02em; text-transform: lowercase;
  font-weight: 700; margin: 0 0 1.1rem; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .6);
}
.section--hero h1 .accent { color: var(--accent-bright); }
.hero__lead { margin: 0; max-width: 44ch; font-size: clamp(1rem, 1.5vw, 1.1rem); color: rgba(255, 255, 255, .82); }

/* ---------- criteria box ---------- */
.criteria {
  margin-top: 1.6rem; padding: 1.1rem 1.35rem; max-width: 34rem;
  border: 1px solid var(--accent-line); border-radius: 14px;
  background: rgba(8, 11, 14, .72); backdrop-filter: blur(4px);
}
.criteria__title {
  margin: 0 0 .6rem; color: var(--accent); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
}
.criteria ul { margin: 0; padding-left: 1.1rem; }
.criteria li { font-size: .95rem; }
.criteria li + li { margin-top: .45rem; }
.criteria li::marker { color: var(--accent); }

/* ---------- cards ---------- */
.cards {
  display: grid; gap: 1.25rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.card {
  padding: 1.6rem 1.5rem; border-radius: 16px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(160deg, rgba(84, 180, 53, .07) 0%, rgba(84, 180, 53, .015) 55%, transparent 100%), var(--ground-alt);
}
.card__step {
  display: block; margin-bottom: .55rem; color: var(--accent);
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.card h3 { margin: 0 0 .55rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: .95rem; max-width: none; }

.note {
  margin-top: 1.75rem; padding: 1rem 1.25rem; border-radius: 12px;
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  font-size: .95rem; max-width: none;
}

/* ---------- split: copy beside a photo ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split__media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.split__media img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.split__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 10, .10) 0%, rgba(6, 8, 10, .45) 100%);
}

/* ---------- FAQ as cards ---------- */
/* The gap belongs BETWEEN cards, so it lives on the list and each question/answer pair
   is a single bordered box rather than two. */
.faq__list { margin: 2rem 0 0; display: grid; gap: 1rem; }
.faq__item {
  padding: 1.25rem 1.45rem;
  border: 1px solid var(--accent-line); border-radius: 14px;
  background: var(--card);
  transition: border-color .15s ease;
}
.faq__item:hover { border-color: rgba(84, 180, 53, .4); }
.faq__item dt { font-weight: 700; color: var(--ink-strong); margin: 0 0 .45rem; }
.faq__item dd { margin: 0; color: var(--ink); opacity: .82; max-width: 78ch; }

/* ---------- ratgeber ---------- */
.guide__answer {
  margin: 0 0 2.25rem; padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  font-size: 1.1rem; line-height: 1.6; max-width: 64ch; color: var(--ink-strong);
}
.guide-list {
  list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.guide-list li {
  padding: 1.35rem 1.4rem; border: 1px solid var(--accent-line);
  border-radius: 16px; background: var(--card);
  transition: border-color .15s ease, transform .15s ease;
}
.guide-list li:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-list a { font-weight: 700; text-decoration: none; color: var(--ink-strong); }
.guide-list p { margin: .45rem 0 0; font-size: .92rem; color: var(--ink-muted); max-width: none; }

/* ---------- sticky contact buttons (all viewports) ---------- */
.float-cta {
  position: fixed; right: 1rem; z-index: 45;
  display: flex; flex-direction: column; gap: .8rem;
  top: 50%; transform: translateY(-50%);
}
.float-cta a {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  text-decoration: none; box-shadow: 0 8px 22px rgba(0, 0, 0, .55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.float-cta a:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(0, 0, 0, .65); }
.float-cta__call { background: #1f7391; }
.float-cta__wa { background: #25D366; }
.float-cta svg { width: 26px; height: 26px; fill: #fff; }

/* On phones they sit bottom-right within thumb reach, and lift above the consent
   banner while a decision is still pending so neither covers the other. */
@media (max-width: 860px) {
  .float-cta { right: .8rem; gap: .7rem; }
  .float-cta a { width: 52px; height: 52px; }
}

/* ---------- consent + mobile bar ---------- */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; background: var(--ground-deep); color: var(--ink);
  border-top: 1px solid var(--accent-line);
}
.consent[hidden] { display: none; }
.consent__text { margin: 0; max-width: 62ch; font-size: .88rem; }
.consent__actions { display: flex; gap: .6rem; }
.consent .btn { padding: .6rem 1.2rem; font-size: .9rem; }



/* ---------- footer ---------- */
.site-footer { background: var(--ground-deep); border-top: 1px solid var(--line); }
.footer__cols {
  display: grid; gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer__cols p { color: var(--ink-muted); font-size: .93rem; }
.footer__cols nav { display: flex; flex-direction: column; gap: .35rem; align-items: start; }
.footer__heading {
  margin: 0 0 .5rem; color: var(--accent); font-weight: 700;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
}
.footer__cols a { text-decoration: none; font-size: .93rem; color: var(--ink); }
.footer__cols a:hover, .footer__legal a:hover { color: var(--accent-bright); }
.footer__legal {
  display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .9rem;
  margin-top: 2.25rem; padding-top: 1.35rem; border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 1.15rem; }
  .section { padding: clamp(2.5rem, 9vw, 3.5rem) 0; }
  .site-header__logo { height: 64px; }

  .section--hero { min-height: auto; padding-block: 3.5rem 3rem; align-items: flex-end; }
  /* Straight-down gradient on narrow screens: there is no space beside the text for the
     photo to show through, so the left-to-right fade would only mud it up. */
  .section--hero::after {
    background: linear-gradient(180deg, rgba(6, 8, 10, .58) 0%, rgba(6, 8, 10, .80) 55%, rgba(6, 8, 10, .96) 100%);
  }
  .section--hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); max-width: 100%; }
  .hero__lead { max-width: 100%; }
  .criteria { max-width: 100%; }

  /* Full-width tap targets — both conversions should be reachable with one thumb. */
  .cta { gap: .7rem; }
  .cta .btn { flex: 1 1 100%; }
  .cta__meta { flex-direction: column; align-items: flex-start; gap: .15rem; }
  .cta__meta span { display: none; }

  .card, .faq__item, .guide-list li { padding: 1.15rem 1.2rem; }
  .split__media img { min-height: 200px; }
  .guide__answer { font-size: 1.02rem; padding: 1rem 1.15rem; }

  .consent { padding: .9rem 1.15rem; gap: .75rem; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1 1 0; }
  .footer__legal { gap: .9rem; }
}

@media (max-width: 420px) {
  .site-header__logo { height: 56px; }
  .float-cta a { width: 48px; height: 48px; }
  .float-cta svg { width: 22px; height: 22px; }
}
