
/* Fix: Sticky-Headline Leistungen kompakter, damit sie nicht in die rechte Spalte läuft */
.services-layout .services-sticky h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
/* ==========================================================================
   PRÄVENTA — Designsystem
   Sicherheit mit Haltung. Prävention mit Wirkung.
   ========================================================================== */

:root {
  /* Farbwelt — orientiert am Logo */
  --green: #76B82A;
  --green-deep: #5E9A1E;
  --green-ink: #3E6B12;
  --green-tint: #EEF6E2;
  --green-tint-2: #E2F0CE;
  --paper: #FAF8F3;
  --paper-2: #F3F1EA;
  --ink: #191C17;
  --anthracite: #23261F;
  --grey: #6E7268;
  --line: #E2DFD5;
  --white: #FFFFFF;

  /* Typografie */
  --font-sans: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  /* Skalen */
  --display-xl: clamp(3rem, 11vw, 10.5rem);
  --display-lg: clamp(2.4rem, 7vw, 6.5rem);
  --display-md: clamp(1.9rem, 4.5vw, 4rem);
  --display-sm: clamp(1.4rem, 3vw, 2.4rem);

  --space-section: clamp(6rem, 14vh, 12rem);
  --gutter: clamp(1.25rem, 5vw, 6rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.9s;

  --radius: 2px;
}

/* Reset & Basis */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--white); }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { max-width: 62ch; }

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* Custom Cursor (nur Desktop mit Maus) */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background 0.35s var(--ease-out), opacity 0.3s;
  display: none;
  will-change: transform;
}
.cursor-dot .cursor-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor-dot.is-hover {
  width: 64px; height: 64px;
  background: var(--green);
  mix-blend-mode: normal;
}
.cursor-dot.is-hover .cursor-label { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
  body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor { cursor: none; }
}

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              padding 0.4s var(--ease-out), transform 0.45s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-header.is-hidden { transform: translateY(-110%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 42px; height: 42px;
  flex: none;
}
.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.brand-name span { color: var(--green-deep); }
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease-out);
}
.site-header.is-scrolled .brand-logo { height: 46px; }
@media (max-width: 860px) {
  .brand-logo { height: 46px; }
  .site-header.is-scrolled .brand-logo { height: 40px; }
}

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.4rem); }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.6rem;
  z-index: 1001;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--anthracite);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.55s var(--ease-inout);
    z-index: 1000;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; }
  .main-nav a:not(.btn)::after { height: 3px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn .btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green-deep); color: var(--white); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--ink); }

.btn-outline {
  border: 1.5px solid var(--ink);
  background: transparent;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--anthracite); color: var(--paper); }

/* Layout-Helfer */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); position: relative; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.6rem;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--green);
}

.hand-note {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--green-deep);
  font-weight: 600;
  line-height: 1.2;
  transform: rotate(-2deg);
  display: inline-block;
}

/* Handgezeichnete Unterstreichung */
.u-mark { position: relative; white-space: nowrap; }
.u-mark svg {
  position: absolute;
  left: -2%; bottom: -0.18em;
  width: 104%; height: 0.35em;
  overflow: visible;
}
.u-mark svg path {
  fill: none;
  stroke: var(--green);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.in-view .u-mark svg path,
.u-mark.in-view svg path {
  animation: draw 1.1s var(--ease-out) 0.35s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Parallax-Elemente */
[data-parallax] { will-change: transform; }
/* HERO */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 7rem;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }

.hero-title {
  font-size: var(--display-xl);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; color: var(--green); }
@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  margin-top: 2.2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 34rem;
  color: var(--anthracite);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.7s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero-scene {
  position: absolute;
  right: calc(var(--gutter) * 0.5);
  bottom: 0;
  width: min(46vw, 640px);
  z-index: 1;
  pointer-events: none;
}
.hero-scene svg { width: 100%; height: auto; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.1s forwards;
}
.hero-scroll-hint .wheel {
  width: 1px; height: 44px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero-scroll-hint .wheel::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--green);
  animation: scrollLine 2s var(--ease-inout) infinite;
}
@keyframes scrollLine {
  0% { top: -50%; }
  60%, 100% { top: 110%; }
}

@media (max-width: 860px) {
  .hero { padding-top: 6rem; }
  .hero-scene {
    position: relative;
    right: auto;
    width: min(80vw, 420px);
    margin: 3rem auto 0;
  }
  .hero-scroll-hint { display: none; }
}

/* Figuren-Ästhetik (SVG global) */
.sketch { stroke: var(--anthracite); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sketch-thin { stroke-width: 3.5; }
.sketch-green { stroke: var(--green); }
.fill-green { fill: var(--green); stroke: none; }
.fill-paper { fill: var(--paper); }

/* INTRO */
.intro { background: var(--paper); }
.intro-statement {
  font-size: var(--display-lg);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 20ch;
}
.intro-statement em {
  font-style: normal;
  color: var(--green-deep);
}
.intro-body {
  margin-top: 2.4rem;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  max-width: 40rem;
  color: var(--anthracite);
}
.intro-figure {
  position: absolute;
  right: var(--gutter);
  bottom: var(--space-section);
  width: clamp(90px, 12vw, 170px);
  opacity: 0.9;
}
@media (max-width: 1000px) { .intro-figure { display: none; } }

/* MISSION */
.mission {
  background: var(--anthracite);
  color: var(--paper);
}
.mission .kicker { color: var(--green); }
.mission-title {
  font-size: var(--display-md);
  max-width: 24ch;
  line-height: 1.12;
}
.mission-title .hl {
  position: relative;
  display: inline-block;
  padding: 0 0.18em;
  z-index: 1;
  white-space: nowrap;
}
.mission-title .hl::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.05em;
  background: var(--green);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
  border-radius: 3px;
}
.mission-title .hl.in-view::before { transform: scaleX(1); }
.mission-body {
  margin-top: 2.5rem;
  font-size: 1.15rem;
  color: rgba(250, 248, 243, 0.78);
  max-width: 46rem;
}
.mission-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.mission-aside { position: relative; }
.mission-aside .hand-note { color: var(--green); }
.mission-shield { width: clamp(140px, 16vw, 220px); margin-top: 1.4rem; }
.mission-shield .draw-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.mission-shield.in-view .draw-path { animation: draw 1.6s var(--ease-out) 0.2s forwards; }
@media (max-width: 860px) {
  .mission-grid { grid-template-columns: 1fr; }
}

/* FÜR WEN */
.audience-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.audience-title { font-size: var(--display-md); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.audience-card {
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  min-height: clamp(200px, 24vw, 300px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out);
  background: var(--paper);
}
.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green-tint);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.audience-card:hover { transform: translateY(-6px); }
.audience-card:hover::before { transform: translateY(0); }
.audience-num {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--green-deep);
}
.audience-name {
  position: relative;
  z-index: 1;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.audience-card .card-mark {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  width: 54px;
  opacity: 0;
  transform: rotate(-6deg) scale(0.8);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 1;
}
.audience-card:hover .card-mark { opacity: 1; transform: rotate(0deg) scale(1); }
@media (max-width: 960px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }
/* LEISTUNGEN — Sticky Storytelling */
.services { background: var(--paper-2); }
.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.5fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.services-sticky {
  position: sticky;
  top: clamp(5rem, 14vh, 9rem);
}
.services-sticky h2 {
  font-size: var(--display-lg);
  text-transform: uppercase;
  line-height: 0.95;
}
.services-sticky h2 span { color: var(--green); display: block; }
.services-progress {
  margin-top: 2.4rem;
  display: flex;
  gap: 0.5rem;
}
.services-progress i {
  width: 34px; height: 3px;
  background: var(--line);
  transition: background 0.4s;
}
.services-progress i.is-active { background: var(--green); }

.service-block {
  padding: clamp(2.2rem, 5vh, 4rem) 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.35;
  transition: opacity 0.55s var(--ease-out);
}
.service-block.is-current { opacity: 1; }
.service-block:last-child { border-bottom: none; }
.service-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green-deep);
}
.service-name {
  font-size: var(--display-sm);
  margin: 0.7rem 0 1.1rem;
}
.service-desc { color: var(--anthracite); }
.service-points {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}
.service-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  color: var(--anthracite);
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(-48deg);
  border-radius: 1px;
}
@media (max-width: 960px) {
  .services-layout { grid-template-columns: 1fr; }
  .services-sticky { position: static; }
  .services-sticky h2 span { display: inline; }
  .service-block { opacity: 1; }
  .services-progress { display: none; }
}

/* DEESKALATION — Linien-Metapher */
.deescalation { background: var(--anthracite); color: var(--paper); overflow: hidden; }
.deescalation .kicker { color: var(--green); }
.deescalation-title { font-size: var(--display-md); max-width: 18ch; }
.deescalation-line { margin: clamp(2.5rem, 7vh, 5rem) 0; }
.deescalation-line svg { width: 100%; height: auto; overflow: visible; }
.deescalation-line .calm-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
}
.deescalation-line.in-view .calm-path {
  animation: draw 3.2s var(--ease-inout) 0.2s forwards;
}
.deescalation-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-hand);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  color: rgba(250,248,243,0.65);
  margin-top: 0.6rem;
}
.deescalation-labels span:last-child { color: var(--green); }
.deescalation-body {
  font-size: 1.12rem;
  color: rgba(250,248,243,0.8);
  max-width: 44rem;
}

/* HALTUNG — Prinzipien */
.values-title { font-size: var(--display-md); max-width: 16ch; }
.values-list { margin-top: clamp(3rem, 7vh, 5rem); }
.value-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: baseline;
  padding: clamp(1.8rem, 4vh, 3rem) 0;
  border-top: 1px solid var(--line);
}
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-num {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  min-width: 3rem;
}
.value-name {
  font-size: var(--display-sm);
  transition: transform 0.5s var(--ease-out), color 0.4s;
  transform-origin: left center;
}
.value-item .value-text {
  grid-column: 2;
  max-width: 44rem;
  color: var(--anthracite);
  margin-top: 0.6rem;
}
.value-item.in-view .value-name { color: var(--ink); }
.value-item:hover .value-name { transform: translateX(10px); color: var(--green-deep); }

/* ENTLASTUNG */
.relief { background: var(--green-tint); overflow: hidden; }
.relief-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}
.relief-title { font-size: var(--display-md); max-width: 15ch; }
.relief-body { margin-top: 1.8rem; font-size: 1.12rem; color: var(--anthracite); }
.relief-scene svg { width: 100%; }
.relief-scene .figure-late {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.relief-scene.in-view .figure-late { opacity: 1; transform: none; }
.relief-scene.in-view .figure-late.f2 { transition-delay: 0.35s; }
.relief-scene.in-view .figure-late.f3 { transition-delay: 0.7s; }
@media (max-width: 860px) {
  .relief-grid { grid-template-columns: 1fr; }
  .relief-scene { max-width: 420px; margin-inline: auto; }
}

/* QUALIFIKATION */
.qual-title { font-size: var(--display-md); max-width: 16ch; }
.qual-grid {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}
.qual-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.4rem;
}
.qual-list { list-style: none; margin: 0; padding: 0; }
.qual-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.qual-item:last-child { border-bottom: 1px solid var(--line); }
.qual-check { width: 2rem; height: 2rem; margin-top: -0.1rem; }
.qual-check svg { width: 100%; height: 100%; }
.qual-check path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.7s var(--ease-out);
}
.qual-skills.in-view .qual-check path { stroke-dashoffset: 0; }
.qual-skills.in-view .qual-item:nth-child(2) .qual-check path { transition-delay: 0.1s; }
.qual-skills.in-view .qual-item:nth-child(3) .qual-check path { transition-delay: 0.2s; }
.qual-skills.in-view .qual-item:nth-child(4) .qual-check path { transition-delay: 0.3s; }
.qual-skills.in-view .qual-item:nth-child(5) .qual-check path { transition-delay: 0.4s; }
.qual-skills.in-view .qual-item:nth-child(6) .qual-check path { transition-delay: 0.5s; }
.qual-skills.in-view .qual-item:nth-child(7) .qual-check path { transition-delay: 0.6s; }

.qual-rhythm {
  background: var(--anthracite);
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: 6px;
  position: relative;
}
.qual-rhythm .qual-subtitle { color: var(--green); }
.qual-note {
  position: absolute;
  top: -1.1rem;
  right: 1.6rem;
  color: var(--green);
  background: var(--paper);
  padding: 0.1rem 0.7rem;
  border-radius: 3px;
  transform: rotate(-2deg);
}
.qual-timeline { margin: 0; }
.qual-tl-item {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(250, 248, 243, 0.14);
}
.qual-tl-item dt {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 0.15rem;
}
.qual-tl-item dd { margin: 0; font-size: 1.02rem; line-height: 1.5; color: rgba(250, 248, 243, 0.88); }
@media (max-width: 900px) {
  .qual-grid { grid-template-columns: 1fr; }
  .qual-tl-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .qual-note { position: static; display: inline-block; margin-bottom: 1rem; }
}

/* PROZESS — Timeline */
.process-title { font-size: var(--display-md); }
.process-track {
  margin-top: clamp(3rem, 8vh, 5.5rem);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--line);
}
.process-track .track-fill {
  position: absolute;
  top: 9px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--green);
  transition: width 1.6s var(--ease-inout);
}
.process-track.in-view .track-fill { width: 100%; }
.process-step { position: relative; padding-top: 2.2rem; }
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--line);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease-out);
}
.process-step.is-lit::before {
  border-color: var(--green);
  background: var(--green);
  transform: scale(1.15);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step .step-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green-deep);
  display: block;
  margin-bottom: 0.4rem;
}
.process-step p { font-size: 0.95rem; color: var(--grey); }
@media (max-width: 960px) {
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-track::before, .process-track .track-fill {
    top: 0; left: 9px;
    width: 2px !important; height: 100%;
  }
  .process-track.in-view .track-fill { animation: fillV 1.6s var(--ease-inout) forwards; }
  @keyframes fillV { from { height: 0; } to { height: 100%; } }
  .process-step { padding: 0 0 2.4rem 3rem; }
  .process-step::before { top: 2px; }
}
/* NRW */
.nrw { background: var(--anthracite); color: var(--paper); overflow: hidden; }
.nrw .kicker { color: var(--green); }
.nrw-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}
.nrw-title {
  font-size: var(--display-md);
  text-transform: uppercase;
  line-height: 1.05;
}
.nrw-title span { color: var(--green); }
.nrw-body { margin-top: 1.6rem; color: rgba(250,248,243,0.75); }
.nrw-cities {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
}
.nrw-cities li {
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(250,248,243,0.25);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease-out);
}
.nrw-cities li:hover {
  border-color: var(--green);
  background: rgba(118,184,42,0.12);
  transform: translateY(-3px);
}
.nrw-map svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.nrw-map .map-outline {
  fill: none;
  stroke: rgba(250,248,243,0.55);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
}
.nrw-map.in-view .map-outline { animation: draw 3s var(--ease-inout) forwards; }
.nrw-map .map-dot {
  fill: var(--green);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.nrw-map.in-view .map-dot { animation: popDot 0.5s var(--ease-out) forwards; }
.nrw-map.in-view .map-dot.d1 { animation-delay: 1.2s; }
.nrw-map.in-view .map-dot.d2 { animation-delay: 1.55s; }
.nrw-map.in-view .map-dot.d3 { animation-delay: 1.8s; }
.nrw-map.in-view .map-dot.d4 { animation-delay: 2.05s; }
.nrw-map.in-view .map-dot.d5 { animation-delay: 2.3s; }
.nrw-map.in-view .map-dot.d6 { animation-delay: 2.55s; }
.nrw-map.in-view .map-dot.d7 { animation-delay: 2.8s; }
@keyframes popDot {
  0% { opacity: 0; transform: scale(0); }
  70% { transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}
.nrw-map .map-label {
  font-family: var(--font-hand);
  font-size: 26px;
  fill: rgba(250,248,243,0.8);
  opacity: 0;
}
.nrw-map.in-view .map-label { animation: fadeInLabel 0.8s ease 1.5s forwards; }
@keyframes fadeInLabel { to { opacity: 1; } }
.nrw-map .map-pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}
.nrw-map.in-view .map-pulse { animation: pulse 2.6s ease-out 1.6s infinite; }
@keyframes pulse {
  0% { opacity: 0.8; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(2.4); }
}
@media (max-width: 860px) { .nrw-grid { grid-template-columns: 1fr; } }

/* FINAL CTA */
.final-cta {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding-block: clamp(7rem, 18vh, 13rem);
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-size: var(--display-lg);
  max-width: 14ch;
  margin-inline: auto;
}
.final-cta p {
  margin: 1.8rem auto 2.8rem;
  font-size: 1.2rem;
  max-width: 34rem;
  color: rgba(255,255,255,0.9);
}
.final-cta .hand-note {
  color: rgba(255,255,255,0.85);
  margin-top: 2.5rem;
}
.final-cta .cta-figure {
  position: absolute;
  bottom: -6px;
  width: clamp(70px, 9vw, 130px);
  opacity: 0.95;
}
.final-cta .cta-figure.left { left: 6%; }
.final-cta .cta-figure.right { right: 6%; transform: scaleX(-1); }
.final-cta .cta-figure .sketch { stroke: var(--white); }
@media (max-width: 700px) { .final-cta .cta-figure { display: none; } }

/* FOOTER */
.site-footer {
  background: var(--anthracite);
  color: var(--paper);
  padding: clamp(3.5rem, 8vh, 5.5rem) var(--gutter) 2.2rem;
}
.footer-grid {
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.footer-claim {
  margin-top: 1.2rem;
  font-size: 1rem;
  color: rgba(250,248,243,0.65);
  line-height: 1.5;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a {
  color: rgba(250,248,243,0.8);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--green); }
.footer-meta {
  max-width: 1440px;
  margin: 3rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(250,248,243,0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250,248,243,0.5);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* UNTERSEITEN (Kontakt, Impressum, Datenschutz) */
.page-hero {
  padding: clamp(9rem, 22vh, 13rem) 0 clamp(3rem, 8vh, 5rem);
}
.page-hero h1 { font-size: var(--display-lg); max-width: 16ch; }
.page-hero .lead {
  margin-top: 1.8rem;
  font-size: 1.2rem;
  color: var(--anthracite);
  max-width: 38rem;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  padding-bottom: var(--space-section);
}
.contact-info h2 { font-size: 1.05rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 1.4rem; }
.contact-info .info-block { margin-bottom: 2rem; }
.contact-info .info-block strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; }
.contact-info .info-block p, .contact-info .info-block a { color: var(--anthracite); }
.contact-info .info-block a:hover { color: var(--green-deep); }
.contact-figure { width: clamp(110px, 14vw, 170px); margin-top: 2rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border-radius: 6px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label { font-size: 0.88rem; font-weight: 700; }
.form-field label .req { color: var(--green-deep); }
.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(118,184,42,0.18);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin: 1.4rem 0 1.8rem;
  font-size: 0.9rem;
  color: var(--anthracite);
}
.form-consent input {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--green-deep);
  flex: none;
}
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-hint { font-size: 0.82rem; color: var(--grey); margin-top: 1rem; }
.form-status {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  display: none;
}
.form-status.ok { display: block; background: var(--green-tint); color: var(--green-ink); }
.form-status.err { display: block; background: #FBECEC; color: #9C2B2B; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* Rechtstexte */
.legal-content {
  max-width: 46rem;
  padding-bottom: var(--space-section);
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.8rem 0 1rem;
}
.legal-content h3 { font-size: 1.15rem; margin: 2rem 0 0.7rem; }
.legal-content p, .legal-content li { color: var(--anthracite); margin-bottom: 0.9rem; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content .placeholder {
  background: var(--green-tint);
  padding: 0.05em 0.35em;
  border-radius: 3px;
  font-weight: 600;
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 1500;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(25,28,23,0.14);
  padding: 1.6rem;
  transform: translateY(calc(100% + 3rem));
  transition: transform 0.6s var(--ease-out);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.cookie-banner p { font-size: 0.88rem; color: var(--grey); margin-bottom: 1.2rem; }
.cookie-banner p a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { padding: 0.65rem 1.3rem; font-size: 0.88rem; }
.cookie-settings-link {
  font-size: 0.82rem;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.8rem;
  display: inline-block;
}
.cookie-options { display: none; margin: 0.6rem 0 1rem; }
.cookie-banner.show-options .cookie-options { display: grid; gap: 0.6rem; }
.cookie-option { display: flex; gap: 0.7rem; align-items: center; font-size: 0.88rem; }
.cookie-option input { accent-color: var(--green-deep); width: 18px; height: 18px; }
@media (max-width: 560px) {
  .cookie-banner { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; max-width: none; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot { display: none !important; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}

/* Print */
@media print {
  .site-header, .cookie-banner, .cursor-dot, .hero-scroll-hint { display: none !important; }
  body { background: #fff; }
}

/* Refinements v3: Hero — Headline-Größe & Szene entkoppeln (keine Grün-auf-Grün-Kollision) */
:root { --display-xl: clamp(3rem, 8.6vw, 8.2rem); }
.hero-scene { width: min(40vw, 560px); }

/* Mission-Headline: kompakter, Ziel ~4 Zeilen */
.mission-title {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  max-width: 30ch;
  line-height: 1.18;
}

/* Header-CTA: mehr Luft links und rechts (nur Desktop) */
@media (min-width: 861px) {
  .site-header .main-nav .btn { padding-inline: 2.6rem; }
}

/* ===== Unterseiten: Leistungs-Detail, Einsatzbereiche, FAQ ===== */
.detail-list { display: grid; gap: clamp(2.5rem, 6vh, 4.5rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.detail-block {
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 5vh, 3.5rem);
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 2fr;
  gap: clamp(1.5rem, 4vw, 5rem);
}
.detail-block h2 { font-size: var(--display-sm); margin-top: 0.4rem; }
@media (max-width: 860px) { .detail-block { grid-template-columns: 1fr; gap: 1rem; } }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding-bottom: clamp(3rem, 8vh, 6rem); }
.area-card { border: 1px solid var(--line); background: var(--white); border-radius: 6px; padding: clamp(1.4rem, 3vw, 2rem); transition: transform 0.35s var(--ease-out), border-color 0.3s; }
.area-card:hover { transform: translateY(-4px); border-color: var(--green); }
.area-card .audience-num { display: block; margin-bottom: 0.5rem; }
.area-card h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.area-card p { font-size: 0.98rem; color: var(--anthracite); }
@media (max-width: 760px) { .area-grid { grid-template-columns: 1fr; } }

.faq-list { display: grid; gap: 0.9rem; padding-bottom: clamp(3rem, 8vh, 6rem); max-width: 52rem; }
.faq-item { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 700; padding: 1.15rem 1.4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--green-deep); font-weight: 800; font-size: 1.35rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--anthracite); }

.page-cta { background: var(--green); color: var(--white); text-align: center; padding: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 5vw, 4rem); border-radius: 10px; margin-bottom: clamp(4rem, 10vh, 7rem); }
.page-cta h2 { font-size: var(--display-sm); margin-bottom: 0.8rem; }
.page-cta p { margin: 0 auto 1.8rem; color: rgba(255,255,255,0.92); max-width: 36rem; }
