/* kiro-pflege.css · Szene „Das steckt im Pflege-Abo.“ (S3, Signature von /preise)
   16 gleich lange Takte + 1 Halte-Takt, Klassen r1 … r16 setzt js/kiro-pflege.js aus dem Scroll-Fortschritt (kiro-motion.js, --p).
   Aufbau nach docs/redesign-briefing.md Abschnitt 2: 1. gemeinsam · 2. Handy · 3. Desktop.
   Farben: nur Kiro-Tokens (Farbcheck 13 von 14), die Beispielseite „Salon Beispiel“ nutzt dieselben. */

/* =====================================================================
   1. GEMEINSAM
   ===================================================================== */
:root, :root[data-theme="light"], :root[data-theme="dark"] { --stage-dk: #000000; }

/* ---------- S3 · Das steckt im Pflege-Abo: 16 gleich lange Takte (Klassen r1 … r16 setzt js/kiro-pflege.js nach dem Scroll) ----------
   Ohne JS stehen alle Klassen im Markup, damit das Endbild zu sehen ist. Jede Bewegung läuft kurz und weich ab, rückwärts umkehrbar. */
.s3__panel { position: relative; background: var(--stage-dk); color: #f5f5f7; overflow: hidden; }
:root[data-theme="dark"] .s3__panel { box-shadow: inset 0 0 0 1px #232326; }
/* Abo-Marke über der Überschrift */
.s3__abo { display: inline-flex; align-items: center; gap: .4em; padding: .32em .8em .32em .6em; border-radius: 999px; background: #2740E6; color: #fff; font-weight: 600; }
.s3__abo svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s3 h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; text-wrap: balance; color: #f5f5f7; }
/* Was drin ist: Liste baut sich mit dem Scrollen auf, jeder gezeigte Punkt bekommt einen Haken */
.s3__list { list-style: none; }
.s3__list li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); column-gap: .9em; }
.s3__list li::before { content: ""; grid-row: 1 / span 2; width: 1.5em; height: 1.5em; margin-top: .05em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(243,241,236,.4);
  background: transparent center / 62% no-repeat; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.s3__list li.is-current::before { box-shadow: inset 0 0 0 2px #6a7cff; }
.s3__list li.is-past::before, html:not(.js) .s3__list li::before { box-shadow: none; background-color: #2740E6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6'/%3E%3C/svg%3E"); }
.s3__list b { grid-column: 2; font-weight: 600; color: #f5f5f7; line-height: 1.25; transition: color .35s var(--ease); }
.s3__list p { grid-column: 2; color: #a1a1a6; margin-top: .3em; transition: color .35s var(--ease); }
.s3__list li.is-past:not(.is-current) b { color: color-mix(in srgb, #f5f5f7 80%, transparent); }
.s3__list li.is-past:not(.is-current) p { color: color-mix(in srgb, #a1a1a6 85%, transparent); }
html.js .s3__list li { opacity: 0; transform: translate3d(0, .7rem, 0); transition: opacity .4s var(--ease), transform .5s var(--ease); }
html.js .s3__list li.is-on { opacity: 1; transform: none; }
/* Hinweis für alle, die nicht wissen, dass es weitergeht */
.s3__hint { display: inline-flex; align-items: center; gap: .45em; font-size: .9rem; font-weight: 500; color: #a1a1a6; transition: opacity .4s var(--ease); }
.s3__hint svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: s3-bob 1.6s var(--ease) infinite; }
@keyframes s3-bob { 50% { transform: translateY(.28em); } }
html:not(.js) .s3__hint, .s3.r1 .s3__hint { opacity: 0; }

/* Bühne: Positionen je Ansicht (Handy/Desktop-Block), Innenmaße in em ab --fs */
.sc { --lx: 62; position: relative; width: 100%; container-type: inline-size; font-family: var(--font-body); }
.sc > * { position: absolute; }
.sc__site, .sc__serp, .sc__phone, .sc__chip, .sc__form { font-size: var(--fs); }
.sc__site { background: #ffffff; color: #111111; border-radius: 1.3em; box-shadow: 0 1.6em 3.2em -1.2em rgba(0,0,0,.55); z-index: 2; transform-origin: 50% 100%; }
.sc__bar { display: flex; align-items: center; gap: .5em; height: 2.8em; padding: 0 1.2em; border-bottom: 1px solid #e6e6ea; }
.sc__bar > i { width: .7em; height: .7em; border-radius: 50%; background: #e6e6ea; }
.sc__url { margin-left: 1.1em; flex: 1; display: flex; align-items: center; gap: .5em; height: 1.8em; padding: 0 .9em; border-radius: 2em; background: #f5f5f7; font-size: .92em; color: #56565c; }
.sc__padlock { width: .85em; height: auto; fill: none; stroke: #56565c; stroke-width: 1.6; }
.sc__body { padding: 1.5em 1.7em 1.7em; display: flex; flex-direction: column; }
.sc__brand { font-family: var(--font-display); font-size: 2.1em; letter-spacing: -.03em; line-height: 1; }
.sc__sub { font-size: .95em; color: #56565c; margin-top: .45em; }
.sc__prices { list-style: none; margin-top: 1.2em; }
.sc__prices li { display: flex; justify-content: space-between; font-size: 1.15em; padding: .55em 0; border-top: 1px solid #e6e6ea; }
.sc__prices li:last-child { border-bottom: 1px solid #e6e6ea; }
.sc__flip { position: relative; display: inline-block; min-width: 3.2em; text-align: right; }
.sc__flip em { font-style: normal; display: block; transition: transform .45s var(--ease), opacity .3s var(--ease); }
.sc__flip .new { position: absolute; right: 0; top: 0; color: #2740E6; font-weight: 600; }
.sc__chg { position: relative; }
.sc__chg::before { content: ""; position: absolute; inset: 0 -.7em; border-radius: .5em; background: rgba(39,64,230,.1); transition: opacity .4s var(--ease); }
.sc__chg > span { position: relative; }
.sc__book { align-self: flex-start; margin-top: 1.2em; font-size: .95em; color: #fff; background: #111111; border-radius: 2em; padding: .5em 1.2em; }
.sc__done { left: 1.4em; right: 1.4em; bottom: -1.5em; display: flex; align-items: center; justify-content: center; gap: .5em; height: 3em; border-radius: 2em; background: #2740E6; color: #fff; font-size: 1.02em; font-weight: 500; white-space: nowrap; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.sc__done svg { width: 1.3em; height: 1.3em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc__server { display: grid; z-index: 3; }
.sc__server span { display: flex; align-items: center; gap: .9cqw; padding: 0 2cqw; border-radius: 1cqw; background: #232326; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.sc__server span i { width: 1cqw; height: 1cqw; border-radius: 50%; background: color-mix(in srgb, #f5f5f7 20%, transparent); }
.sc__server span i:first-child { background: #4d63ff; }
.sc__server span:first-child { padding-right: 3.6cqw; } /* Platz für den Haken oben rechts */
.sc__abo { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: calc(var(--fs) * .78); letter-spacing: .03em; color: color-mix(in srgb, #6a7cff 65%, #f5f5f7); /* hell genug auf dem Server-Grau (Kontrast über 4,5:1) */ white-space: nowrap; }
.sc__stored { position: absolute; right: -1.4cqw; top: -1.4cqw; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: #2740E6; display: grid; place-items: center; transition: opacity .25s var(--ease), transform .35s var(--ease); }
.sc__stored svg { width: 58%; height: 58%; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sc__wire { background: #4d63ff; transform-origin: left; transition: transform .7s var(--ease); }
.sc__globe { fill: none; stroke: rgba(243,241,236,.55); stroke-width: 1.2; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.sc__form { display: grid; background: #ffffff; color: #111111; border-radius: 1.1em; padding: 1em 1.1em 1.1em; z-index: 2; font-size: calc(var(--fs) * .95);
  box-shadow: 0 1.6em 3.2em -1.2em rgba(0,0,0,.55); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.sc__ft { font-weight: 600; font-size: 1.05em; margin-bottom: .2em; }
.sc__fl { font-size: .75em; color: #56565c; margin-top: .55em; }
.sc__fv { display: flex; align-items: center; height: 2em; margin-top: .2em; padding: 0 .6em; border: 1px solid #e6e6ea; border-radius: .5em; transition: border-color .2s var(--ease); }
.sc__fv em { font-style: normal; white-space: nowrap; }
.sc__fv.is-typing { border-color: #2740E6; }
.sc__fv.is-typing::after { content: ""; width: 1.5px; height: 1.1em; margin-left: 1px; background: #2740E6; animation: caret 1s steps(1) infinite; }
.sc__fsend { justify-self: start; margin-top: .8em; font-size: .9em; color: #fff; background: #2740E6; border-radius: 2em; padding: .45em 1.1em; }
.sc__lock { height: auto; overflow: visible; z-index: 4; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.sc__shackle { fill: none; stroke: #f5f5f7; stroke-width: 11; stroke-linecap: round; transform-box: view-box; transform-origin: 32px 72px; transition: transform .3s var(--ease); }
.sc__lbody { fill: var(--stage-dk); stroke: #f5f5f7; stroke-width: 7; transition: fill .35s var(--ease), stroke .35s var(--ease); }
.sc__lcheck { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; transition: stroke-dashoffset .3s var(--ease) .1s; }
.sc__lockt { left: calc(var(--lx) * 1cqw); top: calc((var(--wy) - 7.4) * 1cqw); z-index: 4; font-family: var(--font-mono); font-size: calc(var(--fs) * .78); letter-spacing: .04em; color: #6a7cff; white-space: nowrap;
  transform: translate(var(--lt, -50%), -100%); transition: opacity .25s var(--ease), transform .3s var(--ease); }
/* Datenpakete: vom Netz zum Schloss (übereinander gestapelt), dort Zeichensalat und blau, dann zum Server */
.sc__chip { left: calc(var(--gx) * 1cqw); top: calc(var(--wy) * 1cqw); z-index: 5; display: flex; align-items: center; gap: .45em; white-space: nowrap; font-family: var(--font-mono); font-weight: 500; color: #111111;
  background: #ffffff; border: 1px solid rgba(255,255,255,.2); border-radius: 2em; padding: .45em .9em; font-size: calc(var(--fs) * .9);
  --row: calc((var(--k) - 1) * 2.6em);
  transition: transform .6s var(--ease) calc(var(--k) * .1s), opacity .3s var(--ease) calc(var(--k) * .1s), background-color .3s var(--ease), color .3s var(--ease); }
.sc__chip em { font-style: normal; }
.sc__chip svg { width: 0; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; transition: width .3s var(--ease); }
.sc__serp { padding: 1.2em; border-radius: 1.3em; background: #ffffff; color: #111111; z-index: 3; box-shadow: 0 1.6em 3.2em -1.2em rgba(0,0,0,.55); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.sc__q { display: flex; align-items: center; gap: .6em; height: 2.6em; padding: 0 1em; border-radius: 2em; border: 1px solid #e6e6ea; }
.sc__q svg { width: 1.1em; height: 1.1em; fill: none; stroke: #56565c; stroke-width: 1.6; stroke-linecap: round; flex: none; }
.sc__qt { display: inline-block; white-space: nowrap; transition: clip-path .8s steps(20) .2s; }
.sc__res { display: grid; gap: .3em; margin-top: 1.1em; font-size: .92em; }
.sc__res b { font-size: 1.25em; color: #2740E6; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.sc__ru, .sc__rd { color: #56565c; }
.sc__res--hit { position: relative; margin-inline: -.7em; padding: .55em .7em; border-radius: .8em; transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .3s var(--ease); }
.sc__res--hit::after { content: ""; position: absolute; right: 1.4em; top: 50%; width: 2.6em; height: 2.6em; margin-top: -1.3em; border-radius: 50%; border: 2px solid #2740E6; opacity: 0; }
.sc__res:not(.sc__res--hit) i { display: block; height: .8em; border-radius: 1em; background: #e6e6ea; width: 80%; }
.sc__res:not(.sc__res--hit) i + i { width: 55%; }
.sc__phone { padding: .5em; border-radius: 2.4em; background: #232326; box-shadow: 0 1.6em 3.2em -1.2em rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); z-index: 3; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.sc__pscreen { position: relative; height: 100%; border-radius: 2em; background: #f5f5f7; color: #111111; overflow: hidden; }
/* Kirills Handy: Sperrbildschirm → Mitteilung vom Kunden → Chat */
.sc__phone::after { content: "Kirills Handy"; position: absolute; left: 0; right: 0; top: calc(100% + .7em); text-align: center; font-family: var(--font-mono); font-size: .78em; letter-spacing: .04em; color: #6a7cff; }
.sc__home { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 3.6em; transition: opacity .35s var(--ease); }
.sc__clock { font-family: var(--font-display); font-weight: 700; font-size: 3.4em; letter-spacing: -.03em; line-height: 1; }
.sc__date { margin-top: .4em; font-size: .85em; color: #56565c; }
.sc__note { position: absolute; left: .55em; right: .55em; top: .55em; z-index: 3; display: grid; grid-template-columns: 1fr auto; gap: .2em .5em; padding: .75em .85em; border-radius: 1.1em; background: #fff; box-shadow: 0 .7em 1.8em -.6em rgba(0,0,0,.35); font-size: .95em;
  transition: opacity .35s var(--ease), transform .5s var(--ease); }
.sc__note b { font-weight: 600; }
.sc__note small { font-size: .8em; color: #56565c; align-self: center; }
.sc__note span { grid-column: 1 / -1; line-height: 1.3; }
.sc__chat { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7em; padding: 3.5em .8em 1em; transition: opacity .35s var(--ease); }
.sc__ptop { position: absolute; left: 0; right: 0; top: 0; height: 2.8em; display: grid; place-items: end center; padding-bottom: .45em; font-size: .9em; font-weight: 600; border-bottom: 1px solid #e6e6ea; }
.sc__in, .sc__out { font-size: 1.02em; line-height: 1.35; padding: .65em .85em; border-radius: 1.1em; }
.sc__in { align-self: flex-start; max-width: 92%; background: #fff; border-bottom-left-radius: .3em; }
.sc__out { align-self: flex-end; max-width: 92%; background: #2740E6; color: #fff; border-bottom-right-radius: .3em; transition: opacity .35s var(--ease), transform .45s var(--ease); }

/* ---- Startbild jedes Elements (vor seinem Takt) ---- */
.s3:not(.r1) .sc__wire { transform: scaleX(0); }
.s3:not(.r1) .sc__globe { opacity: 0; transform: scale(.8); }
.s3:not(.r2) .sc__site { opacity: 0; transform: translateY(calc(var(--sy) * 1cqw)) scale(.5); }
.sc__site { transition: opacity .35s var(--ease), transform .7s var(--ease); }
.s3:not(.r3) .sc__form, .s3.r7 .sc__form { opacity: 0; transform: translateY(1em); }
.s3:not(.r3) .sc__lock { opacity: 0; transform: scale(.8); }
.s3:not(.r4) .sc__chip { opacity: 0; transform: translate(-50%, -50%) translateY(var(--row)); }
.s3:not(.r5) .sc__shackle { transform: translateY(-24px) rotate(-14deg); }
.s3:not(.r5) .sc__lcheck { stroke-dashoffset: 60; }
.s3:not(.r5) .sc__lockt, .s3.r6 .sc__lockt { opacity: 0; transform: translate(var(--lt, -50%), -100%) translateY(.4em); }
.s3:not(.r6) .sc__stored, .s3:not(.r6) .sc__padlock { opacity: 0; transform: scale(.4); }
.sc__padlock { transition: opacity .3s var(--ease) .5s, transform .4s var(--ease) .5s; }
.s3:not(.r7) .sc__serp { opacity: 0; transform: translateY(2em) scale(.97); }
.s3.r10 .sc__serp { opacity: 0; transform: translateY(-1.5em) scale(.97); }
.sc__qt { clip-path: inset(0 0 0 0); }
.s3:not(.r7) .sc__qt { clip-path: inset(0 100% 0 0); }
.s3:not(.r8) .sc__res--hit { opacity: 0; transform: translateY(.5em); }
.s3:not(.r10) .sc__phone { opacity: 0; transform: translateX(3em); }
/* 11: Mitteilung rutscht oben rein. 12: angetippt, Chat öffnet sich. 13: „Mach ich.“ 15: „Erledigt, ist online.“ */
.s3:not(.r11) .sc__note { opacity: 0; transform: translateY(-130%); }
.s3.r12 .sc__note { opacity: 0; transform: scale(.94); }
.s3.r12 .sc__home { opacity: 0; }
.s3:not(.r12) .sc__chat { opacity: 0; }
.s3:not(.r13) .sc__out--1, .s3:not(.r15) .sc__out--2 { opacity: 0; transform: translateY(.6em); }
.s3:not(.r14) .sc__flip .new { opacity: 0; transform: translateY(70%); }
.s3.r14 .sc__flip .old { opacity: 0; transform: translateY(-70%); }
.s3:not(.r14) .sc__chg::before { opacity: 0; }
.s3:not(.r15) .sc__done { opacity: 0; transform: translateY(.8em) scale(.96); }

/* ---- Takte ---- */
/* 4: Senden gedrückt, Pakete fahren zum Schloss und halten dort übereinander */
.s3.r4 .sc__fsend { animation: s3-press .35s var(--ease); }
@keyframes s3-press { 40% { transform: scale(.9); background: #1c31c4; } }
.s3.r4 .sc__chip { opacity: 1; transform: translate(-50%, -50%) translateX(calc((var(--lx) + var(--lr) - var(--gx)) * 1cqw)) translateX(50%) translateY(var(--row)); } /* linke Kante direkt rechts neben dem Schloss, Schloss bleibt frei */
/* 5: Schloss rastet ein, Klartext wird Zeichensalat (kiro-pflege.js), Pakete werden blau */
.s3.r5 .sc__chip { background: #2740E6; color: #fff; }
.s3.r5 .sc__chip svg { width: .85em; }
.s3.r5:not(.r6) .sc__lock { transform: scale(1.12); }
.s3.r5 .sc__lbody { fill: #2740E6; stroke: #2740E6; }
/* 6: Pakete am Server, Haken; Schloss in der Adresszeile */
.s3.r6 .sc__chip { opacity: 0; transform: translate(-50%, -50%) translateX(calc((var(--sx) - var(--gx)) * 1cqw)) scale(.8);
  transition: transform .6s var(--ease) calc(var(--k) * .1s), opacity .25s var(--ease) calc(.4s + var(--k) * .1s); }
.sc__stored { transition-delay: .55s; }
.s3:not(.r6) .sc__stored { transition-delay: 0s; }
/* 9: Ein Kunde klickt auf deinen Eintrag */
.s3.r9 .sc__res--hit { background: rgba(39,64,230,.09); }
.s3.r9 .sc__res--hit::after { animation: sc-ping .9s var(--ease) .1s; }
/* 11: Mitteilung kommt mit kleinem Nachfedern an */
.s3.r11:not(.r12) .sc__note { animation: s3-note .55s var(--ease); }
@keyframes s3-note { 0% { transform: translateY(-130%); } 70% { transform: translateY(6%); } 100% { transform: none; } }
@keyframes sc-ping { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.2); } }
.s3.r15 .sc__done { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  .s3__hint svg { animation: none; }
}

/* =====================================================================
   2. HANDY
   ===================================================================== */
@media (max-width: 47.99rem) {
  /* S3: Bühne oben, darunter Marke, Überschrift und nur der aktuelle Punkt der Liste */
  .s3.scene { --scene-length: calc(100svh + 17 * 46svh); } /* 16 Takte + 1 Halte-Takt, alle gleich lang */
  html.js .s3 .scene__stage { top: var(--header-h); height: calc(100svh - var(--header-h)); align-items: stretch; }
  .s3__panel { display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; height: 100%; padding: .8rem 0 1.2rem; }
  /* Handy: Bühne geht randlos über die volle Breite, die 1-px-Kante aus dem Dunkelmodus wirkte dort wie ein Rahmen am Bildschirmrand */
  :root[data-theme="dark"] .s3__panel { box-shadow: none; }
  .s3__stage { order: -1; padding: 0 .5rem; }
  .s3__copy { padding: 0 var(--pad); }
  .s3__abo { font-size: .78rem; }
  .s3 h2 { font-size: clamp(1.75rem, 8vw, 2.3rem); margin-top: .55rem; }
  .s3__list { display: grid; margin-top: .9rem; font-size: .95rem; }
  html.js .s3__list li { grid-area: 1 / 1; }
  html.js .s3__list li:not(.is-current) { opacity: 0; transform: translate3d(0, .5rem, 0); }
  /* reduced motion: keine stehende Szene, also alle Punkte untereinander zeigen */
  @media (prefers-reduced-motion: reduce) { html.js .s3__list li { grid-area: auto; opacity: 1; transform: none; } }
  .s3__hint { margin-top: .7rem; font-size: .82rem; }
  /* Komposition 100 × 112 */
  .sc { aspect-ratio: 100 / 112; --lr: 5.6; --fs: 2.9cqw; --sy: 28; --gx: 86; --sx: 40; --wy: 100.6; --fx: 63.1cqw; --fy: -57.7cqw; }
  .sc__site { left: 2cqw; top: 2cqw; width: 58cqw; }
  .sc__server { left: 4cqw; top: 94cqw; width: 40cqw; gap: 1cqw; }
  .sc__server span { height: 4.4cqw; }
  .sc__server span:first-child { padding-right: 4.4cqw; }
  .sc__abo { font-size: calc(var(--fs) * .64); letter-spacing: 0; } /* passt neben den Haken, sonst verdeckt er „Monat“ */
  .sc__wire { left: 44cqw; top: 100.3cqw; width: 37cqw; height: .6cqw; }
  .sc__lock { left: 57.5cqw; top: 94.5cqw; width: 9cqw; }
  .sc__lockt { left: 66.5cqw; --lt: -100%; } /* rechtsbündig über dem Schloss, die Pakete rechts daneben verdecken nichts */
  .sc__globe { left: 80cqw; top: 92cqw; width: 17cqw; height: 17cqw; }
  .sc__form { left: 62cqw; top: 34cqw; width: 36cqw; font-size: calc(var(--fs) * .88); }
  .sc__serp { left: 5cqw; top: 30cqw; width: 90cqw; }
  .sc__phone { left: 62cqw; top: 3cqw; width: 36cqw; height: 72cqw; }
}

/* =====================================================================
   3. DESKTOP
   ===================================================================== */
@media (min-width: 48rem) {
  /* S3: links Marke, große Überschrift und die wachsende Liste, rechts die Bühne so groß wie möglich */
  .s3.scene { --scene-length: calc(100svh + 17 * 38svh); } /* 16 Takte + 1 Halte-Takt, alle gleich lang */
  html.js .s3 .scene__stage { top: var(--header-h); height: calc(100svh - var(--header-h)); padding: var(--edge, .75rem); align-items: stretch; }
  .s3__panel { display: grid; grid-template-columns: minmax(21rem, 34rem) minmax(0, 1fr); grid-template-areas: "copy stage"; column-gap: clamp(1.5rem, 3.5vw, 4rem);
    height: 100%; min-height: 34rem; border-radius: 2rem; padding: clamp(1.6rem, 3svh, 2.6rem) clamp(1rem, 2vw, 2rem) clamp(1.6rem, 3svh, 2.6rem) max(clamp(2rem, 3.5vw, 3.5rem), calc((100vw - var(--maxw)) / 2 + var(--pad) - var(--edge, .75rem))); }
  .s3__copy { grid-area: copy; align-self: center; }
  .s3__abo { font-size: .92rem; }
  .s3 h2 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); margin-top: clamp(.9rem, 2svh, 1.4rem); }
  .s3__list { display: grid; gap: clamp(.8rem, 1.9svh, 1.25rem); margin-top: clamp(1.4rem, 3.5svh, 2.4rem); font-size: clamp(.98rem, 1.1vw, 1.12rem); }
  .s3__list b { font-size: 1.08em; }
  .s3__hint { margin-top: clamp(1rem, 2.5svh, 1.8rem); }
  .s3__stage { grid-area: stage; min-height: 0; container-type: size; display: grid; place-items: center; }
  /* Komposition 100 × 74, füllt die Bühne in Höhe oder Breite */
  .sc { width: min(100cqw, 100cqh * 100 / 74); aspect-ratio: 100 / 74; --lr: 4.2; --fs: 1.72cqw; --sy: 15; --gx: 85; --sx: 41; --wy: 63.7; --fx: 70.4cqw; --fy: -38.3cqw; }
  .sc__site { left: 0; top: 2cqw; width: 50cqw; }
  .sc__server { left: 4cqw; top: 56cqw; width: 42cqw; gap: .9cqw; }
  .sc__server span { height: 4.6cqw; }
  .sc__wire { left: 46cqw; top: 63.5cqw; width: 34cqw; height: .35cqw; }
  .sc__lock { left: 58.8cqw; top: 58.6cqw; width: 6.4cqw; }
  .sc__globe { left: 79cqw; top: 55cqw; width: 17cqw; height: 17cqw; }
  .sc__form { left: 70cqw; top: 16cqw; width: 28cqw; }
  .sc__serp { left: 55cqw; top: 2cqw; width: 45cqw; }
  .sc__phone { left: 70cqw; top: 0; width: 27cqw; height: 46cqw; }
}
