:root {
  --green-light: #84cf48;
  --green: #5aaf2c;
  --green-dark: #4fa028;
  --ink: #26303a;
  --ink-soft: #5b6670;
  --muted: #7a848e;
  --faint: #9aa4ae;
  --line: #eef1f4;
  --line-strong: #dce2e7;
  --surface: #f5f7f9;
  --white: #fff;
  --radius: 12px;
  --max: 1140px;
  --font: "Manrope", system-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);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--green-light);
  color: var(--white);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Brand mark */
.logo-mark {
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__name {
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  line-height: 1;
}

.brand__name span {
  color: var(--green);
  font-weight: 600;
}

.brand__tag {
  font-weight: 600;
  font-size: 7px;
  letter-spacing: 0.3em;
  color: var(--faint);
  margin-top: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:not(.btn) {
  transition: color 0.2s var(--ease);
}

.nav a:not(.btn):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--radius);
  transition: filter 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: var(--white);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: #1b232b;
}

.btn--nav {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14.5px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.hero__watermark {
  position: absolute;
  top: -80px;
  right: -60px;
  opacity: 0.06;
  transform: rotate(8deg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding: 104px 32px 112px;
  max-width: var(--max);
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid #e7ecf0;
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 26px 0 38px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
.section {
  padding: 100px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.section--flush {
  max-width: none;
  padding: 0;
}

.section__intro {
  max-width: 620px;
  margin-bottom: 52px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

/* Leistungen */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service {
  background: var(--surface);
  border-radius: 18px;
  padding: 34px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(38, 48, 58, 0.06);
}

.service__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}

.service h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}

.service p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Ansatz */
.approach {
  background: var(--ink);
  color: var(--white);
}

.approach .eyebrow {
  color: #8ad34f;
}

.approach h2 {
  color: var(--white);
}

.approach__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  border-top: 2px solid #3c4753;
  padding-top: 22px;
}

.step__num {
  font-size: 15px;
  font-weight: 800;
  color: #8ad34f;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--white);
}

.step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--faint);
  margin: 0;
}

/* Über uns */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.about p:last-child {
  margin-bottom: 0;
}

.about h2 {
  margin-bottom: 22px;
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.point {
  background: var(--surface);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.point__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  flex: none;
}

/* Kontakt */
.contact {
  max-width: var(--max);
  margin: 0 auto 90px;
  padding: 0 32px;
}

.contact__panel {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  border-radius: 24px;
  padding: 66px 56px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact__panel h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  margin: 0 0 14px;
}

.contact__panel p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 28px;
}

.contact__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 32px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.contact__details a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 44px 32px;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer .brand__name {
  font-size: 16px;
}

.site-footer .brand__tag {
  font-size: 6.5px;
}

.site-footer__meta {
  font-size: 13px;
  color: var(--faint);
  max-width: 420px;
}

.site-footer__links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.site-footer__links a:hover {
  color: var(--ink);
}

/* Legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.legal h1 {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
}

.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal ul {
  padding-left: 1.2em;
}

.legal a {
  color: var(--green);
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@supports not (animation-timeline: view()) {
  /* Keep content readable if JS fails to mark visibility. */
  .no-js .reveal {
    opacity: 1;
    transform: none;
  }
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .service:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__panel {
    padding: 48px 28px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
    margin-top: 8px;
    text-align: center;
  }

  .hero__inner {
    padding: 72px 24px 80px;
  }

  .section,
  .approach__inner {
    padding: 72px 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
  }

  .contact {
    margin-bottom: 48px;
    padding: 0 24px;
  }
}
