/* ==========================================================================
   PSL Consulting — Design System
   Durchgehend dunkles, technisches Theme: Mono-Typografie, Neon-Grün,
   Scanlines/Wireframe-Deko, Scramble-Text und ruhige, aber knackige
   Scroll-Animationen. Kein Wechsel zwischen hellen/dunklen Sektionen mehr.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Audiowide";
  src: url("../fonts/audiowide-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben */
  --green: #5DAA2C;      /* Main-Colour */
  --green-light: #8DCF40; /* hellerer Ton für Verläufe/Glow */
  --green-dim: #45801F;   /* dunklerer Ton für Tiefe/Hover */
  --gray: #606060;        /* Sec-Colour */

  --bg: #0a0a0b;
  --bg-1: #0e0f10;
  --bg-2: #141517;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3f2;
  --text-dim: #a3a3a3;    /* aufgehellt auf Basis von --gray, für lesbaren Fließtext */
  --text-dimmer: #757575;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --accent-font: "Audiowide", "Montserrat", -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
section { position: relative; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Feines Scanline/Grid-Textur-Overlay über der ganzen Seite - sehr dezent,
   sorgt für die "technische" Grundierung ohne vom Inhalt abzulenken. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
}

/* ---------- Intro-Splash: Logo mit Claim, zoomt beim Laden heraus ---------- */

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease-snap);
}
.intro-loader.intro-hidden {
  opacity: 0;
  pointer-events: none;
}
.intro-logo {
  width: min(400px, 68vw);
  opacity: 0;
  transform: scale(0.86);
  filter: drop-shadow(0 0 50px rgba(93, 170, 44, 0.35));
  animation: intro-in 0.8s var(--ease-pop) forwards;
}
.intro-loader.intro-zoom .intro-logo {
  animation: intro-zoom-out 2.35s cubic-bezier(0.6, 0, 0.85, 0.15) forwards;
}
@keyframes intro-in {
  to { opacity: 1; transform: scale(1); }
}
@keyframes intro-zoom-out {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.4); }
}
body.intro-active { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro-loader { display: none; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }

.mono {
  font-family: var(--accent-font);
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--accent-font);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 1px;
  box-shadow: 0 0 10px 1px rgba(93, 170, 44, 0.7);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lede {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  font-weight: 400;
  max-width: 620px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--accent-font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 0.35s var(--ease-pop), background 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease, color 0.3s ease;
  white-space: nowrap;
  background: rgba(255,255,255,0.02);
  color: var(--text);
}
.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #06110b;
  box-shadow: 0 0 0 rgba(93, 170, 44, 0);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 34px -8px rgba(93, 170, 44, 0.55);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(93, 170, 44, 0.06);
  transform: translateY(-3px);
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 22px; width: auto; transition: transform 0.35s var(--ease-pop), opacity 0.3s ease; }
.nav-logo:hover { transform: scale(1.06); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.nav-links a { position: relative; transition: color 0.25s ease; padding-bottom: 4px; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.35s var(--ease-snap);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 9px 18px;
  border-radius: 2px;
  background: rgba(93, 170, 44, 0.08);
  border: 1px solid rgba(93, 170, 44, 0.35);
  color: var(--green) !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: rgba(93, 170, 44, 0.16); box-shadow: 0 0 20px -4px rgba(93,170,44,0.5); }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10,10,11,0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-mobile.open { display: flex; opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  padding: 140px 0 100px;
}

/* Großer grüner "PSL"-Schriftzug: ersetzt das Logo-Bild an der Spitze des
   Heros und übernimmt dessen Platz nach dem Intro-Zoom. */
.hero-word {
  position: relative;
  z-index: 2;
  font-family: var(--accent-font);
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--green);
  text-shadow: 0 0 44px rgba(93, 170, 44, 0.5);
  margin-bottom: 8px;
  user-select: none;
}

/* ---------- Circuit-trace Deko (peesel.eu-Stil): mehrere Leiterbahnen,
   die sich zeitversetzt in Endlosschleife einzeichnen und wieder ausblenden -
   als lebendige Hintergrundschicht in Hero und weiteren Sektionen. */

.circuit-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
}
.circuit-decor-side { opacity: 0.18; }

.circuit-trace {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: ct-draw 13s ease-in-out infinite;
  filter: drop-shadow(0 0 3px rgba(93, 170, 44, 0.5));
}
.circuit-decor .circuit-trace:nth-child(1) { animation-delay: 0s; }
.circuit-decor .circuit-trace:nth-child(2) { animation-delay: 1s; }
.circuit-decor .circuit-trace:nth-child(3) { animation-delay: 4.5s; }
.circuit-decor .circuit-trace:nth-child(4) { animation-delay: 5.5s; }
.circuit-decor .circuit-trace:nth-child(5) { animation-delay: 8s; }
.circuit-decor .circuit-trace:nth-child(6) { animation-delay: 9s; }
.circuit-decor .circuit-trace:nth-child(7) { animation-delay: 2.5s; }
.circuit-decor .circuit-trace:nth-child(8) { animation-delay: 3.5s; }
.circuit-decor .circuit-trace:nth-child(9) { animation-delay: 6.5s; }
.circuit-decor .circuit-trace:nth-child(10) { animation-delay: 7s; }
.circuit-decor .circuit-trace:nth-child(11) { animation-delay: 10s; }
.circuit-decor .circuit-trace:nth-child(12) { animation-delay: 10.5s; }

@keyframes ct-draw {
  0% { stroke-dashoffset: 1400; opacity: 0; }
  10% { opacity: 0.8; }
  38% { stroke-dashoffset: 0; opacity: 0.8; }
  62% { stroke-dashoffset: 0; opacity: 0.8; }
  78% { opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .circuit-trace { animation: none; stroke-dashoffset: 0; opacity: 0.25; }
}

/* ---------- Scroll-Fortschrittsbalken ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 0;
  background: linear-gradient(90deg, var(--green-dim), var(--green), var(--green-light));
  box-shadow: 0 0 10px 1px rgba(93, 170, 44, 0.6);
}

/* ---------- Marquee-Ticker ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  font-family: var(--accent-font);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dimmer);
  white-space: nowrap;
  padding-right: 48px;
}
.marquee-track span em { color: var(--green); font-style: normal; margin: 0 6px; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Masken-Reveal für Section-Titel (Wipe statt Fade) ---------- */

.mask-reveal { overflow: hidden; }
.mask-reveal > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-snap);
}
.mask-reveal.is-visible > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .mask-reveal > span { transition: none; transform: none; }
}

/* ---------- 3D-Tilt & Magnet-Interaktion (per JS gesteuert) ---------- */

.feature-list, .stats-grid, .contact-list, .timeline { perspective: 1200px; }
[data-tilt] { transition: transform 0.5s var(--ease-snap); will-change: transform; }

[data-magnetic] { will-change: transform; }

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  [data-tilt] { transition: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-anim {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  animation: hero-in 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-play-state: paused;
}
html.intro-done .hero-anim { animation-play-state: running; }
.hero-anim-1 { animation-delay: 0.15s; }
.hero-anim-2 { animation-delay: 0.32s; }
.hero-anim-3 { animation-delay: 0.48s; }
.hero-anim-4 { animation-delay: 0.62s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero h1 {
  font-size: clamp(40px, 6.6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  text-shadow: 0 0 34px rgba(93, 170, 44, 0.45);
}

.hero-sub {
  margin: 26px auto 0;
  max-width: 600px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
}

.hero .btn-row { justify-content: center; margin-top: 44px; }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue::before {
  content: "";
  position: absolute; top: 6px; left: 50%;
  width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--green);
  border-radius: 2px;
  box-shadow: 0 0 8px 1px rgba(93,170,44,0.7);
  animation: scrollcue 2s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */

.section { padding: 130px 0; overflow: hidden; }
.section.tight { padding: 90px 0; }
.section > .container { position: relative; z-index: 1; }

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.94);
  transition: opacity var(--dur) var(--ease-snap), transform var(--dur) var(--ease-snap);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal-left { opacity: 0; transform: translateX(-64px) scale(0.96); transition: opacity var(--dur) var(--ease-snap), transform var(--dur) var(--ease-snap); }
.reveal-left.is-visible { opacity: 1; transform: translateX(0) scale(1); }

.reveal-right { opacity: 0; transform: translateX(64px) scale(0.96); transition: opacity var(--dur) var(--ease-snap), transform var(--dur) var(--ease-snap); }
.reveal-right.is-visible { opacity: 1; transform: translateX(0) scale(1); }

.reveal-pop { opacity: 0; transform: scale(0.82); transition: opacity 0.6s var(--ease-pop), transform 0.6s var(--ease-pop); }
.reveal-pop.is-visible { opacity: 1; transform: scale(1); }

.reveal-delay-1.is-visible { transition-delay: 0.09s; }
.reveal-delay-2.is-visible { transition-delay: 0.18s; }
.reveal-delay-3.is-visible { transition-delay: 0.27s; }
.reveal-delay-4.is-visible { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-pop { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Leistungen: nummerierte Feature-Liste ---------- */

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-row {
  position: relative;
  background: var(--bg);
  padding: 34px 32px;
  display: flex;
  gap: 22px;
  opacity: 0.42;
  cursor: default;
  transition: opacity 0.6s var(--ease-snap), background 0.4s ease, transform 0.4s var(--ease-pop), padding-left 0.4s var(--ease-snap);
}
.feature-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-snap);
  transform-origin: bottom;
}
.feature-row.is-focus { opacity: 1; background: var(--bg-1); }
.feature-row:hover {
  opacity: 1;
  background: var(--bg-1);
  transform: translateX(6px);
  padding-left: 40px;
}
.feature-row:hover::before,
.feature-row.is-focus::before { transform: scaleY(1); }

.feature-tag {
  flex-shrink: 0;
  width: 54px; height: 66px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  font-family: var(--accent-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--green);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: box-shadow 0.5s ease, transform 0.4s var(--ease-pop);
}
.feature-row.is-focus .feature-tag,
.feature-row:hover .feature-tag {
  box-shadow: 0 0 18px -3px rgba(93,170,44,0.55);
  transform: scale(1.08) rotate(-4deg);
}
.feature-icon {
  width: 22px; height: 22px;
  color: var(--green);
  transition: transform 0.4s var(--ease-pop);
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-row:hover .feature-icon,
.feature-row.is-focus .feature-icon { transform: scale(1.12); }

.feature-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s ease;
}
.feature-row:hover .feature-body h3 { color: var(--green-light); }
.feature-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: center; }

.about-photo {
  position: relative;
  overflow: visible;
  aspect-ratio: 4 / 5;
}
.about-photo-frame {
  position: relative;
  overflow: hidden;
  width: 100%; height: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

/* Handgezeichnetes Siegel-/Badge-Illustration: hebt die Erfahrung optisch
   hervor, rein statisch - keine Endlos-Animation. */
.about-badge {
  position: absolute;
  right: -28px; bottom: -28px;
  width: 118px; height: 118px;
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
  transition: transform 0.5s var(--ease-pop);
}
.about-photo:hover .about-badge { transform: rotate(-6deg) scale(1.04); }
.about-badge .badge-ring { fill: var(--bg); stroke: var(--green); stroke-width: 1.4; }
.about-badge .badge-ring-dash { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 1 5; }
.about-badge .badge-tick { stroke: var(--green); stroke-width: 1.5; opacity: 0.65; }
.about-badge .badge-num {
  font-family: var(--accent-font);
  font-size: 25px;
  fill: var(--green);
}
.about-badge .badge-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  fill: var(--text-dim);
}

@media (max-width: 560px) {
  .about-badge { width: 92px; height: 92px; right: -14px; bottom: -14px; }
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
  transition: transform 1.1s var(--ease-snap), filter 0.6s ease;
}
.about-photo:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }

.about-quote {
  font-size: clamp(19px, 2.3vw, 25px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 28px;
}
.about-quote::before { content: "\201C"; color: var(--green); }
.about-quote::after { content: "\201D"; color: var(--green); }

.about-role { font-size: 15px; line-height: 1.7; color: var(--text-dim); margin-bottom: 32px; }
.about-role b { color: var(--text); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ---------- Impact stats ---------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

/* Statische Trendlinien-Illustration hinter den Kennzahlen - unterstreicht
   "Ergebnisse aus der Praxis" visuell, ohne selbst zu animieren. */
.stats-illustration {
  position: absolute;
  left: 50%; top: 6px;
  transform: translateX(-50%);
  width: min(680px, 88%);
  height: auto;
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
.stats-grid { position: relative; z-index: 1; }

.stat { background: var(--bg); padding: 44px 26px; text-align: center; }
.stat .num {
  font-family: var(--accent-font);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green);
  text-shadow: 0 0 24px rgba(93, 170, 44, 0.4);
}
.stat .label { margin-top: 12px; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }

@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */

.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-strong);
}
.tl-progress {
  position: absolute; left: 7px; top: 8px; width: 1px; height: 0;
  background: linear-gradient(180deg, var(--green), var(--green-light));
  box-shadow: 0 0 8px 0 rgba(93, 170, 44, 0.7);
  transition: height 0.15s linear;
}

.tl-item { position: relative; padding-left: 40px; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 15px; height: 15px;
  background: var(--bg);
  border: 2px solid var(--green);
  box-shadow: 0 0 10px -1px rgba(93,170,44,0.6);
}
.tl-date {
  font-family: var(--accent-font);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.tl-item h4 { font-size: 18px; margin-bottom: 2px; color: var(--text); }
.tl-item .tl-org { font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
.tl-item p { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }
.tl-more summary {
  cursor: pointer;
  font-family: var(--font);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-top: 8px;
}
.tl-more[open] summary { margin-bottom: 8px; }

/* ---------- Kontakt: großer CTA-Block ---------- */

.cta-block {
  position: relative;
  background: linear-gradient(135deg, #163020 0%, #0d1f14 60%, #0a0a0b 100%);
  border: 1px solid rgba(93, 170, 44, 0.25);
  clip-path: polygon(0 40px, 40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
  padding: 64px;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,170,44,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,170,44,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

/* Statische Verbindungsknoten-Illustration in der Ecke des Kontakt-Blocks -
   greift das "Lassen Sie uns verbinden"-Thema grafisch auf, ohne Loop-Animation. */
.cta-illustration {
  position: absolute;
  top: 18px; right: 18px;
  width: 150px; height: 150px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 900px) {
  .cta-illustration { width: 100px; height: 100px; top: 10px; right: 10px; }
}

.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.35s ease, transform 0.4s var(--ease-pop), border-color 0.3s ease;
}
.contact-row:hover { background: rgba(0,0,0,0.4); transform: translateX(10px); border-color: rgba(93,170,44,0.4); }
.contact-row .ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(93,170,44,0.12);
  border: 1px solid rgba(93,170,44,0.35);
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-pop);
}
.contact-row:hover .ico { transform: scale(1.1) rotate(-6deg); }
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row .label { font-family: var(--font); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(242,243,242,0.45); }
.contact-row .value { font-size: 15.5px; font-weight: 500; color: var(--text); }

.contact-card {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(242,243,242,0.5); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: rgba(0,0,0,0.5); }
.field-note { font-family: var(--font); font-size: 12px; color: rgba(242,243,242,0.4); margin-top: 16px; line-height: 1.6; }

@media (max-width: 900px) {
  .cta-block { padding: 40px 28px; clip-path: polygon(0 24px, 24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer ---------- */

.footer { background: var(--bg); color: var(--text-dim); padding: 56px 0 32px; font-size: 13px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--line); gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 84px; width: auto; margin: -10px 0 6px -14px; opacity: 0.95; transition: transform 0.5s var(--ease-pop), opacity 0.5s ease; }
.footer-logo:hover { transform: scale(1.04) rotate(-1deg); opacity: 1; }
.footer-desc { max-width: 320px; line-height: 1.6; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dimmer); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { transition: color 0.25s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; font-family: var(--font); font-size: 12px; }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Legal pages ---------- */

.legal { padding: 160px 0 120px; max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; color: var(--text); }
.legal .updated { font-family: var(--font); font-size: 13px; color: var(--text-dim); margin-bottom: 56px; }
.legal h2 { font-size: 21px; margin: 48px 0 14px; letter-spacing: -0.01em; color: var(--text); }
.legal h3 { font-size: 16px; margin: 28px 0 10px; color: var(--text); }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--text-dim); }
.legal ul { margin: 12px 0; padding-left: 20px; list-style: disc; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal .box { background: var(--bg-1); border: 1px solid var(--line); padding: 22px 26px; margin: 20px 0; }
.legal .note { font-family: var(--font); font-size: 13px; color: var(--text-dimmer); font-style: normal; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 90px 0; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}
