/* FORMPACE — Website (Design v2: Papier, Anthrazit, ein Akzent) */
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Regular.otf'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Medium.otf'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-SemiBold.otf'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Bold.otf'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-ExtraBold.otf'); font-weight: 800; font-display: swap; }

:root {
  --paper: #F6F4F1; --card: #FFFFFF; --ink: #1B1917; --ink2: #3A3733;
  --muted: #6E6961; --line: #E4E0DA; --accent: #C94F1E;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--paper); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; }
section { padding: 0 24px; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand span { font-weight: 800; letter-spacing: 0.32em; font-size: 13px; }
.nav-cta { font-size: 13px; font-weight: 600; color: var(--paper); background: var(--ink);
  padding: 9px 16px; border-radius: 10px; text-decoration: none; }

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; font-weight: 600;
  font-size: 14.5px; text-decoration: none; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }

/* Akt 1 — Bühne (Laptop → Handy) */
.stage { height: 420vh; position: relative; padding: 0; }
.stage-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; }
.hero-copy { text-align: center; padding: 96px 24px 0; max-width: 760px;
  transition: opacity .2s linear; }
.hero-copy h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
.hero-copy p { margin: 18px auto 26px; max-width: 560px; font-size: 16.5px; color: var(--ink2); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-hint { display: inline-block; margin-top: 26px; font-size: 12px; color: var(--muted);
  letter-spacing: 0.14em; text-transform: uppercase; }

.scene { position: relative; flex: 1; width: 100%; display: flex;
  align-items: center; justify-content: center; perspective: 1400px; }
.laptop { position: relative; width: min(760px, 82vw); transform-style: preserve-3d; will-change: transform; }
.laptop-screen { border: 10px solid #23201d; border-bottom-width: 14px; border-radius: 18px 18px 4px 4px;
  overflow: hidden; background: #23201d; box-shadow: 0 40px 90px rgba(27,25,23,.28); position: relative; aspect-ratio: 16/10; }
.laptop-screen img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; transition: opacity .3s linear; }
#laptopShot2 { opacity: 0; }
.laptop-base { height: 16px; margin: 0 -7%; background: linear-gradient(#e8e4de, #cfc9c0);
  border-radius: 0 0 16px 16px; box-shadow: 0 18px 40px rgba(27,25,23,.18); }
.phone { position: absolute; right: 8%; bottom: 6%; width: min(230px, 30vw);
  opacity: 0; transform: translateY(120px); will-change: transform, opacity; }
.phone-screen { border: 9px solid #23201d; border-radius: 30px; overflow: hidden;
  aspect-ratio: 9/19; background: #23201d; box-shadow: 0 30px 70px rgba(27,25,23,.3); position: relative; }
.phone-screen img { position: absolute; top: -4%; left: 0; width: 100%; height: 108%; object-fit: cover; }
.scene-caption { position: absolute; left: 50%; transform: translateX(-50%); bottom: 4%;
  font-size: 14px; font-weight: 600; color: var(--ink2); opacity: 0; transition: opacity .25s; }

/* Akt 2 — Ein Faden (Schwimmer → Rad → Läufer) */
.thread { height: 300vh; padding: 0; background: var(--ink); color: var(--paper); position: relative; }
.thread-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px; padding: 0 24px; overflow: hidden; }
.thread h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; text-align: center; }
.thread-stage { width: min(900px, 92vw); }
#threadSvg { width: 100%; height: auto; }
#threadSvg path, #threadSvg circle { stroke: var(--paper); }
#threadSvg #baseline { stroke: color-mix(in srgb, var(--paper) 30%, transparent); }
#figSwim, #figBike, #figRun { opacity: 0; will-change: opacity, transform; }
.thread-sub { max-width: 620px; text-align: center; font-size: 15px;
  color: color-mix(in srgb, var(--paper) 78%, transparent); }

/* Bühnen-Live-Text über dem Laptop (wechselt mit den Phasen) */
.stage-live { min-height: 26px; font-size: 15px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.01em; opacity: 0; transition: opacity .25s; padding: 8px 24px 0; text-align: center; }

/* Akt 2b — Routen-Tour */
.maptour { height: 320vh; padding: 0; position: relative; }
.maptour-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px; padding: 80px 24px 30px; overflow: hidden; }
.maptour h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; text-align: center; }
.maptour-frame { position: relative; width: min(880px, 92vw); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(27,25,23,.16); }
.maptour-frame img { width: 100%; display: block; }
.callout { position: absolute; max-width: 300px; background: var(--ink); color: var(--paper);
  font-size: 13.5px; font-weight: 600; line-height: 1.5; padding: 12px 16px; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(27,25,23,.32); opacity: 0; transform: translateY(14px);
  transition: opacity .3s, transform .3s; }
.callout::after { content: ''; position: absolute; left: 24px; bottom: -7px; width: 14px; height: 14px;
  background: var(--ink); transform: rotate(45deg); }
#callout1 { top: 24%; left: 6%; }
#callout2 { bottom: 8%; right: 5%; }
#callout2::after { left: auto; right: 24px; }
#callout3 { top: 42%; left: 24%; }
.callout.on { opacity: 1; transform: none; }
.map-attrib { font-size: 11px; color: var(--muted); }

/* Akt 3 — Claims */
.claims { max-width: 1100px; margin: 0 auto; padding: 110px 24px 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.claim { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
  opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .5s ease; }
.claim.vis { opacity: 1; transform: none; }
.claim h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.claim p { font-size: 14px; color: var(--ink2); }

/* Akt 4 — Shots */
.shots { max-width: 1100px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.shots h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 40px; }
.shots-row { display: grid; grid-template-columns: 1.4fr 1.4fr 0.7fr; gap: 20px; align-items: start; }
.shots-row figure { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; opacity: 0; transform: translateY(26px); transition: opacity .5s, transform .5s; }
.shots-row figure.vis { opacity: 1; transform: none; }
.shots-row img { width: 100%; }
.shots-row figcaption { font-size: 12px; color: var(--muted); padding: 12px 14px; text-align: left; }

/* Akt 5 — Problemlöser */
.solve { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 90px 24px; }
.solve h2 { text-align: center; font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 44px; }
.solve-grid { max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px 40px; }
.solve-item { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink2); }
.solve-item strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 5px; }

/* Download */
.download { max-width: 900px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.download h2 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 800; }
.dl-sub { color: var(--ink2); margin: 12px 0 36px; }
.dl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dl-card h3 { font-size: 21px; font-weight: 800; }
.dl-card p { font-size: 13.5px; color: var(--ink2); }
.dl-note { font-size: 11.5px; color: var(--muted); line-height: 1.55; }
.dl-legal { margin-top: 34px; font-size: 12px; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-inner { max-width: 1100px; margin: 0 auto; padding: 26px 24px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); }
.foot a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.foot a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .shots-row { grid-template-columns: 1fr; }
  .phone { right: 4%; }
  .stage { height: 360vh; }
}
@media (prefers-reduced-motion: reduce) {
  .stage { height: auto; } .stage-sticky { position: static; height: auto; }
  .maptour { height: auto; } .maptour-sticky { position: static; height: auto; }
  .callout { opacity: 1; transform: none; }
  .thread { height: auto; } .thread-sticky { position: static; height: auto; padding: 80px 24px; }
  #figSwim, #figBike, #figRun { opacity: 1; }
  .claim, .shots-row figure { opacity: 1; transform: none; }
  .phone { opacity: 1; transform: none; position: static; margin: 20px auto 0; }
}
