/* Notely Website — gleiche Tokens wie die App (src/styles.css) */
:root {
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --panel: #ffffff;
  --border: #e5e6ea;
  --border-strong: #d4d6dc;
  --text: #16181d;
  --text-muted: #5f6672;
  --text-faint: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4fd8;
  --accent-contrast: #ffffff;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --success: #1f7a4d;
  --success-soft: rgba(31, 122, 77, 0.1);
  --warning: #a4650b;
  --warning-soft: rgba(164, 101, 11, 0.1);
  --row-hover: #f2f3f5;
  --shadow: 0 1px 2px rgba(15, 17, 20, 0.04), 0 24px 48px -12px rgba(15, 17, 20, 0.16);
  --radius: 8px;
  --max: 1120px;
  --font: 'Segoe UI Variable Text', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto,
    'Helvetica Neue', sans-serif;
  --font-display: 'Segoe UI Variable Display', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter',
    Roboto, 'Helvetica Neue', sans-serif;
  --mono: 'Cascadia Code', 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1114;
    --bg-subtle: #131519;
    --panel: #16181d;
    --border: #24272e;
    --border-strong: #33373f;
    --text: #e6e8ec;
    --text-muted: #9096a1;
    --text-faint: #6c727d;
    --accent: #6c9eff;
    --accent-hover: #85aeff;
    --accent-contrast: #0b1020;
    --accent-soft: rgba(108, 158, 255, 0.14);
    --success: #4fbf8b;
    --success-soft: rgba(79, 191, 139, 0.14);
    --warning: #e0a336;
    --warning-soft: rgba(224, 163, 54, 0.14);
    --row-hover: #1b1e24;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 32px 64px -16px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code, kbd { font-family: var(--mono); font-size: 0.875em; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--panel); padding: 8px 12px; border: 1px solid var(--border); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { font-size: 14px; color: var(--text-muted); padding: 6px 10px; border-radius: 6px; transition: color .15s, background .15s; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); background: var(--row-hover); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; color: var(--text-muted); }
.icon-link:hover { color: var(--text); background: var(--row-hover); }
@media (max-width: 760px) { .nav { display: none; } .header__inner { justify-content: space-between; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 7px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  background: none; font-family: inherit; color: inherit;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary { border-color: var(--border-strong); background: var(--panel); }
.btn--secondary:hover { background: var(--row-hover); }
.btn--ghost { color: var(--text-muted); }
.btn--ghost:hover { color: var(--text); background: var(--row-hover); }
.btn--lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 9px; }
.btn--sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 6px; }
.btn[aria-disabled='true'] { opacity: .55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px 4px 6px;
  transition: border-color .15s;
}
.eyebrow:hover { border-color: var(--border-strong); color: var(--text); }
.eyebrow .pill { background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 12px; border-radius: 999px; padding: 1px 8px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 650;
  margin: 24px auto 0; max-width: 30ch; text-wrap: balance;
}
.hero h1 span { color: var(--text-muted); display: block; }
.hero__lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-muted); max-width: 56ch; margin: 22px auto 0; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.hero__meta { margin-top: 14px; font-size: 13px; color: var(--text-faint); display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; }
.hero__meta span + span::before { content: '·'; margin-right: 14px; }
@media (max-width: 640px) { .hero { padding-top: 56px; } .hero__cta .btn { width: 100%; } }

/* ---------- App-Mockup ---------- */
.shot { margin: 64px auto 0; max-width: 1040px; position: relative; }
.window {
  border: 1px solid var(--border-strong); border-radius: 12px; background: var(--panel);
  box-shadow: var(--shadow); overflow: hidden; text-align: left; font-size: 13px; line-height: 1.45;
}
.window__bar { display: flex; align-items: center; height: 36px; border-bottom: 1px solid var(--border); padding: 0 0 0 14px; background: var(--bg-subtle); }
.window__title { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.window__title img { width: 14px; height: 14px; border-radius: 3px; }
.window__ctrl { margin-left: auto; display: flex; }
.window__ctrl i { width: 44px; height: 36px; display: grid; place-items: center; color: var(--text-faint); }
.window__body { display: grid; grid-template-columns: 196px 1fr 1fr; min-height: 420px; }
.m-side { border-right: 1px solid var(--border); padding: 12px 8px; background: var(--bg-subtle); }
.m-search { display: flex; align-items: center; gap: 8px; height: 30px; border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; color: var(--text-faint); background: var(--panel); margin-bottom: 12px; font-size: 12px; }
.m-search kbd { margin-left: auto; font-size: 11px; border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; }
.m-nav li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--text-muted); }
.m-nav li.on { background: var(--row-hover); color: var(--text); font-weight: 500; }
.m-nav li b { margin-left: auto; font-weight: 500; font-size: 11px; color: var(--text-faint); }
.m-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); padding: 16px 8px 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.m-note { border-right: 1px solid var(--border); padding: 20px 22px; display: flex; flex-direction: column; }
.m-note__meta { font-size: 12px; color: var(--text-faint); display: flex; gap: 8px; align-items: center; }
.m-note h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin: 10px 0 12px; }
.m-note p { font-size: 14px; line-height: 1.65; color: var(--text); }
.m-note p mark { background: var(--accent-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
.m-note__foot { margin-top: auto; padding-top: 20px; display: flex; gap: 8px; align-items: center; }
.m-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 500; background: var(--accent); color: var(--accent-contrast); }
.m-hint { font-size: 12px; color: var(--text-faint); }
.m-tasks { padding: 20px 22px; }
.m-tasks__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.m-tasks__head h4 { font-size: 13px; font-weight: 600; }
.m-tasks__head span { font-size: 12px; color: var(--text-faint); }
.m-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 14px 0 4px; }
.m-task { display: flex; align-items: flex-start; gap: 10px; padding: 9px 8px; border-radius: 6px; margin: 0 -8px; }
.m-task.new { background: var(--accent-soft); }
.m-check { width: 15px; height: 15px; border: 1.5px solid var(--border-strong); border-radius: 50%; flex: none; margin-top: 2px; }
.m-task.done .m-check { background: var(--success); border-color: var(--success); display: grid; place-items: center; }
.m-task.done .m-task__t { color: var(--text-faint); text-decoration: line-through; }
.m-task__t { font-size: 13px; }
.m-task__s { font-size: 12px; color: var(--text-muted); display: flex; gap: 6px; align-items: center; margin-top: 1px; }
.m-chip { font-size: 11px; padding: 0 6px; border-radius: 4px; background: var(--row-hover); color: var(--text-muted); }
.m-chip--accent { background: var(--accent-soft); color: var(--accent); }
.m-toast {
  position: absolute; right: -18px; bottom: 36px; width: 300px;
  background: var(--panel); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: var(--shadow);
  padding: 12px 14px; display: flex; gap: 12px; font-size: 13px; line-height: 1.4; text-align: left;
}
.m-toast img { width: 32px; height: 32px; border-radius: 7px; }
.m-toast small { color: var(--text-faint); font-size: 11px; }
.m-toast p { color: var(--text-muted); font-size: 12px; }
@media (max-width: 960px) {
  .window__body { grid-template-columns: 1fr 1fr; }
  .m-side { display: none; }
  .m-toast { display: none; }
}
@media (max-width: 640px) {
  .shot { margin-top: 44px; }
  .window__body { grid-template-columns: 1fr; min-height: 0; }
  .m-note { border-right: 0; border-bottom: 1px solid var(--border); }
  .m-note__foot { padding-top: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0 0; }
.section--last { padding-bottom: 120px; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker, .section__head .kicker, .page-head .kicker { font-size: 13px; margin-top: 0; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.028em; font-weight: 650; }
.section__head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }
@media (max-width: 640px) { .section { padding-top: 80px; } .section--last { padding-bottom: 80px; } }

.facts-wrap { margin-top: 72px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 24px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-size: 15px; font-weight: 600; }
.fact span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; }
  .fact + .fact { border-top: 1px solid var(--border); }
}

/* Flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: stretch; }
.flow__arrow { display: grid; place-items: center; color: var(--text-faint); }
.card { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); padding: 22px; }
.card__step { font-family: var(--mono); font-size: 12px; color: var(--text-faint); margin-bottom: 14px; display: flex; justify-content: space-between; }
.card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.card > p { font-size: 14px; color: var(--text-muted); }
.card__demo { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; font-size: 14px; }
.quote { font-size: 14px; line-height: 1.6; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.kv dt { color: var(--text-muted); }
.kv dd { margin: 0; font-family: var(--mono); font-size: 12.5px; text-align: right; overflow-wrap: anywhere; }
.kv dd.hl { color: var(--accent); }
.mini-task { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.mini-task + .mini-task { border-top: 1px solid var(--border); }
.mini-task div { font-size: 13.5px; }
.mini-task small { display: block; font-size: 12px; color: var(--text-muted); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { transform: rotate(90deg); height: 12px; }
}

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.feature { padding: 28px; background: var(--panel); }
.feature__icon { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; color: var(--text); margin-bottom: 18px; background: var(--bg-subtle); }
.feature h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.005em; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.feature kbd { border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-size: 12px; color: var(--text); background: var(--bg-subtle); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } .feature { padding: 22px; } }

/* Split (Sicherheit) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .section__head { margin-bottom: 0; }
.checklist li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.checklist li:last-child { border-bottom: 1px solid var(--border); }
.checklist svg { flex: none; margin-top: 3px; color: var(--success); }
.checklist strong { display: block; font-size: 15px; font-weight: 600; }
.checklist span { font-size: 14px; color: var(--text-muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Shortcuts */
.keys { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--panel); }
.keys li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; font-size: 14px; }
.keys li + li { border-top: 1px solid var(--border); }
.keys span { color: var(--text-muted); }
.combo { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.combo kbd { min-width: 24px; text-align: center; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-size: 12px; background: var(--bg-subtle); color: var(--text); }

/* Install */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-muted); }
.step em { font-style: normal; color: var(--text); font-weight: 500; }
.note { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--bg-subtle); border: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.note svg { flex: none; margin-top: 3px; color: var(--warning); }
.note strong { color: var(--text); font-weight: 600; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.roadmap li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; }
.roadmap li::before { content: ''; width: 14px; height: 14px; border: 1.5px dashed var(--text-faint); border-radius: 50%; flex: none; }
@media (max-width: 640px) { .roadmap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; color: var(--text-muted); font-size: 15px; max-width: 72ch; }
.faq a, .prose a { color: var(--accent); }
.faq a:hover, .prose a:hover { text-decoration: underline; }

/* CTA */
.cta { border: 1px solid var(--border); border-radius: 16px; padding: 64px 32px; text-align: center; background: var(--bg-subtle); }
.cta img { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 14px; }
.cta h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.028em; line-height: 1.12; font-weight: 650; }
.cta p { color: var(--text-muted); margin: 12px auto 0; max-width: 48ch; }
@media (max-width: 640px) { .cta { padding: 44px 20px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: 14px; color: var(--text-muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }
.footer small { display: block; margin-top: 6px; color: var(--text-faint); font-size: 13px; }

/* ---------- Versionen ---------- */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--border); }
.page-head h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.035em; line-height: 1.06; font-weight: 650; }
.page-head p { color: var(--text-muted); font-size: 17px; margin-top: 12px; max-width: 60ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rel-layout { display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding-top: 48px; padding-bottom: 120px; }
.toc { position: sticky; top: 84px; align-self: start; font-size: 14px; }
.toc__label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin-bottom: 10px; }
.toc a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 10px; margin: 0 -10px; border-radius: 6px; color: var(--text-muted); }
.toc a:hover { background: var(--row-hover); color: var(--text); }
.toc a small { color: var(--text-faint); font-size: 12px; }
.toc a.is-active { color: var(--text); background: var(--row-hover); }
@media (max-width: 860px) { .rel-layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 80px; } .toc { display: none; } }

.release { display: grid; grid-template-columns: 1fr; padding: 40px 0; border-top: 1px solid var(--border); scroll-margin-top: 72px; }
.release:first-child { border-top: 0; padding-top: 0; }
.release__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.release__head h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.02em; font-weight: 650; }
.release__head h2 a:hover { color: var(--accent); }
.release__date { color: var(--text-muted); font-size: 14px; }
.badge { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 9px; line-height: 20px; }
.badge--latest { background: var(--success-soft); color: var(--success); }
.badge--pre { background: var(--warning-soft); color: var(--warning); }
.badge--muted { background: var(--row-hover); color: var(--text-muted); }

.asset { margin-top: 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 16px; }
.asset__icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-subtle); border: 1px solid var(--border); display: grid; place-items: center; flex: none; color: var(--text-muted); }
.asset__main { min-width: 0; flex: 1; }
.asset__name { font-size: 14px; font-weight: 500; font-family: var(--mono); overflow-wrap: anywhere; }
.asset__meta { font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; align-items: center; }
.hash { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); background: none; border: 0; padding: 0; cursor: pointer; }
.hash:hover { color: var(--text); }
.hash.copied { color: var(--success); }
.asset--none { color: var(--text-muted); font-size: 14px; }
@media (max-width: 560px) { .asset { flex-wrap: wrap; } .asset .btn { width: 100%; } }

.changes { margin-top: 24px; display: grid; gap: 20px; }
.changes h3 { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.changes h3::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); }
.changes h3[data-kind='added']::before { background: var(--success); }
.changes h3[data-kind='fixed']::before { background: var(--warning); }
.changes h3[data-kind='changed']::before { background: var(--accent); }
.changes h3[data-kind='security']::before { background: #c8372d; }
.changes li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.changes li + li { margin-top: 6px; }
.changes li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 1.5px; background: var(--border-strong); }
.changes strong { color: var(--text); font-weight: 600; }
.changes code { background: var(--row-hover); border-radius: 4px; padding: 1px 5px; color: var(--text); }
.release__links { margin-top: 20px; font-size: 14px; display: flex; gap: 20px; }
.release__links a { color: var(--text-muted); }
.release__links a:hover { color: var(--accent); }

.empty { padding: 48px; text-align: center; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--text-muted); }

/* Redirect-Seite */
.center-page { min-height: calc(100vh - 60px); display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.center-page img { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 24px; }
.center-page h1 { font-family: var(--font-display); font-size: 32px; letter-spacing: -0.025em; font-weight: 650; }
.center-page p { color: var(--text-muted); margin-top: 10px; }
.center-page .btn { margin-top: 28px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* Benachrichtigung bei neuen Versionen */
.subscribe { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.subscribe h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.subscribe > p { font-size: 15px; color: var(--text-muted); max-width: 62ch; }
.subscribe__ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.subscribe__way { padding: 18px 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-subtle); }
.subscribe__way h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.subscribe__way p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.subscribe__foot { margin-top: 20px; font-size: 13px; color: var(--text-faint); }
.subscribe__foot code { font-family: var(--mono); font-size: 12px; word-break: break-all; }
@media (max-width: 720px) { .subscribe__ways { grid-template-columns: 1fr; } }

/* Vollstaendige Pruefsumme im Hinweiskasten: darf umbrechen statt auszubrechen. */
.note .hash { max-width: 100%; align-items: flex-start; }
.note .hash span { overflow-wrap: anywhere; text-align: left; }
.note code { overflow-wrap: anywhere; }
