@import url('https://fonts.googleapis.com/css2?family=Tomorrow:wght@300;400;500;600;700&display=swap');
:root{
  --outer:rgb(16 28 44);
  --page:rgb(20 33 51);
  --nav:rgb(32 44 61);
  --subtle:rgb(69 90 115);
  --red:rgb(228 0 58);
  --blue:rgb(0 64 112);
  --white:#fff;
  --rail:84px;
  --content:1360px
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth
}
body{
  margin:0;
  background:var(--outer);
  color:var(--white);
  font-family:Tomorrow,'Arial Narrow',Arial,sans-serif;
  font-size:clamp(13px,1.01vw,17px);
  line-height:1.45
}
a{
  color:inherit;
  text-decoration:none
}
button{
  font:inherit
}
img{
  max-width:100%
}
.shell{
  width:min(100%,1920px);
  margin:auto;
  min-height:100vh;
  background:var(--page);
  position:relative;
  box-shadow:0 0 28px #0002
}
.page-body{
  width:calc(100% - var(--rail));
  min-height:100vh;
  position:relative;
  overflow:hidden;
  background:var(--page)
}
.content{
  width:min(calc(100% - 2 * clamp(28px,7.2vw,125px)),var(--content));
  margin:auto;
  position:relative;
  z-index:1
}
.architectural{
  position:absolute;
  right:-2%;
  top:0;
  width:61%;
  height:650px;
  background:linear-gradient(90deg,var(--page) 0%,transparent 32%),linear-gradient(0deg,var(--page) 0%,transparent 35%),var(--page-background-image, url('../assets/architecture.jpg')) right top/cover no-repeat;
  opacity:.88;
  pointer-events:none
}
.eyebrow{
  margin:0 0 27px;
  font-size:clamp(12px,1vw,16px);
  letter-spacing:.015em
}
.slashes,.red{
  color:var(--red)
}
h1{
  font-weight:500;
  font-size:clamp(35px,3.6vw,66px);
  line-height:1.01;
  letter-spacing:.01em;
  margin:0 0 27px
}
h2{
  font-size:clamp(18px,1.5vw,25px);
  font-weight:500;
  line-height:1.2
}
p{
  margin:0
}
.intro{
  max-width:680px;
  line-height:1.55
}
.accent-line{
  width:85px;
  height:4px;
  background:var(--red);
  margin-top:28px
}
.intro-area{
  padding-top:clamp(68px,7vw,126px);
  min-height:415px
}
.home-title{
  font-size:clamp(42px,4.25vw,82px);
  line-height:.98;
  letter-spacing:.005em
}
.home .intro-area{
  min-height:505px
}
.home .intro{
  max-width:560px
}
.nav{
  position:fixed;
  z-index:1000;
  right:max(0px,calc((100vw - 1920px)/2));
  top:0;
  bottom:0;
  width:var(--rail);
  background:var(--nav);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:8px 0 22px;
  gap:12px
}
.nav-logo{
  height:57px;
  display:grid;
  place-items:center;
  width:100%
}
.nav-logo img{
  width:51px;
  height:51px
}
.nav-link{
  height:62px;
  width:62px;
  border-radius:50%;
  background:var(--red);
  display:grid;
  place-items:center;
  transition:transform .2s ease,filter .2s ease
}
.nav-link img{
  width:33px;
  height:33px;
  object-fit:contain
}
.nav-link:hover,.nav-link[aria-current=page]{
  transform:scale(1.07);
  filter:drop-shadow(0 0 9px #e4003a8a)
}
.nav-spacer{
  flex:1
}
.nav-up{
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s
}
.nav-up img{
  width:26px
}
.nav-up.visible{
  opacity:1;
  pointer-events:auto
}
.tiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px 26px
}
.tile{
  position:relative;
  aspect-ratio:1.05;
  overflow:hidden;
  border:1px solid var(--subtle);
  border-radius:18px;
  display:flex;
  align-items:flex-end;
  isolation:isolate;
  background:#102235;
  transition:transform .2s,border-color .2s
}
.tile:before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#071525 1%,transparent 67%);
  z-index:-1
}
.tile>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2
}
.tile:hover{
  transform:translateY(-5px);
  border-color:var(--red)
}
.tile-info{
  width:100%;
  padding:clamp(15px,2vw,27px)
}
.tile-icon{
  font-size:30px;
  height:36px;
  display:block;
  margin-bottom:12px
}
.tile-title{
  font-size:clamp(15px,1.3vw,22px);
  font-weight:600;
  margin-bottom:4px
}
.tile-sub{
  font-size:clamp(11px,.85vw,14px);
  max-width:82%
}
.tile-arrow{
  position:absolute;
  bottom:20px;
  right:21px;
  color:var(--red);
  font-size:30px;
  line-height:1
}
.cta-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:25px;
  margin-top:36px
}
.cta{
  border:1px solid #9da9b8;
  border-radius:13px;
  padding:17px 22px;
  min-height:84px;
  display:flex;
  align-items:center;
  gap:25px;
  transition:background .2s
}
.cta:hover,.small-button:hover{
  background:#ffffff12
}
.cta-icon{
  width:38px;
  height:38px;
  object-fit:contain
}
.cta strong{
  font-size:clamp(14px,1.13vw,19px);
  font-weight:600;
  display:block
}
.cta small{
  display:block;
  font-size:clamp(10px,.8vw,13px)
}
.cta .arrow{
  margin-left:auto;
  color:var(--red);
  font-size:31px
}
.footer{
  text-align:center;
  padding:58px 18px 45px;
  color:var(--subtle);
  font-size:14px
}
.footer-line{
  width:175px;
  height:5px;
  margin:0 auto 48px;
  background:linear-gradient(to right,var(--red) 0 33%,#fff 33% 66%,var(--red) 66%)
}
.social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  margin-top:12px
}
.social img{
  width:28px;
  height:28px;
  opacity:.75
}
.social img:hover{
  opacity:1
}
.footer a:hover{
  color:white
}
.service .intro-area{
  min-height:360px
}
.service h1{
  font-size:clamp(40px,3.7vw,70px)
}
.service .intro{
  max-width:630px
}
.carousel-section{
  margin-top:12px;
  position:relative
}
.carousel{
  height:clamp(370px,34vw,580px);
  width:100%;
  position:relative;
  touch-action:pan-y;
  user-select:none;
  cursor:grab
}
.carousel.dragging{
  cursor:grabbing
}
.project-card{
  position:absolute;
  top:50%;
  left:50%;
  width:35%;
  max-width:455px;
  height:88%;
  border:0;
  padding:0;
  background:transparent;
  border-radius:19px;
  overflow:hidden;
  color:white;
  transition:transform .38s ease,filter .38s ease,opacity .38s ease,box-shadow .38s ease;
  transform-origin:center;
  pointer-events:none;
  filter:brightness(.48);
  opacity:0
}
.project-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.project-card .project-name{
  position:absolute;
  left:0;
  right:0;
  top:0;
  padding:12px 15px;
  background:var(--red);
  text-align:left;
  font-size:clamp(15px,1.4vw,23px);
  font-weight:600;
  display:none
}
/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
    .project-card .ai-logo {
        position: absolute;
        bottom: 15px;
        left: 15px;
        width: 25px;
        height: 25px;
        object-fit: contain;
        opacity: 0.5;
        z-index: 2;
        pointer-events: none;
    }
.project-card.is-center{
  pointer-events:auto;
  filter:brightness(1);
  box-shadow:0 0 17px #e4003a61;
  z-index:5;
  cursor:pointer
}
.project-card.is-center .project-name{
  display:block
}
.project-card.is-side{
  opacity:1;
  z-index:2
}
.carousel.dragging .project-card{
  transition:none
}
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:8;
  border:0;
  background:transparent;
  color:#fff;
  font-size:48px;
  font-weight:200;
  cursor:pointer;
  width:42px;
  height:85px;
  line-height:1
}
.carousel-arrow.prev{
  left:-50px
}
.carousel-arrow.next{
  right:-50px
}
.carousel-arrow:hover{
  color:var(--red)
}
.carousel-indicator{
  width:156px;
  height:5px;
  margin:24px auto 42px;
  background:linear-gradient(to right,var(--red) 33%,white 33% 66%,var(--red) 66%)
}
.service-details{
  display:grid;
  grid-template-columns:1.18fr 1fr;
  gap:60px;
  align-items:center;
  margin:30px 0 45px
}
.service-details h2{
  margin:0 0 22px
}
.service-list{
  padding:0;
  margin:0;
  list-style:none
}
.service-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:7px 0
}
.service-list img{
  width:22px;
  flex:none;
  margin-top:2px
}
.project-contact{
  border-left:2px solid #9caabd;
  padding-left:45px
}
.project-contact h2{
  color:var(--red);
  margin:0 0 8px
}
.small-button{
  display:inline-flex;
  border:1px solid #bec8d3;
  border-radius:10px;
  min-height:47px;
  align-items:center;
  justify-content:center;
  gap:17px;
  padding:8px 20px;
  margin-top:20px;
  font-size:clamp(12px,.95vw,16px)
}
.small-button img{
  width:26px;
  height:26px
}
.small-button .arrow{
  font-size:25px;
  color:var(--red)
}
.back{
  margin:15px 0 10px;
  min-width:300px
}
.back .arrow{
  color:white
}
.other-page .intro-area{
  min-height:300px
}
.placeholder-panel{
  border:1px solid var(--subtle);
  border-radius:15px;
  padding:35px;
  background:#11263b9c;
  min-height:210px;
  max-width:800px
}
.placeholder-panel h2{
  margin-top:0
}
.legal-text{
  max-width:800px;
  line-height:1.7
}
.download-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin:30px 0
}
.download-card{
  padding:25px;
  border:1px solid var(--subtle);
  border-radius:12px
}
/* Lightbox uses CSS :target. Navigation deliberately remains above it. */
.lightbox{
  display:none;
  position:fixed;
  z-index:800;
  inset:0;
  background:rgba(4,11,20,.91);
  overflow-y:auto;
  padding:34px calc(var(--rail) + 12px) 38px 24px
}
.lightbox:target{
  display:block
}
.lightbox-inner{
  max-width:1180px;
  margin:0 auto;
  position:relative;
  background:var(--page);
  padding:28px 32px 48px
}
.lightbox-close{
  position:absolute;
  right:17px;
  top:12px;
  font-size:48px;
  line-height:1;
  z-index:5;
  font-weight:200
}
.lightbox-close:hover{
  color:var(--red)
}
.project-hero{
  width:100%;
  max-height:380px;
  object-fit:cover;
  border-radius:10px;
  display:block
}
.lightbox-intro{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px;
  padding:44px 10px 36px;
  align-items:center
}
.lightbox-intro h2{
  font-size:clamp(32px,3.1vw,56px);
  font-weight:300;
  letter-spacing:.02em;
  margin:0
}
.lightbox-intro p{
  max-width:480px
}
.gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}
.gallery img{
  width:100%;
  height:auto;
  display:block;
  border-radius:9px;
  border:1px solid var(--subtle)
}
.gallery figure{
  margin:0
}
.lightbox-end{
  height:1px
}
@media(max-width:900px){
  :root{
    --rail:63px
  }
  .nav{
    gap:10px
  }
  .nav-logo{
    height:55px
  }
  .nav-logo img{
    width:44px
  }
  .nav-link{
    width:47px;
    height:47px
  }
  .nav-link img{
    width:29px;
    height:29px
  }
  .nav-up{
    width:47px
  }
  .content{
    width:calc(100% - 58px)
  }
  .tiles{
    gap:13px
  }
  .tile{
    border-radius:12px
  }
  .tile-info{
    padding:13px
  }
  .tile-title{
    font-size:13px
  }
  .tile-sub{
    font-size:10px
  }
  .tile-icon{
    margin-bottom:8px
  }
  .tile-arrow{
    bottom:9px;
    right:10px
  }
  .intro-area{
    min-height:320px
  }
  .home .intro-area{
    min-height:380px
  }
  .service-details{
    gap:25px
  }
  .project-contact{
    padding-left:22px
  }
  .carousel-arrow.prev{
    left:-20px
  }
  .carousel-arrow.next{
    right:-20px
  }
}
@media(max-width:620px){
  :root{
    --rail:51px
  }
  body{
    font-size:13px
  }
  .content{
    width:calc(100% - 42px)
  }
  .nav{
    gap:7px;
    padding-top:5px
  }
  .nav-logo{
    height:43px
  }
  .nav-logo img{
    width:38px;
    height:38px
  }
  .nav-link{
    width:38px;
    height:38px
  }
  .nav-link img{
    width:23px;
    height:23px
  }
  .nav-up{
    height:42px
  }
  .nav-up img{
    width:20px
  }
  .intro-area{
    padding-top:48px;
    min-height:305px
  }
  .home .intro-area{
    min-height:370px
  }
  .home-title{
    font-size:clamp(35px,8.4vw,59px)
  }
  .architectural{
    height:460px;
    width:100%;
    opacity:.54;
    background-position:right top
  }
  .eyebrow{
    font-size:10px;
    margin-bottom:20px
  }
  h1,.service h1{
    font-size:clamp(30px,7vw,44px);
    margin-bottom:21px
  }
  .intro{
    line-height:1.55;
    max-width:300px!important
  }
  .accent-line{
    margin-top:22px
  }
  .tiles{
    grid-template-columns:1fr;
    gap:18px
  }
  .tile{
    aspect-ratio:1.45;
    border-radius:14px
  }
  .tile-info{
    padding:19px
  }
  .tile-title{
    font-size:19px
  }
  .tile-sub{
    font-size:12px
  }
  .tile-arrow{
    bottom:18px;
    right:19px
  }
  .cta-row{
    grid-template-columns:1fr;
    gap:13px;
    margin-top:23px
  }
  .cta{
    min-height:66px;
    padding:12px 15px
  }
  .footer{
    padding:48px 10px 30px;
    font-size:10px
  }
  .footer-line{
    margin-bottom:32px;
    width:115px
  }
  .social{
    gap:11px
  }
  .social img{
    width:21px;
    height:21px
  }
  .service .intro-area{
    min-height:295px
  }
  .carousel{
    height:420px
  }
  .project-card{
    width:72%;
    height:88%
  }
  .carousel-arrow{
    font-size:36px;
    width:24px
  }
  .carousel-arrow.prev{
    left:-18px
  }
  .carousel-arrow.next{
    right:-18px
  }
  .project-card .project-name{
    font-size:16px
  }
  .service-details{
    grid-template-columns:1fr;
    gap:28px
  }
  .project-contact{
    border-left:0;
    border-top:1px solid #7e90a5;
    padding:25px 0 0
  }
  .service-list li{
    font-size:12px
  }
  .back{
    min-width:0;
    width:100%
  }
  .lightbox{
    padding:8px calc(var(--rail) + 2px) 12px 5px
  }
  .lightbox-inner{
    padding:20px 12px 28px
  }
  .project-hero{
    border-radius:5px
  }
  .lightbox-close{
    font-size:35px;
    top:7px;
    right:10px
  }
  .lightbox-intro{
    grid-template-columns:1fr;
    padding:24px 4px;
    gap:13px
  }
  .lightbox-intro h2{
    font-size:29px
  }
  .gallery{
    grid-template-columns:1fr;
    gap:12px
  }
  .placeholder-panel{
    padding:18px
  }
  .download-grid{
    grid-template-columns:1fr
  }
}
@media(prefers-reduced-motion:reduce){
  *{
    scroll-behavior:auto!important;
    transition:none!important
  }
}
/* Startseite V1.1: nur die angeforderten Anpassungen; Unterseiten bleiben unverändert. */
/* Abstand zwischen Intro und Raster: dreifacher Raster-Zeilenabstand (24px). */
.home .intro-area{
  min-height:0;
  margin-bottom:72px
}
/* Texte ca. 15 % größer, ohne die bisherige Größenhierarchie zu verändern. */
.home .eyebrow{
  font-size:clamp(13.8px,1.15vw,18.4px)
}
.home .intro{
  font-size:1.15em
}
.home .tile-info{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end
}
.home .tile-icon{
  display:block;
  height:auto;
  margin-bottom:12px
}
.home .tile-icon img{
  display:block;
  width:38px;
  height:38px;
  object-fit:contain
}
.home .tile-title{
  display:block;
  font-size:clamp(17.25px,1.495vw,25.3px);
  line-height:1.22;
  margin-bottom:5px
}
.home .tile-sub{
  display:block;
  font-size:clamp(12.65px,.9775vw,16.1px);
  line-height:1.3
}
.home .cta strong{
  font-size:clamp(16.1px,1.2995vw,21.85px)
}
.home .cta small{
  font-size:clamp(11.5px,.92vw,14.95px)
}
.home .footer{
  font-size:16.1px
}
/* Statt eines Textpfeils wird das mitgelieferte Original-SVG angezeigt. */
.home .tile-arrow{
  display:grid;
  place-items:center;
  width:32px;
  height:32px
}
.home .tile-arrow img{
  width:100%;
  height:100%;
  display:block
}
.home .cta .arrow{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:none
}
.home .cta .arrow img{
  width:100%;
  height:100%;
  display:block
}
/* Social-Icons: 1,5x so groß, 50 % Deckkraft, auf Hover rot. */
.home .social img{
  width:42px;
  height:42px;
  opacity:.5;
  transition:opacity .2s ease,filter .2s ease
}
.home .social img:hover{
  opacity:1;
  filter:brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(6304%) hue-rotate(334deg) brightness(96%) contrast(110%)
}
/* Die Navigationsleiste reicht bündig bis zur rechten Kante des 1920px-Layouts. */
.shell:has(> .home){
  background:var(--nav)
}
@media(max-width:900px){
   .home .intro-area{
    min-height:0;
    margin-bottom:39px
  }
  /* 3 x 13px Kartenabstand */
 .home .tile-title{
    font-size:14.95px
  }
   .home .tile-sub{
    font-size:11.5px
  }
   .home .tile-icon img{
    width:33px;
    height:33px
  }
}
@media(max-width:620px){
   .home .intro-area{
    min-height:0;
    margin-bottom:54px
  }
  /* 3 x 18px Kartenabstand */
 .home .eyebrow{
    font-size:11.5px
  }
   .home .tile-title{
    font-size:21.85px
  }
   .home .tile-sub{
    font-size:13.8px
  }
   .home .tile-icon img{
    width:38px;
    height:38px
  }
   .home .social img{
    width:31.5px;
    height:31.5px
  }
   .home .footer{
    font-size:11.5px
  }
}
/* V1.2 – Konsistente Korrekturen auf allen Seiten und Mediendesign-Karussell. */
/* Navigationshintergrund bündig bis zur rechten Kante, auf jeder Seite. */
.shell {
   background:var(--nav);
   
}
/* Die Textgröße und Typografie der Startseite gelten auch für Folgeseiten. */
.service .eyebrow, .other-page .eyebrow {
   font-size:clamp(13.8px,1.15vw,18.4px);
   
}
.service .intro, .other-page .intro {
   font-size:1.15em;
   
}
/* Intro kompakter anordnen; Abstand zwischen Text und Projektkarten wie in Folgeseite.jpg. */
.service .intro-area {
   min-height:0;
   margin-bottom:clamp(34px,3.5vw,58px);
   
}
/* Drei sichtbare Karten: längeres Porträtformat, aktive Mitte höher/heller, Seiten verkleinert. */
.service .carousel-section {
   margin-top:0;
   
}
.service .carousel {
   height:clamp(510px,43vw,700px);
   
}
.service .project-card {
   width:34%;
   max-width:450px;
   height:96%;
   border-radius:18px;
   
}
/* RWR-Trenner DIREKT unter dem Kundenkarussell entfernt, Footer bleibt erhalten. */
.service .carousel-indicator {
   display:none;
   
}
/* Leistungsbereich und Projekt gleichbreit. */
.service .service-details {
   grid-template-columns:minmax(0,1fr) minmax(0,1fr);
   gap:0;
   align-items:start;
   margin-top:clamp(36px,4vw,65px);
   
}
.service .service-details > div:first-child {
   padding-right:clamp(16px,3vw,45px);
   
}
.service .project-contact {
   padding-left:clamp(16px,3vw,45px);
   
}
/* Original-Social-Icons auf allen Seiten: 1,5x und 40% transparent (60% Deckkraft). */
.social img, .home .social img {
   width:42px;
   height:42px;
   opacity:.6;
   transition:opacity .2s ease,filter .2s ease;
   
}
.social img:hover, .home .social img:hover {
   opacity:1;
   filter:brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(6304%) hue-rotate(334deg) brightness(96%) contrast(110%);
   
}
.footer {
   font-size:16.1px;
   
}
@media (max-width:900px) {
   .service .carousel {
     height:clamp(450px,57vw,570px);
     
  }
   .service .project-card {
     width:38%;
     height:94%;
     
  }
   .social img, .home .social img {
     width:36px;
     height:36px;
     
  }
}
@media (max-width:620px) {
   .service .eyebrow, .other-page .eyebrow {
     font-size:11.5px;
     
  }
   .service .intro-area {
     min-height:0;
     margin-bottom:35px;
     
  }
   .service .carousel {
     height:clamp(390px,105vw,510px);
     
  }
   .service .project-card {
     width:77%;
     height:95%;
     
  }
   .service .service-details {
     grid-template-columns:1fr;
     gap:26px;
     
  }
   .service .service-details > div:first-child {
     padding-right:0;
     
  }
   .service .project-contact {
     border-left:0;
     border-top:1px solid #7e90a5;
     padding:25px 0 0;
     
  }
   .social img, .home .social img {
     width:31.5px;
     height:31.5px;
     
  }
   .footer {
     font-size:11.5px;
     
  }
}
/* V1.3: Nur die angefragten Korrekturen. */
/* Eine einheitliche Überschriftenskala für Start- und Folgeseiten. */
.home .home-title, .service h1, .other-page h1 {
    font-size:clamp(42px,4.25vw,82px);
    line-height:.98;
}
/* Rechte Navigation bleibt fixiert, hat aber keinerlei eigene Deckfläche mehr.
   Der Seitenhintergrund und das architektonische Hintergrundbild laufen darunter. */
.shell, .shell:has(> .home) {
   background:var(--page);
   
}
.page-body {
   width:100%;
   padding-right:var(--rail);
   
}
.nav {
   background:transparent;
   
}
/* Originalpfeil für die Buttons: rückwärts gedreht und weiß. */
.small-button .arrow {
   width:26px;
  height:26px;
  flex:none;
  display:grid;
  place-items:center;
  line-height:1;
   
}
.small-button .arrow img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.small-button.back .arrow img {
  transform:rotate(180deg);
  filter:brightness(0) invert(1);
}
@media(max-width:620px){
    .home .home-title, .service h1, .other-page h1 {
    font-size:clamp(35px,8.4vw,59px);
  }
}
/* V1.4: jede Seite hat ihre eigene austauschbare Hintergrunddatei. */


/* V1.5 – ausschließlich Projekt-Lightbox: Vorlage Lightbox.png */
/* Die feste, transparente Navigation behält ihren bisherigen höheren z-index. */
html:has(.lightbox:target), body:has(.lightbox:target) {
   overflow:hidden;
   
}
.lightbox {
    padding:0 var(--rail) 0 0;
    background:rgba(6,15,26,.90);
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:var(--subtle) transparent;
}
.lightbox-inner {
    width:min(calc(100% - 64px),1100px);
    max-width:none;
    min-height:100%;
    margin:0 auto;
    padding:32px clamp(20px,2.8vw,38px) 62px;
    background:var(--page);
    border:0;
    border-radius:0;
    box-shadow:none;
}
.lightbox-close {
    top:33px;
    right:clamp(29px,3.8vw,51px);
    color:#fff;
    font-size:50px;
    line-height:1;
    text-shadow:0 2px 12px #07101e;
}
.project-hero {
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:849 / 279;
    object-fit:cover;
    border-radius:9px;
}
.lightbox-intro {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:clamp(24px,4vw,65px);
    padding:clamp(48px,5.6vw,78px) 8px clamp(50px,5.4vw,76px);
    align-items:start;
}
.lightbox-intro h2 {
   font-size:clamp(34px,3.3vw,60px);
   line-height:1.15;
   
}
.lightbox-intro p {
   max-width:510px;
   font-size:1em;
   line-height:1.5;
   margin-top:clamp(52px,5.4vw,84px);
   
}
.gallery {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:clamp(12px,1.7vw,22px);
}
.gallery-column {
   display:flex;
   flex-direction:column;
   gap:clamp(12px,1.7vw,22px);
   min-width:0;
   
}
.gallery figure {
   margin:0;
   
}
.gallery img {
    width:100%;
    height:auto;
    display:block;
    border:1px solid var(--subtle);
    border-radius:9px;
}
@media(max-width:620px) {
    .lightbox {
     padding:0 var(--rail) 0 0;
     
  }
    .lightbox-inner {
     width:100%;
     padding:12px 12px 35px;
     
  }
    .lightbox-close {
     top:12px;
     right:19px;
     font-size:40px;
     
  }
    .project-hero {
     border-radius:6px;
     
  }
    .lightbox-intro {
     grid-template-columns:1fr;
     gap:15px;
     padding:36px 5px 42px;
     
  }
    .lightbox-intro p {
     margin-top:0;
  }
    .lightbox-intro h2 {
     font-size:clamp(28px,7vw,40px);
     
  }
    .gallery {
     grid-template-columns:1fr;
     gap:12px;
     
  }
    .gallery-column {
     gap:12px;
     
  }
    .gallery img {
     border-radius:7px;
     
  }
}
/* V1.6 – Nur kleine Informationsseiten: gemeinsame Typografie/Navigation bleibt unverändert. */
.other-page .info-panel {
    width:100%;
   max-width:none;
   min-width:0;
    background:rgba(20,33,51,.88);
    border:1px solid var(--subtle);
    border-radius:18px;
    padding:clamp(24px,3.2vw,48px);
}
.other-page .info-panel h2 {
  margin:0 0 17px;
  font-size:clamp(18px,1.55vw,26px);
}
.other-page .info-panel p {
  line-height:1.65;
}
.other-page .info-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(18px,2vw,28px);
}
.other-page .legal-panel {
  margin:0 0 35px;
}
.other-page .legal-section + .legal-section {
  margin-top:clamp(30px,3vw,47px);
}
.other-page .legal-section p {
  max-width:100ch;
}
.other-page .draft-notice {
  font-size:.78em;
  color:#a8b8ca;
  margin-bottom:clamp(28px,3vw,44px);
  letter-spacing:.04em;
}
.other-page .contact-grid {
  margin-bottom:35px;
  align-items:stretch;
}
.other-page .contact-panel {
  display:flex;
  flex-direction:column;
  gap:18px;
}
.other-page .contact-panel h2 {
  margin-bottom:2px;
}
.other-page .contact-label,.other-page .download-kind {
  color:var(--red);
  font-size:.82em;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.other-page .placeholder-note {
  font-size:.84em;
  color:#99a9ba;
  margin-top:auto;
}
.other-page .contact-email-placeholder {
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:15px;
  border:1px solid var(--subtle);
  border-radius:10px;
  padding:14px 17px;
  color:#d5dde6;
}
.other-page .contact-email-placeholder img {
  width:30px;
  height:30px;
  object-fit:contain;
}
.other-page .downloads-layout {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(18px,2vw,28px);
  margin:0 0 35px;
}
.other-page .download-card {
  display:flex;
  align-items:stretch;
  gap:clamp(15px,2vw,28px);
  padding:clamp(17px,2vw,27px);
}
.other-page .download-preview {
  width:38%;
  min-width:0;
  aspect-ratio:3 / 4;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--subtle);
}
.other-page .download-copy {
  min-width:0;
  display:flex;
  align-items:flex-start;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.other-page .download-copy h2 {
  margin:0;
  font-size:clamp(16px,1.3vw,22px);
}
.other-page .download-copy p {
  line-height:1.45;
}
.other-page .download-action {
  min-height:44px;
  margin-top:auto;
  gap:10px;
  padding:8px 12px;
  font-size:clamp(11px,.9vw,14px);
}
.other-page .download-action.is-disabled {
  opacity:.6;
  cursor:not-allowed;
}
.other-page .download-glyph {
  color:var(--red);
  font-size:1.5em;
  line-height:1;
}
@media(max-width:900px){
    .other-page .download-card {
    flex-direction:column;
  }
    .other-page .download-preview {
    width:100%;
    aspect-ratio:16/9;
  }
}
@media(max-width:620px){
    .other-page .info-grid,.other-page .downloads-layout {
    grid-template-columns:1fr;
  }
    .other-page .info-panel {
    padding:22px 19px;
    border-radius:14px;
  }
    .other-page .download-card {
    flex-direction:column;
  }
    .other-page .download-preview {
    width:100%;
    aspect-ratio:16/9;
  }
}
/* V1.6.2: Header-zu-Inhalt-Abstand der Infoseiten wie auf der Startseite.
   Nur Desktop/Tablet; Handy-Darstellung bleibt unverändert. */
@media (min-width: 621px) {
    .other-page .intro-area {
     min-height: 0;
     margin-bottom: 72px;
     
  }
}
@media (min-width: 621px) and (max-width: 900px) {
    .other-page .intro-area {
     margin-bottom: 39px;
     
  }
}
/* V1.6.3: ausschließlich Download-Pfeile: Original-SVG nach unten drehen. */
.other-page .download-action .download-glyph {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  flex:none;
}
.other-page .download-action .download-glyph img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  transform:rotate(90deg);
}
