/* Inkframe: Website und Einstieg der App. Eine Schrift (Manrope), Tintenschwarz, Papierweiß, Stencil-Violett nur für Linien und Flächen. */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root { --ink: #050505; --ink2: #0f0f10; --ink3: #19191b; --paper: #f4f4f1; --text: #dcdbd6; --muted: #a2a19b; --line: rgba(244,244,241,.14); --line2: rgba(244,244,241,.3); --stencil: #8f7dff; --stencil2: #c9b8ff; --ok: #4ade80; --bad: #f87171; --w: 1160px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--paper); text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--paper); margin: 0; letter-spacing: -.02em; line-height: 1.08; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 20; }
:focus-visible { outline: 2px solid var(--stencil2); outline-offset: 3px; border-radius: 6px; }

/* Kopf */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5,5,5,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--paper); text-decoration: none; }
.mark svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 26px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a:hover { color: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: #fff; }
.btn.ghost { background: none; color: var(--paper); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--paper); background: none; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: .93rem; }
.btn[disabled] { opacity: .5; cursor: default; }

/* Auftakt */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.22rem; max-width: 33em; margin: 24px 0 30px; color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--muted); font-size: .92rem; margin: 16px 0 0; }
/* Der Rahmen: Bilder der App sitzen in einem versetzten Stencil-Rahmen */
.frame { position: relative; margin: 0; }
.frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--stencil); border-radius: 30px; pointer-events: none; }
.frame img { position: relative; border-radius: 26px; border: 1px solid var(--line2); background: var(--ink2); }
.frame.wide::before { border-radius: 18px; } .frame.wide img { border-radius: 14px; }
.hero .frame { justify-self: center; max-width: 340px; }

section { padding: 84px 0; }
section.alt { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 46rem; margin-bottom: 44px; }
.head p { font-size: 1.1rem; margin: 18px 0 0; }

/* Ablauf: eine echte Reihenfolge, deshalb nummeriert */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line2); }
.flow li { counter-increment: s; padding: 22px 22px 26px 0; border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(s); display: block; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--stencil2); margin-bottom: 12px; }
.flow h3 { margin-bottom: 6px; }
.flow p { margin: 0; font-size: .97rem; color: var(--muted); }

/* Funktionen: Text und Bild im Wechsel */
.feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 44px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat.flip .txt { order: 2; }
.feat h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; letter-spacing: -.02em; }
.feat ul { margin: 14px 0 0; padding: 0; list-style: none; }
.feat li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); }
.feat .frame.tall { max-width: 300px; justify-self: center; }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 30px; }
.more div { padding: 22px 0; border-top: 1px solid var(--line2); }
.more h3 { margin-bottom: 6px; }
.more p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Pakete */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.plan { border: 1px solid var(--line2); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; background: var(--ink); }
.plan h3 { font-size: 1.35rem; }
.plan .pr { font-size: 2.6rem; font-weight: 800; color: var(--paper); letter-spacing: -.03em; line-height: 1; margin: 18px 0 6px; }
.plan .pr small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .d { color: var(--muted); margin: 0 0 14px; min-height: 3.2em; }
.plan ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.plan li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.plan .btn { width: 100%; }
.note { color: var(--muted); font-size: .93rem; }

/* Fragen */
details { border-top: 1px solid var(--line2); padding: 6px 0; }
details:last-of-type { border-bottom: 1px solid var(--line2); }
summary { cursor: pointer; padding: 16px 34px 16px 0; font-weight: 700; color: var(--paper); font-size: 1.08rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { max-width: 44rem; color: var(--text); }
.faq { max-width: 52rem; }

.close { text-align: left; }
.close .cta { margin-top: 28px; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: .93rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--muted); }
footer a:hover { color: var(--paper); }

/* Formulare (Anmeldung, Studio finden) */
.form { max-width: 560px; }
.f { display: block; font-weight: 700; color: var(--paper); font-size: .95rem; margin: 0 0 16px; }
.f small { display: block; font-weight: 500; color: var(--muted); margin-top: 6px; font-size: .9rem; }
.in { display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--ink2); color: var(--paper); font-weight: 500; }
.in:focus { outline: none; border-color: var(--paper); }
.in::placeholder { color: #77766f; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opts { display: grid; gap: 10px; margin: 8px 0 18px; }
.opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line2); border-radius: 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--paper); background: var(--ink2); }
.opt input { margin-top: 5px; accent-color: #f4f4f1; }
.opt b { color: var(--paper); display: block; }
.opt span span { color: var(--muted); font-size: .93rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: .95rem; }
.check input { margin-top: 6px; accent-color: #f4f4f1; }
.msg { border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; border: 1px solid var(--line2); }
.msg.bad { border-color: var(--bad); color: #fecaca; }
.msg.ok { border-color: var(--ok); color: #bbf7d0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page { padding: 64px 0 96px; min-height: 60vh; }
.page h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 18px; }
.page .lead { font-size: 1.12rem; max-width: 40rem; margin-bottom: 34px; }
.legal { max-width: 46rem; } .legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.hint { border: 1px dashed var(--line2); border-radius: 14px; padding: 16px 18px; color: var(--muted); }

/* Einstieg der App: Studio finden */
body.finder { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.fwrap { width: 100%; max-width: 520px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom)); flex: 1; display: flex; flex-direction: column; }
.fwrap .mark { margin-bottom: 44px; }
.fwrap h1 { font-size: 2.3rem; margin-bottom: 10px; }
.fwrap > p { color: var(--muted); margin-bottom: 26px; }
.studios { list-style: none; margin: 0 0 8px; padding: 0; }
.studio { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line2); border-radius: 16px; background: var(--ink2); text-align: left; cursor: pointer; }
.studio:hover { border-color: var(--paper); }
.studio img { width: 52px; height: 52px; border-radius: 12px; background: var(--ink3); flex: 0 0 52px; }
.studio b { display: block; color: var(--paper); line-height: 1.25; }
.studio small { color: var(--muted); }
.sep { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .9rem; margin: 22px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.coderow { display: flex; gap: 10px; }
.coderow .in { margin: 0; text-transform: uppercase; letter-spacing: .3em; font-weight: 800; font-size: 1.15rem; text-align: center; }
.coderow .btn { flex: 0 0 auto; }
.fwrap .btn.ghost { width: 100%; margin-top: 12px; }
.ffoot { margin-top: auto; padding-top: 34px; color: var(--muted); font-size: .88rem; }
.ffoot a { color: var(--muted); }
.cam { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 1; margin: 0 0 14px; }
.cam video { width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
  .top nav a:not(.btn) { display: none; }
  .hero { padding-top: 44px; } .hero .wrap, .feat { grid-template-columns: 1fr; gap: 40px; }
  .feat.flip .txt { order: 0; }
  .flow { grid-template-columns: 1fr 1fr; } .more { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero .frame { max-width: 280px; }
}
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } body { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
