/* =====================================================================
   Unterseiten, Showcases, Präsentationsmodus, Sprachumschalter
   ===================================================================== */

/* Erste Seite sofort richtig zeigen (Router übernimmt danach) */
body[data-initial]:not([data-initial="home"]) .page[data-page="home"] { display: none; }
.page[hidden] { display: none !important; }
#main:focus { outline: none; }

/* ---------- Seitenkopf ---------- */
.page-top { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 80px)); }
.section--tight { padding: clamp(46px, 6vw, 80px) 0; }
.section--flush { padding: 0; }
.page-head { max-width: 860px; margin: 0 0 clamp(30px, 4vw, 48px); }
.page-head h1, .contact__h { font: 850 clamp(38px, 6vw, 74px)/1 var(--font-head); letter-spacing: -.035em; margin: 14px 0 18px; }
.page-head p { color: var(--dim); font-size: clamp(16px, 1.5vw, 19px); margin: 0; max-width: 680px; }
.crumb { display: inline-flex; gap: 6px; font: 500 13px var(--font-mono); color: var(--mute); }
.crumb a { color: var(--dim); transition: color .2s; }
.crumb a:hover { color: var(--yellow); }
.crumb b { color: var(--text); font-weight: 600; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; }
.sec-head--row h2::after { margin-left: 0; }
.blk-title { display: flex; align-items: center; gap: 10px; font: 800 clamp(22px, 2.6vw, 30px)/1.15 var(--font-head); letter-spacing: -.02em; margin: 0 0 22px; }
.blk-title i { font: 500 .6em var(--font-mono); color: var(--yellow); font-style: normal; }
.muted { color: var(--mute); }
.center-btn { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- Kennzahlen ---------- */
.kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.kpi { display: flex; flex-direction: column; gap: 2px; min-width: 110px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.kpi b { font: 800 26px/1.1 var(--font-head); letter-spacing: -.02em; }
.kpi span { font: 500 11.5px var(--font-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.kpis--head { margin-top: 26px; }

/* ---------- Navigation: mehr Einträge ---------- */
.nav__links a[aria-current="page"] { color: var(--text); }
@media (max-width: 1240px) { .nav__links a { padding: 9px 10px; font-size: 14px; } .nav .btn--sm { display: none; } }
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .burger { display: block; }
}

/* ---------- Sprachumschalter ---------- */
.lang-switch { position: relative; display: inline-flex; height: 40px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); isolation: isolate; }
.lang-switch button { position: relative; z-index: 1; min-width: 38px; padding: 0 8px; border: 0; background: none; color: var(--mute); font: 650 12.5px var(--font-mono); letter-spacing: .04em; border-radius: 9px; transition: color .25s; }
.lang-switch button[aria-pressed="true"] { color: #14120a; }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--text); }
.lang-switch i { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 9px; background: linear-gradient(180deg, #ffe14d, var(--yellow)); box-shadow: 0 4px 14px -4px rgba(255, 215, 0, .6); transition: transform .45s var(--spring); }
.lang-switch.is-de i { transform: translateX(100%); }
.lang-switch--lg { height: 48px; width: 100%; max-width: 320px; }
.lang-switch--lg button { flex: 1; font-size: 14px; }
.mobile-menu__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
.mobile-menu__social { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Seitenwechsel (Terminal-Wipe) ---------- */
.wipe { position: fixed; inset: 0; z-index: 450; pointer-events: none; display: grid; place-items: center; }
.wipe i { position: absolute; inset: 0; background: linear-gradient(180deg, #0c1119, #070a0f); transform: scaleY(0); transform-origin: bottom; transition: transform .26s cubic-bezier(.7, 0, .3, 1); }
.wipe i::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.wipe span { position: relative; font: 500 15px var(--font-mono); color: var(--green); opacity: 0; transition: opacity .15s; }
.wipe span::after { content: '▋'; margin-left: 4px; animation: blink 1s steps(1) infinite; color: var(--yellow); }
.wipe.on { pointer-events: auto; }
.wipe.on i { transform: scaleY(1); transform-origin: bottom; }
.wipe:not(.on) i { transform-origin: top; transition-duration: .42s; }
.wipe.on span { opacity: 1; transition-delay: .12s; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Startseite: Showcase-Teaser ---------- */
.teaser { --accent: var(--red); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 30px; align-items: center; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-2); background: #0a0e14; padding: clamp(28px, 5vw, 60px); min-height: 520px; isolation: isolate; }
.teaser::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a0e14 30%, rgba(10, 14, 20, .7) 60%, rgba(10, 14, 20, .25)), radial-gradient(600px circle at 80% 30%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.teaser__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .55; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.teaser:hover .teaser__bg { transform: scale(1.09); }
.theme-scp.teaser::after, .theme-scp .hazard { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(-45deg, #f5c518 0 14px, #0a0e14 14px 28px); opacity: .9; }
.teaser .sec-kicker { color: var(--accent); }
.teaser h2 { font: 850 clamp(36px, 5.4vw, 68px)/1 var(--font-head); letter-spacing: -.035em; margin: 14px 0 12px; }
.teaser p { color: #c3cad6; font-size: 17px; margin: 0 0 22px; max-width: 480px; }
.teaser .kpi { background: rgba(0, 0, 0, .35); backdrop-filter: blur(8px); }
.teaser .kpi b { color: var(--accent); }
.teaser__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.teaser__stack { position: relative; height: 380px; perspective: 1200px; }
.teaser__card { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #111722; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  transform: translate(calc(-50% + (var(--n) - 1.5) * 34px), calc(-50% + (var(--n) - 1.5) * 40px)) rotateY(-14deg) rotateX(6deg) rotateZ(calc((var(--n) - 1.5) * 3deg)); transition: transform .7s var(--ease); }
.teaser__card img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.teaser__card span { position: absolute; left: 10px; bottom: 8px; font: 600 12px var(--font-mono); padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .65); }
.teaser:hover .teaser__card { transform: translate(calc(-50% + (var(--n) - 1.5) * 70px), calc(-50% + (var(--n) - 1.5) * 52px)) rotateY(-8deg) rotateX(4deg) rotateZ(calc((var(--n) - 1.5) * 4deg)); }

/* ---------- Startseite: Disziplinen ---------- */
.disc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.disc__card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); transition: border-color .3s, transform .5s var(--ease), box-shadow .4s; }
.disc__card:hover { border-color: var(--line-2); transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.disc__art { position: relative; height: 230px; overflow: hidden; border-bottom: 1px solid var(--line); }
.disc__card--dev .disc__art { background: radial-gradient(500px circle at 20% 0%, rgba(45, 140, 240, .25), transparent 60%), #0b0f16; padding: 22px; }
.disc__art pre { margin: 0; font: 13px/1.7 var(--font-mono); color: #cdd6e4; white-space: pre-wrap; }
.disc__tags { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.disc__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; background: #0b0f16; }
.disc__mosaic span { background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.disc__card:hover .disc__mosaic span:nth-child(odd) { transform: scale(1.06); }
.disc__body { position: relative; padding: 24px 26px 26px; }
.disc__n { position: absolute; right: 22px; top: 16px; font: 900 64px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .12); }
.disc__body h3 { font: 800 28px var(--font-head); letter-spacing: -.02em; margin: 0 0 8px; }
.disc__body p { color: var(--dim); margin: 0 0 18px; max-width: 420px; }
.disc__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--yellow); }
.disc__go svg { width: 18px; height: 18px; transition: transform .3s var(--spring); }
.disc__card:hover .disc__go svg, .sc-card:hover .disc__go svg { transform: translateX(4px); }

/* ---------- CTA-Band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 54px); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(600px circle at 0% 0%, rgba(45, 140, 240, .18), transparent 60%), radial-gradient(500px circle at 100% 100%, rgba(255, 215, 0, .12), transparent 60%), rgba(255, 255, 255, .02); }
.cta-band h2 { font: 850 clamp(28px, 4vw, 48px)/1.05 var(--font-head); letter-spacing: -.03em; margin: 12px 0; }
.cta-band p { color: var(--dim); margin: 0; max-width: 560px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* ---------- Kontaktseite ---------- */
.contact { align-items: start; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 15px; }
.steps b { font: 600 12px var(--font-mono); color: var(--yellow); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 215, 0, .3); background: rgba(255, 215, 0, .06); flex: none; }

/* ---------- Footer ---------- */
.footer { padding-top: 54px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 34px; }
.footer__claim { color: var(--dim); font-size: 14.5px; margin: 14px 0 0; max-width: 340px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer__col b { font: 600 12px var(--font-mono); color: var(--mute); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.footer__col a, .linkbtn { color: var(--dim); transition: color .2s; background: none; border: 0; padding: 0; text-align: left; font: inherit; }
.footer__col a:hover, .linkbtn:hover { color: var(--text); }
.footer__meta { border-top: 1px solid var(--line); padding-top: 22px; }

/* ---------- Archiv: Liste ---------- */
.viewtoggle { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); flex: none; }
.viewtoggle button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--mute); border-radius: 9px; }
.viewtoggle button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.viewtoggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.grid--list .card, .grid--list .card.is-wide { grid-column: span 12; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.grid--list .card__media { aspect-ratio: auto; height: 100%; min-height: 130px; }
.grid--list .card__body { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px 70px 16px 20px; }
.grid--list .card__title { font-size: 19px; flex: 1 1 260px; }
.grid--list .card__cat { flex: 1 1 100%; }
.grid--list .card__sub { flex: 1 1 100%; }
.grid--list .card__tags { margin: 0; padding: 0; }
.grid--list .card__go { opacity: 1; transform: none; top: 50%; bottom: auto; margin-top: -19px; }
.grid--3 .card { grid-column: span 4; }

/* ---------- Projektseite ---------- */
.pj-head { margin-bottom: 30px; }
.pj-head h1 { font: 850 clamp(36px, 5.6vw, 70px)/1.02 var(--font-head); letter-spacing: -.035em; margin: 14px 0 12px; }
.pj-sub { color: var(--dim); font-size: clamp(17px, 1.6vw, 20px); margin: 0 0 22px; max-width: 780px; }
.pj-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge--area { color: #ffb3ba; border-color: color-mix(in srgb, var(--accent, #ff4d5e) 50%, transparent); transition: background .2s; }
.badge--area:hover { background: color-mix(in srgb, var(--accent, #ff4d5e) 18%, transparent); }
.pj-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pj-actions svg { width: 16px; height: 16px; }
.pj-media { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-3); cursor: zoom-in; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 80px -50px var(--glow); }
.pj-media img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: cover; }
.pj-media img.contain { object-fit: contain; padding: 5%; max-height: 520px; }
.pj-media .codecover { position: relative; aspect-ratio: 21 / 9; }
.pj-case__hero { margin-bottom: 44px; }
.pj-case__layout { margin-top: 10px; }
.pj-note { margin-top: 18px; font: 500 12.5px var(--font-mono); color: var(--mute); }
.pj-note::before { content: '* '; color: var(--yellow); }
.dt__nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); transition: all .25s; min-width: 0; }
.dt__nav a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); transform: translateY(-2px); }
.dt__nav a:last-child { text-align: right; align-items: flex-end; }
.dt__side .side-card + .side-card { margin-top: 0; }

/* Features */
.feats { margin: 44px 0 10px; }
.feats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.feat { position: relative; padding: 22px 22px 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.feat:hover { border-color: color-mix(in srgb, var(--glow) 50%, transparent); transform: translateY(-3px); }
.feat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--glow); box-shadow: 0 0 16px var(--glow); opacity: .8; }
.feat__n { font: 600 12px var(--font-mono); color: var(--glow); }
.feat h3 { font: 750 18px/1.25 var(--font-head); margin: 8px 0 6px; }
.feat p { color: var(--dim); font-size: 14.5px; margin: 0; }
.feats--big .feat { padding: 28px 26px; }
.feats--big .feat__n { font: 900 46px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--glow) 70%, transparent); }
.feats--big .feat h3 { font-size: 21px; }

/* Layout: showcase (Bühne) */
.pj-stage { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 70px)) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.pj-stage__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); opacity: .45; transform: scale(1.1); }
.pj-stage__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, .55), var(--bg) 92%), radial-gradient(800px circle at 70% 20%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 70%); }
.pj-stage .pj-head { max-width: 900px; }
.pj-stage__media { margin-top: 10px; }
.pj-stage__media .pj-media { transform: perspective(1600px) rotateX(4deg); transform-origin: top; transition: transform .9s var(--ease); }
.pj-stage__media:hover .pj-media { transform: none; }
.pj-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-top: 50px; }

/* Karussell */
.carousel { margin-top: 50px; }
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.carousel__btns { display: flex; gap: 8px; }
.icon-btn svg { width: 18px; height: 18px; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.carousel__item { position: relative; flex: 0 0 min(78%, 860px); scroll-snap-align: start; padding: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); cursor: zoom-in; transition: transform .5s var(--ease), border-color .3s; }
.carousel__item:hover { border-color: color-mix(in srgb, var(--glow) 55%, transparent); transform: translateY(-4px); }
.carousel__item img { display: block; width: 100%; height: auto; }
.carousel__item span { position: absolute; right: 12px; bottom: 10px; font: 600 12px var(--font-mono); padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .65); }

/* Layout: split (Text links, Screens rechts) */
.pj-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 60px); align-items: start; }
.pj-split__text { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.pj-split__text .pj-head { margin: 0; }
.pj-split__text .pj-head h1 { font-size: clamp(34px, 4.4vw, 56px); }
.pj-split__shots { display: flex; flex-direction: column; gap: 26px; }
.featlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.featlist li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.featlist li:last-child { border: 0; }
.featlist b { font: 600 12px var(--font-mono); color: var(--glow); padding-top: 3px; flex: none; }
.featlist h3 { font: 700 16.5px var(--font-head); margin: 0 0 3px; }
.featlist p { color: var(--dim); font-size: 14.5px; margin: 0; }
.winframe { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0d1118; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 70px -45px var(--glow); }
.winframe__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); font: 500 12px var(--font-mono); color: var(--mute); }
.winframe__img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.winframe__img img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.winframe:hover .winframe__img img { transform: scale(1.015); }

/* Layout: gallery */
.pj-gal__intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-bottom: 20px; }
.pj-gal__facts { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: 16px 18px; }
.pj--gallery .gallery { columns: 3 280px; }

/* ---------- Development ---------- */
.dev-hero { background: radial-gradient(700px circle at 85% 10%, rgba(45, 140, 240, .14), transparent 60%); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font-size: 14px; transition: all .25s; }
.jump a:hover { border-color: var(--blue); color: var(--text); background: rgba(45, 140, 240, .1); }
.jump small { font: 500 11.5px var(--font-mono); color: var(--mute); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.principle { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.principle__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: rgba(45, 140, 240, .12); border: 1px solid rgba(45, 140, 240, .3); color: #8cc6ff; margin-bottom: 14px; }
.principle__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { font: 750 17px var(--font-head); margin: 0 0 6px; }
.principle p { color: var(--dim); font-size: 14.5px; margin: 0; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.cat-head h2 { font: 800 clamp(26px, 3.4vw, 40px)/1.1 var(--font-head); letter-spacing: -.025em; margin: 10px 0 0; }
.cat-head p { margin: 0; }
.cat-head__r { display: flex; align-items: center; gap: 14px; color: var(--mute); font-size: 13px; flex: none; }
.cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 960px; margin: 0 auto; }
.cloud a { font: 600 calc(13px * var(--s)) var(--font-mono); padding: .5em .9em; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--dim); transition: all .25s var(--ease); }
.cloud a:hover { color: #111; background: var(--yellow); border-color: var(--yellow); transform: translateY(-3px) rotate(-1deg); }

/* ---------- Design ---------- */
.series { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.series .card { scroll-snap-align: start; grid-column: auto; }
.series .card__title { font-size: 18px; }
.chips--center { justify-content: center; margin-bottom: 26px; }
.wall { columns: 4 240px; column-gap: 12px; }
.wall__item { position: relative; display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; break-inside: avoid; cursor: zoom-in; animation: wallIn .6s var(--ease) both; animation-delay: var(--d); transition: border-color .25s, transform .45s var(--ease), box-shadow .4s; }
.wall__item img { width: 100%; height: auto; opacity: 0; transition: opacity .5s, transform 1s var(--ease); }
.wall__item img.loaded { opacity: 1; }
.wall__item:hover { border-color: rgba(255, 215, 0, .5); transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); z-index: 1; }
.wall__item:hover img { transform: scale(1.04); }
.wall__cap { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .7); font: 600 11.5px var(--font-mono); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.wall__item:hover .wall__cap, .wall__item:focus-visible .wall__cap { opacity: 1; transform: none; }
@keyframes wallIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- Showcases ---------- */
.sc-list { display: grid; gap: 22px; }
.sc-card { --accent: var(--blue); position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border-radius: 26px; border: 1px solid var(--line-2); background: #0b0f16; transition: border-color .3s, transform .5s var(--ease), box-shadow .4s; }
.sc-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-5px); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), 0 0 90px -50px var(--accent); }
.sc-card__img { position: relative; min-height: 340px; overflow: hidden; }
.sc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sc-card:hover .sc-card__img img { transform: scale(1.05); }
.sc-card__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.sc-card__n { font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.sc-card h2 { font: 850 clamp(30px, 4vw, 48px)/1 var(--font-head); letter-spacing: -.03em; margin: 0; }
.sc-card p { color: var(--dim); margin: 0 0 6px; }
.sc-card .kpi b { color: var(--accent); }
.theme-scp.sc-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(-45deg, #f5c518 0 12px, #0b0f16 12px 24px); }

/* ---------- Showcase-Bereich ---------- */
.area-hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 60px) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.area-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.06); animation: kenburns 24s ease-in-out infinite alternate; }
.area-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 18, .3), rgba(10, 13, 18, .55) 45%, var(--bg) 96%), linear-gradient(90deg, rgba(10, 13, 18, .85), transparent 70%); }
.area-hero .hazard { top: auto; bottom: 0; height: 12px; z-index: 1; position: absolute; }
.area-hero__in { max-width: 820px; }
.area-hero__kicker { display: block; margin: 18px 0 8px; font-size: 13px; letter-spacing: .16em; color: var(--accent); }
.area-hero h1 { font: 900 clamp(48px, 9vw, 120px)/.92 var(--font-head); letter-spacing: -.045em; margin: 0 0 18px; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.area-hero p { color: #d2d8e2; font-size: clamp(17px, 1.8vw, 21px); margin: 0; max-width: 640px; }
.kpis--hero { margin-top: 30px; }
.kpis--hero .kpi { background: rgba(0, 0, 0, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.kpis--hero .kpi b { color: var(--accent); }
@keyframes kenburns { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.area-intro { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.area-intro .rich { font-size: 18px; }
.page--area .sec-kicker, .page--area .blk-title i { color: var(--accent); }
.page--area .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.dossiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.dossier { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); animation: wallIn .55s var(--ease) both; animation-delay: var(--d); transition: border-color .3s, transform .45s var(--ease), box-shadow .4s; }
.dossier:hover { border-color: color-mix(in srgb, var(--glow) 60%, transparent); transform: translateY(-5px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px var(--glow); }
.dossier__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.dossier__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.dossier:hover .dossier__img img { transform: scale(1.06); }
.dossier__id { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 600; background: rgba(0, 0, 0, .7); color: var(--glow); border: 1px solid color-mix(in srgb, var(--glow) 40%, transparent); }
.dossier__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.dossier__body h3 { font: 750 19px/1.2 var(--font-head); margin: 0; }
.dossier__body p { color: var(--dim); font-size: 14px; margin: 0; }

/* ---------- 404 ---------- */
.nf { max-width: 640px; margin: 0 auto; text-align: center; }
.nf__code { text-align: left; font: 13px/1.7 var(--font-mono); color: #ff8a84; background: #0b0f16; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; white-space: pre-wrap; }
.nf h1 { font: 900 clamp(80px, 16vw, 160px)/1 var(--font-head); letter-spacing: -.05em; margin: 30px 0 10px; background: linear-gradient(180deg, #fff, #6b7588); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf p { color: var(--dim); margin: 0 0 26px; }
.nf code { color: var(--yellow); }

/* ---------- Lightbox: Bildunterschrift ---------- */
.lightbox__cap { margin: 0; text-align: center; font: 500 13px var(--font-mono); color: var(--dim); padding: 4px 16px 0; }
.lightbox__cap a { color: var(--yellow); }

/* ---------- Präsentationsmodus ---------- */
.deck { --accent: var(--yellow); position: fixed; inset: 0; z-index: 420; background: #05070a; opacity: 0; transition: opacity .35s var(--ease); overflow: hidden; }
.deck.open { opacity: 1; }
.deck__stage { position: absolute; inset: 0; }
.deck__slide { position: absolute; inset: 0; display: grid; place-items: center; padding: 80px clamp(20px, 6vw, 90px) 110px; opacity: 0; transform: translateX(6%) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.deck__slide.before { transform: translateX(-6%) scale(.98); }
.deck__slide.on { opacity: 1; transform: none; pointer-events: auto; }
.deck__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; transform: scale(1.04); }
.deck__slide.on .deck__bg { animation: kenburns 14s ease-in-out infinite alternate; }
.deck__slide::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px circle at 15% 20%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), linear-gradient(90deg, rgba(5, 7, 10, .92) 25%, rgba(5, 7, 10, .45)); }
.sl { position: relative; z-index: 1; width: min(1200px, 100%); }
.sl__kicker { display: inline-block; font: 600 13px var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.sl__h { font: 900 clamp(42px, 8vw, 112px)/.95 var(--font-head); letter-spacing: -.045em; margin: 0 0 20px; max-width: 14ch; }
.sl__sub { color: #c9d0dc; font-size: clamp(17px, 2vw, 24px); margin: 0 0 24px; max-width: 760px; }
.sl__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sl__tags span { font: 500 13px var(--font-mono); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); }
.deck__slide.on .sl > * { animation: slIn .8s var(--ease) both; }
.deck__slide.on .sl > *:nth-child(2) { animation-delay: .08s; } .deck__slide.on .sl > *:nth-child(3) { animation-delay: .16s; } .deck__slide.on .sl > *:nth-child(4) { animation-delay: .24s; } .deck__slide.on .sl > *:nth-child(5) { animation-delay: .32s; }
@keyframes slIn { from { opacity: 0; transform: translateY(24px); } }
.sl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sl__feat { padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.deck__slide.on .sl__feat { animation: slIn .7s var(--ease) both; animation-delay: calc(.1s + var(--n) * .09s); }
.sl__feat b { font: 900 40px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.sl__feat h3 { font: 800 clamp(20px, 2.2vw, 28px)/1.2 var(--font-head); margin: 12px 0 8px; }
.sl__feat p { color: var(--dim); margin: 0; font-size: clamp(15px, 1.4vw, 18px); }
.sl--image { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.sl--image img { max-width: 100%; max-height: calc(100vh - 250px); border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95); }
.sl--image figcaption { display: flex; gap: 14px; align-items: baseline; font: 600 15px var(--font-head); }
.sl--image small { font: 500 12px var(--font-mono); color: var(--mute); }
.sl--end, .sl--title.center { text-align: center; }
.sl--end .sl__h { margin-left: auto; margin-right: auto; }
.sl--end .sl__sub { margin-left: auto; margin-right: auto; }
.sl__open { margin-top: 26px; }
.deck__ui { position: absolute; inset: 0; pointer-events: none; transition: opacity .4s; }
.deck.idle .deck__ui { opacity: 0; }
.deck.idle { cursor: none; }
.deck__top, .deck__bottom { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 16px clamp(16px, 3vw, 30px); pointer-events: auto; }
.deck__top { top: 0; justify-content: space-between; background: linear-gradient(180deg, rgba(5, 7, 10, .8), transparent); }
.deck__title { font: 600 13px var(--font-mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck__tools { display: flex; gap: 8px; }
.deck__bottom { bottom: 6px; justify-content: center; }
.deck button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(16, 20, 28, .8); color: var(--text); backdrop-filter: blur(8px); transition: background .2s, border-color .2s, opacity .2s; }
.deck button:hover:not(:disabled) { border-color: var(--accent); }
.deck button:disabled { opacity: .3; }
.deck button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#deckPlay svg { fill: currentColor; stroke: none; }
.deck.playing #deckPlay { background: var(--accent); color: #111; border-color: var(--accent); }
.deck__dots { display: flex; gap: 6px; max-width: 50vw; overflow: hidden; }
.deck__dots button { width: 9px; height: 9px; min-width: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .25); }
.deck__dots button.on { background: var(--accent); width: 26px; border-radius: 5px; }
.deck__count { font-size: 12px; color: var(--dim); min-width: 64px; text-align: center; }
.deck__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.deck__bar i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 .card { grid-column: span 6; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .teaser { grid-template-columns: minmax(0, 1fr); }
  .teaser__stack { height: 260px; }
  .disc { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .pj-cols, .area-intro, .pj-gal__intro { grid-template-columns: minmax(0, 1fr); }
  .pj-split { grid-template-columns: minmax(0, 1fr); }
  .pj-split__text { position: static; }
  .sc-card { grid-template-columns: minmax(0, 1fr); }
  .sc-card__img { min-height: 220px; }
  .sl__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .grid--3 .card { grid-column: span 12; }
  .grid--list .card, .grid--list .card.is-wide { grid-template-columns: 110px minmax(0, 1fr); }
  .grid--list .card__media { min-height: 100%; }
  .grid--list .card__body { padding: 12px 14px; }
  .grid--list .card__sub, .grid--list .card__tags, .grid--list .card__go, .grid--list .card__badges { display: none; }
  .grid--list .card__title { font-size: 16px; }
  .viewtoggle { display: none; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .cat-head { flex-direction: column; align-items: flex-start; }
  .teaser { padding: 26px 20px; border-radius: 22px; min-height: 0; }
  .teaser__stack { display: none; }
  .teaser__btns .btn, .cta-band__btns .btn { flex: 1 1 auto; }
  .area-hero { min-height: 78vh; }
  .wall { columns: 2 140px; column-gap: 8px; }
  .wall__item { margin-bottom: 8px; border-radius: 10px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck__slide { padding: 70px 18px 100px; }
  .deck__dots { display: none; }
  .sl__feat { padding: 18px; }
  .sl__feat:nth-child(n+3) { display: none; }
  .kpi { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .carousel__item { flex-basis: 88%; }
  .pj-stage__media .pj-media { transform: none; }
  .lang-switch button { min-width: 32px; padding: 0 6px; }
}
@media (max-width: 400px) {
  .kbd-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .area-hero__bg, .deck__slide.on .deck__bg { animation: none; }
  .wipe { display: none; }
}
