:root{
  --blue:#1538e8;
  --blue-deep:#0f2bb9;
  --ink:#121419;
  --muted:#666b75;
  --line:#dfe2e8;
  --soft:#f5f6f8;
  --warm:#f4f0e9;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.site-header{height:110px;display:flex;align-items:center;gap:40px;padding:16px max(4vw,32px);border-bottom:1px solid #eee;background:rgba(255,255,255,.96);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.brand{width:min(470px,46vw);display:flex;align-items:center;gap:14px;overflow:visible}
.brand-mark{display:block;width:245px;height:63px;overflow:hidden;flex:0 0 auto}
.brand-mark img{width:245px;height:auto;transform:translateY(-2px);object-fit:contain;object-position:left top}
.brand-claim{font-size:12px;line-height:1.25;color:#4f545d;max-width:170px;font-style:italic}
.top-nav{margin-left:auto;display:flex;align-items:center;gap:28px;font-size:14px}.top-nav a{position:relative}.top-nav a:not(.nav-cta):after{content:"";position:absolute;left:0;right:100%;bottom:-7px;height:2px;background:var(--blue);transition:.25s}.top-nav a:hover:after{right:0}.nav-cta{border:1px solid var(--ink);padding:10px 15px;border-radius:999px}.nav-cta:hover{background:var(--ink);color:white}
.menu-button{display:none;border:0;background:none;font-size:28px;margin-left:auto}
.section-rail{position:fixed;right:18px;top:50%;transform:translateY(-46%);height:340px;width:42px;z-index:15;display:flex;flex-direction:column;justify-content:space-between;align-items:center}
.rail-line{position:absolute;left:50%;top:4px;bottom:4px;width:1px;background:#c4c9d3;transform:translateX(-50%);z-index:-1}.rail-item{width:18px;height:18px;background:white;display:grid;place-items:center;border-radius:50%;position:relative}.rail-item span{width:7px;height:7px;border:1.5px solid #5f6672;border-radius:50%;background:white;transition:.25s}.rail-item.active span{width:14px;height:14px;border-color:var(--blue);background:var(--blue);box-shadow:0 0 0 5px rgba(21,56,232,.12)}.rail-item:before{content:attr(data-label);position:absolute;right:30px;white-space:nowrap;font-size:12px;line-height:1;color:#555;background:rgba(255,255,255,.96);border:1px solid rgba(18,20,25,.08);border-radius:999px;padding:8px 12px;box-shadow:0 10px 24px rgba(0,0,0,.08);opacity:0;transform:translateX(6px);transition:.2s;pointer-events:none}.rail-item:hover:before,.rail-item.active:before{opacity:1;transform:none}.rail-item.active:before{color:var(--ink);font-weight:700}
main{overflow:hidden}.section-anchor{scroll-margin-top:120px}
.hero{max-width:var(--max);margin:0 auto;padding:82px 28px 100px;display:grid;grid-template-columns:.78fr 1.22fr;gap:70px;align-items:center}.hero-copy{padding-left:10px}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--blue);margin:0 0 16px}.hero h1{font-size:clamp(48px,6vw,84px);line-height:.98;letter-spacing:-.05em;margin:0 0 28px}.lead{font-size:20px;color:#4f545d;max-width:570px;margin-bottom:34px}.hero-actions,.contact-actions{display:flex;gap:14px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:5px;font-size:14px;font-weight:700;transition:.2s}.button.primary{background:var(--blue);color:white;border:1px solid var(--blue)}.button.primary:hover{background:var(--blue-deep);border-color:var(--blue-deep);transform:translateY(-1px)}.button.ghost{border:1px solid #c9cdd5;background:white}.button.ghost:hover{border-color:var(--ink);transform:translateY(-1px)}
.hero-media{margin:0;position:relative}.hero-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px;box-shadow:0 28px 70px rgba(0,0,0,.16)}.hero-media:before{content:"";position:absolute;left:-18px;top:-18px;width:90px;height:90px;border-left:2px solid var(--blue);border-top:2px solid var(--blue)}.hero-media figcaption{font-size:12px;color:#5b6068;margin-top:13px;display:flex;gap:11px}.hero-media figcaption span{color:var(--blue);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.section{max-width:var(--max);margin:0 auto;padding:110px 28px}.section-heading{max-width:780px}.section h2,.statement h2,.contact h2{font-size:clamp(36px,4.5vw,62px);line-height:1.05;letter-spacing:-.035em;margin:0 0 24px}.section-heading>p:last-child{font-size:18px;color:var(--muted);max-width:720px}.service-grid{margin-top:60px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service-card{padding:42px 46px 42px 0;min-height:280px}.service-card+ .service-card{border-left:1px solid var(--line);padding-left:46px}.service-no{font-size:12px;color:var(--blue);font-weight:800}.service-card h3{font-size:28px;margin:18px 0 14px}.service-card p{color:var(--muted);max-width:450px}.service-card a{display:inline-block;margin-top:20px;font-weight:700;font-size:14px;color:var(--blue)}
.statement{max-width:none;background:var(--ink);color:white;padding:80px max(calc((100vw - var(--max))/2 + 28px),28px);display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:end}.statement .eyebrow{color:#8296ff}.statement p:last-child{font-size:19px;color:#c9cbd0;max-width:620px;margin:0}
.project{padding-top:120px}.project-intro{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:end}.project-intro h2{margin-bottom:0}.project-intro>p:last-child{font-size:18px;color:var(--muted)}
.story-carousel{margin-top:58px;position:relative}.carousel-track{display:grid;grid-template-columns:1fr}.story-card{grid-area:1/1;opacity:0;visibility:hidden;transform:translateX(18px);transition:.35s ease;margin:0;display:grid;grid-template-columns:1.45fr .55fr;gap:34px;align-items:end}.story-card.active{opacity:1;visibility:visible;transform:none}.story-card img{width:100%;height:min(60vh,620px);object-fit:cover;background:#eee}.story-card figcaption{padding:16px 10px 8px 0}.story-card figcaption strong{display:block;font-size:15px;color:var(--blue);margin-bottom:9px}.story-card figcaption span{color:var(--muted);font-size:15px}.carousel-arrow{position:absolute;top:48%;z-index:3;width:45px;height:45px;border-radius:50%;border:1px solid #d5d7dc;background:rgba(255,255,255,.92);font-size:30px;line-height:1;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.08)}.carousel-arrow.prev{left:-22px}.carousel-arrow.next{right:-22px}.carousel-dots{display:flex;gap:8px;margin-top:20px}.carousel-dots button{width:28px;height:3px;border:0;background:#d8dbe1;padding:0;cursor:pointer}.carousel-dots button.active{background:var(--blue)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:100px;border-top:1px solid var(--line)}.split-copy>p{font-size:18px;color:var(--muted);margin-top:37px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:35px;border-top:1px solid var(--line)}.facts span{padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.facts span:nth-child(odd){padding-right:18px}.facts span:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}
.territory{background:var(--soft);max-width:none;padding-left:max(calc((100vw - var(--max))/2 + 28px),28px);padding-right:max(calc((100vw - var(--max))/2 + 28px),28px);display:grid;grid-template-columns:1fr .8fr;gap:80px}.territory p:last-child{font-size:18px;color:var(--muted);align-self:end}
.brand-project{display:flex;justify-content:space-between;align-items:end;gap:50px}.brand-project>div{max-width:760px}.brand-project p:last-child{font-size:18px;color:var(--muted)}
.contact{background:var(--blue);color:white;padding:100px max(calc((100vw - var(--max))/2 + 28px),28px);text-align:left}.contact .eyebrow{color:#dfe4ff}.contact>p:nth-of-type(2){font-size:18px;max-width:700px;color:#edf0ff;margin-bottom:32px}.button.ghost.light{border-color:rgba(255,255,255,.65);background:transparent;color:white}.contact .button.primary{background:white;border-color:white;color:var(--blue)}
footer{max-width:var(--max);margin:0 auto;padding:38px 28px 50px;display:flex;justify-content:space-between;gap:30px;font-size:12px;color:#666}.footer-links{display:flex;gap:24px}
@media(max-width:900px){.site-header{height:82px;padding:10px 20px}.brand{width:310px;gap:8px}.brand-mark{width:180px;height:48px}.brand-mark img{width:180px}.brand-claim{font-size:10px;max-width:120px}.top-nav{display:none}.menu-button{display:block}.section-rail{display:none}.hero{grid-template-columns:1fr;padding:54px 20px 70px;gap:45px}.hero-copy{padding:0}.hero h1{font-size:52px}.hero-media{order:-1}.hero-media img{aspect-ratio:4/3}.section{padding:80px 20px}.service-grid,.project-intro,.split,.territory{grid-template-columns:1fr}.service-card+ .service-card{border-left:0;border-top:1px solid var(--line);padding-left:0}.statement{grid-template-columns:1fr;padding:70px 20px;gap:24px}.project-intro{gap:18px}.story-card{grid-template-columns:1fr}.story-card img{height:52vw;min-height:290px}.carousel-arrow.prev{left:7px}.carousel-arrow.next{right:7px}.split{gap:20px}.territory{gap:20px;padding:75px 20px}.brand-project{align-items:flex-start;flex-direction:column}.contact{padding:75px 20px}footer{padding:34px 20px;flex-direction:column}}
@media(max-width:520px){.brand{width:210px}.brand-mark{width:150px;height:42px}.brand-mark img{width:150px}.brand-claim{display:none}.hero h1{font-size:44px}.lead{font-size:18px}.facts{grid-template-columns:1fr}.facts span:nth-child(even){padding-left:0;border-left:0}.story-card img{height:72vw}.button{width:100%}.hero-actions,.contact-actions{width:100%}}

.territory-copy{display:grid;gap:26px;align-content:start}.territory-map{margin:0;background:white;padding:18px;border:1px solid var(--line);box-shadow:0 16px 36px rgba(0,0,0,.06)}.territory-map img{width:100%;height:auto;display:block}.territory-map figcaption{margin-top:12px;font-size:13px;color:var(--muted)}

.territory-text{display:grid;gap:14px;align-self:end}
.territory-text p{margin:0;font-size:18px;color:var(--muted)}
.territory-text p strong{color:var(--ink);font-weight:700}

.brand-project-claim{
  margin: -8px 0 18px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--blue);
}

.text-link{display:inline-block;margin-top:28px;color:var(--blue);font-size:14px;font-weight:700}
.about-hero{max-width:var(--max);margin:0 auto;padding:90px 28px 105px;display:grid;grid-template-columns:.9fr 1.1fr;gap:78px;align-items:center}
.about-hero h1{font-size:clamp(54px,7vw,92px);line-height:.95;letter-spacing:-.055em;margin:0 0 30px}
.about-hero .lead{max-width:620px}
.about-collage{display:grid;grid-template-columns:1fr .8fr;gap:16px;align-items:end;margin:0}
.about-collage img{width:100%;object-fit:cover}
.about-collage img:first-child{height:520px}
.about-collage img:nth-child(2){height:390px}
.about-collage figcaption{grid-column:1/-1;font-size:12px;color:var(--muted);margin-top:2px}
.about-block{max-width:var(--max);margin:0 auto;padding:110px 28px;display:grid;grid-template-columns:.82fr 1.18fr;gap:110px;border-top:1px solid var(--line)}
.about-block h2{font-size:clamp(38px,4.5vw,62px);line-height:1.04;letter-spacing:-.04em;margin:0}
.about-body{font-size:18px;color:var(--muted)}
.about-body p{margin:0 0 22px}
.about-body strong{color:var(--ink)}
.about-principles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:40px}
.about-principles article{padding:32px 30px 34px 0}
.about-principles article+article{border-left:1px solid var(--line);padding-left:30px}
.about-principles span{display:block;color:var(--blue);font-size:12px;font-weight:800;margin-bottom:12px}
.about-principles h3{font-size:22px;line-height:1.15;margin:0 0 12px}
.about-principles p{font-size:14px;color:var(--muted);margin:0}
.about-dark{max-width:none;background:var(--ink);color:white;padding:95px max(calc((100vw - var(--max))/2 + 28px),28px);display:grid;grid-template-columns:1fr 1fr;gap:100px}
.about-dark .eyebrow{color:#8296ff}
.about-dark h2{font-size:clamp(38px,4.5vw,62px);line-height:1.04;letter-spacing:-.04em;margin:0}
.about-dark .about-body{color:#c9cbd0}
.about-next{max-width:var(--max);margin:0 auto;padding:100px 28px;display:flex;justify-content:space-between;gap:60px;align-items:end}
.about-next>div{max-width:790px}
.about-next h2{font-size:clamp(38px,4.5vw,62px);line-height:1.04;letter-spacing:-.04em;margin:0 0 22px}
.about-next p{font-size:18px;color:var(--muted);margin:0}
.page-nav-active{color:var(--blue);font-weight:700}
@media(max-width:900px){
  .about-hero,.about-block,.about-dark{grid-template-columns:1fr}
  .about-hero{padding:55px 20px 75px;gap:45px}
  .about-collage{order:-1}
  .about-collage img:first-child{height:55vw;min-height:300px}
  .about-collage img:nth-child(2){height:42vw;min-height:220px}
  .about-block{padding:80px 20px;gap:28px}
  .about-dark{padding:75px 20px;gap:30px}
  .about-principles{grid-template-columns:1fr}
  .about-principles article+article{border-left:0;border-top:1px solid var(--line);padding-left:0}
  .about-next{padding:75px 20px;flex-direction:column;align-items:flex-start}
}

.event-history{max-width:var(--max);margin:0 auto;padding:110px 28px;border-top:1px solid var(--line)}
.event-history-copy{display:grid;grid-template-columns:.82fr 1.18fr;gap:110px;align-items:start}
.event-history-copy h2{font-size:clamp(38px,4.5vw,62px);line-height:1.04;letter-spacing:-.04em;margin:0}
.event-history-copy .about-body{font-size:18px;color:var(--muted)}
.event-gallery{margin-top:58px;display:grid;grid-template-columns:1.45fr .55fr;gap:18px;align-items:start}
.event-gallery figure{margin:0;background:var(--soft)}
.event-gallery .event-main{grid-row:span 2}
.event-gallery img{width:100%;display:block;object-fit:cover}
.event-gallery .event-main img{height:620px}
.event-gallery figure:not(.event-main) img{height:292px}
.event-gallery figcaption{padding:14px 16px 16px;font-size:13px;color:var(--muted)}
.event-gallery figcaption strong{color:var(--ink)}
@media(max-width:900px){.event-history{padding:80px 20px}.event-history-copy{grid-template-columns:1fr;gap:24px}.event-gallery{grid-template-columns:1fr}.event-gallery .event-main{grid-row:auto}.event-gallery .event-main img,.event-gallery figure:not(.event-main) img{height:auto;aspect-ratio:4/3}}


/* Über LDS – starkes Partnernetzwerk */
.partner-section{
  max-width:var(--max);
  margin:0 auto;
  padding:110px 28px;
  border-top:1px solid var(--line);
}
.partner-copy{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:110px;
  align-items:start;
}
.partner-copy h2{
  font-size:clamp(38px,4.5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
  margin:0;
}
.partner-grid{
  margin-top:58px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.partner-grid article{
  position:relative;
  min-height:250px;
  padding:28px 24px 24px;
  border:1px solid var(--line);
  background:var(--soft);
}
.partner-count{
  display:flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  margin-bottom:52px;
  border-radius:50%;
  border:1px solid currentColor;
  font-size:15px;
  font-weight:700;
}
.partner-grid h3{
  margin:0 0 12px;
  font-size:20px;
  line-height:1.15;
}
.partner-grid p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
@media(max-width:980px){
  .partner-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .partner-section{padding:80px 20px}
  .partner-copy{grid-template-columns:1fr;gap:24px}
}
@media(max-width:620px){
  .partner-grid{grid-template-columns:1fr}
  .partner-grid article{min-height:0}
  .partner-count{margin-bottom:28px}
}


/* V13 – Header / Logo / Typografie */
.site-header{
  height:126px;
  padding-top:14px;
  padding-bottom:14px;
}
.brand{
  width:min(390px,40vw);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}
.brand-mark{
  width:350px;
  height:50px;
  overflow:hidden;
  flex:0 0 auto;
}
.brand-mark img{
  width:350px;
  height:auto;
  transform:none;
  object-fit:contain;
  object-position:left top;
}
.brand-claim{
  width:350px;
  max-width:none;
  text-align:right;
  padding-right:5px;
  font-size:14px;
  line-height:1.2;
  color:var(--blue);
  font-style:italic;
  white-space:nowrap;
}

/* Die beiden großen Einstiegsüberschriften jetzt auf dem gleichen Niveau
   wie die übrigen Hauptüberschriften. */
.hero h1,
.about-hero h1{
  font-size:clamp(38px,4.5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
}

/* Sticky-Header berücksichtigen */
.section-anchor{
  scroll-margin-top:136px;
}

@media(max-width:900px){
  .site-header{
    height:96px;
    padding:9px 20px;
  }
  .brand{
    width:270px;
    gap:1px;
  }
  .brand-mark{
    width:255px;
    height:37px;
  }
  .brand-mark img{
    width:255px;
  }
  .brand-claim{
    width:255px;
    max-width:none;
    padding-right:3px;
    font-size:10.5px;
    display:block;
  }
  .hero h1,
  .about-hero h1{
    font-size:clamp(36px,7vw,52px);
    line-height:1.04;
  }
  .section-anchor{
    scroll-margin-top:106px;
  }
}

@media(max-width:520px){
  .site-header{
    height:84px;
    padding:8px 14px;
  }
  .brand{
    width:218px;
  }
  .brand-mark{
    width:210px;
    height:31px;
  }
  .brand-mark img{
    width:210px;
  }
  .brand-claim{
    width:210px;
    font-size:8.8px;
    display:block;
  }
  .hero h1,
  .about-hero h1{
    font-size:38px;
  }
}


/* V14 – Logo-Link ArtenSchwarm + Firmenzeile */
.company-eyebrow{
  text-transform:none;
  letter-spacing:.08em;
}
.company-eyebrow strong{
  letter-spacing:.16em;
}

.top-nav{
  gap:22px;
}
.artenschwarm-nav-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:104px;
  height:62px;
  padding:3px 5px;
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
}
.artenschwarm-nav-link img{
  display:block;
  width:auto;
  height:55px;
  max-width:94px;
  object-fit:contain;
}
.top-nav a.artenschwarm-nav-link:after{
  display:none;
}
.artenschwarm-nav-link:hover{
  background:var(--soft);
}

/* LDS bleibt klar die Hauptmarke */
.site-header .brand-mark{
  width:370px;
  height:54px;
}
.site-header .brand-mark img{
  width:370px;
}
.site-header .brand-claim{
  width:370px;
}

/* Auf kleineren Ansichten wird die normale Navigation ohnehin eingeklappt. */
@media(max-width:1120px){
  .top-nav{gap:16px;font-size:13px}
  .artenschwarm-nav-link{width:88px;height:58px}
  .artenschwarm-nav-link img{height:50px;max-width:80px}
  .site-header .brand-mark{width:330px;height:48px}
  .site-header .brand-mark img{width:330px}
  .site-header .brand-claim{width:330px}
}

@media(max-width:900px){
  .site-header .brand-mark{width:255px;height:37px}
  .site-header .brand-mark img{width:255px}
  .site-header .brand-claim{width:255px}
}
@media(max-width:520px){
  .site-header .brand-mark{width:210px;height:31px}
  .site-header .brand-mark img{width:210px}
  .site-header .brand-claim{width:210px}
}


/* V15 – Kontakt und Netzwerk */
.partner-grid{
  grid-template-columns:repeat(3,1fr);
}
.partner-grid article strong{
  color:var(--ink);
}
.whatsapp-button{
  white-space:nowrap;
}

.imprint{
  max-width:900px;
  margin:0 auto;
  padding:100px 28px 120px;
}
.imprint h1{
  margin:0 0 46px;
  font-size:clamp(38px,4.5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
}
.imprint h2{
  margin:42px 0 12px;
  font-size:22px;
}
.imprint p{
  margin:0 0 10px;
  line-height:1.7;
  color:var(--muted);
}
.imprint a{
  color:var(--ink);
  text-decoration:underline;
  text-underline-offset:3px;
}
.imprint .contact-channel-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-top:12px;
}
.imprint .contact-channel-list a,
.imprint .contact-channel-list span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
}
@media(max-width:980px){
  .partner-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:620px){
  .partner-grid{grid-template-columns:1fr}
  .imprint{padding:72px 20px 90px}
}


/* V17 – Leistungsübersicht mit sechs Themen */
.service-grid-six{
  grid-template-columns:repeat(3,1fr);
  border-bottom:0;
}
.service-grid-six .service-card{
  min-height:315px;
  padding:38px 34px 38px 0;
  border-bottom:1px solid var(--line);
  border-left:0;
}
.service-grid-six .service-card + .service-card{
  padding-left:34px;
  border-left:1px solid var(--line);
}
.service-grid-six .service-card:nth-child(3n+1){
  padding-left:0;
  border-left:0;
}
.service-grid-six .service-card:nth-child(3n){
  padding-right:0;
}
.service-grid-six .service-card h3{
  font-size:24px;
  line-height:1.18;
}
.service-grid-six .service-card p{
  font-size:15px;
  line-height:1.55;
}
@media(max-width:980px){
  .service-grid-six{
    grid-template-columns:repeat(2,1fr);
  }
  .service-grid-six .service-card,
  .service-grid-six .service-card:nth-child(3n+1),
  .service-grid-six .service-card:nth-child(3n){
    padding:34px 28px 34px 0;
    border-left:0;
  }
  .service-grid-six .service-card:nth-child(even){
    padding-left:28px;
    padding-right:0;
    border-left:1px solid var(--line);
  }
}
@media(max-width:680px){
  .service-grid-six{
    grid-template-columns:1fr;
  }
  .service-grid-six .service-card,
  .service-grid-six .service-card:nth-child(even),
  .service-grid-six .service-card:nth-child(3n+1),
  .service-grid-six .service-card:nth-child(3n){
    min-height:0;
    padding:30px 0;
    border-left:0;
  }
}


/* V18 – zweite Projektstory */
.project-story-secondary{
  margin-top:110px;
  padding-top:90px;
  border-top:1px solid var(--line);
}
.project-story-secondary .project-intro{
  margin-bottom:42px;
}
@media(max-width:900px){
  .project-story-secondary{
    margin-top:78px;
    padding-top:68px;
  }
}


/* V20 – ArtenSchwarm-Farben wie in der Original-Wortmarke */
.artenschwarm-wordmark{
  white-space:nowrap;
  font-weight:inherit;
}
.artenschwarm-wordmark .arten-part{
  color:#2c3418;
}
.artenschwarm-wordmark .schwarm-part{
  color:#64682c;
}


/* V21 – Kontrastkorrektur im dunklen Schnittstellen-Bereich */
.about-dark .about-body strong{
  color:#fff;
}


/* V22 – Schnittstellenbegriff garantiert hell auf dunklem Hintergrund */
.schnittstellen-highlight{
  color:#ffffff !important;
  font-weight:700;
}
.about-dark .schnittstellen-highlight{
  color:#ffffff !important;
}

/* V23 – Firmenzeile auf der Startseite kursiv */
.company-eyebrow em{
  font-style:italic;
  font-weight:500;
  letter-spacing:.06em;
}


/* V24 – Leistungen 01 bis 06 im Detail */
.service-details{
  max-width:var(--max);
  margin:0 auto;
  padding:105px 28px 30px;
}
.service-details-heading{
  max-width:760px;
  margin-bottom:68px;
}
.service-details-heading h2{
  margin:0 0 18px;
  font-size:clamp(38px,4.5vw,62px);
  line-height:1.04;
  letter-spacing:-.04em;
}
.service-details-heading > p:last-child{
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
}

.service-detail{
  display:grid;
  grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);
  gap:70px;
  align-items:center;
  padding:76px 0;
  border-top:1px solid var(--line);
}
.service-detail:nth-of-type(even) .service-detail-copy{
  order:2;
}
.service-detail:nth-of-type(even) .service-detail-media{
  order:1;
}
.service-detail-no{
  display:block;
  margin-bottom:20px;
  color:var(--blue);
  font-size:13px;
  font-weight:800;
  letter-spacing:.14em;
}
.service-detail h3{
  margin:0 0 20px;
  font-size:clamp(30px,3.25vw,46px);
  line-height:1.08;
  letter-spacing:-.035em;
}
.service-detail-copy > p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.service-detail-copy .service-note{
  padding:16px 18px;
  border-left:3px solid var(--blue);
  background:var(--soft);
  color:var(--ink);
  font-size:14px;
}
.service-detail-copy .service-note strong{
  color:inherit;
}
.topic-list{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:28px 0 26px;
}
.topic-list span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-size:13px;
  line-height:1.2;
}
.detail-link{
  display:inline-flex;
  margin-top:4px;
  color:var(--blue);
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}
.service-detail-media{
  display:grid;
  grid-template-columns:1fr .46fr;
  gap:14px;
  align-items:end;
}
.service-detail-media img{
  width:100%;
  display:block;
  object-fit:cover;
  background:var(--soft);
}
.service-detail-media .media-main{
  height:520px;
}
.service-detail-media .media-detail{
  height:310px;
}
.service-detail-media.single-media{
  grid-template-columns:1fr;
}
.service-detail-media.single-media .media-main{
  height:480px;
}

@media(max-width:900px){
  .service-details{
    padding:78px 20px 20px;
  }
  .service-details-heading{
    margin-bottom:45px;
  }
  .service-detail{
    grid-template-columns:1fr;
    gap:34px;
    padding:58px 0;
  }
  .service-detail:nth-of-type(even) .service-detail-copy,
  .service-detail:nth-of-type(even) .service-detail-media{
    order:initial;
  }
  .service-detail-media .media-main{
    height:auto;
    aspect-ratio:4/3;
  }
  .service-detail-media .media-detail{
    height:auto;
    aspect-ratio:3/4;
  }
  .service-detail-media.single-media .media-main{
    height:auto;
    aspect-ratio:4/3;
  }
}
@media(max-width:580px){
  .service-detail-media{
    grid-template-columns:1fr;
  }
  .service-detail-media .media-detail{
    aspect-ratio:4/3;
  }
}

/* V25 – ergänzende Einordnung Schimmel / Feuchteursachen */
.service-note-secondary{
  border-left-color:var(--ink);
  background:#f7f7f5;
}

/* V27 – zusätzliche Fachnotiz Wohnklima */
.service-note-qualification{
  border-left-color:#4d6b82;
  background:#f4f7f9;
}


/* V31 – neues LDS Markenlogo Edelstahl / Blau */
.site-header{
  height:132px;
  padding-top:10px;
  padding-bottom:10px;
}
.site-header .brand{
  width:220px;
  flex:0 0 220px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:visible;
}
.site-header .brand-mark{
  width:205px;
  height:108px;
  display:block;
  overflow:visible;
  flex:0 0 auto;
}
.site-header .brand-mark img{
  width:205px;
  height:108px;
  display:block;
  object-fit:contain;
  object-position:left center;
  transform:none;
}
.site-header .brand-claim{
  display:none !important;
}

/* Durch das kompaktere Emblem bekommt die Navigation wieder mehr Luft. */
.top-nav{
  margin-left:auto;
}

.section-anchor{
  scroll-margin-top:142px;
}

@media(max-width:1120px){
  .site-header .brand{
    width:190px;
    flex-basis:190px;
  }
  .site-header .brand-mark{
    width:178px;
    height:94px;
  }
  .site-header .brand-mark img{
    width:178px;
    height:94px;
  }
}

@media(max-width:900px){
  .site-header{
    height:92px;
    padding:6px 18px;
  }
  .site-header .brand{
    width:150px;
    flex-basis:150px;
  }
  .site-header .brand-mark{
    width:142px;
    height:76px;
  }
  .site-header .brand-mark img{
    width:142px;
    height:76px;
  }
  .section-anchor{
    scroll-margin-top:102px;
  }
}

@media(max-width:520px){
  .site-header{
    height:82px;
    padding:5px 12px;
  }
  .site-header .brand{
    width:128px;
    flex-basis:128px;
  }
  .site-header .brand-mark{
    width:120px;
    height:68px;
  }
  .site-header .brand-mark img{
    width:120px;
    height:68px;
  }
}


/* V33 – Social Media / Kontakt */
.social-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.social-button{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:10px 15px;border:1px solid rgba(255,255,255,.6);border-radius:999px;color:#fff;font-weight:700;font-size:13px;transition:.2s}
.social-button:hover{background:#fff;color:var(--blue);transform:translateY(-1px)}
.social-icon{width:18px;height:18px;display:inline-grid;place-items:center;font-size:13px;font-weight:900;line-height:1}
.footer-social{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.footer-social a{color:var(--ink);font-weight:700}
.footer-social a:hover{color:var(--blue)}
@media(max-width:520px){.social-actions{display:grid;grid-template-columns:1fr}.social-button{justify-content:center;width:100%}}


/* V34 – stabile Abschnittsnavigation */
.section-rail .rail-current-label{
  position:absolute;
  right:34px;
  top:9px;
  transform:translateY(-50%);
  min-width:max-content;
  white-space:nowrap;
  padding:8px 12px;
  border:1px solid rgba(18,20,25,.10);
  border-radius:999px;
  background:rgba(255,255,255,.97);
  color:var(--ink);
  font-size:12px;
  font-weight:700;
  line-height:1;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  pointer-events:none;
  transition:top .22s ease, opacity .18s ease;
}
/* Das aktive Label kommt nun aus .rail-current-label; Hover-Labels bleiben für andere Punkte erhalten. */
.section-rail .rail-item.active:before{
  opacity:0 !important;
  transform:translateX(6px) !important;
}
.section-rail .rail-item:not(.active):hover:before{
  opacity:1;
  transform:none;
}

/* V34 – funktionsfähiges mobiles Hauptmenü */
@media(max-width:900px){
  .site-header.nav-open{
    overflow:visible;
  }
  .site-header.nav-open .top-nav{
    display:flex;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    z-index:50;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:10px 20px 16px;
    background:rgba(255,255,255,.99);
    border-top:1px solid #eee;
    border-bottom:1px solid #ddd;
    box-shadow:0 14px 30px rgba(0,0,0,.10);
  }
  .site-header.nav-open .top-nav > a{
    display:flex;
    min-height:46px;
    align-items:center;
    padding:10px 4px;
    border-bottom:1px solid var(--line);
  }
  .site-header.nav-open .top-nav > a:last-child{
    border-bottom:0;
  }
  .site-header.nav-open .top-nav .artenschwarm-nav-link{
    width:auto;
    height:62px;
    justify-content:flex-start;
    border-left:0;
    border-right:0;
  }
  .site-header.nav-open .top-nav .artenschwarm-nav-link img{
    height:52px;
    max-width:96px;
  }
  .site-header.nav-open .top-nav .nav-cta{
    margin-top:8px;
    justify-content:center;
    border:1px solid var(--ink);
  }
}


/* V35 – Rechtliches / Veröffentlichungsstand */
.legal-page .legal-updated{
  margin:-28px 0 42px;
  color:var(--muted);
  font-size:13px;
}
.legal-page h2{
  border-top:1px solid var(--line);
  padding-top:28px;
}
.legal-page h2:first-of-type{
  border-top:0;
  padding-top:0;
}
.legal-page p{
  max-width:820px;
}
.legal-page a{
  overflow-wrap:anywhere;
}
.footer-links a[aria-current="page"]{
  color:var(--blue);
  font-weight:700;
}
