/* claude-session – Website
   Minimal, hell und dunkel, Systemschriften. Ein Akzent (Rosa) und ein Signal (Mint).
   3D nur mit CSS, ohne Bibliotheken. */
:root {
  --paper: #f5f6f3;
  --band: #eceee9;
  --ink: #1b211e;
  --muted: #5a645e;
  --faint: #8a938d;
  --rule: #dde1dc;
  --accent: #9a2d68;
  --accent-soft: #f7e3ee;
  --glow-a: #ff87d7;
  --glow-b: #4cc38a;
  --ok: #1f7a4d;
  --code-bg: #e7eae5;
  --card: #ffffff;
  --glass: rgb(255 255 255 / .84);
  --glass-line: rgb(255 255 255 / .8);
  --term: #1c1c1f;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --measure: 40rem;
  --wide: 84rem;
  --pad: clamp(1.25rem, 4vw, 4rem);
  color-scheme: dark;
}
/* immer dunkel */ :root {
    --paper: #121513; --band: #171a18; --ink: #e8ebe7; --muted: #9aa39d; --faint: #6d7670; --rule: #262b28;
    --accent: #ef9bc9; --accent-soft: #3a2331; --ok: #4cc38a; --code-bg: #1f2421; --card: #1b1f1c;
    --glass: rgb(30 35 32 / .82); --glass-line: rgb(255 255 255 / .12); --term: #0d0e0f;
  }


/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, pre { font-family: var(--mono); font-size: .9em; }
:not(pre) > code { background: var(--code-bg); padding: .1em .35em; border-radius: 5px; white-space: nowrap; }
p { margin: 0 0 1rem; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--paper); padding: .5rem .8rem; border-radius: 6px; z-index: 100; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typo ---------- */
h1 { font-size: clamp(2.6rem, 1rem + 5.6vw, 5.75rem); line-height: .98; letter-spacing: -.045em; font-weight: 640; margin: 0 0 1.5rem; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1rem + 3vw, 3.75rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 640; margin: 0 0 1rem; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .35rem; }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; color: var(--muted); margin: 0 0 2.25rem; max-width: 31rem; }
.section-lede { color: var(--muted); font-size: 1.125rem; margin: 0 0 2rem; max-width: 30rem; }
.meta { margin: 1.5rem 0 0; font-size: .875rem; color: var(--faint); }

/* ---------- Kopfzeile ---------- */
.site-head-bar { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-head-bar.is-scrolled { background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--rule); }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 600 .975rem/1 var(--mono); text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 22px; height: 22px; }
.site-head nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.site-head nav a { text-decoration: none; color: var(--muted); }
.site-head nav a:hover { color: var(--ink); }

/* ---------- Knöpfe ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; padding: .85rem 1.4rem; border-radius: 999px; transition: box-shadow .3s, background .2s; }
.button:hover { color: var(--paper); background: color-mix(in srgb, var(--ink) 86%, var(--accent)); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--glow-a) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--glow-a) 35%, transparent); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: color-mix(in srgb, var(--paper) 88%, var(--glow-a)); color: var(--ink); }
.textlink { font-weight: 500; }

/* ---------- Einstieg mit 3D-Bühne ---------- */
.hero { overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 2rem; min-height: min(calc(100vh - 70px), 920px); padding-block: 6.5rem 3rem; }
.hero-text { position: relative; z-index: 2; }
.hero h1 { max-width: 10ch; }
.stage { position: relative; height: 640px; perspective: 2000px; perspective-origin: 30% 30%; }
.stage-note { grid-column: 2; justify-self: end; margin: 2.5rem 0 0; font-size: .8125rem; color: var(--faint); }
.grid-floor { position: absolute; left: -30%; right: -40%; bottom: -26%; height: 70%; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1px),
                    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(700px) rotateX(68deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(60% 75% at 50% 100%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 75% at 50% 100%, #000 30%, transparent 75%); }
.scene { --rx: 0deg; --ry: 0deg; position: absolute; z-index: 1; left: 6%; top: 50%; width: 780px; margin-top: -300px; transform-style: preserve-3d;
  transform: scale(var(--s, 1)) rotateX(calc(12deg + var(--rx))) rotateY(calc(-20deg + var(--ry))) rotateZ(1deg); transform-origin: 0 50%; }
.scene .terminal { width: 100%; }
.scene .terminal pre { font-size: 12.4px; }
.floor { position: absolute; inset: 8% 4% -4%; background: radial-gradient(closest-side, rgb(20 30 25 / .22), transparent); transform: translateZ(-60px); filter: blur(18px); }

/* Terminal */
.terminal { margin: 0 auto; width: fit-content; max-width: 100%; background: var(--term); border-radius: 14px; overflow: hidden; text-align: left;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 40px 80px -30px rgb(20 30 25 / .5), 0 0 80px -30px color-mix(in srgb, var(--glow-a) 55%, transparent); }
.terminal-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; border-bottom: 1px solid #2a2a2e; }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3f; }
.terminal-bar p { margin: 0 auto; padding-right: 3rem; font: .75rem/1 var(--sans); color: #8a8a8e; }
.terminal pre { margin: 0; padding: 1.1rem 1.25rem 1.4rem; overflow-x: auto; color: #d0d0d0; font-size: 13px; line-height: 1.2; font-variant-ligatures: none; }
.t .b { color: #585858; } .t .acc { color: #ff87d7; } .t .info { color: #5fafff; } .t .dim { color: #8a8a8a; }
.t .hi { color: #e4e4e4; } .t .off { color: #444; } .t .bold { font-weight: 700; } .t .it { font-style: italic; } .t .pill { background: #3a3a3a; }
.cursor { display: inline-block; width: .55em; height: 1.05em; margin-left: .25em; vertical-align: -.15em; background: #ff87d7; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-title { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }

/* So funktioniert's: Stapel fächert sich beim Scrollen auf */
.layers { position: relative; height: 330vh; }
.layers-inner { position: sticky; top: 0; height: 100vh; min-height: 560px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 3rem; padding-top: 5.5rem; }
.steps-3d { list-style: none; margin: 0; padding: 0; }
.steps-3d li { padding: .7rem 0 .7rem 1.25rem; border-left: 1px solid var(--rule); color: var(--faint); transition: color .3s, border-color .3s; }
.steps-3d li h3 { color: inherit; margin: 0 0 .1rem; transition: color .3s; }
.steps-3d li p { margin: 0; font-size: .95rem; }
.steps-3d li.is-active { border-color: var(--accent); color: var(--ink); }
.steps-3d li.is-active p { color: var(--muted); }
.stack-stage { position: relative; height: min(86vh, 760px); perspective: 2400px; }
.stack { --p: 0; --gap: 62px; position: absolute; left: 50%; top: 64%; width: 340px; height: 230px; margin: -115px 0 0 -170px; transform-style: preserve-3d; transform: scale(var(--s2, 1)) rotateX(58deg) rotateZ(-36deg); }
.plate { --i: 0; position: absolute; inset: 0; border-radius: 18px; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--rule); overflow: hidden; font-size: .8rem; line-height: 1.35;
  transform: translateZ(calc(var(--i) * (14px + var(--p) * var(--gap)) + var(--lift, 0px)));
  box-shadow: 0 30px 50px -30px rgb(20 30 25 / .45); transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s; }
.plate > * { transition: opacity .3s; }
.plate.is-dim > * { opacity: .35; }
.plate.is-above { --lift: 95px; }
.plate.is-active { --lift: 18px; border-color: var(--accent); box-shadow: 0 40px 60px -30px rgb(154 45 104 / .45), 0 0 0 1px color-mix(in srgb, var(--glow-a) 50%, transparent), 0 0 50px -10px color-mix(in srgb, var(--glow-a) 45%, transparent); }
.plate .ptitle { display: flex; align-items: center; justify-content: space-between; font: 600 .95rem/1.2 var(--sans); margin-bottom: .7rem; }
.plate .ptag { font: 500 .7rem/1 var(--mono); color: var(--accent); background: var(--accent-soft); padding: .3rem .45rem; border-radius: 5px; }
.plate.p-claude { background: var(--term); color: #d0d0d0; border-color: #2a2a2e; }
.plate.p-claude .ptag { background: #3a2331; color: #ff87d7; }
.p-claude pre { margin: 0; font-size: .74rem; line-height: 1.5; white-space: pre-wrap; }
.p-claude .acc { color: #ff87d7; } .p-claude .ok { color: #5fd787; } .p-claude .dim { color: #8a8a8a; }
.tabs, .chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.tab { border: 1px solid var(--rule); border-radius: 8px; padding: .45rem .6rem; color: var(--muted); }
.tab.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.chip { font: 500 .78rem/1 var(--mono); background: var(--accent-soft); color: var(--accent); padding: .4rem .55rem; border-radius: 6px; }
.files { margin: 0; padding: 0; list-style: none; color: var(--muted); font-family: var(--mono); font-size: .74rem; }
.check { margin: 0; padding: 0; list-style: none; }
.check li { display: flex; gap: .5rem; align-items: center; padding-block: .18rem; }
.check li::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--ok); background: color-mix(in srgb, var(--ok) 18%, transparent); flex: none; }

/* Aussagen: ohne Kästen, nur eine Lichtlinie */
.stmts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 4rem); }
.stmt { position: relative; padding-top: 1.4rem; }
.stmt::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.stmt::after { content: ""; position: absolute; left: 0; top: -.5px; width: 2.5rem; height: 2px; background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); }
.stmt h3 { font-size: 1.25rem; }
.stmt p { color: var(--muted); margin: 0; max-width: 24rem; }

/* ---------- Download ---------- */
.cta { background: var(--ink); color: var(--paper); }
/* immer dunkel */ .cta { background: #0b0d0c; color: var(--ink); }

.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 3rem clamp(2rem, 6vw, 7rem); align-items: center; }
.cta h2 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.75rem); margin: 0 0 1.75rem; }
.counter { margin: 0 0 2.5rem; display: grid; gap: .3rem; }
.counter-num { font-size: clamp(4rem, 2rem + 8vw, 9.5rem); line-height: .9; font-weight: 700; letter-spacing: -.055em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, currentColor 30%, color-mix(in srgb, currentColor 55%, var(--glow-a))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter { color: var(--paper); }
/* immer dunkel */ .counter { color: var(--ink); }

.counter-label { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: 1.0625rem; opacity: .7; }
.mini-steps { counter-reset: m; list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.mini-steps li { counter-increment: m; display: flex; align-items: center; gap: .9rem; font-size: 1.0625rem; }
.mini-steps li::before { content: counter(m); font: 600 .8rem/1 var(--mono); width: 1.6rem; height: 1.6rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.cta :not(pre) > code { background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; }
.cta-small { font-size: .9375rem; opacity: .7; margin: 0; }
.cta a:not(.button) { color: inherit; }
.cta :focus-visible { outline-color: currentColor; }

.dl { --dl-bg: color-mix(in srgb, var(--paper) 7%, var(--ink)); --dl-line: color-mix(in srgb, var(--paper) 14%, var(--ink)); --dl-muted: color-mix(in srgb, var(--paper) 62%, var(--ink));
  position: relative; isolation: isolate; background: var(--dl-bg); border: 1px solid var(--dl-line); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.1rem); color: var(--paper); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
/* immer dunkel */ .dl { --dl-bg: #161917; --dl-line: #2a302c; --dl-muted: #9aa39d; color: var(--ink); }

@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.dl::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0 62%, var(--glow-a) 75%, var(--glow-b) 86%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.dl-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.dl-head img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--dl-line); }
.dl-name { margin: 0; font-weight: 650; font-size: 1.25rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.dl-ver { font: 600 .8rem/1 var(--mono); background: #3a2331; color: #ff9fd6; padding: .35rem .5rem; border-radius: 6px; }
.dl-sub { margin: .25rem 0 0; color: var(--dl-muted); font-size: .9375rem; }
.dl-live { display: inline-flex; align-items: center; gap: .45rem; }
.dl-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-muted, currentColor); }
.dl-live.is-live::before, .counter .dl-live::before { background: #4cc38a; box-shadow: 0 0 0 3px rgb(76 195 138 / .2); }
.dl-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 1.5rem; border-top: 1px solid var(--dl-line); border-bottom: 1px solid var(--dl-line); }
.dl-facts > div { padding: .8rem 1rem .8rem 0; }
.dl-facts dt { font-size: .8125rem; color: var(--dl-muted); }
.dl-facts dd { margin: .1rem 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-button { width: 100%; font-size: 1.0625rem; padding: 1rem 1.25rem; }
.dl-button svg { width: 20px; height: 20px; }
/* immer dunkel */ .dl .button-light { background: var(--ink); color: #121513; }

.dl-buttons { display: grid; gap: .6rem; }
.dl-sums { margin: 1.1rem 0 0; }
.dl-sums .dl-small { margin-bottom: .4rem; }
.dl-sum { margin: 0 0 .35rem; font-size: .8rem; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .5rem; align-items: baseline; }
.dl-sum span { color: var(--dl-muted); }
.dl-sum code { overflow-wrap: anywhere; white-space: normal; font-size: .72rem; }
.dl-alt { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px var(--dl-line); font-size: .9375rem; padding: .8rem 1.1rem; }
.dl-alt:hover { color: inherit; background: color-mix(in srgb, currentColor 8%, transparent); }
.dl-buttons .is-primary { order: -1; }
.dl-wsl { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 12px; background: color-mix(in srgb, #4ca3ff 12%, var(--dl-bg)); border: 1px solid color-mix(in srgb, #4ca3ff 35%, var(--dl-bg)); font-size: .9rem; }
.dl-wsl p { margin: 0 0 .5rem; }
.dl-wsl ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.dl-wsl code { white-space: normal; overflow-wrap: anywhere; }
.dl-platform { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 12px; background: color-mix(in srgb, #ffaf00 14%, var(--dl-bg)); border: 1px solid color-mix(in srgb, #ffaf00 35%, var(--dl-bg)); font-size: .9375rem; }
.dl-share, .linklike, .linkbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .22em; }
.dl-share { display: block; margin: .9rem auto 0; font-size: .9375rem; }
.dl-more { border-top: 1px solid var(--dl-line); border-bottom: 0; margin-top: 1.25rem; }
.dl-more summary::after { border-color: var(--dl-muted); }
.dl-more + .dl-more { margin-top: 0; }
.dl-more summary { font-size: .9375rem; padding-block: .9rem; }
.dl-more summary > span { flex: 1; }
.dl-more ul { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--dl-muted); font-size: .9375rem; }
.dl-small { display: inline-block; font-size: .875rem; color: var(--dl-muted); margin: 0 0 1rem; }
.dl code { background: color-mix(in srgb, currentColor 10%, var(--dl-bg)); color: inherit; }
.dl-hash { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.dl-hash code { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: normal !important; font-size: .78rem; padding: .5rem .6rem !important; border-radius: 6px; }
.dl .cmd pre { background: color-mix(in srgb, currentColor 10%, var(--dl-bg)); }
.dl-done-title { display: flex; align-items: center; gap: .7rem; font-size: 1.5rem; letter-spacing: -.015em; margin: 0; outline: none; }
.dl-check { width: 32px; height: 32px; border-radius: 50%; background: #4cc38a; position: relative; flex: none; }
.dl-check::after { content: ""; position: absolute; left: 11px; top: 8px; width: 7px; height: 13px; border: solid #0f2a1d; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.dl-steps { counter-reset: d; list-style: none; margin: 1.25rem 0; padding: 0; }
.dl-steps li { counter-increment: d; position: relative; padding: 0 0 1.1rem 2.6rem; }
.dl-steps li::before { content: counter(d); position: absolute; left: 0; top: -.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--dl-line); display: grid; place-items: center; font: 600 .85rem/1 var(--mono); }
.dl-steps code { white-space: normal; }

/* Kopieren */
.cmd { display: flex; align-items: center; gap: .5rem; margin-top: .6rem; }
.cmd pre { margin: 0; flex: 1; min-width: 0; overflow-x: auto; background: var(--code-bg); padding: .55rem .8rem; border-radius: 8px; }
.copy { font: 500 .8125rem/1 var(--sans); color: inherit; opacity: .75; background: none; cursor: pointer; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 8px; padding: .5rem .65rem; white-space: nowrap; }
.copy:hover { opacity: 1; }

/* ---------- Fragen ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 7rem); align-items: start; }
.split .side { position: sticky; top: 6rem; margin: 0; }
details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
summary { cursor: pointer; padding-block: 1.2rem; font-weight: 550; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg) translateY(-3px); transition: transform .25s; flex: none; }
details[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
details > p { color: var(--muted); margin: -.25rem 0 1.25rem; max-width: 40rem; }
.table-scroll { overflow-x: auto; margin-bottom: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem 1rem .6rem 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; font-size: .8125rem; color: var(--faint); }
td:first-child { white-space: nowrap; }
td code { background: none !important; padding: 0 !important; }


/* ---------- Unterseiten (Rechtliches, 404) ---------- */
.notfound { padding-block: 4.5rem 3rem; }
.legal { max-width: calc(var(--measure) + 2 * var(--pad)); padding-block: 3rem 2rem; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); max-width: none; }
.legal h2 { font-size: 1.6rem; margin-top: 3.5rem; }
.legal h3 { margin-top: 1.75rem; }
.legal p, .legal li { color: var(--muted); }
.checks { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .55rem; height: .3rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.todo { background: #fff3b0; color: #5c4400; padding: 0 .25em; border-radius: 3px; }

/* ---------- Lichtkante, die der Maus folgt ---------- */
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--glow-a) 85%, transparent), color-mix(in srgb, var(--glow-b) 40%, transparent) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s; }
.glow:hover::after { opacity: 1; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .scene { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { transform: scale(var(--s, 1)) rotateX(40deg) rotateY(-50deg) rotateZ(6deg) translateX(120px); opacity: 0; } }
  .cursor { animation: blink 1.1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .grid-floor { animation: floor 9s linear infinite; }
  @keyframes floor { to { background-position: 0 56px, 0 56px; } }
  .dl::before { animation: spin 7s linear infinite; }
  @keyframes spin { to { --spin: 360deg; } }
  .dl-panel:not([hidden]) { animation: dl-in .45s cubic-bezier(.2, .7, .2, 1); }
  @keyframes dl-in { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  .layers { height: auto; }
  .layers-inner { position: static; height: auto; padding-block: 4rem; }
  .stack { --p: 1 !important; }
  .plate { transition: none; }
  .steps-3d li { border-color: var(--accent); color: var(--ink); }
}

/* ---------- Breiten ---------- */
@media (max-width: 75rem) {
  .stmts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 2rem; }
  .hero-text { text-align: center; }
  .hero h1, .hero .lede { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .stage { perspective-origin: 50% 20%; overflow-x: clip; margin-inline: calc(50% - 50vw); }
  .scene { left: 50%; top: 30px; margin: 0 0 0 -390px; transform-origin: 50% 0; transform: scale(var(--s, 1)) rotateX(calc(20deg + var(--rx))) rotateY(var(--ry)) rotateZ(-2deg); }
  .stage-note { grid-column: 1; justify-self: center; margin-top: 1.5rem; }
  .grid-floor { bottom: -10%; height: 55%; }
  .split, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .split .side { position: static; }
  .layers { height: 320vh; }
  .layers-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: 52% auto; gap: 0; align-content: stretch; align-items: start; padding-block: 4.5rem 1.5rem; }
  .stack-stage { height: 100%; min-height: 0; order: -1; }
  .stack { --gap: 40px; top: 70%; }
  .plate.is-above { --lift: 80px; }
  .layers-head { text-align: center; }
  .layers-head .section-lede { display: none; }
  .steps-3d { min-height: 6rem; }
  .steps-3d li { display: none; border: 0; padding: 0; text-align: center; }
  .steps-3d li.is-active { display: block; }
}
@media (max-width: 62rem) and (prefers-reduced-motion: reduce) {
  .steps-3d li { display: block; text-align: left; padding: .7rem 0 .7rem 1rem; border-left: 1px solid var(--accent); }
}
@media (max-width: 48rem) {
  .stmts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .site-head nav .hide-sm { display: none; }
  .site-head nav ul { gap: 1.25rem; }
  .hero-text { text-align: left; }
  .hero h1, .hero .lede { margin-inline: 0; }
  .hero .actions { justify-content: flex-start; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody, tr, td { display: block; }
  tr { padding-block: .6rem; border-bottom: 1px solid var(--rule); }
  td { border: 0; padding: 0; }
  td:first-child { white-space: normal; overflow-wrap: anywhere; margin-bottom: .1rem; }
  td + td { color: var(--muted); }
}

/* =====================================================================
   Technik-Minimal: Haarlinien, Passermarken, Monospace für Daten
   ===================================================================== */
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: 0; }
.sep { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; margin: 0 .55rem; vertical-align: middle; }

/* Abschnitte mit Haarlinie und Passermarken an beiden Enden */
.ruled { position: relative; border-top: 1px solid var(--rule); }
.ruled::before, .ruled::after { content: "+"; position: absolute; top: 0; transform: translate(-50%, -54%); font: 300 1.1rem/1 var(--mono); color: var(--faint); background: var(--paper); padding: .1rem .2rem; pointer-events: none; }
.ruled::before { left: calc(max(0px, (100% - var(--wide)) / 2) + var(--pad)); }
.ruled::after { right: calc(max(0px, (100% - var(--wide)) / 2) + var(--pad)); transform: translate(50%, -54%); }

/* Einstieg: ruhiger, nur Terminal und Gitter */
h1 { font-weight: 600; letter-spacing: -.05em; }
h2 { font-weight: 600; }
.hero .lede { max-width: 27rem; }
.meta.mono { color: var(--faint); margin-top: 1.75rem; }
.button { border-radius: 10px; padding: .85rem 1.3rem; }
.grid-floor { background-size: 48px 48px; }
.terminal { box-shadow: 0 0 0 1px rgb(255 255 255 / .06), 0 50px 90px -40px rgb(20 30 25 / .55); }
@media (prefers-reduced-motion: no-preference) { .grid-floor { animation-duration: 12s; } @keyframes floor { to { background-position: 0 48px, 0 48px; } } }

/* So geht's: schlichter */
.steps-3d li { border-left-width: 1px; }
.plate { border-radius: 14px; }

/* Drei Aussagen, durch Linien getrennt */
.stmts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.stmt { padding: .25rem clamp(1.25rem, 3vw, 2.5rem) 0; }
.stmt:first-child { padding-left: 0; }
.stmt + .stmt { border-left: 1px solid var(--rule); }
.stmt::before, .stmt::after { display: none; }
.stmt-k { color: var(--accent); margin: 0 0 2.5rem; }
.stmt h3 { font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: .75rem; }
.stmt p:last-child { color: var(--muted); }

/* Download: Karte reduziert */
.counter-num { font-weight: 600; }
.dl { border-radius: 16px; }
.dl-head { margin-bottom: 1.25rem; }
.dl-head img { width: 40px; height: 40px; border-radius: 10px; }
.dl-facts { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; border: 0; margin: 0 0 1.25rem; font-family: var(--mono); font-size: .8125rem; }
.dl-facts > div { padding: 0; display: flex; gap: .45rem; }
.dl-facts dt { font-size: inherit; }
.dl-facts dd { margin: 0; font-weight: 500; }
.dl-button { border-radius: 10px; }
.dl-ver { background: none; padding: 0; color: var(--dl-muted); font-weight: 500; }
.mini-steps li::before { border-radius: 6px; }

/* Fragen */
.faq summary { font-weight: 500; }

/* Fusszeile: Unterstützen + Projekt */
.site-foot { padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem; font-size: .9375rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 7rem); }
.foot-h { font: 500 .8125rem/1 var(--mono); color: var(--faint); letter-spacing: 0; margin: 0 0 1.25rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.foot-links a, .foot-links .linkbtn { color: var(--ink); text-decoration: none; }
.foot-links a:hover, .foot-links .linkbtn:hover { color: var(--accent); }
.linkbtn { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.way-stat { color: var(--faint); }
.money { display: inline-flex; gap: 1.75rem; }
.money a { color: var(--ink); text-decoration: none; }
.money svg { width: 12px; height: 12px; margin-right: .35rem; vertical-align: -1px; color: var(--glow-a); }
.site-foot > p { margin: 0 auto; max-width: var(--wide); padding-inline: var(--pad); font-size: .8125rem; color: var(--faint); }
.foot-note { grid-column: 1 / -1; margin: 1.5rem 0 0; font-size: .8125rem; color: var(--faint); max-width: 44rem; }

@media (max-width: 62rem) {
  .stmts { grid-template-columns: minmax(0, 1fr); }
  .stmt, .stmt + .stmt { border-left: 0; border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; }
  .stmt-k { margin-bottom: 1rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Dynamik: bedienbares Terminal, Zeilen-Einstieg, Entschlüsseln, Fortschritt
   ===================================================================== */
.progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); }
.site-head-bar { position: sticky; }

/* Menü im Terminal */
.mi { display: inline-block; min-width: 46ch; cursor: default; transition: color .15s; }
.mi.on { color: #ff87d7; }
.mi-c { white-space: pre; }
.stage.is-live .terminal pre { cursor: pointer; }
.hint-keys { margin-right: 1rem; }
kbd { font: 500 .75rem/1 var(--mono); padding: .15rem .35rem; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 5px; color: var(--muted); }
@media (pointer: coarse) { .hint-keys { display: none; } }

/* Überschrift baut sich zeilenweise auf */
h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
h1 .ln > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  h1 .ln > span { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
  h1 .ln:nth-child(2) > span { animation-delay: .08s; }
  h1 .ln:nth-child(3) > span { animation-delay: .16s; }
  @keyframes rise { from { transform: translateY(105%); } }
  .hero .lede, .hero .actions, .hero .meta { animation: fadein .8s .35s both; }
  @keyframes fadein { from { opacity: 0; } }
}

/* Gitterboden folgt der Maus */
.grid-floor { -webkit-mask-image: radial-gradient(60% 75% at var(--gx, 50%) 100%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 75% at var(--gx, 50%) 100%, #000 30%, transparent 75%); }

/* Schritte im Stapel sind klickbar */
.steps-3d li { cursor: pointer; border-radius: 0 6px 6px 0; }
.steps-3d li:hover h3 { color: var(--ink); }
.steps-3d li:focus-visible { outline-offset: 2px; }

/* Entschlüsseln: gleiche Breite während des Zufalls */
[data-scramble] { font-variant-numeric: tabular-nums; }

/* Stapel-Ebenen ohne Inline-Styles */
.stack .plate:nth-child(1) { --i: 0; } .stack .plate:nth-child(2) { --i: 1; } .stack .plate:nth-child(3) { --i: 2; }
.stack .plate:nth-child(4) { --i: 3; } .stack .plate:nth-child(5) { --i: 4; }
figure.terminal { margin: 0; }

/* =====================================================================
   Startanimation: tippt den Namen, Linie läuft, Vorhang öffnet nach oben.
   Nur beim ersten Öffnen pro Besuch (html.intro-run), reine CSS-Animation.
   ===================================================================== */
.intro { display: none; }
html.intro-run .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--paper);
  animation: intro-out .5s cubic-bezier(.7, 0, .2, 1) 1.05s forwards;
}
html.intro-run .intro.is-skipped { animation-duration: .25s; animation-delay: 0s; }
.intro-in { width: min(22rem, 80vw); }
.intro-t { margin: 0 0 1rem; font: 500 clamp(1rem, .8rem + .8vw, 1.3rem)/1 var(--mono); color: var(--ink); display: flex; align-items: center; white-space: nowrap; }
.intro-p { color: #ff87d7; margin-right: .6ch; }
.intro-w { display: inline-block; overflow: hidden; width: 14ch; animation: intro-type .55s steps(14, end) .1s both; }
.intro-c { display: inline-block; width: .6em; height: 1.1em; margin-left: .15em; background: #ff87d7; animation: blink .9s steps(1) infinite; }
.intro-bar { height: 1px; background: var(--rule); position: relative; overflow: hidden; }
.intro-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); transform-origin: 0 50%; animation: intro-bar .8s cubic-bezier(.6, 0, .2, 1) .2s both; }
@keyframes intro-type { from { width: 0; } }
@keyframes intro-bar { from { transform: scaleX(0); } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.intro-run .intro { clip-path: inset(0 0 0 0); }
/* Einstieg startet erst, wenn der Vorhang aufgeht */
html.intro-run h1 .ln > span { animation-delay: 1.3s; }
html.intro-run h1 .ln:nth-child(2) > span { animation-delay: 1.38s; }
html.intro-run h1 .ln:nth-child(3) > span { animation-delay: 1.46s; }
html.intro-run .hero .lede, html.intro-run .hero .actions, html.intro-run .hero .meta { animation-delay: 1.65s; }
html.intro-run .scene { animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { html.intro-run .intro { display: none; } }

/* Kurzanleitung: Text darf umbrechen, Nummer bleibt links (auch auf schmalen Bildschirmen) */
.mini-steps li { display: block; position: relative; padding-left: 2.5rem; line-height: 1.9; }
.mini-steps li::before { position: absolute; left: 0; top: .25rem; }
.mini-steps code { white-space: normal; overflow-wrap: anywhere; }

/* =====================================================================
   Download: Umschalter, grosser Knopf, Prüfsumme, abhakbare Schritte
   ===================================================================== */
.cta-lead { font-size: 1.125rem; opacity: .75; max-width: 26rem; margin: -.5rem 0 2rem; }
.cta-small { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 0; }
.cta-small .sep { margin: 0 .75rem; }
.mini-steps [data-for] { transition: opacity .25s; }

.dl { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.dl.is-tilting { transition: transform .12s linear; }

/* Umschalter macOS | Windows */
.os-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 0 0 1.25rem; border-radius: 12px; background: color-mix(in srgb, currentColor 7%, transparent); box-shadow: inset 0 0 0 1px var(--dl-line); }
.os-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 500 .9375rem/1 var(--sans); color: var(--dl-muted); background: none; border: 0; padding: .75rem .5rem; border-radius: 9px; cursor: pointer; transition: color .25s; }
.os-switch button[aria-checked="true"] { color: var(--paper); }
.os-switch svg { width: 16px; height: 16px; }
.os-switch .beta { font: 600 .625rem/1 var(--mono); letter-spacing: .02em; padding: .2rem .35rem; border-radius: 4px; background: color-mix(in srgb, #ffaf00 22%, transparent); color: #ffcf66; }
.os-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px;
  background: color-mix(in srgb, currentColor 13%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow-a) 35%, transparent), 0 6px 18px -8px color-mix(in srgb, var(--glow-a) 60%, transparent);
  transition: transform .35s cubic-bezier(.3, .8, .2, 1); }
.dl[data-os="wsl"] .os-ind { transform: translateX(100%); }
.dl-detected { margin: -.6rem 0 1rem; font-size: .75rem; color: var(--dl-muted); }

/* Datei-Zeile */
.dl-file { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; font-size: .8125rem; color: var(--dl-muted); }
.dl-file .mono { overflow-wrap: anywhere; }
.dl-size { flex: none; color: var(--paper); }

/* Grosser Knopf mit Licht und Pfeil */
.dl-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; padding: 1.1rem 1.25rem; border-radius: 12px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.0625rem;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 14px 36px -14px color-mix(in srgb, var(--glow-a) 70%, transparent);
  transition: transform .2s, box-shadow .3s; }
.dl-go:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow-a) 60%, transparent), 0 18px 44px -14px color-mix(in srgb, var(--glow-a) 85%, transparent); }
.dl-go:active { transform: translateY(1px) scale(.99); }
.dl-go:focus-visible { outline: 2px solid var(--glow-a); outline-offset: 3px; }
.ico-dl { width: 22px; height: 22px; flex: none; }
.dl-go-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.dl-req { margin: .75rem 0 1rem; font-size: .875rem; color: var(--dl-muted); }

/* Prüfsumme der gewählten Datei */
.dl-sha { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .55rem .6rem .55rem .8rem; border-radius: 10px; background: color-mix(in srgb, currentColor 6%, transparent); }
.dl-sha > .mono { font-size: .6875rem; color: var(--dl-muted); }
.dl-sha code { background: none !important; padding: 0 !important; font-size: .6875rem; color: var(--dl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap !important; }
.dl-sha .copy { font-size: .75rem; padding: .4rem .55rem; }

/* Fertig: Fortschritt + abhakbare Schritte */
.dl-progress { display: grid; gap: .5rem; margin: 1rem 0 1.25rem; font-size: .75rem; color: var(--dl-muted); }
.dl-progress-bar { height: 3px; border-radius: 3px; background: color-mix(in srgb, currentColor 10%, transparent); overflow: hidden; }
.dl-progress-bar > span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--done, 0)); background: linear-gradient(90deg, var(--glow-a), var(--glow-b)); transition: transform .45s cubic-bezier(.3, .8, .2, 1); }
.dl-steps li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .8rem; padding: 0 0 1.1rem; }
.dl-steps li::before, .dl-steps li::after { display: none !important; }
.tick { width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--dl-line); background: none; cursor: pointer; position: relative; transition: background .25s, border-color .25s; }
.tick::after { content: ""; position: absolute; left: .62rem; top: .4rem; width: .4rem; height: .75rem; border: solid #0f2a1d; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.tick:hover { border-color: var(--glow-b); }
.tick[aria-pressed="true"] { background: #4cc38a; border-color: #4cc38a; }
.tick[aria-pressed="true"]::after { transform: rotate(45deg) scale(1); }
.dl-steps li.is-done > div { opacity: .5; }
.dl-steps li > div { transition: opacity .25s; }

@media (prefers-reduced-motion: no-preference) {
  .dl-go:hover .dl-go-shine { animation: shine .9s ease; }
  @keyframes shine { to { transform: translateX(120%); } }
  .dl-go:hover .ico-arrow { animation: nudge .8s ease-in-out infinite; }
  @keyframes nudge { 50% { transform: translateY(2px); } }
  .dl-go.is-going .ico-arrow { animation: drop .5s cubic-bezier(.5, 0, .7, .4) forwards; }
  @keyframes drop { 60% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
  .os-pane:not([hidden]) { animation: pane-in .35s cubic-bezier(.2, .7, .2, 1); }
  @keyframes pane-in { from { opacity: 0; transform: translateY(6px); } }
  .dl-done:not([hidden]) .dl-steps:not([hidden]) li { animation: pane-in .45s cubic-bezier(.2, .7, .2, 1) both; }
  .dl-done:not([hidden]) .dl-steps li:nth-child(2) { animation-delay: .08s; }
  .dl-done:not([hidden]) .dl-steps li:nth-child(3) { animation-delay: .16s; }
  .dl-done:not([hidden]) .dl-check { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
  @keyframes pop { from { transform: scale(0); } }
}

/* Dunkles Thema: Download-Elemente hell hervorheben */
.dl-go, .dl-go:hover { background: #f2f4f1; color: #121513; }
.dl-size { color: var(--ink); }
.os-switch button[aria-checked="true"] { color: var(--ink); }
.cta a.dl-go, .cta a.dl-go:hover { color: #121513; }
