@import url("/assets/fonts/fonts.css");
/* Seb AI · Claude-Guides
   Layout: eine ruhige Spalte auf Weiß, viel Luft, Haarlinien statt Schatten. Die bunten Szenen aus den Videos
   sind das einzige laute Element. Coral (Claude) nur als feiner Akzent: Schrittnummern, Fokus, Links. */
:root {
  --bg: #ffffff; --surface: #f6f6f4; --surface-2: #efefec; --line: #e6e5e1; --line-strong: #d6d4cf;
  --text: #111110; --muted: #5b5a56; --subtle: #8a8883;
  --accent: #d97757; --accent-ink: #b5502b; --ok: #1d7a46;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --col: 600px; --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.6 var(--sans); padding: 0 20px 64px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main, header.top, footer { max-width: var(--col); margin: 0 auto; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
img, video { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }

/* Kopfzeile */
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: -.01em; }
.brand svg { width: 22px; height: 19px; }
.brand small { font: 500 13px/1 var(--sans); color: var(--subtle); letter-spacing: 0; }
.ig { font: 500 14px var(--sans); color: var(--muted); text-decoration: none; }
.ig:hover { color: var(--text); }

/* Hero */
.hero { padding: 44px 0 0; display: grid; gap: 16px; }
.eyebrow { font: 500 13px/1 var(--sans); color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
h1 { font: 600 clamp(36px, 9.4vw, 52px)/1.04 var(--sans); letter-spacing: -.035em; margin: 0; text-wrap: balance; font-stretch: 96%; }
.lede { font-size: 18.5px; line-height: 1.55; color: var(--muted); max-width: 36ch; }
.meta { font: 500 14px/1.7 var(--sans); color: var(--muted); padding-top: 2px; }
.meta span { white-space: nowrap; }
.meta .sep { font-style: normal; color: var(--line-strong); margin: 0 4px; }
.eyebrow .kw { font: 500 12px/1 var(--mono); color: var(--accent-ink); letter-spacing: .04em; padding: 4px 6px; border-radius: 6px; background: #fbeee8; }
.hallo { font: 500 15px var(--sans); color: var(--ok); }
.media { border-radius: var(--r); overflow: hidden; background: #0f0e0d; border: 1px solid var(--line); }
.media video, .media img { width: 100%; aspect-ratio: 640 / 676; object-fit: cover; }
.hero .media { margin-top: 12px; }

/* Hinweis Laptop */
.notice { margin-top: 28px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r); background: var(--surface); font-size: 15px; color: var(--muted); }
.notice p { flex: 1 1 240px; }
.notice strong { color: var(--text); font-weight: 600; }
.notice + .notice { margin-top: 10px; }

/* Schritte */
.steps { margin-top: 56px; display: grid; gap: 0; }
.step { display: grid; gap: 16px; padding: 36px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-head { display: flex; align-items: baseline; gap: 14px; }
.num { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 600 14px/1 var(--sans); transform: translateY(-3px); }
.step h2 { font: 600 25px/1.15 var(--sans); letter-spacing: -.025em; margin: 0; }
.step > p { color: var(--muted); }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 14px/1.2 var(--sans); color: var(--text); }
.path span.k { padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.path span.a { color: var(--subtle); }
details.help { font-size: 15px; color: var(--muted); }
details.help summary { cursor: pointer; font-weight: 500; color: var(--text); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.help summary::-webkit-details-marker { display: none; }
details.help summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 13px; line-height: 1; }
details.help[open] summary::before { content: "–"; }
details.help p { margin-top: 10px; }

/* Knöpfe */
.btn { appearance: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 20px; border-radius: 12px; font: 600 16px/1 var(--sans); letter-spacing: -.005em; width: 100%; border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease; }
.btn.main { background: var(--text); color: #fff; }
.btn.main:hover { background: #2b2a28; }
.btn.ghost { background: var(--bg); color: var(--text); border-color: var(--line-strong); min-height: 48px; font-size: 15px; }
.btn.ghost:hover { border-color: var(--text); }
.btn.small { width: auto; min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.row { display: grid; gap: 10px; }

/* Prompt-Beispiele */
.prompts { display: grid; gap: 10px; }
.prompt { background: var(--surface); border-radius: 12px; padding: 14px 14px 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.prompt code { font: 400 14px/1.6 var(--mono); color: var(--text); white-space: pre-wrap; word-break: break-word; }
.prompt .copy { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.copied { background: var(--ok) !important; border-color: var(--ok) !important; color: #fff !important; }

/* Was im Hintergrund passiert */
.extra { margin-top: 64px; display: grid; gap: 20px; }
.extra h2 { font: 600 25px/1.15 var(--sans); letter-spacing: -.025em; margin: 0; }
.extra .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { display: grid; gap: 12px; min-width: 0; align-content: start; }
.tile .media video, .tile .media img { aspect-ratio: 1 / 1; }
.tile p { font-size: 15px; color: var(--muted); }
.tile p b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

.done { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.done h2 { margin: 0; font: 600 25px/1.15 var(--sans); letter-spacing: -.025em; }
.done p { color: var(--muted); }
.done .btn { margin-top: 10px; justify-self: start; }

footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13.5px; display: grid; gap: 6px; }
footer a { color: var(--muted); }

/* Übersicht */
.list { margin-top: 40px; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.item img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.item .kw { font: 500 12px/1 var(--mono); color: var(--accent-ink); letter-spacing: .04em; }
.item b { display: block; font: 600 18px/1.25 var(--sans); letter-spacing: -.015em; margin: 6px 0 2px; }
.item span.d { font-size: 14.5px; color: var(--muted); }
.item .go { color: var(--subtle); font-size: 20px; }
.item:hover .go { color: var(--text); }

/* Fließtext-Seiten */
.prose { margin-top: 36px; display: grid; gap: 16px; color: var(--muted); }
.prose b { color: var(--text); font-weight: 600; }

/* Zugang (Gate) */
.gate { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; padding: 12px; background: rgba(255,255,255,.55); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
.gate form { width: 100%; max-width: 420px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 20px; display: grid; gap: 14px; box-shadow: 0 24px 60px rgba(17,17,16,.14), 0 2px 6px rgba(17,17,16,.06); margin-bottom: env(safe-area-inset-bottom, 0); }
.gate .mark { width: 26px; height: 22px; }
.gate h2 { margin: 0; font: 600 24px/1.15 var(--sans); letter-spacing: -.025em; }
.gate p { color: var(--muted); font-size: 15.5px; }
.gate label { display: grid; gap: 6px; font: 500 14px var(--sans); color: var(--text); }
.gate input { font: 400 17px var(--sans); padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); width: 100%; transition: border-color .15s ease, box-shadow .15s ease; }
.gate input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(17,17,16,.08); }
.gate .err { color: #b42318; font-size: 14px; min-height: 1em; }
.gate small { color: var(--subtle); font-size: 13px; line-height: 1.5; }
.gate .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tamagotchis: sparsam und gezielt. Einer guckt über den Rand des Zugangs-Formulars und blinzelt,
   drei hüpfen einmal, wenn man beim „Fertig“ ankommt. Sonst bleibt die Seite ruhig. */
.gate form { position: relative; }
.gate .peek { position: absolute; top: -43px; right: 28px; width: 50px; height: 44px; }
.clawd .eye { transform-box: fill-box; transform-origin: center; animation: blink 5.5s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(.12); } }
.crew { display: flex; gap: 12px; align-items: flex-end; height: 58px; margin-bottom: 6px; }
.crew img { width: 46px; height: auto; }
.crew.on img { animation: hop .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.crew.on img:nth-child(2) { animation-delay: .12s; }
.crew.on img:nth-child(3) { animation-delay: .24s; }
@keyframes hop { 0% { transform: translateY(0); } 45% { transform: translateY(-16px); } 100% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .clawd .eye, .crew.on img { animation: none; } }

/* Abstände ohne Inline-Styles (CSP) */
.mt-xs { margin-top: 10px; } .mt-s { margin-top: 14px; } .mt-m { margin-top: 22px; }

@media (min-width: 720px) {
  body { padding-left: 32px; padding-right: 32px; }
  .hero { padding-top: 64px; }
  .gate { place-items: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
