/* ch!li cooperation — App-Landingpages (Übersicht + je App), Desktop und Mobil.
   Farben pro App kommen als --a1/--a2 aus dem Icon (inline am <main>). */

.ap { color: var(--text); }
.ap img { max-width: 100%; }
.ap-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.ap-hero { position: relative; overflow: hidden; padding: 150px 0 76px; }
.ap-glow {
  position: absolute; inset: -10% -10% auto -10%; height: 110%; pointer-events: none; opacity: 0.55; filter: blur(8px);
  background:
    radial-gradient(560px 380px at 14% 22%, color-mix(in srgb, var(--a1) 70%, transparent), transparent 70%),
    radial-gradient(640px 460px at 86% 42%, color-mix(in srgb, var(--a2) 55%, transparent), transparent 70%);
}
html[data-theme="dark"] .ap-glow { opacity: 0.34; }
.ap-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.ap-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--text-2); text-decoration: none; margin-bottom: 22px; }
.ap-back:hover { color: var(--text); }
.ap-title { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.ap-icon, .ap-mini-icon { border-radius: 22.37%; box-shadow: 0 12px 26px -8px rgba(10, 10, 40, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.ap-icon { width: 92px; height: 92px; flex: none; }
.ap-title h1 { font-family: var(--font-head); font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 0; max-width: none; text-align: left; }
.ap-sub { font-size: 19px; color: var(--text-2); margin: 8px 0 0; }
.ap-lead { font-size: 18px; line-height: 1.6; max-width: 560px; margin: 0 0 26px; color: var(--text); text-align: left; }
.ap-hero-text > .ap-lead:first-child { margin-top: 0; }
.ap-hero-text h1 { text-align: left; margin: 0 0 18px; font-family: var(--font-head); font-size: clamp(38px, 5.2vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }

.ap-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.ap-cta--center { justify-content: center; margin: 40px 0 0; }
.ap-badge { display: inline-block; line-height: 0; }
.ap-badge img { display: none; height: 48px; width: auto; }
.ap-badge .b-de { display: block; }
html[lang="en"] .ap-badge .b-de, html[lang="zh-CN"] .ap-badge .b-de { display: none; }
html[lang="en"] .ap-badge .b-en, html[lang="zh-CN"] .ap-badge .b-zh { display: block; }
.ap-badge.soon { opacity: 0.5; filter: saturate(0.55); pointer-events: none; }
.ap-soon {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--text-2); background: rgba(128, 128, 134, 0.2); border: 1px solid rgba(128, 128, 134, 0.28);
}
.ap-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ap-chips li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text-2); }

/* ---------- iPhone-Duo-Mockup ---------- */
.duo {
  --bz: 1.15cqw; position: relative; margin: 0; container-type: inline-size;
  border-radius: 5.4% / 3.8%;
  box-shadow: 0 34px 60px -22px rgba(10, 10, 40, 0.55), 0 8px 16px -8px rgba(10, 10, 40, 0.3);
}
.duo-frame, .duo-bezel, .duo-screen { display: block; border-radius: inherit; }
.duo-frame { padding: 0.5cqw; background: linear-gradient(145deg, #d9d9de, #8d8d94 45%, #c9c9ce); }
.duo-bezel { padding: var(--bz); background: #050506; }
.duo-screen { position: relative; overflow: hidden; background: #000; border-radius: 4.3% / 3%; }
.duo-screen img { display: block; width: 100%; height: auto; }
.duo--open-quer, .duo--closed-quer { --bz: 0.8cqw; border-radius: 3.8% / 5.4%; }
.duo--open-quer .duo-screen, .duo--closed-quer .duo-screen { border-radius: 3% / 4.3%; }

.ap-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 46px; }
.ap-visual--mix { display: block; width: 100%; max-width: 600px; margin-left: auto; padding: 0; aspect-ratio: 1.1; }
.ap-visual--mix .hero-land { position: absolute; left: 0; top: 6%; width: 90%; transform: rotate(-2.5deg); animation: apfloat 8s ease-in-out infinite; }
.ap-visual--mix .hero-port { position: absolute; right: 1%; bottom: 0; width: 33%; transform: rotate(3.5deg); animation: apfloat 8s ease-in-out -4s infinite; z-index: 2; }
.ap-orbit { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ap-orb { --s: 58px; position: absolute; width: var(--s); height: var(--s); pointer-events: auto; animation: apfloat 6.5s ease-in-out infinite; transition: transform 0.25s; }
.ap-orb:hover { transform: scale(1.12); }
/* Stärker als `.ap--mobile .ap-icon` (72 px), sonst werden die schwebenden Icons mobil hochkant verzerrt. */
.ap .ap-orb img.ap-icon { display: block; width: 100%; height: 100%; }
@keyframes apfloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .ap-visual .duo, .ap-visual .mac, .ap-orb { animation: none; } }

/* MacBook-Rahmen */
.mac { container-type: inline-size; margin: 0; }
.mac-lid { display: block; padding: 0.35cqw; background: linear-gradient(145deg, #dcdce1, #8d8d94 45%, #cdcdd2); border-radius: 2.2% 2.2% 0 0 / 3.4% 3.4% 0 0; box-shadow: 0 34px 60px -26px rgba(10, 10, 40, 0.55); }
.mac-bezel { display: block; padding: 1.1cqw 1.1cqw 1.3cqw; background: #050506; border-radius: inherit; }
.mac-screen { display: block; overflow: hidden; background: #000; border-radius: 0.7cqw; }
.mac-screen img { display: block; width: 100%; height: auto; }
.mac-base { display: block; position: relative; height: 2.4cqw; margin: 0 -4%; background: linear-gradient(#d6d6db, #9a9aa1); border-radius: 0 0 3cqw 3cqw / 0 0 1.4cqw 1.4cqw; box-shadow: 0 18px 30px -16px rgba(10, 10, 40, 0.5); }
.mac-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 55%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.16); border-radius: 0 0 1cqw 1cqw; }
.ap-macs { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 36px; margin-top: 34px; }
.ap-macs .mac { width: min(100%, 560px); }

/* ---------- Abschnitte ---------- */
.ap-section { padding: 76px 0; }
.ap-section h2 { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; text-align: left; }
.ap-section-sub { color: var(--text-2); font-size: 17px; max-width: 640px; margin: 0; }
.ap-features, .ap-more { background: var(--bg-soft); }
.ap-shots h2, .ap-shots .ap-section-sub, .ap-macs-section h2, .ap-macs-section .ap-section-sub, .ap-phones-section h2, .ap-more h2 { text-align: center; margin-left: auto; margin-right: auto; }
.ap-minis { justify-content: center; }

.ap-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 32px; }
.ap-tabs button {
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.ap-tabs button:hover { background: var(--bg-soft); }
.ap-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.ap-panel { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: flex-start; }
.ap-panel[hidden] { display: none; }
/* Ein Duo ist immer gleich groß: alle Hochkant-Bilder (aufgeklappt, zugeklappt, Laptop) haben dasselbe Format, alle Querbilder sind exakt dasselbe Gerät gedreht. */
.ap-panel .duo { --w: 300px; }
.ap-panel .duo--open, .ap-panel .duo--closed, .ap-panel .duo--laptop { width: var(--w); max-width: 100%; }
.ap-panel .duo--open-quer, .ap-panel .duo--closed-quer { width: calc(var(--w) * 1.4155); max-width: 100%; }
.duo--open .duo-screen img, .duo--closed .duo-screen img, .duo--laptop .duo-screen img { aspect-ratio: 720 / 1023; object-fit: cover; }
.duo--open-quer .duo-screen img, .duo--closed-quer .duo-screen img { aspect-ratio: 1000 / 703; object-fit: cover; }

.ap-phones { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 56px; margin: 6px 0 -28px; outline: none; }
.ap-phones .ap-phone { flex: 0 0 210px; scroll-snap-align: start; }
/* iPhone-Rahmen: Maße hängen an der Breite des Geräts (cqw), damit er in jeder Größe stimmt. */
.ap-phone { position: relative; margin: 0; container-type: inline-size; }
.ap-phone-screen {
  position: relative; display: block; overflow: hidden; background: #000; border: 2.3cqw solid #08080a; border-radius: 15.5cqw;
  box-shadow: 0 0 0 0.55cqw #c9c9cf, 0 0 0 0.85cqw #77777e, 0 12cqw 16cqw -9cqw rgba(10, 10, 40, 0.5), 0 3cqw 5cqw -2cqw rgba(10, 10, 40, 0.28);
}
.ap-phone::before, .ap-phone::after { content: ""; position: absolute; width: 1.1cqw; background: #8d8d94; border-radius: 0.6cqw; }
.ap-phone::before { left: -1.7cqw; top: 23%; height: 15%; background: linear-gradient(#8d8d94 0 28%, transparent 28% 40%, #8d8d94 40% 68%, transparent 68% 76%, #8d8d94 76%); }
.ap-phone::after { right: -1.7cqw; top: 30%; height: 11%; }
.ap-phone-screen img { display: block; width: 100%; height: auto; }
.ap-phone figcaption { margin-top: 12px; font-size: 13px; color: var(--text-2); text-align: center; }

.ap-intro { font-size: 18px; line-height: 1.6; max-width: 760px; margin: 14px 0 0; color: var(--text); }
.ap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.ap-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 24px; padding: 24px; box-shadow: var(--shadow-soft); }
.ap-num { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; color: #14123a; background: linear-gradient(120deg, var(--a1), var(--a2)); }
.ap-card h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 14px 0 8px; color: var(--text); }
.ap-card p { font-size: 15.5px; line-height: 1.58; color: var(--text-2); margin: 0; }
.ap-card .ap-ticks { gap: 8px; }
.ap-card .ap-ticks li { font-size: 15px; padding-left: 28px; }
.ap-card .ap-ticks li::before { width: 18px; height: 18px; font-size: 10px; top: 2px; }
.ap-outro { margin: 28px 0 0; max-width: 760px; color: var(--text-2); font-size: 16px; line-height: 1.6; }
.ap-fine { margin: 18px 0 0; max-width: 760px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); }


/* ---------- Werbe-Abschnitte: Nutzen, Schritte, Zielgruppe, Vertrauen, FAQ, Abschluss ---------- */
.ap-promise { font-family: var(--font-head); font-size: clamp(24px, 2.7vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; max-width: 580px; text-align: left; color: var(--text); }
.ap-benefits { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--a1) 14%, var(--bg-soft))); }
.ap-benefits h2 { text-align: center; margin-bottom: 34px; }
.ap-bcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-bcard { padding: 30px; border-radius: 28px; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.ap-bicon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px; border-radius: 20px; font-size: 32px; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 12px 22px -10px color-mix(in srgb, var(--a2) 70%, transparent); }
.ap-bcard h3 { font-family: var(--font-head); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 10px; }
.ap-bcard p { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin: 0; }

.ap-stepsec h2, .ap-aud h2, .ap-trust h2, .ap-faq h2 { text-align: center; }
.ap-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0 0; padding: 0; }
.ap-step { position: relative; padding-top: 6px; }
.ap-step-n { display: block; font-family: var(--font-head); font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: color-mix(in srgb, var(--a2) 82%, #000); opacity: 0.9; }
.ap-step h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 8px 0 8px; }
.ap-step p { font-size: 16px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 340px; }

.ap-aud { background: var(--bg-soft); padding: 56px 0; }
.ap-audchips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 0; padding: 0; }
.ap-audchips li { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-size: 16px; font-weight: 600; background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.ap-audchips li::before { content: "✓"; font-weight: 800; color: color-mix(in srgb, var(--a2) 80%, #000); }

.ap-tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.ap-tcard { padding: 24px; border-radius: 22px; background: var(--bg-soft); border: 1px solid var(--border); }
.ap-tick { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #1fa35c; color: #fff; font-weight: 800; font-size: 16px; }
.ap-tcard h3 { font-size: 18px; font-weight: 700; margin: 14px 0 6px; font-family: var(--font-head); }
.ap-tcard p { font-size: 15px; line-height: 1.55; color: var(--text-2); margin: 0; }
.ap-trust-link { text-align: center; margin: 24px 0 0; }
.ap-trust-link a { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.ap-faq-list { max-width: 820px; margin: 28px auto 0; }
.ap-faq .ap-acc-body p { font-size: 16px; line-height: 1.62; color: var(--text-2); margin: 0; }

.ap-ctaband { position: relative; overflow: hidden; padding: 118px 0; display: flex; align-items: center; text-align: center; background: var(--bg-soft); }
.ap-ctaband .ap-glow { opacity: 0.6; inset: -40% -10% auto -10%; height: 180%; }
.ap-ctaband .ap-wrap { position: relative; width: 100%; }
.ap-cta-icon { display: block; width: 84px; height: 84px; margin: 0 auto 20px; }
.ap-ctaband h2 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0 auto 14px; max-width: 760px; text-align: center; }
.ap-ctaband p { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 600px; margin: 0 auto; }

@media (max-width: 1000px) {
  .ap-bcards, .ap-steps, .ap-tcards { grid-template-columns: 1fr; }
  .ap-steps { gap: 26px; }
  .ap-step p { max-width: none; }
}
.ap--mobile .ap-benefits h2, .ap--mobile .ap-bcards { text-align: left; }
.ap--mobile .ap-benefits h2, .ap--mobile .ap-stepsec h2, .ap--mobile .ap-aud h2, .ap--mobile .ap-trust h2, .ap--mobile .ap-faq h2 { text-align: left; }
.ap--mobile .ap-audchips { justify-content: flex-start; }
.ap--mobile .ap-bcard { padding: 24px; border-radius: 24px; }
.ap--mobile .ap-step-n { font-size: 58px; }
.ap--mobile .ap-ctaband { padding: 88px 0; min-height: 0; }
.ap--mobile .ap-ctaband p { font-size: 17px; }

/* ---------- Datenschutz ---------- */
.ap-priv-sum { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 8px; padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; background: var(--bg-soft); border: 1px solid var(--border); }
.ap-priv-sum::before { content: "✓"; color: #1fa35c; font-weight: 800; }
.ap-stand { font-size: 13px; color: var(--text-2); margin: 6px 0 0; }
.ap-priv-body { max-width: 780px; margin-top: 10px; }
.ap-acc { border-bottom: 1px solid var(--border); }
.ap-acc:first-child { border-top: 1px solid var(--border); }
.ap-acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 2px; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); }
.ap-acc summary::-webkit-details-marker { display: none; }
.ap-acc summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); font-size: 20px; font-weight: 500; line-height: 1; }
.ap-acc[open] summary::after { content: "–"; }
.ap-acc summary:hover { color: var(--accent); }
.ap-acc-body { padding: 0 2px 14px; }
.ap-privacy p, .ap-privacy li { font-size: 15.5px; line-height: 1.65; color: var(--text); }
.ap-privacy p { margin: 0 0 10px; }
.ap-privacy ul, .ap-privacy ol { margin: 0 0 12px 20px; }
.ap-privacy a { color: var(--accent); text-decoration: underline; }
.ap-priv-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ap-privacy .ap-priv-links { margin: 8px 0 0; }
.ap-priv-links a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border); font-weight: 600; text-decoration: none; color: var(--text); }
.ap-priv-links a:hover { background: var(--bg-soft); }

/* ---------- Weitere Apps ---------- */
.ap-minis { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ap-mini { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 16px; background: var(--bg-elev); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; }
.ap-mini:hover { box-shadow: var(--shadow-soft); }
.ap-mini-icon { width: 42px; height: 42px; box-shadow: 0 6px 12px -4px rgba(10, 10, 40, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06); }

/* ---------- Übersicht ---------- */
.ap-appgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ap-appcard {
  display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow-soft);
  background: radial-gradient(280px 170px at 0 0, color-mix(in srgb, var(--a1) 38%, transparent), transparent 72%), var(--bg-elev);
}
.ap-appcard-link { display: block; color: inherit; text-decoration: none; }
.ap-appcard .ap-icon { width: 72px; height: 72px; }
.ap-appcard h3 { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin: 16px 0 2px; }
.ap-appcard .ap-sub { font-size: 15px; margin: 0 0 10px; }
.ap-card-lead { font-size: 14.5px; line-height: 1.55; color: var(--text-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ap-appcard-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 20px; }
.ap-appcard .ap-badge img { height: 38px; }
.ap-appcard .ap-soon { font-size: 12px; padding: 6px 11px; }
.ap-learn { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; }
.ap-learn::after { content: " →"; }
.ap-learn:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ap-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ap-visual { padding-bottom: 44px; }
  .ap-cards, .ap-appgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ap-cards, .ap-appgrid { grid-template-columns: 1fr; }
}

/* ---------- Mobil-Fassung (eigene Titelleiste/Fußzeile) ---------- */
.ap-mtop {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px;
  background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.ap-mlogo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.ap-mlogo img { border-radius: 7px; }
.ap-mapps { font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; padding: 7px 12px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--border); }
.ap--mobile .ap-wrap { padding: 0 18px; }
.ap--mobile .ap-hero { padding: 26px 0 34px; }
.ap--mobile .ap-icon { width: 72px; height: 72px; }
.ap--mobile .ap-title h1 { font-size: 34px; }
.ap--mobile .ap-lead { font-size: 16.5px; }
.ap--mobile .ap-badge img { height: 44px; }
.ap--mobile .ap-visual--mix { max-width: 400px; margin: 0 auto; aspect-ratio: 1.02; }
.ap--mobile .ap-orb { --s: 42px; }
.ap--mobile .ap-section { padding: 46px 0; }
.ap--mobile .ap-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 22px 0 24px; }
.ap--mobile .ap-tabs button { flex: 0 0 auto; }
.ap--mobile .ap-panel { gap: 18px; }
/* Mobil: Maßstab so, dass das breiteste Bild (quer, 2853 px) in 343 px passt – alle Duos bleiben gleich groß zueinander. */
.ap--mobile .ap-panel .duo { --w: 240px; }
.ap--mobile .ap-macs .mac { width: 100%; }
.ap--mobile .ap-phones .ap-phone { flex-basis: 170px; }
.ap--mobile .ap-cards { grid-template-columns: 1fr; gap: 14px; }
.ap--mobile .ap-appgrid { grid-template-columns: 1fr; gap: 16px; }
.ap--mobile.ap-overview .ap-hero-text h1 { font-size: 38px; }
.ap-mfoot { padding: 26px 18px calc(110px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--border); background: var(--bg); }
.ap-mlinks { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 10px; }
.ap-mlinks a { font-size: 12.5px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.ap-mfoot p { font-size: 11.5px; color: var(--text-2); margin: 0; opacity: 0.75; }

/* App-Icons: immer abgerundet (iOS-Squircle-Radius) und mit Schatten – auch gegen Theme-/Elementor-Regeln wie `img { border-radius: 0 }`. */
html body img[src*="/icon.webp"] {
  border-radius: 22.37% !important;
  box-shadow: 0 12px 26px -8px rgba(10, 10, 40, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
}
html body img.ap-mini-icon[src*="/icon.webp"] { box-shadow: 0 6px 12px -4px rgba(10, 10, 40, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.06) !important; }

/* Geräte-Abschnitte im Block „So sieht es aus“ */
.ap-dev { font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.01em; text-align: center; margin: 56px 0 4px; }
.ap-shots .ap-phones { justify-content: safe center; }
.ap-shots .ap-tabs { margin: 18px 0 28px; }
.ap-ipads { display: flex; gap: 26px; justify-content: safe center; overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 4px 40px; outline: none; }
.ap-ipads .ap-ipad { flex: 0 0 270px; scroll-snap-align: start; }
.ap-ipad { position: relative; margin: 0; container-type: inline-size; }
.ap-ipad-screen {
  display: block; overflow: hidden; background: #000; border: 2.9cqw solid #08080a; border-radius: 6cqw;
  box-shadow: 0 0 0 0.4cqw #c9c9cf, 0 0 0 0.6cqw #77777e, 0 9cqw 13cqw -8cqw rgba(10, 10, 40, 0.55);
}
.ap-ipad--land .ap-ipad-screen { border-width: 2.1cqw; border-radius: 4.4cqw; box-shadow: 0 0 0 0.3cqw #c9c9cf, 0 0 0 0.45cqw #77777e, 0 7cqw 10cqw -6cqw rgba(10, 10, 40, 0.55); }
.ap-ipad-screen img { display: block; width: 100%; height: auto; }
.ap--mobile .ap-ipads .ap-ipad { flex-basis: 210px; }
.ap--mobile .ap-dev { margin-top: 40px; text-align: left; }
.ap--mobile .ap-phones, .ap--mobile .ap-ipads { justify-content: flex-start; }
.ap-ipads .ap-ipad--land { flex-basis: 440px; }
.ap--mobile .ap-ipads .ap-ipad--land { flex-basis: 300px; }

/* Eigenständige Datenschutzseite */
.ap--legal .ap-legal { max-width: 820px; padding-top: 120px; padding-bottom: 80px; }
.ap--mobile.ap--legal .ap-legal { padding-top: 40px; padding-bottom: 56px; }
.ap--legal .ap-title h1 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.1; }
.ap-legal-body { margin-top: 28px; }
.ap-legal-sec { padding: 22px 0; border-top: 1px solid var(--border); }
.ap-legal-sec h2 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin: 0 0 10px; text-align: left; }
.ap-legal-sec p, .ap-legal-sec li { font-size: 16px; line-height: 1.65; color: var(--text); }
.ap-legal-sec ul { padding-left: 20px; }

/* ---------- Kopfbild: Geräte-Bühne (hinten Mac oder iPad, davor iPhone Duo, vorn iPhone) ---------- */
.ap-stage { position: relative; display: block; width: 100%; max-width: 620px; margin-left: auto; aspect-ratio: 1.04; padding: 0; }
.st { position: absolute; margin: 0; animation: apin 1s cubic-bezier(0.2, 0.8, 0.2, 1) both, apfloat 9s ease-in-out infinite; }
.st-back { z-index: 1; animation-delay: 0.1s, -2s; }
.st-back--ipad { left: 18%; top: 0; width: 55%; rotate: -4deg; }
.st-back--ipad.ap-ipad--land { left: 2%; top: 8%; width: 88%; rotate: -3deg; }
.st-back--mac { left: 0; top: 9%; width: 93%; rotate: -2deg; }
.st-back--duo { left: 2%; top: 10%; width: 86%; rotate: -3deg; }
.st-mid { z-index: 2; left: 0; bottom: 3%; width: 28%; rotate: -7deg; animation-delay: 0.28s, -5s; }
.st-mid--quer { width: 46%; bottom: 2%; rotate: -5deg; }
.st-front { z-index: 3; right: 2%; bottom: 0; width: 27.5%; rotate: 5deg; animation-delay: 0.45s, -7.5s; }
@keyframes apin { from { opacity: 0; transform: translateY(46px) scale(0.93); } to { opacity: 1; transform: none; } }
@keyframes apglow { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2.5%, 3%, 0) scale(1.08); } }
.ap-hero .ap-glow { animation: apglow 18s ease-in-out infinite; }
.ap-hero-text > * { animation: apin 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ap-hero-text > :nth-child(2) { animation-delay: 0.08s; }
.ap-hero-text > :nth-child(3) { animation-delay: 0.16s; }
.ap-hero-text > :nth-child(4) { animation-delay: 0.24s; }
.ap-hero-text > :nth-child(5) { animation-delay: 0.32s; }
.ap-hero-text > :nth-child(6) { animation-delay: 0.4s; }
.ap--mobile .ap-stage { max-width: 400px; margin: 0 auto; }

/* ---------- Funktionen mit Bild: Text und iPhone abwechselnd links/rechts ---------- */
.ap-stories { display: flex; flex-direction: column; gap: 96px; margin-top: 70px; }
.ap-story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.ap-story--flip .ap-story-text { order: 2; }
.ap-story-text h3 { font-family: var(--font-head); font-size: clamp(25px, 2.9vw, 36px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 16px 0 16px; color: var(--text); text-align: left; }
.ap-story-text p { font-size: 18px; line-height: 1.66; color: var(--text-2); margin: 0; max-width: 520px; }
.ap-ticks { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; max-width: 520px; }
.ap-ticks li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.ap-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  font-size: 12px; font-weight: 800; color: #14123a; background: linear-gradient(135deg, var(--a1), var(--a2));
}
.ap-story-media { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; padding: 30px 0; }
.ap-story-plate {
  position: absolute; inset: 11% 7%; border-radius: 48px; border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(140deg, color-mix(in srgb, var(--a1) 34%, var(--bg-elev)), color-mix(in srgb, var(--a2) 28%, var(--bg-elev)));
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s;
}
.ap-story-plate::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -22%; top: -26%; border-radius: 50%; background: color-mix(in srgb, var(--a2) 55%, transparent); filter: blur(60px); opacity: 0.7; }
.ap-story-phone { flex: none; width: 262px; rotate: 3deg; translate: 0 calc(var(--p, 0) * -26px); transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s; }
.ap-story--flip .ap-story-phone { rotate: -3deg; }
.ap-story--two .ap-story-phone { width: 222px; }
.ap-story--two .ap-story-phone--1 { rotate: -5deg; margin-right: -30px; z-index: 2; translate: 0 calc(-20px + var(--p, 0) * -32px); }
.ap-story--two .ap-story-phone--2 { rotate: 5deg; translate: 0 calc(24px + var(--p, 0) * -12px); transition-delay: 0.14s; }
.ap-more-feat { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.01em; margin: 96px 0 0; text-align: left; }
.ap-stories + .ap-cards { margin-top: 96px; }
@media (max-width: 1000px) {
  .ap-story { grid-template-columns: 1fr; gap: 12px; }
  .ap-story--flip .ap-story-text { order: 0; }
  .ap-story-media { min-height: 0; padding: 44px 0; }
  .ap-stories { gap: 56px; }
}
.ap--mobile .ap-stories { gap: 48px; margin-top: 40px; }
.ap--mobile .ap-story { grid-template-columns: 1fr; gap: 6px; }
.ap--mobile .ap-story--flip .ap-story-text { order: 0; }
.ap--mobile .ap-story-text h3 { font-size: 25px; margin: 12px 0 12px; }
.ap--mobile .ap-story-text p, .ap--mobile .ap-ticks li { font-size: 16px; }
.ap--mobile .ap-story-media { min-height: 0; padding: 40px 0 34px; }
.ap--mobile .ap-story-plate { inset: 7% 0; border-radius: 34px; }
.ap--mobile .ap-story-phone { width: 212px; }
.ap--mobile .ap-story--two .ap-story-phone { width: 164px; }
.ap--mobile .ap-story--two .ap-story-phone--1 { margin-right: -22px; }
.ap--mobile .ap-more-feat, .ap--mobile .ap-stories + .ap-cards { margin-top: 56px; }

/* ---------- Einblenden beim Scrollen (nur mit JavaScript: Klasse ap-js am <html>) ---------- */
.ap-rv { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
html.ap-js .ap-rv:not(.is-in) { opacity: 0; transform: translateY(30px); }
html.ap-js .ap-story-media:not(.is-in) .ap-story-phone { opacity: 0; transform: translateY(80px) scale(0.9); }
html.ap-js .ap-story-media:not(.is-in) .ap-story-plate { opacity: 0; transform: scale(0.84); }
.ap-story-text .ap-ticks li { transition: opacity 0.6s, transform 0.6s; transition-delay: calc(0.15s + var(--k, 0) * 70ms); }
html.ap-js .ap-story-text:not(.is-in) .ap-ticks li { opacity: 0; transform: translateX(-16px); }
@media (prefers-reduced-motion: reduce) {
  .st, .ap-hero .ap-glow, .ap-hero-text > * { animation: none; }
  .ap-rv, .ap-story-phone, .ap-story-plate, .ap-story-text .ap-ticks li { transition: none; }
  .ap-story-phone { translate: none; }
}

/* ---------- Wortmarke wie in den Apps: fetter Teil rund im Verlauf, Rest in Outfit Regular ---------- */
.ap-wm { white-space: nowrap; }
.ap-wm-b {
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", var(--font-head), system-ui, sans-serif; font-weight: 700; letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--w1), var(--w2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .ap-wm-b { background-image: linear-gradient(90deg, var(--w1d), var(--w2d)); }
.ap-wm-r { font-family: var(--font-head); font-weight: 400; letter-spacing: 0; color: var(--text); }
.ap-wm--pre .ap-wm-b { font-size: 1.06em; }

/* ---------- iPhone Duo halb aufgeklappt (Laptop-Haltung) ---------- */
.duo-lap { margin: 0; container-type: inline-size; }
.lap-in { display: block; perspective: 260cqw; perspective-origin: 50% 34%; filter: drop-shadow(0 7cqw 7cqw rgba(10, 10, 40, 0.34)); }
.lap-half { display: block; padding: 1.5cqw; background: #050506; box-shadow: 0 0 0 0.55cqw #a6a6ad; backface-visibility: hidden; }
.lap-top { padding-bottom: 0.35cqw; border-radius: 6cqw 6cqw 0 0; transform-origin: 50% 100%; transform: rotateX(11deg); }
.lap-bot { padding-top: 0.35cqw; border-radius: 0 0 6cqw 6cqw; transform-origin: 50% 0; transform: rotateX(57deg); margin-bottom: -27cqw; }
.lap-screen { display: block; overflow: hidden; aspect-ratio: 2007 / 1426; background: #000; }
.lap-top .lap-screen { border-radius: 4.6cqw 4.6cqw 0 0; }
.lap-bot .lap-screen { border-radius: 0 0 4.6cqw 4.6cqw; }
.lap-screen img { display: block; width: 100%; height: auto; }
.lap-bot .lap-screen img { transform: translateY(-50%); }
.st-back--lap { left: 6%; top: 3%; width: 62%; rotate: -3deg; }
.ap-panel .duo-lap { width: var(--w, 300px); max-width: 100%; }
.ap--mobile .ap-panel .duo-lap { width: 240px; }
.ap-lapsec { padding-top: 30px; }
.ap-lapsec h2 { margin: 16px 0 16px; }
.ap-lapsec .ap-ticks { margin-top: 22px; }
.ap-lap-media .duo-lap { position: relative; width: min(100%, 400px); transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s; translate: 0 calc(var(--p, 0) * -18px); }
html.ap-js .ap-story-media:not(.is-in) .duo-lap { opacity: 0; transform: translateY(70px) scale(0.92); }
.ap--mobile .ap-lap-media .duo-lap { width: 270px; }
.ap--mobile .ap-lapsec { padding-top: 10px; }
/* Übersicht: Platz unter der Bühne, damit die unteren schwebenden Icons nicht abgeschnitten werden. */
.ap-overview .ap-stage { margin-bottom: 44px; }
/* Duo-Abschnitt mit flach aufgeklapptem Gerät (quer oder hochkant) */
.ap-lap-media .duo { position: relative; transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s; translate: 0 calc(var(--p, 0) * -18px); }
.ap-lap-media .duo--open-quer { width: min(100%, 560px); rotate: -2deg; }
.ap-lap-media .duo--open { width: min(100%, 360px); }
html.ap-js .ap-story-media:not(.is-in) .duo { opacity: 0; transform: translateY(70px) scale(0.92); }
.ap-lapsec--open-quer .ap-story { grid-template-columns: 0.8fr 1.2fr; }
.ap--mobile .ap-lapsec--open-quer .ap-story { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .ap-lapsec--open-quer .ap-story { grid-template-columns: 1fr; } }

/* ---------- Platzhalter-Icon, solange das Bild noch nicht importiert ist ---------- */
.ap-icon-ph { display: block; }

/* ---------- App-Streifen auf der Startseite (Desktop + Mobil; eigene Farb-Fallbacks, weil die Mobil-Startseite andere Variablen nutzt) ---------- */
.ap-hs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto; }
.ap-hs-tile { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px 22px; border-radius: 24px; text-decoration: none; color: var(--text, var(--ink, #1d1d1f)); background: var(--bg, var(--card, #fff)); border: 1px solid var(--border, rgba(0, 0, 0, 0.08)); box-shadow: var(--shadow-soft, 0 8px 30px rgba(0, 0, 0, 0.06)); transition: transform 0.25s, box-shadow 0.25s; overflow: hidden; }
.ap-hs-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 90px; background: radial-gradient(120px 70px at 50% 0, color-mix(in srgb, var(--a1) 40%, transparent), transparent 80%); pointer-events: none; }
.ap-hs-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--a2) 45%, transparent); }
.ap-hs-icon { position: relative; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 22.37%; box-shadow: 0 10px 22px -8px rgba(10, 10, 40, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.ap-hs-tile b { position: relative; font-family: var(--font-head, "Outfit", system-ui, sans-serif); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.ap-hs-tile .ap-wm-r { color: var(--text, var(--ink, #1d1d1f)); }
.ap-hs-sub { position: relative; font-size: 14px; line-height: 1.4; color: var(--text-2, var(--ink-2, #6e6e73)); }
.ap-hs-new { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--a2), var(--a1)); }
.ap-hs-all { text-align: center; margin: 34px 0 0; }
.ap-hs--m .ap-hs-rail { display: flex; gap: 12px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ap-hs--m .ap-hs-rail::-webkit-scrollbar { display: none; }
.ap-hs--m .ap-hs-tile { flex: 0 0 150px; padding: 20px 10px 16px; scroll-snap-align: start; border-radius: 20px; }
.ap-hs--m .ap-hs-icon { width: 60px; height: 60px; }
.ap-hs--m .ap-hs-tile b { font-size: 17px; }
.ap-hs--m .ap-hs-sub { font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .ap-hs-tile { transition: none; } }
.ap-hs--m .ap-hs-tile { background: var(--card, #fff); }
