/* Qubinox · presentation decks (shared) */
html { scroll-snap-type: y mandatory; scroll-behavior: smooth; }
body { background: var(--q-night-950); }
.pz-top { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: var(--lx-gutter); background: linear-gradient(var(--q-night-950) 30%, transparent); pointer-events: none; }
.pz-top > * { pointer-events: auto; }
.pz-top__right { display: flex; align-items: center; gap: 1.25rem; }
.pz-count { font-family: var(--q-font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--q-night-text-2); }
.pz-count b { color: var(--q-night-text); font-weight: 500; }
.pz-btn { height: 2.25rem; padding: 0 0.875rem; border: 0.0625rem solid var(--lx-hair-strong); font-family: var(--q-font-mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--q-night-text-2); transition: border-color 300ms, color 300ms; }
.pz-btn:hover { border-color: var(--q-night-text); color: var(--q-night-text); }
.pz-progress { position: fixed; left: 0; right: 0; bottom: 0; height: 0.125rem; z-index: 20; background: var(--lx-hair); }
.pz-progress span { display: block; height: 100%; background: var(--q-orange); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--lx-ease); }
.pz-dots { position: fixed; right: 1rem; top: 50%; transform: translateY(-50%); z-index: 20; display: grid; gap: 0.5rem; }
.pz-dots a { width: 0.5rem; height: 0.5rem; border: 0.0625rem solid var(--lx-hair-strong); display: block; transition: background 300ms, border-color 300ms; }
.pz-dots a[aria-current="true"] { background: var(--q-orange); border-color: var(--q-orange); }
@media (max-width: 56rem) { .pz-dots { display: none; } }

.slide { position: relative; min-height: 100svh; scroll-snap-align: start; display: grid; align-items: center; padding: 5rem var(--lx-gutter) 3rem; border-bottom: 0.0625rem solid var(--lx-hair); overflow: hidden; }
.slide__in { width: 100%; max-width: 110rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: 2.5rem var(--lx-gutter); align-items: center; }
.slide__text { display: grid; gap: 1.25rem; align-content: center; }
.slide__text .lx-l { font-size: clamp(1.5rem, 0.9rem + 2vw, 2.75rem); }
.slide__text ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625rem; }
.slide__text li { position: relative; padding-left: 1.25rem; color: var(--q-night-text-2); font-size: 0.9375rem; line-height: 1.55; font-weight: 300; }
.slide__text li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.4375rem; height: 0.4375rem; background: var(--q-orange); transform: rotate(45deg) scaleY(0.58); }
.slide__text li b { color: var(--q-night-text); font-weight: 500; }
.tag { display: inline-flex; align-self: start; justify-self: start; gap: 0.5rem; padding: 0.375rem 0.625rem; border: 0.0625rem solid var(--lx-hair-strong); font-family: var(--q-font-mono); font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--q-night-text-2); }
.tag--a { border-color: #6C6A63; }
.tag--b { border-color: var(--q-orange); color: var(--q-orange); }
.shots { display: grid; gap: 1.25rem; align-items: end; min-width: 0; }
.shots--two { grid-template-columns: 1fr 1fr; }
.shots--phone { grid-template-columns: minmax(0, 1fr) minmax(9rem, 13rem); }
.shots--phone3 { grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem); grid-template-rows: auto auto; align-items: start; }
.shots--phone3 > :nth-child(3) { grid-column: 2; grid-row: 1 / 3; align-self: center; }
@media (min-width: 64rem) { .s13 .slide__in { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }
@media (min-width: 64rem) { .s13 .shots--phone3 > :not(.frame--phone) .frame__view { aspect-ratio: 16 / 8.2; } }
@media (max-width: 64rem) {
  html { scroll-snap-type: y proximity; }
  .slide { padding-top: 5.5rem; }
  .slide__in { grid-template-columns: minmax(0, 1fr); }
  .shots--two, .shots--phone3 { grid-template-columns: minmax(0, 1fr); }
  .shots--phone { grid-template-columns: minmax(0, 1fr) minmax(7rem, 9rem); }
  .shots--phone3 > :nth-child(3) { grid-column: auto; grid-row: auto; max-width: 12rem; }
}

/* browser / phone frame with optional live view */
.frame { min-width: 0; background: var(--q-night-900); border: 0.0625rem solid var(--lx-hair-strong); box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35); }
.frame__bar { display: flex; align-items: center; gap: 0.75rem; height: 2.25rem; padding: 0 0.625rem; border-bottom: 0.0625rem solid var(--lx-hair); }
.frame__dots { display: flex; gap: 0.3125rem; } .frame__dots i { width: 0.4375rem; height: 0.4375rem; background: var(--lx-hair-strong); }
.frame__url { flex: 1; min-width: 0; font-family: var(--q-font-mono); font-size: 0.625rem; color: var(--q-night-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__live, .frame__open { flex: none; height: 1.5rem; padding: 0 0.5rem; display: inline-flex; align-items: center; gap: 0.375rem; border: 0.0625rem solid var(--lx-hair-strong); font-family: var(--q-font-mono); font-size: 0.5625rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--q-night-text-2); text-decoration: none; transition: background 300ms, color 300ms, border-color 300ms; }
.frame__live::before { content: ""; width: 0.375rem; height: 0.375rem; background: var(--q-orange); }
.frame__live:hover, .frame__open:hover { border-color: var(--q-night-text); color: var(--q-night-text); }
.frame__live[aria-pressed="true"] { background: var(--q-orange); border-color: var(--q-orange); color: var(--q-on-accent); }
.frame__live[aria-pressed="true"]::before { background: var(--q-on-accent); }
.frame__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--q-night-950); }
.frame--phone .frame__view { aspect-ratio: 390 / 900; }
.frame--phone .frame__bar { justify-content: center; }
.frame--phone .frame__url { display: none; }
.frame__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame__view iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: var(--q-night-950); }
.frame figcaption, .cap { padding: 0.625rem 0.75rem; font-size: 0.75rem; color: var(--q-night-text-3); border-top: 0.0625rem solid var(--lx-hair); }

/* title slide */
.s-title { padding: 0; }
.s-title__bg { position: absolute; inset: 0; }
.s-title__bg { left: 38%; }
.s-title__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
@media (max-width: 64rem) { .s-title__bg { left: 0; } .s-title__bg img { opacity: 0.3; } }
.s-title__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--q-night-950) 0%, transparent 45%), linear-gradient(0deg, var(--q-night-950), transparent 35%); }
.s-title__in { position: relative; z-index: 1; padding: 6rem var(--lx-gutter) 4rem; display: grid; gap: 1.75rem; max-width: 60rem; }
.s-title .lx-xxl { font-size: clamp(3rem, 1rem + 9vw, 10rem); }
.s-title__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding-top: 1.5rem; border-top: 0.0625rem solid var(--lx-hair); }
.s-title__meta div { display: grid; gap: 0.25rem; }
.s-title__meta dt { font-family: var(--q-font-mono); font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--q-night-text-3); }
.s-title__meta dd { margin: 0; font-size: 0.9375rem; }
.agenda { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.agenda a { padding: 0.5rem 0.75rem; border: 0.0625rem solid var(--lx-hair); font-family: var(--q-font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--q-night-text-2); text-decoration: none; transition: border-color 300ms, color 300ms; }
.agenda a:hover { border-color: var(--q-orange); color: var(--q-night-text); }

/* facts, tables, cards */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--lx-hair); border: 0.0625rem solid var(--lx-hair); }
.facts div { background: var(--q-night-950); padding: 1.25rem; display: grid; gap: 0.5rem; }
.facts b { font-family: var(--lx-display); font-stretch: 125%; font-weight: 300; font-size: clamp(1.25rem, 0.8rem + 1.4vw, 2.25rem); }
.facts span { font-size: 0.75rem; color: var(--q-night-text-3); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.5rem; }
.mosaic img { aspect-ratio: 1; width: 100%; object-fit: cover; }
@media (max-width: 40rem) { .facts, .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 0.0625rem solid var(--lx-hair); }
.tbl th { font-family: var(--q-font-mono); font-weight: 400; font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--q-night-text-3); }
.tbl td { color: var(--q-night-text-2); font-weight: 300; }
.tbl td:first-child { color: var(--q-night-text); font-weight: 500; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; min-width: 0; }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; counter-reset: q; margin: 0; padding: 0; list-style: none; }
.qs li { counter-increment: q; padding: 1rem 1.125rem; border: 0.0625rem solid var(--lx-hair); display: grid; gap: 0.375rem; font-size: 0.875rem; color: var(--q-night-text-2); font-weight: 300; }
.qs li::before { content: counter(q, decimal-leading-zero); font-family: var(--q-font-mono); font-size: 0.6875rem; color: var(--q-orange); }
.qs b { color: var(--q-night-text); font-weight: 500; }
@media (max-width: 40rem) { .qs { grid-template-columns: 1fr; } }
.links { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Two solutions, two colour worlds
   A = warm stone, dark text, big "A" · B = deep black, orange glow, big "B"
   ========================================================================== */
.ver { display: inline-flex; align-items: center; gap: 0.75rem; justify-self: start; font-family: var(--q-font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }
.ver b { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; font-size: 1rem; letter-spacing: 0; font-weight: 500; }
.ver--a b { background: #121314; color: #F3F1EC; }
.ver--b b { background: #EC8306; color: #0A0B0C; }
.ver--a { color: inherit; }
.ver--b { color: #EC8306; }

.slide--a, .card--pa {
  --q-night-950: #EEEBE5; --q-night-900: #FFFFFF; --q-night-800: #E1DDD5; --q-night-700: #CBC6BC; --q-night-600: #A8A39A;
  --q-night-text: #121314; --q-night-text-2: rgba(18, 19, 20, 0.7); --q-night-text-3: rgba(18, 19, 20, 0.5);
  --q-night-line: rgba(18, 19, 20, 0.12); --q-night-line-strong: rgba(18, 19, 20, 0.26);
  --lx-hair: rgba(18, 19, 20, 0.12); --lx-hair-strong: rgba(18, 19, 20, 0.26);
  --q-fg: #121314; --q-text-2: rgba(18, 19, 20, 0.7); --q-text-3: rgba(18, 19, 20, 0.5);
  background: #EEEBE5; color: #121314;
}
.slide--a { border-top: 0.5rem solid #121314; }
.slide--a .frame { box-shadow: 0 2rem 4rem rgba(18, 19, 20, 0.18); }
.slide--b { background: radial-gradient(60% 70% at 70% 40%, rgba(236, 131, 6, 0.10), transparent 70%), #050506; border-top: 0.5rem solid #EC8306; }
.slide--a::before, .slide--b::before {
  position: absolute; right: -2vw; bottom: -6vw; z-index: 0; pointer-events: none; user-select: none;
  font-family: "Archivo", var(--q-font); font-stretch: 125%; font-weight: 600; font-size: 42vw; line-height: 0.8;
}
.slide--a::before { content: "A"; color: rgba(18, 19, 20, 0.05); }
.slide--b::before { content: "B"; color: rgba(236, 131, 6, 0.06); }
.slide--a > *, .slide--b > * { position: relative; z-index: 1; }

/* overview slide: one panel per solution */
.card--pa, .card--pb { padding: clamp(1rem, 0.6rem + 1vw, 1.75rem); gap: 0.875rem; }
.card--pa { border-top: 0.375rem solid #121314; }
.card--pb { background: radial-gradient(80% 80% at 70% 20%, rgba(236, 131, 6, 0.12), transparent 70%), #050506; border: 0.0625rem solid rgba(236, 131, 6, 0.45); border-top: 0.375rem solid #EC8306; }
.card--pa .card__name, .card--pb .card__name { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.card--pa .open--accent { color: #121314; border-color: #121314; }

/* comparison: each column in its colour */
.tbl--ab th:nth-child(2), .tbl--ab td:nth-child(2) { background: #EEEBE5; color: #121314; padding-left: 1rem; }
.tbl--ab td:nth-child(2) { border-bottom-color: rgba(18, 19, 20, 0.12); }
.tbl--ab th:nth-child(3), .tbl--ab td:nth-child(3) { background: rgba(236, 131, 6, 0.08); padding-left: 1rem; border-left: 0.0625rem solid rgba(236, 131, 6, 0.4); }
.tbl--ab th:nth-child(2) { border-top: 0.375rem solid #121314; }
.tbl--ab th:nth-child(3) { border-top: 0.375rem solid #EC8306; }

/* The presentation keeps its own display font (wide Archivo capitals) –
   the serif of Lösung B is only used on that website. */
:root { --lx-display: "Archivo", "Helvetica Neue", Arial, sans-serif; }
.lx-display, .lx-xxl, .lx-xl, .lx-l, .lx-m { font-family: var(--lx-display); font-stretch: 125%; font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; }
.lx-xxl { font-size: clamp(3rem, 0.6rem + 12vw, 15rem); line-height: 0.86; letter-spacing: -0.01em; }
.lx-xl { font-size: clamp(2.25rem, 1rem + 5.2vw, 6.5rem); line-height: 0.98; }
.lx-l { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem); line-height: 0.98; }
.lx-m { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); line-height: 1.1; }
.lx-logo { font-family: "Archivo", var(--q-font); font-stretch: 125%; font-weight: 400; letter-spacing: 0.32em; }
