/* Shared layouts for use cases, guides, release notes, and legal notices. */
.case-page, .widget-page, .changelog-page, .legal-page { overflow-wrap: anywhere; }
:lang(de) :is(.case-page, .widget-page, .legal-page) :is(h1, h2, h3) { hyphens: auto; }
.nav [aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; margin-bottom: 40px; }
.breadcrumbs a:hover { color: var(--accent); }
.detail-hero { padding-block: 46px 72px; }
.detail-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.detail-copy { min-width: 0; }
.detail-copy h1, .widget-page h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -2.7px; line-height: 1.08; margin: 0 0 26px; text-align: left; }
.accent { color: var(--accent); }
.detail-copy > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 26px; max-width: 620px; }
.detail-copy .button { margin-right: 18px; margin-bottom: 15px; }
.detail-visual { display: flex; justify-content: center; align-items: center; min-width: 0; background: #242336; border: 1px solid #ffffff08; border-radius: 24px; padding: 28px 24px; }
.detail-visual img { width: auto; height: 440px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 18px #0004); }
.case-page .section { border-top: 1px solid var(--line); }
.prose-section > p, .prose-section li { font-size: 16px; color: var(--muted); line-height: 1.8; }
.prose-section > p { max-width: 760px; }
.prose-section > h2 { max-width: 800px; }
.prose-section a:not(.button), .detail-copy li a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.detail-card { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 25px 25px 0; overflow: hidden; display: flex; flex-direction: column; }
.detail-card h3 { font-size: 22px; }
.detail-card > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.detail-card-visual { height: 310px; flex-shrink: 0; padding-top: 20px; display: flex; justify-content: center; background: #29283c; border-radius: 14px 14px 0 0; margin-top: auto; }
.detail-card:nth-child(2) .detail-card-visual { background: #283a34; }
.detail-card:nth-child(3) .detail-card-visual { background: #3c2e26; }
.detail-card-visual img { width: auto; height: 400px; max-width: 100%; object-fit: contain; object-position: top; }
.detail-feature { padding-block: 80px; background: #151619; border-block: 1px solid var(--line); }
.detail-feature-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.detail-feature .detail-visual { background: #22312d; }
.detail-copy ul { list-style: none; margin: 25px 0 0; padding: 0; }
.detail-copy li { color: #cccbd5; font-size: 15px; line-height: 1.7; padding-left: 24px; position: relative; margin-bottom: 16px; }
.detail-copy li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.related-guides { padding-block: 35px; }
.case-page .download h2 { max-width: 800px; }
.changelog-page, .legal-page { max-width: 800px; padding-block: 74px 90px; }
.changelog-page h1, .legal-page h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -2px; line-height: 1.12; margin-bottom: 24px; }
.changelog-page > p:not(.eyebrow), .legal-page p, .legal-page li { font-size: 16px; line-height: 1.85; color: var(--muted); }
.release-list { display: grid; gap: 24px; margin-top: 42px; }
.release-card { background: var(--surface); border: 1px solid var(--line); padding: 30px; border-radius: 20px; }
.release-card h2 { font-size: 28px; letter-spacing: -.7px; }
.release-card h2 span { color: var(--muted); font-size: 14px; letter-spacing: normal; font-weight: 400; }
.release-card > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.release-card > div > span { color: var(--accent); background: #2e2b45; border-radius: 30px; padding: 6px 10px; font-size: 12px; }
.release-card p, .release-card li { font-size: 15px; color: var(--muted); line-height: 1.8; }
.release-card > p { margin-bottom: 10px; }
.release-card > p:has(+ ul) { color: var(--text); font-weight: 600; margin-top: 25px; }
.release-card ul { padding-left: 20px; margin-block: 12px 24px; }
.release-card a, .legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-page h2 { font-size: 27px; letter-spacing: -.6px; margin-top: 40px; }
.legal-page h3 { font-size: 20px; margin-top: 30px; }
.legal-page li { margin-bottom: 8px; }
.legal-page ul { padding-left: 22px; }
@media (max-width: 1000px) {
  .detail-hero-grid, .detail-feature-grid { gap: 35px; }
  .detail-visual img { height: 370px; }
  .detail-card { padding: 20px 18px 0; }
  .detail-card-visual { height: 260px; }
}
@media (max-width: 700px) {
  .detail-hero { padding-block: 32px 48px; }
  .breadcrumbs { margin-bottom: 28px; }
  .detail-hero-grid, .detail-feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-copy h1, .widget-page h1 { font-size: 42px; letter-spacing: -1.8px; }
  .detail-copy > p:not(.eyebrow) { font-size: 16px; }
  .detail-visual { padding: 24px; border-radius: 20px; }
  .detail-visual img { height: 390px; }
  .detail-card-visual { height: 310px; }
  .detail-card { padding: 24px 24px 0; }
  .detail-feature { padding-block: 55px; }
  .changelog-page, .legal-page { padding-block: 45px 60px; }
  .release-card { padding: 22px; }
  .release-card h2 span { display: block; margin-top: 8px; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --text: #111; --muted: #444; --line: #ddd; --accent: #383471; --surface: #fff; }
  .site-header, footer, .skip-link, .download, .related-guides { display: none; }
  .wrap { width: 100%; }
  .detail-hero, .detail-feature, .section { padding-block: 24px; background: white; }
  .detail-card, .release-card { break-inside: avoid; }
}
