/* TS-Sponsoring – Startseite im Design des Panels */
@font-face { font-family: 'Orbitron'; font-weight: 500; font-display: swap; src: url(fonts/orbitron-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Orbitron'; font-weight: 700; font-display: swap; src: url(fonts/orbitron-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --bg: #070b16; --bg2: #0a1020; --panel: #0e1528; --panel2: #121b33; --line: #1e2a48; --line2: #2a3a62;
  --text: #e8eeff; --muted: #94a0c2; --dim: #66739a;
  --cyan: #22d3ee; --violet: #a855f7; --pink: #f472b6; --ok: #34d399; --bad: #f87171;
  --grad: linear-gradient(120deg, #22d3ee 0%, #a855f7 55%, #f472b6 100%);
  --wrap: 1180px; --gutter: clamp(18px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7ee8f8; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(168, 85, 247, .45); }
h1, h2, h3 { font-family: 'Orbitron', 'Inter', sans-serif; font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 18px; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); max-width: 58ch; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--panel2); padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font: 600 15px 'Inter', sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--grad); color: #08101f; box-shadow: 0 6px 26px rgba(168, 85, 247, .35); }
.btn-primary:hover { color: #08101f; transform: translateY(-1px); box-shadow: 0 10px 34px rgba(168, 85, 247, .5); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--line2); color: var(--text); }
.btn-ghost:hover { color: #fff; border-color: rgba(34, 211, 238, .6); background: rgba(34, 211, 238, .06); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); background: rgba(7, 11, 22, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { display: block; }
.brand-name { font: 700 16px 'Orbitron'; letter-spacing: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(64px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(28px, 4.3vw, 54px); letter-spacing: 0; overflow-wrap: anywhere; }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Channel-Baum: das eine laute Element der Seite */
.tree-card { margin: 0; background: linear-gradient(180deg, rgba(18, 27, 51, .92), rgba(12, 19, 37, .92)); border: 1px solid var(--line2); border-radius: 20px; padding: 18px 16px 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02) inset; backdrop-filter: blur(10px); }
.tree-head { display: flex; align-items: center; gap: 12px; padding: 2px 6px 14px; border-bottom: 1px solid var(--line); }
.tree-head b { display: block; font: 700 14px 'Orbitron'; letter-spacing: .04em; }
.tree-sub { display: block; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ok); padding: 4px 10px; border-radius: 99px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .25); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: ping 1.8s ease-out infinite; }
.tree { list-style: none; margin: 10px 0 0; padding: 0; min-height: 318px; font-size: 14px; }
.tree .ch { display: flex; align-items: center; gap: 9px; padding: 6px 8px; color: #c9d3f2; font-weight: 600; border-radius: 8px; }
.tree .ch svg { width: 15px; height: 15px; flex: none; stroke: #7a88b4; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.tree .ch .n { margin-left: auto; color: var(--dim); font-weight: 500; font-size: 12px; font-variant-numeric: tabular-nums; }
.tree .users { list-style: none; margin: 0 0 2px; padding: 0 0 0 26px; }
.tree .u { display: flex; align-items: center; gap: 9px; padding: 4px 8px; border-radius: 8px; color: var(--text); font-weight: 500; transition: background .4s ease; animation: join .5s cubic-bezier(.2, .9, .3, 1.2); }
.tree .u.leaving { animation: leave .4s ease forwards; }
.tree .u .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4a78; flex: none; transition: background .2s, box-shadow .2s; }
.tree .u.talk .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, .22), 0 0 14px rgba(52, 211, 153, .7); }
.tree .u.talk { background: rgba(52, 211, 153, .06); }
.tree .u.away { color: var(--dim); }
.tree .u.away .dot { background: #5d6a8f; }
.tree .u .tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; color: #e9d5ff; background: rgba(168, 85, 247, .16); border: 1px solid rgba(168, 85, 247, .3); }
.tree .u .tag.c { color: #cffafe; background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .3); }
.tree-card figcaption { margin: 14px 6px 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12.5px; }
@keyframes join { from { opacity: 0; transform: translateX(-10px); } }
@keyframes leave { to { opacity: 0; transform: translateX(10px); height: 0; padding-top: 0; padding-bottom: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

/* ---------- Abschnitte ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 112px) var(--gutter); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head p { color: var(--muted); }

/* Live-Status */
.monitors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.monitor { position: relative; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; min-height: 200px; }
.monitor iframe { display: block; width: 100%; height: 520px; border: 0; background: var(--panel); }
.monitor-short iframe { height: 300px; }
.monitor .ph { display: grid; place-items: center; height: 200px; color: var(--dim); font-size: 14px; }
.monitors:not(.on) .monitor { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 10px, transparent 10px 20px), var(--panel); }
.consent { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 20px; border-radius: 14px; background: rgba(34, 211, 238, .05); border: 1px solid rgba(34, 211, 238, .22); }
.consent p { color: #c4d0ee; font-size: 14.5px; max-width: 70ch; }
.consent-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.consent[hidden] { display: none; }

/* Web-Panel */
.panel-sec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.panel-copy .lead { margin: 18px 0 26px; }
.feats { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.feats li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.feats li b { color: var(--text); font-weight: 600; }
.feats svg { width: 22px; height: 22px; flex: none; margin-top: 1px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.steps-card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line2); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 46px; color: var(--muted); font-size: 15px; }
.steps li b { color: var(--text); font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px 'Orbitron'; color: #08101f; background: var(--grad); }

/* Kontakt */
.contact-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-copy .lead { margin-top: 18px; }
.contact { display: grid; gap: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: #c4d0ee; }
.field input, .field select, .field textarea { width: 100%; font: 15px/1.5 'Inter', sans-serif; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 11px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .18); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field.bad input, .field.bad textarea { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.check.bad { color: #fecaca; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { font-size: 14.5px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--bad); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(8, 16, 31, .3); border-top-color: #08101f; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- Fußzeile ---------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 14px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- Rechtliche Seiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter); }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 28px; }
.legal h2 { font-size: 19px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal .todo { color: #fde68a; background: rgba(251, 191, 36, .1); border: 1px dashed rgba(251, 191, 36, .45); padding: 1px 6px; border-radius: 6px; }

/* ---------- Logo (aus dem Panel) ---------- */
.ts-logo { overflow: visible; }
.ts-logo .ring1, .ts-logo .ring2, .ts-logo .spark1, .ts-logo .spark2 { transform-origin: 120px 120px; }
.ts-logo.is-anim .ring1 { animation: spin 22s linear infinite; }
.ts-logo.is-anim .ring2 { animation: spin 34s linear infinite reverse; }
.ts-logo.is-anim .spark1 { animation: spin 5.5s linear infinite; }
.ts-logo.is-anim .spark2 { animation: spin 8.5s linear infinite reverse; }
.ts-logo.is-anim .halo { animation: halo 3.2s ease-in-out infinite; transform-origin: 120px 120px; }
.ts-logo .eq { transform-box: fill-box; transform-origin: 50% 100%; }
.ts-logo.is-anim .eq { animation: eq 1.1s ease-in-out infinite; }
.ts-logo.is-anim .eq0 { animation-delay: -.2s; animation-duration: .9s; } .ts-logo.is-anim .eq1 { animation-delay: -.55s; }
.ts-logo.is-anim .eq2 { animation-delay: -.1s; animation-duration: 1.3s; } .ts-logo.is-anim .eq3 { animation-delay: -.75s; animation-duration: .95s; }
.ts-logo.is-anim .eq4 { animation-delay: -.4s; animation-duration: 1.2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes halo { 0%, 100% { opacity: .22; transform: scale(.97); } 50% { opacity: .55; transform: scale(1.06); } }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1.08); } }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .hero-inner, .panel-sec, .contact-sec { grid-template-columns: minmax(0, 1fr); }
  .tree-card { max-width: 560px; }
  .monitors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .top { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .nav { display: none; }
  .top-cta { margin-left: auto; }
  .brand-name { font-size: 14px; }
  .monitors { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .tree { min-height: 300px; font-size: 13.5px; }
}
@media (max-width: 400px) { .brand-name { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
