/* JSC Energy & Sustainability – Stylesheet
   Farben stammen aus dem Logo; Tokens siehe :root. */

/* ══════════════════════════════════════════════════════════
   FONTS – lokal eingebettet (DSGVO-konform, keine externen Requests)
══════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2-variations'),
       url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/sora-var.woff2') format('woff2-variations'),
       url('../fonts/sora-var.woff2') format('woff2');
}

/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════════════════ */
/* Farben stammen aus dem Logo: Anthrazit #39404A, Blattgruen #226D35,
   Akzentgold #C9A227. Text- und Randwerte sind so gewaehlt, dass alle
   Kombinationen mindestens WCAG AA erreichen. */
:root {
  --bg:        #FFFFFF;
  --bg-deep:   #F4F6F4;   /* abgesetzte Baender */
  --surface:   #FFFFFF;   /* Karten */
  --surface-2: #F7F8F7;
  --line:      rgba(57,64,74,.14);
  --line-soft: rgba(57,64,74,.07);
  --text:      #2B313A;
  --muted:     #5A6371;   /* 6,3:1 auf Weiss */
  --green:     #1B6B34;
  --green-l:   #22823F;
  --green-ink: #175C2C;   /* Gruen fuer Text auf hellem Grund */
  --green-soft: rgba(34,130,63,.10);
  --gold:      #8A6A15;   /* Gold fuer Text – 5,1:1 auf Weiss */
  --gold-l:    #C9A227;   /* Gold fuer Flaechen und Icons */
  --gold-soft: rgba(201,162,39,.14);
  --grad:      linear-gradient(120deg, var(--green-ink), var(--gold));
  --radius:    16px;
  --shadow-lg: 0 18px 40px -16px rgba(31,38,48,.28);
  --shadow-sm: 0 2px 10px -4px rgba(31,38,48,.16);
  --font-head: 'Sora', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Logo-SVGs haengen an diesen Variablen */
  --logo-ink: #39404A;
  --logo-leaf: #226D35;
  --logo-accent: #C9A227;
  --logo-tagline: #1F6133;
}

/* ══════════════════════════════════════════════════════════
   BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(34,130,63,.18); }

.skip-link {
  position: absolute; top: -48px; left: 1rem; z-index: 200;
  background: var(--green-l); color: #fff; padding: .65rem 1.1rem;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-l); outline-offset: 2px;
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.section { padding: clamp(4.5rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 740px; margin: 0 auto 3.2rem; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grad);
}
.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-l), var(--green));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(27,107,52,.45);
}
.btn-ghost {
  background: transparent; color: var(--text); border-color: rgba(57,64,74,.26);
}
.btn-ghost:hover { border-color: var(--gold-l); color: var(--gold-l); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--green-ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(0,0,0,.28); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: .9rem;
}
/* Wortmarke als SVG, Zusatz als Text – zusammen ein waagerechtes Lockup.
   Die Vorlage ist quadratisch und waere in einer Navbar unlesbar klein. */
.nav-logo { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.nav-logo img { height: 44px; width: auto; flex-shrink: 0; }
.nav-logo-sub {
  font-size: .62rem; font-weight: 600; color: var(--gold);
  letter-spacing: .13em; text-transform: uppercase; line-height: 1.4;
  max-width: 7.5em; padding-left: .85rem; border-left: 1px solid var(--line);
}
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green-ink); }
.nav-cta { padding: .7rem 1.3rem; font-size: .88rem; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: .5rem; z-index: 102;
}
.nav-burger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.mobile-menu a:not(.btn):hover { color: var(--green-ink); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(7.5rem, 16vh, 9.5rem) 0 3.8rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 420px at 18% 8%, rgba(34,130,63,.10), transparent 65%),
    radial-gradient(720px 460px at 85% 22%, rgba(201,162,39,.11), transparent 65%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(57,64,74,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,64,74,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 35%, transparent 78%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--green-soft); border: 1px solid rgba(34,130,63,.26);
  color: var(--green-ink); font-size: .82rem; font-weight: 500;
  padding: .5rem 1.05rem; border-radius: 100px; margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-l);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(1.35); }
}
.hero-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.14; letter-spacing: -.015em;
  max-width: 880px; margin: 0 auto 1.3rem;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.13rem);
  max-width: 660px; margin: 0 auto 2.3rem;
}
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem 1rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--muted);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: .45rem .95rem; border-radius: 100px;
}
.chip svg { width: 14px; height: 14px; stroke: var(--green-l); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.fade-up { animation: fadeUp .7s ease both; }
.fade-up.d1 { animation-delay: .06s; }
.fade-up.d2 { animation-delay: .14s; }
.fade-up.d3 { animation-delay: .22s; }
.fade-up.d4 { animation-delay: .3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════ */
.stats {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.9rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stat-value {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: .35rem;
}
.stat-label { color: var(--muted); font-size: .86rem; }

/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(34,130,63,.35); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-soft); display: grid; place-items: center;
  margin-bottom: 1.25rem; transition: background .3s;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--green-l); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--green-l), var(--green)); }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-title {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  line-height: 1.35; margin-bottom: .65rem;
}
.service-text { color: var(--muted); font-size: .9rem; }
.svc-list { list-style: none; margin-top: 1.15rem; padding-top: 1.05rem; border-top: 1px solid var(--line); }
.svc-list li { margin-bottom: .85rem; }
.svc-list li:last-child { margin-bottom: 0; }
.svc-list strong {
  display: block; font-size: .89rem; font-weight: 600; color: var(--text);
  margin-bottom: .15rem; padding-left: 1.1rem; position: relative; line-height: 1.4;
}
.svc-list strong::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-l);
}
.svc-list span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; padding-left: 1.1rem; }

/* ══════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════ */
.process { background: var(--bg-deep); border-block: 1px solid var(--line); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.process-grid::before {
  content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.process-step { position: relative; text-align: center; padding-top: .25rem; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; margin: 0 auto 1.2rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  position: relative; z-index: 1;
}
.step-num span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step-title { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; margin-bottom: .55rem; }
.step-text { color: var(--muted); font-size: .88rem; }

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center;
}
.about-grid .eyebrow::after { display: none; }
.about-grid .eyebrow { margin-bottom: .9rem; }
.about-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.22; margin-bottom: 1.1rem;
}
.about-text { color: var(--muted); font-size: .98rem; margin-bottom: 1.9rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
.feature-item { display: flex; gap: .85rem; align-items: flex-start; }
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--gold-soft); display: grid; place-items: center;
}
.feature-icon svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-item strong { display: block; font-size: .94rem; font-weight: 600; margin-bottom: .15rem; }
.feature-item p { color: var(--muted); font-size: .84rem; line-height: 1.5; }

.about-visual { position: relative; padding: 1.5rem 0 3.6rem; }
.av-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow-lg);
}
.av-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.av-head span { font-size: .8rem; color: var(--muted); }
.av-stat {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.av-caption { margin-top: 1rem; font-size: .76rem; color: var(--muted); }
.av-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: .8rem 1.1rem; box-shadow: var(--shadow-lg);
  font-size: .84rem; font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.av-chip svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.av-chip--badge { top: -.4rem; right: -.6rem; }
.av-chip--badge svg { stroke: var(--green-ink); }
.av-chip--co2 { bottom: 0; left: -.6rem; animation-delay: 3s; }
.av-chip--co2 svg { stroke: var(--gold); }
.av-chip small { display: block; font-weight: 400; color: var(--muted); font-size: .72rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ══════════════════════════════════════════════════════════
   FUNDING
══════════════════════════════════════════════════════════ */
.funding { background: var(--bg-deep); border-block: 1px solid var(--line); }
.funding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.funding-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .28s, box-shadow .28s;
}
.funding-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.funding-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.funding-org {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 100px;
}
.funding-org.bafa { background: var(--green-soft); color: var(--green-ink); }
.funding-org.kfw { background: var(--gold-soft); color: var(--gold); }
.funding-org.beg { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.funding-quota { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--gold); white-space: nowrap; }
.funding-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.35; }
.funding-text { color: var(--muted); font-size: .89rem; }
.funding-note {
  margin-top: 2.2rem; text-align: center; color: var(--muted); font-size: .84rem;
  max-width: 760px; margin-inline: auto;
}

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq-list { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  line-height: 1.4; transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-ink); }
.faq-item summary:focus-visible { outline: 2px solid var(--gold-l); outline-offset: 3px; border-radius: 6px; }
.faq-item summary::after {
  content: ''; position: absolute; right: .55rem; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink);
  transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-answer { padding: 0 2.5rem 1.4rem 0; }
.faq-answer p { color: var(--muted); font-size: .93rem; line-height: 1.68; }
.faq-note { margin-top: 2.2rem; text-align: center; color: var(--muted); font-size: .88rem; }
.faq-note a { color: var(--green-ink); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band .cta-inner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1E7A3E, #14532D 65%);
  border-radius: 24px; padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 300px at 82% 18%, rgba(212,175,85,.28), transparent 65%);
}
.cta-inner > * { position: relative; }
.cta-inner h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem); margin-bottom: .9rem; color: #fff;
}
.cta-inner p { color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 1.9rem; font-size: .98rem; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4rem); align-items: start;
}
.contact-info .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-info > p { color: var(--muted); font-size: .96rem; margin-bottom: 2.1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem;
  text-decoration: none; width: fit-content;
}
.ci-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; transition: border-color .25s, background .25s;
}
.ci-icon svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
a.contact-item:hover .ci-icon { border-color: var(--green-l); background: var(--green-soft); }
.contact-item strong { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .1rem; }
.contact-item span.val { font-size: .97rem; font-weight: 500; color: var(--text); }

.contact-form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.6rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 500; color: var(--muted);
  margin-bottom: .4rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .85rem 1rem;
  background: #FBFCFB; border: 1px solid var(--line);
  border-radius: 10px; color: var(--text);
  font-family: var(--font-body); font-size: .93rem;
  transition: border-color .25s, box-shadow .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #99A1AD; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--green-l);
  box-shadow: 0 0 0 3px rgba(34,130,63,.16);
}
.form-group select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235A6371' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.6rem; cursor: pointer;
}
.form-group select option { background: var(--surface-2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 128px; }
.form-checkbox { display: flex; gap: .7rem; align-items: flex-start; margin: .35rem 0 1.3rem; }
.form-checkbox input { width: 16px; height: 16px; margin-top: .25rem; accent-color: var(--green-l); cursor: pointer; flex-shrink: 0; }
.form-checkbox label { color: var(--muted); font-size: .82rem; cursor: pointer; line-height: 1.5; }
.form-checkbox a { color: var(--green-ink); }
.form-submit { width: 100%; }
.form-hint { font-size: .76rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.form-status {
  display: none; margin-bottom: 1.1rem; padding: .85rem 1.1rem;
  border-radius: 10px; font-size: .88rem;
  background: #FDF3F3; border: 1px solid #E7BEBE; color: #96271F;
}
.form-status.show { display: block; }
#form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
#form-success .success-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.3rem;
  background: linear-gradient(135deg, var(--green-l), var(--green));
  display: grid; place-items: center;
}
#form-success .success-icon svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#form-success strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .5rem; }
#form-success p { color: var(--muted); font-size: .92rem; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 3.8rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.8rem;
}
.footer-brand .nav-logo { margin-bottom: 1.1rem; }
.footer-brand .nav-logo img { height: 92px; }
.footer-brand p { color: var(--muted); font-size: .88rem; max-width: 360px; margin-bottom: 1.2rem; }
.footer-contact { list-style: none; }
.footer-contact li { margin-bottom: .45rem; }
.footer-contact a { color: var(--muted); font-size: .87rem; text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--green-ink); }
.footer-contact span { color: var(--muted); font-size: .87rem; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a {
  color: var(--muted); font-size: .89rem; text-decoration: none; transition: color .2s;
}
.footer-col a:hover { color: var(--green-ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: .8rem; }

/* ══════════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(28,34,43,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto;
  position: relative;
}
.modal h2 { font-family: var(--font-head); font-size: 1.45rem; margin-bottom: 1.1rem; padding-right: 2.5rem; }
.modal h3 { color: var(--green-ink); font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .45rem; }
.modal p, .modal li { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.modal ul { padding-left: 1.2rem; margin: .4rem 0; }
.modal a { color: var(--green-ink); }
.modal-close {
  position: sticky; top: 0; float: right;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.modal-close:hover { background: #ECEEEC; }

/* ══════════════════════════════════════════════════════════
   SCROLL TOP & REVEAL
══════════════════════════════════════════════════════════ */
#scroll-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--green-ink); font-size: 1.1rem; cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .3s;
}
#scroll-top.show { opacity: 1; pointer-events: auto; transform: none; }
#scroll-top:hover { background: var(--green); color: #fff; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.grid-stagger > *:nth-child(2) { transition-delay: .07s; }
.grid-stagger > *:nth-child(3) { transition-delay: .14s; }
.grid-stagger > *:nth-child(4) { transition-delay: .21s; }
.grid-stagger > *:nth-child(5) { transition-delay: .28s; }
.grid-stagger > *:nth-child(6) { transition-delay: .35s; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
  .process-grid::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .services-grid, .process-grid, .funding-grid, .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .av-chip--badge { right: 0; }
  .av-chip--co2 { left: 0; }
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════
   LEISTUNGSSEITE
══════════════════════════════════════════════════════════ */
.nav-links a.aktiv { color: var(--green-ink); font-weight: 600; }

.ls-hero { padding: clamp(7rem, 14vh, 8.5rem) 0 3rem; position: relative; overflow: hidden; }
.ls-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 15% 0%, rgba(34,130,63,.10), transparent 65%),
              radial-gradient(600px 400px at 88% 15%, rgba(201,162,39,.10), transparent 65%);
}
.ls-hero .container { position: relative; z-index: 1; }
.ls-hero h1 {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.16;
  letter-spacing: -.015em; max-width: 20ch; margin-bottom: 1.1rem;
}
.ls-hero-sub { color: var(--muted); font-size: 1.02rem; max-width: 62ch; margin-bottom: 2.1rem; }
.ls-hero .hero-actions { justify-content: flex-start; margin-bottom: 0; }

.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-ink); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 .45rem; opacity: .5; }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; }

.ls-body { padding-top: 1rem; }
.ls-layout { display: grid; grid-template-columns: 232px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.ls-toc { position: sticky; top: 104px; }
.ls-toc-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.ls-toc ul { list-style: none; border-left: 2px solid var(--line); }
.ls-toc li a {
  display: block; padding: .5rem 0 .5rem .95rem; margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--muted); font-size: .86rem; line-height: 1.35; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.ls-toc li a:hover { color: var(--green-ink); border-left-color: var(--green-l); }

.ls-group { margin-bottom: 3.6rem; scroll-margin-top: 104px; }
.ls-group:last-of-type { margin-bottom: 2.4rem; }
.ls-group-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.ls-group-head .service-icon { margin-bottom: 0; }
.ls-group-head h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.25; margin-bottom: .5rem;
}
.ls-group-head > div > p { color: var(--muted); font-size: .95rem; max-width: 64ch; }

.ls-service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.6rem 1.7rem; margin-bottom: 1.1rem;
}
.ls-service h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  line-height: 1.35; margin-bottom: .6rem;
}
.ls-desc { color: var(--muted); font-size: .91rem; line-height: 1.65; max-width: 68ch; }
.ls-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem;
  margin-top: 1.25rem; padding-top: 1.15rem; border-top: 1px solid var(--line);
}
.ls-meta span {
  display: block; font-size: .7rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .35rem;
}
.ls-meta p { color: var(--muted); font-size: .84rem; line-height: 1.55; }

.ls-cta {
  background: linear-gradient(135deg, var(--green-l), var(--green-ink) 70%);
  border-radius: 20px; padding: clamp(2rem, 4vw, 2.8rem); text-align: center; margin-top: 3rem;
}
.ls-cta h2 { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: .8rem; }
.ls-cta p { color: rgba(255,255,255,.88); font-size: .95rem; max-width: 58ch; margin: 0 auto 1.7rem; }
.ls-cta .btn-primary { background: #fff; color: var(--green-ink); }
.ls-cta .btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(0,0,0,.35); }

@media (max-width: 900px) {
  .ls-layout { grid-template-columns: 1fr; }
  .ls-toc {
    position: static; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; margin-bottom: 2rem;
  }
  .ls-toc ul { display: flex; flex-wrap: wrap; gap: .5rem; border-left: 0; }
  .ls-toc li a {
    padding: .45rem .9rem; margin-left: 0; border-left: 0;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 100px; font-size: .82rem;
  }
  .ls-toc li a:hover { border-color: var(--green-l); }
}
@media (max-width: 640px) {
  .ls-group-head { flex-direction: column; gap: .9rem; }
  .ls-meta { grid-template-columns: 1fr; gap: .9rem; }
}
.services-more { text-align: center; margin-top: 2.4rem; }

/* ══════════════════════════════════════════════════════════
   DETAILSEITEN
══════════════════════════════════════════════════════════ */
.dt-narrow { max-width: 820px; }
.dt-body { padding-top: 1rem; }

.dt-block { margin-bottom: 3rem; }
.dt-block h2 {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.25; margin-bottom: 1.1rem;
}
.dt-block > p { color: var(--muted); font-size: .96rem; line-height: 1.72; margin-bottom: 1rem; max-width: 68ch; }
.dt-block > p:last-child { margin-bottom: 0; }
.dt-block strong { color: var(--text); font-weight: 600; }

.dt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.dt-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.4rem 1.5rem;
}
.dt-tile h3 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-bottom: .5rem; line-height: 1.35; }
.dt-tile p { color: var(--muted); font-size: .87rem; line-height: 1.6; }

.dt-steps { list-style: none; counter-reset: dtschritt; margin-top: 1.4rem; }
.dt-steps li {
  counter-increment: dtschritt; position: relative;
  padding: 0 0 1.5rem 3.4rem; border-left: 2px solid var(--line); margin-left: 1.05rem;
}
.dt-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.dt-steps li::before {
  content: counter(dtschritt); position: absolute; left: -1.15rem; top: -.2rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--green-ink);
}
.dt-steps h3 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.dt-steps p { color: var(--muted); font-size: .89rem; line-height: 1.6; max-width: 62ch; }

.dt-faq { border-top: 1px solid var(--line); margin-top: 1.2rem; }

.dt-related { margin-top: 2.6rem; }
.dt-related h2 {
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem; font-family: var(--font-body);
}
.dt-related ul { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.dt-related a {
  display: inline-block; padding: .55rem 1.1rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 100px;
  color: var(--text); font-size: .87rem; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.dt-related a:hover { border-color: var(--green-l); color: var(--green-ink); }

.ls-more { margin-top: 1rem; }
.ls-more a { color: var(--green-ink); font-size: .87rem; font-weight: 600; text-decoration: none; }
.ls-more a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .dt-steps li { padding-left: 2.9rem; }
}
.service-title a { color: inherit; text-decoration: none; }
.service-title a::after { content: ' →'; color: var(--green-ink); font-weight: 400; }
.service-card:hover .service-title a { color: var(--green-ink); }
