/* =========================================================
   TRAIN MOBIL – Projekt DKW Laternen Detail 1.0
   Grundgerüst: eingefrorene Projektseiten
   ========================================================= */

.tm-pdkw-page{background:#050607;color:#f5f5f3}
.tm-pdkw-frame{width:min(1534px,100%);margin:0 auto;border-left:1px solid #17191c;border-right:1px solid #17191c;box-sizing:border-box}
.tm-pdkw-inner{width:min(1500px,calc(100% - 32px));margin:0 auto;box-sizing:border-box}

.tm-pdkw-hero{
  min-height:500px;
  border-bottom:1px solid #202327;
  background:
    linear-gradient(90deg,rgba(3,4,5,.98) 0%,rgba(3,4,5,.94) 25%,rgba(3,4,5,.70) 48%,rgba(3,4,5,.20) 73%,rgba(3,4,5,.04) 100%),
    var(--tm-pdkw-hero),
    #0b0e10;
  background-size:100% 100%,cover,100% 100%;
  background-position:center,center,center;
  background-repeat:no-repeat;
}

.tm-pdkw-hero__inner{min-height:500px;padding:64px 34px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.tm-pdkw-kicker,.tm-pdkw-section small,.tm-pdkw-video small,.tm-pdkw-resources small{margin:0 0 15px;color:#ffd000;font-size:11px;font-weight:900;letter-spacing:.15em}
.tm-pdkw-hero h1{margin:0;max-width:900px;font-size:clamp(45px,4.3vw,76px);line-height:.94;letter-spacing:-.04em}
.tm-pdkw-hero h1 span{color:#ffd000}
.tm-pdkw-lead{max-width:720px;margin:28px 0 0;color:#e1e4e6;font-size:17px;line-height:1.65}
.tm-pdkw-meta{display:flex;gap:24px;margin-top:24px;color:#a6adb2;font-size:11px}
.tm-pdkw-meta span{color:#ffd000;font-weight:900}

.tm-pdkw-content{background:linear-gradient(90deg,#0d1013,#0a0c0e)}
.tm-pdkw-content>.tm-pdkw-inner{padding:34px 34px 58px}

.tm-pdkw-breadcrumb{display:flex;justify-content:space-between;gap:20px;padding:0 0 22px;border-bottom:1px solid #282d31;color:#7f878d;font-size:11px}
.tm-pdkw-breadcrumb a{color:#ffd000;text-decoration:none;font-weight:900}

.tm-pdkw-section{padding:36px 0;border-top:1px solid #282d31}
.tm-pdkw-section--intro{border-top:0;padding-top:50px}
.tm-pdkw-section__copy{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(480px,1.28fr);gap:58px;align-items:start;margin-bottom:28px}
.tm-pdkw-section__heading,.tm-pdkw-section__text{min-width:0}
.tm-pdkw-section__heading small{display:block;margin:0 0 12px}
.tm-pdkw-section__heading h2,.tm-pdkw-video h2,.tm-pdkw-resources h2{margin:0;font-size:clamp(29px,2.7vw,44px);line-height:1;letter-spacing:-.03em}
.tm-pdkw-section__text p,.tm-pdkw-video p{margin:0 0 18px;color:#ccd1d4;font-size:16px;line-height:1.82}

.tm-pdkw-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tm-pdkw-gallery button{padding:0;border:1px solid #2e3438;background:#07090a;aspect-ratio:16/10;overflow:hidden;cursor:zoom-in}
.tm-pdkw-gallery img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.tm-pdkw-gallery button:hover img{transform:scale(1.02)}

.tm-pdkw-video,.tm-pdkw-resources{padding:38px 0;border-top:1px solid #282d31;display:flex;justify-content:space-between;gap:44px;align-items:center}
.tm-pdkw-video>div,.tm-pdkw-resources>div:first-child{max-width:800px}
.tm-pdkw-video p{margin-top:14px}
.tm-pdkw-video a{flex:0 0 auto;padding:15px 18px;background:#ffd000;color:#050607;text-decoration:none;font-size:11px;font-weight:900}

.tm-pdkw-resources{align-items:flex-start;border-bottom:1px solid #282d31}
.tm-pdkw-resources__links{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tm-pdkw-resources__links a{color:#ffd000;text-decoration:none;font-size:11px;font-weight:900;padding:11px 0}

.tm-pdkw-next{display:flex;justify-content:space-between;gap:20px;padding-top:28px}
.tm-pdkw-next a{color:#ffd000;text-decoration:none;font-size:11px;font-weight:900}

/* V60/Airbrush matching lightbox */
.tm-pdkw-lightbox[hidden]{display:none!important}
.tm-pdkw-lightbox{position:fixed;inset:0;z-index:99999;padding:26px 34px 24px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.93)}
.tm-pdkw-lightbox__panel{width:min(1420px,96vw);max-height:94vh;display:flex;flex-direction:column;background:#0b0e10;border:1px solid #20262a;box-shadow:0 24px 80px rgba(0,0,0,.55)}
.tm-pdkw-lightbox__head{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 22px 10px}
.tm-pdkw-lightbox__title{margin:0;color:#f5f5f3;font-size:18px;line-height:1.15;font-weight:900;text-transform:uppercase}
.tm-pdkw-lightbox__counter{margin-top:4px;color:#b9c0c4;font-size:13px}
.tm-pdkw-lightbox__close{position:static!important;flex:0 0 auto;width:38px;height:38px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:none;color:white;font-size:30px;cursor:pointer}
.tm-pdkw-lightbox__stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 22px}
.tm-pdkw-lightbox__stage>img{width:auto;max-width:100%;max-height:calc(94vh - 190px);object-fit:contain;display:block;margin:0 auto}
.tm-pdkw-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:52px;height:72px;border:1px solid #2a3035;background:rgba(8,10,12,.92);color:#ffd000;font-size:34px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.tm-pdkw-lightbox__nav--prev{left:-1px}.tm-pdkw-lightbox__nav--next{right:-1px}
.tm-pdkw-lightbox__nav[hidden]{display:none!important}
.tm-pdkw-lightbox__thumbs{flex:0 0 auto;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:14px 22px 16px;scrollbar-width:thin;scrollbar-color:#4a5055 #111518}
.tm-pdkw-lightbox__thumb{flex:0 0 110px;height:68px;padding:0;border:2px solid transparent;background:#090b0d;overflow:hidden;cursor:pointer}
.tm-pdkw-lightbox__thumb img{width:100%;height:100%;display:block;object-fit:cover}
.tm-pdkw-lightbox__thumb.is-active{border-color:#ffd000}
body.tm-pdkw-lightbox-open{overflow:hidden}

@media(max-width:1000px){
  .tm-pdkw-section__copy{grid-template-columns:1fr;gap:18px}
}
@media(max-width:760px){
  .tm-pdkw-inner{width:100%}
  .tm-pdkw-hero__inner,.tm-pdkw-content>.tm-pdkw-inner{padding-left:22px;padding-right:22px}
  .tm-pdkw-gallery{grid-template-columns:repeat(2,1fr)}
  .tm-pdkw-video,.tm-pdkw-resources{align-items:flex-start;flex-direction:column}
  .tm-pdkw-lightbox{padding:10px}
  .tm-pdkw-lightbox__panel{width:100%;max-height:97vh}
  .tm-pdkw-lightbox__thumb{flex-basis:86px;height:56px}
}
@media(max-width:480px){
  .tm-pdkw-gallery{grid-template-columns:1fr}
}
