/* Inhaltsseiten „next level“ (27.11.2026, docs/ux-checkliste-landing-inhalte.md).
   Baut auf assets/horizon/content-v31.css („Schaufenster“) auf und greift nur, wo das Template cx2 einschaltet.
   Bewegung über das Motion-Kit (docs/motion-system.md): Kopfbereich Stufe 3 (Aurora + Shine, Magnet-Knopf),
   alles darunter ruhig (Stufe 1, sparsames scroll reveal). Logische Properties, RTL, reduzierte Bewegung. */

/* Lesefortschritt: dünne Linie ganz oben, Breite folgt dem Scrollen (CSS scroll-timeline, sonst JS) */
.cx2-progress{position:fixed;inset-inline:0;top:0;height:3px;z-index:120;pointer-events:none;background:transparent}
.cx2-progress span{display:block;height:100%;background:var(--ac,#2454ec);transform-origin:right center;transform:scaleX(var(--cx2-p,0))}
html[dir=ltr] .cx2-progress span{transform-origin:left center}

/* Kopfbereich: Aurora in der Seitenfarbe, feines Punktraster als „Bauplan“ darunter */
.c30-top.cx2-top{position:relative;isolation:isolate;--mx-accent:var(--ac);--mx-aurora-2:color-mix(in srgb,var(--brand) 55%,#fff)}
.cx2-top .mx-aurora::before,.cx2-top .mx-aurora::after{opacity:.16}
.cx2-top::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:radial-gradient(color-mix(in srgb,var(--ac) 22%,transparent) 1px,transparent 1.3px);background-size:22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 75%);mask-image:linear-gradient(180deg,#000 0%,transparent 75%);opacity:.55}
/* Shine wie .mx-shine aus dem Kit, aber ohne Markup am <h1> (Tests prüfen <h1>Text</h1> wörtlich) */
.cx2-top .c30-hero h1{background:linear-gradient(100deg,var(--ink) 40%,color-mix(in oklab,var(--ac) 70%,#fff) 50%,var(--ink) 60%) 100% 0/250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:cx2-shine 1.6s .3s cubic-bezier(.2,.7,.2,1) both}
@keyframes cx2-shine{from{background-position:100% 0}to{background-position:0 0}}
.cx2-stage .c30-win{animation:cx2-up .5s cubic-bezier(.2,.7,.2,1) both}
.cx2-stage .c30-win-2{animation-delay:.14s}
@keyframes cx2-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (hover:hover){
  .cx2-stage .c30-win{transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
  .cx2-stage .c30-win:hover{transform:translateY(-3px)}
}
.c30-meta .cx2-share{margin-inline-start:6px;min-height:32px;padding:2px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
.c30-meta .cx2-share:hover{border-color:var(--ac);color:var(--ac)}

/* Lesebereich: Einstiegssatz je Abschnitt hervorgehoben, Abschnittsmarke, lange Listen zweispaltig */
.cx2-body .c30-sec h2{position:relative;padding-top:14px}
.cx2-body .c30-sec h2::before{content:"";position:absolute;top:0;inset-inline-start:0;width:34px;height:4px;border-radius:4px;background:var(--ac)}
.cx2-body .c30-sec p.cx2-lede{font-size:18px;line-height:2.05;color:var(--ink)}
.cx2-body .c30-check li{transition:background-color .2s}
@media(min-width:1100px){.cx2-body .c30-check.cx2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Echte Kundenseite zwischen den Abschnitten: Marke „nachweislich echt“, leichter Hover */
.cx2-body .c30-inline{position:relative;box-shadow:0 24px 50px -34px rgba(20,24,40,.45)}
.cx2-body .c30-inline>a{position:relative;display:block;overflow:hidden}
.cx2-badge{position:absolute;z-index:1;top:12px;inset-inline-start:12px;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.95);color:var(--ink);font-size:12px;font-weight:700;box-shadow:0 4px 14px -6px rgba(0,0,0,.35)}
.cx2-badge::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#2e9d5b;margin-inline-end:6px;vertical-align:1px}
@media (hover:hover){
  .cx2-body .c30-inline img{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
  .cx2-body .c30-inline:hover img{transform:scale(1.02)}
}

/* Zwischen-Aufruf nach dem dritten Abschnitt */
.cx2-mid{display:grid;gap:18px;margin:10px 0 30px;padding:22px 20px;border-radius:18px;background:linear-gradient(135deg,var(--ac-soft),#fff 70%);border:1px solid var(--ac-tint)}
.cx2-mid p{margin:0;font-size:15.5px;line-height:2;color:var(--body)}
.cx2-mid p.cx2-mid-t{font-size:19px;font-weight:700;color:var(--ink);margin-bottom:4px}
.cx2-mid-a{display:flex;flex-wrap:wrap;gap:10px}
.c30 .cx2-mid a.c30-cta,.c30 .cx2-mid a.c30-ghost{min-height:48px}
@media(max-width:760px){.cx2-mid-a a{flex:1 1 100%;justify-content:center}}
@media(min-width:760px){.cx2-mid{padding:24px 26px}}
.cx2-faqpage .cx2-mid{grid-template-columns:minmax(0,1fr)}
@media(min-width:900px){.cx2-faqpage .cx2-mid{grid-template-columns:minmax(0,1fr) auto;align-items:center}}

/* Seitenleiste am Desktop: Inhaltsverzeichnis mit gleitender Marke + kleiner Bestellblock, gemeinsam sticky */
.cx2-sidestack{display:grid;gap:14px}
.cx2-sidecta{display:none}
@media(min-width:900px){
  .cx2-sidestack{position:sticky;top:106px;max-height:calc(100vh - 124px);overflow:auto;scrollbar-width:thin}
  .cx2-sidestack .c30-toc{position:static}
  .cx2-sidecta{display:grid;gap:10px;padding:18px;border-radius:14px;background:var(--ink);color:#fff}
  .cx2-sidecta p{margin:0;font-size:13.5px;line-height:1.95;color:rgba(255,255,255,.78)}
  .cx2-sidecta p.cx2-sidecta-t{font-size:16px;font-weight:700;color:#fff}
  .c30 .cx2-sidecta a.c30-cta{min-height:46px;font-size:15px;padding:10px 16px;box-shadow:none}
  .c30 a.cx2-sidecta-l{font-size:13.5px;color:rgba(255,255,255,.85);text-align:center;text-underline-offset:5px}
}
[data-cx2-toc]{position:relative}
[data-cx2-toc] a{position:relative;z-index:1;transition:color .2s}
[data-cx2-toc] a[aria-current=true]{color:var(--ink);font-weight:700}
.cx2-toc-mark{border-radius:8px;background:var(--ac-soft)}
.cx2-toc-mark::before{content:"";position:absolute;inset-block:8px;inset-inline-start:0;width:3px;border-radius:3px;background:var(--ac)}

/* Vergleich in einem Blick (/compare/*) */
.cx2-cmp{margin:0 0 30px;padding:22px 0 6px;scroll-margin-top:96px}
.cx2-cmp h2{font-size:clamp(22px,5vw,28px);line-height:1.7;font-weight:700;margin:0 0 4px;color:var(--ink)}
.cx2-cmp-lead{margin:0 0 16px;font-size:15px;line-height:2;color:var(--muted)}
.cx2-cmp table{width:100%;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.9}
.cx2-cmp th,.cx2-cmp td{padding:14px 16px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line)}
.cx2-cmp thead th{font-size:14px;color:var(--muted);font-weight:700;background:#f7f8fa;border-bottom:1px solid var(--line)}
.cx2-cmp thead th:first-child{border-start-start-radius:14px}
.cx2-cmp thead th:last-child{border-start-end-radius:14px}
.cx2-cmp tbody th{font-weight:700;color:var(--ink);width:24%}
.cx2-cmp td{color:var(--body)}
.cx2-cmp .is-ivos{background:color-mix(in srgb,var(--brand) 6%,#fff);color:var(--ink)}
.cx2-cmp thead .is-ivos{background:var(--brand);color:#fff}
.cx2-cmp tr.is-best th,.cx2-cmp tr.is-best td{border-bottom:0;font-weight:600}
.cx2-cmp tr.is-best td.is-ivos{border-end-end-radius:14px}
.cx2-cmp-note{margin:12px 0 0;padding:12px 16px;border-radius:12px;background:var(--ac-soft);font-size:15px;line-height:2;color:var(--ink)}
@media(max-width:700px){
  .cx2-cmp table,.cx2-cmp tbody,.cx2-cmp tr,.cx2-cmp th,.cx2-cmp td{display:block;width:auto}
  .cx2-cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cx2-cmp tbody{display:grid;gap:12px}
  .cx2-cmp tr{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
  .cx2-cmp tbody th{width:auto;padding:12px 16px 4px;border:0;font-size:16px}
  .cx2-cmp td{padding:8px 16px 12px;border:0}
  .cx2-cmp td::before{content:attr(data-k);display:block;font-size:12.5px;font-weight:700;color:var(--muted)}
  .cx2-cmp td.is-ivos::before{color:var(--brand)}
  .cx2-cmp tr.is-best td.is-ivos{border-radius:0}
}

/* Verwandte Seiten als Karten statt Pillen */
.cx2-related ul{display:grid;gap:10px}
.cx2-related a{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:60px;padding:14px 18px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:15px;font-weight:600;line-height:1.8;text-decoration:none;color:var(--ink)}
.cx2-related a::after{content:"";flex-shrink:0;width:30px;height:30px;border-radius:50%;background:var(--ac-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b404c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center/16px no-repeat}
@media (hover:hover){.cx2-related a{transition:border-color .2s,transform .2s}.cx2-related a:hover{border-color:var(--ac);transform:translateY(-2px)}}
@media(min-width:760px){.cx2-related ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.cx2-related ul{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Handy: Knopf „فهرست“ im festen Balken + Inhaltsblatt */
.c28-sticky .cx2-sticky-row{display:flex;gap:8px}
.c28-sticky .cx2-sticky-row .c27-primary{flex:1}
.cx2-tocbtn{flex-shrink:0;min-height:50px;padding:0 16px;border-radius:14px;border:1px solid var(--line);background:#fff;font:inherit;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer}
dialog.cx2-sheet{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;max-height:78vh;border-radius:20px 20px 0 0;background:#fff;color:#15171c;direction:rtl}
dialog.cx2-sheet::backdrop{background:rgba(15,18,28,.45)}
.cx2-sheet-h{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #e3e5eb;font-weight:700}
.cx2-sheet-h button{min-height:44px;padding:0 14px;border-radius:12px;border:1px solid #e3e5eb;background:#fff;font:inherit;cursor:pointer}
.cx2-sheet nav{display:grid;padding:8px 10px calc(14px + env(safe-area-inset-bottom));overflow:auto;max-height:calc(78vh - 74px)}
.cx2-sheet nav a{display:flex;align-items:center;min-height:48px;padding:8px 12px;border-radius:10px;font-size:15px;line-height:1.8;color:#3b404c;text-decoration:none}
.cx2-sheet nav a[aria-current=true]{background:#f2f4fa;color:#15171c;font-weight:700}
.cx2-sheet .mx-marker{display:none}

/* FAQ: Kategorien kleben unter der Kopfzeile, aktive Kategorie markiert; „alle öffnen“ */
.cx2-chipbar{position:sticky;top:88px;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.cx2-chipbar .c30-chips{padding:10px 0}
.cx2-chipbar .c30-chips a[aria-current=true]{background:var(--ac);border-color:var(--ac);color:#fff}
.cx2-chipbar .c30-chips a[aria-current=true] span{color:rgba(255,255,255,.8)}
.cx2-faqtools{display:flex;justify-content:flex-end;margin:0 0 -8px}
.cx2-faqtools button{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer}
.cx2-faqtools button:hover{border-color:var(--ac)}
.c30-faq details>summary{transition:color .2s}
.c30-faq details[open]>summary{color:var(--ac)}
.c30-faq details[open]>p{animation:cx2-open .22s cubic-bezier(.2,.7,.2,1)}
@keyframes cx2-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.c30-faq details:target>summary,.c30-faq details.is-target>summary{color:var(--ac)}
.cx2-faqpage .cx2-mid{margin-top:26px}

/* Glossar: Buchstabenleiste klebt, lange Definitionen am Handy gekürzt (Text bleibt vollständig im HTML) */
.cx2-glpage .c30-letters{position:sticky;top:88px;z-index:20;background:rgba(255,255,255,.95);backdrop-filter:blur(8px)}
.cx2-glpage .c30-letters a[aria-current=true]{background:var(--ac);color:#fff}
.cx2-glpage .c30-term{transition:background-color .2s}
.cx2-glpage .c30-term:target,.cx2-glpage .c30-term.is-target{outline:2px solid var(--ac);outline-offset:2px}
.cx2-glmore{display:none}
@media(max-width:760px){
  .cx2-glpage .c30-term.is-clamp:not(.is-open) dd{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  .cx2-glpage .c30-term.is-clamp .cx2-glmore{display:inline-flex;align-items:center;min-height:40px;margin-top:4px;padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--ac);cursor:pointer}
  .cx2-glpage.is-searching .c30-term dd{display:block;-webkit-line-clamp:unset}
  .cx2-glpage.is-searching .cx2-glmore{display:none!important}
}

@media(max-width:760px){
  .c28-sticky .cx2-sticky-row .c27-primary{min-height:50px}
}
@media(prefers-reduced-motion:reduce){
  .cx2-stage .c30-win,.c30-faq details[open]>p,.cx2-top .c30-hero h1{animation:none}
  .cx2-related a,.cx2-stage .c30-win,.cx2-body .c30-inline img{transition:none}
}
:root[data-motion=reduce] .cx2-stage .c30-win,:root[data-motion=reduce] .cx2-top .c30-hero h1{animation:none}
.is-searching .cx2-mid{display:none}
