/* Technik-Abschnitt „Was passiert, wenn Du fragst?“ (seit 14.11.2026). Szene in Designmaßen 1200×600 (Prozent),
   gepinnt und gescrubbt über technik.js. Schritte 1 bis 6 setzen data-schritt an .technik. */
.technik { position: relative; background: linear-gradient(180deg, #ffffff 0%, #f6f5fa 100%); border-top: 1px solid var(--linie); overflow: hidden; }
.tk-buehne { max-width: 1320px; margin: 0 auto; padding: 96px var(--rand) 40px; display: grid; grid-template-columns: minmax(300px, .72fr) 1.28fr; gap: 40px; align-items: center; }
.tk-kopf h2 { font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 22px; }
.tk-schritte { list-style: none; padding: 0; margin: 0; counter-reset: tk; }
.tk-schritte li { position: relative; padding: 0 0 14px 44px; font-size: 16px; line-height: 1.5; color: var(--text); transition: opacity .4s, transform .4s; }
.tk-schritte li b { color: var(--titel); }
.tk-schritte li::before { counter-increment: tk; content: counter(tk); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--lila); border: 2px solid var(--lila); background: #fff; transition: background .3s, color .3s; }

/* Szene */
.tk-szene { position: relative; width: 100%; aspect-ratio: 2 / 1; }
.tk-linien { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk-pfad { fill: none; stroke: url(#tk-v); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.p-apple { stroke: #b9b6c6; stroke-dasharray: .03 .03; }
.tk-paket { fill: #fff; stroke: var(--rot); stroke-width: 3; opacity: 0; filter: drop-shadow(0 0 6px rgba(227, 25, 55, .5)); }
.k-b1, .k-b2, .k-b3 { stroke: var(--lila); filter: drop-shadow(0 0 6px rgba(82, 54, 171, .5)); }

.tk-telefon { position: absolute; left: 4%; top: 2%; height: 96%; aspect-ratio: 600 / 1304; border-radius: 38px; background: #1d1d1f; padding: 9px; box-shadow: 0 30px 60px -30px rgba(32, 10, 88, .6); }
.tk-schirm { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #f4f1f8; }
.tk-schirm img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tk-maske { position: absolute; left: 0; right: 0; top: 25%; bottom: 17%; background: linear-gradient(180deg, #f3eff8, #efeaf6); display: flex; align-items: flex-start; padding: 8% 7%; transform-origin: top; }
.tk-denkt { display: inline-flex; gap: 5px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 6px 14px -8px rgba(32,10,88,.35); }
.tk-denkt i { width: 7px; height: 7px; border-radius: 50%; background: var(--lila); opacity: .35; animation: denken 1.2s infinite; }
.tk-denkt i:nth-child(2) { animation-delay: .2s; } .tk-denkt i:nth-child(3) { animation-delay: .4s; }
@keyframes denken { 50% { opacity: 1; transform: translateY(-3px); } }
.tk-ring { position: absolute; inset: -10px; border-radius: 46px; border: 3px solid var(--rot); opacity: 0; }
.tk-mini { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--lila); opacity: 0; }

.tk-server { position: absolute; left: 41.5%; top: 14%; width: 18.5%; height: 72%; display: flex; flex-direction: column; align-items: center; }
.tk-schrank { width: 100%; flex: 1; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 7px;
  background: linear-gradient(160deg, #2a1a5e, #170a3d); box-shadow: 0 30px 60px -28px rgba(32, 10, 88, .7), inset 0 0 0 1px rgba(255,255,255,.08); position: relative; }
.tk-schrank::after { content: ""; position: absolute; inset: -3px; border-radius: 19px; padding: 3px; background: var(--verlauf);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: var(--glanz, .25); }
.tk-blade { flex: 1; border-radius: 6px; background: linear-gradient(180deg, #33256f, #241656); display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.tk-blade i { width: 6px; height: 6px; border-radius: 50%; background: #3b2f78; transition: background .25s, box-shadow .25s; }
.tk-blade em { flex: 1; height: 3px; margin-left: 6px; border-radius: 2px; background: rgba(255,255,255,.08); }
.technik.licht .tk-blade i { background: #7be0a6; box-shadow: 0 0 8px #7be0a6; animation: led 1.1s infinite; }
.technik.licht .tk-blade:nth-child(2) i { animation-delay: .15s; } .technik.licht .tk-blade:nth-child(3) i { animation-delay: .3s; }
.technik.licht .tk-blade:nth-child(4) i { animation-delay: .45s; } .technik.licht .tk-blade:nth-child(5) i { animation-delay: .6s; }
.technik.licht .tk-blade i:nth-child(2) { background: #9e83f5; box-shadow: 0 0 8px #9e83f5; }
@keyframes led { 50% { opacity: .35; } }
.tk-name { margin: 12px 0 0; text-align: center; line-height: 1.2; }
.tk-name b { display: block; color: var(--titel); font-size: 17px; }
.tk-name span { color: var(--lila); font-size: 13px; font-weight: 600; }
.tk-modell { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--titel); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; opacity: 0; }

.tk-quelle { position: absolute; left: 75%; width: 23%; height: 19%; background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center; box-shadow: 0 16px 34px -24px rgba(32, 10, 88, .45); transition: border-color .3s, box-shadow .3s; }
.tk-quelle b { color: var(--titel); font-size: 15px; }
.tk-daten { font-size: 12.5px; color: var(--leise); margin-top: 4px; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s; }
.q1 { top: 12.5%; } .q2 { top: 40.5%; } .q3 { top: 68.5%; }
.technik.quellen .tk-quelle { border-color: var(--lila); box-shadow: 0 18px 38px -22px rgba(82, 54, 171, .6); }
.technik.quellen .tk-daten { opacity: 1; transform: none; }

.tk-apple { position: absolute; left: 26.5%; top: 70%; transform: translateY(-50%); display: flex; flex-direction: column; background: #fff; border: 1.5px dashed #b9b6c6; border-radius: 10px; padding: 6px 9px; opacity: 0; max-width: 14.5%; }
.tk-apple-titel { font-size: 10px; font-weight: 700; color: var(--ganz-leise); text-transform: uppercase; letter-spacing: .06em; }
.tk-apple-text { font-size: 12px; line-height: 1.25; color: var(--titel); font-weight: 600; }
.tk-schloss { position: absolute; left: 33.5%; top: 50%; transform: translate(-50%, -160%); width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--lila); display: grid; place-items: center; opacity: 0; }
.tk-schloss svg { width: 16px; height: 16px; fill: none; stroke: var(--lila); stroke-width: 2; stroke-linecap: round; }

/* Grundsätze */
.tk-grundsaetze { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 30px; padding-bottom: 110px; }
.tk-g { position: relative; background: #fff; border: 1px solid var(--linie); border-radius: 18px; padding: 30px 28px 26px; overflow: hidden; }
.tk-g::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--verlauf); }
.tk-g-zahl { display: block; font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.tk-g h3 { font-size: 22px; margin: 0 0 8px; }
.tk-g p { font-size: 16px; margin: 0; }

/* Zustände der Pin-Fassung (technik.js setzt .tk-pin und Werte) */
.tk-pin .tk-pfad { stroke-dashoffset: 1; }
.tk-pin .tk-schritte li { opacity: .28; }
.tk-pin .tk-schritte li.an { opacity: 1; }
.tk-pin .tk-schritte li.an::before { background: var(--lila); color: #fff; }
.tk-pin .tk-maske { transform: scaleY(1); }
.ruhig-tk .tk-maske, .ohne-js .tk-maske { display: none; }
.ruhig-tk .tk-paket { display: none; }
.ruhig-tk .tk-modell, .ruhig-tk .tk-apple, .ruhig-tk .tk-schloss, .ruhig-tk .tk-mini { opacity: 1; }
.ruhig-tk .tk-daten { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .tk-buehne { grid-template-columns: 1fr; padding-top: 70px; }
  .tk-grundsaetze { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tk-szene { aspect-ratio: auto; height: auto; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .tk-linien, .tk-telefon, .tk-schloss, .tk-apple { display: none; }
  .tk-server, .tk-quelle { position: relative; left: auto; top: auto; width: auto; height: auto; }
  .tk-server { flex-direction: row; gap: 14px; align-items: center; }
  .tk-schrank { width: 90px; height: 120px; flex: none; }
  .tk-name { text-align: left; margin: 0; }
  .tk-modell { position: static; transform: none; opacity: 1; margin-left: auto; }
  .tk-quelle { padding: 14px; }
  .tk-daten { opacity: 1; transform: none; }
}
