/* omnify Work — Ergänzungen für die echte Website: Menü, Downloads, Demo-Rahmen, Galerie. */
html.ow { color-scheme: dark; scroll-padding-top: 80px; }
[hidden] { display: none !important; }
html.ow.hell { color-scheme: light; }
.ow body { margin: 0; }
.ow :focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
.ow-skip { position: fixed; top: -60px; left: 16px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; }
.ow-skip:focus-visible { top: 12px; }
.ow code, .ow kbd, .ow pre { font-family: var(--f-mono); font-size: 0.86em; }
.ow ul, .ow ol { margin: 0; }
.ow-text a, .ow-note a, .ow-foot__base a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 0.2em; }
.ow-note { font-size: 0.88rem; color: var(--ink-58); }
.ow-nav__mobil { display: none; }

/* Menü am Smartphone */
@media (max-width: 940px) {
  .ow-nav { position: sticky; }
  .ow-nav.offen .ow-nav__links { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 64px; left: 0; right: 0; padding: 10px 1rem 18px; background: var(--glass-solid); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-up); }
  .ow-nav.offen .ow-nav__links a { padding: 12px 14px; font-size: 1rem; }
  .ow-nav__mobil { display: block; }
  .ow-nav.offen .ow-nav__mobil { margin-top: 8px; }
}

/* Seitenkopf für Unterseiten */
.ow-pagehead { padding: 56px 0 32px; }
.ow-pagehead h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.025em; }
.ow-pagehead .ow-lead { margin-top: 16px; max-width: 46rem; }

/* Downloads und Installationshilfe */
.ow-pkgs { display: grid; gap: 12px; max-width: 58rem; }
.ow-pkg { padding: 0; overflow: hidden; }
.ow-pkg__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 20px; }
.ow-pkg__sys { display: flex; align-items: center; gap: 14px; flex: 1 1 260px; min-width: 0; }
.ow-pkg__sys strong { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.ow-pkg__sys small { color: var(--ink-58); font-size: 0.85rem; }
.ow-pkg__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--field); border: 1px solid var(--glass-border); color: var(--ink-70); flex: none; }
.ow-pkg__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ow-pkg details { border-top: 1px solid var(--hairline); }
.ow-pkg summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 20px; cursor: pointer; font-weight: 600; font-size: 0.93rem; color: var(--ink-70); list-style: none; }
.ow-pkg summary::-webkit-details-marker { display: none; }
.ow-pkg summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); margin-right: 4px; transition: transform var(--t-fast, 140ms ease); }
.ow-pkg details[open] summary::after { transform: rotate(225deg); }
.ow-pkg details[open] summary { color: var(--ink); }
.ow-pkg ol { padding: 4px 24px 6px 44px; display: grid; gap: 12px; color: var(--ink-70); }
.ow-pkg ol strong { color: var(--ink); }
.ow-pkg li::marker { color: var(--accent-soft); font-family: var(--f-mono); }
.ow-pkg pre { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--field); border: 1px solid var(--hairline); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.ow-pkg code { overflow-wrap: anywhere; }
.ow-pkg kbd { padding: 1px 6px; border-radius: 5px; border: 1px solid var(--glass-border); background: var(--field); }
.ow-pkg .ow-note { padding: 0 20px 18px 44px; }
.ow-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 0.92rem; }
.ow-table th { text-align: left; padding: 12px 16px; font-family: var(--f-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-58); }
.ow-table td { padding: 14px 16px; border-top: 1px solid var(--hairline); vertical-align: top; }
.ow-table td.mono { font-family: var(--f-mono); font-size: 0.78rem; overflow-wrap: anywhere; color: var(--ink-70); }
.ow-table th:last-child { width: 48%; }
.ow-label { display: none; }

/* Demo-Seiten */
.ow-frame { border-radius: 18px; border: 1px solid var(--glass-border); background: var(--glass-solid); box-shadow: var(--shadow-up); overflow: hidden; }
.ow-frame iframe { display: block; width: 100%; height: 74vh; min-height: 520px; border: 0; background: #fff; color-scheme: light; }
.ow-status { min-height: 1.5em; }
.ow-demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.ow-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 28px; padding: 24px 26px; margin-top: 28px; }
.ow-callout h2 { font-size: 1.35rem; }
.ow-callout p { color: var(--ink-70); margin-top: 6px; max-width: 46rem; }
.ow-figure { margin: 40px 0 0; }
.ow-figure figcaption { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-58); margin-bottom: 12px; }
.ow-figure a { display: block; }

/* Galerie */
.ow-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.ow-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--glass-border); color: var(--ink-70); font-size: 0.9rem; font-weight: 500; }
.ow-tabs a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ow-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 390px)); gap: 20px; }
.ow-pair figure { margin: 0; }
.ow-pair figcaption { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-58); margin-bottom: 8px; }
.ow-pair img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--glass-border); }

@media (max-width: 780px) {
  .ow-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ow-table, .ow-table tbody, .ow-table tr, .ow-table td { display: block; }
  .ow-table tr { padding: 14px 16px; }
  .ow-table tr + tr { border-top: 1px solid var(--hairline); }
  .ow-table td { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 8px; padding: 3px 0; border: 0; }
  .ow-table td.mono { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .ow-label { display: block; font-family: var(--f-body); font-weight: 600; color: var(--ink-58); font-size: 0.85rem; }
  .ow-callout { grid-template-columns: minmax(0, 1fr); }
  .ow-pair { grid-template-columns: minmax(0, 390px); }
  .ow-frame iframe { height: 68vh; min-height: 440px; }
}
@media (max-width: 520px) {
  .ow-pagehead { padding: 32px 0 20px; }
  .ow-pkg__row { padding: 16px; }
  .ow-pkg__row .ow-btn { flex: 1 1 100%; }
  .ow-pkg ol { padding-left: 36px; padding-right: 16px; }
  .ow-pkg .ow-note { padding-left: 16px; }
  .ow-frame { margin-inline: -8px; border-radius: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ow .ow-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
  .ow .ow-btn--ghost:hover { background: var(--hover); transform: translateY(-1px); }
  .ow-btn, .ow-start, .ow-pkg summary::after { transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, filter 140ms ease; }
}
