/* Guide-Seiten zu den Reels von @marioxalbrecht. Ein Stylesheet für alle Guides.
   Look wie die dunkle Bühne im Reel. Radien: Flächen 20px, Knöpfe rund. */
@font-face { font-family: "Bricolage"; src: url("/_shared/fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/_shared/fonts/inter-500.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Mono"; src: url("/_shared/fonts/mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #050505; --surface: #101110; --line: rgba(199, 242, 111, 0.22);
  --text: #f5f5f7; --muted: #a3a3a8; --lime: #c7f26f; --ink: #1d1d1f;
  --r: 20px; --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 500 1.0625rem/1.6 "Inter", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Bricolage", sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 9.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; }
mark { background: var(--lime); color: var(--ink); padding: 0 0.16em; border-radius: 0.14em; }
.lead { color: var(--muted); max-width: 60ch; }
section { padding: 72px 0; }

.top { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; font-weight: 700; }
.top a { text-decoration: none; }
.top span { color: var(--lime); }

.hero { position: relative; overflow: hidden; padding: 24px 0 0; }
.hero .wrap { display: grid; gap: 28px; align-items: end; position: relative; z-index: 1; }
.kicker { font: 500 0.8rem "Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.hero p.lead { margin: 20px 0 28px; }
.btn { display: inline-block; background: var(--lime); color: var(--ink); font-weight: 700; text-decoration: none; padding: 14px 26px; border-radius: 999px; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.figure { position: relative; width: min(300px, 70vw); margin: 0 auto; }
.figure::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 68%; background: var(--lime); border-radius: 40px 40px 0 0; box-shadow: 0 0 120px rgba(199, 242, 111, 0.28); }
.figure img { position: relative; width: 100%; }
/* Gitterboden wie im Reel */
.floor { position: absolute; left: -60%; width: 220%; top: 46%; height: 150%; transform-origin: 50% 0; transform: perspective(620px) rotateX(76deg);
  background-image: linear-gradient(rgba(199, 242, 111, 0.3) 2px, transparent 2px), linear-gradient(90deg, rgba(199, 242, 111, 0.3) 2px, transparent 2px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 55%, transparent 95%); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 55%, transparent 95%); }
@media (prefers-reduced-motion: no-preference) { .floor { animation: floor 6s linear infinite; } }
@keyframes floor { to { background-position: 0 64px; } }

.tools { display: grid; gap: 14px; margin-top: 32px; }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.tool .logo { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--lime); display: grid; place-items: center; }
.tool .logo img { width: 32px; height: 32px; filter: brightness(0); }
.tool p { color: var(--muted); margin-top: 4px; }

.shot { border-radius: var(--r); border: 1px solid var(--line); width: 100%; }
figure figcaption { color: var(--muted); font-size: 0.95rem; margin-top: 12px; }

.steps { list-style: none; padding: 0; display: grid; gap: 30px 48px; margin-top: 36px; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 6px 14px; }
.steps .n { font: 700 2.6rem/1 "Bricolage", sans-serif; color: var(--lime); grid-row: span 2; }
.steps p { color: var(--muted); }

.code { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-top: 28px; }
.code pre { font: 500 0.86rem/1.65 "Mono", monospace; padding: 64px 22px 24px; overflow-x: auto; white-space: pre-wrap; color: #e4e4e8; }
.code button { position: absolute; top: 14px; right: 14px; font: 700 0.9rem "Inter", sans-serif; background: var(--lime); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.code button:active { transform: scale(0.97); }
.hint { margin-top: 20px; color: var(--muted); max-width: 62ch; }
.hint code, .legal code { font: 500 0.92em "Mono", monospace; color: var(--text); }

.end { text-align: left; }
.end h2 { max-width: 16ch; }
.mdlogo { width: 150px; margin-top: 30px; }
.mdone { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; margin-top: 28px; max-width: 640px; }
.mdone p { color: var(--muted); margin: 10px 0 16px; }
.mdone ul { list-style: none; padding: 0; margin-bottom: 26px; display: grid; gap: 10px; }
.mdone li { padding-left: 22px; position: relative; }
.mdone li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 3px; border-radius: 2px; background: var(--lime); }

footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }

.legal { max-width: 720px; padding: 40px 20px 80px; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); margin: 24px 0 8px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 8px; }
.legal p, .legal address { color: #d2d2d6; font-style: normal; }

@media (min-width: 820px) {
  section { padding: 104px 0; }
  .hero .wrap { grid-template-columns: 1.25fr 0.75fr; }
  .figure { width: 340px; }
  .tools { grid-template-columns: repeat(6, 1fr); }
  .tool { grid-column: span 3; }
  .tool:nth-child(n + 3) { grid-column: span 2; flex-direction: column; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:last-child { grid-column: 1 / -1; max-width: 520px; }
  .end .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .mdone { margin-top: 0; padding: 34px; }
  .mdlogo { width: 230px; margin-top: 64px; }
}
