/* Gartimo V2 — garden & property care, Steinhausen */
:root {
  --forest: #143528;
  --forest-deep: #0e241a;
  --leaf: #0e8a3e;
  --leaf-bright: #00a651;
  --sage: #d4ead9;
  --mist: #eef5ef;
  --paper: #fafaf7;
  --ink: #142019;
  --ink-soft: #334038;
  --line: rgba(27, 61, 47, 0.12);
  --shadow: 0 18px 50px rgba(18, 40, 32, 0.12);
  --radius: 4px;
  --container: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(79, 134, 92, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(220, 232, 221, 0.7), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--leaf-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--forest);
}

:focus-visible {
  outline: 2px solid var(--leaf-bright);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(18, 40, 32, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--forest);
}

.brand img {
  height: 3.75rem;
  width: auto;
  background: transparent;
  display: block;
}

.home .brand img {
  height: 4.5rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--forest);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.5rem;
  background: var(--forest) !important;
  color: #fff !important;
  padding: 0.6rem 1.1rem !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--leaf) !important;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--forest);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92dvh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 28, 22, 0.55) 0%, rgba(12, 28, 22, 0.35) 38%, rgba(12, 28, 22, 0.82) 100%),
    linear-gradient(105deg, rgba(12, 28, 22, 0.72) 0%, rgba(12, 28, 22, 0.25) 52%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 38rem;
}

.hero-logo {
  display: block;
  width: min(100%, 16.5rem);
  height: auto;
  margin: 0 0 1.25rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

@media (min-width: 700px) {
  .hero-logo {
    width: min(100%, 20rem);
  }
}

@media (min-width: 1100px) {
  .hero-logo {
    width: min(100%, 22rem);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.95);
  text-wrap: balance;
}

.hero-content > p:not(.hero-brand) {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.hero-lead-line {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-lead-line {
    white-space: normal;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #fff;
  color: var(--forest);
}

.btn-primary:hover {
  background: var(--sage);
  color: var(--forest-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.btn-solid {
  background: var(--forest);
  color: #fff;
}

.btn-solid:hover {
  background: var(--leaf);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: rgba(27, 61, 47, 0.28);
}

.btn-outline:hover {
  border-color: var(--forest);
  background: var(--sage);
  color: var(--forest);
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0 5.75rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-label {
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--leaf-bright);
  margin-bottom: 0.55rem;
}

.section {
  color: var(--ink);
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 0.85rem;
  text-wrap: balance;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 48ch;
}

/* Services — asymmetric, not equal cards */
.services-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}

.service-feature {
  position: relative;
  min-height: 28rem;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  isolation: isolate;
}

.service-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1);
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.service-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 15%, rgba(10, 24, 18, 0.55) 55%, rgba(10, 24, 18, 0.92) 100%);
  transition: background 0.3s var(--ease);
}

.service-feature:hover::after {
  background: linear-gradient(180deg, transparent 10%, rgba(10, 24, 18, 0.6) 50%, rgba(10, 24, 18, 0.95) 100%);
}

.service-feature,
.service-side,
.service-feature:hover,
.service-side:hover,
.service-feature:focus-visible,
.service-side:focus-visible {
  color: #fff;
}

.service-feature h3,
.service-side h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.service-feature p,
.service-side p {
  position: relative;
  z-index: 2;
  margin: 0;
  opacity: 0.95;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.95);
}

.service-stack {
  display: grid;
  gap: 1.25rem;
}

.service-side {
  position: relative;
  min-height: 13.25rem;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  isolation: isolate;
}

.service-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1);
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.service-side::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 8%, rgba(10, 24, 18, 0.55) 50%, rgba(10, 24, 18, 0.92) 100%);
}

.service-side:hover::after {
  background: linear-gradient(180deg, transparent 5%, rgba(10, 24, 18, 0.62) 48%, rgba(10, 24, 18, 0.95) 100%);
}

.service-feature:hover img,
.service-side:hover img,
.service-stack .service-side:hover img {
  transform: scale(1.08);
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 22rem;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: auto auto -1.5rem -1.5rem;
  width: 45%;
  height: 45%;
  background: var(--sage);
  z-index: -1;
  border-radius: 8px;
}

.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--forest);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.about-copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 550;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--leaf-bright);
  box-shadow: 0 0 0 4px rgba(79, 134, 92, 0.18);
}

/* CTA band */
.cta-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  border-radius: 10px;
  min-height: 18rem;
  display: grid;
  align-items: center;
  padding: 3rem;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(18, 40, 32, 0.92) 0%, rgba(18, 40, 32, 0.55) 70%, rgba(18, 40, 32, 0.35) 100%);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.cta-band p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    linear-gradient(180deg, var(--sage) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: var(--forest);
}

.page-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0 5rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 1.55rem;
  margin: 2rem 0 0.75rem;
}

.prose p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  max-width: 58ch;
}

.page-aside {
  position: sticky;
  top: 6rem;
}

.aside-panel {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  overflow: hidden;
}

.aside-panel img {
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 1.25rem;
  max-width: none;
  height: 12rem;
  object-fit: cover;
}

.aside-panel h3 {
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.aside-panel p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 5rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(18, 40, 32, 0.04);
}

.contact-card h2 {
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 1.25rem;
  font-size: 1.6rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
  opacity: 1;
  padding-top: 0.15rem;
}

.contact-list strong {
  font-weight: 600;
  color: var(--ink);
}

.map-note {
  background: var(--mist);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.map-note h2 {
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 0.75rem;
}

.map-note p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 3.6rem;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer .brand-tag {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer-bottom a {
  opacity: 0.7;
}

/* Reveal motion */
.reveal {
  opacity: 0.08;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .brand img,
  .home .brand img {
    height: 3.4rem;
  }

  .hero-logo {
    width: min(100%, 14rem);
  }

  .services-grid,
  .about-split,
  .page-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: 20rem;
  }

  .page-aside {
    position: static;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 247, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.5rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-bar {
    position: relative;
  }

  .cta-band {
    padding: 2.25rem;
  }

  .hero-content {
    padding: 4rem 0 3.25rem;
  }
}

@media (max-width: 560px) {
  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
