/* Unterseite /mitarbeiterportal/ (TeamDesk). Nutzt die Farbvariablen der Seite, damit Hell/Dunkel stimmt. */
#tdk{--tdk-line:rgb(var(--warm-400) / .12);--tdk-card:rgb(var(--ink-900) / .8)}
#tdk .tdk-sec{padding:5rem 0;background:rgb(var(--ink-950));border-top:1px solid var(--tdk-line)}
#tdk .tdk-alt{background:rgb(var(--ink-900))}
#tdk .tdk-alt .tdk-card{background:rgb(var(--ink-950) / .7)}
@media (min-width:1024px){#tdk .tdk-sec{padding:7rem 0}}
#tdk .tdk-wrap{margin:0 auto;width:100%;max-width:80rem;padding:0 1.5rem}
@media (min-width:1024px){#tdk .tdk-wrap{padding:0 2.5rem}}
#tdk .tdk-lead{margin-top:1.25rem;max-width:48rem;font-size:1rem;line-height:1.7;color:rgb(var(--warm-200) / .7)}

/* Karten und Raster */
#tdk .tdk-grid2,#tdk .tdk-grid3,#tdk .tdk-grid4{display:grid;gap:1.25rem}
@media (min-width:640px){#tdk .tdk-grid2,#tdk .tdk-grid3,#tdk .tdk-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){#tdk .tdk-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}#tdk .tdk-grid4{grid-template-columns:repeat(4,minmax(0,1fr))}}
#tdk .tdk-card{border:1px solid var(--tdk-line);background:var(--tdk-card);border-radius:1rem;padding:1.5rem;min-width:0}
#tdk .tdk-card h3{font-size:1.05rem;font-weight:600;color:rgb(var(--warm-50));line-height:1.3}
#tdk .tdk-card p{margin-top:.6rem;font-size:.92rem;line-height:1.6;color:rgb(var(--warm-200) / .7)}
#tdk .tdk-card-gold{border-color:rgb(var(--gold-400) / .45);background:rgb(var(--gold-500) / .07)}
#tdk .tdk-num{display:block;margin-bottom:.5rem;font-size:.75rem;font-variant-numeric:tabular-nums;color:rgb(var(--gold-400) / .85)}
#tdk .tdk-list{display:grid;gap:.75rem}
#tdk .tdk-list li{position:relative;padding-inline-start:1.4rem;color:rgb(var(--warm-200) / .8);line-height:1.55}
#tdk .tdk-list li:before{content:"";position:absolute;inset-inline-start:0;top:.55em;width:.5rem;height:.5rem;border-radius:999px;background:rgb(var(--gold-400))}
#tdk .tdk-list b{color:rgb(var(--warm-50));font-weight:600}
#tdk .tdk-chips{display:flex;flex-wrap:wrap;gap:.6rem}
#tdk .tdk-chips li{border:1px solid rgb(var(--gold-400) / .35);border-radius:999px;padding:.4rem .9rem;font-size:.85rem;color:rgb(var(--warm-200) / .85)}
#tdk .tdk-note{margin-top:.9rem;font-size:.85rem;color:rgb(var(--warm-400) / .75)}

/* Hero mit Browser und Handy */
#tdk .tdk-hero{max-width:48rem}
#tdk .tdk-stage{position:relative;margin:3.5rem auto 0;max-width:1100px;padding-bottom:2rem}
#tdk .tdk-stage:before{content:"";position:absolute;inset:12% 10% 0;border-radius:50%;background:rgb(var(--gold-500) / .12);filter:blur(80px);z-index:0}
#tdk .tdk-win{position:relative;z-index:1;border-radius:.9rem;overflow:hidden;border:1px solid var(--tdk-line);background:#fff;box-shadow:0 24px 60px -24px rgb(0 0 0 / .55)}
#tdk .tdk-win-bar{display:flex;align-items:center;gap:.4rem;height:1.9rem;padding:0 .8rem;background:#f1efea;border-bottom:1px solid #e3dfd6}
#tdk .tdk-win-bar i{width:.6rem;height:.6rem;border-radius:999px;background:#d8d2c6}
#tdk .tdk-win-bar span{margin-inline-start:.8rem;flex:1;max-width:22rem;height:1.15rem;border-radius:999px;background:#fff;font-size:.7rem;line-height:1.15rem;padding:0 .7rem;color:#8a857b;overflow:hidden;white-space:nowrap}
#tdk .tdk-win img{display:block;width:100%;height:auto}
#tdk .tdk-stage .tdk-phone{position:absolute;z-index:2;right:-1%;bottom:0;width:22%;max-width:230px}
@media (max-width:639px){#tdk .tdk-stage .tdk-phone{width:34%;right:-2%;bottom:-.5rem}}
#tdk .tdk-phone img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 30px rgb(0 0 0 / .45))}

/* Rundgang */
#tdk .tdk-tabs{display:flex;gap:.5rem;margin-top:2.5rem;overflow-x:auto;padding-bottom:.4rem;scrollbar-width:thin}
#tdk .tdk-tab{flex:none;border:1px solid rgb(var(--warm-400) / .2);background:rgb(var(--ink-950) / .6);color:rgb(var(--warm-200) / .8);border-radius:999px;padding:.6rem 1.1rem;font-size:.88rem;font-weight:500;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
#tdk .tdk-tab:hover{border-color:rgb(var(--gold-400) / .5);color:rgb(var(--warm-50))}
#tdk .tdk-tab[aria-selected=true]{background:rgb(var(--gold-400));border-color:rgb(var(--gold-400));color:#111}
#tdk .tdk-tab:focus-visible,#tdk .tdk-zoom:focus-visible{outline:2px solid rgb(var(--gold-400));outline-offset:3px}
#tdk .tdk-panel{margin-top:2rem;display:grid;gap:2rem;align-items:start}
#tdk .tdk-panel[hidden]{display:none}
@media (min-width:1024px){#tdk .tdk-panel{grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:3rem}}
#tdk .tdk-panel h3{font-size:1.5rem;font-weight:600;color:rgb(var(--warm-50));line-height:1.25}
#tdk .tdk-panel p{margin-top:.8rem;line-height:1.65;color:rgb(var(--warm-200) / .75)}
#tdk .tdk-panel .tdk-list{margin-top:1.3rem}
#tdk .tdk-shots{display:grid;gap:1rem}
#tdk .tdk-shots-2{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start}
@media (max-width:639px){#tdk .tdk-shots-2{grid-template-columns:1fr}}
#tdk .tdk-zoom{display:block;width:100%;padding:0;border:1px solid var(--tdk-line);border-radius:.8rem;overflow:hidden;background:#fff;cursor:zoom-in;transition:border-color .2s}
#tdk .tdk-zoom:hover{border-color:rgb(var(--gold-400) / .6)}
#tdk .tdk-zoom img{display:block;width:100%;height:auto}
#tdk .tdk-hint{margin-top:.6rem;font-size:.8rem;color:rgb(var(--warm-400) / .7)}
#tdk .tdk-phones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
@media (max-width:639px){#tdk .tdk-phones{grid-template-columns:repeat(4,46%);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.5rem}#tdk .tdk-phones figure{scroll-snap-align:start}}
#tdk .tdk-phones .tdk-zoom,#tdk .tdk-phone-zoom{border:0;background:none;border-radius:0}
#tdk figcaption{margin-top:.6rem;font-size:.82rem;line-height:1.45;color:rgb(var(--warm-200) / .65)}
#tdk figcaption b{color:rgb(var(--warm-50));font-weight:600}

/* Leistungsnachweis, Marke */
#tdk .tdk-split{display:grid;gap:2.5rem;align-items:center}
@media (min-width:1024px){#tdk .tdk-split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:4rem}#tdk .tdk-split-r{grid-template-columns:minmax(0,8fr) minmax(0,4fr)}}
#tdk .tdk-split .tdk-phone-big{width:100%;max-width:320px;margin:0 auto}
#tdk .tdk-split .tdk-phone-big img{display:block;width:100%;height:auto;filter:drop-shadow(0 18px 30px rgb(0 0 0 / .4))}

/* Broschüre */
#tdk .tdk-deck{display:grid;gap:2rem;align-items:center}
@media (min-width:1024px){#tdk .tdk-deck{grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:4rem}}
#tdk .tdk-deck-frame{display:block;width:100%;max-width:360px;margin:0 auto;aspect-ratio:210/297;overflow:hidden;border-radius:.6rem;border:1px solid var(--tdk-line);background:rgb(var(--ink-900));box-shadow:0 18px 50px -20px rgb(0 0 0 / .5);transition:border-color .2s}
#tdk .tdk-deck-frame:hover,#tdk .tdk-deck-frame:focus-visible{border-color:rgb(var(--gold-400) / .5)}
#tdk .tdk-deck-frame img{display:block;width:100%;height:100%;object-fit:cover}

/* Großansicht */
#tdk .tdk-lightbox{border:0;padding:0;background:transparent;max-width:min(96vw,1500px);max-height:94vh;overflow:visible}
#tdk .tdk-lightbox::backdrop{background:rgb(0 0 0 / .82)}
#tdk .tdk-lightbox img{display:block;max-width:min(96vw,1500px);max-height:86vh;width:auto;height:auto;border-radius:.6rem;margin:0 auto}
#tdk .tdk-lightbox p{margin-top:.7rem;text-align:center;font-size:.9rem;color:#e8e2d6}
#tdk .tdk-close{position:absolute;top:-2.6rem;right:0;border:1px solid rgb(255 255 255 / .3);background:rgb(0 0 0 / .5);color:#fff;border-radius:999px;padding:.35rem .9rem;font-size:.85rem;cursor:pointer}
