/* converter.ugur.at – Theme „Neon & Glas“ (Cyan/Magenta), hell und dunkel.
   Farben aus src/styles/tokens.css der App, Aufbau (Kopfzeile, Hero, Abschnitte mit
   section-alt, Abschluss-CTA, Fußzeile) wie ai.ugur.at. Nur Systemschriften, keine
   externen Quellen. Hell ist die Grundlage; Dunkel über data-theme="dark" am <html>
   (gesetzt von theme.js), ohne JavaScript über prefers-color-scheme. */

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-alt: #eaf0f7;
  --card: #ffffff;
  --card-2: #f8fafc;
  --line: rgba(15, 23, 42, 0.12);
  --line-strong: rgba(15, 23, 42, 0.24);
  --primary: #0b6680;
  --primary-h: #155e75;
  --accent-2: #a21caf;
  --on-primary: #ffffff;
  --text: #0f172a;
  --muted: #4b5568;
  --success: #15803d;
  --error: #b91c1c;
  --warn: #b45309;
  --grad: linear-gradient(100deg, #0e7490, #a21caf);
  --grad-text: linear-gradient(100deg, #0e7490, #a21caf);
  --glow: rgba(14, 116, 144, 0.22);
  --glow-2: rgba(162, 28, 175, 0.14);
  --accent-soft: rgba(11, 102, 128, 0.08);
  --magenta-soft: rgba(162, 28, 175, 0.08);
  --hover-veil: rgba(15, 23, 42, 0.05);
  --bar: rgba(244, 247, 251, 0.82);
  --glass: rgba(255, 255, 255, 0.78);
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.35);
  --btn-light-bg: #0f172a;
  --btn-light-fg: #ffffff;
  --btn-light-hover: #1e293b;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --r-card: 16px;
  --r-tile: 10px;
  --r-field: 7px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05060a;
  --bg-alt: #0a0c14;
  --card: #0e111c;
  --card-2: #121626;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --primary: #22d3ee;
  --primary-h: #67e8f9;
  --accent-2: #e879f9;
  --on-primary: #05060a;
  --text: #f1f5f9;
  --muted: #a3aec2;
  --success: #4ade80;
  --error: #f87171;
  --warn: #fbbf24;
  --grad: linear-gradient(100deg, #22d3ee, #e879f9);
  --grad-text: linear-gradient(100deg, #22d3ee, #e879f9);
  --glow: rgba(34, 211, 238, 0.28);
  --glow-2: rgba(232, 121, 249, 0.18);
  --accent-soft: rgba(34, 211, 238, 0.1);
  --magenta-soft: rgba(232, 121, 249, 0.1);
  --hover-veil: rgba(255, 255, 255, 0.06);
  --bar: rgba(5, 6, 10, 0.76);
  --glass: rgba(14, 17, 28, 0.72);
  --code-bg: #0a0d16;
  --code-text: #e2e8f0;
  --shadow: 0 18px 50px -14px rgba(0, 0, 0, 0.8);
  --btn-light-bg: #ffffff;
  --btn-light-fg: #05060a;
  --btn-light-hover: #e2e8f0;
}

/* Rückfall ohne JavaScript (theme.js setzt sonst immer data-theme). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #05060a;
    --bg-alt: #0a0c14;
    --card: #0e111c;
    --card-2: #121626;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.24);
    --primary: #22d3ee;
    --primary-h: #67e8f9;
    --accent-2: #e879f9;
    --on-primary: #05060a;
    --text: #f1f5f9;
    --muted: #a3aec2;
    --success: #4ade80;
    --error: #f87171;
    --warn: #fbbf24;
    --grad: linear-gradient(100deg, #22d3ee, #e879f9);
    --grad-text: linear-gradient(100deg, #22d3ee, #e879f9);
    --glow: rgba(34, 211, 238, 0.28);
    --glow-2: rgba(232, 121, 249, 0.18);
    --accent-soft: rgba(34, 211, 238, 0.1);
    --magenta-soft: rgba(232, 121, 249, 0.1);
    --hover-veil: rgba(255, 255, 255, 0.06);
    --bar: rgba(5, 6, 10, 0.76);
    --glass: rgba(14, 17, 28, 0.72);
    --code-bg: #0a0d16;
    --shadow: 0 18px 50px -14px rgba(0, 0, 0, 0.8);
    --btn-light-bg: #ffffff;
    --btn-light-fg: #05060a;
    --btn-light-hover: #e2e8f0;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { 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 var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
a.link, .prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a.link:hover, .prose a:hover { color: var(--primary-h); }
code, pre, kbd { font-family: var(--mono); }
code { font-size: 0.92em; padding: 0.1em 0.35em; border-radius: 5px; background: var(--accent-soft); }
pre code { padding: 0; background: none; }
img, svg { display: block; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--glow); }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 10px; background: var(--card); color: var(--text);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bar);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; border-radius: 10px; }
.logo-icon { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 6px 18px -8px var(--glow); }
.logo-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 5px; }
.logo .u-brand { font-size: 19px; line-height: 1.25; }
.logo-domain { font: 500 11px/1 var(--font); letter-spacing: 0.01em; color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: auto; min-width: 0; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--hover-veil); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { background: var(--hover-veil); border-color: var(--line-strong); }
.icon-btn .i { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.menu-btn { display: none; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--font); white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s, filter .15s;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-light { background: var(--btn-light-bg); color: var(--btn-light-fg); }
.btn-light:hover { background: var(--btn-light-hover); }
.btn-grad { background: var(--grad); color: var(--on-primary); box-shadow: 0 10px 30px -12px var(--glow); }
.btn-grad:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--hover-veil); border-color: var(--text); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 96px 0 88px;
  background:
    radial-gradient(ellipse 55% 45% at 30% 20%, var(--glow) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 75% 30%, var(--glow-2) 0%, transparent 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.hero-sm { padding: 72px 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.display { margin: 22px auto 0; max-width: 20ch; font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.hero-sm .display { font-size: clamp(2rem, 5vw, 3.4rem); }
.lead { margin: 22px auto 0; max-width: 60ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 16px; margin-top: 36px; }
.hero-meta { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 1.6em; }

/* ---------- Vorschau der App (gestaltete Andeutung, kein Bildschirmfoto) ---------- */
.preview { max-width: 980px; margin: 56px auto 0; text-align: left; }
.preview figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.app-window {
  border-radius: var(--r-card); overflow: hidden;
  background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.app-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--card-2); position: relative; }
.app-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, transparent, #22d3ee 30%, #e879f9 70%, transparent); }
.app-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; }
.app-title { font-weight: 600; }
.app-title small { color: var(--muted); font-weight: 400; margin-left: 4px; font-family: var(--mono); font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); background: var(--card); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.spacer { flex: 1; }
.app-body { display: grid; grid-template-columns: 230px 1fr; min-height: 300px; }
.app-side { padding: 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--card-2); }
.app-side h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.preset { padding: 8px 10px; border-radius: var(--r-field); border: 1px solid var(--line); font-size: 13.5px; background: var(--card); }
.preset.on { border-color: var(--primary); background: var(--accent-soft); font-weight: 600; }
.app-side .fake-btn { margin-top: auto; text-align: center; padding: 9px; border-radius: 999px; background: var(--grad); color: var(--on-primary); font-weight: 600; font-size: 13.5px; }
.app-main { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.drop { padding: 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-tile); text-align: center; color: var(--muted); font-size: 13.5px; }
.job { padding: 12px 14px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--card); display: grid; gap: 6px; }
.job-head { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.job-head b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-meta { font: 12px/1.4 var(--mono); color: var(--muted); }
.tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--accent-soft); color: var(--primary); }
.tag.ok { background: rgba(21, 128, 61, .12); color: var(--success); }
.tag.wait { background: var(--hover-veil); color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--hover-veil); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); }

/* ---------- Abschnitte ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.kicker { color: var(--primary); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.kicker.m { color: var(--accent-2); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
/* Symbol und Überschrift in einer Zeile, Text darunter über die volle Breite */
.feature { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-content: start; padding: 26px 24px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.feature > :not(.ico):not(h3) { grid-column: 1 / -1; }
.feature .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); }
.feature:nth-child(even) .ico { background: var(--magenta-soft); color: var(--accent-2); }
.feature h3 { align-self: center; font-size: 17.5px; font-weight: 650; }
.feature p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.feature ul { margin-top: 14px; padding-left: 1.1em; color: var(--muted); font-size: 14.5px; }
.feature li + li { margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.step .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: var(--on-primary); }
.step .label { position: absolute; top: 28px; right: 24px; font: 600 13px var(--mono); color: var(--muted); }
.step h3 { margin-top: 20px; font-size: 18px; font-weight: 650; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split h2 { margin-top: 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
.split .prose { margin-top: 16px; color: var(--muted); font-size: 16.5px; display: grid; gap: 12px; }
.split .prose b { color: var(--text); }
.chain { display: grid; gap: 10px; }
.chain-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-tile); border: 1px solid var(--line); background: var(--card); }
.chain-item .rank { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--primary); font: 700 13px var(--mono); flex: none; }
.chain-item b { font-weight: 650; }
.chain-item small { display: block; color: var(--muted); font-size: 13.5px; }
.chain-item code { margin-left: auto; font-size: 12.5px; white-space: nowrap; }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checklist .i { width: 22px; height: 22px; color: var(--success); margin-top: 1px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reason { padding: 22px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.reason .i { color: var(--primary); width: 26px; height: 26px; }
.reason b { display: block; margin-top: 14px; font-weight: 650; }
.reason small { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.platform { padding: 28px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.platform-head { display: flex; align-items: center; gap: 14px; }
.os-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--primary); flex: none; }
.os-ico.m { background: var(--magenta-soft); color: var(--accent-2); }
.platform h3 { font-size: 20px; font-weight: 700; }
.platform-head p { color: var(--muted); font-size: 14px; }
.platform .checklist { color: var(--muted); font-size: 15px; }
.platform .btn { align-self: flex-start; margin-top: auto; }

.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 32px; border-radius: 28px;
  background: radial-gradient(ellipse 70% 120% at 50% 0%, var(--glow), transparent 70%), var(--card);
  border: 1px solid var(--line-strong);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
.cta-band p { margin: 12px auto 0; max-width: 56ch; color: var(--muted); font-size: 17px; }
.cta-band .hero-actions { margin-top: 30px; }

/* ---------- Download-Seite ---------- */
.dl-status { margin-top: 18px; font-size: 15px; color: var(--muted); min-height: 1.6em; }
.dl-status.is-empty { display: inline-block; padding: 10px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--text); background: var(--glass); }
.notes { max-width: 720px; margin: 22px auto 0; padding: 18px 22px; text-align: left; border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--line); }
.notes h2 { font-size: 15px; font-weight: 650; }
.notes p { margin-top: 6px; color: var(--muted); white-space: pre-line; }
.recommend { max-width: 720px; margin: 26px auto 0; }
.recommend[hidden] { display: none; }
.pkg-group + .pkg-group { margin-top: 44px; }
.pkg-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.pkg-head h2 { font-size: 24px; font-weight: 700; }
.pkg-head p { margin-top: 4px; color: var(--muted); font-size: 15px; max-width: 75ch; }
.files { display: grid; gap: 12px; }
.file {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line);
}
.file.is-recommended { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset, 0 14px 40px -24px var(--glow); }
.file h3 { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.file-kind { margin-top: 3px; color: var(--muted); font-size: 14px; }
.file-hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.file-hint.warn { color: var(--warn); }
.badge { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font: 600 11.5px/1.6 var(--font); vertical-align: 2px; background: var(--accent-soft); color: var(--primary); }
.badge.warn { background: rgba(180, 83, 9, .12); color: var(--warn); }
.file-sha { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.file-sha span { color: var(--muted); font-weight: 600; }
.file-sha code { overflow-wrap: anywhere; word-break: break-all; font-size: 12.5px; flex: 1 1 320px; }
.empty { padding: 18px 20px; border-radius: var(--r-card); border: 1px dashed var(--line-strong); color: var(--muted); background: var(--card); }
.copy {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 600 13px var(--font); cursor: pointer;
}
.copy:hover { background: var(--hover-veil); }
.copy.done { color: var(--success); border-color: var(--success); }

.term { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong); background: var(--card); }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--card-2); flex-wrap: wrap; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.tabs [role="tab"] { padding: 7px 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.tabs [role="tab"]:hover { color: var(--text); background: var(--hover-veil); }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); background: var(--accent-soft); border-color: var(--line); }
.term-bar .copy { margin-left: auto; }
.panel { padding: 18px 20px; display: grid; gap: 12px; color: var(--muted); }
.panel b { color: var(--text); }
.panel pre { margin: 0; padding: 14px 16px; border-radius: var(--r-tile); background: var(--code-bg); color: var(--code-text); overflow-x: auto; font-size: 14px; line-height: 1.55; }
.panel pre .k { color: #67e8f9; }
.panel ol, .panel ul { padding-left: 1.3em; display: grid; gap: 6px; }
.note { margin-top: 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found .code-big { font: 700 clamp(4rem, 12vw, 7rem)/1 var(--font); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found h1 { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.not-found p { margin-top: 10px; color: var(--muted); }

/* ---------- Fußzeile (wie ai.ugur.at) ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.site-footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .reasons { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .js .menu-btn { display: inline-grid; margin-left: auto; }
  .js .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; padding: 10px 16px 16px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .js .site-header.nav-open .nav-links { display: flex; }
  .js .header-actions { margin-left: 0; }
  .header-actions .btn { display: none; }
  .steps, .platforms { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app-side .fake-btn { display: none; }
}
@media (max-width: 860px) {
  html:not(.js) .site-header .container { height: auto; flex-wrap: wrap; padding: 10px 0; }
  html:not(.js) .nav-links { flex-wrap: wrap; margin-left: 0; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 64px; }
  .file { grid-template-columns: 1fr; }
  .file .btn { justify-self: start; }
  .logo-domain { display: none; }
  .chain-item code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .btn, .copy, .icon-btn, .file, .feature, .step, .reason, .platform { border: 1px solid CanvasText; }
}
