/* Thumbnail tunnel: after 21st.dev @daiwiikharihar/perspective-tunnel-hero (MIT), landscape cards.
   A sticky stage; scrolling flies the camera through a golden-angle tunnel of YouTube thumbnails. */
.ttun { position: relative; height: 520vh; }
.ttun-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; perspective: 1000px; perspective-origin: 50% 50%;
  background:
    radial-gradient(circle, rgba(9,9,11,.07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(60% 55% at 50% 50%, #f4f4f5, #fff 70%); }
.ttun-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(9,9,11,.12); transform: translate(-50%, -50%); pointer-events: none; }
.ttun-copy { position: absolute; inset: 0; display: grid; align-content: start; justify-content: center; justify-items: center; text-align: center; gap: 12px; padding: clamp(80px, 13vh, 140px) 24px 0; z-index: 1; pointer-events: none; }
.ttun-copy .eyebrow { pointer-events: auto; }
.ttun-copy h2 { margin: 6px 0 0; font: 800 clamp(2.6rem, 7.2vw, 7rem)/.88 var(--sf); letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; padding-left: .04em; padding-right: .06em; }
.ttun-copy .tag { font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5em; color: var(--soft); text-transform: uppercase; }
.ttun-copy p { margin: 0; max-width: 34rem; color: var(--text); font-size: 1.1rem; letter-spacing: -.02em; }
.ttun-world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; z-index: 2; }
.ttun-card { position: absolute; left: 0; top: 0; width: var(--w, 300px); aspect-ratio: 16 / 9; margin: calc(var(--w, 300px) * -.28125) 0 0 calc(var(--w, 300px) * -.5);
  border-radius: 18px; overflow: hidden; background: #111; will-change: transform, opacity; backface-visibility: hidden;
  box-shadow: 0 30px 60px -24px rgba(9,9,11,.45), 0 0 0 1px rgba(9,9,11,.06); }
.ttun-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttun-card .play { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1.42; transform: translate(-50%, -50%); border-radius: 22%;
  background: rgba(10,10,10,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .25s; }
.ttun-card .play::before { content: ""; border-left: calc(var(--w, 300px) * .045) solid #fff; border-top: calc(var(--w, 300px) * .028) solid transparent; border-bottom: calc(var(--w, 300px) * .028) solid transparent; margin-left: 6%; }
.ttun-card:hover .play { background: #ff0000; }
.ttun-card .lbl { position: absolute; left: 7%; bottom: 7%; color: #fff; font: 600 calc(var(--w, 300px) * .04)/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.ttun-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.ttun-card .dur { z-index: 1; position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.8); color: #fff; font: 600 calc(var(--w, 300px) * .036)/1.2 var(--sf); letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .ttun { height: auto; } .ttun-stage { position: relative; height: auto; padding: 120px 0; } }

/* Less empty space between "Leistung" and the tunnel title. */
#leistung { padding-bottom: clamp(40px, 5vw, 70px); }
