/* studiojukic.ch · dark hero band with a 9:16 reel mock (pure CSS), then light reading sections: steps, Q&A cards, price cards.
   Fraunces (display) + Inter (text), the same faces as the reel overlays; self-hosted, SIL OFL 1.1. No script, no outside requests. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --paper: #fafaf7;
  --card: #ffffff;
  --ink: #141716;
  --muted: #59605c;
  --line: #e3e4de;
  --soft: #f1f2ed;
  --accent: #1e5b47;
  --accent-hover: #164536;
  --accent-ink: #ffffff;
  --night: #0f1312;
  --night-2: #171c1a;
  --night-ink: #eef0ec;
  --night-muted: #a4aca7;
  --mint: #8fdbbf;
  --mint-hover: #aee6d1;
  --mint-ink: #0b1f17;
  --todo: #ffe27a;
  --todo-ink: #3d2f00;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --measure: 40rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121514;
    --card: #181c1a;
    --ink: #eceeea;
    --muted: #a3aaa6;
    --line: #2a2f2c;
    --soft: #1a1e1c;
    --accent: #8fdbbf;
    --accent-hover: #aee6d1;
    --accent-ink: #0b1f17;
    --night: #0b0e0d;
    --night-2: #141917;
    --todo: #6b5600;
    --todo-ink: #fff3c4;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 20px; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; }
p, ul, ol { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li + li { margin-top: 0.4em; }

.draft { background: var(--todo); color: var(--todo-ink); text-align: center; font-size: 0.85rem; font-weight: 600; padding: 6px 16px; }
mark.todo { background: var(--todo); color: var(--todo-ink); padding: 0 0.2em; border-radius: 3px; }

/* Buttons */
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  padding: 0.9rem 1.4rem; border-radius: 999px; line-height: 1.2;
}
.button:hover { background: var(--accent-hover); color: var(--accent-ink); }
.dark .button, .cta-band .button { background: var(--mint); color: var(--mint-ink); }
.dark .button:hover, .cta-band .button:hover { background: var(--mint-hover); color: var(--mint-ink); }
.button.small { padding: 0.5rem 0.95rem; font-size: 0.9rem; white-space: nowrap; }

/* Top bar */
.dark { background: var(--night); color: var(--night-ink); }
.light { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px 26px; padding-block: 18px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: inherit; text-decoration: none; margin-right: auto; white-space: nowrap; }
@media (max-width: 420px) { .top-in { gap: 10px 12px; } .brand { font-size: 1.15rem; } }
.nav { display: none; gap: 24px; }
.nav a { color: inherit; opacity: 0.78; text-decoration: none; font-size: 0.95rem; }
.nav a:hover { opacity: 1; color: inherit; }
.lang { font-size: 0.8rem; font-weight: 600; color: inherit; opacity: 0.75; text-decoration: none; border: 1px solid currentColor; border-radius: 999px; padding: 2px 9px; }
.lang:hover { opacity: 1; color: inherit; }
@media (min-width: 820px) { .nav { display: flex; } }

/* Hero */
.hero-in { display: grid; gap: 40px 64px; align-items: center; padding-block: 28px 64px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); padding-block: 48px 88px; } }
.hero-text { min-width: 0; }
.eyebrow { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mint); margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.7rem); margin-bottom: 22px; }
.hero-text p { color: var(--night-ink); font-size: 1.15rem; max-width: 34rem; }
.hero-text p.cta { margin: 30px 0 22px; }
.hero-text > p:last-child { font-size: 0.92rem; color: var(--night-muted); max-width: 34rem; margin-bottom: 0; }
.hero-text a:not(.button) { color: var(--mint); }

/* Reel mock: a phone frame cycling through 3 scenes and the end card (12 s), the real overlay's elements on top. */
/* Stage (420 x 520 units): 3 photo tiles on the left, dotted paths with moving dots, the phone on the right. All in %. */
.stage-wrap { width: min(420px, 92vw); margin: 0 auto; }
.stage { position: relative; display: block; width: 100%; aspect-ratio: 420 / 520; }
.tiles { position: absolute; inset: 0; }
.tile {
  position: absolute; left: 0; width: 22.8%; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 6px 7px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  font-size: clamp(0.55rem, 1.6vw, 0.7rem); font-weight: 600; color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.85);
  animation: sway 5s ease-in-out infinite;
}
.tile span { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.tl1 { top: 11.5%; transform-origin: 50% -20%; }
.tl2 { top: 38.5%; animation-delay: -1.6s; }
.tl3 { top: 65.4%; animation-delay: -3.2s; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow path { fill: none; stroke: var(--night-muted); stroke-width: 1.4; stroke-dasharray: 3 5; opacity: 0.7; }
.flow circle { fill: var(--mint); }
.phone {
  position: absolute; left: 40.5%; top: 7.3%; width: 59.5%; display: block;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out;
}
.screen {
  display: block; position: relative; aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden;
  background: var(--night-2); border: 8px solid #050606; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.chips button {
  font: inherit; font-size: 0.78rem; font-weight: 600; cursor: pointer; padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(238, 240, 236, 0.35); background: transparent; color: var(--night-ink);
}
.chips button:hover { border-color: var(--mint); }
.chips button[aria-pressed="true"] { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }
.stage-cap { text-align: center; font-size: 0.82rem; color: var(--night-muted); margin: 12px 0 0; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: cycle 12s infinite both; }
.sc1 { animation-name: cycle1; opacity: 1;
  background: radial-gradient(110% 70% at 30% 72%, #d9a05c 0%, transparent 60%), radial-gradient(80% 55% at 78% 22%, #f2d6ab 0%, transparent 58%), linear-gradient(160deg, #5c3b22, #23170f); }
.sc2 { animation-delay: 3s;
  background: radial-gradient(85% 60% at 68% 66%, #e597a6 0%, transparent 60%), radial-gradient(70% 50% at 26% 28%, #f5d1d8 0%, transparent 60%), linear-gradient(170deg, #4a2c39, #1d1317); }
.sc3 { animation-delay: 6s;
  background: radial-gradient(90% 70% at 50% 62%, #c9a37c 0%, transparent 60%), radial-gradient(60% 40% at 30% 24%, #efe1cd 0%, transparent 60%), linear-gradient(165deg, #3c2c21, #14100c); }
.sc4 { animation-delay: 9s; background: linear-gradient(180deg, #123227, #0a1612); }
.card {
  margin-top: -18%; max-width: 82%; padding: 10px 16px; border-radius: 12px; text-align: center;
  background: rgba(255, 255, 255, 0.9); color: #141716; font-weight: 600; font-size: 0.95rem; line-height: 1.25;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.endname { font-family: var(--display); font-weight: 600; font-size: 1.8rem; color: #ffffff; }
.pill, .ai { position: absolute; top: 16px; font-size: 0.7rem; font-weight: 600; color: #ffffff; z-index: 2; }
.pill { left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); }
.ai { right: 14px; padding: 3px 6px; border-radius: 5px; background: #000000; letter-spacing: 0.04em; }
.tl1 { background: radial-gradient(110% 70% at 30% 72%, #d9a05c 0%, transparent 60%), linear-gradient(160deg, #5c3b22, #23170f); }
.tl2 { background: radial-gradient(85% 60% at 68% 66%, #e597a6 0%, transparent 60%), linear-gradient(170deg, #4a2c39, #1d1317); }
.tl3 { background: radial-gradient(90% 70% at 50% 62%, #c9a37c 0%, transparent 60%), linear-gradient(165deg, #3c2c21, #14100c); }
@keyframes cycle { 0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
@keyframes cycle1 { 0%, 25% { opacity: 1; } 28%, 97% { opacity: 0; } 100% { opacity: 1; } }
/* Chips pin one scene (set by motion.js). */
.screen[data-scene] .scene { animation: none; opacity: 0; transition: opacity 0.35s; }
.screen[data-scene="1"] .sc1, .screen[data-scene="2"] .sc2, .screen[data-scene="3"] .sc3, .screen[data-scene="4"] .sc4 { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .scene, .tile { animation: none; }
  .flow circle { display: none; }
  .phone { transition: none; }
}

/* Trades ticker at the foot of the dark band */
.ticker { overflow: hidden; border-top: 1px solid rgba(238, 240, 236, 0.12); padding-block: 14px; }
.track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.track span { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.25rem; color: var(--night-muted); padding-inline: 26px; white-space: nowrap; }
.track span::after { content: "·"; padding-left: 52px; color: var(--mint); font-style: normal; }
.ticker:hover .track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } }

/* Facts row */
.facts { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
@media (min-width: 820px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts li { margin: 0; padding-top: 14px; border-top: 2px solid var(--ink); }
.facts .num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts .lbl { display: block; margin-top: 8px; color: var(--muted); font-size: 0.95rem; }

/* Reveal on scroll (only when motion.js runs and motion is allowed; the page is complete without it). */
.motion .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.motion .rv.in { opacity: 1; transform: none; }
.motion .rv-group > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s ease var(--d, 0ms); }
.motion .rv-group.in > * { opacity: 1; transform: none; }

/* Sections */
main { padding-block: 16px 24px; }
main section { padding-block: 56px 8px; scroll-margin-top: 16px; }
main section > :not(.price-grid):not(ol) { max-width: var(--measure); }
main h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); margin-bottom: 18px; }
main h3 { font-size: 1.08rem; font-weight: 600; margin: 1.5em 0 0.4em; }
a[id] { display: block; position: relative; top: -16px; }

/* Steps: a real sequence, so numbered; on wide screens a line draws itself through the three steps when they come into view. */
.s-so-laeuft-es ol, .s-how-it-works ol { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 18px; counter-reset: step; position: relative; }
@media (min-width: 820px) {
  .s-so-laeuft-es ol, .s-how-it-works ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before {
    content: ""; position: absolute; left: 22px; right: 22px; top: 44px; height: 2px; background: var(--accent); opacity: 0.35;
    transform-origin: left; transform: scaleX(1);
  }
  .motion .steps::before { transform: scaleX(0); transition: transform 1.2s ease 0.2s; }
  .motion .steps.in::before { transform: scaleX(1); }
  .steps li { position: relative; }
}
.s-so-laeuft-es li, .s-how-it-works li {
  counter-increment: step; margin: 0; padding: 22px 22px 24px; background: var(--soft); border-radius: 16px; font-size: 1rem;
}
.s-so-laeuft-es li::before, .s-how-it-works li::before {
  content: counter(step); display: block; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2.4rem;
  line-height: 1; color: var(--accent); margin-bottom: 12px;
}

/* Q&A cards */
.qa-grid { display: grid; gap: 18px; padding-top: 56px; }
@media (min-width: 900px) { .qa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qa-grid section.qa { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.qa-grid h2 { font-size: 1.35rem; margin-bottom: 12px; }
.qa-grid p { font-size: 0.98rem; }
.qa-grid p:last-child { margin-bottom: 0; }

/* Prices */
.s-preise > h2 + p, .s-prices > h2 + p { color: var(--muted); font-size: 0.95rem; }
.price-grid { display: grid; gap: 18px; margin: 10px 0 8px; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; font-size: 0.97rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .price-card, .qa-grid section.qa { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .price-card:hover, .qa-grid section.qa:hover,
  .motion .rv-group.in > .price-card:hover, .motion .rv-group.in > section.qa:hover {
    transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 23, 22, 0.1); transition-delay: 0ms;
  }
}
.price-card:first-child { border-color: var(--accent); }
.price-card h3 { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; }
.price-card .offer { font-size: 1rem; font-weight: 600; }
.price-card .price { font-family: var(--display); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price-card ul { padding-left: 1.1em; }
.price-card p:last-child, .price-card ul:last-child { margin-bottom: 0; }
.extras h3 { margin-top: 1.2em; }
details.fold { margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 4px; }
details.fold summary { cursor: pointer; font-weight: 600; padding-block: 12px; list-style: none; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::after { content: "+"; float: right; font-weight: 400; font-size: 1.3rem; line-height: 1; }
details.fold[open] summary::after { content: "–"; }

/* Example reel */
.reel-figure { margin: 0; width: min(320px, 100%); }
.reel-figure video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 20px; background: var(--soft); }
.reel-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.reel-slot { width: min(240px, 100%); aspect-ratio: 9 / 16; border: 2px dashed var(--line); border-radius: 20px; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 0.9rem; color: var(--muted); }

/* Closing call to action */
.cta-band { background: var(--night); color: var(--night-ink); text-align: center; margin-top: 64px; }
.cta-band .wrap { padding-block: 56px; }
.band-line { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 22px; text-wrap: balance; }
.cta-band .cta { margin: 0; }

/* Footer */
.foot { color: var(--muted); font-size: 0.88rem; border-top: 1px solid var(--line); }
.foot-in { padding-block: 28px 44px; display: grid; gap: 6px; }
.foot-brand { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: 0; }
.foot p { margin: 0; overflow-wrap: anywhere; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.foot nav a { color: var(--ink); }

/* Legal pages: one quiet column. */
.legal main { max-width: calc(var(--measure) + 40px); }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); margin: 40px 0 16px; }
.legal main section { padding-block: 22px 0; }
.legal main h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.legal main h3 { font-size: 1rem; }

@media (prefers-reduced-motion: no-preference) { .button, .nav a, .lang { transition: background-color 0.15s, color 0.15s, opacity 0.15s; } }
