/* 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: "Caveat"; src: url("/_shared/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; 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; }
[hidden] { display: none !important; }
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 { text-decoration: none; transition: border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); 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:hover { border-color: var(--lime); transform: translateY(-2px); }
.tool p { color: var(--muted); margin-top: 4px; }

/* Zwei Mockups: Laptop (Querformat) und Handy (Reel), beide spielen beim Klick */
.show .wrap { display: grid; gap: 40px; }
.show-text p { font-size: clamp(1.15rem, 3.6vw, 1.4rem); line-height: 1.45; color: var(--muted); max-width: 26ch; }
.show-text p + p { margin-top: 14px; }
.show-text p:first-of-type { color: var(--text); }
.mocks { position: relative; padding: 0 0 64px; }
.screen { position: relative; overflow: hidden; background: #000; }
.screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.laptop { width: 88%; }
.laptop .screen { aspect-ratio: 16 / 9; border: 10px solid #1b1c1b; border-bottom-width: 14px; border-radius: 18px 18px 6px 6px; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0, 0, 0, 0.6); }
.laptop .base { height: 14px; margin: 0 -6%; background: linear-gradient(#2a2b2a, #161716); border-radius: 0 0 16px 16px; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; min-width: 108px; }
.phone .screen { aspect-ratio: 9 / 16; border: 7px solid #1b1c1b; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 90px rgba(199, 242, 111, 0.16); }
.play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border: 0; border-radius: 50%; background: var(--lime); cursor: pointer; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.play::before { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); }
.play:hover { transform: scale(1.07); }
.play:active { transform: scale(0.96); }
.phone .play { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
.phone .play::before { border-width: 7px 0 7px 11px; }
.tag { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font: 500 0.68rem "Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(5, 5, 5, 0.7); color: var(--lime); padding: 4px 8px; border-radius: 999px; }
.screen.on .play, .screen.on .tag { display: none; }

.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); }

/* Formular "Du hast eine Idee" */
.side { display: grid; gap: 22px; margin-top: 36px; }
.ask { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.ask h3 { font-size: 1.6rem; }
.ask > p { color: var(--muted); margin: 10px 0 20px; }
/* Glas-Schild für das optionale Gespräch, schwebt über der Kartenkante */
.ask { position: relative; margin-top: 60px; }
.book { position: absolute; right: 14px; top: -44px; display: flex; align-items: center; gap: 4px; }
.tap { font: 700 1.55rem/0.9 "Caveat", cursive; color: var(--lime); rotate: -7deg; display: grid; justify-items: end; margin-bottom: 26px; white-space: nowrap; }
.tap svg { margin: -2px -6px 0 0; }
.glass { display: flex; align-items: center; gap: 14px; padding: 11px 12px 12px 18px; border-radius: 18px; text-decoration: none; font-size: 0.8rem; line-height: 1.3; color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 44px rgba(199, 242, 111, 0.16); transition: border-color 0.2s; }
.glass:hover { border-color: var(--lime); }
.glass .txt { display: grid; gap: 1px; }
.glass .go { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.glass:hover .go { transform: translate(2px, -2px); }
.glass strong { font-size: 1rem; color: #fff; }
.glass .k { font: 500 0.66rem "Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
@media (prefers-reduced-motion: no-preference) { .book { animation: float 5s ease-in-out -1s infinite; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: #232423; } }
.ask h3 { margin-top: 38px; }
.form { display: grid; gap: 18px; }

.form label { display: grid; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.form .row { display: grid; gap: 18px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { font: 500 1rem "Inter", system-ui, sans-serif; color: var(--text); background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; padding: 13px 14px; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(199, 242, 111, 0.25); }
.form textarea { resize: vertical; }
.form fieldset { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form legend { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; padding: 0; }
.form .pick { display: flex; align-items: center; gap: 10px; font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.form .pick:has(input:checked) { border-color: var(--lime); background: rgba(199, 242, 111, 0.12); }
.form .pick input { accent-color: var(--lime); width: 18px; height: 18px; }
.form .opt { font-weight: 500; color: var(--muted); }
.form .btn { border: 0; cursor: pointer; font: 700 1.0625rem "Inter", system-ui, sans-serif; justify-self: start; }
.form .btn:disabled { opacity: 0.6; cursor: wait; }
.form .small { color: var(--muted); font-size: 0.88rem; }
.form .msg:empty { display: none; }
.form .msg.ok { color: var(--lime); font-weight: 700; }
.form .msg.bad { color: #ff9b8f; font-weight: 700; }
.trap { position: absolute; left: -9999px; }

.end { text-align: left; }
.end h2 { max-width: 16ch; }
/* Portrait und MD-One-Logo, beide schweben leicht versetzt */
.duo { position: relative; width: min(280px, 72%); margin: 44px 0 20px; }
.face { width: 100%; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 110px rgba(199, 242, 111, 0.22); }
.badge { position: absolute; right: -16%; top: -11%; width: 48%; padding: 14px 16px; background: var(--surface); border: 1px solid var(--lime); border-radius: var(--r); rotate: 8deg; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 60px rgba(199, 242, 111, 0.25); }
@media (prefers-reduced-motion: no-preference) { .face { animation: float 6s ease-in-out infinite; } .badge { animation: float 6s ease-in-out -3s infinite; } }
@keyframes float { 50% { translate: 0 -12px; } }
.mdone { padding: 0 4px; font-size: 0.95rem; }
.mdone h3 { font-size: 1.15rem; }
.mdone p { color: var(--muted); margin: 8px 0 10px; }
.mdone a { color: var(--lime); font-weight: 700; }

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; }
  .show .wrap { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
  .show-text h2 { margin-bottom: 22px; }
  .phone { width: 26%; }
  .play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .play::before { border-width: 13px 0 13px 21px; }
  .phone .play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .phone .play::before { border-width: 9px 0 9px 15px; }
  .side { margin-top: 0; }
  .end .wrap > div:first-child { position: sticky; top: 40px; }
  .ask { padding: 34px; margin-top: 44px; }
  .book { right: 24px; gap: 10px; }
  .tap { font-size: 1.9rem; }
  .ask h3 { margin-top: 26px; }
  .form .row { grid-template-columns: 1fr 1fr; }
  .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; }
  .duo { width: 340px; margin-top: 72px; }
}

/* Guides ab Staffel 1: Zahl statt Logo in der Kachel, drei Bilder nebeneinander */
.logo.num { font-weight: 800; font-size: 22px; color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.trio img { width: 100%; height: auto; border-radius: var(--r); display: block; }
@media (min-width: 820px) { .tools:has(.tool:nth-child(3):last-child) .tool { grid-column: span 2; flex-direction: column; } }
.builder { display: grid; gap: 22px; margin-top: 32px; align-items: start; }
.builder .code { margin-top: 0; }
@media (min-width: 820px) { .builder { grid-template-columns: 0.8fr 1.2fr; } .builder .form { position: sticky; top: 24px; } }
.form select { font: 500 1rem "Inter", system-ui, sans-serif; color: var(--text); background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; padding: 13px 14px; width: 100%; }
.code pre { white-space: pre-wrap; }
/* Überschrift mit festen Zeilen: jede .l ist genau eine Zeile, .fit verkleinert lange Zeilen fürs Handy */
h1 .l { display: block; white-space: nowrap; }
h1.fit { font-size: clamp(1.7rem, 8.2vw, 3.8rem); }
@media (min-width: 820px) { h1.fit { font-size: clamp(1.7rem, 4.6vw, 3.8rem); } .hero .wrap > div { min-width: 0; } }
