@font-face {
  font-family: "Mulish";
  src: url("mulish.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #121714;
  --muted: #55605a;
  --leaf: #86c06b;      /* Logo-Grün, nur für Flächen und Linien */
  --leaf-deep: #2f6b3d; /* Grün für Text und Links auf hellem Grund */
  --mist: #eef3e9;
  --moss: #16301f;
  --line: #dfe6da;
  --stem-x: 28px;
}

* { box-sizing: border-box; }

html {
  font-family: "Mulish", ui-rounded, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  hyphens: manual;
}
body { margin: 0; }
img { max-width: 100%; }
a { color: var(--leaf-deep); text-underline-offset: .18em; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--leaf-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Kopfzeile */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: block; line-height: 0; }
.brand img { display: block; height: 52px; width: auto; }
.site-nav a {
  margin-left: 24px; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { color: var(--leaf-deep); text-decoration: underline; }

/* Stiel: die Linie aus dem Logo läuft durch Einstieg und Ablauf */
.stem {
  position: relative;
  padding: 88px 0 0 88px;
}
.stem::before {
  content: "";
  position: absolute;
  left: calc(var(--stem-x) - 3px);
  top: 80px;
  bottom: 0;
  width: 6px;
  background: var(--leaf);
  border-radius: 3px 3px 0 0;
  transform-origin: top;
  animation: stem-grow 1.3s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes stem-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.node {
  position: absolute;
  border-radius: 50%;
  border: 5px solid var(--leaf);
  background: var(--paper);
}
.node-lg { width: 56px; height: 56px; border-width: 8px; left: 0; top: 28px; }

/* Einstieg */
.intro { padding-bottom: 72px; position: relative; max-width: 720px; }
.intro h1 {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 6.2vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.intro p { margin: 0 0 32px; font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.btn {
  display: inline-block; padding: 14px 26px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; border-radius: 999px;
  transition: background-color .15s;
}
.btn:hover { background: var(--leaf-deep); }

/* Ablauf */
.ablauf { position: relative; padding-bottom: 80px; }
.ablauf h2 {
  margin: 0 0 40px; font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.01em; max-width: 24em;
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-bottom: 40px; max-width: 34em; }
.steps li:last-child { padding-bottom: 0; }
.steps .node {
  width: 28px; height: 28px;
  left: calc(-88px + var(--stem-x) - 14px);
  top: .3em;
}
.steps h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.steps p { margin: 0; color: var(--muted); }

/* Kontakt */
.kontakt { background: var(--moss); color: #eaf1e6; padding: 80px 0; }
.kontakt h2 {
  margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 300; letter-spacing: -0.015em; line-height: 1.2;
}
.kontakt p { margin: 0 0 8px; max-width: 32em; }
.kontakt .mail {
  display: inline-block; margin: 20px 0 28px;
  font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 700;
  color: var(--leaf); text-decoration-thickness: 2px;
}
.kontakt .mail:hover { color: #fff; }
.kontakt .mail:focus-visible { outline-color: var(--leaf); }
.kontakt address { font-style: normal; color: #c3d2bf; }

/* Fußzeile */
.site-footer { padding: 28px 0 44px; font-size: .9rem; color: var(--muted); }
.site-footer a { color: var(--muted); margin-right: 20px; }
.site-footer a:hover { color: var(--leaf-deep); }

/* Rechtstexte */
.legal { padding: 56px 24px 72px; max-width: 42em; }
.legal h1 { margin: 0 0 24px; font-size: 2.2rem; font-weight: 300; letter-spacing: -0.015em; }
.legal h2 { margin: 2em 0 .4em; font-size: 1.15rem; font-weight: 700; }
.legal p { margin: 0 0 1em; }

@media (max-width: 640px) {
  :root { --stem-x: 20px; }
  .stem { padding: 64px 0 0 60px; }
  .stem::before { top: 56px; }
  .node-lg { width: 40px; height: 40px; border-width: 6px; top: 20px; }
  .steps .node { left: calc(-60px + var(--stem-x) - 14px); }
  .site-nav a { margin-left: 14px; font-size: .9rem; }
  .brand img { height: 44px; }
  .intro { padding-bottom: 48px; }
  .kontakt { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stem::before { animation: none; }
  .btn { transition: none; }
}
