/* MSTagesjournal · Produktseite – nur Seitenspezifisches, Basis in site.css */

/* ---------- Hero ---------- */
.ms-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(60% 80% at 82% 38%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%),
    var(--ink);
}
.ms-hero-inner { display: grid; gap: clamp(32px, 5vw, 64px); }
.ms-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; max-width: 680px; }
.ms-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.ms-hero h1 em { font-style: normal; color: var(--acc); }
.ms-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ms-hero-visual { min-width: 0; }

/* Geräte-Gruppe in voller Breite. Größen im echten Verhältnis: MacBook Air 15" 340 mm, iPad Air 13" 215 mm,
   iPhone 16 Pro Max 78 mm, Watch 46 mm. Die Bilder tragen Schatten und 10 % Rand bereits in sich,
   deshalb hier kein filter: drop-shadow (Safari zeichnet den sonst als Rechteck, solange animiert wird). */
.ms-hero .lineup { position: relative; width: min(100%, 1080px); margin-inline: auto; aspect-ratio: 1100 / 640; }
.ms-hero .lineup img { position: absolute; display: block; height: auto; }
.ms-hero .lineup .g-mac { right: 0; top: 0; width: 70%; }
.ms-hero .lineup .g-ipad { left: 0; bottom: 0; width: 44%; }
.ms-hero .lineup .g-iphone { left: 29%; bottom: -1%; width: 17.5%; }
.ms-hero .lineup .g-watch { right: 1%; bottom: 0; width: 11.5%; }
/* Einfahren wie in site.css, hier für die gerahmten Bilder */
.ms-hero .lineup img { opacity: 0; transform: translateY(60px) scale(.96); transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1); }
.ms-hero .lineup.on img { opacity: 1; transform: none; }
.ms-hero .lineup.on .g-mac { transition-delay: .05s; } .ms-hero .lineup.on .g-ipad { transition-delay: .25s; } .ms-hero .lineup.on .g-iphone { transition-delay: .45s; } .ms-hero .lineup.on .g-watch { transition-delay: .6s; }

/* ---------- Hinweis unter dem Hero ---------- */
.ms-hero + .container { margin-top: clamp(24px, 4vw, 40px); }

/* ---------- Showcase (Sticky) ---------- */
.showcase {
  display: grid; align-items: start; gap: clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
.showcase-stage {
  position: sticky; top: calc(var(--header-h) + 40px);
  display: grid; place-items: center;
}
.stage-phone {
  position: relative; aspect-ratio: 900 / 1680;
  width: min(380px, calc((100svh - var(--header-h) - 120px) * .536));
}
.stage-phone img { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; transition: opacity .6s ease; }
.stage-phone img.on { opacity: 1; }

.showcase-steps { display: grid; }
.show-step {
  min-height: 85vh; display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.show-step h3 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.03em; }
.show-step p:not(.eyebrow) { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 30em; }
.show-step strong { color: var(--text); font-weight: 600; }
.step-shot { display: none; margin: 0; }

/* Abdunkeln nur, wenn das Skript die aktive Stufe verwaltet */
.showcase.is-live .show-step { opacity: .28; transition: opacity .5s ease; }
.showcase.is-live .show-step.on { opacity: 1; }

/* ---------- Preise ---------- */
.plans { align-items: stretch; }
.plans .card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 34px); }
.plans .card.featured {
  border-color: color-mix(in srgb, var(--acc) 50%, var(--line));
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--acc) 16%, transparent), transparent 70%),
    linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
}
.plans .big {
  font-family: var(--f-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  letter-spacing: -.04em; color: var(--acc); font-variant-numeric: tabular-nums;
}
.plans .big small { font-family: var(--f-body); font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.plans .plan-alt { color: var(--muted); }
.plans .checklist { margin-top: 8px; }
.plan-note { margin-top: 20px; }

/* ---------- FAQ & Abschluss ---------- */
.faq-more { margin-top: 24px; }
.ms-closing {
  padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.ms-closing .section-head { margin: 0; }
.ms-closing-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Schmale Viewports ---------- */
@media (max-width: 860px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-stage { display: none; }
  .show-step { min-height: 0; padding-block: 28px; }
  .show-step + .show-step { border-top: 1px solid var(--line); }
  .step-shot { display: block; margin-top: 12px; }
  .step-shot img { width: min(100%, 300px); height: auto; margin-inline: auto; }
  .showcase.is-live .show-step { opacity: 1; }
}

/* ---------- Apple-Badge „Laden im App Store" ----------
   Nach den Apple-Richtlinien: unverändert, mindestens 40 px hoch, Freiraum
   ringsum ein Viertel der Badge-Höhe. Die weiße Variante gehört auf dunklen Grund. */
.store-badge { display: inline-flex; align-items: center; padding: 13px 0; border-radius: 8px; }
.store-badge img { display: block; height: 53px; width: auto; }
.store-badge:hover img { opacity: .92; }
.store-badge:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; }
.ms-hero-cta, .ms-closing-cta { align-items: center; }
