/* StreamSafe – gleiche Formensprache wie die App: schwarzer Grund, dunkle Flächen,
   klare weiße Typografie, Violett nur als Akzent. Keine Webfonts (CSP), Systemschrift. */
:root {
  --bg: #000;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --surface-3: #242424;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #fff;
  --muted: #b3b3b3;
  --faint: #7a7a7a;
  --accent: #8b6cff;
  --accent-hover: #a58dff;
  --green: #1ed760;
  --radius: 14px;
  --container: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav nav a:not(.btn) { color: var(--muted); transition: color .15s; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { background: transparent; border-color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding-top: 96px; padding-bottom: 24px; }
.kicker { color: var(--accent-hover); font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 19ch; }
.lead { margin-top: 24px; max-width: 620px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 14.5px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.shot { margin: 64px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 40px 120px -40px rgba(139, 108, 255, .35), 0 20px 60px rgba(0, 0, 0, .6); }

.compat { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 48px; padding-bottom: 8px; color: var(--faint); font-size: 14px; }
.compat ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.compat li { color: var(--muted); font-weight: 600; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding-top: 112px; padding-bottom: 8px; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2, .feature-text h2, .cta-band h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.section-head p[data-version] { margin-top: 6px; color: var(--faint); font-size: 14px; }
.section-head p[data-version]:empty { display: none; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.step-no { display: block; color: var(--accent-hover); font-weight: 700; font-size: 14px; letter-spacing: .04em; margin-bottom: 40px; }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-rev .feature-text { order: 2; }
.feature-text p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }
.feature-img { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.feature-wide { grid-template-columns: 1fr; gap: 28px; }
.feature-wide .feature-text { max-width: 640px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 15.5px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px; border-left: 2px solid var(--accent-hover); border-bottom: 2px solid var(--accent-hover); transform: rotate(-45deg); }
.checks strong { color: var(--text); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.grid article { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.grid h3 { font-size: 17px; margin-bottom: 8px; }
.grid p { color: var(--muted); font-size: 15px; }

.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platforms article { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 28px; }
.platforms h3 { font-size: 24px; }
.platforms p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.platforms ul { list-style: none; padding: 0; margin: 20px 0 28px; color: var(--muted); font-size: 14.5px; display: grid; gap: 6px; }
.platforms ul li::before { content: "·"; color: var(--accent-hover); font-weight: 800; margin-right: 8px; }
.platforms .btn { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--border); }
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; max-width: 760px; }
.faq details a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.cta-band { margin-top: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px; border-radius: 20px; background: linear-gradient(135deg, #2c2152 0%, var(--surface) 70%); border: 1px solid var(--border); }
.cta-band p { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* ---------- Footer ---------- */
.footer { margin-top: 112px; border-top: 1px solid var(--border); padding: 56px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--muted); max-width: 300px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:not(.brand) { color: var(--muted); }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13.5px; }
.footer-bottom { flex-direction: column; }
/* Sprachmenü: <details> ohne JavaScript */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border); user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--text); }
.lang-menu > div { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; display: flex; flex-direction: column; min-width: 190px; padding: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.nav nav .lang-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--muted); font-size: 14px; }
.nav nav .lang-menu a:hover { background: rgba(255,255,255,.06); color: var(--text); }
.nav nav .lang-menu a[aria-current] { color: var(--text); font-weight: 600; }
.footer-lang { margin-top: 10px; font-size: 13.5px; }
.footer-lang a[aria-current] { color: var(--text); font-weight: 600; }
.footer-bottom a { color: var(--muted); }
.footer-note { max-width: 760px; line-height: 1.6; }

/* ---------- Blog & Textseiten ---------- */
.blog-head { padding-top: 96px; }
.blog-head h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin-top: 12px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); transition: background .15s; }
.card:hover { background: var(--surface-2); }
.card h3 { font-size: 19px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; }
.card .meta { margin-top: auto; padding-top: 8px; color: var(--faint); font-size: 13.5px; }
.tag { align-self: flex-start; color: var(--accent-hover); font-size: 13px; font-weight: 700; }
.more-link { margin-top: 24px; }
.more-link a { color: var(--muted); font-weight: 600; }
.more-link a:hover { color: var(--text); }
.post { max-width: 720px; margin: 0 auto; padding: 72px 24px 0; }
.post .back { display: table; margin-bottom: 28px; color: var(--muted); font-size: 14.5px; }
.post .back:hover { color: var(--text); }
.post h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 12px 0 12px; }
.post .meta { color: var(--faint); font-size: 14.5px; margin-bottom: 28px; }
.post .lead { margin: 0 0 40px; font-size: 20px; max-width: none; }
.post h2 { font-size: 26px; font-weight: 800; letter-spacing: -.025em; margin: 52px 0 14px; }
.post p, .post li { color: rgba(255, 255, 255, .84); font-size: 17.5px; line-height: 1.75; }
.post p + p { margin-top: 18px; }
.post ul, .post ol { padding-left: 22px; margin: 16px 0; }
.post li { margin: 8px 0; }
.post a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(165, 141, 255, .6); }
.post kbd { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); }
.post .note { margin-top: 40px; padding: 16px 18px; border-radius: 12px; background: var(--surface); font-size: 15px; color: var(--muted); }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent); }
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 12px; border: 1px solid var(--border); }
.post table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.post th, .post td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.post th { background: var(--surface); font-weight: 700; }
.post tr:last-child td { border-bottom: 0; }
.post td:first-child { color: var(--muted); }
.post-cta { display: flex; align-items: center; gap: 18px; margin-top: 56px; padding: 24px; border-radius: 16px; background: linear-gradient(135deg, #2c2152 0%, var(--surface) 75%); }
.post-cta div { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.post-cta span { color: var(--muted); font-size: 15px; }
.post-cta .btn { flex-shrink: 0; text-decoration: none; }
.page { max-width: 720px; margin: 0 auto; padding: 96px 24px 0; }
.page h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.035em; }
.page h2 { font-size: 22px; margin: 40px 0 10px; }
.page p, .page li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.page p + p { margin-top: 14px; }
.notfound { text-align: center; padding: 180px 24px 80px; }
.notfound h1 { font-size: 64px; font-weight: 800; }
.notfound p { color: var(--muted); margin: 12px 0 28px; }
.page ul, .page ol { padding-inline-start: 22px; display: grid; gap: 6px; }
.page a { text-decoration: underline; }
.legal .meta { color: var(--faint); margin-top: 12px; }
.legal-box { margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--surface, rgba(255,255,255,.04)); border: 1px solid var(--border); color: var(--text) !important; }
.licenses { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.licenses th, .licenses td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--muted); }
.licenses th { color: var(--text); font-weight: 600; }
.licenses td span { font-size: 12.5px; color: var(--faint); }
.licenses td:last-child { white-space: nowrap; }
@media (max-width: 640px) { .licenses td:last-child { white-space: normal; } }
.ai-summary { font-size: 19px !important; color: var(--text) !important; border-inline-start: 3px solid var(--accent, #8b6cff); padding-inline-start: 16px; }
.ai-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ai-facts div { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.ai-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.ai-facts dd { margin: 4px 0 0; color: var(--text); font-size: 15px; line-height: 1.5; }
.ai-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
.ai-grid h3 { font-size: 16px; }
.ai-grid p { font-size: 14.5px !important; }

/* Rechts-nach-links (Arabisch) */
[dir="rtl"] .checks li, [dir="rtl"] .trust li { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature-rev .feature-text { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .platforms, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .nav nav .lang-menu a { display: block; }
  .ai-grid { grid-template-columns: 1fr !important; }
  .hero { padding-top: 64px; }
  .section { padding-top: 80px; }
  .grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}
