/* Train Mobil – Airbrush Umbauten 1.0 */
:root{
  --au-bg:#090d10;
  --au-panel:#11171b;
  --au-line:#273037;
  --au-text:#f4f5f5;
  --au-muted:#a8b0b5;
  --au-yellow:#ffd000;
}
.tm-au-page{background:var(--au-bg);color:var(--au-text);min-height:100vh}
/* TM_AIRBRUSH_FROZEN_FRAME_1_1_1
   Eingefrorenes Gerüst: außen 1534px, innen 1500px. */
.tm-au-hero,.tm-au-intro,.tm-au-filter,.tm-au-catalog{width:min(1534px,100%);margin-left:auto;margin-right:auto;border-left:1px solid #17191c;border-right:1px solid #17191c;box-sizing:border-box}
.tm-au-shell{width:min(1500px,calc(100% - 32px));margin:0 auto;padding-left:34px;padding-right:34px;box-sizing:border-box}
.tm-au-hero{position:relative;min-height:480px;overflow:hidden;border-bottom:1px solid #1f272c}
.tm-au-hero__image{position:absolute;inset:0;background:url('/media/modellbahn-umbauten/hero/hailox-modelllok-hero.png') center 52%/cover no-repeat;transform:scale(1.015)}
.tm-au-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,7,9,.94) 0%,rgba(4,7,9,.78) 32%,rgba(4,7,9,.35) 61%,rgba(4,7,9,.1) 100%)}
.tm-au-hero__inner{position:relative;z-index:1;min-height:480px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:52px 34px}
.tm-au-kicker{margin:0 0 14px;color:var(--au-yellow);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.tm-au-hero h1{margin:0;font-size:clamp(58px,7vw,98px);line-height:.88;letter-spacing:-.055em}
.tm-au-hero h1 span,.tm-au-intro h2 span{color:var(--au-yellow)}
.tm-au-lead{max-width:700px;margin:28px 0 0;color:#d5dadd;font-size:18px;line-height:1.65}
.tm-au-intro{padding:72px 0 50px;border-bottom:1px solid #1d252a}
.tm-au-intro .tm-au-shell{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:70px;align-items:end}
.tm-au-intro h2{margin:0 0 22px;font-size:clamp(38px,4.5vw,68px);line-height:.95;letter-spacing:-.045em}
.tm-au-intro__copy>p:last-child{max-width:760px;color:var(--au-muted);font-size:16px;line-height:1.75}
.tm-au-stats{display:grid;grid-template-columns:repeat(3,118px);border:1px solid var(--au-line)}
.tm-au-stats div{padding:20px 14px;text-align:center;border-right:1px solid var(--au-line)}
.tm-au-stats div:last-child{border-right:0}
.tm-au-stats strong{display:block;color:var(--au-yellow);font-size:29px;line-height:1}
.tm-au-stats span{display:block;margin-top:8px;color:var(--au-muted);font-size:9px;font-weight:900;letter-spacing:.12em}
.tm-au-filter{position:sticky;top:0;z-index:25;background:rgba(9,13,16,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--au-line)}
.tm-au-filter .tm-au-shell{padding:18px 34px}
.tm-au-filter__row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tm-au-filter__label{margin-right:8px;color:#808b92;font-size:10px;font-weight:900;letter-spacing:.12em}
.tm-au-filter button{min-width:64px;padding:10px 15px;border:1px solid #313b42;background:#11171b;color:#d6dade;font-size:11px;font-weight:900;letter-spacing:.08em;cursor:pointer}
.tm-au-filter button:hover,.tm-au-filter button.is-active{border-color:var(--au-yellow);color:var(--au-yellow)}
/* TM_AIRBRUSH_EVU_SELECT_NAVIGATION_1_2 */
.tm-au-evu-select{display:grid;grid-template-columns:auto minmax(320px,720px);align-items:center;gap:18px;margin-top:16px}
.tm-au-evu-select>label{color:#aeb6bb;font-size:10px;font-weight:900;letter-spacing:.12em;white-space:nowrap}
.tm-au-evu-select__control{position:relative;min-width:0}
.tm-au-evu-select select{width:100%;height:48px;padding:0 52px 0 16px;border:1px solid #364148;border-radius:0;background:#11171b;color:#f1f3f4;font:inherit;font-size:12px;font-weight:800;appearance:none;cursor:pointer}
.tm-au-evu-select select:hover,.tm-au-evu-select select:focus-visible{border-color:var(--au-yellow);outline:0}
.tm-au-evu-select__control>span{position:absolute;right:0;top:0;width:48px;height:48px;background:var(--au-yellow);pointer-events:none}
.tm-au-evu-select__control>span:after{content:"";position:absolute;left:18px;top:18px;width:9px;height:9px;border-right:2px solid #0a0d0f;border-bottom:2px solid #0a0d0f;transform:rotate(45deg)}
.tm-au-catalog{padding:48px 0 90px}
.tm-au-evu{scroll-margin-top:150px;padding:40px 0 54px;border-bottom:1px solid #20282d}
.tm-au-evu:first-child{padding-top:0}
.tm-au-evu[hidden]{display:none}
.tm-au-evu__head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:24px}
.tm-au-evu__head h2{margin:0;font-size:clamp(27px,3vw,44px);line-height:1.05;letter-spacing:-.035em}
.tm-au-evu__head>span{color:#7f8a91;font-size:10px;font-weight:900;letter-spacing:.12em}
.tm-au-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tm-au-card{min-width:0;background:var(--au-panel);border:1px solid #242d33}
.tm-au-card[hidden]{display:none}
.tm-au-card__media{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#050708;overflow:hidden;cursor:pointer}
.tm-au-card__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease,opacity .35s ease}
.tm-au-card__media:hover img{transform:scale(1.035);opacity:.9}
.tm-au-card__count{position:absolute;left:12px;bottom:12px;padding:7px 9px;background:rgba(4,7,9,.83);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:9px;font-weight:900;letter-spacing:.1em}
.tm-au-card__zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:34px;height:34px;background:var(--au-yellow);color:#101417;font-size:20px;font-weight:700}
.tm-au-card__body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px 18px}
.tm-au-card__body small{display:block;margin-bottom:5px;color:#77838a;font-size:9px;font-weight:900;letter-spacing:.13em}
.tm-au-card__body h3{margin:0;font-size:20px;letter-spacing:-.02em}
.tm-au-card__body>strong{display:grid;place-items:center;min-width:46px;height:36px;border:1px solid #3b464d;color:var(--au-yellow);font-size:12px}
.tm-au-empty{padding:50px;border:1px dashed #344047;color:#9da7ad;text-align:center}
.tm-au-lightbox[hidden]{display:none!important}
.tm-au-lightbox{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.tm-au-lightbox__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.92)}
.tm-au-lightbox__dialog{position:relative;z-index:1;width:min(1180px,96vw);max-height:94vh;display:flex;flex-direction:column;background:#090d10;border:1px solid #343e45;box-shadow:0 25px 100px rgba(0,0,0,.75)}
.tm-au-lightbox__dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 18px;border-bottom:1px solid #252e34}
.tm-au-lightbox__dialog header small{display:block;color:var(--au-yellow);font-size:9px;font-weight:900;letter-spacing:.13em}
.tm-au-lightbox__dialog header h2{margin:4px 0 0;font-size:20px}
.tm-au-lightbox__dialog header button{width:38px;height:38px;border:1px solid #46525a;background:#11171b;color:#fff;font-size:22px;cursor:pointer}
.tm-au-lightbox__stage{position:relative;display:grid;place-items:center;min-height:0;flex:1;background:#020304;overflow:hidden}
.tm-au-lightbox__stage img{display:block;max-width:100%;max-height:70vh;object-fit:contain}
.tm-au-lightbox__prev,.tm-au-lightbox__next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:46px;height:64px;border:1px solid rgba(255,255,255,.22);background:rgba(8,12,15,.72);color:#fff;font-size:38px;cursor:pointer}
.tm-au-lightbox__prev{left:14px}.tm-au-lightbox__next{right:14px}
.tm-au-lightbox__footer{display:flex;align-items:center;gap:18px;padding:12px 16px;border-top:1px solid #252e34}
.tm-au-lightbox__footer>span{min-width:60px;color:var(--au-muted);font-size:11px;font-weight:800}
.tm-au-lightbox__footer>div{display:flex;gap:8px;overflow-x:auto}
.tm-au-lightbox__footer button{width:66px;height:48px;padding:0;border:1px solid #38444b;background:#070a0c;overflow:hidden;cursor:pointer}
.tm-au-lightbox__footer button.is-active{border-color:var(--au-yellow)}
.tm-au-lightbox__footer img{width:100%;height:100%;object-fit:cover}
body.tm-au-lightbox-open{overflow:hidden}
@media(max-width:900px){
  .tm-au-intro .tm-au-shell{grid-template-columns:1fr;gap:35px}
  .tm-au-stats{width:max-content}
  .tm-au-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .tm-au-evu-select{grid-template-columns:1fr;gap:9px;margin-top:14px}
  .tm-au-evu-select>label{white-space:normal}
  .tm-au-evu-select select{font-size:11px}
  .tm-au-shell{width:100%;padding-left:18px;padding-right:18px}
  .tm-au-filter .tm-au-shell{padding-left:18px;padding-right:18px}
  .tm-au-hero,.tm-au-hero__inner{min-height:390px}
  .tm-au-hero h1{font-size:clamp(52px,16vw,76px)}
  .tm-au-lead{font-size:15px}
  .tm-au-intro{padding-top:50px}
  .tm-au-stats{grid-template-columns:repeat(3,1fr);width:100%}
  .tm-au-grid{grid-template-columns:1fr}
  .tm-au-evu__head{align-items:flex-start;flex-direction:column}
  .tm-au-lightbox{padding:8px}
  .tm-au-lightbox__stage img{max-height:62vh}
}
