/* mactools – Ergänzung zum Landingkit für Mac-Apps (Quelle: web/_shared/mac.css, build.py kopiert).
   kit.css bleibt unverändert; hier nur, was eine Mac-Seite anders braucht:
   Mac-Fenster statt Handyrahmen, „Bald im Mac App Store“-Hinweis, keine Handy-Download-Leiste. */

/* ---------- Mac-Fenster (Screenshot mit transparentem Rand, Schatten per CSS) ---------- */
.mac-shot img {
    width: 100%; height: auto;
    filter: drop-shadow(0 28px 50px rgba(20, 24, 40, 0.22)) drop-shadow(0 3px 8px rgba(20, 24, 40, 0.14));
}
html[data-theme="dark"] .mac-shot img {
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
}

.hero-device.mac-hero { max-width: 1060px; padding: 0 var(--pad); }
.hero-device.mac-hero .mac-shot { margin-bottom: -5%; }

.stage-media.mac-media { max-width: 640px; }
.stage-grid:has(.mac-media) { grid-template-columns: 0.85fr 1.15fr; }
.stage-grid.flip:has(.mac-media) { grid-template-columns: 1.15fr 0.85fr; }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
        .stage-media .mac-shot { animation: device-rise linear both; animation-timeline: view(); animation-range: entry 12% cover 42%; }
    }
}

@media (max-width: 900px) {
    .stage-grid:has(.mac-media), .stage-grid.flip:has(.mac-media) { grid-template-columns: 1fr; }
    .stage-media.mac-media { max-width: 620px; }
}

/* ---------- Mac App Store: Badge (offiziell) bzw. „Bald“-Hinweis ---------- */
.stores img[data-mas-badge] { height: 50px; width: auto; }
.mas-soon {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 12px;
    border: 1px solid var(--stage-line); background: var(--stage-hair);
    font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--hero-text); white-space: nowrap;
}
@media (max-width: 420px) { .mas-soon { font-size: 14.5px; padding: 11px 14px; gap: 8px; } }
.mas-soon svg { width: 20px; height: 20px; flex: none; color: var(--stage-accent); }
.hero .mas-soon { border-color: rgba(127, 127, 127, 0.28); background: rgba(127, 127, 127, 0.08); }
.cta .mas-soon { color: var(--stage-text); }
.s-light .mas-soon, .s-gray .mas-soon { color: var(--ink); border-color: rgba(0, 0, 0, 0.14); background: rgba(0, 0, 0, 0.035); }
.s-light .mas-soon svg, .s-gray .mas-soon svg { color: var(--brand-deep); }

/* ---------- App-Symbol im Mac-Stil (eigene Form mit transparentem Rand) ---------- */
.cta .app-icon.mac-icon { width: 104px; height: 104px; border-radius: 0; box-shadow: none; margin-bottom: 22px; filter: drop-shadow(0 16px 30px var(--glow1)); }

/* ---------- Handy-Download-Leiste gibt es auf Mac-Seiten nicht ---------- */
.getbar { display: none !important; }
body.has-getbar footer { padding-bottom: 52px; }


/* Hochformatige bzw. schmale App-Fenster im Hero nicht riesig ziehen */
.hero-device.mac-hero.portrait { max-width: 640px; }
.hero-device.mac-hero.narrow { max-width: 820px; }
