/* Fastvideo SRT – Produktseite (Entwurf). Eigenständig, unabhängig von style.css. */
:root{
  color-scheme:dark;
  --bg:#0a1020;
  --bg-2:#0f182c;
  --panel:rgba(255,255,255,.035);
  --panel-2:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.10);
  --line-2:rgba(255,255,255,.18);
  --text:#eef2f8;
  --muted:#aab5c8;
  --subtle:#7d8aa3;
  --orange:#ff9a1f;      /* Bild & Ton */
  --orange-soft:rgba(255,154,31,.14);
  --call:#8fbcff;        /* Verbindungsaufbau (gestrichelt) */
  --call-soft:rgba(143,188,255,.12);
  --yellow:#f5c542;      /* SRT Bridge */
  --navy:#3e5a7e;        /* Logo-Hintergrund */
  --radius:18px;
  --mono:"Cascadia Mono","Cascadia Code",Consolas,"SF Mono",Menlo,monospace;
  --sans:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --display:"Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;background:var(--bg);color:var(--text);
  font-family:var(--sans);font-size:17px;line-height:1.6;
  background-image:
    radial-gradient(1200px 600px at 85% -10%,rgba(62,90,126,.55),transparent 60%),
    radial-gradient(900px 500px at -10% 10%,rgba(255,154,31,.10),transparent 60%),
    linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:auto,auto,48px 48px,48px 48px;
  background-attachment:fixed,fixed,scroll,scroll;
}
img{max-width:100%}
a{color:var(--orange)}
a:focus-visible,button:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:6px}
.wrap{width:min(1180px,100% - 32px);margin-inline:auto}

/* Kopfzeile mit Produktreitern */
.topbar{position:sticky;top:0;z-index:10;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:rgba(10,16,32,.72);border-bottom:1px solid var(--line)}
.topbar .wrap{display:flex;align-items:center;gap:20px;min-height:64px}
.topbar .mark{display:flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.topbar .mark img{height:34px;width:34px;border-radius:8px}
.tabs{display:flex;gap:4px;margin-left:auto;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.tabs a{padding:8px 14px;border-radius:9px;color:var(--muted);text-decoration:none;font-weight:600;font-size:.92rem;white-space:nowrap}
.tabs a:hover{color:var(--text);background:var(--panel-2)}
.tabs a[aria-current="page"]{background:var(--orange);color:#1a1205}
.lang{display:grid;place-items:center;flex:none;width:44px;height:34px;padding:5px;border:1px solid var(--line-2);border-radius:9px;background:var(--panel);cursor:pointer}
.lang:hover{border-color:var(--orange)}
.lang img{display:block;width:27px;height:18px;border-radius:2px;object-fit:cover}
:lang(en) .compare td:nth-of-type(1)::before{content:"A · Via the Bridge"}
:lang(en) .compare td:nth-of-type(2)::before{content:"B · Direct"}

/* Hero */
.hero{padding:72px 0 40px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:48px;align-items:center}
.product-wordmarks{display:grid;gap:6px;margin-bottom:28px;width:100%;max-width:591.49px}
/* Keep a common image scale. The widest original is 2329px wide. */
.product-wordmarks .full-wordmark{display:block;width:100%;height:auto}
.product-wordmarks .full-wordmark[width="2199"]{width:94.4182%}
.product-wordmarks .bridge-wordmark{margin-top:5px}

h1{margin:0 0 20px;font-family:var(--display);font-size:clamp(2.2rem,5.2vw,4rem);line-height:1.04;letter-spacing:-.035em;font-weight:700}
.hero-tagline em{font-style:normal;color:var(--orange)}
.lead{margin:0 0 28px;color:var(--muted);font-size:1.15rem;max-width:620px}
.hero-facts{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.hero-facts li{padding:8px 13px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:.9rem;color:var(--text)}
.hero-facts b{color:var(--orange);font-weight:700}
.hero-icon{position:relative;justify-self:center;width:min(340px,80%)}
.hero-icon::before{content:"";position:absolute;inset:8%;border-radius:30%;background:radial-gradient(circle,rgba(255,154,31,.35),transparent 70%);filter:blur(40px)}
.hero-icon img{position:relative;display:block;width:100%;height:auto;transform:rotate(-4deg);filter:drop-shadow(0 30px 50px rgba(0,0,0,.55))}

/* Abschnitte */
section{padding:56px 0}
.section-head{max-width:760px;margin:0 0 32px}
.kicker{margin:0 0 10px;font-family:var(--mono);font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--orange)}
h2{margin:0 0 14px;font-family:var(--display);font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.12;letter-spacing:-.025em}
h3{margin:0 0 8px;font-size:1.15rem;line-height:1.3}
.section-head p{margin:0;color:var(--muted);font-size:1.06rem}
.free-note{display:inline-flex;align-items:center;gap:14px;margin-top:24px;padding:14px 26px 14px 14px;border:1.5px solid rgba(255,154,31,.6);border-radius:999px;background:var(--orange-soft);color:var(--text);font-weight:700;font-size:1.25rem;line-height:1.3;text-decoration:none}
h2[id],section[id]{scroll-margin-top:110px}
.free-note:hover{border-color:var(--orange)}
.free-dot{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--orange);color:#1a1205;font-size:1.1rem;font-weight:800}
@media (max-width:700px){.free-note{font-size:1.05rem;padding:12px 18px 12px 12px;border-radius:18px}.free-dot{width:30px;height:30px}}
.card{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,var(--panel-2),var(--panel));padding:26px}

/* Drei Bausteine */
.chain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;position:relative}
.product{display:flex;flex-direction:column;gap:12px}
.product header{display:flex;align-items:center;gap:14px}
.product header img{width:58px;height:58px;border-radius:12px;flex:none}
.product .role{display:block;font-family:var(--mono);font-size:.76rem;letter-spacing:.06em;color:var(--subtle);text-transform:uppercase}
.product p{margin:0;color:var(--muted);font-size:.97rem}
.product ul{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:7px}
.product li{position:relative;padding-left:20px;font-size:.93rem;color:var(--text)}
.product li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:2px;background:var(--orange);transform:rotate(45deg)}
.product.bridge{border-color:rgba(245,197,66,.45)}
.product.bridge li::before{background:var(--yellow)}
.product .tag{align-self:flex-start;margin-top:auto;padding:5px 10px;border-radius:7px;border:1px solid var(--line-2);font-family:var(--mono);font-size:.78rem;color:var(--muted)}

/* Caller / Listener */
.roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.role-card{display:grid;grid-template-columns:64px 1fr;gap:18px;align-items:start}
.role-card svg{width:64px;height:64px}
.role-card p{margin:0;color:var(--muted)}
.role-card .short{display:inline-block;margin:0 0 8px;padding:3px 9px;border-radius:6px;font-family:var(--mono);font-size:.8rem;background:var(--call-soft);color:var(--call);border:1px dashed rgba(143,188,255,.5)}
.keyline{margin-top:22px;display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:center;padding:22px 26px;border-radius:var(--radius);border:1px solid rgba(255,154,31,.45);background:linear-gradient(90deg,rgba(255,154,31,.13),rgba(255,154,31,.03))}
.keyline .big{font-family:var(--display);font-size:2.4rem;line-height:1;color:var(--orange)}
.keyline p{margin:0;font-size:1.08rem}
.keyline p span{display:block;color:var(--muted);font-size:.97rem;margin-top:4px}

/* Diagramme */
.legend{display:flex;flex-wrap:wrap;gap:22px;margin:0 0 16px;padding:0;list-style:none;font-size:.92rem;color:var(--muted)}
.legend li{display:flex;align-items:center;gap:10px}
.legend svg{width:54px;height:14px;flex:none}
.diagram{padding:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.diagram svg{display:block;width:100%;min-width:760px;height:auto}
.swipe{display:none;margin:8px 0 0;font-size:.82rem;color:var(--subtle);text-align:center}
.variant{display:grid;gap:22px}
.variant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.step{position:relative;padding:22px 22px 22px 22px}
.step .num{display:inline-grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border-radius:50%;border:1.5px dashed var(--call);color:var(--call);font-family:var(--mono);font-weight:700}
.step.media .num{border:0;background:var(--orange);color:#1a1205}
.step p{margin:0;color:var(--muted);font-size:.96rem}
.step code,.mono{font-family:var(--mono);font-size:.9em;color:var(--text);background:var(--panel-2);padding:1px 6px;border-radius:5px}
.when{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.when .card h3{display:flex;align-items:center;gap:10px}
.when ul{margin:0;padding-left:20px;color:var(--muted)}
.when li+li{margin-top:6px}
.badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:.75rem;font-family:var(--mono);letter-spacing:.04em;border:1px solid currentColor}
.badge.good{color:#9ee6c4}
.badge.note{color:var(--yellow)}

/* Diagramm-Elemente */
.dg-node{fill:rgba(255,255,255,.04);stroke:rgba(255,255,255,.18);stroke-width:1.5}
.dg-bridge{fill:rgba(245,197,66,.07);stroke:var(--yellow);stroke-width:2.5}
.dg-listener{stroke:var(--call);stroke-width:2.5}
.dg-router-card{fill:rgba(245,197,66,.05);stroke:rgba(245,197,66,.55);stroke-dasharray:6 5}
.dg-title{fill:var(--text);font:700 22px var(--display)}
.dg-title-sm{font-size:18px}
.dg-role{fill:var(--call);font:700 13px var(--mono);letter-spacing:.12em}
.dg-mono{fill:var(--text);font:600 14px var(--mono)}
.dg-mono-sm{font-size:13px}
.dg-small{fill:var(--muted);font:500 14px var(--sans)}
.dg-yellow{fill:var(--yellow)}
.dg-pill{fill:rgba(255,255,255,.06);stroke:rgba(255,255,255,.16)}
.dg-pill-yellow{fill:rgba(245,197,66,.10);stroke:rgba(245,197,66,.6)}
.dg-pill-return{stroke:#ffc27a;stroke-dasharray:2 3}
.dg-call{stroke:var(--call);stroke-width:2.5;stroke-dasharray:7 6;fill:none}
.dg-call-label{fill:var(--call);font:600 15px var(--sans)}
.dg-media{stroke:var(--orange);stroke-width:9;fill:none}
.dg-media.flow{stroke-dasharray:24 6;animation-name:flowmedia}
@keyframes flowmedia{to{stroke-dashoffset:-30}}
.dg-media-label{fill:var(--orange);font:700 15px var(--sans)}
.dg-return{stroke:#ffc27a;stroke-width:3;stroke-linecap:round;fill:none}
.dg-return.flow{stroke-dasharray:2 7;animation-duration:1.4s}
.dg-return-label{fill:#ffc27a;font:500 14px var(--sans)}
.dg-router rect,.dg-router line,.dg-router circle{fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.dg-router-big rect,.dg-router-big line{stroke:var(--yellow);stroke-width:2.5}
.dg-router-big circle{fill:var(--yellow);stroke:none}
.dg-cloud{fill:rgba(143,188,255,.05);stroke:rgba(143,188,255,.22);stroke-width:1.5}
.dg-cloud-text{fill:var(--subtle);font:600 13px var(--mono);letter-spacing:.14em;text-transform:uppercase}
.dg-banner{fill:rgba(255,154,31,.12);stroke:rgba(255,154,31,.55)}
.dg-banner-text{fill:var(--text);font:700 18px var(--display)}

/* SVG-Animation: wandernde Striche auf den Bild-und-Ton-Linien */
.flow{stroke-dasharray:14 12;animation:flow 1.1s linear infinite}
.flow.back{animation-direction:reverse}
@keyframes flow{to{stroke-dashoffset:-26}}
.pulse{animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.flow,.pulse{animation:none}html{scroll-behavior:auto}}

/* Vergleich */
.compare{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--panel)}
.compare th,.compare td{padding:15px 18px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-size:.96rem}
.compare thead th{background:var(--panel-2);font-size:.85rem;font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.compare tbody th{font-weight:600;color:var(--text);width:26%}
.compare td{color:var(--muted)}
.compare tr:last-child>*{border-bottom:0}
.compare-wrap{overflow-x:auto}

/* Screenshots */
.shots{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.shot[hidden]{display:none}
.shot{margin:0}
.shot a{display:block;border:1px solid var(--line-2);border-radius:14px;overflow:hidden;background:#000;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.shot img{display:block;width:100%;height:auto}
.shot figcaption{margin-top:12px;color:var(--muted);font-size:.92rem}
.shot figcaption b{color:var(--text)}

/* Details */
.details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.details .card p{margin:0;color:var(--muted);font-size:.95rem}
.details .ico{display:grid;place-items:center;width:42px;height:42px;margin-bottom:14px;border-radius:11px;background:var(--orange-soft);color:var(--orange);font-size:1.25rem}

/* Download */
.cta{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center}
.downloads{display:grid;gap:16px}
.download-credit{margin:16px 0 0;color:var(--muted);font-size:.88rem}
.cta img{width:72px;height:72px;border-radius:14px}
.cta p{margin:0;color:var(--muted)}
.button{display:inline-block;padding:12px 22px;border-radius:11px;background:var(--orange);color:#1a1205;font-weight:700;text-decoration:none;white-space:nowrap}
.button:hover{background:#ffb04d}

footer{padding:40px 0 56px;color:var(--subtle);font-size:.88rem;text-align:center;border-top:1px solid var(--line);margin-top:24px}

/* Einblenden beim Scrollen (nur wenn JS läuft) */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}}

/* Tablet */
@media (max-width:980px){
  .hero .wrap{grid-template-columns:1fr;gap:28px}
  .hero-icon{order:-1;width:min(200px,50%);justify-self:start}
  .chain,.variant-grid,.details{grid-template-columns:1fr}
}
/* Telefon */
@media (max-width:700px){
  body{font-size:16px}
  .topbar .wrap{flex-wrap:wrap;gap:10px;padding:10px 0}
  .tabs{order:3;margin-left:0;width:100%;overflow-x:auto}
  .lang{order:2;margin-left:auto}
  .tabs a{padding:7px 10px;font-size:.85rem}
  .hero{padding:40px 0 20px}
  section{padding:40px 0}
  .roles,.when{grid-template-columns:1fr}
  .role-card{grid-template-columns:48px 1fr;gap:14px}
  .role-card svg{width:48px;height:48px}
  .keyline{grid-template-columns:1fr;gap:8px;padding:18px}
  .card{padding:20px}
  .diagram{padding:8px}
  .swipe{display:block}
  .cta{grid-template-columns:1fr;text-align:left}
  /* Vergleich als Karten statt Tabelle */
  .compare,.compare tbody,.compare tr,.compare th,.compare td{display:block;width:auto}
  .compare thead{display:none}
  .compare tr{padding:14px 16px;border-bottom:1px solid var(--line)}
  .compare tbody th{width:auto;padding:0 0 8px;border:0;font-size:1rem}
  .compare td{padding:4px 0;border:0;font-size:.92rem}
  .compare td::before{display:block;font-family:var(--mono);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--subtle)}
  .compare td:nth-of-type(1)::before{content:"A · Über die Bridge"}
  .compare td:nth-of-type(2)::before{content:"B · Direkt";margin-top:6px}
}
