/* Hixton sub pages (setup guides, info + legal). Builds on hixton.css tokens. */
body.sp { background: #fff; }
.sp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sp-narrow { max-width: 720px; }
.sp-mid { max-width: 860px; }

/* Header */
.sp-head { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.sp-head-in { position: relative; display: flex; align-items: center; justify-content: center; height: 72px; }
.sp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.sp-brand img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.sp-brand span { font-size: 19px; line-height: 1.1; color: var(--muted); }
.sp-brand b { color: var(--ink); font-weight: 800; }
.sp-brand small { display: block; font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-top: 2px; }
.sp-back { position: absolute; left: 24px; display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 6px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.sp-back:hover { background: var(--tint); color: var(--ink); }
.sp-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sp-main { position: relative; padding: 56px 0 96px; }
.sp-main::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; background-position: center top;
  mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent); -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent); }
.sp-title { text-align: center; margin-bottom: 40px; }
.sp-title h1 { font-size: clamp(32px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.sp-title .sub { margin: 14px auto 0; max-width: 560px; }
.green-btn { background: var(--green); box-shadow: 0 10px 24px -12px rgba(27,122,75,.7); }
.green-btn:hover { background: #176a41; box-shadow: 0 14px 28px -12px rgba(27,122,75,.8); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Success */
.big-ok { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 10px var(--green-bg); animation: pop .6s cubic-bezier(.2,1.5,.4,1) both; }
.big-ok svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.ok-list { list-style: none; margin: 0 auto 48px; padding: 0; display: grid; gap: 12px; width: fit-content; }
.ok-list li, .fit li { display: flex; align-items: center; gap: 12px; font-size: 18px; }
.ok { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green-bg); border: 1px solid var(--green-line); }
.ok svg { width: 17px; height: 17px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.go-h { text-align: center; font-size: 26px; margin-bottom: 20px; }
.plat-cards { display: grid; gap: 22px; }
.plat-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pc-top p { margin: 0; font-size: 18px; }
.plat-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.plat-card .btn { margin-top: 18px; }

/* Choose */
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.device { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 20px 26px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.device:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 24px 50px -30px rgba(27,122,75,.5); }
.device img { width: 116px; height: 116px; object-fit: contain; }
.device b { font-size: 21px; }
.device.rec { border-color: var(--green-line); }
.rec-tag { position: absolute; top: 14px; right: 14px; font-size: 16px; font-weight: 700; color: var(--green); background: var(--green-bg); border: 1px solid var(--green-line); padding: 3px 10px; border-radius: 999px; }
.dv-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cta); }
.dv-go svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.note { text-align: center; margin: 28px auto 0; max-width: 460px; color: var(--ink-2); }

/* Guide steps */
.guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: g; }
.gstep { position: relative; padding: 22px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gstep + .gstep::before { content: ""; position: absolute; left: 41px; top: -23px; height: 22px; border-left: 2px dashed var(--green-line); }
.gs-row { display: flex; align-items: flex-start; gap: 14px; }
.gs-row p { margin: 7px 0 0; font-size: 18px; line-height: 1.5; }
.gs-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; font-size: 18px; }
.shot { margin: 18px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 36px -26px rgba(12,17,23,.35); }
.shot img { display: block; width: 100%; height: auto; }
.phone-shot { max-width: 300px; margin-left: auto; margin-right: auto; border-radius: 22px; }
.icon-shot { width: 140px; border: 0; box-shadow: none; border-radius: 28px; margin-left: 54px; }
.code-box { margin: 18px 0 0; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); max-height: 190px; overflow: hidden; position: relative; }
.code-box::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, var(--tint)); }
.code-box pre { margin: 0; padding: 16px 18px; font: 16px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.code-box.full { max-height: 520px; overflow: auto; margin-top: 16px; }
.code-box.full::after { display: none; }
.code-box.full pre { font-size: 16px; }
.copy-row { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; }
.copy-row.left { justify-content: flex-start; margin-top: 4px; }
.copy-btn { background: var(--green); box-shadow: 0 10px 24px -12px rgba(27,122,75,.7); padding: 14px 22px; }
.copy-btn:hover { background: #176a41; }
.copy-btn.done { background: #0f5132; }
.red-arrow { width: 38px; height: 38px; fill: none; stroke: #e23b44; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1) rotate(-10deg); }
.upsum { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--red-bg); color: #8f1d24; font-size: 16px; text-align: center; }
.upsum a { color: #8f1d24; font-weight: 700; }
.dl-row { margin: 16px 0 0 54px; }
.guide-done { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 34px 0 0; }
.guide-done b { font-size: 21px; color: var(--green); }
.guide-done .fd-ic { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); }
.guide-done .fd-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.help-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 22px 24px; border-radius: 20px; background: var(--tint); border: 1px solid var(--line); }
.help-card > svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.help-card b { font-size: 18px; }
.help-card p { margin: 4px 0 0; color: var(--ink-2); }
.help-card a { color: var(--green); font-weight: 700; }

/* Copy / troubleshooting */
.opt-card { margin-top: 22px; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.opt-n { display: inline-block; font-size: 16px; font-weight: 800; color: var(--green); background: var(--green-bg); border: 1px solid var(--green-line); padding: 3px 12px; border-radius: 999px; }
.opt-card h2 { font-size: 22px; margin: 12px 0 16px; letter-spacing: -.01em; }

/* Kontakt */
.contact-card { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), border-color .2s; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--green); }
.cc-ic { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--green-bg); border: 1px solid var(--green-line); }
.cc-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-txt { flex: 1; min-width: 0; }
.cc-txt small { display: block; font-size: 16px; font-weight: 600; color: var(--muted); }
.cc-txt b { display: block; font-size: 24px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cc-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.cc-meta svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Erklärvideo / Indikator */
.vimeo { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--tint); border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgba(12,17,23,.4); }
.vimeo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-cta { display: flex; justify-content: center; margin-top: 30px; }
.perks { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.perks li { display: flex; align-items: center; gap: 9px; font-size: 17px; }
.perks span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-bg); border: 1px solid var(--green-line); }
.perks svg { width: 19px; height: 19px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ind-video { max-width: 620px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(12,17,23,.4); }
.ind-video video { width: 100%; display: block; }
.fit { margin: 28px auto 0; width: fit-content; }
.fit b { display: block; text-align: center; font-size: 18px; margin-bottom: 10px; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.optin { max-width: 460px; margin: 30px auto 0; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(12,17,23,.35); display: grid; gap: 12px; }
.optin input { width: 100%; padding: 18px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--tint); font: inherit; font-size: 17px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.optin input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(27,122,75,.12); background: #fff; }
.optin .btn { padding: 20px; }
.optin-note { margin: 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.optin-err { margin: 0; text-align: center; font-size: 16px; color: #8f1d24; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Legal */
.legal .sp-title { margin-bottom: 28px; }
.legal-date { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.legal-body { font-size: 17px; color: var(--ink-2); }
.legal-body h2 { font-size: 22px; color: var(--ink); margin: 36px 0 10px; letter-spacing: -.01em; }
.legal-body h3 { font-size: 19px; color: var(--ink); margin: 24px 0 8px; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin: 4px 0; }

/* Footer */
.sp-foot { border-top: 1px solid var(--line); padding: 32px 0 40px; text-align: center; }
.sp-foot .risk { max-width: 760px; margin: 0 auto 18px; font-size: 16px; color: var(--muted); line-height: 1.6; }
.sp-foot nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; }
.sp-foot nav a { color: var(--ink-2); text-decoration: none; font-size: 16px; }
.sp-foot nav a:hover { color: var(--ink); }

/* Phone: everything centred */
@media (max-width: 640px) {
  .sp-wrap { padding: 0 18px; }
  .sp-head-in { height: 64px; }
  .sp-back { left: 12px; padding-right: 8px; }
  .sp-back { font-size: 0; } .sp-back svg { width: 24px; height: 24px; }
  .sp-main { padding: 40px 0 80px; }
  .gstep { padding: 20px 16px; text-align: center; }
  .gs-row { flex-direction: column; align-items: center; gap: 10px; }
  .gs-row p { margin: 0; }
  .gstep + .gstep::before { left: 50%; }
  .icon-shot { margin-left: auto; margin-right: auto; }
  .dl-row { margin-left: 0; display: flex; justify-content: center; }
  .copy-row.left { justify-content: center; }
  .pc-top { flex-direction: column-reverse; text-align: center; }
  .devices { gap: 12px; }
  .device { padding: 26px 12px 20px; }
  .device img { width: 90px; height: 90px; }
  .rec-tag { position: static; order: -1; }
  .contact-card { flex-direction: column; text-align: center; }
  .help-card { flex-direction: column; align-items: center; text-align: center; }
  .opt-card { text-align: center; }
  .legal .sp-title { text-align: center; }
}

/* Device pictures as round crops (like on hixton.de) */
.device img { border-radius: 50%; object-fit: cover; background: var(--tint); box-shadow: 0 0 0 1px var(--line); }

/* Screenshots with the original red arrows/boxes on top (positions in % of the image) */
.shot { position: relative; overflow: visible; border: 0; background: none; box-shadow: none; border-radius: 0; }
.shot > img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 16px 36px -26px rgba(12,17,23,.35); background: #fff; }
.phone-shot > img { border-radius: 22px; }
.icon-shot > img { border: 0; box-shadow: none; border-radius: 28px; }
.ov { position: absolute; display: block; pointer-events: none; z-index: 2; }
.ov > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.copy-arrow { display: inline-block; width: 44px; height: 41px; }
/* Frame + crop exactly like hixton.de so the red marks land on the same spot */
.shot[style*="aspect-ratio"] > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* "contain" screenshots: no frame box around the letterboxed area */
.shot[style*="aspect-ratio"] > img[style*="contain"] { border: 0; box-shadow: none; background: transparent; border-radius: 0; }

/* ===== Uniform straight arrows + red boxes ===== */
.ov.box { position: absolute; z-index: 2; pointer-events: none; border: 2px solid #ff0000; border-radius: 2px; box-sizing: border-box; }
.arr { position: absolute; z-index: 3; width: 0; height: 0; pointer-events: none; }
.arr svg, .copy-arr svg { display: block; width: 20px; height: 44px; overflow: visible; }
.arr svg { position: absolute; left: -10px; top: -42px; transform-origin: 10px 42px; transform: rotate(var(--a, 0deg)); }
.arr path, .copy-arr path { fill: none; stroke: #ff0000; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.arr path.hd, .copy-arr path.hd { fill: #ff0000; stroke-width: 1.5; }
.copy-arr { display: inline-block; transform: rotate(90deg); margin-left: 6px; }
@media (max-width: 640px) { .arr svg { transform: rotate(var(--a, 0deg)) scale(.8); } }

/* One arrow per screenshot, glued to its red box (centred above it, pointing down; or below, pointing up) */
.box-arr { position: absolute; left: 50%; bottom: 100%; width: 20px; height: 44px; margin: 0 0 3px -10px; pointer-events: none; }
.box-arr svg { display: block; width: 20px; height: 44px; overflow: visible; }
.box-arr path { fill: none; stroke: #ff0000; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.box-arr path.hd { fill: #ff0000; stroke-width: 1.5; }
.box-arr.up { bottom: auto; top: 100%; margin: 3px 0 0 -10px; transform: rotate(180deg); }
@media (max-width: 640px) { .box-arr { width: 16px; height: 34px; margin-left: -8px; } .box-arr.up { margin-left: -8px; } .box-arr svg { width: 16px; height: 34px; } }

/* More room before the disclaimer/footer on short pages */
.sp-main { min-height: calc(100vh - 72px); padding-bottom: 180px; }
.sp-main::after { content: ""; position: absolute; inset: auto 0 0; height: 260px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; background-position: center bottom;
  mask-image: radial-gradient(60% 80% at 50% 100%, #000, transparent); -webkit-mask-image: radial-gradient(60% 80% at 50% 100%, #000, transparent); }
@media (max-width: 640px) { .sp-main { min-height: calc(100vh - 64px); padding-bottom: 140px; } }
/* Homepage logo in the sub page header */
.sp-logo { color: var(--ink); text-decoration: none; }
span.sp-logo { cursor: default; }
.sp-title.success { padding-top: 24px; }
.sp-head .lang { position: absolute; right: 24px; }
@media (max-width: 640px) { .sp-head .lang { right: 12px; } .sp-head .lang a { padding: 5px 8px; } }
