/* Landing page (Brief 17 → 19, D-068/D-069/D-070): the shell (header, footer, buttons, logo, fonts) is css/site.css; the approved variant 11 – the poster language of 09 Plakat with the
   scenario wall of 04 Leitwarte. All colours are tokens from feldmelder.css (:root, --lp-*); no Tabler on this page.
   Boldonse (statements) and Work Sans (text), self-hosted, SIL OFL 1.1; loaded with font-display: block and preloaded,
   because a fallback swap of Boldonse reflows the whole poster. Concept and decisions: docs/design/variants/v11.md. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .18em; }
/* targets ≥ 24 px (WCAG 2.2 2.5.8): the logo link and links that stand alone in a list item or paragraph */
.lp-page a:has(> .lp-logo) { display: inline-flex; align-items: center; min-height: 2.75rem; }
.lp-page :is(li, p, aside, dd) > a:not([class]) { display: inline-block; padding-block: .2em; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

/* focus: visible on every control; the sun ring with an ink inner ring keeps 3:1 on light and dark (D-060) */
:focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--lp-ink); }

/* the Box stand-in: the mark on a neutral tile (until the corrected render arrives) */
.lp-boxtile { display: grid; gap: .5rem; justify-items: start; }
.lp-boxtile-face { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--lp-slate-100); }
.lp-boxtile-face .lp-logo { width: 26%; }
.lp-boxtile figcaption { font-size: .875rem; }

/* video in a fixed box: no layout shift */
.lp-video { width: 100%; height: 100%; object-fit: cover; }
.lp-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--lp-slate-800); }
.lp-stage > .lp-video { position: absolute; inset: 0; }

/* overlay on the renders */
.lp-hud { position: absolute; inset: 0; pointer-events: none; padding: .75rem; display: flex; flex-direction: column; justify-content: space-between;
  gap: .5rem; color: var(--lp-hud-ink); font-size: .8125rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.lp-hud-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; }
.lp-chips { display: flex; flex-wrap: wrap; gap: .375rem; min-width: 0; }
.lp-chip { background: var(--lp-hud-card); border: 1px solid var(--lp-hud-line); border-radius: 999px; padding: .2rem .65rem; font-weight: 600; white-space: nowrap; }
.lp-chip-mode { color: var(--lp-green); border-color: var(--lp-green); }
.lp-chip-mode.is-wind { background: var(--lp-amber); border-color: var(--lp-amber); color: var(--lp-hud-ink); }
.lp-chip-mode.is-snow { background: var(--lp-hud-snow); border-color: var(--lp-hud-snow); color: var(--lp-white); }
.lp-chip-mode.is-bt { background: var(--lp-slate-700); border-color: var(--lp-slate-700); color: var(--lp-white); }
.lp-card { background: var(--lp-hud-card); border: 1px solid var(--lp-hud-line); border-radius: .5rem; padding: .5rem .65rem; max-width: 16rem;
  box-shadow: 0 .6rem 1.4rem -.9rem var(--lp-hud-shadow); }
.lp-portal { align-self: flex-start; }
.lp-portal-h { display: flex; align-items: center; gap: .45rem; font-weight: 700; margin-bottom: .2rem; }
.lp-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lp-green); flex: none; }
.lp-dot.is-alarm { background: var(--lp-amber); } .lp-dot.is-stow { background: var(--lp-hud-snow); }
.lp-portal-rows { display: grid; grid-template-columns: auto 1fr; gap: 0 .75rem; color: var(--lp-hud-muted); }
.lp-portal-rows b { color: var(--lp-hud-ink); }
.lp-portal-evt { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--lp-hud-line); font-weight: 600; }
.lp-alarm { border-left: 4px solid var(--lp-amber); }
.lp-alarm-t { display: flex; justify-content: space-between; gap: .6rem; font-weight: 700; }
.lp-alarm-t span:last-child, .lp-alarm-d { color: var(--lp-hud-muted); }
.lp-alarm-d b { color: var(--lp-hud-ink); }
@media (max-width: 575.98px) {
  .lp-hud { font-size: .75rem; padding: .5rem; }
  .lp-hud .lp-portal-rows, .lp-hud .lp-alarm { display: none; }
  .lp-hud .lp-portal-h { margin-bottom: 0; }
}

/* buttons that drive a stage expose their state; the variants style them */
[data-lp-monitor] { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.lp-page { --sun: var(--lp-sun); --ink: var(--lp-poster-ink); --field: var(--lp-green); --mist: var(--lp-mist); --m: clamp(1.25rem, 4vw, 4rem);
  background: var(--sun); color: var(--ink); font: 400 1.0625rem/1.55 "Work Sans", system-ui, sans-serif; }
.lp-h1, .lp-h2, .lp-h3 { font-family: "Boldonse", "Work Sans", sans-serif; font-weight: 400; text-transform: none; }
.lp-page :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 2px var(--lp-white); }   /* the sun ring would vanish on yellow */

.lp-p { padding: 2.5rem var(--m) 3rem; }
.lp-h1 { font-size: clamp(1.75rem, 5.2vw, 5.75rem); line-height: 1.38; letter-spacing: -.02em; hyphens: auto; overflow-wrap: break-word; position: relative; z-index: 1; }
.lp-mark { position: relative; z-index: 0; display: inline-block; padding: 0 .12em; color: var(--lp-white); }
.lp-mark::before { content: ""; position: absolute; z-index: -1; inset: .02em 0 -.04em; background: var(--ink); }   /* box from the glyphs, not the font's tall ascent */
.lp-h2 { font-size: clamp(1.5rem, 3.6vw, 3.75rem); line-height: 1.32; letter-spacing: -.02em; hyphens: auto; max-width: 18ch; margin-bottom: 2rem; }
.lp-h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.lp-cut { width: min(100%, 52rem); margin: -1rem 0 0 auto; transform: rotate(-4deg); filter: drop-shadow(0 1.25rem 0 rgba(17, 17, 17, .9)); }
.lp-p1-foot { display: grid; gap: 1.25rem 3rem; margin-top: 1rem; }
@media (min-width: 900px) { .lp-p1-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.lp-lead { font-size: 1.375rem; font-weight: 700; max-width: 30rem; }
.lp-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.lp-p3 { background: var(--field); color: var(--lp-white); }
.lp-p4-grid, .lp-p6-grid, .lp-cols { display: grid; gap: 2rem 3rem; }
@media (min-width: 900px) { .lp-p4-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .lp-p6-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  border: 3px solid var(--ink); background: var(--sun); color: var(--ink); font: 400 1rem "Boldonse", sans-serif; cursor: pointer; }
.lp-big { font-size: 1.375rem; line-height: 1.35; font-weight: 700; }
.lp-facts { display: grid; gap: .75rem; margin-top: 1.25rem; }
.lp-facts strong { display: block; font-size: 1.0625rem; }
.lp-small { margin-top: 1.25rem; font-size: .9688rem; }
.lp-p4 { background: var(--lp-white); }
.lp-shot { display: block; border: 4px solid var(--ink); aspect-ratio: 16 / 10; overflow: hidden; }
.lp-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 15%; }
.lp-app { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; padding: 1rem; background: var(--mist); }
/* Brief 21: the app block links to /app; the logo mark in SVG instead of the 192-px icon (sharp at any zoom) */
.lp-app { color: inherit; text-decoration: none; align-items: center; }
.lp-app-mark { width: 3.5rem; height: auto; }
.lp-app p { margin: 0; }
.lp-app-more { display: inline-block; margin-top: .25rem; font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.lp-p5 { background: var(--ink); color: var(--lp-white); }
/* Brief 20: questions and answers – a white poster between the ink poster and "Get started"; closed <details> keep it short */
.lp-faq { background: var(--lp-paper); color: var(--lp-paper-ink); }
.lp-faq-grid { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 900px) { .lp-faq-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 3fr); align-items: start; } }
.lp-faq details { border-top: 3px solid var(--lp-poster-ink); }
.lp-faq details:last-child { border-bottom: 3px solid var(--lp-poster-ink); }
.lp-faq summary { display: flex; align-items: center; min-height: 3.25rem; padding: .5rem 0; font-size: 1.125rem; font-weight: 700; cursor: pointer; }
.lp-faq details p { margin: 0 0 1.25rem; max-width: 46rem; font-size: 1.0625rem; }
.lp-faq-more ul { margin: 0; padding: 0; list-style: none; }
.lp-faq-more a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--lp-paper-ink); font-weight: 700; }
:root[data-bs-theme="dark"] .lp-faq details, :root[data-bs-theme="dark"] .lp-faq details:last-child { border-color: var(--lp-paper-line); }
.lp-list { display: grid; gap: .75rem 2.5rem; font-size: 1.125rem; font-weight: 700; padding-left: 1.25rem; }
.lp-list a { color: var(--sun); }
@media (min-width: 900px) { .lp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-steps { display: grid; gap: 1rem; padding-left: 1.5rem; }
.lp-steps strong { display: block; font-size: 1.125rem; }
.lp-steps li::marker { font: 400 1.25rem "Boldonse", sans-serif; }
.lp-who strong { display: inline; }
@media (prefers-reduced-motion: reduce) { .lp-cut { transform: none; } }

/* the scenario wall of 04 in the poster language: a white poster, monitors in 4-px black frames, sharp edges, Boldonse
   names on sun-yellow chips; the event log beside it set like poster copy. Warnings carry a '!' and an amber bar, so the
   meaning never rests on colour alone. */
.lp-wall-p { background: var(--lp-white); }
.lp-wall-grid { display: grid; gap: 2rem 2.5rem; }
@media (min-width: 1000px) { .lp-wall-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: start; } }
.lp-wall { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 700px) { .lp-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lp-mon { position: relative; display: block; padding: 0; border: 4px solid var(--ink); background: var(--ink); aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; }
.lp-mon .lp-video { position: absolute; inset: 0; }
.lp-mon.is-main { grid-column: 1 / -1; order: -1; }
.lp-mon:not(.is-main) .lp-hud { display: none; }
.lp-mon-name { position: absolute; left: 0; bottom: 0; max-width: 100%; padding: .2rem .5rem; background: var(--sun); color: var(--ink);
  font: 400 .8125rem/1.25 "Boldonse", sans-serif; text-align: left; }
.lp-mon:not(.is-main) .lp-mon-name { font: 700 .75rem/1.2 "Work Sans", sans-serif; padding: .15rem .35rem; }
.lp-mon.is-main .lp-mon-name { left: auto; right: 0; font-size: 1rem; padding: .35rem .75rem; }
.lp-mon:not(.is-main):hover { border-color: var(--field); }
.lp-mon[aria-pressed="true"] { border-color: var(--ink); }
.lp-mon:focus-visible { outline: 4px solid var(--sun); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.lp-h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.lp-log-list { display: grid; }
.lp-log-list li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .75rem; padding: .6rem 0 .6rem .75rem; border-top: 3px solid var(--ink);
  font-weight: 700; line-height: 1.35; }
.lp-log-list li:last-child { border-bottom: 3px solid var(--ink); }
.lp-log-list time { font: 400 1rem/1.35 "Boldonse", sans-serif; font-variant-numeric: tabular-nums; }
.lp-log-list li.is-warn { box-shadow: inset 6px 0 0 var(--lp-amber); }
.lp-log-list li.is-warn span::before { content: "! "; }
.lp-note { margin-top: .75rem; font-size: .9375rem; }
.lp-p3 .lp-facts { margin-top: 0; }
@media (min-width: 900px) { .lp-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .lp-p3 .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; } }
.lp-shot-fig { margin: 0; }
.lp-shot-fig figcaption { margin-top: .5rem; font-size: .875rem; }

/* dark theme (Brief 19, D-070): the white posters (the wall, the Cloud poster) take the dark paper; the yellow and green
   posters stay as they are – they are colour fields, not surfaces; the monitor chips keep ink on yellow */
:root[data-bs-theme="dark"] .lp-wall-p, :root[data-bs-theme="dark"] .lp-p4 { --ink: var(--lp-paper-ink); background: var(--lp-paper); color: var(--lp-paper-ink); }
:root[data-bs-theme="dark"] .lp-mon-name { color: var(--lp-poster-ink); }
:root[data-bs-theme="dark"] .lp-app { background: var(--lp-paper-2); color: var(--lp-paper-ink); }
:root[data-bs-theme="dark"] .lp-wall-p .lp-mon { border-color: var(--lp-slate-700); }
:root[data-bs-theme="dark"] .lp-wall-p .lp-mon[aria-pressed="true"] { border-color: var(--lp-sun); }
